:root {
  --color-primary: #0f4c81;
  --color-primary-dark: #07111f;
  --color-secondary: #c8a45d;
  --color-bg: #ffffff;
  --color-bg-soft: #f4f7fb;
  --color-text: #111827;
  --color-muted: #647084;
  --color-border: #d7dde8;
  --color-whatsapp: #25d366;
  --color-phone: #0f4c81;
  --shadow-soft: 0 14px 35px rgba(7, 17, 31, 0.1);
  --shadow-premium: 0 24px 70px rgba(7, 17, 31, 0.2);
  --shadow-card: 0 18px 45px rgba(7, 17, 31, 0.09);
  --radius: 8px;
  --container: 1160px;
  --header-height: 76px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

img, svg, iframe { max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.section { padding: 88px 0; }
.section--soft { background: var(--color-bg-soft); }

.section-kicker {
  margin: 0 0 10px;
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-heading h2,
.two-column h2 {
  margin: 0;
  color: var(--color-primary-dark);
  font-size: clamp(1.75rem, 3vw, 2.7rem);
  line-height: 1.16;
}

.section-heading p:last-child,
.section-subtitle {
  margin: 12px 0 0;
  color: var(--color-muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  min-height: var(--header-height);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(215, 221, 232, 0.9);
  backdrop-filter: blur(14px);
}

.navbar {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo,
.footer-logo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
}

.logo img {
  width: clamp(210px, 18vw, 300px);
  height: auto;
  display: block;
  border-radius: 0;
  object-fit: cover;
  border: 0;
  box-shadow: none;
}

.footer-logo {
  width: min(100%, 330px);
  padding: 12px 16px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.footer-logo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 10px;
  border-radius: var(--radius);
  color: #273244;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
  background: #e8f1fb;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #ffffff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--color-text);
}

.hero {
  position: relative;
  min-height: 650px;
  display: flex;
  align-items: center;
  padding-top: 70px;
  padding-bottom: 74px;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.96) 0%, rgba(7, 17, 31, 0.84) 48%, rgba(7, 17, 31, 0.55) 100%),
    url("img/media-office.jpg") center / cover no-repeat;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.76fr);
  align-items: center;
  gap: 56px;
}

.hero h1 {
  margin: 0;
  max-width: 820px;
  color: #ffffff;
  font-size: clamp(2.15rem, 5vw, 4.35rem);
  line-height: 1.04;
}

.hero__text {
  max-width: 650px;
  margin: 22px 0 0;
  color: #d9e5f2;
  font-size: 1.12rem;
}

.hero__slogan {
  margin: 16px 0 0;
  color: var(--color-secondary);
  font-weight: 900;
}

.hero .section-kicker { color: var(--color-secondary); }

.hero__actions,
.cta-strip__actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 850;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.btn:hover { filter: brightness(1.04); transform: translateY(-2px); }
.btn--primary { color: #08111d; background: var(--color-secondary); box-shadow: 0 14px 34px rgba(200, 164, 93, 0.28); }
.btn--secondary { color: #ffffff; background: var(--color-primary); box-shadow: 0 14px 34px rgba(15, 76, 129, 0.28); }
.btn--ghost { color: #ffffff; background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.34); backdrop-filter: blur(12px); }
.btn--whatsapp { color: #ffffff; background: var(--color-whatsapp); box-shadow: 0 14px 34px rgba(37, 211, 102, 0.25); }
.btn--call { color: #ffffff; background: var(--color-phone); box-shadow: 0 14px 34px rgba(15, 76, 129, 0.24); }

.hero__panel {
  position: relative;
  min-height: 460px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  overflow: hidden;
  background: #0b1220;
  box-shadow: var(--shadow-premium);
}

.hero__panel img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.hero__panel-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 3px;
  padding: 26px;
  color: #ffffff;
  background: linear-gradient(0deg, rgba(7, 17, 31, 0.94), rgba(7, 17, 31, 0));
}

.hero__panel-copy strong { font-size: 1.2rem; }
.hero__panel-copy span { color: #dbe7f5; }

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 46px;
  align-items: start;
}

.content-box {
  color: var(--color-muted);
  font-size: 1.03rem;
}

.content-box p:first-child { margin-top: 0; }

blockquote {
  margin: 26px 0 0;
  padding: 24px;
  border-left: 4px solid var(--color-secondary);
  border-radius: var(--radius);
  color: #0f2239;
  background: #f7f1e4;
  font-weight: 800;
}

.service-grid,
.brand-grid,
.mini-card-grid,
.contact-grid {
  display: grid;
  gap: 22px;
}

.service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.compact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-grid--wide { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.service-card,
.contact-card,
.brand-grid article,
.mini-card-grid article {
  padding: 26px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 254, 0.94));
  box-shadow: var(--shadow-card);
}

.service-card {
  position: relative;
  min-height: 218px;
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.service-card:hover {
  border-color: rgba(15, 76, 129, 0.34);
  box-shadow: 0 24px 60px rgba(7, 17, 31, 0.14);
  transform: translateY(-7px);
}

.service-card__icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  box-shadow: 0 14px 30px rgba(15, 76, 129, 0.24);
}

.service-card__icon svg { width: 27px; height: 27px; }

.service-card h3,
.contact-card h3,
.brand-grid h3,
.mini-card-grid h3,
.process-flow h3 {
  margin: 18px 0 8px;
  color: var(--color-primary-dark);
  font-size: 1.08rem;
  line-height: 1.25;
}

.service-card p,
.brand-grid p,
.mini-card-grid p {
  margin: 0;
  color: var(--color-muted);
}

.process-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.process-flow article {
  min-height: 140px;
  padding: 22px;
  border: 1px solid rgba(15, 76, 129, 0.18);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.process-flow span {
  color: var(--color-secondary);
  font-size: 0.8rem;
  font-weight: 900;
}

.section--dark {
  color: #ffffff;
  background: linear-gradient(135deg, #07111f, #0c223a 62%, #0f4c81);
}

.section--dark h2,
.section--dark .section-kicker { color: #ffffff; }
.section--dark p { color: #d8e5f4; }
.section--dark .section-kicker { color: var(--color-secondary); }

.vision-lines,
.leader-values,
.future-list {
  display: grid;
  gap: 12px;
}

.vision-lines span,
.vision-lines strong,
.leader-values span,
.future-list span {
  display: block;
  padding: 16px 18px;
  border-radius: var(--radius);
  font-weight: 850;
}

.vision-lines span,
.vision-lines strong {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.vision-lines strong { background: rgba(200, 164, 93, 0.22); }

.media-tech__grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: stretch;
}

.media-tech figure,
.image-panel {
  margin: 0;
  min-height: 430px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
}

.media-tech img,
.image-panel img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  display: block;
  object-fit: cover;
}

.mini-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.brand-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.section--split { background: linear-gradient(180deg, #ffffff, #f6f8fc); }
.section--split p:not(.section-kicker) { color: var(--color-muted); font-size: 1.08rem; }

.future-section {
  color: #ffffff;
  background:
    linear-gradient(0deg, rgba(7, 17, 31, 0.86), rgba(7, 17, 31, 0.86)),
    url("img/leadership.jpg") center / cover no-repeat;
}

.future-section h2,
.future-section .section-heading p { color: #ffffff; }
.future-section .section-kicker { color: var(--color-secondary); }

.future-list { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.future-list span {
  min-height: 132px;
  display: flex;
  align-items: flex-end;
  color: #ffffff;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.leader-values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.leader-values span { color: #0f2239; background: #ffffff; border: 1px solid var(--color-border); box-shadow: var(--shadow-card); }

.cta-strip {
  padding: 72px 0;
  background: linear-gradient(135deg, #07111f, #0f2742 58%, #0f4c81);
}

.cta-strip__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 34px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-premium);
  backdrop-filter: blur(16px);
}

.cta-strip .section-kicker { color: var(--color-secondary); }
.cta-strip h2 { margin: 0; max-width: 760px; color: #ffffff; font-size: clamp(1.8rem, 3vw, 2.65rem); line-height: 1.16; }
.cta-strip p { margin: 12px 0 0; max-width: 650px; color: #d8e3f0; }
.cta-strip strong { display: block; margin-top: 14px; color: #ffffff; }
.cta-strip__actions { justify-content: flex-end; margin-top: 0; }

.contact-grid {
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  align-items: stretch;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li { display: grid; gap: 4px; color: var(--color-muted); }
.contact-list a { color: var(--color-primary); font-weight: 850; }

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--color-primary-dark);
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text);
  background: #f9fbfd;
}

.contact-form textarea { resize: vertical; }
.form-full { grid-column: 1 / -1; }

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floating-btn {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(7, 17, 31, 0.24);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.floating-btn:hover { filter: brightness(1.06); transform: translateY(-3px); }
.floating-btn svg { width: 28px; height: 28px; }
.floating-btn--whatsapp { background: var(--color-whatsapp); }
.floating-btn--phone { background: var(--color-phone); }

.site-footer {
  padding: 54px 0 26px;
  color: #ffffff;
  background: #07111f;
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(180px, 0.7fr) minmax(180px, 0.7fr);
  gap: 34px;
  align-items: start;
}

.footer-brand h2 { margin: 14px 0 6px; font-size: 1.4rem; }
.footer-brand p, .footer-column ul, .footer-bottom p { margin: 0; }
.footer-brand p { max-width: 410px; color: #cbd5e1; }
.footer-column h3 { margin: 0 0 14px; color: #ffffff; font-size: 1rem; }
.footer-column ul { display: grid; gap: 9px; padding: 0; list-style: none; }
.footer-column a,
.footer-column span { color: #cbd5e1; transition: color 0.2s ease; }
.footer-column a:hover { color: var(--color-secondary); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.digital-signature { color: #cbd5e1; font-size: 0.94rem; }

@media (max-width: 1120px) {
  .service-grid--wide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .future-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .menu-toggle { display: block; }

  .nav-menu {
    position: absolute;
    top: var(--header-height);
    left: 16px;
    right: 16px;
    display: none;
    max-height: calc(100vh - var(--header-height) - 24px);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow-soft);
  }

  .nav-menu.open { display: flex; }
  .nav-link { width: 100%; justify-content: center; }

  .hero__grid,
  .two-column,
  .contact-grid,
  .cta-strip__inner,
  .media-tech__grid { grid-template-columns: 1fr; }

  .service-grid,
  .compact-grid,
  .service-grid--wide,
  .mini-card-grid,
  .brand-grid,
  .process-flow,
  .future-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .cta-strip__actions { justify-content: flex-start; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --header-height: 68px; }
  .container { width: min(100% - 24px, var(--container)); }
  .section { padding: 62px 0; }
  .logo img { width: min(58vw, 210px); }
  .hero { min-height: auto; padding-top: 58px; }
  .hero__grid { gap: 34px; }
  .hero h1 { font-size: clamp(2rem, 12vw, 3rem); }
  .hero__panel, .hero__panel img { min-height: 360px; }
  .hero__actions, .cta-strip__actions, .contact-actions { flex-direction: column; }
  .btn { width: 100%; }
  .service-grid, .compact-grid, .service-grid--wide, .mini-card-grid, .brand-grid, .process-flow, .future-list, .leader-values, .contact-form, .footer__grid { grid-template-columns: 1fr; }
  .service-card, .contact-card, .contact-form, .brand-grid article, .mini-card-grid article { padding: 22px; }
  .media-tech figure, .media-tech img, .image-panel, .image-panel img { min-height: 280px; }
  .future-list span { min-height: 104px; }
  .cta-strip { padding: 56px 0; }
  .cta-strip__inner { padding: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; margin-top: 28px; padding-top: 18px; }
  .floating-actions { right: 14px; bottom: 14px; gap: 10px; }
  .floating-btn { width: 50px; height: 50px; }
  .floating-actions { display: none; }
}

@media (max-width: 360px) {
  .container { width: min(100% - 20px, var(--container)); }
  .hero h1 { font-size: 1.9rem; }
  .section-heading h2, .two-column h2 { font-size: 1.65rem; }
  .service-card h3, .brand-grid h3, .mini-card-grid h3 { font-size: 1rem; }
}
