/* Cafédoteando · sitio público
   Mobile-first. Regla dura: ningún texto encima de fotos o ilustraciones. */

@font-face { font-family: "Baristo"; font-style: normal; font-weight: 400 900; font-display: swap; src: url(/fonts/baristo-latin.woff2) format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/fonts/montserrat-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/fonts/montserrat-colon.woff2) format("woff2"); unicode-range: U+20A1, U+2190, U+2192, U+2713; }
/* Fallbacks métricos para CLS ~0 mientras cargan las fuentes */
@font-face { font-family: "Baristo-fb"; src: local("Georgia Bold"), local("Georgia"); size-adjust: 100%; }
@font-face { font-family: "Montserrat-fb"; src: local("Arial"); size-adjust: 112%; ascent-override: 86%; descent-override: 22%; }


:root {
  --crema: #F1E9E2;
  --sup: #FBF8F5;          /* superficie de pasos y campos */
  --cafe: #382524;
  --cafe-2: #4A3431;
  --cafe-3: #5C4440;
  --tinta: #2B1D1B;
  --dorado: #CA9E67;
  --dorado-osc: #84612C;   /* dorado para texto chico sobre crema (AA) */
  --muted: #65514C;
  --muted-osc: #D9CBC1;    /* texto secundario sobre café */
  --linea: rgba(43, 29, 27, .14);
  --linea-osc: rgba(241, 233, 226, .16);
  --error: #A3322A;
  --ok: #2F6B3F;

  --f-disp: "Baristo", "Baristo-fb", Georgia, serif;
  --f-sans: "Montserrat", "Montserrat-fb", Arial, sans-serif;

  --gut: clamp(16px, 4.5vw, 56px);
  --max: 1200px;
  --head: 64px;
  --r-s: 12px; --r-m: 20px; --r-l: 32px;
  --ease: cubic-bezier(.16, 1, .3, 1);       /* expo-out */
  --ease-q: cubic-bezier(.25, 1, .5, 1);     /* quart-out */

  --z-sticky: 10; --z-bar: 20; --z-chat: 30; --z-head: 40; --z-cookies: 50; --z-modal: 60;
}
@media (min-width: 900px) { :root { --head: 76px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head) + 16px); }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--crema); color: var(--tinta);
  font: 400 1rem/1.6 var(--f-sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sym { position: absolute; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--cafe); outline-offset: 3px; border-radius: 6px; }
.menu :focus-visible, .res :focus-visible, .pie :focus-visible { outline-color: var(--dorado); }

.skip { position: fixed; left: 12px; top: -60px; z-index: calc(var(--z-modal) + 1); background: var(--cafe); color: var(--crema);
  padding: 10px 16px; border-radius: 999px; text-decoration: none; font-weight: 600; transition: top .2s; }
.skip:focus { top: 12px; }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--cafe); --fg: var(--crema);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: 0 1.6em; border-radius: 999px; border: 1.5px solid var(--bg);
  background: var(--bg); color: var(--fg);
  font: 600 .8rem/1 var(--f-sans); letter-spacing: .09em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: color .45s var(--ease), border-color .45s var(--ease), transform .2s var(--ease-q);
}
.btn::before { /* relleno que sube al pasar el mouse */
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--fill, var(--dorado));
  border-radius: inherit; transform: translateY(102%); transition: transform .55s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn--dark { --fill: var(--cafe-3); }
.btn--gold { --bg: var(--dorado); --fg: var(--tinta); --fill: #E2C590; }
.btn--ghost { --bg: transparent; --fg: var(--cafe); border-color: var(--cafe); --fill: var(--cafe); }
.btn--sm { min-height: 40px; padding: 0 1.25em; font-size: .72rem; }
.btn--block { width: 100%; }
.btn__arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--ease); }
@media (hover: hover) {
  .btn:hover::before { transform: translateY(0); }
  .btn--ghost:hover { color: var(--crema); }
  .btn:hover .btn__arrow { transform: translateX(4px); }
}
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.btn.is-loading { pointer-events: none; }
.btn.is-loading::after { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: gira .7s linear infinite; }
@keyframes gira { to { transform: rotate(1turn); } }

.link-arrow { display: inline-flex; align-items: center; gap: .5em; font: 600 .74rem/1 var(--f-sans); letter-spacing: .09em; text-transform: uppercase; text-decoration: none; padding: 12px 0; }
.link-arrow svg { width: 16px; height: 16px; fill: none; stroke: var(--dorado-osc); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }
.linkbtn { background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; line-height: 1; min-height: 44px; transition: opacity .6s var(--ease); }
.logo__img { width: auto; height: 22px; }
@media (min-width: 900px) { .logo__img { height: 25px; } }
.logo__img--pie { height: auto; width: 240px; max-width: 70vw; }
.logo__tag { display: block; font: 400 .66rem/1 var(--f-disp); letter-spacing: .03em; margin-top: 3px; color: var(--tinta); white-space: nowrap; }
@media (min-width: 900px) { .logo__tag { font-size: .72rem; } }

/* ---------- Encabezado ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: var(--z-head); height: var(--head); background: var(--crema);
  border-bottom: 1px solid transparent; transition: transform .5s var(--ease), border-color .3s; }
.top.is-scrolled { border-bottom-color: var(--linea); }
.top.is-hidden { transform: translateY(-100%); }
.top__in { height: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav { display: flex; align-items: center; gap: 8px; }
.nav__toggle { order: 2; width: 48px; height: 48px; border: 0; background: none; display: grid; place-items: center; cursor: pointer; border-radius: 50%; }
.nav__bars { width: 22px; display: grid; gap: 6px; }
.nav__bars span { height: 2px; background: var(--tinta); border-radius: 2px; transition: transform .4s var(--ease); }
.nav__toggle[aria-expanded="true"] .nav__bars span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__bars span:last-child { transform: translateY(-4px) rotate(-45deg); }
.nav__list {
  position: fixed; inset: var(--head) 0 0; overflow-y: auto; align-content: start; background: var(--crema); padding: 8px var(--gut) 28px;
  border-bottom: 1px solid var(--linea); display: grid;
  clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .55s var(--ease), visibility 0s .55s;
}
.nav__list.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .55s var(--ease); }
.nav__list a { display: block; padding: 14px 0; font: 600 1.6rem/1.1 var(--f-disp); text-decoration: none; border-bottom: 1px solid var(--linea); }
.nav__cta { order: 1; }
@media (min-width: 960px) {
  .nav { gap: 28px; }
  .nav__toggle { display: none; }
  .nav__list { position: static; clip-path: none; visibility: visible; display: flex; gap: 28px; padding: 0; border: 0; background: none; }
  .nav__list a { font: 600 .72rem/1 var(--f-sans); letter-spacing: .1em; text-transform: uppercase; padding: 10px 0; border: 0; position: relative; }
  .nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: var(--dorado-osc); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
  .nav__list a:hover::after, .nav__list a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }
  .nav__faq { display: none; }
  .nav__cta { order: 3; }
}

main { padding-top: var(--head); overflow-x: clip; }
section { position: relative; }

/* Encabezados de sección (sans en mayúsculas, como el prototipo) */
.h-sec { font: 700 clamp(1.45rem, 1rem + 2.2vw, 2.4rem)/1.1 var(--f-sans); letter-spacing: .01em; text-transform: uppercase; color: var(--tinta); }
.h-sec--light { color: var(--crema); }
.kicker { font: 600 .74rem/1.3 var(--f-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.label-gold { font: 700 .72rem/1 var(--f-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--dorado); }

/* ---------- Hero (video: foto a la izquierda hasta arriba; a la derecha wordmark, botón, título y bajada) ---------- */
.hero { display: grid; gap: 28px; padding-bottom: clamp(48px, 8vw, 96px); }
.hero__copy { padding: 28px var(--gut) 0; display: grid; justify-items: start; align-content: center; }
.hero__logo { display: block; width: min(70vw, 340px); }
.hero__logo img { width: 100%; height: auto; }
.hero__cta { margin-top: clamp(24px, 2.9vw, 56px); }
.hero__h1 { margin-top: clamp(18px, 1.3vw, 26px); font: 700 clamp(.92rem, .8rem + .35vw, 1.2rem)/1.3 var(--f-sans); letter-spacing: .02em; text-transform: uppercase; max-width: 24ch; }
.hero__bajada { margin-top: 12px; color: var(--muted); font-size: clamp(.88rem, .82rem + .2vw, 1rem); max-width: 36ch; }
.hero__media { margin-right: var(--gut); border-radius: 0 0 56px 0; overflow: hidden; aspect-ratio: 616 / 560; background: var(--cafe-2); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
/* Celular: el mismo orden que en computadora (foto, wordmark grande, botón, título, bajada) y el botón visible
   sin hacer scroll. La foto baja desde el encabezado como la columna izquierda del escritorio. */
@media (max-width: 719.98px) {
  .hero { gap: 0; align-content: start; min-height: calc(100svh - var(--head)); padding-bottom: 48px; }
  .hero__media { aspect-ratio: auto; height: clamp(180px, 32svh, 400px); margin-right: calc(var(--gut) + 8px); border-radius: 0 0 64px 0; }
  .hero__copy { padding-top: clamp(20px, 3.4svh, 36px); justify-items: center; text-align: center; }
  .hero__logo { width: min(78vw, 34svh, 360px); }
  .hero__cta { margin-top: clamp(18px, 3svh, 30px); }
  .hero__h1 { margin-top: clamp(20px, 3svh, 28px); max-width: 26ch; }
  .hero__bajada { max-width: 34ch; }
}
/* En la portada, el wordmark grande del hero es la marca: el logo del encabezado aparece al hacer scroll. */
body:has(.hero) .top:not(.is-scrolled) .logo:not(:focus-visible) { opacity: 0; pointer-events: none; }
@media (min-width: 720px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 0; min-height: min(calc(100svh - var(--head)), 900px); padding-bottom: clamp(56px, 8vw, 120px); }
  .hero__media { order: 0; margin: 0; height: 100%; aspect-ratio: auto; border-radius: 0 0 clamp(64px, 6.2vw, 120px) 0; align-self: stretch; }
  .hero__copy { padding: 40px var(--gut) 40px clamp(28px, 3.4vw, 72px); }
  .hero__logo { width: min(31vw, 50svh, 600px); }
}
/* En pantallas anchas la foto sube hasta el borde superior, como en el video: el encabezado queda transparente
   (el menú cae sobre la columna crema, nunca sobre la foto) y el logo aparece al hacer scroll. */
@media (min-width: 1200px) {
  .top:not(.is-scrolled) { background: transparent; }
  .hero { margin-top: calc(-1 * var(--head)); min-height: min(86svh, 980px); }
  .hero__copy { padding-top: calc(var(--head) + 24px); }
}

/* ---------- Nuestra meta (video: a sangre, foto izq. | textos en mayúsculas | foto der. alta) ---------- */
.meta { padding: clamp(56px, 9vw, 128px) 0; max-width: 1440px; margin: 0 auto; }
.meta__titulo { font: 500 clamp(1.3rem, .7rem + 1.45vw, 2.15rem)/1.18 var(--f-sans); text-transform: uppercase; letter-spacing: .005em; padding: 0 var(--gut); max-width: 24ch; margin-bottom: clamp(32px, 5vw, 64px); }
.meta__titulo strong { font-weight: 800; }
.meta__grid { display: grid; gap: 28px; }
.meta__foto { margin: 0; overflow: hidden; background: var(--cafe-2); }
.meta__foto--a { width: 86%; border-radius: 0 72px 72px 0; aspect-ratio: 4 / 5; }
.meta__foto--b { width: 86%; margin-left: auto; border-radius: 88px 0 0 0; aspect-ratio: 405 / 545; }
.meta__texto { padding: 0 var(--gut); display: grid; gap: 12px; max-width: 40ch; color: var(--tinta); font: 500 .8rem/1.6 var(--f-sans); letter-spacing: .035em; text-transform: uppercase; }
.meta__cierre { padding: 0 var(--gut); font: 500 clamp(1.02rem, .7rem + .85vw, 1.55rem)/1.32 var(--f-sans); text-transform: uppercase; letter-spacing: .01em; max-width: 24ch; }
.px { width: 100%; height: 100%; overflow: hidden; }
.px img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12) translate3d(0, var(--py, 0px), 0); will-change: transform; }
@media (max-width: 899.98px) { .meta__titulo { margin-bottom: 4px; } }
@media (min-width: 640px) and (max-width: 899.98px) {
  .meta__grid { grid-template-columns: 1fr 1fr; column-gap: 28px; align-items: start; }
  .meta__titulo { grid-column: 1 / -1; grid-row: 1; }
  .meta__foto--a { grid-column: 1; grid-row: 2 / 4; width: 100%; }
  .meta__texto { grid-column: 2; grid-row: 2; padding: 0 var(--gut) 0 0; }
  .meta__cierre { grid-column: 2; grid-row: 3; padding: 0 var(--gut) 0 0; align-self: end; }
  .meta__foto--b { grid-column: 1 / -1; grid-row: 4; width: 62%; margin-top: 12px; }
}
@media (min-width: 900px) {
  /* Proporciones medidas en el video (de borde a borde): 27 | 3,3 | 17,4 | 18,3 | 34 */
  .meta { max-width: none; }
  .meta__grid { grid-template-columns: 27fr 3.3fr 17.4fr 18.3fr 34fr; grid-template-rows: auto auto 1fr; gap: 0; }
  .meta__titulo { grid-column: 1 / 4; grid-row: 1; padding: 0 0 0 3vw; max-width: 30ch; margin-bottom: clamp(28px, 2.9vw, 56px); }
  .meta__foto--a { grid-column: 1; grid-row: 2 / 4; width: 100%; border-radius: 0 5.6vw 5.6vw 0; }
  .meta__texto { grid-column: 3; grid-row: 2; padding: 4px 0 0; }
  .meta__cierre { grid-column: 3 / 5; grid-row: 3; padding: 32px 0 0; align-self: end; max-width: 23ch; }
  .meta__foto--b { grid-column: 5; grid-row: 1 / 4; width: 100%; aspect-ratio: auto; min-height: 100%; border-radius: 5.9vw 0 0 0; margin-bottom: -4vw; }
}

/* ---------- Celebraciones ---------- */
.cel { padding: clamp(40px, 7vw, 96px) 0 clamp(64px, 9vw, 128px); max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; }
.cel > .h-sec { padding: 0 var(--gut); margin-bottom: clamp(24px, 4vw, 48px); }
.cel__grid { display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 320px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px var(--gut) 16px; scroll-padding-inline: var(--gut); scrollbar-width: thin; scrollbar-color: var(--dorado) transparent; overscroll-behavior-x: contain; }
.cel__item { scroll-snap-align: start; display: grid; grid-template-rows: auto auto 1fr auto; gap: 12px; }
.cel__h { font: 700 .8rem/1 var(--f-sans); letter-spacing: .12em; text-transform: uppercase; }
.cel__foto { display: block; overflow: hidden; aspect-ratio: 4 / 5; background: var(--cafe-2); }
.cel__item--boda .cel__foto { border-bottom-left-radius: clamp(36px, 3.6vw, 68px); }
.cel__item--corp .cel__foto { border-top-right-radius: clamp(36px, 3.6vw, 68px); }
.cel__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.cel__item:hover .cel__foto img { transform: scale(1.05); }
.cel__item p { color: var(--muted); font-size: .9rem; line-height: 1.55; }
.cel__item .link-arrow { justify-self: end; }
.cel__cta { display: flex; justify-content: center; margin-top: clamp(24px, 4vw, 48px); padding: 0 var(--gut); }
@media (min-width: 820px) {
  .cel__grid { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; gap: clamp(24px, 5vw, 96px); padding-bottom: 0; }
}

/* ---------- Menú (oscuro) ---------- */
.menu { background: var(--cafe); color: var(--crema); padding: clamp(56px, 4.6vw, 96px) 0 clamp(64px, 6.5vw, 128px); clip-path: inset(var(--clip, 0px) var(--clip-x, 0px) round var(--clip-r, 0px)); }
.menu__in { --circ: 96px; max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); display: grid; gap: 36px; }
.menu__intro { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; }
.doti { display: block; }
.doti img { display: block; width: 100%; height: auto; }
/* Doti del menú: versión de Sofi para fondo oscuro (líneas y relleno pensados para café), sin placa.
   .doti--placa = la placa crema anterior, con Doti entero adentro (para la versión de líneas café). */
.doti--menu { width: clamp(100px, 26vw, 180px); }
@media (min-width: 900px) { .doti--menu { width: clamp(120px, 10vw, 180px); } }
.doti--placa { --dw: clamp(112px, 28vw, 190px); width: var(--dw); background: var(--crema); border-radius: 46% 46% 28px 28px;
  padding: calc(var(--dw) * .16) calc(var(--dw) * .12) calc(var(--dw) * .08); }
@media (min-width: 900px) { .doti--placa { --dw: clamp(132px, 11vw, 196px); } }

/* Menú: la tarjeta caliente echa vapor y la fría brilla, solo después de entrar en pantalla (.fx-on) */
.menu__fx { position: absolute; left: 50%; pointer-events: none; z-index: 1; }
.menu__fx--vapor { top: calc(var(--circ) * -1.02); width: calc(var(--circ) * .62); translate: -50% 0; }
.menu__fx--vapor svg { width: 100%; height: auto; overflow: visible; fill: none; stroke: var(--crema); stroke-width: 2.6; stroke-linecap: round; }
.menu__fx--vapor path { opacity: 0; }
.fx-on .menu__fx--vapor path { animation: vapor 3.6s cubic-bezier(.25, 1, .5, 1) infinite; }
.fx-on .menu__fx--vapor path:nth-child(2) { animation-delay: 1.2s; }
.fx-on .menu__fx--vapor path:nth-child(3) { animation-delay: 2.4s; }
@keyframes vapor { 0% { opacity: 0; transform: translateY(14px) scaleY(.7); } 30% { opacity: .55; } 100% { opacity: 0; transform: translateY(-16px) scaleY(1.1); } }
.menu__fx--hielo { top: 0; width: var(--circ); height: var(--circ); translate: -50% -50%; }
.menu__fx--hielo svg { position: absolute; width: 18%; fill: #FFFDF9; opacity: 0; scale: .2; }
.menu__fx--hielo svg:nth-child(1) { top: 2%; right: -6%; }
.menu__fx--hielo svg:nth-child(2) { bottom: 8%; left: -10%; width: 13%; }
.menu__fx--hielo svg:nth-child(3) { top: 34%; right: -16%; width: 10%; }
.fx-on .menu__fx--hielo svg { animation: destello 4.2s cubic-bezier(.25, 1, .5, 1) infinite; }
.fx-on .menu__fx--hielo svg:nth-child(2) { animation-delay: 1.4s; }
.fx-on .menu__fx--hielo svg:nth-child(3) { animation-delay: 2.6s; }
@keyframes destello { 0%, 100% { opacity: 0; scale: .2; rotate: 0deg; } 12% { opacity: 1; scale: 1; } 30% { opacity: 0; scale: .4; rotate: 45deg; } }
.menu__col--fria .menu__circ::after { content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .55) 48%, transparent 60%); translate: -120% 0; }
.menu__col--fria.fx-on .menu__circ::after { animation: brillo 5s cubic-bezier(.645, .045, .355, 1) .2s infinite; }
@keyframes brillo { 0% { translate: -120% 0; } 28%, 100% { translate: 120% 0; } }

/* Doti en el cotizador: celebra (saltito, brazos arriba y confeti) o se le cae el café */
.doti-fx { position: relative; display: block; }
.doti-fx > .doti { transform-origin: 50% 100%; }
.doti-fx__capa { position: absolute; inset: 0; pointer-events: none; }
.doti--brazos { position: absolute; left: 0; bottom: 0; opacity: 0; }
.doti-fx.is-celebra > .doti:not(.doti--brazos) { animation: doti-salta .9s cubic-bezier(.25, 1, .5, 1) 2; }
.doti-fx.is-celebra > .doti--brazos { animation: doti-brazos 1.8s steps(1, end) 1, doti-salta .9s cubic-bezier(.25, 1, .5, 1) 2; }
.doti-fx.is-celebra > .doti--mini:not(.doti--brazos) { animation: doti-salta .9s cubic-bezier(.25, 1, .5, 1) 2, doti-oculta 1.8s steps(1, end) 1; }
@keyframes doti-salta { 0% { transform: none; } 18% { transform: scale(1.06, .9); } 45% { transform: translateY(-14px) scale(.96, 1.05); } 70% { transform: translateY(0) scale(1.04, .95); } 100% { transform: none; } }
@keyframes doti-brazos { 0% { opacity: 1; } 100% { opacity: 0; } }
@keyframes doti-oculta { 0% { opacity: 0; } 100% { opacity: 1; } }
.doti-fx__capa i { position: absolute; left: 50%; top: 42%; width: 7px; height: 11px; border-radius: 2px; opacity: 0;
  animation: confeti 1.25s cubic-bezier(.22, 1, .36, 1) var(--d, 0ms) 1 both; }
.doti-fx__capa i.redondo { width: 7px; height: 7px; border-radius: 50%; }
@keyframes confeti {
  0% { opacity: 1; transform: translate(-50%, 0) rotate(0); }
  60% { opacity: 1; transform: translate(calc(-50% + var(--x)), var(--y)) rotate(var(--r)); }
  100% { opacity: 0; transform: translate(calc(-50% + var(--x) * 1.1), calc(var(--y) + 34px)) rotate(calc(var(--r) * 1.4)); } }
/* Derrame: Doti se tropieza hacia adelante, caen tres gotas de la tacita y queda un charquito */
.doti-fx.is-derrama > .doti:not(.doti--brazos) { animation: doti-tropieza 1.6s cubic-bezier(.25, 1, .5, 1) 1 both; }
@keyframes doti-tropieza { 0% { transform: none; } 12% { transform: rotate(-24deg) translateX(-4px); } 26% { transform: rotate(-15deg); } 40% { transform: rotate(-20deg); } 70% { transform: rotate(-6deg) translateX(2px); } 85% { transform: rotate(3deg); } 100% { transform: none; } }
.doti-fx__capa .gota { left: 26%; top: 52%; width: 10px; height: 14px; --caida: 30px; border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%; background: #C48A57; opacity: 0;
  animation: gota .7s cubic-bezier(.55, 0, 1, .45) .22s 1 both; }
.doti-fx__capa .gota--2 { left: 16%; width: 7px; height: 10px; animation-delay: .34s; }
.doti-fx__capa .gota--3 { left: 36%; width: 7px; height: 11px; animation-delay: .44s; }
@keyframes gota { 0% { opacity: 0; transform: translateY(0) scale(.6); } 15% { opacity: 1; } 85% { opacity: 1; transform: translateY(calc(var(--caida, 34px))) scale(1); } 100% { opacity: 0; transform: translateY(var(--caida, 34px)) scale(1.4, .4); } }
.doti-fx__capa .charco { left: -8%; top: auto; bottom: -8px; width: 96%; height: 13px; border-radius: 50%; background: #C48A57;
  box-shadow: inset 6px -2px 0 -3px rgba(241, 233, 226, .55); transform-origin: 40% 50%; opacity: 0; animation: charco 2.4s cubic-bezier(.25, 1, .5, 1) .75s 1 both; }
@keyframes charco { 0% { opacity: 1; transform: scale(.1, .4); } 25% { opacity: 1; transform: scale(1.08, 1); } 35% { transform: scale(1); } 80% { opacity: 1; } 100% { opacity: 0; transform: scale(1); } }
.res__cancelar { justify-self: center; min-height: 44px; font-size: .78rem; font-weight: 600; color: var(--muted-osc); }
.res__cancelar:hover { color: var(--crema); }
@media (prefers-reduced-motion: reduce) {
  /* Versión quieta: confeti y movimiento apagados; el derrame se muestra como imagen fija (charco) mientras dura el mensaje */
  .doti-fx__capa i:not(.charco) { display: none; }
  .doti-fx.is-derrama .charco { animation: none !important; opacity: 1; }
  .doti-fx.is-celebra > .doti--brazos { animation: none !important; opacity: 1; }
  .doti-fx.is-celebra > .doti--mini:not(.doti--brazos) { animation: none !important; opacity: 0; }
  .menu__fx { display: none; }
  .menu__col--fria .menu__circ::after { display: none; }
}
.menu__bajada { color: var(--muted-osc); margin-top: 12px; max-width: 36ch; line-height: 1.7; }
.menu__sumarle { background: var(--cafe-2); border-radius: var(--r-m); padding: 24px; display: grid; gap: 16px; align-content: start; }
.sumarle li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--linea-osc); font-size: .92rem; }
.sumarle li:first-child { border-top: 0; }
.sumarle strong { display: block; font-weight: 600; }
.sumarle small { display: block; color: var(--muted-osc); font-size: .8rem; margin-top: 2px; }
.sumarle__p { color: var(--dorado); font-weight: 600; font-size: .82rem; white-space: nowrap; text-align: right; }
.menu__nota { color: var(--muted-osc); font-size: .82rem; }
.menu__sumarle .btn { justify-self: start; }
.menu__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding-top: calc(var(--circ) / 2); }
.menu__col { border: 1px solid rgba(201, 163, 106, .45); border-radius: 28px; padding: calc(var(--circ) / 2 + 20px) 12px 24px; position: relative; text-align: center; transition: border-color .5s, transform .6s var(--ease); }
.menu__col:hover { border-color: var(--dorado); transform: translateY(-4px); }
.menu__circ { position: absolute; top: 0; left: 50%; width: var(--circ); height: var(--circ); border-radius: 50%; overflow: hidden; transform: translate(-50%, -50%);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .45), 0 0 0 4px var(--cafe); transition: transform .8s var(--ease); }
.menu__col:hover .menu__circ { transform: translate(-50%, -50%) rotate(-12deg) scale(1.06); }
.menu__h { font: 600 1.55rem/1.1 var(--f-disp); color: var(--dorado); margin-bottom: 14px; }
.menu__circ img { width: 100%; height: 100%; object-fit: cover; }
.menu__list li { padding: 11px 4px; border-top: 1px solid rgba(201, 163, 106, .28); font: 500 .74rem/1.3 var(--f-sans); letter-spacing: .08em; text-transform: uppercase; }
@media (min-width: 900px) {
  .menu__in { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(40px, 6vw, 96px); row-gap: 40px; }
  .menu__intro { grid-column: 1; }
  .menu__sumarle { grid-column: 1; grid-row: 2; }
  .menu__in { --circ: clamp(100px, 7.5vw, 144px); }
  .menu__cols { grid-column: 2; grid-row: 1 / 3; gap: clamp(20px, 3vw, 56px); align-self: stretch; }
}

/* ---------- Pasos ---------- */
.pasos { padding: clamp(64px, 9vw, 120px) var(--gut) clamp(40px, 6vw, 72px); max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; }
.pasos .h-sec { margin-bottom: clamp(28px, 4vw, 48px); }
.pasos__list { display: grid; gap: 28px; counter-reset: p; }
.pasos__list li { border-top: 1px solid var(--linea); padding-top: 18px; display: grid; gap: 8px; align-content: start; }
.pasos__n { font: 600 2.6rem/1 var(--f-disp); color: var(--dorado); }
.pasos__list h3 { font: 700 .82rem/1.3 var(--f-sans); letter-spacing: .1em; text-transform: uppercase; }
.pasos__list p { color: var(--muted); font-size: .94rem; max-width: 34ch; }
@media (min-width: 640px) { .pasos__list { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
@media (min-width: 1024px) { .pasos__list { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Cotizador ---------- */
.cot { padding: clamp(40px, 6vw, 72px) var(--gut) clamp(72px, 10vw, 128px); max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; }
.cot__head { display: grid; gap: 10px; margin-bottom: 28px; }
.cot__eti { font: 700 .7rem/1 var(--f-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--dorado-osc); }
.cot__bajada { color: var(--muted); max-width: 52ch; }
.cot__grid { display: grid; gap: 24px; align-items: start; }
.cot__pasos { display: grid; gap: 14px; min-width: 0; }
.paso { background: var(--sup); border: 1px solid transparent; border-radius: var(--r-m); padding: 22px clamp(16px, 4vw, 28px) 24px; display: grid; gap: 14px; scroll-margin-top: calc(var(--head) + 16px); }
.paso__h { display: flex; align-items: baseline; gap: 12px; font: 700 .8rem/1.3 var(--f-sans); letter-spacing: .1em; text-transform: uppercase; padding: 0; float: left; width: 100%; margin-bottom: 4px; }
.paso__h + * { clear: both; }
.paso__n { font: 600 1.15rem/1 var(--f-disp); color: var(--dorado-osc); letter-spacing: 0; }
.paso__ayuda { font-size: .84rem; color: var(--muted); }
.paso__ayuda a { color: var(--cafe); font-weight: 600; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input, .tile input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--linea);
  background: #fff; font-weight: 600; font-size: .86rem; cursor: pointer; transition: background .3s, color .3s, border-color .3s, transform .2s var(--ease-q); }
.chip span:hover { border-color: var(--cafe); }
.chip input:checked + span { background: var(--cafe); color: var(--crema); border-color: var(--cafe); }
.chip input:focus-visible + span, .tile input:focus-visible + .tile__in { outline: 3px solid var(--cafe); outline-offset: 2px; }
.chip span:active { transform: scale(.96); }
.chips--sm span { min-height: 44px; padding: 0 16px; }

.stepper { display: flex; align-items: center; gap: 12px; }
.stepper__b { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--linea); background: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; transition: border-color .3s, transform .2s; }
.stepper__b:hover { border-color: var(--cafe); }
.stepper__b:active { transform: scale(.92); }
.stepper__v { width: 4.2ch; border: 0; background: none; text-align: center; font: 600 2.6rem/1 var(--f-disp); -moz-appearance: textfield; appearance: textfield; padding: 0; }
.stepper__v::-webkit-inner-spin-button, .stepper__v::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.rango { width: 100%; height: 32px; -webkit-appearance: none; appearance: none; background: none; cursor: pointer; --p: 16%; }
.rango::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--cafe) var(--p), var(--linea) var(--p)); }
.rango::-moz-range-track { height: 4px; border-radius: 4px; background: var(--linea); }
.rango::-moz-range-progress { height: 4px; background: var(--cafe); border-radius: 4px; }
.rango::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--cafe); border: 4px solid var(--sup); box-shadow: 0 0 0 1.5px var(--cafe); margin-top: -11px; }
.rango::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--cafe); border: 4px solid var(--sup); box-shadow: 0 0 0 1.5px var(--cafe); }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(136px, 1fr)); gap: 10px; }
.tile { position: relative; display: grid; }
.tile__in { display: grid; gap: 4px; align-content: start; justify-items: start; padding: 14px; border-radius: var(--r-s); border: 1.5px solid var(--linea); background: #fff;
  cursor: pointer; min-height: 64px; transition: border-color .3s, background .3s, transform .3s var(--ease); position: relative; }
.tile__in:hover { border-color: var(--cafe); }
.tile__in img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; margin-bottom: 4px; }
.tile__duo { display: flex; }
.tile__duo picture + picture { margin-left: -14px; }
.tile__duo picture + picture img { box-shadow: 0 0 0 2px #fff; }
/* Paso 03 como en el video: foto redonda arriba, todo centrado */
.tiles--centro .tile__in { justify-items: center; text-align: center; padding: 18px 12px 16px; }
.tiles--centro .tile__in img { width: 64px; height: 64px; margin-bottom: 8px; box-shadow: 0 6px 16px rgba(43, 29, 27, .18); }
.tiles--centro .tile__in > strong, .tiles--centro .tile__in > small:first-of-type { padding: 0 8px; }
.tile__in strong { font-size: .9rem; }
.tile__in small { font-size: .78rem; color: var(--muted); line-height: 1.4; }
.tile input:checked + .tile__in { border-color: var(--cafe); background: #F6EEE6; box-shadow: inset 0 0 0 1px var(--cafe); }
.tile__in::after { content: ""; position: absolute; top: 12px; right: 12px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--linea); background: #fff; transition: background .3s, border-color .3s; }
.tiles--check .tile__in::after { border-radius: 5px; }
.tile input:checked + .tile__in::after { background: var(--cafe) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 10 3 3 7-7' fill='none' stroke='%23F1E9E2' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; border-color: var(--cafe); }
.tile__precio { font-size: .78rem; font-weight: 700; color: var(--dorado-osc); margin-top: 4px; }
.tile__in > strong, .tile__in > small:first-of-type { padding-right: 22px; }

.sub { display: grid; gap: 10px; padding-top: 4px; }
.sub__h { font-size: .8rem; font-weight: 600; color: var(--muted); }

/* Calendario */
.cal { display: grid; gap: 18px; }
.cal__nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal__titulo { font: 600 1.15rem/1 var(--f-disp); }
.cal__btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--linea); background: #fff; display: grid; place-items: center; cursor: pointer; }
.cal__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cal__btn:disabled { opacity: .35; cursor: default; }
.cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.cal__grid [role="row"] { display: contents; }
.cal__dow { font: 700 .66rem/1 var(--f-sans); letter-spacing: .08em; color: var(--muted); text-align: center; padding: 6px 0 8px; text-transform: uppercase; }
.cal__dia { position: relative; aspect-ratio: 1; min-height: 40px; border: 0; border-radius: 12px; background: none; font: 600 .9rem/1 var(--f-sans); cursor: pointer; display: grid; place-items: center; transition: background .25s, color .25s; }
.cal__dia::after { content: ""; position: absolute; bottom: 6px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: transparent; }
.cal__dia[data-estado="libre"]::after { background: var(--ok); }
.cal__dia[data-estado="pocas"]::after { background: var(--dorado-osc); }
.cal__dia:hover:not(:disabled) { background: #EFE4DA; }
.cal__dia:disabled { color: rgba(43, 29, 27, .38); cursor: not-allowed; }
.cal__dia[data-estado="ocupado"] { text-decoration: line-through; }
.cal__dia[aria-selected="true"] { background: var(--cafe); color: var(--crema); }
.cal__dia[aria-selected="true"]::after { background: var(--dorado); }
.cal__dia.is-hoy { box-shadow: inset 0 0 0 1.5px var(--linea); }
.cal__vacio-dia { aspect-ratio: 1; }
.cal__ley { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font-size: .76rem; color: var(--muted); }
.cal__ley li { display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot--libre { background: var(--ok); } .dot--pocas { background: var(--dorado-osc); } .dot--ocupado { background: rgba(43, 29, 27, .3); }
.cal__estado { font-size: .82rem; color: var(--muted); margin-top: 6px; min-height: 1.2em; }
.cal__franjas { display: grid; gap: 8px; align-content: start; }
.cal__franjas h4 { font: 600 1rem/1.2 var(--f-disp); margin-bottom: 4px; }
.cal__vacio { font-size: .86rem; color: var(--muted); padding: 14px; border: 1.5px dashed var(--linea); border-radius: var(--r-s); }
.franja { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 56px; padding: 10px 14px; border-radius: var(--r-s); border: 1.5px solid var(--linea); background: #fff; cursor: pointer; text-align: left; transition: border-color .3s, background .3s; }
.franja strong { display: block; font-size: .92rem; }
.franja small { color: var(--muted); font-size: .78rem; }
.franja__e { font-size: .74rem; font-weight: 600; color: var(--ok); }
.franja[data-estado="pocas"] .franja__e { color: var(--dorado-osc); }
.franja:disabled { cursor: not-allowed; opacity: .55; }
.franja:disabled .franja__e { color: var(--muted); }
.franja:hover:not(:disabled) { border-color: var(--cafe); }
.franja[aria-pressed="true"] { background: var(--cafe); color: var(--crema); border-color: var(--cafe); }
.franja[aria-pressed="true"] small, .franja[aria-pressed="true"] .franja__e { color: var(--muted-osc); }
@media (min-width: 640px) { .cal { grid-template-columns: minmax(0, 1fr) 210px; } }

/* Campos */
.campos { display: grid; gap: 14px; }
.campo { display: grid; gap: 6px; align-content: start; }
.campo label { font-size: .82rem; font-weight: 600; }
.opc { font-weight: 400; color: var(--muted); }
.campo input:not([type="checkbox"]), .campo textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--r-s); border: 1.5px solid rgba(43, 29, 27, .22); background: #fff;
  font-size: 16px; transition: border-color .25s, box-shadow .25s; }
.campo textarea { resize: vertical; min-height: 96px; }
.campo input::placeholder, .campo textarea::placeholder { color: #7A6862; opacity: 1; }
.campo input:focus, .campo textarea:focus { outline: none; border-color: var(--cafe); box-shadow: 0 0 0 3px rgba(58, 37, 34, .18); }
.campo [aria-invalid="true"] { border-color: var(--error) !important; }
.check { grid-template-columns: 24px 1fr; align-items: start; column-gap: 10px; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--cafe); cursor: pointer; }
.check label { font-weight: 500; font-size: .86rem; line-height: 1.45; cursor: pointer; }
.check .err { grid-column: 2; }
.check a { color: var(--cafe); font-weight: 600; }
.err { color: var(--error); font-size: .8rem; font-weight: 600; }
.err--light { color: #FFB4A8; }
.ok { color: var(--ok); font-weight: 600; font-size: .9rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (min-width: 600px) { .campos { grid-template-columns: 1fr 1fr; } .campo--full { grid-column: 1 / -1; } }

/* Resumen */
.res { color: var(--crema); }
.res__bar { display: none; }
.res__panel { background: var(--cafe); border-radius: var(--r-l); padding: 24px; display: grid; gap: 14px; }
.res__doti { display: grid; grid-template-columns: 58px 1fr; gap: 10px; align-items: start; }
.doti--mini { width: 58px; }
.burbuja { position: relative; background: var(--crema); color: var(--tinta); border-radius: 16px 16px 16px 4px; padding: 12px 14px; font-size: .84rem; line-height: 1.45; }
.burbuja.is-new { animation: burbuja .6s var(--ease); }
@keyframes burbuja { from { transform: translateY(6px) scale(.98); opacity: .4; } }
.res__titulo { font: 700 .74rem/1 var(--f-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--dorado); margin-top: 4px; }
.res__desc { font-size: .82rem; color: var(--muted-osc); margin-top: -6px; }
.res__lineas { margin: 0; display: grid; }
.res__lineas div, .res__totales div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-top: 1px solid var(--linea-osc); }
.res__lineas dt { font-size: .86rem; font-weight: 600; }
.res__lineas dt small { display: block; font-weight: 400; color: var(--muted-osc); font-size: .74rem; margin-top: 2px; }
.res__lineas dd, .res__totales dd { margin: 0; font-size: .86rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.res__totales { margin: 0; }
.res__totales dt { font-size: .82rem; color: var(--muted-osc); }
.res__total { align-items: baseline; }
.res__total dt { font: 700 .8rem/1 var(--f-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--crema) !important; }
.res__total output { font: 600 clamp(1.9rem, 1.4rem + 1.6vw, 2.5rem)/1 var(--f-disp); color: var(--dorado); font-variant-numeric: tabular-nums; }
.res__porinv { font-size: .78rem; color: var(--muted-osc); text-align: right; margin-top: -8px; }
.res__anticipo { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--cafe-2); border-radius: var(--r-s); padding: 12px 14px; font-size: .8rem; }
.res__anticipo strong { font: 600 1.15rem/1 var(--f-disp); color: var(--crema); white-space: nowrap; }
.res__fecha { font-size: .82rem; color: var(--muted-osc); display: flex; gap: 8px; }
.res__fecha.is-ok { color: var(--crema); }
.res__nota { font-size: .74rem; color: var(--muted-osc); text-align: center; }
@media (min-width: 960px) {
  .cot__grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; }
  /* Sin scroll interno (Cris 23-nov): el resumen va pegado arriba; si es más alto que la pantalla, main.js le da un
     «top» negativo para que baje con la página y se quede pegado por su borde de abajo (nunca queda cortado). */
  .res { position: sticky; top: calc(var(--head) + 16px); max-height: calc(100vh - var(--head) - 32px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
}
@media (max-width: 959.98px) {
  .res { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-bar); transform: translateY(110%); transition: transform .5s var(--ease); pointer-events: none; }
  body.en-cot .res { transform: none; pointer-events: auto; }
  .res__bar { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 10px; padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom));
    background: var(--cafe); color: var(--crema); border-radius: 22px 22px 0 0; box-shadow: 0 -10px 30px rgba(43, 29, 27, .25); position: relative; z-index: 2; }
  .res__toggle { flex: 1; display: flex; align-items: center; gap: 10px; min-height: 52px; background: none; border: 0; color: inherit; text-align: left; cursor: pointer; padding: 0; }
  .res__bar-l small { display: block; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-osc); }
  .res__bar-l strong { font: 600 1.45rem/1.1 var(--f-disp); color: var(--dorado); font-variant-numeric: tabular-nums; }
  .res__toggle svg { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--cafe-2); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
  .res__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .res__bar .btn { min-height: 48px; }
  .res__panel { position: absolute; left: 0; right: 0; bottom: 100%; margin-bottom: -22px; padding-bottom: 40px; border-radius: 24px 24px 0 0; max-height: calc(100svh - var(--head) - 60px); overflow: auto; overscroll-behavior: contain; scrollbar-width: none;
    box-shadow: 0 -12px 40px rgba(43, 29, 27, .35); transform: translateY(calc(100% + 120px)); visibility: hidden; transition: transform .55s var(--ease), visibility 0s .55s; }
  .res__panel::-webkit-scrollbar { display: none; }
  .res.is-open .res__panel { transform: none; visibility: visible; transition: transform .55s var(--ease); }
  .cot { padding-bottom: 140px; }
}

/* ---------- Preguntas frecuentes ---------- */
.preg { padding: clamp(56px, 8vw, 112px) var(--gut) clamp(16px, 3vw, 40px); max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; }
.preg .h-sec { margin-bottom: clamp(20px, 3vw, 36px); }
.faq { max-width: 860px; }
.faq__item { border-top: 1px solid var(--linea); }
.faq__item:last-child { border-bottom: 1px solid var(--linea); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 600; font-size: .95rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; border: 1.5px solid var(--linea);
  background: linear-gradient(var(--cafe), var(--cafe)) center / 10px 1.5px no-repeat, linear-gradient(var(--cafe), var(--cafe)) center / 1.5px 10px no-repeat; transition: transform .45s var(--ease); }
.faq__item[open] summary::after { transform: rotate(135deg); }
.faq__r { padding: 0 0 20px; color: var(--muted); max-width: 66ch; display: grid; gap: 10px; }
.faq__item[open] .faq__r { animation: abre .5s var(--ease); }
@keyframes abre { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Pie de la portada (crema, como el video) ---------- */
.fin { padding: clamp(56px, 8vw, 112px) var(--gut) calc(96px + env(safe-area-inset-bottom)); }
.fin__in { max-width: var(--max); margin: 0 auto; display: grid; gap: 48px; }
.fin__nav ul { display: grid; }
.fin__nav a { display: inline-block; padding: 11px 0; font: 600 .72rem/1.2 var(--f-sans); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; position: relative; }
.fin__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 5px; height: 1.5px; background: var(--dorado-osc); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.fin__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.fin .redes { margin-top: 22px; }
.fin .redes a { width: 46px; height: 46px; border: 0; background: var(--cafe); color: var(--crema); }
.fin .redes a:hover { background: var(--dorado); color: var(--tinta); }
.fin__cierre { margin-top: clamp(28px, 3vw, 44px); font: 700 clamp(1rem, .88rem + .35vw, 1.2rem)/1.2 var(--f-sans); letter-spacing: .02em; text-transform: uppercase; }
.fin__h { font: 700 clamp(1.05rem, .92rem + .4vw, 1.3rem)/1.2 var(--f-sans); letter-spacing: .01em; text-transform: uppercase; }
.fin__sub { margin-top: 8px; font: 500 .72rem/1.4 var(--f-sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.fin__form { display: grid; gap: 10px; margin-top: 18px; }
.campo--linea input:not([type="checkbox"]), .campo--linea textarea { min-height: 48px; padding: 14px 0 10px; border: 0; border-bottom: 1.5px solid rgba(43, 29, 27, .42); border-radius: 0; background: transparent; }
.campo--linea textarea { min-height: 56px; resize: vertical; }
.campo--linea input::placeholder, .campo--linea textarea::placeholder { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.campo--linea input:focus, .campo--linea textarea:focus { border-bottom-color: var(--cafe); box-shadow: 0 1.5px 0 var(--cafe); }
.fin__form .check { margin-top: 8px; }
.fin__form .check label { font-size: .78rem; color: var(--muted); }
.fin__form .btn { margin-top: 8px; }
.fin__wa { justify-self: center; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 600 .72rem/1 var(--f-sans); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.fin__wa svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.fin__wa:hover { color: var(--dorado-osc); }
.fin__legal { max-width: var(--max); margin: clamp(48px, 6vw, 88px) auto 0; padding-top: 18px; border-top: 1px solid var(--linea); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 24px; font-size: .78rem; color: var(--muted); }
.fin__legal ul { display: flex; flex-wrap: wrap; gap: 0 18px; }
.fin__legal a { display: inline-block; padding: 10px 0; text-decoration: none; }
.fin__legal a:hover { color: var(--tinta); text-decoration: underline; }
.fin__legal .linkbtn { color: inherit; font-size: inherit; min-height: 44px; }
@media (min-width: 760px) { .fin__in { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); align-items: start; } }

/* ---------- Pie ---------- */
.pie { background: var(--cafe); color: var(--crema); padding: clamp(64px, 9vw, 112px) var(--gut) calc(96px + env(safe-area-inset-bottom)); }
.pie > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.pie__cierre { font: 800 clamp(2.4rem, 1rem + 7vw, 5.8rem)/.95 var(--f-disp); letter-spacing: -.03em; color: var(--crema); max-width: 13ch; margin-left: 0; }
@media (min-width: 1200px) { .pie__cierre { margin-left: auto; max-width: var(--max); } }
.pie__grid { display: grid; gap: 32px; margin-top: clamp(40px, 6vw, 72px); padding-top: 32px; border-top: 1px solid var(--linea-osc); }
.pie__marca p { color: var(--muted-osc); font-size: .9rem; margin-top: 12px; max-width: 34ch; }
.redes { display: flex; gap: 10px; margin-top: 18px; }
.redes a { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--linea-osc); transition: background .35s, border-color .35s, transform .35s var(--ease); }
.redes a:hover { background: var(--dorado); border-color: var(--dorado); color: var(--tinta); transform: translateY(-3px); }
.redes svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pie__nav ul { display: grid; gap: 2px; }
.pie__nav a { display: inline-block; padding: 8px 0; text-decoration: none; font-size: .9rem; color: var(--muted-osc); transition: color .3s; }
.pie__nav a:hover { color: var(--dorado); }
.pie__legal { margin-top: 40px; color: var(--muted-osc); }
.pie__legal .linkbtn { color: inherit; font-size: inherit; min-height: 44px; }
@media (min-width: 760px) { .pie__grid { grid-template-columns: 2fr 1fr 1fr; } }

/* ---------- CTA móvil ---------- */
.cta-movil { position: fixed; left: var(--gut); right: calc(var(--gut) + 72px); bottom: calc(14px + env(safe-area-inset-bottom)); z-index: var(--z-bar);
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; border-radius: 999px; background: var(--cafe); color: var(--crema);
  font: 600 .8rem/1 var(--f-sans); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; box-shadow: 0 10px 28px rgba(43, 29, 27, .3);
  transform: translateY(160%); transition: transform .55s var(--ease); }
body.cta-on:not(.en-cot) .cta-movil { transform: none; }
@media (min-width: 960px) { .cta-movil { display: none; } }

/* ---------- Chat ---------- */
.chat { position: fixed; right: var(--gut); bottom: calc(14px + env(safe-area-inset-bottom)); z-index: var(--z-chat); }
body.en-cot .chat { bottom: calc(92px + env(safe-area-inset-bottom)); }
@media (min-width: 960px) { .chat, body.en-cot .chat { right: 24px; bottom: 24px; } }
.chat { transition: bottom .5s var(--ease); }
.chat__btn { position: relative; width: 60px; height: 60px; border-radius: 50%; border: 1.5px solid var(--cafe); background: var(--crema); cursor: pointer; display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(43, 29, 27, .25); transition: transform .4s var(--ease); }
.chat__btn:hover { transform: translateY(-3px) rotate(-4deg); }
.doti--btn { width: 40px; }
.chat__hola { position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%); white-space: nowrap; background: var(--cafe); color: var(--crema);
  font-size: .8rem; font-weight: 600; padding: 10px 14px; border-radius: 14px 14px 4px 14px; box-shadow: 0 8px 22px rgba(43, 29, 27, .2);
  opacity: 0; pointer-events: none; transition: opacity .5s, transform .5s var(--ease); }
.chat__hola.is-on { opacity: 1; transform: translateY(-50%) translateX(-4px); }
@media (max-width: 959.98px) { .chat__hola { display: none; } }
.chat__btn[aria-expanded="true"] { display: none; }
.chat__panel { position: fixed; z-index: var(--z-chat); left: 0; right: 0; bottom: 0; height: min(86svh, 640px); background: var(--crema); border-radius: 24px 24px 0 0;
  box-shadow: 0 -16px 50px rgba(43, 29, 27, .3); display: grid; grid-template-rows: auto 1fr auto auto auto; overflow: hidden; animation: sube .5s var(--ease); }
@keyframes sube { from { transform: translateY(40px); opacity: 0; } }
@media (min-width: 640px) { .chat__panel { left: auto; right: 24px; bottom: 24px; width: 380px; height: min(620px, calc(100svh - 48px)); border-radius: 24px; } }
.chat__head { display: grid; grid-template-columns: 40px 1fr 44px; gap: 10px; align-items: center; padding: 12px 12px 12px 16px; background: var(--cafe); color: var(--crema); }
.doti--chat { width: 40px; height: 40px; background: var(--crema); border-radius: 50%; padding: 3px; overflow: hidden; }
.doti--chat img { height: 100%; width: auto; margin: 0 auto; }
.chat__head h2 { font: 600 1.1rem/1 var(--f-disp); }
.chat__head p { font-size: .74rem; color: var(--muted-osc); }
.chat__x { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--cafe-2); color: var(--crema); display: grid; place-items: center; cursor: pointer; }
.chat__x svg, .modal__x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.chat__log { overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: .9rem; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; animation: burbuja .45s var(--ease); }
.msg--doti { background: #fff; border: 1px solid var(--linea); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg--yo { background: var(--cafe); color: var(--crema); border-bottom-right-radius: 4px; align-self: flex-end; }
.msg--escribiendo { color: var(--muted); font-style: italic; }
.msg a { color: inherit; font-weight: 600; }
.chat__sug { display: flex; gap: 8px; overflow-x: auto; padding: 0 16px 10px; scrollbar-width: none; }
.chat__sug button { flex: none; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--cafe); background: none; font-size: .8rem; font-weight: 600; cursor: pointer; }
.chat__sug button:hover { background: var(--cafe); color: var(--crema); }
.chat__form { display: grid; grid-template-columns: 1fr 48px; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--linea); background: var(--sup); }
.chat__form input { min-height: 48px; border-radius: 999px; border: 1.5px solid rgba(43, 29, 27, .22); padding: 0 16px; font-size: 16px; background: #fff; }
.chat__form input:focus { outline: none; border-color: var(--cafe); }
.chat__send { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--cafe); color: var(--crema); display: grid; place-items: center; cursor: pointer; }
.chat__send svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chat__aviso { font-size: .7rem; color: var(--muted); padding: 0 16px calc(10px + env(safe-area-inset-bottom)); background: var(--sup); }
.chat__aviso a { color: var(--cafe); }

/* ---------- Modal ---------- */
.modal { width: min(460px, calc(100vw - 32px)); border: 0; border-radius: 28px; padding: 28px 24px 24px; background: var(--crema); color: var(--tinta); text-align: center;
  box-shadow: 0 30px 80px rgba(43, 29, 27, .4); }
.modal[open] { display: grid; gap: 10px; justify-items: center; animation: modal .6s var(--ease); }
@keyframes modal { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.modal::backdrop { background: rgba(43, 29, 27, .6); }
.modal__x-f { position: absolute; top: 10px; right: 10px; margin: 0; }
.modal__x { width: 44px; height: 44px; border-radius: 50%; border: 0; background: #E8DDD3; display: grid; place-items: center; cursor: pointer; }
.doti--modal { width: 88px; }
.modal h2 { font: 800 1.9rem/1.05 var(--f-disp); }
.modal__cod { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.modal__cod strong { color: var(--tinta); letter-spacing: .04em; }
.modal__fecha { font-weight: 600; }
.modal p { font-size: .92rem; max-width: 38ch; }
.modal__acc { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }

/* ---------- Cookies ---------- */
.cookies { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: var(--z-cookies); background: var(--sup); border: 1px solid var(--linea);
  border-radius: var(--r-m); padding: 18px; box-shadow: 0 18px 50px rgba(43, 29, 27, .25); display: grid; gap: 14px; font-size: .86rem; animation: sube .6s var(--ease); }
.cookies a { color: var(--cafe); font-weight: 600; }
.cookies__acc { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cookies__acc .btn { padding: 0 .8em; }
body.cookies-on .cta-movil, body.cookies-on .chat { visibility: hidden; }
@media (min-width: 640px) { .cookies { left: 24px; right: auto; bottom: 24px; max-width: 420px; } body.cookies-on .chat { visibility: visible; } }

/* ---------- Páginas legales y 404 ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: clamp(40px, 7vw, 88px) var(--gut) clamp(64px, 9vw, 112px); }
.legal__volver { display: inline-flex; margin-bottom: 18px; }
.legal h1 { font: 800 clamp(2rem, 1.2rem + 3.6vw, 3.4rem)/1.02 var(--f-disp); letter-spacing: -.02em; margin-bottom: 24px; }
.legal article { display: grid; gap: 14px; line-height: 1.7; }
.legal article h2 { font: 700 1rem/1.3 var(--f-sans); letter-spacing: .06em; text-transform: uppercase; margin-top: 22px; }
.legal article h3 { font: 600 1.15rem/1.3 var(--f-disp); margin-top: 10px; }
.legal article h4 { font-size: 1rem; margin-top: 6px; }
.legal article ul, .legal article ol { padding-left: 1.3em; display: grid; gap: 6px; }
.legal article ul { list-style: disc; } .legal article ol { list-style: decimal; }
.legal article a { color: var(--cafe); font-weight: 600; }
.legal .nota { background: var(--sup); border: 1px solid var(--linea); border-radius: var(--r-s); padding: 14px 16px; }
.tabla { overflow-x: auto; }
.tabla table { border-collapse: collapse; width: 100%; font-size: .88rem; }
.tabla th, .tabla td { border-bottom: 1px solid var(--linea); padding: 10px 8px; text-align: left; vertical-align: top; }
.nf { min-height: calc(100svh - var(--head)); display: grid; place-content: center; justify-items: center; gap: 16px; text-align: center; padding: 48px var(--gut); }
.nf .doti { width: 150px; }
.nf h1 { font: 800 clamp(2.2rem, 1.4rem + 4vw, 4rem)/1 var(--f-disp); }
.nf p { color: var(--muted); max-width: 34ch; }

/* ---------- Imprimible ---------- */
.print { display: none; }

/* ---------- Movimiento ----------
   El contenido es visible por defecto. Solo cuando main.js confirma que el
   observador está listo (html.mo) se aplica el estado inicial oculto. */
/* La entrada en sí (Glide In / Turn In de Blossom) la hace main.js con la Web Animations API; aquí solo se
   esconde lo que todavía no entró. Sin JS o con movimiento reducido no existe .mo y todo se ve desde el inicio. */
.mo [data-reveal]:not(.is-in) { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .mo [data-reveal]:not(.is-in) { opacity: 1 !important; }
  .doti img, .doti { animation: none !important; }
  .px img { transform: scale(1.02) !important; }
  .menu { clip-path: none !important; }
}

/* ---------- Impresión de la cotización ---------- */
@media print {
  @page { margin: 16mm; }
  body { background: #fff; }
  body > *:not(.print) { display: none !important; }
  .print { display: block !important; color: #000; font-size: 11pt; }
  .print h1 { font: 800 22pt/1.1 var(--f-disp); margin: 0 0 4pt; }
  .print .p-sub { color: #444; margin-bottom: 14pt; }
  .print table { width: 100%; border-collapse: collapse; margin: 10pt 0; }
  .print td, .print th { border-bottom: 1px solid #ccc; padding: 6pt 4pt; text-align: left; vertical-align: top; }
  .print td:last-child, .print th:last-child { text-align: right; white-space: nowrap; }
  .print .p-total td { font-weight: 700; font-size: 13pt; border-bottom: 2px solid #000; }
  .print .p-nota { color: #333; font-size: 9.5pt; margin-top: 10pt; }
}

/* Añadidos legales */
.res__nota a, .modal__chico a { color: inherit; font-weight: 600; }
.modal__chico { font-size: .78rem !important; color: var(--muted); }
.chat__gate { margin: 0 16px 12px; padding: 14px; border-radius: var(--r-s); background: #fff; border: 1px solid var(--linea); display: grid; gap: 12px; font-size: .8rem; color: var(--muted); align-self: end; }
.chat__gate a { color: var(--cafe); font-weight: 600; }
.chat__gate .btn { justify-self: start; }
.cookies__t { font: 700 1.15rem/1.2 var(--f-disp); }
.cookies__cfg { display: grid; gap: 10px; padding: 12px 0; border-top: 1px solid var(--linea); }
.cookies__cfg .check { display: grid; }
.cookies__cfg .check label { font-size: .8rem; }
.cookies__cfg .btn { justify-self: start; }
.cookies__conf { justify-self: center; min-height: 40px; font-size: .8rem; color: var(--cafe); font-weight: 600; }
mark.pend { background: #F3E2C2; color: var(--tinta); padding: 0 .25em; border-radius: 4px; }
.res__total output.pop { animation: pop .6s var(--ease); display: inline-block; }
@keyframes pop { 0% { transform: translateY(6px); opacity: .35; } }
.hero__media picture, .cel__foto picture, .px picture { display: block; width: 100%; height: 100%; }

body.res-abierto .chat { visibility: hidden; }
@media (max-width: 959.98px) { body.en-cot .chat__btn { width: 52px; height: 52px; } body.en-cot .doti--btn { width: 34px; } }

/* ---------- Doti: movimiento MUY sutil (vaivén lento, saludito al abrir el chat) ---------- */
@keyframes doti-vaiven { 0%, 100% { transform: rotate(-1.2deg) translateY(0); } 50% { transform: rotate(1.2deg) translateY(-2px); } }
@keyframes doti-respira { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.025); } }
@keyframes doti-saluda { 0% { transform: rotate(0); } 30% { transform: rotate(-7deg); } 60% { transform: rotate(4deg); } 100% { transform: rotate(0); } }
.doti--menu img, .doti--mini img, .doti--404 img, .doti--modal img { transform-origin: 50% 100%; animation: doti-vaiven 5.5s ease-in-out infinite; }
.doti--mini img { animation-duration: 6s; animation-delay: -2s; }
.doti--btn img { animation: doti-respira 6s ease-in-out infinite; }
.chat__panel:not([hidden]) .doti--chat img { transform-origin: 50% 90%; animation: doti-saluda 1.4s var(--ease-q) .25s 1; }
@media (prefers-reduced-motion: reduce) { .doti img { animation: none !important; } }

/* Doti del modal de reserva: el contenedor de efectos toma su tamaño */
.doti-fx--modal { width: 88px; }
/* Zoom del festejo al apartar la fecha: Doti sale del modal al centro, el resto se apaga un momento */
.modal.is-zoom-doti { overflow: visible; }
.modal.is-zoom-doti .doti-fx--modal { position: relative; z-index: 2; }
.modal.is-zoom-doti > :not(.doti-fx--modal) { opacity: .12; transition: opacity .45s var(--ease); }
.modal > :not(.doti-fx--modal) { transition: opacity .6s var(--ease); }

/* ---------- Pie crema corto (páginas legales y 404): el mismo lenguaje que el de la portada ---------- */
.fin--corto { border-top: 1px solid var(--linea); padding-bottom: calc(48px + env(safe-area-inset-bottom)); }
.fin__acc { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-top: 22px; }
