/* ═══════════════════════════════════════════════════════════
   Clínica Verus Salud — Landing Page
   ═══════════════════════════════════════════════════════════ */

/* ── Tokens ──────────────────────────────────────────────── */
:root {
  /* Brand — expressed in OKLCH for perceptual uniformity */
  --c-navy:       oklch(20.5% 0.107 258);   /* #082960 */
  --c-teal:       oklch(65.2% 0.115 192);   /* #30AEAF */
  --c-teal-light: oklch(83.1% 0.078 192);   /* #82DBDA */
  --c-gray:       oklch(47.3% 0.025 254);   /* #656F81 */

  /* Surfaces (navy-tinted near-whites) */
  --c-surface:     oklch(98.5% 0.008 258);
  --c-surface-alt: oklch(96.5% 0.012 258);
  --c-border:      oklch(91%   0.010 258);

  /* Text */
  --c-text:       oklch(17% 0.025 258);
  --c-text-muted: oklch(47% 0.025 254);

  /* Utility */
  --c-wa: #25D366;

  /* Typography */
  --font: 'Plus Jakarta Sans', 'Helvetica Neue', system-ui, sans-serif;

  /* Fluid type scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.9rem  + 0.5vw,  1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.6vw,  1.375rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.5vw,  2.25rem);
  --text-2xl:  clamp(2.25rem,  1.5rem  + 3.75vw, 4.5rem);
  --text-hero: clamp(2.25rem,  1.25rem + 3.5vw,  4rem);

  /* Fluid spacing */
  --space-section: clamp(5rem, 9vw, 9rem);
  --space-comp:    clamp(2rem, 4vw, 4rem);

  /* Layout */
  --container:    1200px;
  --nav-h:        72px;
  --radius:       12px;
  --radius-sm:    8px;

  /* Easing */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: var(--text-base);
  color: var(--c-text);
  background: var(--c-surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img  { display: block; max-width: 100%; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }
svg  { display: block; }

/* ── Container ───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1;
  border-radius: 6px;
  padding: 0.875rem 1.75rem;
  cursor: pointer;
  transition: background 160ms var(--ease-out),
              color 160ms var(--ease-out),
              transform 160ms var(--ease-out),
              box-shadow 160ms var(--ease-out),
              border-color 160ms var(--ease-out);
  white-space: nowrap;
  border: 1.5px solid transparent;
  min-height: 48px;
  text-decoration: none;
}

.btn--wa {
  background: var(--c-wa);
  color: #fff;
  border-color: var(--c-wa);
  box-shadow: 0 2px 16px color-mix(in srgb, var(--c-wa) 25%, transparent);
}

.btn--wa:hover {
  background: #1ebe5d;
  border-color: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px color-mix(in srgb, var(--c-wa) 35%, transparent);
}

.btn--wa:active { transform: scale(0.97); }

.btn--outline {
  background: transparent;
  color: var(--c-navy);
  border-color: var(--c-border);
}

.btn--outline:hover {
  border-color: var(--c-teal);
  color: var(--c-teal);
  background: color-mix(in srgb, var(--c-teal) 6%, transparent);
}

.btn--primary {
  background: var(--c-navy);
  color: #fff;
  border-color: var(--c-navy);
}

.btn--primary:hover {
  background: oklch(25% 0.107 258);
  border-color: oklch(25% 0.107 258);
  transform: translateY(-2px);
}

.btn--nav {
  background: var(--c-wa);
  color: #fff;
  border-color: var(--c-wa);
  padding: 0.625rem 1.25rem;
  font-size: var(--text-xs);
  border-radius: 4px;
}

.btn--nav:hover {
  background: #1ebe5d;
  border-color: #1ebe5d;
  transform: translateY(-1px);
}

.btn--full { width: 100%; }

/* ── Shared section header ───────────────────────────────── */
.section-head { margin-bottom: var(--space-comp); }

.section-head__title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--c-navy);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.section-head__sub {
  font-size: var(--text-base);
  color: var(--c-text-muted);
  max-width: 52ch;
}

/* ═══════════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: transparent;
  transition: background 250ms var(--ease-out),
              box-shadow  250ms var(--ease-out),
              height      250ms var(--ease-out);
}

.nav--scrolled {
  background: oklch(99% 0.005 258 / 0.97);
  box-shadow: 0 1px 0 var(--c-border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  height: 62px;
}

.nav--open { background: var(--c-surface); }

.nav__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav__logo-img {
  height: 40px;
  width: auto;
}

.hero__logo-link {
  display: block;
  margin-bottom: 2rem;
}

.hero__logo-img {
  height: clamp(170px, 22vw, 260px);
  width: auto;
  display: block;
  margin-inline: auto;
}

.nav__links {
  display: none;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--c-text-muted);
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  transition: color 150ms, background 150ms;
}

.nav__link:hover {
  color: var(--c-navy);
  background: var(--c-surface-alt);
}

.nav__actions {
  display: none;
  align-items: center;
  gap: 1rem;
  margin-left: 0;
}

.nav__lang {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--c-text-muted);
  letter-spacing: 0.06em;
  padding: 0.375rem 0.5rem;
  border-radius: 4px;
  transition: color 150ms, background 150ms;
}

.nav__lang:hover {
  color: var(--c-navy);
  background: var(--c-surface-alt);
}

/* Mobile hamburger */
.nav__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  border-radius: 4px;
}

.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-navy);
  border-radius: 2px;
  transition: transform 250ms var(--ease-out), opacity 250ms;
  transform-origin: center;
}

.nav--open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav--open .nav__burger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav--open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav__mobile {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
  padding: 1rem clamp(1.25rem, 4vw, 2.5rem) 2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform 250ms var(--ease-out), opacity 250ms var(--ease-out);
}

.nav--open .nav__mobile {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.nav__mobile-link {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--c-navy);
  padding: 1rem 0;
  border-bottom: 1px solid var(--c-border);
}

.nav__mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.nav__mobile-lang {
  font-size: var(--text-sm);
  color: var(--c-text-muted);
  text-align: center;
  padding: 0.5rem;
}

/* ═══════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════ */
.hero {
  padding-top: var(--nav-h);
  height: auto;
  min-height: 100svh;
  display: flex;
  align-items: flex-start;
  background: var(--c-surface);
  position: relative;
  overflow: hidden;
}

/* Subtle ambient blob — low opacity, non-intrusive */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  aspect-ratio: 1;
  background: radial-gradient(
    ellipse,
    color-mix(in srgb, var(--c-teal-light) 18%, transparent) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.hero__container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: clamp(2.75rem, 5vw, 4rem) clamp(1.25rem, 4vw, 2.5rem) clamp(2.5rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero__badge {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-teal);
  margin-bottom: 0.75rem;
}

.hero__badge-line {
  display: inline-block;
  width: 2rem;
  height: 2px;
  background: var(--c-teal);
  flex-shrink: 0;
}

.hero__title {
  font-size: var(--text-hero);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--c-navy);
  margin-bottom: 0.875rem;
}

.hero__title-accent { color: var(--c-teal); }

.hero__subtitle {
  font-size: var(--text-lg);
  color: var(--c-text-muted);
  line-height: 1.65;
  max-width: 48ch;
  margin-bottom: 1.25rem;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

.hero__visual {
  position: relative;
  flex-shrink: 0;
}

.hero__img-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  max-height: 500px;
}

/* Teal accent border on the left edge */
.hero__img-frame::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10%;
  bottom: 10%;
  width: 4px;
  background: var(--c-teal);
  border-radius: 0 2px 2px 0;
  z-index: 1;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero__stat {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: var(--c-navy);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  box-shadow: 0 4px 20px oklch(20.5% 0.107 258 / 0.25);
}

.hero__stat-num {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1;
  color: var(--c-teal-light);
}

.hero__stat-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
  line-height: 1.35;
  color: oklch(85% 0.03 258);
}

/* ═══════════════════════════════════════════════════════════
   SERVICIOS
   ═══════════════════════════════════════════════════════════ */
.services {
  padding-block: var(--space-section);
  background: var(--c-surface-alt);
}

.services__grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.services__divider {
  display: none;
  width: 1px;
  background: var(--c-border);
  flex-shrink: 0;
}

.services__col {
  display: flex;
  flex-direction: column;
}

.service-item {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 0 1.25rem;
  align-items: start;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--c-border);
  transition: padding-left 200ms var(--ease-out),
              background   200ms var(--ease-out);
  border-radius: 4px;
  position: relative;
}

.service-item--last { border-bottom: none; }

.service-item:hover {
  padding-left: 0.75rem;
  background: var(--c-surface);
}

.service-item__num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--c-teal);
  padding-top: 0.25rem;
  font-variant-numeric: tabular-nums;
}

.service-item__name {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--c-navy);
  margin-bottom: 0.2rem;
  line-height: 1.3;
}

.service-item__desc {
  font-size: var(--text-sm);
  color: var(--c-text-muted);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════
   PILARES
   ═══════════════════════════════════════════════════════════ */
.pillars {
  padding-block: var(--space-section);
  background: var(--c-surface);
}

.pillars__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.pillar {
  position: relative;
  padding: 2.5rem 2rem;
  border: 1px solid var(--c-border);
  border-top: 3px solid var(--c-teal);
  border-radius: var(--radius-sm);
  background: var(--c-surface);
  transition: border-top-color 200ms, box-shadow 200ms, transform 200ms var(--ease-out);
}

.pillar:hover {
  border-top-color: var(--c-navy);
  box-shadow: 0 4px 24px oklch(20.5% 0.107 258 / 0.07);
  transform: translateY(-4px);
}

.pillar__num {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--c-border);
  line-height: 1;
  user-select: none;
  letter-spacing: -0.04em;
}

.pillar__icon {
  width: 36px;
  height: 36px;
  color: var(--c-teal);
  margin-bottom: 1.25rem;
}

.pillar__icon svg { width: 100%; height: 100%; }

.pillar__title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--c-navy);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.pillar__desc {
  font-size: var(--text-sm);
  color: var(--c-text-muted);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════════
   MISIÓN Y VISIÓN
   ═══════════════════════════════════════════════════════════ */
.mission {
  padding-block: var(--space-section);
  background: var(--c-navy);
  position: relative;
  overflow: hidden;
}

/* Ambient photo bleed — blends into the navy for depth without clutter */
.mission__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.28;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

/* Navy scrim over the photo so text stays fully readable */
.mission::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    115deg,
    color-mix(in srgb, var(--c-navy) 82%, transparent) 0%,
    color-mix(in srgb, var(--c-navy) 68%, transparent) 60%,
    color-mix(in srgb, var(--c-navy) 55%, transparent) 100%
  );
  pointer-events: none;
}

/* Subtle ambient dot pattern */
.mission::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: radial-gradient(
    oklch(100% 0 0 / 0.04) 1px,
    transparent 1px
  );
  background-size: 28px 28px;
  pointer-events: none;
}

.mission__heading {
  position: relative;
  z-index: 3;
  font-size: var(--text-xl);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.025em;
  margin-bottom: var(--space-comp);
}

.mission__grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.mission__sep {
  display: none;
  width: 1px;
  background: oklch(100% 0 0 / 0.12);
}

.mission__item { display: flex; flex-direction: column; gap: 1rem; }

.mission__label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-teal-light);
}

.mission__text {
  font-size: var(--text-lg);
  font-weight: 400;
  color: oklch(94% 0.01 258);
  line-height: 1.65;
  max-width: 52ch;
}

/* ═══════════════════════════════════════════════════════════
   EQUIPO
   ═══════════════════════════════════════════════════════════ */
.team {
  padding-block: var(--space-section);
  background: var(--c-surface-alt);
}

.team__layout {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.team__desc {
  font-size: var(--text-base);
  color: var(--c-text-muted);
  line-height: 1.7;
  max-width: 52ch;
  margin-top: 0.75rem;
  margin-bottom: 1.75rem;
}

/* Framed specialist photo — same visual language as the hero frame */
.team__frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  margin-bottom: 1.75rem;
}

/* Teal accent border on the left edge (mirrors .hero__img-frame) */
.team__frame::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10%;
  bottom: 10%;
  width: 4px;
  background: var(--c-teal);
  border-radius: 0 2px 2px 0;
  z-index: 1;
}

.team__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.team__specialties-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  margin-bottom: 1rem;
}

.team__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--c-navy);
  background: color-mix(in srgb, var(--c-teal-light) 20%, var(--c-surface));
  border: 1px solid color-mix(in srgb, var(--c-teal) 25%, var(--c-border));
  padding: 0.4rem 0.875rem;
  border-radius: 999px;
  letter-spacing: 0.02em;
  transition: background 150ms, border-color 150ms;
}

.tag:hover {
  background: color-mix(in srgb, var(--c-teal-light) 35%, var(--c-surface));
  border-color: var(--c-teal);
}

/* ═══════════════════════════════════════════════════════════
   CONTACTO
   ═══════════════════════════════════════════════════════════ */
.contact {
  padding-block: var(--space-section);
  background: var(--c-surface);
}

.contact__grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.contact__lead {
  font-size: var(--text-lg);
  color: var(--c-text-muted);
  margin-top: 0.5rem;
  margin-bottom: 2.5rem;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.contact__detail {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 0.5rem 1rem;
  align-items: start;
}

.contact__detail-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  padding-top: 0.125rem;
}

.contact__detail-value {
  font-size: var(--text-sm);
  color: var(--c-text);
  line-height: 1.55;
}

.contact__detail-value--muted { color: var(--c-text-muted); }

.contact__detail-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--c-teal);
  transition: color 150ms;
}

.contact__detail-link:hover { color: var(--c-navy); }

.contact__ctas { display: flex; flex-wrap: wrap; gap: 0.875rem; }

.contact__map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--c-border);
  aspect-ratio: 4/3;
  flex-shrink: 0;
}

.contact__map iframe {
  display: block;
  width: 100%;
  height: 100%;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.footer {
  background: var(--c-navy);
  padding-block: 4rem 2.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid oklch(100% 0 0 / 0.10);
}

.footer__logo {
  height: 40px;
  width: auto;
  margin-bottom: 1rem;
}

.footer__tagline {
  font-size: var(--text-sm);
  color: oklch(75% 0.02 258);
  line-height: 1.6;
  max-width: 28ch;
}

.footer__col-title {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: oklch(65% 0.04 258);
  margin-bottom: 1.25rem;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer__col nav {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer__link {
  display: block;
  font-size: var(--text-sm);
  color: oklch(75% 0.02 258);
  transition: color 150ms;
}

.footer__link:hover { color: var(--c-teal-light); }

.footer__address {
  font-size: var(--text-xs);
  color: oklch(60% 0.02 258);
  line-height: 1.6;
  margin-top: 0.25rem;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}

.footer__bottom p {
  font-size: var(--text-xs);
  color: oklch(52% 0.02 258);
}

.footer__bottom-lang {
  font-size: var(--text-xs);
  color: oklch(60% 0.02 258);
  transition: color 150ms;
}

.footer__bottom-lang:hover { color: var(--c-teal-light); }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — Tablet (768px+)
   ═══════════════════════════════════════════════════════════ */
@media (min-width: 768px) {

  /* Nav */
  .nav__links  { display: flex; }
  .nav__actions { display: flex; }
  .nav__burger { display: none; }
  .nav__mobile { display: none !important; }

  /* Hero */
  .hero {
    min-height: 100svh;
    align-items: center;
  }

  .hero__container {
    flex-direction: row;
    align-items: center;
    gap: clamp(3rem, 6vw, 5rem);
  }

  .hero__text  { flex: 1 1 55%; }
  .hero__visual { flex: 1 1 45%; }

  .hero__img-frame { max-height: calc(100svh - var(--nav-h) - 4rem); }

  /* Services — two column editorial list */
  .services__grid {
    flex-direction: row;
    align-items: stretch;
    gap: 0;
  }

  .services__divider {
    display: block;
    align-self: stretch;
    margin-inline: clamp(2rem, 4vw, 3.5rem);
  }

  .services__col { flex: 1; }

  .service-item--last { border-bottom: 1px solid var(--c-border); }

  /* Pillars */
  .pillars__grid { grid-template-columns: repeat(3, 1fr); }

  /* Mission */
  .mission__grid {
    grid-template-columns: 1fr 1px 1fr;
    gap: 0;
    column-gap: clamp(3rem, 5vw, 4rem);
    align-items: start;
  }

  .mission__sep { display: block; }

  /* Team */
  .team__layout {
    flex-direction: row;
    align-items: flex-start;
    gap: clamp(3rem, 6vw, 5rem);
  }

  .team__left  { flex: 0 0 40%; }
  .team__right { flex: 1; }

  /* Contact */
  .contact__grid {
    flex-direction: row;
    align-items: stretch;
    gap: clamp(3rem, 6vw, 5rem);
  }

  .contact__info { flex: 0 0 42%; }
  .contact__map  { flex: 1; aspect-ratio: unset; min-height: 400px; }

  /* Footer */
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
  .footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — Desktop (1024px+)
   ═══════════════════════════════════════════════════════════ */
@media (min-width: 1024px) {
  .hero__img-frame { max-height: calc(100svh - var(--nav-h) - 3rem); }
}

/* ═══════════════════════════════════════════════════════════
   ANIMATION BASE STATES
   (GSAP sets opacity/transform — these are fallbacks)
   ═══════════════════════════════════════════════════════════ */
[data-anim] {
  will-change: transform, opacity;
}

/* ═══════════════════════════════════════════════════════════
   REDUCED MOTION — no exceptions
   ═══════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-anim] { will-change: auto; }
}
