/* Quinta Azulado — azul noche, crema y las cinco manos del logo */
@font-face { font-family: 'Fraunces'; src: url(../fonts/fraunces.woff2) format('woff2'); font-weight: 500 700; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url(../fonts/figtree.woff2) format('woff2'); font-weight: 400 700; font-display: swap; }

:root {
  --navy: #0E1B4D; --navy-2: #16286B; --navy-3: #0A1438; --ink: #0F1A3D; --ink-2: #4A5577;
  --cream: #FBF6EC; --paper: #FFFFFF; --line: #E6E1D4;
  --rojo: #EE2A2E; --naranja: #F7941D; --verde: #6FB534; --celeste: #0EA0E0; --magenta: #B23A9C;
  --sun: #FFC93C; --wa: #1FAF5A;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --r: 22px; --r-sm: 14px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --pad: clamp(16px, 4vw, 40px);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.55; color: var(--ink); background: var(--cream); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, video, canvas, svg { display: block; max-width: 100%; }
picture { display: contents; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.08; letter-spacing: -.01em; }
h2 { font-family: var(--serif); font-size: clamp(34px, 6.4vw, 64px); font-variation-settings: 'opsz' 120; }
h2 em, h1 em { font-style: italic; font-weight: 500; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--sun); padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--celeste); outline-offset: 3px; border-radius: 6px; }

/* ---------- botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; font-weight: 700; font-size: 16px; text-decoration: none; letter-spacing: .01em; transition: transform .25s var(--ease), background .25s, box-shadow .25s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn--sun { background: var(--sun); color: var(--navy-3); box-shadow: 0 8px 24px -10px rgba(255, 201, 60, .8); }
.btn--sun:hover { background: #ffd65f; transform: translateY(-2px); }
.btn--ghost { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.btn--ghost:hover { background: rgba(255, 255, 255, .2); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-2); transform: translateY(-2px); }
.btn--line { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.btn--line:disabled { opacity: .35; cursor: default; }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 10px 26px -12px rgba(31, 175, 90, .9); }
.btn--wa:hover { background: #22c164; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 16px; }
.eyebrow--light { color: rgba(255, 255, 255, .78); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--sun)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c, var(--sun)) 25%, transparent); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 18px; height: 68px; padding: 0 var(--pad); padding-top: env(safe-area-inset-top); color: #fff; transition: background .35s, transform .4s var(--ease), box-shadow .35s; }
.nav.is-solid { background: rgba(14, 27, 77, .9); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .6); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); }
@media (pointer: coarse) { .nav.is-solid { background: rgba(14, 27, 77, .97); backdrop-filter: none; -webkit-backdrop-filter: none; } }
.nav.is-hidden { transform: translateY(-110%); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand img { width: 40px; height: auto; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .35)); }
.brand span { font-family: var(--serif); font-size: 21px; font-weight: 500; letter-spacing: .01em; }
.brand b { font-weight: 700; }
.nav__links { display: none; gap: 26px; font-size: 15px; font-weight: 600; }
.nav__links a { text-decoration: none; opacity: .85; position: relative; padding: 6px 0; }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--sun); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { display: none; min-height: 42px; padding: 0 18px; font-size: 15px; }
.burger { width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); display: grid; place-content: center; gap: 6px; }
.burger span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease); }
.menu-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 45; background: var(--navy); color: #fff; padding: 96px var(--pad) 32px; display: flex; flex-direction: column; gap: 28px; overflow-y: auto; }
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { display: flex; align-items: center; gap: 16px; padding: 14px 0; font-family: var(--serif); font-size: 32px; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .1); animation: menuIn .5s var(--ease) both; }
.menu nav a:nth-child(2) { animation-delay: .04s; } .menu nav a:nth-child(3) { animation-delay: .08s; } .menu nav a:nth-child(4) { animation-delay: .12s; } .menu nav a:nth-child(5) { animation-delay: .16s; } .menu nav a:nth-child(6) { animation-delay: .2s; }
.menu nav i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); }
.menu__foot { color: rgba(255, 255, 255, .6); font-size: 14px; }
@keyframes menuIn { from { opacity: 0; transform: translateY(14px); } }
.menu-open { overflow: hidden; }
.menu-open .nav { background: var(--navy); }
@media (min-width: 1080px) {
  .nav { height: 78px; }
  .nav__links, .nav__cta { display: flex; }
  .burger { display: none; }
}

/* ---------- portada ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; background: var(--navy-3); overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; will-change: transform; }
.hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 20, 56, .55) 0%, rgba(10, 20, 56, .1) 30%, rgba(10, 20, 56, .35) 55%, rgba(10, 20, 56, .92) 100%); }
.hero__inner { padding-bottom: calc(64px + env(safe-area-inset-bottom)); padding-top: 120px; }
.hero__title { font-family: var(--serif); font-size: clamp(46px, 12.5vw, 118px); font-weight: 600; line-height: .98; letter-spacing: -.02em; font-variation-settings: 'opsz' 144; max-width: 12ch; }
.hero__title .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .ln > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.hero__title em { color: var(--sun); }
.hero.is-in .ln > span { transform: none; }
.hero.is-in .ln:nth-child(2) > span { transition-delay: .12s; }
.hero__lead { font-size: clamp(17px, 2.2vw, 21px); max-width: 36ch; margin-top: 20px; color: rgba(255, 255, 255, .9); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; opacity: 0; transform: translateY(16px); transition: 1s var(--ease) .5s; }
.hero__chips { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px; opacity: 0; transition: 1s var(--ease) .7s; }
.hero__chips li { font-size: 14px; font-weight: 600; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); }
.hero.is-in .hero__ctas, .hero.is-in .hero__chips { opacity: 1; transform: none; }
.hero__scroll { position: absolute; right: var(--pad); bottom: 44px; width: 28px; height: 46px; border-radius: 20px; border: 2px solid rgba(255, 255, 255, .6); display: none; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (min-width: 760px) { .hero__scroll { display: block; } .hero__inner { padding-bottom: 96px; } }
@media (max-width: 420px) { .hero__ctas .btn { width: 100%; } }

.rainbow { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; display: flex; }
.rainbow i { flex: 1; }
.rainbow i:nth-child(1) { background: var(--rojo); } .rainbow i:nth-child(2) { background: var(--naranja); } .rainbow i:nth-child(3) { background: var(--verde); } .rainbow i:nth-child(4) { background: var(--celeste); } .rainbow i:nth-child(5) { background: var(--magenta); }

/* ---------- cifras ---------- */
.stats { background: var(--navy); color: #fff; padding: 34px 0 40px; }
.stats__row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 18px; }
.stat b { display: block; font-family: var(--serif); font-size: clamp(40px, 7vw, 64px); font-weight: 600; line-height: 1; color: var(--sun); font-variant-numeric: tabular-nums; }
.stat:nth-child(2) b { color: #7fd0f5; } .stat:nth-child(3) b { color: #a6dc76; } .stat:nth-child(4) b { color: #f19ad9; }
.stat > span { display: block; margin-top: 8px; font-size: 15px; color: rgba(255, 255, 255, .75); max-width: 18ch; }
@media (min-width: 860px) { .stats__row { grid-template-columns: repeat(4, 1fr); } .stats { padding: 48px 0 52px; } }

/* ---------- secciones ---------- */
.sec { padding: clamp(72px, 11vw, 140px) 0; position: relative; }
.sec--cream { background: var(--cream); }
.sec--paper { background: var(--paper); }
.sec--navy { background: var(--navy); color: #fff; }
.sec--navy2 { background: var(--navy-3); color: #fff; }
.sec__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.sec__head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.sec__lead { font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); margin-top: 18px; max-width: 54ch; }
.sec--navy .sec__lead { color: rgba(255, 255, 255, .78); }
.sec--navy h2 em, .sec--navy2 h2 em { color: var(--sun); }
.sec--cream h2 em, .sec--paper h2 em { color: var(--navy-2); }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
html:not(.js) .reveal { opacity: 1; transform: none; }

/* ---------- las quintas ---------- */
.quintas { display: grid; gap: 22px; }
@media (min-width: 960px) { .quintas { grid-template-columns: 1fr 1fr; gap: 30px; } }
.qcard { background: var(--paper); border-radius: var(--r); overflow: hidden; box-shadow: 0 30px 60px -40px rgba(14, 27, 77, .45); display: flex; flex-direction: column; }
.qcard:nth-child(2) { transition-delay: .1s; }
.qcard__media { position: relative; aspect-ratio: 4 / 4.2; overflow: hidden; background: var(--navy); }
.qcard__slides .qs { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; }
.qcard__slides .qs.on { opacity: 1; }
.qcard__slides img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 6s linear; }
.qcard__slides .qs.on img { transform: scale(1); }
.qcard__cap { position: absolute; left: 16px; top: 16px; padding: 8px 14px; border-radius: 999px; background: var(--sun); color: var(--navy-3); font-weight: 800; font-size: 14px; }
.qcard__dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 4px; }
.qcard__dots button { width: 34px; height: 30px; border: 0; background: none; padding: 0; display: grid; place-items: center; }
.qcard__dots button::before { content: ''; width: 24px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .45); transition: background .3s; }
.qcard__dots button.on::before { background: #fff; }
.qcard__body { padding: 24px 22px 26px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.qcard__body h3 { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 38px); }
.qcard__body p { color: var(--ink-2); }
.qcard__body .btn { align-self: flex-start; margin-top: auto; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: 14px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); }
@media (min-width: 960px) { .qcard__media { aspect-ratio: 4 / 3.4; } .qcard__body { padding: 30px 32px 34px; } }

/* ---------- recorrido ---------- */
.tour { position: relative; height: 420vh; background: var(--navy-3); }
.tour__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; color: #fff; }
.tour__stage canvas, .tour__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tour__poster { transition: opacity .5s; z-index: 1; }
.tour__shade { position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(10, 20, 56, .45) 0%, transparent 25%, transparent 50%, rgba(10, 20, 56, .85) 100%); pointer-events: none; }
.tour__kicker { position: absolute; z-index: 3; top: calc(84px + env(safe-area-inset-top)); left: var(--pad); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.tour__caps { position: absolute; z-index: 3; left: var(--pad); right: var(--pad); bottom: calc(64px + env(safe-area-inset-bottom)); min-height: 150px; }
.cap { position: absolute; left: 0; bottom: 0; max-width: 620px; opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.cap.on { opacity: 1; transform: none; }
.cap span { font-weight: 800; font-size: 14px; color: var(--sun); letter-spacing: .1em; }
.cap h3 { font-family: var(--serif); font-size: clamp(32px, 6vw, 60px); font-weight: 600; margin-top: 8px; text-shadow: 0 2px 20px rgba(0, 0, 0, .35); }
.cap i { display: block; width: 0; height: 3px; margin-top: 16px; background: var(--sun); border-radius: 2px; transition: width .9s var(--ease) .2s; }
.cap.on i { width: 64px; }
.tour__dots { position: absolute; z-index: 3; right: var(--pad); top: 50%; transform: translateY(-50%); list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.tour__dots li { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .4); transition: .3s; }
.tour__dots li.on { background: var(--sun); transform: scale(1.4); }
.tour__bar { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .15); }
.tour__bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--rojo), var(--naranja), var(--verde), var(--celeste), var(--magenta)); transform-origin: left; transform: scaleX(0); }
@media (max-width: 759px) { .tour { height: 360vh; } }

/* ---------- eventos ---------- */
.ev-filter { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--pad) * -1) 26px; padding: 0 var(--pad) 4px; }
.ev-filter::-webkit-scrollbar { display: none; }
.ev-filter button { flex: none; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .3); background: transparent; color: #fff; font-weight: 700; font-size: 15px; transition: .25s; }
.ev-filter button.on { background: #fff; color: var(--navy); border-color: #fff; }
.events { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .events { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1100px) { .events { grid-template-columns: repeat(4, 1fr); } .ev:first-child { grid-column: span 2; grid-row: span 2; } .ev:first-child .ev__img { aspect-ratio: auto; flex: 1; } .ev:first-child h3 { font-size: 32px; } }
.ev { position: relative; display: flex; flex-direction: column; background: var(--navy-2); border-radius: var(--r); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s; }
.ev[hidden] { display: none; }
.ev:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(0, 0, 0, .7); }
.ev::before { content: ''; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--c); z-index: 2; }
.ev__img { aspect-ratio: 16 / 10; overflow: hidden; }
.ev__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.ev:hover .ev__img img { transform: scale(1.06); }
.ev__body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.ev__body h3 { font-family: var(--serif); font-size: 24px; }
.ev__body p { color: rgba(255, 255, 255, .75); font-size: 15.5px; }
.ev__body a { margin-top: 6px; font-weight: 700; color: var(--c); filter: brightness(1.35); text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; align-self: flex-start; }
.promos { display: grid; gap: 16px; margin-top: 36px; }
@media (min-width: 860px) { .promos { grid-template-columns: 1.3fr 1fr; gap: 20px; } }
.promo { border-radius: var(--r); padding: 26px 24px; background: linear-gradient(135deg, color-mix(in srgb, var(--c) 30%, var(--navy-2)), var(--navy-2) 70%); border: 1px solid rgba(255, 255, 255, .12); display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.promo__k { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--c); filter: brightness(1.3); }
.promo__v { font-family: var(--serif); font-size: clamp(34px, 5vw, 50px); line-height: 1.05; }
.promo__v b { color: var(--sun); font-weight: 600; }
.promo__d { color: rgba(255, 255, 255, .75); font-size: 15px; max-width: 46ch; margin-bottom: 8px; }

/* ---------- qué incluye ---------- */
.bento { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.b { background: var(--cream); border-radius: var(--r-sm); padding: 18px 16px; display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--line); transition: transform .4s var(--ease), border-color .4s; }
.b:hover { transform: translateY(-3px); border-color: var(--c); }
.b svg { width: 34px; height: 34px; fill: none; stroke: var(--c); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 6px; }
.b h3 { font-size: 16px; font-weight: 700; line-height: 1.25; }
.b p { font-size: 14px; color: var(--ink-2); line-height: 1.4; }
.b--big { grid-column: span 2; background: linear-gradient(135deg, #e3f4fc, #f6fbff); }
.b--big h3 { font-family: var(--serif); font-size: 26px; font-weight: 600; }
.b--big svg { width: 44px; height: 44px; }
@media (min-width: 760px) { .bento { grid-template-columns: repeat(3, 1fr); gap: 16px; } .b { padding: 24px 22px; } .b h3 { font-size: 18px; } .b p { font-size: 15px; } }
@media (min-width: 1100px) { .bento { grid-template-columns: repeat(4, 1fr); } .b--big { grid-row: span 2; justify-content: flex-end; } .b--big h3 { font-size: 34px; } }

/* ---------- inclusiva ---------- */
.incl { background: var(--navy-3); color: #fff; padding: clamp(72px, 10vw, 130px) 0; text-align: center; overflow: hidden; }
.incl__in { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.incl__logo { width: min(220px, 56vw); height: auto; animation: spinSlow 60s linear infinite; }
@keyframes spinSlow { to { transform: rotate(360deg); } }
.incl__logo.is-in { transform: none; }
.incl blockquote { margin: 0; }
.incl blockquote p { font-family: var(--serif); font-size: clamp(32px, 6vw, 62px); font-weight: 500; line-height: 1.1; max-width: 18ch; }
.incl blockquote em { color: var(--sun); }
.incl cite { display: block; margin-top: 14px; font-style: normal; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.incl__txt { max-width: 52ch; color: rgba(255, 255, 255, .8); font-size: 18px; }
@media (prefers-reduced-motion: reduce) { .incl__logo { animation: none; } }

/* ---------- galería ---------- */
.reels { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--pad) 10px; scrollbar-width: none; overscroll-behavior-x: contain; }
.reels::-webkit-scrollbar { display: none; }
.reel { flex: none; width: min(64vw, 280px); margin: 0; scroll-snap-align: start; }
.reel video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: var(--r); background: var(--navy-2); }
.reel--sq video { aspect-ratio: 9 / 16; }
.reel figcaption { margin-top: 10px; font-weight: 600; font-size: 15px; color: rgba(255, 255, 255, .8); }
@media (min-width: 1240px) { .reels { justify-content: center; padding: 0 var(--pad); } .reel { width: 180px; } }
@media (min-width: 1500px) { .reel { width: 210px; } }

/* ---------- reserva ---------- */
.book__grid { display: grid; gap: 22px; align-items: start; }
.book__grid > * { min-width: 0; }
@media (min-width: 980px) { .book__grid { grid-template-columns: 1.25fr .85fr; gap: 34px; } .phone { position: sticky; top: 100px; } }
.wiz { background: var(--paper); border-radius: var(--r); padding: 22px 18px; box-shadow: 0 30px 60px -44px rgba(14, 27, 77, .5); border: 1px solid var(--line); }
@media (min-width: 760px) { .wiz { padding: 34px 34px 30px; } }
.wiz__steps { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; counter-reset: s; }
.wiz__steps li { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: #5f6684; position: relative; }
.wiz__steps li::after { content: ''; position: absolute; top: 15px; left: calc(50% + 18px); right: calc(-50% + 18px); height: 2px; background: var(--line); }
.wiz__steps li:last-child::after { display: none; }
.wiz__steps b { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); border: 2px solid var(--line); font-size: 14px; transition: .3s; }
.wiz__steps li.on { color: var(--navy); }
.wiz__steps li.on b { background: var(--navy); border-color: var(--navy); color: #fff; }
.wiz__steps li.done b { background: var(--verde); border-color: var(--verde); color: #fff; }
.wiz__steps li.done::after { background: var(--verde); }
.step { border: 0; margin: 0; padding: 0; min-width: 0; display: none; }
.step.on { display: block; animation: stepIn .45s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(16px); } }
.step legend { font-family: var(--serif); font-size: clamp(26px, 4vw, 34px); font-weight: 600; margin-bottom: 18px; padding: 0; }
.sub { font-weight: 700; margin: 22px 0 10px; }
.opts { display: grid; gap: 10px; }
.opt { position: relative; display: block; cursor: pointer; }
.opt input, .chips input { position: absolute; opacity: 0; pointer-events: none; }
.opt__in { display: flex; flex-direction: column; gap: 3px; padding: 16px 18px 16px 52px; border-radius: var(--r-sm); border: 2px solid var(--line); background: var(--cream); transition: .25s; position: relative; }
.opt__in::before { content: ''; position: absolute; left: 18px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%; border: 2px solid #b6bacb; background: #fff; transition: .25s; }
.opt__in b { font-size: 18px; }
.opt__in small { color: var(--ink-2); font-size: 14.5px; }
.opt input:checked + .opt__in { border-color: var(--navy); background: #eef2ff; }
.opt input:checked + .opt__in::before { border-color: var(--navy); background: var(--navy); box-shadow: inset 0 0 0 4px #fff; }
.opt input:focus-visible + .opt__in, .chips input:focus-visible + span { outline: 3px solid var(--celeste); outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { cursor: pointer; position: relative; }
.chips span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 16px; border-radius: 999px; border: 2px solid var(--line); background: var(--cream); font-weight: 600; font-size: 15.5px; transition: .2s; }
.chips--sm span { min-height: 42px; font-size: 15px; }
.chips input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chips--multi input:checked + span::before { content: '✓'; margin-right: 6px; color: var(--sun); }

.cal { border: 2px solid var(--line); border-radius: var(--r-sm); padding: 14px; background: var(--cream); }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal__head b { font-size: 18px; text-transform: capitalize; }
.cal__nav { width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; font-size: 24px; line-height: 1; box-shadow: 0 2px 8px -4px rgba(0, 0, 0, .3); }
.cal__nav:disabled { opacity: .3; cursor: default; }
.cal__dow, .cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal__dow span { font-size: 12px; font-weight: 700; color: var(--ink-2); padding: 4px 0; }
.cal__grid button { aspect-ratio: 1; min-height: 40px; border: 0; border-radius: 10px; background: #fff; font-weight: 700; font-size: 15px; transition: .15s; font-variant-numeric: tabular-nums; }
.cal__grid button:hover:not(:disabled) { background: #e3e9ff; }
.cal__grid button:disabled { background: transparent; color: #c3c6d2; cursor: default; }
.cal__grid button.busy { background: repeating-linear-gradient(135deg, #f5dede 0 6px, #fbeaea 6px 12px); color: #b9878a; text-decoration: line-through; cursor: not-allowed; }
.cal__grid button.wk:not(:disabled):not(.busy) { color: var(--navy-2); }
.cal__grid button.sel { background: var(--navy) !important; color: #fff !important; }
.cal__legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font-size: 13px; color: var(--ink-2); }
.cal__legend span { display: inline-flex; align-items: center; gap: 6px; }
.lg { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.lg--free { background: #fff; border: 1px solid var(--line); }
.lg--busy { background: repeating-linear-gradient(135deg, #f5dede 0 3px, #fbeaea 3px 6px); }
.lg--sel { background: var(--navy); }
.tag-ej { font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 2px 6px; border-radius: 6px; background: #fff3c4; color: #7a5b00; }
.flex-alt { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-weight: 600; min-height: 44px; cursor: pointer; }
.flex-alt input { width: 22px; height: 22px; accent-color: var(--navy); }

.counter { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.counter b { display: block; font-size: 17px; }
.counter small { color: var(--ink-2); font-size: 14px; }
.ctr { display: flex; align-items: center; gap: 6px; }
.ctr button { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--line); background: var(--cream); font-size: 22px; font-weight: 700; line-height: 1; }
.ctr button:active { background: #e3e9ff; }
.ctr output { min-width: 48px; text-align: center; font-family: var(--serif); font-size: 28px; font-weight: 600; font-variant-numeric: tabular-nums; }
.capbar { margin-top: 16px; }
.capbar__track { height: 10px; border-radius: 6px; background: var(--cream); border: 1px solid var(--line); overflow: hidden; }
.capbar__track i { display: block; height: 100%; width: 0; background: var(--verde); border-radius: 6px; transition: width .4s var(--ease), background .3s; }
.capbar p { margin-top: 8px; font-size: 14.5px; color: var(--ink-2); }
.capbar.warn .capbar__track i { background: var(--naranja); }
.capbar.warn p { color: #a05a00; font-weight: 600; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field > span { font-weight: 700; font-size: 15px; }
.field small { font-weight: 500; color: var(--ink-2); }
.field input, .field textarea { font: inherit; font-size: 16px; padding: 13px 14px; border-radius: 12px; border: 2px solid var(--line); background: var(--cream); color: var(--ink); width: 100%; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: #fff; }
.field textarea { resize: vertical; min-height: 90px; }
.wiz__err { min-height: 22px; margin-top: 12px; color: #c0262a; font-weight: 600; font-size: 15px; }
.wiz__nav { display: flex; gap: 10px; justify-content: space-between; margin-top: 8px; }
.wiz__nav .btn { flex: 1; }
.wiz__nav #prev { flex: 0 0 auto; }
@media (max-width: 400px) { .wiz__nav #send { font-size: 15px; padding: 0 14px; } .wiz__steps span { font-size: 11px; } }

.phone { background: #0b141a; border-radius: 30px; padding: 10px; box-shadow: 0 40px 80px -40px rgba(14, 27, 77, .7); max-width: 440px; width: 100%; justify-self: center; }
.phone__bar { display: flex; align-items: center; gap: 10px; padding: 10px 12px 12px; color: #e9edef; }
.phone__bar img { width: 38px; height: 38px; object-fit: contain; background: #fff; border-radius: 50%; padding: 4px; }
.phone__bar span { display: flex; flex-direction: column; line-height: 1.2; }
.phone__bar small { color: #8696a0; font-size: 13px; }
.phone__chat { background: #efeae2 radial-gradient(circle at 20% 20%, rgba(0, 0, 0, .025) 0 2px, transparent 3px) 0 0 / 22px 22px; border-radius: 22px; padding: 18px 14px 14px; min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end; }
.bubble { align-self: flex-end; max-width: 94%; background: #d9fdd3; border-radius: 12px 0 12px 12px; padding: 10px 12px 18px; font-size: 14.5px; line-height: 1.45; color: #111b21; position: relative; box-shadow: 0 1px 1px rgba(0, 0, 0, .12); white-space: pre-wrap; word-wrap: break-word; }
.bubble::after { content: attr(data-time) ' ✓✓'; position: absolute; right: 10px; bottom: 4px; font-size: 11px; color: #667781; }
.bubble b { font-weight: 700; }
.bubble .pend { color: #8a9aa4; font-style: italic; }
.bubble.pulse { animation: pulse .5s var(--ease); }
@keyframes pulse { 50% { transform: scale(1.02); } }
.phone__hint { text-align: center; font-size: 12px; color: #667781; margin-top: 10px; }

/* ---------- ubicación ---------- */
.loc { display: grid; gap: 30px; align-items: center; }
@media (min-width: 960px) { .loc { grid-template-columns: 1fr 1fr; gap: 56px; } }
.loc h2 { margin-bottom: 24px; }
.week { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.week li { background: var(--cream); border: 1px solid var(--line); border-radius: 12px; padding: 10px 2px; text-align: center; display: flex; flex-direction: column; gap: 2px; }
.week b { font-size: 14px; }
.week span { font-size: 11px; color: var(--ink-2); line-height: 1.2; }
.week li.today { background: var(--navy); border-color: var(--navy); color: #fff; }
.week li.today span { color: rgba(255, 255, 255, .8); }
.loc__note { color: var(--ink-2); margin-bottom: 24px; }
.addr { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--r-sm); background: var(--cream); border: 1px solid var(--line); margin-bottom: 18px; }
.addr svg { width: 28px; height: 28px; flex: none; fill: none; stroke: var(--rojo); stroke-width: 2; }
.addr b { display: block; font-size: 18px; }
.addr span { color: var(--ink-2); font-size: 15px; }
.loc__btns { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 480px) { .loc__btns .btn { width: 100%; white-space: normal; text-align: center; } }
.map { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 4.4; background: var(--navy); box-shadow: 0 30px 60px -40px rgba(14, 27, 77, .5); }
.map img, .map iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.map__load { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; min-height: 50px; padding: 0 22px; border: 0; border-radius: 999px; background: #fff; color: var(--navy); font-weight: 800; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); }
.map__load svg { width: 20px; height: 20px; fill: none; stroke: var(--rojo); stroke-width: 2.2; }
@media (min-width: 960px) { .map { aspect-ratio: 1 / 1; } }

/* ---------- cierre y pie ---------- */
.close { background: linear-gradient(160deg, var(--navy-2), var(--navy)); color: #fff; text-align: center; padding: clamp(72px, 10vw, 120px) 0; }
.close__in { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.close h2 em { color: var(--sun); }
.close p { color: rgba(255, 255, 255, .8); max-width: 40ch; font-size: 18px; }
.foot { position: relative; background: var(--navy-3); color: rgba(255, 255, 255, .8); padding: 56px 0 calc(28px + env(safe-area-inset-bottom)); }
.foot .rainbow { top: 0; bottom: auto; }
.foot__in { display: grid; gap: 30px; }
@media (min-width: 860px) { .foot__in { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot__brand img { width: 110px; height: auto; margin-bottom: 14px; }
.foot__brand p { font-size: 15px; max-width: 40ch; }
.foot__col { display: flex; flex-direction: column; gap: 8px; }
.foot__col h3 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 4px; }
.foot__col a { text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.foot__col a:hover { color: var(--sun); }
.foot__copy { margin-top: 36px; font-size: 13px; color: rgba(255, 255, 255, .5); }

.fab { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .5); transition: transform .4s var(--ease), opacity .3s; }
.fab.is-off { transform: scale(.4) translateY(40px); opacity: 0; pointer-events: none; }
.menu-open .fab { opacity: 0; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
.b--big { position: relative; overflow: hidden; color: #fff; min-height: 260px; justify-content: flex-end; background: var(--navy) image-set(url(../media/img/d-pileta1-640.avif) type('image/avif'), url(../media/img/d-pileta1-640.webp) type('image/webp')) center / cover; border: 0; }
.b--big::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 27, 77, 0) 25%, rgba(14, 27, 77, .88)); }
.b--big > * { position: relative; }
.b--big svg { stroke: #fff; }
.b--big p { color: rgba(255, 255, 255, .85); }

/* ---------- celular: menos trabajo mientras se baja con el dedo ---------- */
@media (pointer: coarse) {
  .reveal { transform: none; transition: opacity .6s ease; }
  .qcard__slides img, .qcard__slides .qs.on img { transform: none; transition: none; }
  .ev:hover, .b:hover { transform: none; }
  .incl__logo { animation-play-state: paused; }
  .incl.is-vis .incl__logo { animation-play-state: running; }
  .hero__title .ln > span { transition-duration: .8s; }
}
#incluye, #inclusiva, #galeria, #ubicacion, .close, .foot { content-visibility: auto; contain-intrinsic-size: auto 900px; }
/* Las fotos de cada quinta que todavía no se mostraron no se bajan ni se decodifican. */
.qcard__slides .qs:not(.on):not(.seen) { display: none; }
.btn svg { flex: none; }
