/* =====================================================================
   Alvorada Travel & Tours · Landing de revendedores
   Mobile first (360 px →). Tokens de marca en :root.
   ===================================================================== */

/* ---------- Tipografía principal ----------
   George Louis Cafe no está en Google Fonts.
   Cuando tengas el archivo, cópialo en assets/fonts/ y descomenta:

@font-face {
  font-family: "George Louis Cafe";
  src: url("../fonts/george-louis-cafe.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
   Mientras tanto, los títulos usan Poppins (fallback documentado). */

:root {
  /* Marca */
  --navy: #192B4F;
  --blue: #2373F6;          /* acentos, íconos, bordes, texto grande */
  --blue-action: #1F66DB;   /* fondo de botones con texto blanco (AA 5.3:1) */
  --blue-action-hover: #1854B8;
  --white: #FFFFFF;

  /* Derivados */
  --navy-900: #111E38;
  --navy-700: #24396A;
  --blue-50: #F2F6FD;
  --blue-100: #E3ECFC;
  --gray-700: #3B4660;      /* texto secundario sobre blanco (AA) */
  --gray-500: #5D6882;
  --gray-200: #D9DFEA;
  --on-navy-muted: #C4CEE3; /* texto secundario sobre navy (AA) */

  --font-display: "George Louis Cafe", "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 1px 2px rgba(25, 43, 79, .06), 0 8px 24px rgba(25, 43, 79, .07);
  --gutter: 16px;
  --header-h: 60px;
  --floating-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--navy);
  background: var(--white);
  overflow-x: hidden;
  padding-bottom: var(--floating-h);
}
h1, h2, h3 { font-family: var(--font-display); line-height: 1.2; margin: 0; color: inherit; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.85rem, 6.4vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 4.6vw, 2.15rem); font-weight: 700; }
h3 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }
a { color: var(--blue-action); }
ul, ol { margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--white); color: var(--navy); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 8px; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.center { text-align: center; }

.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
/* Estilo de los destacados de Instagram: círculo blanco con ícono azul marino */
.ico-circle {
  display: inline-grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--white); color: var(--navy);
  box-shadow: inset 0 0 0 1.5px var(--gray-200);
}
.ico-circle .ico { width: 22px; height: 22px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .75em 1.4em;
  border-radius: 999px; border: 0;
  font: 600 1rem/1.2 var(--font-body);
  text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn .ico { width: 1.3em; height: 1.3em; }
.btn-primary { background: var(--blue-action); color: var(--white); box-shadow: 0 6px 18px rgba(35, 115, 246, .28); }
.btn-primary:hover { background: var(--blue-action-hover); }
.btn-primary:active { transform: translateY(1px); }
.btn-lg { min-height: 56px; font-size: 1.05rem; padding: .85em 1.6em; }
.btn-sm { min-height: 44px; padding: .5em 1em; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--gray-200); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--blue); }
.btn-outline-light { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1.5px var(--white); }
.btn-outline-light .ico:last-child { width: 1em; height: 1em; opacity: .8; }
.btn-link-light {background: transparent; color: var(--white); padding-left: .4em; padding-right: .4em; }
.btn-link-light:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Énfasis suave en el botón principal del hero (una sola vez) */
@media (prefers-reduced-motion: no-preference) {
  .hero .btn-primary { animation: soft-pulse 2.4s ease-out 1.2s 2; }
  @keyframes soft-pulse {
    0% { box-shadow: 0 6px 18px rgba(35, 115, 246, .28), 0 0 0 0 rgba(35, 115, 246, .45); }
    70% { box-shadow: 0 6px 18px rgba(35, 115, 246, .28), 0 0 0 12px rgba(35, 115, 246, 0); }
    100% { box-shadow: 0 6px 18px rgba(35, 115, 246, .28), 0 0 0 0 rgba(35, 115, 246, 0); }
  }
}

/* ---------- Cabecera ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--gray-200);
  backdrop-filter: saturate(1.4) blur(8px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 700; min-height: 44px; }
/* Logo: igual que en la web de Alvorada Travel & Tours */
.brand-mark { width: 44px; height: auto; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; letter-spacing: .03em; }
.brand-sub { white-space: nowrap; font-size: .62rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gray-500); margin-top: 4px; }
/* En móvil el CTA vive en la barra fija inferior; en la cabecera solo desde 768 px */
.header-cta { display: none; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(35, 115, 246, .35), transparent 60%),
    var(--navy);
  color: var(--white);
  padding: 36px 0 44px;
}
.hero-grid { display: grid; gap: 36px; }
.eyebrow {
  display: inline-block; margin-bottom: 14px;
  font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--on-navy-muted);
}
.hero h1 { color: var(--white); margin-bottom: 14px; text-wrap: balance; }
.hero-sub { font-size: 1.05rem; color: var(--on-navy-muted); max-width: 36em; margin-bottom: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.hero-actions .btn-primary { width: 100%; }
.hero .micro { color: var(--on-navy-muted); }
.micro { font-size: .88rem; margin: 12px 0 0; color: var(--gray-700); }

.trust-row {
  list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px;
}
.trust-row li, .trust-row a {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .82rem; font-weight: 500; color: var(--white);
}
.trust-row li {
  padding: 5px 11px; border-radius: 999px; font-size: .78rem;
  background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
}
.trust-row a { text-decoration: none; min-height: 24px; }
.trust-row a:hover { text-decoration: underline; }
.trust-row .ico { width: 16px; height: 16px; }

/* Diagrama de secuencia */
.seq-card {
  margin: 0; padding: 18px 14px 14px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
}
.seq-title { font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--on-navy-muted); margin-bottom: 14px; text-align: center; }
.seq { position: relative; }
.seq-nodes { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; position: relative; z-index: 1; }
.seq-node {
  justify-self: center; padding: 6px 12px; border-radius: 999px;
  font-size: .8rem; font-weight: 600; white-space: nowrap;
  background: var(--white); color: var(--navy);
}
.seq-node-1 { background: var(--blue); color: var(--white); }
.seq-lines { position: absolute; top: 30px; bottom: 0; left: 0; right: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.seq-lines span { justify-self: center; width: 0; border-left: 1.5px dashed rgba(255, 255, 255, .22); }
.seq-rows { list-style: none; position: relative; padding-top: 4px; }
.seq-row { position: relative; height: 38px; color: rgba(255, 255, 255, .7); }
.seq-row.is-key { color: #8DB6FF; }
.seq-arrow { position: absolute; bottom: 9px; height: 1.5px; background: currentColor; }
.seq-arrow::after {
  content: ""; position: absolute; top: 50%; width: 7px; height: 7px;
  border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor;
}
.seq-arrow.ltr::after { right: 0; transform: translateY(-50%) rotate(45deg); }
.seq-arrow.rtl::after { left: 0; transform: translateY(-50%) rotate(-135deg); }
.seq-label {
  position: absolute; bottom: 5px; left: 50%; transform: translateX(-50%);
  white-space: nowrap; font-size: .74rem; font-weight: 500; color: var(--white);
}
.seq-row.is-key .seq-label { color: #BFD5FF; font-weight: 600; }

/* ---------- Secciones ---------- */
.section { padding: 56px 0; }
.section-tint { background: var(--blue-50); }
.section-dark { background: var(--navy); color: var(--white); }
.section-head { margin-bottom: 28px; }
.section-head h2 { text-wrap: balance; }
.section-head .lead { margin-top: 12px; }
.lead { font-size: 1.05rem; color: var(--gray-700); }
.section-dark .lead { color: var(--on-navy-muted); }
.section-cta { margin-top: 32px; }
.section-cta .btn { width: 100%; }
.big-text { font-size: 1.12rem; line-height: 1.65; }

.tag {
  display: inline-block; margin-bottom: 12px; padding: 4px 12px; border-radius: 999px;
  font-size: .78rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase;
  background: var(--blue-100); color: var(--navy);
}

/* Qué es */
.pill-list { list-style: none; display: grid; gap: 12px; margin-top: 24px; }
.pill-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px 10px 10px; border-radius: 999px;
  background: var(--blue-50); font-weight: 500;
}

/* Cómo funciona */
.steps { list-style: none; display: grid; gap: 14px; counter-reset: none; position: relative; }
.step {
  display: grid; grid-template-columns: 44px 1fr; gap: 14px;
  padding: 18px; border-radius: var(--radius);
  background: var(--white); box-shadow: var(--shadow);
}
.step-num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  background: var(--blue-100); color: var(--navy);
}
.step-alvorada .step-num { background: var(--navy); color: var(--white); }
.step h3 { margin: 6px 0 6px; }
.step p { color: var(--gray-700); font-size: .95rem; }
.who {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
}
.who .ico { width: 16px; height: 16px; }
.who-tu { color: var(--blue-action); }
.who-alvorada { color: var(--navy); }

/* Quién hace qué */
.split { display: grid; gap: 16px; }
.split-col { padding: 22px; border-radius: var(--radius-lg); }
.split-col h3 { font-size: 1.2rem; margin-bottom: 14px; }
.split-col ul { list-style: none; display: grid; gap: 12px; }
.split-col li { display: flex; gap: 10px; align-items: flex-start; }
.split-col li .ico { margin-top: 3px; width: 18px; height: 18px; }
.split-tu { background: var(--blue-50); box-shadow: inset 0 0 0 1.5px var(--blue-100); }
.split-tu .ico { color: var(--blue-action); }
.split-alvorada { background: var(--navy); color: var(--white); }
.split-alvorada .ico { color: #8DB6FF; }

/* Cómo ganas */
.formula { display: grid; gap: 8px; align-items: center; margin-bottom: 24px; }
.f-box {
  padding: 16px; border-radius: var(--radius); text-align: center; font-weight: 600;
  background: var(--white); box-shadow: inset 0 0 0 1.5px var(--gray-200);
}
.f-key { background: var(--blue-action); color: var(--white); box-shadow: none; }
.f-total { background: var(--navy); color: var(--white); box-shadow: none; }
.f-op { display: grid; place-items: center; color: var(--gray-500); }
.f-op .ico { width: 22px; height: 22px; }
.margin-ref {
  margin-top: 20px; padding: 16px 18px; border-radius: var(--radius);
  background: var(--blue-100); font-size: 1.05rem; text-align: center;
}
.notice {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px; border-radius: var(--radius); margin-top: 20px;
  background: var(--white); box-shadow: inset 4px 0 0 var(--blue), inset 0 0 0 1px var(--gray-200);
  font-size: .95rem;
}
.notice .ico { color: var(--blue); margin-top: 2px; }

/* Ejemplo */
.timeline { list-style: none; counter-reset: tl; position: relative; padding-left: 4px; }
.timeline li {
  counter-increment: tl; position: relative;
  padding: 0 0 18px 44px; min-height: 32px;
}
.timeline li::before {
  content: counter(tl); position: absolute; left: 0; top: -2px;
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--white); color: var(--navy); font-weight: 600; font-size: .85rem;
  box-shadow: inset 0 0 0 1.5px var(--blue);
}
.timeline li:not(:last-child)::after {
  content: ""; position: absolute; left: 14.25px; top: 30px; bottom: 0; width: 1.5px; background: var(--blue-100);
}
.timeline-close { margin-top: 8px; padding: 14px 16px; border-radius: var(--radius); background: var(--blue-50); font-weight: 500; }

/* Requisitos + productos */
.two-cards { display: grid; gap: 16px; }
.card { padding: 24px; border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); }
.card h2 { font-size: clamp(1.3rem, 4vw, 1.6rem); margin-bottom: 18px; }
.icon-list, .product-list { list-style: none; display: grid; gap: 14px; }
.icon-list li, .product-list li { display: flex; align-items: center; gap: 14px; font-weight: 500; }
.product-list li { align-items: flex-start; }
.product-list h3 { margin: 10px 0 4px; }
.product-list p { color: var(--gray-700); font-size: .95rem; }
.card-note { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--gray-200); color: var(--gray-700); font-size: .95rem; }

/* Transparencia */
.info-grid { display: grid; gap: 16px; }
.info-block { padding: 22px; border-radius: var(--radius-lg); box-shadow: inset 0 0 0 1.5px var(--gray-200); }
.info-block h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 1.1rem; }
.info-block ul { list-style: none; display: grid; gap: 10px; }
.info-block li { position: relative; padding-left: 18px; color: var(--gray-700); font-size: .95rem; }
.info-block li::before { content: ""; position: absolute; left: 2px; top: .65em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.info-block strong { color: var(--navy); }

/* Confianza */
.trust-grid { list-style: none; display: grid; gap: 14px; }
.trust-card {
  padding: 22px; border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
}
.trust-card h3 { margin: 14px 0 6px; font-size: 1.1rem; }
.trust-card p { color: var(--on-navy-muted); font-size: .95rem; }
.trust-data { font-weight: 600; color: var(--white) !important; margin-top: 8px; }
.text-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; min-height: 44px;
  color: var(--white); font-weight: 600; text-underline-offset: 4px;
}
.text-link .ico { width: 16px; height: 16px; }

/* Testimonios (oculto hasta tener testimonios reales) */
.quotes { list-style: none; display: grid; gap: 16px; }
.quote { padding: 22px; border-radius: var(--radius-lg); background: var(--blue-50); }
.quote blockquote { margin: 0 0 12px; font-size: 1.02rem; }
.quote-by { color: var(--gray-700); font-size: .9rem; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq-item { background: var(--white); border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--gray-200); }
.faq-h { font-size: 1rem; }
.faq-q {
  width: 100%; min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 14px 16px 14px 18px; border: 0; background: none; cursor: pointer; text-align: left;
  font: 600 1rem/1.4 var(--font-body); color: var(--navy); border-radius: var(--radius);
}
.faq-q:hover { color: var(--blue-action); }
.faq-chev { width: 22px; height: 22px; transition: transform .25s ease; color: var(--blue); }
.faq-q[aria-expanded="true"] .faq-chev { transform: rotate(180deg); }
.faq-a {
  display: grid; grid-template-rows: 0fr; visibility: hidden;
  transition: grid-template-rows .3s ease, visibility 0s linear .3s;
}
.faq-a.is-open { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .3s ease, visibility 0s; }
.faq-a-inner { overflow: hidden; }
.faq-a-inner p { padding: 0 18px 18px; color: var(--gray-700); }

/* CTA final */
.cta-final { background: var(--white); }
.cta-final h2 { margin-bottom: 12px; text-wrap: balance; }
.cta-final .lead { margin-bottom: 24px; }
.cta-final .btn-lg { width: 100%; }
.copy-number {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px;
  margin-top: 22px; color: var(--gray-700); font-size: .95rem;
}
.phone { color: var(--navy); font-size: 1.05rem; white-space: nowrap; }

/* Footer */
.site-footer { background: var(--navy-900); color: var(--on-navy-muted); padding: 40px 0 28px; font-size: .92rem; }
.footer-grid { display: grid; gap: 20px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; margin-bottom: 8px; }
.footer-brand { font-family: var(--font-body); font-weight: 400; }
.footer-brand .brand-sub { color: var(--on-navy-muted); }
.footer-legal { margin: 0; }
.footer-links { list-style: none; display: grid; gap: 4px; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--white); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-disclaimer { padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); margin: 0; }
.footer-copy { margin: 0; font-size: .82rem; }

/* Botón fijo de WhatsApp (móvil) */
.floating-wa {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97);
  border-top: 1px solid var(--gray-200);
  box-shadow: 0 -6px 20px rgba(25, 43, 79, .08);
}
.floating-wa .btn { min-height: 52px; }

/* Aparición al hacer scroll (solo si hay JS y no se pide reducir movimiento) */
.js-reveal .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Tablet (≥ 600 px) ---------- */
@media (min-width: 600px) {
  :root { --gutter: 24px; }
  .hero-actions .btn-primary, .section-cta .btn, .cta-final .btn-lg { width: auto; }
  .section-cta { text-align: center; }
  .pill-list { grid-template-columns: repeat(3, 1fr); }
  .pill-list li { border-radius: var(--radius); flex-direction: column; text-align: center; padding: 18px 12px; }
  .formula { grid-template-columns: 1fr auto 1fr auto 1fr; }
  .f-box { height: 100%; display: grid; place-items: center; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .seq-label { font-size: .8rem; }
}

/* ---------- Desde 768 px: sin barra fija, el CTA está en la cabecera ---------- */
@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .floating-wa { display: none; }
  .header-cta { display: inline-flex; }
  .section { padding: 80px 0; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .split { grid-template-columns: 1fr 1fr; gap: 20px; }
  .two-cards { grid-template-columns: 1fr 1fr; gap: 20px; }
  .info-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.2fr 1fr; align-items: start; }
  .footer-disclaimer, .footer-copy { grid-column: 1 / -1; }
}

/* ---------- Escritorio (≥ 1024 px) ---------- */
@media (min-width: 1024px) {
  :root { --header-h: 68px; }
  .hero { padding: 72px 0 84px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 56px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .seq-card { padding: 24px 18px 18px; }
  .seq-row { height: 44px; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
