/**
 * ANCORE — sistema visual
 * Consultora: perla, negro, azul suave, dorado.
 */

:root {
  --pearl: #f5f5f3;
  --pearl-deep: #ebebe8;
  --surface: #fafaf9;
  --surface-elevated: #ffffff;
  --ink: #0a0a0a;
  --gray-700: #3d3d3a;
  --gray-500: #6b6b66;
  --gray-400: #8a8a84;
  --gray-200: #d4d4cf;
  --blue-soft: #8fb4d4;
  --blue-muted: #5a8ab8;
  --blue-glow: rgba(90, 138, 184, 0.22);
  --gold: #b8956a;
  --gold-soft: #c9a97a;
  --radius-sm: 6px;
  --radius-md: 12px;
  --shadow-sm: 0 1px 2px rgba(10, 10, 10, 0.04);
  --shadow-md: 0 12px 40px rgba(10, 10, 10, 0.06);
  --shadow-card: 0 4px 24px rgba(10, 10, 10, 0.05);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.3, 0.64, 1);
  --header-h: 4.875rem;
  /* Logo más grande a la vista; la barra sigue midiendo --header-h (ver .logo img + scale). */
  --logo-visual-scale: 1.75;
  /* Footer: logo más grande a la vista sin cambiar padding/rejilla del bloque. */
  --footer-logo-visual-scale: 2.8;
  --wrap: min(1180px, 92vw);
  /* Base contenido ~2px menor (ej. 17→15px a escala 16). */
  --font-size-body: 0.9375rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (max-width: 960px) {
  html {
    scroll-padding-top: 5.25rem;
  }

  :root {
    --logo-visual-scale: 1.28;
  }
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-optical-sizing: auto;
  font-size: var(--font-size-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--pearl);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--blue-muted);
  outline-offset: 3px;
}

.inline-link {
  color: var(--blue-muted);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(90, 138, 184, 0.45);
}

.inline-link:hover {
  color: var(--ink);
  text-decoration-color: rgba(10, 10, 10, 0.35);
}

/* ——— Layout ——— */

.wrap {
  width: var(--wrap);
  margin-inline: auto;
  padding-inline: max(0px, env(safe-area-inset-left, 0px)) max(0px, env(safe-area-inset-right, 0px));
}

@media (max-width: 639px) {
  .wrap {
    width: min(1180px, calc(100vw - 1.5rem));
    box-sizing: border-box;
  }
}

.text-ink {
  color: var(--ink);
}

.text-muted-soft {
  color: var(--gray-500);
  font-weight: 500;
}

.u-mt-section {
  margin-top: clamp(2rem, 5vw, 3.25rem);
}

/* ——— Tipografía base ——— */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin: 0 0 1rem;
}

.eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-muted), var(--blue-soft));
  animation: pulse-dot 3.5s var(--ease-out) infinite;
}

.eyebrow--accent {
  color: var(--blue-muted);
}

.eyebrow--accent .eyebrow__dot {
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
}

h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.375rem, 3.2vw, 2.125rem);
}

h3 {
  font-size: 1rem;
  font-weight: 600;
}

p {
  margin: 0 0 1rem;
  color: var(--gray-700);
}

p:last-child {
  margin-bottom: 0;
}

ul {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
  color: var(--gray-700);
}

li {
  margin-bottom: 0.4rem;
}

li:last-child {
  margin-bottom: 0;
}

.muted {
  color: var(--gray-500);
  font-size: 0.875rem;
}

.gold-rule {
  width: 3.5rem;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft), transparent);
  border: 0;
  margin: 1.35rem 0;
  opacity: 0.95;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s var(--ease-out);
}

.reveal.is-visible .gold-rule,
.reveal.is-visible.section-head__rule {
  transform: scaleX(1);
}

.section-head__rule {
  margin: 1.25rem 0 0;
}

/* ——— Header ——— */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  min-height: var(--header-h);
  overflow: visible;
  /* Sin backdrop-filter: evita que position:fixed del menú quede recortado en la barra. */
  background: rgba(245, 245, 243, 0.97);
  border-bottom: 1px solid rgba(10, 10, 10, 0.05);
  transition:
    box-shadow 0.4s var(--ease-out),
    background 0.35s;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(250, 250, 249, 0.98);
}

.site-header__inner {
  position: relative;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding-block: 0.65rem;
  overflow: visible;
  background: rgba(245, 245, 243, 0.97);
}

.site-header.is-scrolled .site-header__inner {
  background: rgba(250, 250, 249, 0.98);
}

.logo {
  display: flex;
  align-items: center;
  line-height: 0;
  flex-shrink: 0;
  overflow: visible;
  transition: opacity 0.25s;
}

.logo:hover {
  opacity: 0.88;
}

.logo img {
  display: block;
  width: auto;
  height: calc(var(--header-h) - 0.96rem);
  max-width: min(480px, 80vw);
  object-fit: contain;
  transform: scale(var(--logo-visual-scale));
  transform-origin: left center;
}

.site-header__trailing {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.75rem);
  margin: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.2s;
}

.nav-toggle:hover {
  background: rgba(10, 10, 10, 0.05);
}

.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 1.35rem;
}

.nav-toggle__bar {
  display: block;
  height: 2px;
  border-radius: 1px;
  background: var(--ink);
  transition:
    transform 0.3s var(--ease-out),
    opacity 0.25s;
  transform-origin: center;
}

.site-header.is-menu-open .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-menu-open .nav-toggle__bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.site-header.is-menu-open .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
  display: none;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--blue-muted);
  outline-offset: 3px;
}

.site-nav__link {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gray-700);
  position: relative;
  padding-block: 0.25rem;
  transition: color 0.25s;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--blue-muted);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}

.site-nav__link:hover {
  color: var(--ink);
}

.site-nav__link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--pearl);
  transition:
    transform 0.25s var(--ease-out),
    box-shadow 0.35s,
    background 0.25s;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(10, 10, 10, 0.12);
  background: #1a1a1a;
}

@media (max-width: 960px) {
  .site-header {
    padding-inline: max(0px, env(safe-area-inset-left, 0px)) max(0px, env(safe-area-inset-right, 0px));
  }

  /*
   * Orden en el DOM: backdrop → nav → barra.
   * Capas: fondo tenue (1) < panel menú (2) < barra logo/CTA (3), para que nada quede tapado por error.
   */
  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1;
    background: rgba(10, 10, 10, 0.35);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.3s var(--ease-out),
      visibility 0.3s;
  }

  .site-header.is-menu-open .nav-backdrop:not([hidden]) {
    opacity: 1;
    visibility: visible;
  }

  /* Menú tipo popup: ancho al contenido, bajo la barra, sin columna a pantalla completa. */
  .site-nav {
    position: fixed;
    z-index: 2;
    top: calc(env(safe-area-inset-top, 0px) + 3.95rem);
    right: max(0.65rem, env(safe-area-inset-right, 0px));
    left: auto;
    bottom: auto;
    width: min(18.5rem, calc(100vw - 1.35rem));
    max-width: 100%;
    max-height: calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 4.75rem);
    height: auto;
    margin: 0;
    padding: 0.4rem 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: var(--surface-elevated);
    border: 1px solid rgba(10, 10, 10, 0.08);
    border-radius: var(--radius-md);
    box-shadow:
      0 4px 12px rgba(10, 10, 10, 0.06),
      0 20px 44px rgba(10, 10, 10, 0.1);
    transform-origin: top right;
    opacity: 0;
    transform: translateY(-0.5rem) scale(0.98);
    visibility: hidden;
    transition:
      opacity 0.28s var(--ease-out),
      transform 0.32s var(--ease-out),
      visibility 0.32s;
    pointer-events: none;
  }

  .site-header.is-menu-open .site-nav {
    opacity: 1;
    transform: translateY(0) scale(1);
    visibility: visible;
    pointer-events: auto;
  }

  .site-header__inner {
    position: relative;
    z-index: 3;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 0.65rem;
    min-height: 0;
    padding-block: 0.55rem 0.6rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav__link {
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.75rem 1.1rem;
    min-height: 0;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(10, 10, 10, 0.06);
    white-space: normal;
  }

  .site-nav__link:last-of-type {
    border-bottom: none;
  }

  .site-nav__link::after {
    display: none;
  }

  .logo img {
    height: calc(var(--header-h) - 0.95rem);
    max-width: min(430px, 82vw);
  }

  .nav-cta {
    font-size: 0.75rem;
    padding: 0.55rem 0.85rem;
    white-space: nowrap;
  }

  body.nav-open {
    overflow: hidden;
    touch-action: none;
  }

  main {
    padding-top: max(4.35rem, calc(env(safe-area-inset-top, 0px) + 3.85rem));
  }
}

@media (min-width: 961px) {
  main {
    padding-top: var(--header-h);
  }

  /*
   * El <nav> va antes que .site-header__inner en el DOM; si la barra interior
   * es opaca a todo el ancho, tapa el menú centrado. Inner encima con fondo
   * transparente + pointer-events: none; el nav queda debajo (z-2) y se ve
   * en el hueco; logo y CTA recuperan clics con pointer-events: auto.
   */
  .site-header__inner,
  .site-header.is-scrolled .site-header__inner {
    position: relative;
    z-index: 3;
    background: transparent;
    pointer-events: none;
    padding-block: 0.48rem;
  }

  .site-header__inner .logo,
  .site-header__inner .site-header__trailing {
    pointer-events: auto;
  }

  .site-nav {
    position: absolute;
    left: 50%;
    top: 50%;
    right: auto;
    bottom: auto;
    z-index: 2;
    width: max-content;
    max-width: min(52vw, 36rem);
    height: auto;
    padding: 0;
    margin: 0;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    overflow: visible;
    background: none;
    border: none;
    box-shadow: none;
    transform: translate(-50%, -50%);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav__link {
    border-bottom: none;
    padding-block: 0.25rem;
    min-height: 0;
    font-size: 0.75rem;
  }

  .site-nav__link::after {
    display: block;
  }
}

/* ——— Botones ——— */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.95rem 1.65rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition:
    transform 0.28s var(--ease-spring),
    box-shadow 0.35s,
    background 0.25s,
    border-color 0.25s,
    color 0.25s;
}

.btn__arrow {
  transition: transform 0.3s var(--ease-out);
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

.btn--primary {
  background: var(--ink);
  color: var(--pearl);
  box-shadow: 0 4px 20px rgba(10, 10, 10, 0.12);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(10, 10, 10, 0.14);
}

.btn--ghost {
  background: var(--surface-elevated);
  color: var(--ink);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.btn--ghost:hover {
  border-color: var(--blue-muted);
  color: var(--blue-muted);
  box-shadow: 0 6px 20px var(--blue-glow);
}

.cta-block {
  margin-top: 2rem;
}

.cta-block .btn {
  margin-bottom: 0.65rem;
}

.cta-block__hint {
  margin: 0;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 2rem;
}

.cta-row__note {
  margin: 0;
}

/* ——— Secciones ——— */

.section {
  padding: clamp(4.25rem, 11vw, 7.5rem) 0;
  border-bottom: 1px solid rgba(10, 10, 10, 0.05);
}

.section:last-of-type {
  border-bottom: none;
}

.section--tint {
  background: linear-gradient(180deg, rgba(235, 235, 232, 0.55) 0%, var(--pearl) 100%);
}

.section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.25rem, 4vw, 2.75rem);
  align-items: start;
}

.section-head__index {
  font-size: clamp(2.375rem, 6vw, 3.625rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: rgba(10, 10, 10, 0.07);
  user-select: none;
  transition: color 0.6s var(--ease-out);
}

.reveal.is-visible .section-head__index {
  color: rgba(90, 138, 184, 0.2);
}

.section-head__title {
  margin-bottom: 0.5rem;
}

.section-head__lead {
  margin: 0.75rem 0 0;
  max-width: 36rem;
}

.section-head--compact .section-head__title {
  margin-bottom: 0;
}

.section-lead {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-700);
  max-width: 40rem;
  margin: 0;
}

/* ——— Hero ——— */

.hero {
  position: relative;
  padding-top: clamp(4rem, 14vw, 6.5rem);
  padding-bottom: clamp(4.5rem, 12vw, 7rem);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__video {
  position: absolute;
  top: 50%;
  left: 49%;
  width: 100%;
  height: 100%;
  /* Baja el clip un poco para mostrar más la parte superior del video (sin achicar el video). */
  transform: translate(-51%, calc(-50% + 0.35vh));
  object-fit: cover;
  object-position: 55% 47%;
}

@media (min-width: 900px) {
  .hero__video {
    width: 122%;
    min-width: 56rem;
    left: 53%;
    transform: translate(-47%, calc(-50% + 0.65vh));
    object-position: 68% 44%;
  }
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      103deg,
      var(--pearl) 0%,
      rgba(245, 245, 243, 0.94) 28%,
      rgba(245, 245, 243, 0.62) 48%,
      rgba(245, 245, 243, 0.18) 70%,
      rgba(245, 245, 243, 0.04) 100%
    ),
    radial-gradient(ellipse 100% 80% at 88% -8%, rgba(143, 180, 212, 0.14), transparent 52%),
    radial-gradient(ellipse 70% 60% at 6% 100%, rgba(184, 149, 106, 0.08), transparent 46%);
  animation: hero-breathe 14s var(--ease-out) infinite alternate;
  pointer-events: none;
}

.hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 10, 10, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 10, 10, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, #000 20%, transparent 70%);
  opacity: 0.5;
}

.hero__grid {
  position: relative;
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
  z-index: 2;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .hero__aside {
    display: none;
  }
}

.hero__lead {
  font-size: 1rem;
  line-height: 1.65;
  max-width: 38rem;
}

.hero__aside {
  position: relative;
}

.hero__aside-inner {
  padding: 1.75rem 1.85rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(10, 10, 10, 0.06);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(8px);
  transition:
    transform 0.45s var(--ease-out),
    box-shadow 0.45s;
}

.hero__aside:hover .hero__aside-inner {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.hero__aside::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.25rem;
  bottom: 1.25rem;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--blue-soft), var(--blue-muted));
}

.hero__stat-label {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin: 0 0 0.65rem;
}

.hero__stat-text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--gray-700);
}

/* ——— Cuándo: paneles ——— */

.split-panels {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .split-panels {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

.panel-card {
  padding: 1.85rem 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(10, 10, 10, 0.06);
  transition:
    transform 0.4s var(--ease-out),
    box-shadow 0.4s,
    border-color 0.3s;
}

.panel-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.panel-card--light {
  background: var(--surface-elevated);
}

.panel-card--accent {
  background: linear-gradient(145deg, var(--pearl-deep) 0%, #e8e8e4 100%);
  border-left: 3px solid var(--gold);
}

.panel-card__tag {
  display: block;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-muted);
  margin-bottom: 1rem;
}

.panel-card--accent .panel-card__tag {
  color: var(--gold-soft);
}

.panel-card__intro {
  margin-bottom: 0.75rem;
  font-weight: 500;
  color: var(--gray-700);
}

.list-check--spaced li {
  margin-bottom: 0.65rem;
}

.list-line {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-line li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.55rem;
  color: var(--gray-700);
}

.list-line li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-soft);
}

/* Pullquote */

.pullquote {
  margin: 0;
  padding: 2rem 2.25rem;
  border-radius: var(--radius-md);
  background: var(--ink);
  color: var(--pearl);
  box-shadow: var(--shadow-md);
}

.pullquote p {
  color: rgba(245, 245, 243, 0.92);
  font-size: 1rem;
  line-height: 1.55;
  margin-bottom: 1rem;
}

.pullquote p:last-child {
  margin-bottom: 0;
}

.pullquote__emphasis {
  font-size: 0.9375rem !important;
  font-weight: 600;
  color: var(--pearl) !important;
}

.pullquote__punch {
  color: #fff;
  font-weight: 800;
  font-size: 1.08em;
  letter-spacing: 0.02em;
}

/* ——— Planes (enfoque) ——— */

.planes-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .planes-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

.plane-card {
  padding: 2rem 1.85rem;
  background: var(--surface-elevated);
  border-radius: var(--radius-md);
  border: 1px solid rgba(10, 10, 10, 0.06);
  box-shadow: var(--shadow-sm);
  transition:
    border-color 0.35s,
    box-shadow 0.35s,
    transform 0.35s var(--ease-out);
}

.plane-card:hover {
  border-color: rgba(90, 138, 184, 0.28);
  box-shadow: 0 8px 32px rgba(10, 10, 10, 0.06);
  transform: translateY(-2px);
}

.plane-card__head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.plane-card__icon {
  font-size: 0.8125rem;
  color: var(--blue-muted);
  opacity: 0.85;
}

.plane-card__title {
  margin: 0;
  font-size: 0.9375rem;
}

.plane-card p {
  margin: 0;
  font-size: 0.875rem;
}

.outcome-band {
  padding: 2rem 2.25rem;
  border-radius: var(--radius-md);
  background: linear-gradient(120deg, rgba(90, 138, 184, 0.1) 0%, rgba(184, 149, 106, 0.08) 100%);
  border: 1px solid rgba(10, 10, 10, 0.06);
}

.outcome-band p {
  margin-bottom: 1rem;
  max-width: 52rem;
}

.outcome-band__foot {
  margin-bottom: 0 !important;
  font-size: 0.875rem;
}

/* ——— Servicios ——— */

.card-grid--services {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 700px) {
  .card-grid--services {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .card-grid--services {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  position: relative;
  padding: 1.75rem 1.6rem 1.85rem;
  padding-top: 2.35rem;
  background: var(--surface);
  border: 1px solid rgba(10, 10, 10, 0.06);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition:
    transform 0.4s var(--ease-out),
    box-shadow 0.4s,
    border-color 0.3s;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft), var(--blue-soft));
  opacity: 0;
  transition: opacity 0.35s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(90, 138, 184, 0.2);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card__num {
  position: absolute;
  top: 1.1rem;
  right: 1.25rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(10, 10, 10, 0.12);
}

.service-card__title {
  margin: 0 0 0.75rem;
  padding-right: 2rem;
  font-size: 0.9375rem;
  line-height: 1.35;
}

.service-card p {
  font-size: 0.875rem;
  margin-bottom: 0.85rem;
}

.service-card__label {
  margin-bottom: 0.4rem !important;
  font-size: 0.6875rem !important;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.service-card ul {
  font-size: 0.8125rem;
  margin: 0;
  padding-left: 1rem;
}

.service-card--featured {
  grid-column: 1 / -1;
  max-width: 100%;
  background: linear-gradient(165deg, var(--surface-elevated) 0%, var(--pearl-deep) 100%);
  border: 1px solid rgba(10, 10, 10, 0.08);
  padding: 2rem 2rem 2.1rem;
  padding-top: 2.5rem;
}

.service-card__tagline {
  margin: 1.25rem 0 0;
  padding: 1.15rem 1.35rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--gold-soft);
  background: rgba(255, 255, 255, 0.5);
}

@media (min-width: 900px) {
  .service-card--featured .service-card__tagline {
    max-width: 36rem;
  }
}

/* List check legacy in case */
.list-check {
  list-style: none;
  padding-left: 0;
}

.list-check li {
  padding-left: 1.35rem;
  position: relative;
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-muted);
  opacity: 0.7;
}

/* ——— Diferencial ——— */

.diferencial {
  text-align: center;
  background: var(--surface);
}

.diferencial__inner {
  max-width: 40rem;
  margin-inline: auto;
}

.diferencial .gold-rule {
  margin-inline: auto;
}

.diferencial__closing {
  font-size: 1rem;
  margin-top: 1.5rem !important;
}

/* ——— Modalidad chips ——— */

.feature-chips {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.feature-chips li {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-700);
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(10, 10, 10, 0.08);
  background: var(--surface-elevated);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.25s var(--ease-out),
    border-color 0.25s,
    box-shadow 0.25s;
}

.feature-chips li:hover {
  transform: translateY(-2px);
  border-color: rgba(90, 138, 184, 0.35);
  box-shadow: 0 6px 20px var(--blue-glow);
}

/* ——— Cierre ——— */

.closing {
  background: linear-gradient(180deg, var(--pearl) 0%, var(--pearl-deep) 55%, #e5e5e1 100%);
  text-align: center;
  position: relative;
}

.closing::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(600px, 80%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(90, 138, 184, 0.25), transparent);
}

.closing__inner {
  max-width: 42rem;
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

/* ——— Contacto: video + formulario ——— */

.section--contact {
  background: linear-gradient(180deg, var(--pearl-deep) 0%, var(--pearl) 45%, var(--surface) 100%);
  border-bottom: 1px solid rgba(10, 10, 10, 0.05);
}

.contact-split {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}

.contact-video {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  min-width: 0;
}

@media (min-width: 900px) {
  .contact-split {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 3rem;
    align-items: stretch;
  }
}

/* inline-block: el marco toma exactamente el ancho del video (sin franja vacía). */
.contact-video__frame {
  position: relative;
  display: inline-block;
  width: auto;
  max-width: 100%;
  vertical-align: top;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(10, 10, 10, 0.08);
  background: transparent;
  line-height: 0;
  box-shadow: var(--shadow-md);
  transition:
    box-shadow 0.45s var(--ease-out),
    transform 0.45s var(--ease-out);
}

.contact-video.reveal.is-visible .contact-video__frame {
  box-shadow: 0 20px 50px rgba(10, 10, 10, 0.1);
}

.contact-video__el {
  display: block;
  width: auto;
  height: auto;
  max-width: 420px;
  vertical-align: top;
}

@media (min-width: 900px) {
  .contact-video__el {
    max-width: 380px;
  }
}

@media (max-width: 480px) {
  .contact-video__el {
    max-width: 100%;
  }
}

.contact-form-wrap {
  height: 100%;
}

.contact-form {
  height: 100%;
  padding: 2rem 1.85rem;
  background: var(--surface-elevated);
  border: 1px solid rgba(10, 10, 10, 0.07);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition:
    border-color 0.35s,
    box-shadow 0.35s;
}

.contact-form:hover {
  border-color: rgba(90, 138, 184, 0.18);
}

.contact-form__confidential {
  margin-bottom: 0.25rem;
}

.contact-form__subhead {
  margin: 0 0 0.65rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}

.contact-form__legal {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
}

.contact-form__divider {
  margin: 1.35rem 0;
  border: 0;
  height: 1px;
  background: rgba(10, 10, 10, 0.08);
}

.field__optional {
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--gray-500);
}

.field__hint {
  margin: -0.2rem 0 0.55rem;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--gray-500);
}

.field__label--prose {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 0.35rem;
}

.field {
  margin-bottom: 1.15rem;
}

.field__label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 0.45rem;
}

.field__input {
  width: 100%;
  padding: 0.75rem 0.95rem;
  font-family: inherit;
  font-size: 0.875rem;
  color: var(--ink);
  background: var(--pearl);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  transition:
    border-color 0.25s,
    box-shadow 0.25s,
    background 0.25s;
}

.field__input:hover {
  border-color: rgba(90, 138, 184, 0.35);
}

.field__input:focus {
  outline: none;
  border-color: var(--blue-muted);
  box-shadow: 0 0 0 3px var(--blue-glow);
  background: var(--surface-elevated);
}

.field__input--area {
  resize: vertical;
  min-height: 7rem;
  line-height: 1.55;
}

.field__input--area-sm {
  min-height: 5.5rem;
}

.contact-form__submit {
  width: 100%;
  margin-top: 0.35rem;
}

@media (min-width: 900px) {
  .contact-form__submit {
    width: auto;
    min-width: 14rem;
  }
}

/* ——— Vista tablet (640–960px): entre móvil y barra desktop ——— */

@media (min-width: 640px) and (max-width: 960px) {
  .wrap {
    width: min(1180px, calc(100vw - 2.5rem));
  }

  .section {
    padding: clamp(3.5rem, 9vw, 6rem) 0;
  }

  .section-head {
    gap: clamp(1rem, 3vw, 2.25rem);
    align-items: center;
  }

  .site-nav {
    width: min(21rem, calc(100vw - 2rem));
    padding: 0.5rem 0;
  }

  .site-nav__link {
    font-size: 0.9375rem;
    padding: 0.85rem 1.2rem;
  }

  .logo img {
    max-width: min(500px, 84vw);
  }

  .nav-cta {
    font-size: 0.8125rem;
    padding: 0.6rem 1rem;
  }
}

/* Hero y contacto en 2 columnas desde tablet estándar (evita hueco 768–899px). */
@media (min-width: 768px) and (max-width: 899px) {
  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(1.75rem, 4vw, 2.5rem);
    align-items: center;
  }

  .hero__lead {
    max-width: none;
  }

  .hero__aside-inner {
    padding: 1.55rem 1.5rem;
  }

  .contact-split {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 2.25rem;
    align-items: start;
  }

  .contact-video__frame {
    max-width: 100%;
  }

  .contact-video__el {
    max-width: 100%;
    width: 100%;
  }

  .contact-form__submit {
    width: auto;
    min-width: 13rem;
  }
}

@media (min-width: 700px) and (max-width: 1023px) {
  .card-grid--services {
    gap: 1.4rem 1.35rem;
  }
}

/* ——— Vista móvil (refinado) ——— */

@media (max-width: 639px) {
  :root {
    --font-size-body: 0.9375rem;
  }

  body {
    overflow-x: clip;
  }

  h1 {
    font-size: clamp(1.7rem, 6.5vw, 2.5rem);
    hyphens: auto;
    -webkit-hyphens: auto;
  }

  h2 {
    font-size: clamp(1.25rem, 5.2vw, 1.8rem);
  }

  .section {
    padding: clamp(2.75rem, 9vw, 3.75rem) 0;
  }

  .section-head {
    grid-template-columns: auto 1fr;
    gap: 0.65rem 0.85rem;
    align-items: center;
  }

  .section-head__index {
    font-size: clamp(1.7rem, 11vw, 2.35rem);
  }

  .section-head__title {
    margin-bottom: 0.35rem;
  }

  .hero {
    padding-top: clamp(2.75rem, 11vw, 4rem);
    padding-bottom: clamp(3rem, 11vw, 4.5rem);
  }

  .hero__lead {
    font-size: 0.9375rem;
  }

  .hero__aside-inner {
    padding: 1.35rem 1.2rem;
  }

  .hero__aside::before {
    top: 1rem;
    bottom: 1rem;
  }

  .hero__stat-accent-m {
    color: #fff;
    font-weight: 700;
  }

  .pullquote {
    padding: 1.4rem 1.2rem;
  }

  .pullquote p {
    font-size: 0.9375rem;
  }

  .panel-card,
  .plane-card {
    padding: 1.45rem 1.2rem;
  }

  .outcome-band {
    padding: 1.45rem 1.2rem;
  }

  .service-card {
    padding: 1.5rem 1.2rem 1.6rem;
    padding-top: 2.1rem;
  }

  .service-card--featured {
    padding: 1.5rem 1.2rem 1.65rem;
    padding-top: 2.15rem;
  }

  .feature-chips {
    gap: 0.5rem;
  }

  .feature-chips li {
    font-size: 0.75rem;
    padding: 0.55rem 0.95rem;
    line-height: 1.35;
  }

  .cta-block .btn,
  .cta-row .btn {
    width: 100%;
    max-width: 100%;
    justify-content: center;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .cta-block__hint {
    color: var(--ink);
    font-weight: 700;
  }

  .cta-row__note {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--ink);
    font-weight: 700;
  }

  .contact-form {
    padding: 1.35rem 1.15rem;
  }

  .contact-form__legal {
    font-size: 0.75rem;
  }

  .contact-form__divider {
    margin: 1.15rem 0;
  }

  .field {
    margin-bottom: 1rem;
  }

  .field__input {
    font-size: 0.9375rem;
    min-height: 2.75rem;
    padding: 0.65rem 0.85rem;
  }

  .field__input--area {
    min-height: 6.5rem;
  }

  .contact-form__submit {
    width: 100%;
    min-height: 3rem;
  }

  .diferencial__inner {
    padding-inline: 0.15rem;
  }

  .closing__inner {
    padding-inline: 0.15rem;
  }

  .footer-main {
    padding: clamp(2.5rem, 8vw, 3.5rem) 0;
  }

  .footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 2.5rem;
    padding-block: 0.15rem;
  }

  .footer-bar__inner {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}

@media (max-width: 420px) {
  .section-head {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .section-head__index {
    font-size: 1.5rem;
    margin-bottom: 0.15rem;
  }

  .site-nav__link {
    font-size: 0.8125rem;
  }

  .nav-cta {
    font-size: 0.75rem;
    padding: 0.5rem 0.7rem;
  }
}

/* ——— Reveal ——— */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(0);
  transition:
    opacity 0.75s var(--ease-out),
    transform 0.75s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1 {
  transition-delay: 0.1s;
}

.reveal--delay-2 {
  transition-delay: 0.2s;
}

.reveal--delay-3 {
  transition-delay: 0.3s;
}

/* ——— WhatsApp flotante ——— */

.wa-float {
  position: fixed;
  z-index: 110;
  bottom: max(1.1rem, calc(env(safe-area-inset-bottom, 0px) + 0.65rem));
  right: max(1rem, env(safe-area-inset-right, 0px));
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 4px 16px rgba(37, 211, 102, 0.4),
    0 2px 6px rgba(10, 10, 10, 0.12);
  transition:
    transform 0.25s var(--ease-out),
    box-shadow 0.25s;
}

.wa-float:hover {
  transform: scale(1.06);
  box-shadow:
    0 6px 24px rgba(37, 211, 102, 0.5),
    0 2px 8px rgba(10, 10, 10, 0.14);
}

.wa-float:focus-visible {
  outline: 2px solid var(--blue-muted);
  outline-offset: 3px;
}

.wa-float svg {
  width: 1.9rem;
  height: 1.9rem;
}

/* ——— Footer ——— */

.site-footer {
  margin: 0;
  padding: 0;
  border: none;
}

.footer-main {
  background: var(--ink);
  color: rgba(245, 245, 243, 0.88);
  padding: clamp(3rem, 8vw, 4.5rem) 0;
}

.footer-grid {
  display: grid;
  gap: 2.5rem 2rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .footer-grid {
    grid-template-columns: 1.35fr 0.85fr 0.95fr 1fr;
    gap: 2rem 1.5rem;
    align-items: start;
  }
}

.footer-brand__logo {
  display: inline-block;
  line-height: 0;
  margin-bottom: 6rem;
  overflow: visible;
  opacity: 0.95;
  transition: opacity 0.25s;
}

.footer-brand__logo:hover {
  opacity: 1;
}

.footer-brand__logo img {
  display: block;
  height: 2.6rem;
  width: auto;
  max-width: min(300px, 88vw);
  object-fit: contain;
  transform: scale(var(--footer-logo-visual-scale));
  transform-origin: left top;
}

.footer-brand__tagline {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.65;
  color: rgba(245, 245, 243, 0.65);
  max-width: 22rem;
}

.footer-heading {
  margin: 0 0 1rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 245, 243, 0.45);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.55rem;
}

.footer-links a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(245, 245, 243, 0.82);
  transition: color 0.25s;
}

.footer-links a:hover {
  color: var(--pearl);
}

.footer-text {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: rgba(245, 245, 243, 0.65);
}

.footer-text:last-child {
  margin-bottom: 0;
}

.footer-mail {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue-soft) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(143, 180, 212, 0.4);
  transition: color 0.25s, text-decoration-color 0.25s;
}

.footer-mail:hover {
  color: #b8d4eb !important;
  text-decoration-color: rgba(184, 212, 235, 0.7);
}

.footer-bar {
  background: #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.15rem 0;
}

.footer-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  font-size: 0.6875rem;
  color: rgba(245, 245, 243, 0.4);
}

.footer-bar__inner p {
  margin: 0;
  color: inherit;
}

.footer-bar__loc {
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.625rem !important;
}

/* ——— Keyframes ——— */

@keyframes hero-breathe {
  0% {
    filter: saturate(1) brightness(1);
  }
  100% {
    filter: saturate(1.05) brightness(1.02);
  }
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.65;
    transform: scale(0.92);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .site-nav {
    transition-duration: 0.01ms;
  }

  .nav-backdrop {
    transition-duration: 0.01ms;
  }

  .nav-toggle__bar {
    transition-duration: 0.01ms;
  }

  .hero__media {
    display: none;
  }

  .hero__bg {
    animation: none;
    background:
      radial-gradient(ellipse 100% 80% at 85% -10%, rgba(143, 180, 212, 0.18), transparent 50%),
      radial-gradient(ellipse 70% 60% at 5% 100%, rgba(184, 149, 106, 0.1), transparent 45%),
      var(--pearl);
  }

  .eyebrow__dot {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .reveal.is-visible .gold-rule,
  .reveal.is-visible.section-head__rule {
    transform: scaleX(1);
    transition: none;
  }

  .btn--primary:hover,
  .nav-cta:hover,
  .service-card:hover,
  .plane-card:hover,
  .panel-card:hover,
  .hero__aside:hover .hero__aside-inner,
  .feature-chips li:hover {
    transform: none;
  }

  .btn:hover .btn__arrow {
    transform: none;
  }

  .wa-float:hover {
    transform: none;
  }
}
