/* ============================================================
   AVENTIA TRAVEL — demo estática para portfolio
   HTML + CSS + JS vanilla. Sin frameworks, sin build.

   Índice
   00 Tipografía · 01 Variables
   02 Reset y base
   03 Utilidades
   04 Header y navegación
   05 Hero + buscador
   06 Destinos (S1)
   07 Bandas full-width
   08 Paquetes (S2)
   09 Experiencias (S3)
   10 Testimonios
   11 Blog (S4)
   12 Footer
   13 Responsive
   ============================================================ */

/* ---------- 00 Tipografía (auto-hospedada: cero pedidos a terceros) ---------- */
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('../assets/fonts/poppins-600.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('../assets/fonts/poppins-700.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('../assets/fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('../assets/fonts/inter-500.woff2') format('woff2'); }
@font-face { font-family: 'Dancing Script'; font-style: normal; font-weight: 700; font-display: swap; src: url('../assets/fonts/dancing-script-700.woff2') format('woff2'); }

/* ---------- 01 Variables ---------- */
:root {
  /* Naranja y navy tomados de la referencia; los tres navy de banda
     están muestreados de los paneles quemados en cada foto. */
  --naranja: #F66C1E;
  --naranja-osc: #DD5A10;
  --navy-900: #001428;
  --navy-800: #04203A;
  --navy-s1: #002531;
  --navy-s2: #011E3A;
  --navy-s3: #002744;

  --tinta: #10202E;
  --gris: #64758A;
  --linea: #E4E9EF;
  --linea-osc: rgba(255, 255, 255, .15);
  --fondo: #FCFCFC;
  --fondo-alt: #F4F7FA;
  --blanco: #FFFFFF;

  --ff-head: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --ff-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --ff-script: 'Dancing Script', 'Segoe Script', cursive;

  --maxw: 1288px;
  --gutter: 24px;
  --edge: max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter)));

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;

  --sombra: 0 2px 4px rgba(8, 30, 50, .04), 0 12px 30px rgba(8, 30, 50, .08);
  --sombra-alta: 0 24px 60px rgba(0, 20, 40, .18);

  --section-y: clamp(58px, 6.5vw, 100px);
}

/* ---------- 02 Reset y base ---------- */
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

body {
  margin: 0; background: var(--fondo); color: var(--tinta);
  font-family: var(--ff-body); font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

h1, h2, h3 { font-family: var(--ff-head); font-weight: 700; line-height: 1.18; letter-spacing: -.02em; }
:focus-visible { outline: 2px solid var(--naranja); outline-offset: 3px; border-radius: 4px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: absolute; left: -9999px; top: 12px; z-index: 99; background: var(--navy-900); color: #fff; padding: 10px 18px; border-radius: var(--r-sm); }
.skip-link:focus { left: 12px; }

/* ---------- 03 Utilidades ---------- */
.container { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }

.section__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: clamp(28px, 3.4vw, 46px);
}
.section__title { font-size: clamp(26px, 2.9vw, 38px); }
.section__lead { margin-top: 12px; color: var(--gris); font-size: 15px; max-width: 52ch; }

.eyebrow {
  display: flex; align-items: center; gap: 9px; margin-bottom: 12px;
  font-family: var(--ff-head); font-size: 12px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--naranja);
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--naranja); border-radius: 2px; }
.eyebrow--claro { color: var(--naranja); }

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.btn {
  display: inline-flex; align-items: center; gap: 9px; flex: none;
  padding: 13px 24px; border-radius: 999px;
  font-family: var(--ff-head); font-size: 14px; font-weight: 600; white-space: nowrap;
  transition: background-color .2s, color .2s, transform .2s, box-shadow .2s, border-color .2s;
}
.btn .icon { width: 16px; height: 16px; transition: transform .2s; }
.btn:hover .icon { transform: translateX(3px); }

.btn--naranja { background: var(--naranja); color: #fff; }
.btn--naranja:hover { background: var(--naranja-osc); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(246, 108, 30, .34); }

.btn--linea { border: 1px solid var(--naranja); color: var(--naranja); padding: 10px 20px; font-size: 13px; }
.btn--linea:hover { background: var(--naranja); color: #fff; }

.icon-btn {
  display: grid; place-items: center; width: 42px; height: 42px;
  border-radius: 50%; border: 1px solid var(--linea-osc); color: #fff;
  transition: background-color .2s, border-color .2s;
}
.icon-btn:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .4); }

.round-arrow {
  display: grid; place-items: center; width: 38px; height: 38px; flex: none;
  border-radius: 50%; background: var(--naranja); color: #fff;
  transition: background-color .2s, transform .2s;
}
.round-arrow .icon { width: 16px; height: 16px; }
.round-arrow--sm { width: 30px; height: 30px; background: var(--fondo-alt); color: var(--navy-900); }
.round-arrow--sm .icon { width: 14px; height: 14px; }

.grid { display: grid; gap: clamp(16px, 1.9vw, 26px); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.chip {
  position: absolute; top: 12px; left: 12px;
  padding: 6px 13px; border-radius: 999px; background: rgba(255, 255, 255, .94);
  font-family: var(--ff-head); font-size: 11.5px; font-weight: 600; color: var(--navy-900);
}
.tag {
  padding: 5px 13px; border-radius: 999px;
  background: rgba(246, 108, 30, .1); color: var(--naranja-osc);
  font-family: var(--ff-head); font-size: 11.5px; font-weight: 600;
}

/* ---------- 04 Header ---------- */
.site-header {
  position: relative; z-index: 5;
  display: flex; align-items: center; gap: clamp(16px, 3vw, 40px);
  padding: 22px var(--edge); color: #fff;
}
.logo { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.logo__mark { width: 28px; height: 28px; color: #fff; flex: none; }
.logo__text { font-family: var(--ff-head); font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.logo__text em { font-style: normal; font-weight: 600; }
.logo__text small { font-size: 9px; font-weight: 500; opacity: .6; margin-left: 2px; vertical-align: super; }

.nav { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 28px); margin-inline: auto; }
.nav__link { position: relative; font-size: 14.5px; font-weight: 500; color: rgba(255, 255, 255, .8); padding-block: 4px; transition: color .2s; }
.nav__link:hover, .nav__link.is-active { color: #fff; }
.nav__link.is-active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; background: var(--naranja); border-radius: 2px; }

.site-header__actions { display: flex; align-items: center; gap: 12px; flex: none; }
.icon-btn--menu { display: none; }
.icon-btn--menu .icon-close { display: none; }

/* ---------- 05 Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  display: flex; flex-direction: column;
  min-height: min(760px, 88vh);
  padding-bottom: clamp(90px, 10vw, 120px);
  background: var(--navy-900); color: #fff;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 68% center; }

/* La foto del hero viene limpia (sin panel quemado): el degradado es CSS */
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(96deg,
      rgba(0, 20, 40, .95) 0%, rgba(0, 20, 40, .9) 26%, rgba(0, 20, 40, .68) 42%,
      rgba(0, 20, 40, .22) 60%, rgba(0, 20, 40, 0) 76%),
    linear-gradient(180deg, rgba(0, 20, 40, .6) 0%, rgba(0, 20, 40, 0) 26%);
}

.hero__body { position: relative; margin-top: auto; padding-inline: var(--edge); max-width: calc(720px + var(--edge)); }
.hero__title { font-size: clamp(38px, 4.8vw, 66px); line-height: 1.08; letter-spacing: -.035em; }
.hero__title em { font-style: normal; color: var(--naranja); }
.hero__lead { margin-top: 20px; max-width: 46ch; color: rgba(255, 255, 255, .78); font-size: 15.5px; }

/* Buscador (representación visual) */
.buscador {
  position: relative; z-index: 4;
  margin: clamp(32px, 4vw, 48px) var(--edge) calc(clamp(90px, 10vw, 120px) * -1);
  padding: 10px; border-radius: var(--r-lg);
  background: var(--blanco); box-shadow: var(--sombra-alta);
}
.buscador__tabs { display: flex; gap: 4px; padding: 4px 4px 12px; }
.buscador__tab {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  font-family: var(--ff-head); font-size: 13px; font-weight: 600; color: var(--gris);
  transition: background-color .2s, color .2s;
}
.buscador__tab .icon { width: 16px; height: 16px; }
.buscador__tab:hover { color: var(--tinta); background: var(--fondo-alt); }
.buscador__tab.is-active { background: rgba(246, 108, 30, .12); color: var(--naranja-osc); }

.buscador__campos { display: flex; align-items: center; gap: 4px; }
.campo { flex: 1; min-width: 0; padding: 6px 18px; border-left: 1px solid var(--linea); }
.campo:first-child { border-left: 0; }
.campo label { display: block; font-family: var(--ff-head); font-size: 11.5px; font-weight: 600; color: var(--gris); text-transform: uppercase; letter-spacing: .05em; }
.campo__select { position: relative; display: flex; align-items: center; gap: 7px; margin-top: 2px; }
.campo__select .icon { width: 15px; height: 15px; color: var(--naranja); }
.campo__select select {
  width: 100%; min-width: 0; padding: 0; border: 0; background: none;
  font-family: var(--ff-head); font-size: 14px; font-weight: 600; color: var(--tinta);
  appearance: none; cursor: pointer; text-overflow: ellipsis;
}
.buscador__submit {
  display: grid; place-items: center; flex: none; width: 58px; height: 52px;
  border-radius: 999px; background: var(--naranja); color: #fff;
  transition: background-color .2s, transform .2s;
}
.buscador__submit:hover { background: var(--naranja-osc); transform: scale(1.05); }
.buscador__submit .icon { width: 22px; height: 22px; stroke-width: 2.2; }

/* ---------- 06 Destinos (S1) ---------- */
.destino { position: relative; display: block; border-radius: var(--r-md); overflow: hidden; }
.destino img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .45s; }
.destino:hover img { transform: scale(1.05); }
.destino::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0, 20, 40, 0) 42%, rgba(0, 20, 40, .82) 100%);
}
.destino__info {
  position: absolute; left: 16px; right: 60px; bottom: 14px; z-index: 2;
  display: flex; flex-direction: column; color: #fff;
}
.destino__info strong { font-family: var(--ff-head); font-size: 18px; font-weight: 700; line-height: 1.2; }
.destino__info small { font-size: 12px; color: rgba(255, 255, 255, .72); }
.destino__precio { margin-top: 6px; font-size: 12px; color: rgba(255, 255, 255, .72); }
.destino__precio b { font-family: var(--ff-head); font-size: 14px; color: #fff; }
.destino__ir {
  position: absolute; right: 14px; bottom: 14px; z-index: 2;
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--naranja); color: #fff; transition: transform .2s;
}
.destino:hover .destino__ir { transform: scale(1.1); }
.destino__ir .icon { width: 16px; height: 16px; }

/* ---------- 07 Bandas full-width ----------
   Grid de 2 filas en mobile/tablet (imagen › texto).
   En desktop (>=1200px) colapsan a una celda y el texto se apoya
   sobre la zona oscura de cada foto.                              */
.banda {
  display: grid; grid-template-areas: "media" "panel";
  color: #fff; background: var(--banda-bg);
}
.banda--nosotros { --banda-bg: var(--navy-s1); }
.banda--cta { --banda-bg: var(--navy-s2); }     /* océano del atolón, zona oscura a la izquierda */
.banda--banner { --banda-bg: var(--navy-s3); }  /* océano del flat-lay, zona oscura a la derecha */

.banda__media { grid-area: media; position: relative; display: block; }
.banda__media img { width: 100%; height: auto; }

.banda__panel { grid-area: panel; padding: clamp(32px, 5vw, 52px) var(--edge); }
.banda__title { font-size: clamp(26px, 2.6vw, 38px); }
.banda__text { margin: 16px 0 26px; max-width: 46ch; color: rgba(255, 255, 255, .78); font-size: 15px; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 30px; }
.features li { display: flex; flex-direction: column; align-items: center; gap: 9px; text-align: center; }
.features .icon { width: 26px; height: 26px; color: var(--naranja); }
.features span { font-family: var(--ff-head); font-size: 12.5px; font-weight: 600; line-height: 1.35; }

.lettering {
  font-family: var(--ff-script); font-weight: 700; line-height: 1.05;
  font-size: clamp(34px, 4.4vw, 56px); color: #fff;
  text-shadow: 0 2px 18px rgba(0, 20, 40, .55);
}
.lettering span { display: block; }
.lettering__dos { margin-left: 1.1em; }

/* Firma suelta sobre la foto (sólo en la CTA) */
.firma { grid-area: media; place-self: center end; z-index: 2; margin-right: 7%; }
.firma .lettering { font-size: clamp(30px, 3.4vw, 46px); }
.lettering__uno { position: relative; }
.firma__swash {
  position: absolute; left: 4%; right: -6%; bottom: -.16em; height: .22em;
  fill: none; stroke: var(--naranja); stroke-width: 2.4; stroke-linecap: round;
}
.firma__estela { display: block; width: clamp(110px, 11vw, 170px); margin: 6px 0 0 auto; }
.firma__linea { fill: none; stroke: rgba(255, 255, 255, .8); stroke-width: 1.7; stroke-linecap: round; stroke-dasharray: 1 6; }
.firma__avion { fill: #fff; }

/* ---------- 08 Paquetes (S2) ---------- */
.paquete {
  display: flex; flex-direction: column;
  background: var(--blanco); border: 1px solid var(--linea); border-radius: var(--r-md); overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.paquete:hover { transform: translateY(-5px); box-shadow: var(--sombra); }
.paquete__media { position: relative; }
.paquete__media img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.paquete__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.paquete__body h3 { font-size: 17.5px; }
.detalle { margin: 12px 0 16px; display: grid; gap: 7px; }
.detalle li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gris); }
.detalle .icon { width: 15px; height: 15px; color: var(--naranja); }
.paquete__pie {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: auto; padding-top: 15px; border-top: 1px solid var(--linea);
}
.precio { font-size: 12px; color: var(--gris); }
.precio b { display: block; font-family: var(--ff-head); font-size: 20px; font-weight: 700; color: var(--naranja); }

/* ---------- 09 Experiencias (S3) ---------- */
.experiencias { background: var(--fondo-alt); }
.experiencia__media { position: relative; display: block; border-radius: var(--r-md); overflow: hidden; }
.experiencia__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .45s; }
.experiencia:hover .experiencia__media img { transform: scale(1.05); }
.experiencia__icono {
  position: absolute; left: 12px; bottom: 12px;
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: rgba(255, 255, 255, .94); color: var(--navy-900);
}
.experiencia__icono .icon { width: 20px; height: 20px; }
.experiencia h3 { margin: 14px 0 4px; font-size: 16.5px; transition: color .2s; }
.experiencia:hover h3 { color: var(--naranja); }
.experiencia p { font-size: 13px; color: var(--gris); }

/* ---------- 10 Testimonios ---------- */
.resena { padding: 24px; background: var(--blanco); border: 1px solid var(--linea); border-radius: var(--r-md); }
.resena figcaption { display: flex; align-items: center; gap: 12px; }
.resena__quien { display: flex; flex-direction: column; line-height: 1.35; }
.resena__quien strong { font-family: var(--ff-head); font-size: 14.5px; font-weight: 600; }
.resena__quien small { font-size: 12px; color: var(--gris); }
.avatar {
  display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy-900); color: #fff;
  font-family: var(--ff-head); font-size: 15px; font-weight: 600; letter-spacing: .03em;
}
.estrellas { display: flex; gap: 2px; margin-top: 4px; color: var(--naranja); }
.estrellas .icon { width: 13px; height: 13px; }
.resena blockquote { margin-top: 16px; font-size: 14.5px; line-height: 1.7; color: var(--gris); }

/* ---------- 11 Blog (S4) ---------- */
.nota { display: flex; flex-direction: column; }
.nota__media { position: relative; display: block; border-radius: var(--r-md); overflow: hidden; }
.nota__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .45s; }
.nota__media:hover img { transform: scale(1.05); }
.fecha {
  position: absolute; top: 12px; left: 12px;
  padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .94);
  font-family: var(--ff-head); font-size: 11.5px; font-weight: 600; color: var(--navy-900);
}
.nota h3 { margin: 16px 0 14px; font-size: 16.5px; line-height: 1.42; }
.nota h3 a { transition: color .2s; }
.nota h3 a:hover { color: var(--naranja); }
.nota__pie { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }

/* ---------- 12 Footer ---------- */
.site-footer { background: var(--navy-900); color: #fff; padding-block: clamp(48px, 6vw, 72px) 26px; }
.site-footer__cols {
  display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1.4fr; gap: 36px 32px;
  padding-bottom: clamp(32px, 4vw, 46px);
}
.site-footer__marca p { margin: 16px 0 20px; color: rgba(255, 255, 255, .6); font-size: 14px; }
.site-footer h3 { margin-bottom: 18px; font-size: 15.5px; }
.site-footer__cols a { color: rgba(255, 255, 255, .64); font-size: 14px; transition: color .2s; }
.site-footer__cols a:hover { color: var(--naranja); }
.site-footer__cols nav li + li { margin-top: 10px; }

.redes { display: flex; gap: 10px; }
.redes a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; transition: background-color .2s; }
.redes a:hover { background: var(--naranja); }
.redes .icon { width: 17px; height: 17px; }

.contacto-lista li { display: flex; gap: 10px; color: rgba(255, 255, 255, .64); font-size: 14px; }
.contacto-lista li + li { margin-top: 10px; }
.contacto-lista .icon { width: 17px; height: 17px; margin-top: 4px; color: var(--naranja); }

.newsletter { margin-top: 24px; }
.newsletter label { display: block; margin-bottom: 10px; font-family: var(--ff-head); font-size: 13px; font-weight: 600; }
.newsletter__campo { display: flex; align-items: center; gap: 6px; padding: 5px 5px 5px 16px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid var(--linea-osc); }
.newsletter input { flex: 1; min-width: 0; border: 0; background: none; font-size: 13.5px; color: #fff; }
.newsletter input::placeholder { color: rgba(255, 255, 255, .45); }
.newsletter button { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--naranja); color: #fff; transition: background-color .2s; }
.newsletter button:hover { background: var(--naranja-osc); }
.newsletter .icon { width: 16px; height: 16px; }

.site-footer__pie {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
  padding-top: 24px; border-top: 1px solid var(--linea-osc);
  font-size: 12.5px; color: rgba(255, 255, 255, .5);
}
.site-footer__lema { letter-spacing: .08em; }

/* ============================================================
   13 RESPONSIVE
   ============================================================ */

/* --- Desktop: el texto de las bandas se apoya sobre la foto --- */
@media (min-width: 1200px) {
  .banda { grid-template-areas: "media"; }
  .banda__panel { grid-area: media; place-self: center start; z-index: 2; padding: 0 0 0 5.5%; width: 40%; }

  /* Sección 1 trae el panel quemado en la foto: no lleva oscurecido extra */

  /* La CTA lleva el atolón, con la zona oscura a la IZQUIERDA */
  .banda--cta .banda__media::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(94deg, rgba(1, 30, 58, .93) 0%, rgba(1, 30, 58, .8) 26%, rgba(1, 30, 58, .34) 46%, rgba(1, 30, 58, 0) 62%);
  }
  /* El banner lleva el flat-lay, con la zona oscura a la DERECHA */
  .banda--banner .banda__media::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(266deg, rgba(0, 39, 68, .92) 0%, rgba(0, 39, 68, .76) 24%, rgba(0, 39, 68, .3) 44%, rgba(0, 39, 68, 0) 60%);
  }
  /* El bloque va a la derecha, pero el texto adentro alinea a la izquierda
     (así está en la referencia). La foto trae la estela del avión abajo a
     la derecha: subo el bloque para no pisarla. */
  .banda--banner .banda__panel { place-self: center end; padding: 0 7% 0 0; transform: translateY(-6%); }

  .banda--nosotros .banda__panel { width: 38%; }
  .banda--nosotros .features { margin-top: 34px; }
}

/* --- Tablet --- */
@media (max-width: 1080px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .site-footer__cols { grid-template-columns: 1fr 1fr; }
  .site-footer__marca, .site-footer__contacto { grid-column: span 2; }
}
@media (max-width: 1080px) and (min-width: 768px) {
  .site-header { gap: 20px; }
  .nav { gap: 15px; }
  .nav__link { font-size: 13.5px; }
  .campo { padding-inline: 12px; }
}

/* --- Menú mobile --- */
@media (max-width: 960px) {
  .icon-btn--menu { display: grid; }
  .site-header__actions .btn--naranja { display: none; }
  .nav {
    position: absolute; top: calc(100% + 10px); left: var(--edge); right: var(--edge);
    flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    padding: 8px; border-radius: var(--r-md);
    background: rgba(0, 20, 40, .96); border: 1px solid var(--linea-osc); backdrop-filter: blur(14px);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .22s, transform .22s, visibility .22s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__link { padding: 13px 16px; border-radius: var(--r-sm); font-size: 15px; }
  .nav__link:hover { background: rgba(255, 255, 255, .07); }
  .nav__link.is-active::after { display: none; }
  .nav__link.is-active { background: rgba(246, 108, 30, .16); color: var(--naranja); }
  .icon-btn[aria-expanded="true"] .icon-open { display: none; }
  .icon-btn[aria-expanded="true"] .icon-close { display: block; }
}

/* --- Mobile --- */
@media (max-width: 767px) {
  :root { --gutter: 16px; }

  .hero { min-height: 640px; padding-bottom: 70px; }
  .hero__media img { object-position: center 40%; }
  .hero::before {
    background: linear-gradient(180deg,
      rgba(0, 20, 40, .8) 0%, rgba(0, 20, 40, .28) 26%,
      rgba(0, 20, 40, .7) 50%, rgba(0, 20, 40, .94) 72%, rgba(0, 20, 40, .97) 100%);
  }
  .hero__lead { font-size: 14.5px; }
  .buscador { margin: 28px var(--edge) -70px; border-radius: var(--r-md); }
  .buscador__tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
  .buscador__tab { justify-content: center; padding: 9px 4px; font-size: 12px; }
  .buscador__tab .icon { width: 14px; height: 14px; }
  .buscador__campos { flex-wrap: wrap; gap: 0; }
  .campo { flex: 1 1 100%; padding: 10px 14px; border-left: 0; border-top: 1px solid var(--linea); }
  .campo:first-child { border-top: 0; }
  .buscador__submit { width: 100%; height: 50px; border-radius: var(--r-sm); margin-top: 10px; }

  .section__head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .grid--3 { grid-template-columns: 1fr; }

  /* Destinos: carrusel horizontal con snap en vez de apilar 4 cards */
  .destinos__grid {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none;
  }
  .destinos__grid::-webkit-scrollbar { display: none; }
  .destino { flex: 0 0 64%; scroll-snap-align: start; }

  .banda__media img { aspect-ratio: 4 / 5; object-fit: cover; }
  .banda--nosotros .banda__media img { object-position: 64% center; }
  .features { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
  .banda--cta { grid-template-areas: "media" "firma" "panel"; }
  .firma { grid-area: firma; place-self: auto; margin: clamp(26px, 5vw, 34px) var(--edge) -6px; }
  .firma__estela { margin-left: 0; }
  .lettering__dos { margin-left: .8em; }

  .site-footer__cols { grid-template-columns: 1fr; gap: 30px; }
  .site-footer__marca, .site-footer__contacto { grid-column: auto; }
  .site-footer__pie { flex-direction: column; align-items: flex-start; }
}
