/* Travelsia — landing */

:root {
  --ink: #163B2F;
  --green: #238064;
  --green-dark: #1E6B53;
  --green-darker: #134535;
  --lilac: #CFC3EA;
  --violet: #9C86CF;
  --mint: #7FC7A8;
  --cream: #F6F3EC;
  --sand: #E9E4D6;
  --line: #C9D9D1;
  --white: #FFFFFF;
  /* color de acento de los títulos y la nube del logo; los temas estacionales lo reemplazan */
  --acento: var(--violet);

  --font: "Poppins", system-ui, sans-serif;
  --container: 1160px;
  --ancho-texto: 720px;     /* columna de lectura de las páginas legales */
  --gutter: 24px;
  --section-pad: 96px;
  --pill: 999px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: var(--green-dark); }
a:hover { color: var(--green-darker); }
h1, h2, p, figure, dl, dd, ol, ul { margin: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.section { padding-top: var(--section-pad); padding-bottom: var(--section-pad); }
.stack-40 { display: flex; flex-direction: column; gap: 40px; }

/* color helpers */
.green { color: var(--green); }
.dot { color: var(--acento); }
.lilac { color: var(--lilac); }
.mint { color: var(--mint); }

/* texto solo para lectores de pantalla */
.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;
}

/* enlace "Saltar al contenido": invisible hasta que llega el foco del teclado */
.saltar {
  position: absolute;
  left: var(--gutter);
  top: 8px;
  z-index: 60;
  padding: 12px 20px;
  border-radius: var(--pill);
  background: var(--cream);
  color: var(--ink);
  font-weight: 500;
  transform: translateY(-200%);
}
.saltar:focus { transform: none; }

/* ---------- buttons & pills ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: var(--pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .15s, color .15s;
}
.btn--sm { font-size: 15px; padding: 11px 22px; }
.btn--primary { background: var(--green); color: var(--white); }
.btn--primary:hover { background: var(--green-dark); color: var(--white); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--lilac { background: var(--lilac); color: var(--ink); border: 0; }
.btn--lilac:hover { background: var(--white); color: var(--ink); }
.btn--outline-white { border-color: var(--white); color: var(--white); background: transparent; }
.btn--outline-white:hover { background: var(--white); color: var(--ink); }
.btn[hidden] { display: none; }

.pill {
  background: var(--cream);
  color: var(--ink);
  font-weight: 500;
  border-radius: var(--pill);
  position: absolute;
}
.pill--overlay { left: 20px; bottom: 20px; font-size: 13px; padding: 8px 14px; }
.pill--tag { top: 16px; left: 16px; font-size: 12px; padding: 6px 12px; }
.pill--promo { top: 16px; right: 16px; font-size: 13px; font-weight: 700; padding: 6px 12px; background: var(--lilac); }

.wordmark {
  font-weight: 800;
  font-size: 30px;
  letter-spacing: -1px;
  line-height: 1;
}
.wordmark--sm { font-size: 20px; letter-spacing: -0.6px; }

/* ---------- nav ---------- */
.nav {
  padding-top: 28px;
  padding-bottom: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo { display: flex; align-items: center; gap: 14px; color: var(--ink); text-decoration: none; }
.logo:hover { color: var(--ink); }
/* ícono: ventanilla de avión con el ala y una nube */
.logo__marco { fill: none; stroke: var(--green); stroke-width: 2.2; }
.logo__ala { fill: var(--green); }
.logo__nube { fill: var(--acento); }
.nav__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 32px;
  font-size: 15px;
}
.nav__links a:not(.btn) { color: var(--ink); text-decoration: none; }
.nav__links a:not(.btn):hover { color: var(--green); }

/* ---------- hero ---------- */
.hero {
  padding-top: 48px;
  padding-bottom: var(--section-pad);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 48px;
}
.hero__copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.eyebrow {
  align-self: flex-start;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green-dark);
  border: 1px solid var(--green);
  padding: 7px 14px;
  border-radius: var(--pill);
}
.hero__title {
  font-weight: 800;
  font-size: clamp(52px, 9vw, 92px);
  line-height: 0.95;
  letter-spacing: -3px;
}
.hero__si {
  color: var(--green);
  text-decoration: underline;
  text-decoration-color: var(--lilac);
  text-decoration-thickness: 12px;
  text-underline-offset: 6px;
}
.hero__lead { font-size: 18px; font-weight: 300; line-height: 1.6; max-width: 440px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__media {
  flex: 1 1 340px;
  min-width: 0;
  height: 520px;
  background: var(--lilac);
  border-radius: 240px 240px 24px 24px;
  overflow: hidden;
  position: relative;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- ticker ---------- */
.ticker { background: var(--green); color: var(--white); overflow: hidden; }
.ticker__inner {
  padding-top: 22px;
  padding-bottom: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 28px;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.3px;
}
.ticker__star { color: var(--lilac); }

/* ---------- section titles ---------- */
.section-title { display: flex; flex-direction: column; gap: 10px; }
.kicker { font-size: 14px; color: var(--green-dark); }
.kicker--ink { color: var(--ink); }
.promos h2,
.destinos h2,
.vuelos h2,
.servicios__title,
.nosotros h2 {
  font-weight: 800;
  font-size: clamp(38px, 5vw, 52px);
  letter-spacing: -1.5px;
  line-height: 1;
}

/* ---------- promociones ---------- */
/* Sin uso mientras la sección está fuera de index.html (vuelve con las promos reales) */
.promos__list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: 24px;
}
.promo {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
}
.promo__media { position: relative; height: 220px; background: var(--sand); }
.promo__media img { width: 100%; height: 100%; object-fit: cover; }
.promo__body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 24px; }
.promo__name { margin: 0; font-weight: 700; font-size: 21px; letter-spacing: -0.3px; }
.promo__desc { font-size: 15px; font-weight: 300; line-height: 1.5; }
.promo__price { margin-top: 6px; font-size: 14px; font-weight: 300; }
.promo__price strong { font-weight: 800; font-size: 28px; letter-spacing: -0.5px; color: var(--green-dark); }
.promo__valid { font-size: 13px; color: var(--green-dark); }
.promo__valid { margin-bottom: 10px; }
.promo .btn { margin-top: auto; align-self: flex-start; }
.promos__legal { font-size: 13px; font-weight: 300; }

/* ---------- destinos ---------- */
.destinos { background: var(--white); }
.destinos__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  font: inherit;
  font-size: 14px;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: var(--pill);
  cursor: pointer;
  border: 1px solid var(--green);
  background: transparent;
  color: var(--ink);
  transition: background-color .15s, color .15s;
}
.filter:hover { background: var(--cream); }
.filter.is-active { background: var(--green); color: var(--white); }

.cards {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: 28px 24px;
}
.card[hidden] { display: none; }
.card a {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: var(--ink);
  text-decoration: none;
}
.card__media {
  position: relative;
  height: 340px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--sand);
}
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card a:hover .card__media img { transform: scale(1.04); }
.card__body { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.card__body > div { display: flex; flex-direction: column; gap: 2px; }
.card__name { font-weight: 700; font-size: 21px; letter-spacing: -0.3px; }
.card__place { font-size: 14px; font-weight: 300; }
.card__arrow {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: var(--pill);
  border: 1px solid var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 18px;
  transition: background-color .15s, color .15s;
}
.card a:hover .card__arrow { background: var(--green); color: var(--white); }

/* ---------- vuelos ---------- */
.vuelos { background: var(--ink); color: var(--white); color-scheme: dark; }
.vuelos .kicker { color: var(--mint); }
.vuelos__inner { display: flex; flex-wrap: wrap; gap: 48px; }
.vuelos__copy { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.vuelos__copy p { font-size: 18px; font-weight: 300; line-height: 1.65; max-width: 420px; }
.form--vuelos { flex: 1.5 1 480px; gap: 28px; }
.form__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 24px;
}
.field { min-width: 0; display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; border: 0; }
.field[hidden] { display: none; }
.field legend { padding: 0; margin-bottom: 10px; font-size: 14px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.form--vuelos label.choice { margin-top: 0; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 20px;
  font-size: 14px;
  border: 1px solid var(--white);
  border-radius: var(--pill);
  cursor: pointer;
  transition: background-color .15s, color .15s;
}
.choice input:checked + span { background: var(--lilac); border-color: var(--lilac); color: var(--ink); }
.choice input:focus-visible + span { outline: 2px solid var(--violet); outline-offset: 3px; }
.form--vuelos .btn { margin-top: 0; }

/* ---------- servicios ---------- */
.servicios { display: flex; flex-wrap: wrap; gap: 48px; }
.servicios__title { flex: 1 1 300px; min-width: 0; }
.servicios__list { flex: 2 1 520px; min-width: 0; display: flex; flex-direction: column; }
.servicio {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.servicio:last-child { border-bottom: 1px solid var(--line); }
.servicio dt { font-weight: 500; font-size: 20px; }
.servicio dd { font-size: 15px; font-weight: 300; max-width: 340px; }

/* ---------- banda foto ---------- */
.banda { position: relative; height: 560px; overflow: hidden; }
.banda img { width: 100%; height: 100%; object-fit: cover; }
/* Light wash under the headline so the dark ink stays readable over the lake reflection */
.banda::after {
  content: "";
  position: absolute;
  inset: 45% 0 0 0;
  background: linear-gradient(to bottom, rgba(246, 243, 236, 0), rgba(246, 243, 236, .85));
  pointer-events: none;
}
.banda__copy { z-index: 1; }
.banda__copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding-bottom: 56px;
}
.banda__copy p {
  font-weight: 800;
  font-size: clamp(38px, 6vw, 60px);
  letter-spacing: -2px;
  line-height: 0.95;
  color: var(--ink);
}

/* ---------- nosotros ---------- */
.nosotros { background: var(--lilac); }
.nosotros__inner { display: flex; flex-wrap: wrap; gap: 56px; }
.nosotros__copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.nosotros__copy p { font-size: 18px; font-weight: 300; line-height: 1.65; max-width: 520px; }
.pilares {
  flex: 1 1 360px;
  min-width: 0;
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pilares li {
  background: var(--cream);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
}
.pilares__num { font-weight: 800; font-size: 28px; color: var(--green); width: 48px; flex: none; }

/* ---------- contacto ---------- */
.contacto { background: var(--green); color: var(--white); }
.contacto__inner { display: flex; flex-wrap: wrap; gap: 48px; }
.contacto__copy { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.contacto h2 {
  font-weight: 800;
  font-size: clamp(48px, 7vw, 68px);
  letter-spacing: -2px;
  line-height: 0.95;
}
.contacto__copy p { font-size: 16px; font-weight: 300; line-height: 1.8; }
.contacto__copy a { color: var(--white); }
.contacto__copy a:hover { color: var(--lilac); }
/* aviso contra estafas: "Canales oficiales" */
.contacto__copy .canales {
  max-width: 460px;
  padding-left: 16px;
  border-left: 3px solid var(--lilac);
  font-size: 14px;
  line-height: 1.6;
}
.canales strong { font-weight: 700; }

.form { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.form label { font-size: 14px; }
.form label:not(:first-child) { margin-top: 8px; }
.form input,
.form textarea {
  font: inherit;
  font-size: 16px;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--white);
  border-radius: 0;
  background: transparent;
  color: var(--white);
}
.form textarea { min-height: 96px; resize: vertical; }
.form input:focus,
.form textarea:focus { outline: none; border-bottom-color: var(--lilac); box-shadow: 0 1px 0 var(--lilac); }
.form .btn { margin-top: 20px; align-self: flex-start; }
.form__acciones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.form .form__acciones .btn { margin-top: 0; }
.form__aviso { font-size: 13px; font-weight: 300; line-height: 1.6; max-width: 480px; }
.form__aviso a { color: inherit; text-underline-offset: 3px; }
.form__aviso a:hover { color: var(--lilac); }
.field__hint { font-weight: 300; }
.form__status { font-size: 14px; min-height: 1.4em; }

/* ---------- páginas de texto (legales, arrepentimiento, baja, 404) ---------- */
.container--texto { max-width: calc(var(--ancho-texto) + 2 * var(--gutter)); }
.pagina { padding-top: 32px; padding-bottom: var(--section-pad); }
.legal { display: flex; flex-direction: column; gap: 40px; }
.legal__head { display: flex; flex-direction: column; gap: 14px; }
.legal h1 {
  font-weight: 800;
  font-size: clamp(38px, 6vw, 56px);
  letter-spacing: -1.5px;
  line-height: 1;
}
.legal__meta { font-size: 14px; font-weight: 300; }
.legal__lead { font-size: 18px; font-weight: 300; line-height: 1.65; }
.legal section { display: flex; flex-direction: column; gap: 12px; }
.legal h2 { font-weight: 700; font-size: 22px; letter-spacing: -0.3px; line-height: 1.3; }
.legal h3 { margin: 8px 0 0; font-weight: 500; font-size: 17px; }
.legal p,
.legal li { font-size: 16px; line-height: 1.7; }
.legal ul,
.legal ol { padding-left: 1.25em; }
.legal li + li { margin-top: 6px; }
.legal__nota { padding: 20px 24px; border-radius: 20px; background: var(--white); }

/* panel verde con el formulario de un pedido (arrepentimiento o baja) */
.pedido {
  padding: 40px;
  border-radius: 24px;
  background: var(--green);
  color: var(--white);
  color-scheme: dark;
}
.pedido h2 { color: var(--white); }
.pedido .form { gap: 10px; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--white); }
.footer__inner {
  padding-top: 40px;
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: 13px;
  line-height: 1.7;
}
.footer a { color: var(--white); text-underline-offset: 3px; }
.footer a:hover { color: var(--lilac); }
.footer__top,
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 24px;
}
.footer__legales ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0 24px; }
.footer__legales a { display: inline-flex; align-items: center; min-height: 44px; }
.footer__datos { font-style: normal; padding-top: 24px; border-top: 1px solid color-mix(in srgb, var(--white) 20%, transparent); }

/* ---------- focus ---------- */
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }
/* sobre fondos verdes y oscuros, el violeta no contrasta lo suficiente: se usa blanco */
.contacto :focus-visible,
.pedido :focus-visible,
.footer :focus-visible { outline-color: var(--white); }

/* ---------- small screens ---------- */
@media (max-width: 640px) {
  :root { --gutter: 16px; --section-pad: 64px; }
  .nav__links { gap: 8px 20px; }
  .hero__title { letter-spacing: -2px; }
  .hero__media { height: 420px; border-radius: 180px 180px 24px 24px; }
  .banda { height: 420px; }
  .card__media { height: 280px; }
  .ticker__inner { justify-content: center; font-size: 17px; }
  .pedido { padding: 28px 20px; }
}
