/* ==========================================================================
   VIAJES LAE · El escaparate
   ========================================================================== */

:root {
  /* Marca (muestreados del logo) */
  --navy: #004C6C;
  --navy-deep: #003951;
  --navy-ink: #022637;
  --sky: #009FE3;
  --sky-soft: #BFE7F8;
  --ink: #0B1216;

  /* Escaparate */
  --glass-1: #0D3A52;
  --glass-2: #082B3E;
  --wall: #F2F5F7;
  --wall-2: #E6EDF1;
  --paper: #FFE24A;
  --paper-edge: #F2CF1C;
  --marker: #0A3550;
  --stamp: #D93A2B;
  --white: #FFFFFF;

  --text: #10232D;
  --text-2: #41565F;
  --on-glass: #FFFFFF;
  --on-glass-2: #CFE6F2;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);

  --wrap: 1240px;
  --r-frame: 18px;
  --r-ui: 10px;

  --f-sans: 'Jost', 'Futura', 'Century Gothic', system-ui, sans-serif;
  --f-marker: 'Caveat Brush', 'Jost', cursive;

  --shadow-1: 0 1px 2px rgba(2, 38, 55, .08), 0 6px 18px rgba(2, 38, 55, .10);
  --shadow-2: 0 2px 4px rgba(2, 38, 55, .10), 0 18px 40px rgba(2, 38, 55, .22);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 140px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; overflow-x: clip;
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--wall);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--sky); color: #fff; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
html { -webkit-tap-highlight-color: transparent; }
a, button, .btn, .tab, .chip, .cat, summary { touch-action: manipulation; }
.btn, .tab, .chip { -webkit-user-select: none; user-select: none; }
p, li, .section__lead { text-wrap: pretty; }
.nav a.is-current { color: #fff; }
.nav a.is-current::after { transform: scaleX(1); }
html { scrollbar-color: var(--navy) var(--wall-2); }
::-webkit-scrollbar { width: 12px; height: 10px; }
::-webkit-scrollbar-track { background: var(--wall-2); }
::-webkit-scrollbar-thumb { background: var(--navy); border-radius: 10px; border: 3px solid var(--wall-2); }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.ic { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 0 22px;
  border: 0; border-radius: 999px;
  font-weight: 500; letter-spacing: .02em; text-decoration: none; cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, box-shadow 200ms ease, color 200ms ease;
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--navy); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, 0 6px 16px rgba(0, 76, 108, .28); }
.btn--wa { background: #fff; color: var(--navy); }
.btn--paper { background: var(--paper); color: var(--marker); }
.btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); }
.btn--ghost-dark { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: var(--navy-deep); }
  .btn--wa:hover { background: var(--sky-soft); }
  .btn--paper:hover { background: #FFEA7A; }
  .btn--ghost:hover { background: rgba(255,255,255,.1); }
  .btn--ghost-dark:hover { background: rgba(0,76,108,.08); }
}

/* ==========================================================================
   TOLDO
   ========================================================================== */
.awning { position: sticky; top: 0; z-index: 50; }
.awning__strip { background: var(--navy-ink); color: var(--on-glass-2); font-size: 13.5px; letter-spacing: .03em; }
.awning__strip-inner { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; }
.strip-item { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.awning__bar { background: var(--navy); color: #fff; }
.awning__inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.awning.is-compact .awning__inner { height: 60px; }
.awning.is-compact .awning__strip { display: none; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; flex: none; }
.brand__mark { width: 58px; height: auto; overflow: visible; }
.brand__word { font-weight: 400; font-size: 22px; letter-spacing: .14em; }
.brand:hover .brand__mark { animation: hop 520ms var(--ease-out); }
@keyframes hop { 0%,100% { transform: translateY(0); } 35% { transform: translateY(-5px) rotate(-3deg); } 65% { transform: translateY(1px) scaleY(.96); } }

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  position: relative; padding: 8px 12px; white-space: nowrap; text-decoration: none;
  font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.9);
}
.nav a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 1.5px; background: var(--sky);
  transform: scaleX(0); transform-origin: left; transition: transform 220ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .nav a:hover::after { transform: scaleX(1); } .nav a:hover { color: #fff; } }
.awning__cta { min-height: 42px; padding: 0 18px; font-size: 15px; flex: none; }

/* Faldón festoneado a rayas */
.awning__lip {
  height: 22px;
  background: repeating-linear-gradient(90deg, var(--navy) 0 28px, #fff 28px 56px);
  -webkit-mask: radial-gradient(14px 14px at 14px 8px, #000 98%, transparent) 0 0 / 28px 22px repeat-x, linear-gradient(#000 0 0) 0 0 / 100% 8px no-repeat;
          mask: radial-gradient(14px 14px at 14px 8px, #000 98%, transparent) 0 0 / 28px 22px repeat-x, linear-gradient(#000 0 0) 0 0 / 100% 8px no-repeat;
  filter: drop-shadow(0 4px 6px rgba(2,38,55,.18));
  transform-origin: top;
  transition: transform 260ms var(--ease-out);
}
.awning.is-compact .awning__lip { transform: scaleY(.7); }

.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; background: transparent; border-radius: 10px; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; transition: transform 220ms var(--ease-out); }
.nav-toggle span:first-child { top: 18px; } .nav-toggle span:last-child { top: 26px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mnav { background: var(--navy); padding: 8px 16px 18px; display: grid; }
.mnav[hidden] { display: none; }
.mnav a { color: #fff; text-decoration: none; padding: 13px 4px; border-bottom: 1px solid rgba(255,255,255,.14); letter-spacing: .08em; text-transform: uppercase; font-size: 15px; }

/* ==========================================================================
   ESCAPARATE
   ========================================================================== */
.shopfront { padding: 28px 0 56px; background: linear-gradient(var(--wall) 0 70%, var(--wall-2)); }
.window {
  position: relative;
  border-radius: var(--r-frame);
  background: linear-gradient(160deg, #2C5F78, var(--navy-deep) 40%, var(--navy-ink));
  padding: 12px;
  box-shadow: var(--shadow-2), inset 0 1px 0 rgba(255,255,255,.25);
}
.window__glass {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: 10px;
  min-height: clamp(520px, 64vh, 640px);
  background: radial-gradient(120% 90% at 85% 10%, #145273 0%, var(--glass-1) 45%, var(--glass-2) 100%);
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), inset 0 30px 60px rgba(0,0,0,.25);
}

/* Póster del fondo del escaparate */
.window__poster {
  position: absolute; z-index: -2; top: 8%; right: 4%; width: 46%; height: 64%;
  padding: 10px; background: #F8F6F0; border-radius: 4px;
  box-shadow: 0 20px 40px rgba(0,0,0,.35);
  transform: rotate(1.2deg);
}
.window__poster img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; filter: saturate(1.05) brightness(.92); }

/* Reflejo del cristal */
.window__shine {
  position: absolute; inset: -20% -10%; z-index: 3; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.10) 44%, rgba(255,255,255,.04) 47%, transparent 50%, transparent 58%, rgba(255,255,255,.06) 61%, transparent 63%);
  transform: translateX(-30%);
}
.window__glass::after { /* tinte del cristal sobre el póster */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(8,43,62,.05), rgba(8,43,62,.35));
}

.window__copy { position: relative; z-index: 2; padding: clamp(28px, 5vw, 64px); padding-right: 0; }
.vinyl { color: var(--on-glass); text-shadow: 0 1px 0 rgba(0,0,0,.18); }
.vinyl--small { margin: 0 0 18px; font-size: 14px; letter-spacing: .26em; text-transform: uppercase; color: var(--sky-soft); }
.vinyl--hero {
  margin: 0; font-weight: 300; text-transform: uppercase;
  font-size: clamp(40px, 5vw, 70px); line-height: .98; letter-spacing: .02em;
  text-wrap: balance;
}
.hero-word { display: block; }
.hero-word:last-child { color: var(--paper); font-weight: 400; }
.window__lead { margin: 22px 0 26px; max-width: 34ch; color: var(--on-glass-2); font-size: clamp(16px, 1.4vw, 19px); }

.rating-chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 12px;
  border-radius: 999px; background: rgba(255,255,255,.1); color: #fff; text-decoration: none; font-size: 15px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.2);
  transition: background-color 200ms ease;
}
.rating-chip:hover { background: rgba(255,255,255,.16); }
.rating-chip__stars { display: inline-flex; gap: 2px; }
.rating-chip__stars svg { width: 15px; height: 15px; fill: var(--paper); stroke: var(--paper); stroke-width: 1; }

/* Expositor con las maletas */
.display { position: relative; z-index: 1; height: 100%; display: grid; place-items: end center; padding: 0 6% 9%; }
.display__stage { width: min(100%, 440px); position: relative; }
.suitcases { width: 100%; height: auto; overflow: visible; display: block; filter: drop-shadow(0 14px 18px rgba(0,0,0,.35)); }
.display__plinth {
  height: 26px; margin: -4px -6% 0; border-radius: 6px 6px 4px 4px;
  background: linear-gradient(#F4F2EC, #D9D4C8);
  box-shadow: 0 16px 30px rgba(0,0,0,.45), inset 0 -3px 0 rgba(0,0,0,.08);
}
.ink { stroke: var(--ink); stroke-width: 3.6; stroke-linecap: round; stroke-linejoin: round; }
.ink.thin { stroke-width: 2.4; }
.stitch { stroke-dasharray: 0.1 9; stroke-width: 3; fill: none; }
path.ink:not([fill]) { fill: none; }
.case, .latch, .handle { transform-box: fill-box; }
.case { transform-origin: 50% 100%; }
.handle { transform-origin: 50% 0%; }
.latch { transform-origin: 50% 0%; }

/* Carteles pegados al cristal */
.window__tags { position: absolute; z-index: 4; inset: 0; pointer-events: none; }
.tag {
  position: absolute; pointer-events: auto; width: 168px; padding: 16px 14px 14px;
  background: var(--paper); color: var(--marker); text-decoration: none; text-align: center;
  border-radius: 3px; box-shadow: 0 10px 22px rgba(0,0,0,.35);
  transform: rotate(var(--rot, -4deg)); transform-origin: 50% 0;
  transition: transform 420ms var(--ease-spring), box-shadow 300ms ease;
}
.tag::before { /* cinta adhesiva */
  content: ""; position: absolute; top: -10px; left: 50%; width: 70px; height: 22px; margin-left: -35px;
  background: rgba(255,255,255,.55); transform: rotate(-3deg);
  box-shadow: 0 1px 2px rgba(0,0,0,.08);
}
.tag__dest { display: block; font-family: var(--f-marker); font-size: 28px; line-height: 1; }
.tag__desde { display: block; margin-top: 6px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.tag__price { display: block; font-family: var(--f-marker); font-size: 46px; line-height: .95; color: var(--stamp); }
.tag__when { display: block; margin-top: 6px; font-size: 13px; line-height: 1.3; }
@media (hover: hover) and (pointer: fine) {
  .tag:hover { transform: rotate(0deg) translateY(-3px); box-shadow: 0 16px 30px rgba(0,0,0,.4); }
}
.tag--1 { top: 5%; right: 27%; --rot: -5deg; }
.tag--2 { top: 15%; right: 3.5%; --rot: 4deg; }

/* ==========================================================================
   MOSTRADOR (buscador)
   ========================================================================== */
.counter {
  position: relative; z-index: 5;
  margin: 12px 0 0;
  background: #fff; color: var(--text);
  border-radius: 12px;
  box-shadow: 0 -1px 0 rgba(255,255,255,.4) inset, var(--shadow-1);
}
.counter__tabs {
  display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none;
  background: var(--wall-2); border-radius: 12px 12px 0 0; padding: 6px 6px 0;
}
.counter__tabs::-webkit-scrollbar { display: none; }
.tab {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  padding: 12px 16px 14px; border: 0; background: transparent; cursor: pointer;
  border-radius: 9px 9px 0 0; font-size: 15px; color: var(--text-2); white-space: nowrap;
  transition: background-color 200ms ease, color 200ms ease;
}
.tab .ic { width: 20px; height: 20px; }
.tab[aria-selected="true"] { background: #fff; color: var(--navy); font-weight: 500; }
@media (hover: hover) and (pointer: fine) { .tab:not([aria-selected="true"]):hover { color: var(--navy); background: rgba(255,255,255,.5); } }

.counter__desk { display: flex; gap: 12px; padding: 16px; align-items: stretch; }
.counter__fields { flex: 1; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; }
.counter__submit { flex: none; min-height: 64px; border-radius: 10px; padding: 0 26px; font-size: 17px; }

.field {
  position: relative; display: flex; flex-direction: column; justify-content: center;
  min-height: 64px; padding: 8px 14px; border-radius: 10px;
  background: var(--wall); box-shadow: inset 0 0 0 1px var(--wall-2);
  transition: box-shadow 200ms ease, background-color 200ms ease;
}
.field:focus-within { background: #fff; box-shadow: inset 0 0 0 2px var(--sky); }
.field.is-invalid { box-shadow: inset 0 0 0 2px var(--stamp); }
.field__label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.field input, .field select, .field .pax-btn {
  width: 100%; border: 0; background: transparent; padding: 2px 0 0; font-size: 16.5px; color: var(--text);
  outline: none; min-width: 0; appearance: none; -webkit-appearance: none;
}
.field input::placeholder { color: #56686F; }
.field select { cursor: pointer; padding-right: 22px; }
.field--select::after {
  content: ""; position: absolute; right: 14px; bottom: 19px; width: 8px; height: 8px;
  border-right: 1.75px solid var(--text-2); border-bottom: 1.75px solid var(--text-2); transform: rotate(45deg);
  pointer-events: none;
}
.field input[type="date"], .field input[type="month"] { cursor: pointer; }
.field input[type="date"]::-webkit-calendar-picker-indicator, .field input[type="month"]::-webkit-calendar-picker-indicator { opacity: .55; cursor: pointer; }
.field--dates { grid-column: span 2; flex-direction: row; gap: 10px; align-items: stretch; }
.field--dates > div { flex: 1; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.field--dates > div + div { padding-left: 10px; border-left: 1px solid var(--wall-2); }

.pax-btn { text-align: left; cursor: pointer; }
.pax-pop {
  position: absolute; z-index: 20; top: calc(100% + 8px); right: 0; width: 290px;
  background: #fff; border-radius: 12px; padding: 14px 16px;
  box-shadow: var(--shadow-2);
  transform-origin: top right;
  transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out);
}
.pax-pop[hidden] { display: block; opacity: 0; transform: scale(.96); pointer-events: none; visibility: hidden; }
.pax-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; }
.pax-row + .pax-row { border-top: 1px solid var(--wall-2); }
.pax-row small { display: block; color: var(--text-2); font-size: 13px; }
.stepper { display: inline-flex; align-items: center; gap: 10px; }
.stepper button {
  width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--wall); color: var(--navy); display: grid; place-items: center;
  transition: background-color 160ms ease, transform 160ms var(--ease-out);
}
.stepper button:active { transform: scale(.94); }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.stepper output { min-width: 18px; text-align: center; font-weight: 500; font-variant-numeric: tabular-nums; }
.pax-done { margin-top: 8px; width: 100%; min-height: 40px; }

.counter__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 16px 14px; flex-wrap: wrap; }
.nameplate { margin: 0; display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text-2); }
.nameplate b { color: var(--navy); font-weight: 500; }
.nameplate__dot { width: 8px; height: 8px; border-radius: 50%; background: #2BB673; box-shadow: 0 0 0 3px rgba(43,182,115,.18); }
.counter__hint { margin: 0; font-size: 14px; color: var(--text-2); }
.counter__error { margin: 0; padding: 0 16px 14px; color: var(--stamp); font-size: 15px; }

/* ==========================================================================
   SECCIONES
   ========================================================================== */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--wall { background: var(--wall-2); }
.section--glass { overflow-x: clip; background: radial-gradient(100% 80% at 80% 0%, #124B69, var(--glass-1) 50%, var(--glass-2)); color: var(--on-glass); }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; margin-bottom: 40px; }
.h2 { margin: 0; font-weight: 300; text-transform: uppercase; letter-spacing: .04em; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.04; color: var(--navy); text-wrap: balance; }
.section--glass .h2 { color: #fff; }
.section__lead { margin: 0; max-width: 52ch; color: var(--text-2); }
.section__head--light .section__lead, .section--glass .section__lead { color: var(--on-glass-2); }

/* ---------- Elige tu viaje ---------- */
.cats { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; grid-template-rows: repeat(2, minmax(240px, 1fr)) minmax(260px, auto); gap: 14px; }
.cat--wide { grid-column: 1 / -1; padding: 32px 36px; }
.cat--wide .cat__label { font-size: clamp(30px, 3.6vw, 52px); }
.cat--wide::after { background: linear-gradient(90deg, rgba(2,38,55,.85) 0%, rgba(2,38,55,.35) 55%, rgba(2,38,55,0) 100%); }
.cat__flag { align-self: flex-start; margin-bottom: 12px; padding: 4px 10px; border-radius: 4px; background: var(--paper); color: var(--marker); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.cat {
  position: relative; overflow: hidden; border: 0; padding: 0; cursor: pointer; text-align: left;
  border-radius: 12px; color: #fff; background: var(--navy-deep); isolation: isolate; text-decoration: none;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 22px;
  box-shadow: var(--shadow-1);
}
.cat--xl { grid-row: span 2; }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 700ms var(--ease-out); }
.cat::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(2,38,55,0) 35%, rgba(2,38,55,.82)); }
.cat__label { font-size: clamp(22px, 2vw, 30px); font-weight: 400; text-transform: uppercase; letter-spacing: .06em; line-height: 1.05; }
.cat--xl .cat__label { font-size: clamp(30px, 3vw, 44px); }
.cat__sub { margin-top: 6px; color: #DCEFF8; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; }
.cat__sub::after { content: ""; width: 18px; height: 1.5px; background: currentColor; transition: width 260ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .cat:hover img { transform: scale(1.05); }
  .cat:hover .cat__sub::after { width: 30px; }
}
.cat:active { transform: scale(.99); }

/* ---------- Carteles de oferta ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0 36px; }
.chip {
  min-height: 40px; padding: 0 16px; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.28);
  letter-spacing: .04em; font-size: 15px;
  transition: background-color 200ms ease, color 200ms ease, transform 160ms var(--ease-out);
}
.chip:active { transform: scale(.97); }
.chip.is-on { background: #fff; color: var(--navy); }
@media (hover: hover) and (pointer: fine) { .chip:not(.is-on):hover { background: rgba(255,255,255,.16); } }

.posters { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr)); gap: 40px 28px; align-items: stretch; }
.poster {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); color: var(--marker);
  border-radius: 3px; padding: 18px 18px 20px;
  box-shadow: 0 3px 6px rgba(0,0,0,.18), 0 22px 40px rgba(0,0,0,.28);
  transform: rotate(var(--rot, 0deg)); transform-origin: 50% 0;
  transition: transform 460ms var(--ease-spring), box-shadow 300ms ease, opacity 260ms ease;
  background-image: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,0) 30%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.4 0 0 0 0 0 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}
.poster::before, .poster::after { /* cinta */
  content: ""; position: absolute; top: -11px; width: 64px; height: 24px; background: rgba(255,255,255,.6);
  box-shadow: 0 1px 2px rgba(0,0,0,.1);
}
.poster::before { left: 14px; transform: rotate(-8deg); }
.poster::after { right: 14px; transform: rotate(7deg); }
@media (hover: hover) and (pointer: fine) {
  .poster:hover { transform: rotate(0deg) translateY(-4px); box-shadow: 0 4px 8px rgba(0,0,0,.18), 0 30px 54px rgba(0,0,0,.34); }
}
.poster.is-hidden { display: none; }
.poster__stamp {
  position: absolute; top: 14px; right: 12px; z-index: 2;
  padding: 3px 10px; border: 2px solid var(--stamp); color: var(--stamp); border-radius: 4px;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  transform: rotate(6deg); background: rgba(255,226,74,.85);
}
.poster__photo { position: relative; margin: 0 0 14px; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 2px; background: var(--paper-edge); box-shadow: 0 0 0 4px #fff; }
.poster__photo img { width: 100%; height: 100%; object-fit: cover; }
.poster__dest { margin: 0; font-family: var(--f-marker); font-weight: 400; font-size: 44px; line-height: .95; color: var(--marker); }
.poster__sub { margin: 4px 0 12px; font-size: 16px; font-weight: 500; }
.poster__meta { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 4px; font-size: 15px; }
.poster__meta li { display: flex; gap: 8px; align-items: flex-start; }
.poster__meta .ic { margin-top: 3px; }
.poster__inc { list-style: none; margin: 0 0 14px; padding: 10px 0 0; border-top: 1.5px dashed rgba(10,53,80,.35); display: grid; gap: 4px; font-size: 15px; line-height: 1.4; }
.poster__inc li { display: flex; gap: 8px; }
.poster__inc .ic { width: 16px; height: 16px; margin-top: 3px; color: var(--navy); }
.poster__inc li.is-extra { display: none; }
.poster.is-open .poster__inc li.is-extra { display: flex; }
.poster__exc { margin-top: 6px; padding-top: 8px; border-top: 1px solid rgba(10,53,80,.2); font-size: 14px; }
.poster__exc b { font-weight: 600; }
.poster__more { align-self: flex-start; margin: -6px 0 14px; padding: 4px 0; border: 0; background: none; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 14.5px; }
.poster { min-width: 0; }
.poster__bottom { flex-wrap: wrap; margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.poster__price { line-height: 1; }
.poster__price small { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 2px; }
.poster__price b { white-space: nowrap; font-family: var(--f-marker); font-weight: 400; font-size: 58px; color: var(--stamp); letter-spacing: -.01em; }
.poster__price b.is-text { font-size: 30px; color: var(--marker); }
.poster__price span { display: block; font-size: 13px; margin-top: 4px; }
.poster .btn { min-height: 46px; padding: 0 18px; flex: none; }
.posters__empty { color: var(--on-glass-2); }
.posters__legal { margin: 40px 0 0; font-size: 13.5px; color: var(--on-glass-2); }

/* ---------- Financiación ---------- */
.finance { background: var(--navy); color: #fff; padding: clamp(48px, 7vw, 80px) 0; overflow: hidden; }
.finance__inner { display: grid; grid-template-columns: 1.1fr 1.2fr auto; gap: 32px 48px; align-items: center; }
.finance__title { margin: 0 0 12px; font-weight: 300; text-transform: uppercase; letter-spacing: .03em; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.02; }
.finance__text { margin: 0; color: #CFE6F2; max-width: 44ch; }
.finance__small { margin: 10px 0 0; font-size: 13.5px; color: #9CC3D6; }
.finance__months { display: flex; gap: 10px; }
.month {
  flex: 1; display: grid; place-items: center; aspect-ratio: 1; min-width: 0;
  border-radius: 50%; border: 1.5px solid rgba(255,255,255,.45); text-transform: uppercase; font-size: 12px; letter-spacing: .14em; color: #CFE6F2;
  transition: background-color 300ms ease, color 300ms ease, border-color 300ms ease;
  padding-top: 6px;
}
.month b { display: block; font-family: var(--f-marker); font-weight: 400; font-size: clamp(34px, 3.6vw, 50px); line-height: .8; color: #fff; letter-spacing: 0; }
.month.is-lit { background: var(--paper); border-color: var(--paper); color: var(--marker); }
.month.is-lit b { color: var(--stamp); }

/* ---------- Equipo: placas ---------- */
.plates { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plate {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  background: var(--navy); color: #fff; border-radius: 12px; padding: 22px 20px 20px;
  box-shadow: var(--shadow-1);
}
.plate__name {
  margin: 0; padding: 10px 12px; background: #fff; color: var(--navy); border-radius: 6px;
  font-weight: 500; letter-spacing: .1em; text-transform: uppercase; font-size: 16px; text-align: center;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.08), 0 2px 0 rgba(0,0,0,.18);
}
.plate__role { margin: 0; color: #CFE6F2; font-size: 15.5px; text-align: center; }
.plate__actions { display: grid; gap: 8px; margin-top: auto; }
.plate .btn { min-height: 44px; font-size: 15px; }
.plate__tel { text-align: center; font-size: 14.5px; color: #CFE6F2; text-decoration: none; font-variant-numeric: tabular-nums; }
.plate__tel:hover { color: #fff; text-decoration: underline; }

/* ---------- Grupos ---------- */
.groups { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.groups .h2 { margin-bottom: 18px; }
.stages { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 0; }
.stages li { padding: 16px 0; border-top: 1px solid rgba(0,76,108,.18); display: grid; grid-template-columns: 200px 1fr; gap: 16px; }
.stages strong { font-weight: 500; color: var(--navy); }
.stages span { color: var(--text-2); }
.notice {
  position: relative; background: #fff; border-radius: 4px; padding: 34px 32px 30px;
  box-shadow: 0 2px 4px rgba(2,38,55,.06), 0 24px 50px rgba(2,38,55,.14);
  transform: rotate(.6deg);
}
.tape { position: absolute; top: -12px; width: 80px; height: 26px; background: rgba(191,231,248,.85); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.tape--l { left: 24px; transform: rotate(-6deg); }
.tape--r { right: 24px; transform: rotate(5deg); }
.notice__title { margin: 0 0 18px; font-weight: 500; font-size: 22px; color: var(--navy); }
.steps { margin: 0 0 22px; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; padding-left: 52px; color: var(--text-2); }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; background: var(--paper); color: var(--marker); font-family: var(--f-marker); font-size: 22px;
}
.steps b { display: block; color: var(--text); font-weight: 500; }
.faq { border-top: 1px solid var(--wall-2); margin-bottom: 22px; }
.faq details { border-bottom: 1px solid var(--wall-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform 220ms var(--ease-out); color: var(--navy); }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq p { margin: 0 0 14px; color: var(--text-2); }
.notice__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.notice__mail { color: var(--text-2); font-size: 15px; }

/* ---------- Opiniones ---------- */
.reviews { overflow: hidden; }
.reviews__head { margin-bottom: 44px; }
.score .h2 { margin-bottom: 26px; max-width: 18ch; }
.score { display: grid; grid-template-columns: 1fr; }
.score__row { display: flex; align-items: center; gap: 22px; }
.score__num { margin: 0; font-size: clamp(72px, 9vw, 112px); line-height: .9; font-weight: 300; font-variant-numeric: tabular-nums; }
.score__num small { font-size: .3em; color: var(--on-glass-2); margin-left: 4px; }
.score__stars { display: flex; gap: 4px; }
.score__stars svg { width: 26px; height: 26px; fill: var(--paper); stroke: var(--paper); stroke-width: 1; }
.score__stars svg.half { fill: url(#halfStar); }
.score__total { margin: 6px 0 0; color: var(--on-glass-2); }
.bars { display: grid; gap: 6px; margin: 26px 0 26px; max-width: 460px; }
.bar { display: grid; grid-template-columns: 22px 1fr 34px; gap: 10px; align-items: center; font-size: 14px; color: var(--on-glass-2); font-variant-numeric: tabular-nums; }
.bar__track { height: 8px; border-radius: 8px; background: rgba(255,255,255,.12); overflow: hidden; }
.bar__fill { height: 100%; width: 100%; border-radius: 8px; background: var(--paper); transform-origin: left; transform: scaleX(var(--v, 0)); transition: transform 1100ms var(--ease-out); }
.bars:not(.is-in) .bar__fill { transform: scaleX(0); }
.score__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.score__note { margin: 14px 0 0; font-size: 13.5px; color: #9CC3D6; }
.reviews__head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; }
.reviews__side .bars { margin-top: 0; }

.marquee { display: grid; gap: 22px; padding: 14px 0 6px; -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__row { overflow: hidden; }
.marquee__track { display: flex; gap: 22px; width: max-content; padding: 14px 11px; animation: drift var(--dur, 90s) linear infinite; }
.marquee__row[data-dir="right"] .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.note {
  position: relative; width: 360px; flex: none; margin: 0;
  background: #fff; color: var(--text); border-radius: 4px; padding: 22px 22px 18px;
  box-shadow: 0 2px 4px rgba(0,0,0,.12), 0 14px 30px rgba(0,0,0,.25);
  transform: rotate(var(--rot, 0deg));
}
.note::before { content: ""; position: absolute; top: -10px; left: 50%; width: 60px; height: 20px; margin-left: -30px; background: rgba(191,231,248,.85); transform: rotate(-3deg); }
.note__stars { display: flex; gap: 2px; margin-bottom: 10px; }
.note__stars svg { width: 16px; height: 16px; fill: #F5B400; stroke: #F5B400; stroke-width: 1; }
.note__stars svg.off { fill: #D8DEE2; stroke: #D8DEE2; }
.note blockquote { margin: 0 0 14px; font-size: 15.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.note figcaption { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-2); }
.note__avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 500; font-size: 14px; text-transform: uppercase; flex: none; }
.note__avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.note__who b { display: block; color: var(--text); font-weight: 500; text-transform: capitalize; }
.note__g { margin-left: auto; width: 18px; height: 18px; fill: none; stroke: #56686F; stroke-width: 1.5; }

/* ---------- Contacto ---------- */
.door { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; border-radius: var(--r-frame); overflow: hidden; background: var(--navy); padding: 12px; box-shadow: var(--shadow-2); }
.door__map { min-height: 460px; border-radius: 10px 0 0 10px; overflow: hidden; background: var(--wall-2); }
.door__map iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.85); }
.door__plaque { background: #fff; border-radius: 0 10px 10px 0; padding: clamp(28px, 4vw, 48px); }
.door__plaque .h2 { margin-bottom: 22px; }
.contact-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 12px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .ic { margin-top: 4px; color: var(--navy); }
.contact-list a { color: var(--text); }
.quick label { display: block; font-weight: 500; margin-bottom: 8px; }
.quick textarea {
  width: 100%; border: 0; border-radius: 10px; padding: 14px; resize: vertical; min-height: 104px;
  background: var(--wall); box-shadow: inset 0 0 0 1px var(--wall-2); outline: none; font-size: 16px;
}
.quick textarea:focus { background: #fff; box-shadow: inset 0 0 0 2px var(--sky); }
.quick textarea::placeholder { color: #56686F; }
.quick__error { color: var(--stamp); margin: 8px 0 0; font-size: 15px; }
.quick__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }

/* ---------- Pie ---------- */
.footer { position: relative; background: var(--navy-ink); color: #CFE6F2; padding: 0 0 28px; margin-top: 40px; }
.footer__lip {
  height: 22px; transform: translateY(-21px);
  background: repeating-linear-gradient(90deg, var(--navy-ink) 0 28px, var(--navy) 28px 56px);
  -webkit-mask: radial-gradient(14px 14px at 14px 14px, #000 98%, transparent) 0 0 / 28px 22px repeat-x;
          mask: radial-gradient(14px 14px at 14px 14px, #000 98%, transparent) 0 0 / 28px 22px repeat-x;
  position: absolute; left: 0; right: 0; top: 0;
}
.footer__quick { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 0; padding: 30px 0 24px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer__quick a { padding: 2px 16px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: #fff; }
.footer__quick a + a { border-left: 1px solid rgba(255,255,255,.3); }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px; padding: 40px 0 32px; }
.footer__brand img { width: 120px; height: 120px; border-radius: 12px; }
.footer__social { display: flex; gap: 8px; margin-top: 16px; }
.footer__social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); transition: background-color 200ms ease; }
.footer__social a:hover { background: rgba(255,255,255,.1); }
.footer__h { margin: 0 0 12px; color: #fff; font-weight: 500; font-size: 16px; letter-spacing: .06em; text-transform: uppercase; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.footer ul a { text-decoration: none; }
.footer ul a:hover { color: #fff; text-decoration: underline; }
.footer__legal { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13.5px; color: #9CC3D6; }
.footer__links { display: flex; gap: 18px; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: calc(18px + env(safe-area-inset-right)); bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 60; width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
  transition: transform 200ms var(--ease-out);
}
.wa-float svg { width: 32px; height: 32px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.wa-float:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .wa-float:hover { transform: translateY(-2px); } }

/* ---------- Entradas al hacer scroll ---------- */
.js .reveal:not(.is-in) { opacity: 0; translate: 0 16px; }
.js .reveal.is-in { opacity: 1; translate: 0 0; transition: opacity 600ms var(--ease-out) var(--d, 0ms), translate 700ms var(--ease-out) var(--d, 0ms), transform 460ms var(--ease-spring), box-shadow 300ms ease; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .nav a { padding: 8px 8px; font-size: 14px; letter-spacing: .06em; }
  .awning__cta span { display: none; }
  .awning__cta { width: 44px; padding: 0; }
  .counter__desk { flex-direction: column; }
  .counter__fields { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .counter__fields > .field:first-child, .counter__fields > .field--dates { grid-column: 1 / -1; }
  .counter__submit { width: 100%; }
  .finance__inner { grid-template-columns: 1fr 1fr; }
  .finance__inner .btn { grid-column: 1 / -1; justify-self: start; }
  .plates { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav, .awning__cta { display: none; }
  .nav-toggle { display: block; }
  .window__glass { grid-template-columns: 1fr; min-height: 0; }
  .window__copy { padding: 34px 24px 8px; }
  .window__poster { top: auto; bottom: 4%; right: 6%; width: 64%; height: 38%; }
  .display { padding: 18px 10% 40px; height: auto; }
  .display__stage { width: min(78%, 340px); }
  .window__tags { position: relative; inset: auto; display: flex; gap: 14px; justify-content: center; padding: 6px 16px 26px; order: 3; }
  .tag { position: relative; top: auto; right: auto; width: 46%; max-width: 190px; }
  .cats { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: minmax(190px, auto); }
  .cat--xl, .cat--wide { grid-column: 1 / -1; grid-row: auto; min-height: 260px; }
  .cat--wide { padding: 20px; }
  .groups { grid-template-columns: 1fr; gap: 40px; }
  .reviews__head { grid-template-columns: 1fr; }
  .cat__label { font-size: 21px; }
  .door { grid-template-columns: 1fr; }
  .door__map { min-height: 300px; border-radius: 10px 10px 0 0; }
  .door__plaque { border-radius: 0 0 10px 10px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .awning__strip-inner { justify-content: space-between; font-size: 12.5px; }
  .strip-hide-sm { display: none; }
  .brand__mark { width: 48px; }
  .brand__word { font-size: 19px; }
  .shopfront { padding-top: 16px; }
  .window { padding: 8px; }
  .field--dates { flex-direction: row; }
  .counter__fields { grid-template-columns: 1fr; }
  .counter__foot { flex-direction: column; align-items: flex-start; gap: 6px; }
  .pax-pop { left: 0; right: 0; width: auto; }
  .finance__inner { grid-template-columns: 1fr; }
  .finance__months { max-width: 360px; }
  .plates { grid-template-columns: 1fr; }
  .stages li { grid-template-columns: 1fr; gap: 4px; }
  .notice { padding: 30px 20px 24px; transform: none; }
  .note { width: 290px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__quick a { padding: 2px 10px; }
  .poster__price b { font-size: 50px; }
  .cats { gap: 10px; }
  .cat { padding: 16px; }
  .cat__sub { font-size: 14px; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  .marquee { -webkit-mask: none; mask: none; }
  .marquee__row { overflow-x: auto; }
  .marquee__track { animation: none !important; }
  .marquee__track .note[aria-hidden="true"] { display: none; }
  .tag, .poster { transition: none; }
}
