/* ED Turismo · Landing de captación
   Layout: hero a dos columnas (promesa + formulario en forma de pase de abordar ida y vuelta),
   luego secciones que responden objeciones en el orden en que aparecen. Una sola acción: cotizar. */
:root {
  --azul: #0B4F6C;      /* principal: confianza */
  --azul-hondo: #083A50;
  --turquesa: #20A4A0;  /* acentos */
  --coral: #F2765A;     /* solo llamados a la acción */
  --coral-hondo: #D95B3F;
  --arena: #F7EAD7;     /* fondo de marca */
  --arena-clara: #FCF6EC;
  --papel: #FFFFFF;
  --tinta: #12303D;     /* texto con sesgo azul */
  --tinta-suave: #4A6470;
  --linea: #E3D3BC;
  --wa: #1FA855;
  --error: #B42318;

  --f-display: "Outfit", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-body: "Nunito Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radio: 14px;
  --sombra: 0 18px 40px -18px rgba(11, 79, 108, .45);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--arena-clara);
  color: var(--tinta);
  font: 400 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--azul); }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.12; margin: 0; text-wrap: balance; color: var(--azul); }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 700; letter-spacing: -.015em; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.wrap { width: 100%; max-width: 1140px; margin-inline: auto; padding-inline: 20px; }
.narrow { max-width: 780px; }
.eyebrow {
  font: 700 .78rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase;
  color: var(--turquesa); margin-bottom: 14px;
}
.lead { font-size: 1.12rem; color: var(--tinta-suave); max-width: 58ch; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1.1 var(--f-display); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible, .linkbtn:focus-visible, a:focus-visible {
  outline: 3px solid var(--turquesa); outline-offset: 2px;
}
.btn--cta { background: var(--coral); color: var(--azul-hondo); box-shadow: 0 8px 20px -10px var(--coral-hondo); }
.btn--cta:hover { background: #F5876E; }
.btn--ghost { color: var(--azul); border-color: var(--azul); background: transparent; min-height: 44px; padding: 8px 18px; }
.btn--line { color: var(--azul); border-color: var(--azul); background: transparent; }
.btn--line:hover { background: var(--azul); color: var(--papel); }
.btn--wa { background: var(--wa); color: var(--papel); }
.btn--light { background: transparent; color: var(--papel); border-color: rgba(255,255,255,.6); }
.btn--block { width: 100%; }
.ico { width: 20px; height: 20px; fill: currentColor; flex: none; }
.linkbtn { background: none; border: 0; color: var(--tinta-suave); font: 600 .95rem var(--f-body); cursor: pointer; padding: 6px; align-self: center; }

/* Barra superior */
.topbar {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: rgba(252, 246, 236, .92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--linea);
}
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.topbar__logo img { width: 170px; }

/* Hero */
.hero {
  background:
    radial-gradient(900px 420px at 85% 10%, rgba(32,164,160,.18), transparent 60%),
    linear-gradient(180deg, var(--arena) 0%, var(--arena-clara) 100%);
  padding-block: 48px 64px;
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: start; }
.hero__copy { display: grid; gap: 20px; padding-top: 16px; min-width: 0; }
.proofs { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 10px; }
.proofs li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.proofs li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--turquesa) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6L20.1 8.4 18.7 7z' fill='white'/%3E%3C/svg%3E") center/16px no-repeat;
}

/* Pase de abordar */
.pass {
  background: var(--papel); border-radius: 22px; box-shadow: var(--sombra);
  position: relative; min-width: 0;
}
.pass__head {
  background: var(--azul); color: var(--papel); border-radius: 22px 22px 0 0;
  padding: 22px 24px 26px; position: relative;
}
/* perforación */
.pass__head::after {
  content: ""; position: absolute; left: 18px; right: 18px; bottom: -1px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--arena) 0 8px, transparent 8px 16px);
}
.pass__route { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.iata { font: 700 1.05rem/1 var(--f-display); letter-spacing: .08em; font-variant-numeric: tabular-nums; }
#pass-dest { color: var(--coral); min-width: 3.2ch; text-align: center; transition: color .2s; }
.pass__line { flex: 1; height: 2px; background: rgba(255,255,255,.35); position: relative; border-radius: 2px; }
.pass__plane { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -55%); font-size: .9rem; color: var(--turquesa); }
.pass__line--back .pass__plane { transform: translate(-50%, -55%) scaleX(-1); }
.pass__title { font: 700 1.45rem/1.2 var(--f-display); }
.pass__head .pass__title { color: var(--papel); }
.pass__sub { opacity: .85; margin-top: 4px; font-size: .98rem; }
.pass__body { padding: 22px 24px 8px; }
.pass__foot { padding: 6px 24px 20px; font-size: .82rem; color: var(--tinta-suave); text-align: center; }

.steps { list-style: none; padding: 0; margin: 0 0 18px; display: flex; gap: 8px; }
.steps li {
  flex: 1; font: 700 .74rem/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase;
  color: var(--tinta-suave); padding-top: 10px; border-top: 4px solid var(--linea);
}
.steps li.is-active { color: var(--azul); border-top-color: var(--turquesa); }

.step { border: 0; margin: 0; padding: 0; display: grid; gap: 16px; min-width: 0; }
.field { display: grid; gap: 6px; min-width: 0; }
.label { font: 700 .92rem/1.3 var(--f-body); color: var(--tinta); }
input[type="text"], input[type="tel"], input[type="number"], select {
  width: 100%; min-height: 50px; padding: 10px 14px; font: 600 1rem var(--f-body); color: var(--tinta);
  background: var(--arena-clara); border: 2px solid var(--linea); border-radius: 12px; appearance: none;
}
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 10 5 5 5-5' fill='none' stroke='%230B4F6C' stroke-width='2.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 20px; padding-right: 40px;
}
input:focus, select:focus { border-color: var(--turquesa); background-color: var(--papel); outline: none; }
.row2 { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: 12px; }
.phone { display: flex; align-items: stretch; }
.phone__cc {
  display: grid; place-items: center; padding: 0 12px; font-weight: 700; color: var(--azul);
  background: var(--arena); border: 2px solid var(--linea); border-right: 0; border-radius: 12px 0 0 12px;
}
.phone input { border-radius: 0 12px 12px 0; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: inline-block; padding: 9px 14px; border-radius: 999px; border: 2px solid var(--linea);
  font-weight: 700; font-size: .92rem; background: var(--arena-clara); color: var(--tinta);
  transition: background-color .15s, border-color .15s, color .15s;
}
.chip input:checked + span { background: var(--azul); border-color: var(--azul); color: var(--papel); }
.chip input:focus-visible + span { outline: 3px solid var(--turquesa); outline-offset: 2px; }

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--tinta-suave); line-height: 1.45; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--azul); flex: none; }
.err { display: none; color: var(--error); font-size: .85rem; font-weight: 600; }
.field.has-error .err, .err.show { display: block; }
.field.has-error input, .field.has-error select { border-color: var(--error); }

.thanks { display: grid; gap: 14px; text-align: center; padding-bottom: 12px; }
.thanks__stamp {
  justify-self: center; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  border: 3px dashed var(--turquesa); color: var(--turquesa); font: 700 1.8rem var(--f-display);
  transform: rotate(-8deg);
}
.thanks .pass__title { color: var(--azul); }

/* Franja de confianza */
.trust { background: var(--azul); color: var(--papel); padding-block: 22px; }
.trust__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.trust__grid div { display: grid; gap: 2px; padding-left: 14px; border-left: 3px solid var(--turquesa); }
.trust strong { font-family: var(--f-display); font-size: 1.02rem; }
.trust span { font-size: .88rem; opacity: .85; }

/* Secciones */
.section { padding-block: 72px; }
.section--sand { background: var(--arena); }
.section h2 { margin-bottom: 28px; max-width: 24ch; }

/* Recorrido de ida y vuelta */
.journey {
  list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px;
  position: relative;
}
.journey::before {
  content: ""; position: absolute; top: 14px; left: 8px; right: 8px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--turquesa) 0 10px, transparent 10px 18px);
}
.journey li { position: relative; display: grid; gap: 8px; align-content: start; padding-top: 44px; }
.journey li::before {
  content: ""; position: absolute; top: 6px; left: 0; width: 18px; height: 18px; border-radius: 50%;
  background: var(--arena-clara); border: 4px solid var(--azul);
}
.journey li:last-child::before { background: var(--coral); border-color: var(--coral); }
.journey__tag { font: 700 .75rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--turquesa); }
.journey p { color: var(--tinta-suave); font-size: .98rem; }

/* Tarjetas de destino */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { background: var(--papel); border-radius: var(--radio); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 10px 30px -22px rgba(11,79,108,.6); }
.card__art { aspect-ratio: 16 / 9; max-width: 100%; position: relative; display: flex; align-items: flex-end; padding: 16px; }
.card__art span { font: 700 1.1rem/1 var(--f-display); letter-spacing: .12em; color: var(--papel); background: rgba(8,58,80,.55); padding: 6px 10px; border-radius: 8px; }
.card--puj .card__art { background: radial-gradient(circle at 78% 30%, #F9A48C 0 14%, transparent 15%), linear-gradient(180deg, #F7C9A4 0%, #F2765A 38%, #20A4A0 62%, #0B4F6C 100%); }
.card--aua .card__art { background: radial-gradient(circle at 24% 26%, #FFE6B8 0 12%, transparent 13%), linear-gradient(180deg, #8FD5E0 0%, #3CB8C2 50%, #20A4A0 68%, #F7EAD7 68.5%, #EFD9B8 100%); }
.card--col .card__art { background: radial-gradient(120% 70% at 30% 110%, #2E7D4F 0 40%, transparent 41%), radial-gradient(120% 70% at 85% 120%, #3E9460 0 45%, transparent 46%), linear-gradient(180deg, #F7EAD7 0%, #F5B38F 55%, #F2765A 100%); }
.card__body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__body p { color: var(--tinta-suave); font-size: .98rem; }
.card__meta { font-size: .86rem !important; font-weight: 700; color: var(--azul) !important; }
.card__body .btn { margin-top: auto; }

/* Empresas */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.split > div { display: grid; gap: 18px; justify-items: start; }
.split h2 { margin-bottom: 0; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ticks li { background: var(--arena); border-radius: 12px; padding: 16px 18px; color: var(--tinta-suave); }
.ticks strong { color: var(--azul); display: block; font-family: var(--f-display); font-size: 1.05rem; }

/* Preguntas */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--papel); border-radius: 12px; padding: 4px 20px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 28px 16px 0; position: relative;
  font: 600 1.05rem/1.35 var(--f-display); color: var(--azul);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 1.5rem; color: var(--turquesa); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 18px; color: var(--tinta-suave); }

/* CTA final */
.final { background: var(--azul); color: var(--papel); padding-block: 64px; }
.final__in { display: grid; gap: 16px; justify-items: center; text-align: center; }
.final h2 { color: var(--papel); }
.final p { opacity: .88; max-width: 48ch; }
.final__btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }

/* Pie */
.footer { background: var(--azul-hondo); color: rgba(255,255,255,.78); padding-block: 36px 110px; font-size: .86rem; }
.footer__in { display: grid; gap: 10px; }
.footer a { color: var(--papel); }
.footer strong { color: var(--papel); }
.footer__law { font-size: .78rem; opacity: .75; }

/* Barra fija en celular */
.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: none; gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(252, 246, 236, .96); border-top: 1px solid var(--linea); backdrop-filter: blur(8px);
  transition: transform .2s ease;
}
.mbar .btn { min-height: 48px; }
.mbar .btn--cta { flex: 1; }
.mbar.is-hidden { transform: translateY(110%); }

/* Responsive */
@media (max-width: 960px) {
  .hero__grid, .split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .journey { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journey::before { display: none; }
  .cards { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 16px; }
  .hero { padding-block: 28px 48px; }
  .hero__copy { padding-top: 0; gap: 14px; }
  .proofs { display: none; } /* en celular el formulario sube; las pruebas se repiten en la franja de confianza */
  .topbar__logo img { width: 140px; }
  .topbar .btn--ghost span { display: none; }
  .topbar .btn--ghost { padding: 8px 12px; }
  .journey { grid-template-columns: minmax(0, 1fr); }
  .section { padding-block: 52px; }
  .mbar { display: flex; }
  .pass__body, .pass__head { padding-inline: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
