/* Aurora Retiros · lista de espera (/lista-espera). Paso 1 del recorrido, todo en una pantalla.
   Papel cálido rosado, tarjetas claras, turquesa profundo para acción y selección, menta para resaltar,
   acentos manuscritos (Caveat). Títulos Outfit, texto Instrument Sans. */
:root {
  --paper: #f6ebe4;
  --paper-2: #f3e4dc;
  --card: #fbf6f2;
  --field: #fffdfb;
  --ink: #1d2027;
  --dim: #4f5461;
  --mute: #767a86;
  --line: #e8ddd6;
  --line-2: #d8ccc4;
  --teal: #1f7f78;
  --teal-2: #2b9a91;
  --teal-ink: #19665f;
  --mint: #d5eee8;
  --mint-2: #b9e2d9;
  --gold: #f0c35a;
  --req: #c8412f;
  --display: "Outfit", "Instrument Sans", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, sans-serif;
  --script: "Caveat", "Segoe Script", cursive;
  --r: 18px;
  --shadow: 0 1px 2px rgb(60 40 30 / .05), 0 12px 32px rgb(60 40 30 / .07);
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--paper); }
body { margin: 0; min-height: 100svh; color: var(--ink); font: 400 15px/1.5 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip;
  background: radial-gradient(70% 50% at 50% 0, #fbf3ee, transparent), radial-gradient(60% 40% at 100% 100%, color-mix(in srgb, var(--mint) 55%, transparent), transparent), var(--paper); }
h1, h2, p { margin: 0; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.ic { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.le-page { width: min(860px, 100% - 28px); margin: 0 auto; padding: max(22px, env(safe-area-inset-top, 0px)) 0 calc(40px + env(safe-area-inset-bottom, 0px)); }

/* Marca */
.le-brand { display: grid; justify-items: center; gap: 4px; }
.le-logo { display: flex; align-items: center; gap: 8px; }
.le-logo img { width: 54px; height: auto; }
.le-logo span { font: 600 22px/1 var(--display); letter-spacing: .32em; text-transform: uppercase; }
.le-tagline { display: flex; align-items: center; gap: 12px; color: var(--dim); font-style: italic; font-size: 12.5px; }
.le-tagline::before, .le-tagline::after { content: ""; width: 22px; height: 1.5px; background: var(--teal-2); }

/* Título con trazo de pincel bajo la palabra marcada */
.le-title { margin: 18px auto 8px; text-align: center; font: 700 clamp(26px, 4.4vw, 36px)/1.12 var(--display); letter-spacing: -.01em; text-wrap: balance; }
.le-mark { position: relative; white-space: nowrap; }
.le-mark::after { content: ""; position: absolute; left: 2%; right: 4%; bottom: -.16em; height: .16em; border-radius: 50%;
  background: var(--teal-2); transform: rotate(-1.2deg); opacity: .9; }
.le-lead { max-width: 640px; margin: 0 auto 18px; text-align: center; color: var(--dim); font-style: italic; font-size: 14px; text-wrap: balance; }

/* Tarjetas */
.le-card { background: var(--card); border: 1px solid rgb(255 255 255 / .8); border-radius: var(--r); box-shadow: var(--shadow); padding: 16px 20px 18px; margin-bottom: 12px; }
.le-card-h { display: flex; align-items: center; gap: 12px; font: 600 20px/1.2 var(--display); }
.le-card-h .ic { width: 28px; height: 28px; stroke-width: 1.5; }
.le-sub { margin: 2px 0 0 40px; color: var(--dim); font-style: italic; font-size: 13px; }

/* Datos básicos: etiqueta a la izquierda, campo a la derecha */
.le-rows { margin: 12px 0 0 0; padding: 4px 16px 10px; border: 1px solid var(--line); border-radius: 14px; background: rgb(255 255 255 / .35); }
.le-row { display: grid; grid-template-columns: 220px 1fr; align-items: center; gap: 4px 16px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.le-row:last-child { border-bottom: 0; }
.le-lab { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 14.5px; }
.le-lab .ic { width: 20px; height: 20px; }
.le-lab i { color: var(--req); font-style: normal; margin-left: -10px; }
.le input:not([type]), .le input[type=email], .le input[type=tel], .le-cc { height: 40px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--field); }
.le input:not([type]), .le input[type=email], .le input[type=tel] { width: 100%; padding: 0 14px; font-size: 14.5px; transition: border-color .15s, box-shadow .15s; }
.le input::placeholder { color: #9a9ca4; }
.le input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 16%, transparent); }
.le [aria-invalid=true] { border-color: var(--req) !important; box-shadow: 0 0 0 3px color-mix(in srgb, var(--req) 14%, transparent) !important; }
.le-phone { display: grid; grid-template-columns: 112px 1fr; gap: 12px; }
.le-cc { position: relative; transition: border-color .15s, box-shadow .15s; }
.le-cc:focus-within { border-color: var(--teal); box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 16%, transparent); }
.le-cc-val { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 14.5px; }
.le-flag { width: 22px; height: 16px; flex: none; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink, #000) 12%, transparent); }
.le-chev { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.le-cc-btn { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 100%; padding: 0 10px 0 12px; border: 0; border-radius: inherit; background: none; cursor: pointer; }
.le-cc-btn:focus { outline: none; }
.le-cc-list { position: absolute; z-index: 20; top: calc(100% + 6px); left: -1px; width: 260px; max-height: 296px; margin: 0; padding: 6px; overflow-y: auto; list-style: none;
  border: 1px solid var(--line-2); border-radius: 12px; background: var(--field); box-shadow: var(--shadow); outline: none; overscroll-behavior: contain; }
.le-cc-list li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; cursor: pointer; font-size: 14.5px; }
.le-cc-list li.active { background: color-mix(in srgb, var(--mint) 60%, transparent); }
.le-cc-list li[aria-selected=true] { color: var(--teal-ink); font-weight: 600; }
.le-cc-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.le-cc-code { color: var(--mute); font-variant-numeric: tabular-nums; }
.le-hint { grid-column: 2; display: flex; align-items: center; gap: 6px; color: var(--dim); font-style: italic; font-size: 12px; }
.le-hint .ic { width: 14px; height: 14px; }

/* Temporada */
.le-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.le-script { font: 600 21px/1.1 var(--script); color: var(--ink); }
.le-badge { padding: 4px 16px 6px; white-space: nowrap; transform: rotate(-2deg); border-radius: 40% 55% 45% 60% / 60% 45% 55% 40%;
  background: linear-gradient(100deg, transparent 0, var(--mint-2) 6%, var(--mint) 92%, transparent 100%); }
.le-timeline { margin: 10px 4px 12px; }
.le-year { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; font: 700 20px/1 var(--display); }
.le-year::before, .le-year::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.le-months, .le-track { display: grid; grid-template-columns: repeat(12, 1fr); }
.le-months span { text-align: center; font-size: 11.5px; font-weight: 500; letter-spacing: .04em; color: var(--dim); }
.le-track { position: relative; margin-top: 6px; height: 22px; align-items: center; }
.le-track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 12px; translate: 0 -50%; border-radius: 99px; background: #e4e0dd; }
.le-pill { position: relative; z-index: 1; height: 22px; display: grid; place-items: center; border-radius: 99px; background: var(--mint-2);
  font: 600 11.5px/1 var(--body); color: var(--ink); white-space: nowrap; transition: background .2s, color .2s, box-shadow .2s; }
.le-pill.on { background: var(--teal-2); color: #fff; box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal-2) 22%, transparent); }
.le-seasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.le-opt { position: relative; display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 8px;
  background: var(--field); cursor: pointer; font-size: 14px; font-weight: 500; transition: border-color .15s, background .15s, box-shadow .15s; }
.le-opt:hover { border-color: color-mix(in srgb, var(--teal) 50%, var(--line-2)); }
.le-opt input { position: absolute; opacity: 0; pointer-events: none; }
.le-radio { width: 18px; height: 18px; flex: none; border-radius: 50%; border: 1.5px solid var(--dim); display: grid; place-items: center; transition: border-color .15s; }
.le-radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); opacity: 0; transition: opacity .15s; }
.le-opt:has(input:checked) { border: 1.5px solid var(--teal); background: color-mix(in srgb, var(--mint) 45%, var(--field)); box-shadow: 0 0 0 1px color-mix(in srgb, var(--teal) 25%, transparent); }
.le-opt:has(input:checked) .le-radio { border-color: var(--teal); }
.le-opt:has(input:checked) .le-radio::after { opacity: 1; }
.le-opt:has(input:focus-visible) { outline: 2px solid var(--teal); outline-offset: 2px; }

/* Destinos */
.le-dests { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 12px; margin-top: 12px; }
.le-dest { position: relative; display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 6px 12px; border: 1px solid transparent; border-radius: 8px;
  background: var(--field); box-shadow: 0 1px 2px rgb(60 40 30 / .06), 0 3px 10px rgb(60 40 30 / .05); cursor: pointer; transition: border-color .15s, background .15s; }
.le-dest:hover { border-color: color-mix(in srgb, var(--teal) 40%, transparent); }
.le-dest input { position: absolute; opacity: 0; pointer-events: none; }
.le-dest svg.di { width: 44px; height: 30px; flex: none; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.le-dest-name { display: grid; gap: 5px; font: 600 14px/1.1 var(--display); }
.le-dest-name::after { content: ""; width: 40px; height: 3px; border-radius: 99px; background: var(--acc); opacity: .8; }
.le-check { position: absolute; top: -8px; right: -8px; width: 22px; height: 22px; border-radius: 50%; background: var(--teal-2); border: 2px solid var(--card);
  display: grid; place-items: center; opacity: 0; transition: opacity .15s; }
.le-check svg { width: 12px; height: 12px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.le-dest:has(input:checked) { border: 1.5px solid var(--teal-2); background: color-mix(in srgb, var(--mint) 40%, var(--field)); }
.le-dest:has(input:checked) .le-check { opacity: 1; }
.le-dest:has(input:focus-visible) { outline: 2px solid var(--teal); outline-offset: 2px; }

/* Consentimiento y envío */
/* El bloque toma el ancho del texto y se centra: la casilla queda pegada a la primera línea */
.le-consent { display: flex; align-items: flex-start; gap: 12px; width: fit-content; max-width: 700px; margin: 14px auto 0; text-align: center; cursor: pointer; font-size: 13px; color: var(--dim); }
.le-consent input { position: absolute; opacity: 0; pointer-events: none; }
.le-box { width: 20px; height: 20px; flex: none; margin-top: 1px; border: 1.5px solid var(--teal); border-radius: 4px; background: var(--field); display: grid; place-items: center; transition: background .15s; }
.le-box svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.le-consent input:checked + .le-box { background: var(--teal-2); }
.le-consent input:checked + .le-box svg { opacity: 1; }
.le-consent input:focus-visible + .le-box { outline: 2px solid var(--teal); outline-offset: 2px; }
.le-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.le-err { min-height: 20px; margin-top: 8px; text-align: center; color: var(--req); font-size: 13.5px; font-weight: 500; }
.le-cta { display: grid; justify-items: center; gap: 8px; }
.le-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 34px; border: 0; border-radius: 999px; cursor: pointer;
  color: #fff; font: 600 19px/1 var(--display); text-decoration: none; background: linear-gradient(180deg, var(--teal-2), var(--teal));
  box-shadow: 0 1px 0 rgb(255 255 255 / .25) inset, 0 8px 20px color-mix(in srgb, var(--teal) 28%, transparent); transition: filter .15s, box-shadow .15s; }
.le-btn:hover { filter: brightness(1.06); }
.le-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.le-btn[disabled] { cursor: progress; filter: saturate(.6) brightness(1.05); }
.le-fine { color: var(--dim); font-style: italic; font-size: 12px; text-align: center; }
.le-next { padding: 2px 20px 4px; font-size: 18px; border-radius: 45% 55% 50% 50% / 60% 50% 50% 40%;
  background: linear-gradient(100deg, transparent 0, var(--mint) 8%, var(--mint) 92%, transparent 100%); }

/* Confirmación */
.le-done { display: grid; justify-items: center; text-align: center; padding-top: max(36px, env(safe-area-inset-top, 0px)); }
.le-done:focus { outline: none; }
.le-brand-lg { gap: 6px; }
.le-brand-lg img { width: 74px; height: auto; }
.le-word { display: flex; align-items: center; gap: 18px; }
.le-word::before, .le-word::after { content: ""; width: clamp(40px, 12vw, 120px); height: 1.5px; background: var(--teal-ink); opacity: .7; }
.le-word span { font: 600 24px/1 var(--display); letter-spacing: .34em; text-transform: uppercase; margin-right: -.34em; }
.le-tagline-caps { margin-top: 6px; color: var(--dim); font-size: 11.5px; letter-spacing: .32em; text-transform: uppercase; }
.le-seal { position: relative; width: 100px; height: 100px; margin: 44px 0 26px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); }
.le-seal-check { width: 52px; height: 52px; fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.le-spark { position: absolute; width: 40px; height: 40px; fill: none; stroke: var(--gold); stroke-width: 2.6; stroke-linecap: round; }
.le-seal .le-spark { top: -20px; right: -34px; }
.le-done-title { max-width: 620px; font: 700 clamp(32px, 6vw, 50px)/1.12 var(--display); letter-spacing: -.015em; text-wrap: balance; }
.le-done-title .le-mark::after { height: .09em; bottom: -.14em; }
.le-done-text { margin-top: 26px; color: var(--dim); font-size: clamp(17px, 2.4vw, 21px); line-height: 1.45; }
.le-more { position: relative; width: min(600px, 100%); margin-top: 36px; padding: 34px clamp(18px, 5vw, 48px) 34px; border: 1px solid rgb(255 255 255 / .9); border-radius: 26px;
  background: linear-gradient(180deg, rgb(244 243 238 / .9), rgb(238 240 236 / .9)); box-shadow: 0 2px 4px rgb(60 40 30 / .04), 0 18px 44px rgb(60 40 30 / .08); }
.le-more h2 { font: 600 clamp(21px, 3.4vw, 27px)/1.2 var(--display); }
.le-more p { margin: 10px 0 24px; color: var(--dim); font-size: clamp(16px, 2.2vw, 19px); }
.le-more .le-btn { min-height: 62px; padding: 0 clamp(26px, 6vw, 56px); font-size: clamp(19px, 2.8vw, 23px); }
.le-nw { white-space: nowrap; }
.le-q { position: relative; display: inline-block; }
.le-spark-q { width: 46px; height: 46px; top: -26px; right: -17px; stroke-width: 2.8; }
/* Chispazo desde el signo de pregunta: cada rayita sale desde el "?" hacia afuera, se despega y vuelve. Con reduced-motion quedan quietas. */
.le-spark-q path { stroke-dasharray: 1; stroke-dashoffset: 0; animation: le-burst 2.8s ease-out infinite both; }
.le-spark-q path:nth-child(2) { animation-delay: .12s; }
.le-spark-q path:nth-child(3) { animation-delay: .24s; }
@keyframes le-burst { 0% { stroke-dashoffset: 1; } 22%, 62% { stroke-dashoffset: 0; } 80%, 100% { stroke-dashoffset: -1; } }
.le-wave { position: fixed; left: 0; right: 0; bottom: 0; z-index: -1; height: 90px; pointer-events: none;
  background: radial-gradient(60% 100% at 30% 100%, color-mix(in srgb, var(--mint) 80%, transparent), transparent 70%), radial-gradient(60% 90% at 85% 100%, color-mix(in srgb, var(--mint-2) 55%, transparent), transparent 70%); }

/* Entrada de cada vista: un fundido corto, sin desplazamientos */
.le-page { animation: le-in .25s ease both; }
@keyframes le-in { from { opacity: 0; } }

@media (max-width: 760px) {
  .le-consent { text-align: left; }
  .le-row { grid-template-columns: 1fr; padding: 10px 0; }
  .le-hint { grid-column: 1; }
  .le-rows { padding: 2px 12px 8px; }
  .le-card { padding: 14px 14px 16px; }
  .le-sub { margin-left: 0; margin-top: 4px; }
  .le-card-top { flex-direction: column; }
  .le-badge { align-self: flex-end; font-size: 18px; }
  .le-months span { font-size: 9.5px; letter-spacing: 0; }
  .le-pill { font-size: 0; }
  .le-pill::before { content: attr(data-short); font-size: 10.5px; }
  .le-seasons { grid-template-columns: 1fr; gap: 8px; }
  .le-dests { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .le-dest { padding: 6px 10px; gap: 8px; }
  .le-dest svg.di { width: 34px; }
  .le-dest-name { font-size: 13px; }
  .le-btn { width: 100%; padding: 0 18px; font-size: 17px; }
  /* 16px: iOS no hace zoom al tocar el campo */
  .le input:not([type]), .le input[type=email], .le input[type=tel] { height: 44px; font-size: 16px; }
  .le-cc { height: 44px; }
  .le-cc-list li { padding: 10px; font-size: 16px; }
  .le-phone { grid-template-columns: 104px 1fr; gap: 8px; }
  .le-next { font-size: 16px; padding: 2px 14px 4px; text-align: center; }
}
@media (max-width: 359px) { .le-nw { white-space: normal; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
