/* ================================================================
   mafra · cerámica co-work
   Paleta tomada del local: cemento alisado, pino, banquetas amarillas,
   barro y el verde salvia de los esmaltes.
   ================================================================ */

:root {
  --cemento: #E4E0D9;
  --cemento-2: #D6D1C8;
  --cemento-3: #B8B2A8;
  --pino: #E8CC9A;
  --pino-2: #D4AE72;
  --pino-dark: #9A6E38;
  --amarillo: #F5B800;
  --amarillo-2: #FFD24D;
  --tinta: #2A2622;
  --tinta-2: #5A534B;
  --barro: #C9784A;
  --barro-claro: #DDA176;
  --salvia: #8FA796;
  --wa: #1FAF56;

  --f-display: "Fraunces", Georgia, serif;
  --f-text: "Instrument Sans", system-ui, sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --r: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cemento);
  color: var(--tinta);
  font: 400 18px/1.6 var(--f-text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); font-weight: 450; font-variation-settings: "SOFT" 100, "opsz" 96; letter-spacing: -0.02em; line-height: 1.05; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--tinta); outline-offset: 3px; border-radius: 6px; }

/* textura de cemento alisado */
.cemento { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: -1; opacity: .55; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--tinta); color: var(--cemento); padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------------- botones ---------------- */
.btn {
  --bg: var(--tinta); --fg: var(--cemento);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 0 22px;
  background: var(--bg); color: var(--fg);
  border: 2px solid var(--bg); border-radius: 999px;
  font: 600 16px/1 var(--f-text); text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), box-shadow 200ms var(--ease-out), background-color 200ms;
  box-shadow: 0 2px 0 rgba(42,38,34,.25);
}
.btn .ico { width: 1.2em; height: 1.2em; flex: none; }
.btn--primary { --bg: var(--amarillo); --fg: var(--tinta); border-color: var(--tinta); box-shadow: 0 4px 0 var(--tinta); }
.btn--dark    { --bg: var(--tinta); --fg: #FFF8EC; box-shadow: 0 4px 0 rgba(0,0,0,.35); }
.btn--ghost   { --bg: transparent; --fg: var(--tinta); border-color: var(--tinta); box-shadow: none; }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: 15px; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn--xl { min-height: 64px; padding: 0 34px; font-size: 19px; }

@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover, .btn--dark:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--tinta); }
  .btn--dark:hover { box-shadow: 0 6px 0 rgba(0,0,0,.35); }
  .btn--ghost:hover { --bg: var(--tinta); --fg: var(--cemento); }
}
.btn:active { transform: translateY(2px) scale(.97); box-shadow: 0 1px 0 var(--tinta); transition-duration: 90ms; }

.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: .4em; align-items: center; min-height: 44px; }
.link-arrow span { transition: transform 200ms var(--ease-out); }
.link-arrow:hover span { transform: translateY(3px); }

.ulink { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; transition: background-size 260ms var(--ease-out); padding-bottom: 2px; }
@media (hover: hover) { .ulink:hover { background-size: 0 1.5px; background-position: 100% 100%; } }

/* ---------------- nav ---------------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(228,224,217,.94); transition: box-shadow 250ms var(--ease-out); }
.nav.is-scrolled { box-shadow: 0 1px 0 var(--cemento-3); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.logo { text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.logo__word { font: 500 34px/0.9 var(--f-display); font-variation-settings: "SOFT" 100, "opsz" 144; letter-spacing: -0.03em; }
.logo__sub { font-size: 12px; letter-spacing: .08em; color: var(--tinta-2); margin-top: 4px; }
.nav__links { display: flex; gap: clamp(18px, 2.2vw, 30px); }
.nav__links a { text-decoration: none; font-weight: 500; position: relative; padding: 10px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--amarillo); transform: scaleX(0); transform-origin: right; transition: transform 260ms var(--ease-out); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.show-sm { display: none; }

/* ---------------- hero ---------------- */
.hero { padding: clamp(24px, 5vw, 64px) 0 clamp(48px, 7vw, 96px); }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.eyebrow { font-weight: 600; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--tinta-2); margin-bottom: 20px; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--amarillo); box-shadow: 0 0 0 2px var(--tinta); }
.hero__title { font-size: clamp(48px, 7.4vw, 104px); line-height: .98; letter-spacing: -0.035em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .line > span { display: inline-block; }
.swash-word { position: relative; font-style: italic; font-weight: 400; color: var(--barro); white-space: nowrap; }
.swash { position: absolute; left: -2%; bottom: -.04em; width: 96%; height: .26em; overflow: visible; }
.swash path { fill: none; stroke: var(--amarillo); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 240; stroke-dashoffset: 0; }
.hero__lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--tinta-2); max-width: 34em; margin-top: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 36px; }

.hero__visual { position: relative; }
.arch { margin: 0; border-radius: 999px 999px var(--r) var(--r); overflow: hidden; aspect-ratio: 4 / 5; background: var(--pino); box-shadow: 0 0 0 2px var(--tinta); }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.mascot-spot { position: absolute; left: -9%; bottom: -6%; width: clamp(130px, 15vw, 200px); }

/* ---------------- taza con cara ---------------- */
.mascot { width: 100%; height: auto; overflow: visible; --happy: 0; cursor: pointer; }
.mascot .tc { transform-origin: 100px 160px; animation: wobble 4.6s var(--ease-io) infinite; }
.tc__shadow { fill: rgba(42,38,34,.18); }
.tc__body { fill: #DDA571; }
.tc__ear > circle:first-child { fill: var(--salvia); stroke: var(--tinta); stroke-width: 3; }
.tc__outline { fill: none; stroke: var(--tinta); stroke-width: 3; }
.tc__hole { fill: #EDE8DF; stroke: var(--tinta); stroke-width: 2; }
.tc__glaze { fill: var(--salvia); }
.tc__rim { fill: #6F8576; stroke: var(--tinta); stroke-width: 3; }
.tc__eye { fill: none; stroke: var(--tinta); stroke-width: 4; stroke-linecap: round; transition: opacity 180ms var(--ease-out); }
.tc__eye--closed { opacity: calc(1 - var(--happy)); }
.tc__eye--happy { opacity: var(--happy); }
.tc__nose { fill: #A9BFAF; stroke: var(--tinta); stroke-width: 3; stroke-linejoin: round; }
.tc__blush { fill: #E88A6E; opacity: calc(var(--happy) * .7); transition: opacity 220ms var(--ease-out); }
.tc__ear { transform-box: fill-box; transform-origin: center; }
.mascot.is-happy { --happy: 1; }
.mascot.is-happy .tc { animation: hop 520ms var(--ease-out) 1, wobble 4.6s var(--ease-io) 520ms infinite; }

@keyframes wobble { 0%,100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@keyframes hop { 0% { transform: translateY(0) scale(1,1); } 30% { transform: translateY(0) scale(1.06,.92); } 60% { transform: translateY(-14px) scale(.97,1.04); } 100% { transform: translateY(0) scale(1,1); } }

/* ---------------- franja amarilla ---------------- */
.marquee { background: var(--amarillo); border-block: 2px solid var(--tinta); overflow: hidden; padding: 18px 0; }
.marquee__track { display: flex; width: max-content; gap: 28px; align-items: center; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span { font: italic 400 clamp(24px, 3vw, 38px)/1 var(--f-display); font-variation-settings: "SOFT" 100; white-space: nowrap; }
.marquee i { font-style: normal; font-size: 22px; display: inline-block; animation: spin 6s linear infinite; }
@keyframes marquee { to { transform: translateX(calc(-50% - 14px)); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------- secciones ---------------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--alt { background: var(--cemento-2); border-block: 1px solid var(--cemento-3); }
.head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.head h2, .piezas__text h2, .close h2 { font-size: clamp(36px, 4.6vw, 64px); }
.head__side { color: var(--tinta-2); font-size: 18px; max-width: 30em; }

.photo { margin: 0; overflow: hidden; border-radius: var(--r); background: var(--cemento-3); box-shadow: 0 0 0 2px var(--tinta); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
@media (hover: hover) { .photo:hover img { transform: scale(1.035); } }

/* clases */
.clases__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 3vw, 40px); align-items: stretch; }
.photo--tall { aspect-ratio: 4 / 5; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 24px); }
.step { position: relative; background: #EEEBE5; border: 2px solid var(--tinta); border-radius: var(--r); padding: 28px 26px 30px; transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out); }
.step__n { font: 400 15px/1 var(--f-text); font-weight: 600; letter-spacing: .08em; color: var(--tinta-2); }
.step__ico { display: block; width: 52px; height: 52px; margin: 18px 0 14px; fill: none; stroke: var(--tinta); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform 300ms var(--ease-out); }
.step__ico .flame { fill: var(--amarillo); stroke-width: 1.6; transform-origin: 24px 26px; }
.step h3 { font-size: clamp(26px, 2.4vw, 32px); margin-bottom: 8px; }
.step p { color: var(--tinta-2); font-size: 17px; line-height: 1.5; }
@media (hover: hover) {
  .step:hover { transform: translateY(-3px); box-shadow: 0 6px 0 var(--tinta); }
  .step:hover .step__ico { transform: rotate(-8deg) scale(1.06); }
  .step:hover .flame { animation: flicker 600ms ease-in-out infinite alternate; }
}
@keyframes flicker { from { transform: scale(1); } to { transform: scale(1.25, 1.4); } }

/* elegí tu primera pieza */
.picker { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; background: var(--pino); border: 2px solid var(--tinta); border-radius: calc(var(--r) * 1.6); padding: clamp(28px, 4vw, 56px);
  background-image: repeating-linear-gradient(92deg, rgba(154,110,56,.0) 0 26px, rgba(154,110,56,.10) 27px 28px, rgba(154,110,56,0) 29px 61px, rgba(154,110,56,.07) 62px 63px); }
.picker__title { font-size: clamp(30px, 3.4vw, 46px); max-width: 12em; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 28px; }
.chip { min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid var(--tinta); background: #FBF3E3; color: var(--tinta); font: 600 16px/1 var(--f-text); cursor: pointer; transition: transform 160ms var(--ease-out), background-color 200ms; }
.chip:hover { transform: translateY(-2px); }
.chip:active { transform: scale(.96); }
.chip[aria-checked="true"] { background: var(--amarillo); box-shadow: 0 3px 0 var(--tinta); }
.picker__note { margin-top: 22px; color: #4A3A26; font-size: 16px; }
#picker-label { font-weight: 700; display: inline-block; }
#picker-label.swap { animation: labelSwap 320ms var(--ease-out); }
@keyframes labelSwap { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.wheel { display: grid; place-items: center; }
.wheel__svg { width: 100%; max-width: 420px; overflow: visible; }
.piece path, .piece ellipse { fill: var(--barro-claro); stroke: var(--tinta); stroke-width: 3; stroke-linejoin: round; }
.piece .handle { fill: none; stroke: var(--tinta); stroke-width: 10; stroke-linecap: round; }
.piece .rim { fill: #E7B48C; }
.piece { opacity: 0; transform-origin: 160px 200px; transform: scale(.94, .5) translateY(20px); transition: opacity 220ms var(--ease-out), transform 450ms var(--ease-out); }
.piece.is-on { opacity: 1; transform: none; transition: opacity 260ms var(--ease-out) 120ms, transform 620ms cubic-bezier(.34, 1.56, .64, 1) 120ms; }
.wheel__top { fill: #9C978F; stroke: var(--tinta); stroke-width: 3; }
.wheel__spin { fill: none; stroke: #CFC9BF; stroke-width: 2.5; stroke-dasharray: 14 18; animation: wheelSpin 1.2s linear infinite; }
.wheel__side { fill: #D24A3A; stroke: var(--tinta); stroke-width: 3; }
@keyframes wheelSpin { to { stroke-dashoffset: -64; } }

/* propuesta: frase grande sobre fondo oscuro */
.statement { background: var(--tinta); color: #F4EBDD; padding: clamp(80px, 12vw, 160px) 0; }
.statement__text { font: 400 clamp(32px, 4.8vw, 68px)/1.12 var(--f-display); font-variation-settings: "SOFT" 100, "opsz" 120; letter-spacing: -0.025em; max-width: 19em; }
.statement__text .w { transition: color 380ms var(--ease-out); }
.statement__text .w--acc { font-style: italic; }
.statement__text.is-ready .w { color: #5E574F; }
.statement__text.is-ready .w.on { color: #F4EBDD; }
.statement__text .w--acc, .statement__text.is-ready .w--acc.on { color: var(--amarillo); }
.statement__text.is-ready .w--acc:not(.on) { color: #5E574F; }

/* precios */
.prices { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(16px, 2.4vw, 32px); align-items: stretch; }
.price { display: flex; flex-direction: column; background: #EFEBE4; border: 2px solid var(--tinta); border-radius: calc(var(--r) * 1.6); padding: clamp(28px, 3.4vw, 48px); }
.price--feat { background: var(--amarillo); box-shadow: 0 6px 0 var(--tinta); }
.price__kind { font-weight: 700; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; }
.price__big { font: 400 clamp(64px, 8vw, 112px)/1 var(--f-display); font-variation-settings: "SOFT" 100, "opsz" 144; letter-spacing: -0.04em; margin: 22px 0 18px; font-variant-numeric: tabular-nums; }
.price__cur { font-size: .5em; vertical-align: .62em; margin-right: .06em; letter-spacing: 0; }
.price__rows { margin: 18px 0 14px; }
.price__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 2px solid rgba(42,38,34,.85); }
.price__row:first-child { padding-top: 4px; }
.price__row dt { font-size: 18px; font-weight: 600; }
.price__row dd { margin: 0; font: 400 clamp(44px, 5vw, 68px)/1 var(--f-display); font-variation-settings: "SOFT" 100, "opsz" 144; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.price__desc { color: var(--tinta-2); font-size: 17px; margin-bottom: 28px; }
.price--feat .price__desc { color: #3D352A; }
.price__cta { margin-top: auto; align-self: flex-start; }

/* el taller: foto de borde a borde */
.section--flush { padding-bottom: 0; }
.bleed { margin: 0; height: clamp(360px, 42vw, 620px); overflow: hidden; border-block: 2px solid var(--tinta); }
.bleed img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 64%; transition: transform 900ms var(--ease-out); }
@media (hover: hover) { .bleed:hover img { transform: scale(1.03); } }

/* cómo llegar */
.visita__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.visita__text h2 { font-size: clamp(36px, 4.6vw, 64px); }
.addr { margin: clamp(28px, 4vw, 48px) 0 32px; display: flex; flex-direction: column; gap: 10px; }
.addr__street { font: 400 clamp(56px, 8.4vw, 120px)/.95 var(--f-display); font-variation-settings: "SOFT" 100, "opsz" 144; letter-spacing: -0.045em; text-decoration: none; color: var(--barro); background: linear-gradient(var(--amarillo), var(--amarillo)) 0 92% / 0 .14em no-repeat; transition: background-size 420ms var(--ease-out); width: fit-content; }
@media (hover: hover) { .addr__street:hover { background-size: 100% .14em; } }
.addr__area { font-size: clamp(20px, 1.8vw, 24px); font-weight: 500; }
.visita__note { margin-top: 20px; color: var(--tinta-2); font-size: 16px; max-width: 30em; }
.visita__photo { aspect-ratio: 4 / 5; }

/* bares y restaurantes */
.bares__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.bares__text h2 { font-size: clamp(36px, 4.6vw, 64px); max-width: 11em; }
.bares__lead { color: var(--tinta-2); margin: 24px 0 28px; max-width: 32em; }
.mini-steps { list-style: none; margin: 0 0 32px; padding: 0; counter-reset: ms; display: grid; gap: 0; }
.mini-steps li { counter-increment: ms; display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; padding: 14px 0; border-top: 1px solid var(--cemento-3); }
.mini-steps li:last-child { border-bottom: 1px solid var(--cemento-3); }
.mini-steps li::before { content: counter(ms); grid-row: span 2; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--tinta); display: grid; place-items: center; font-weight: 700; font-size: 15px; background: var(--amarillo); }
.mini-steps b { font-weight: 600; }
.mini-steps span { color: var(--tinta-2); font-size: 16px; }
.bares__photos { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.6vw, 20px); align-items: start; }
.bares__a, .bares__b { aspect-ratio: 3 / 4; }
.bares__b { margin-top: 22%; }

/* sello de precio en el hero */
.badge { position: absolute; top: 6%; right: -4%; width: clamp(112px, 11vw, 148px); aspect-ratio: 1; border-radius: 50%; background: var(--amarillo); border: 2px solid var(--tinta); box-shadow: 0 4px 0 var(--tinta); display: grid; place-content: center; text-align: center; text-decoration: none; color: var(--tinta); transition: transform 220ms var(--ease-out); }
.badge__k { font-size: clamp(11px, 1vw, 13px); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.badge__v { font: 500 clamp(24px, 2.4vw, 32px)/1.1 var(--f-display); font-variation-settings: "SOFT" 100; letter-spacing: -0.02em; }
@media (hover: hover) { .badge:hover { transform: translateY(-3px) scale(1.04); } }
.badge:active { transform: scale(.97); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* cierre */
.close { background: var(--amarillo); border-top: 2px solid var(--tinta); padding: clamp(72px, 9vw, 120px) 0; overflow: hidden; }
.close__grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 40px; align-items: center; }
.close h2 { max-width: 12em; }
.close__text > p { font-size: 20px; margin: 20px 0 34px; max-width: 28em; }
.close__tel { margin-top: 20px; font-size: 17px !important; margin-bottom: 0 !important; }
.close__tel a { font-weight: 700; text-decoration: none; border-bottom: 2px solid; }
.close__mascot { justify-self: center; width: min(100%, 300px); }

/* footer */
.footer { background: var(--tinta); color: #EDE7DC; padding: 56px 0 32px; }
.footer__in { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.footer__word { font: 500 64px/.9 var(--f-display); font-variation-settings: "SOFT" 100, "opsz" 144; letter-spacing: -0.03em; }
.footer__sub { color: #B9B1A5; margin-top: 8px; font-size: 15px; letter-spacing: .04em; }
.footer__links { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.footer__links a { min-height: 32px; display: inline-flex; align-items: center; }
.footer__legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid #4A443D; color: #9C9489; font-size: 14px; }

/* botón flotante */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; min-height: 58px; padding: 0 22px 0 18px; border-radius: 999px; background: var(--wa); color: #fff; text-decoration: none; font: 600 16px/1 var(--f-text); border: 2px solid var(--tinta); box-shadow: 0 4px 0 var(--tinta);
  opacity: 0; transform: translateY(16px) scale(.96); pointer-events: none; transition: opacity 240ms var(--ease-out), transform 320ms var(--ease-out); }
.fab svg { width: 26px; height: 26px; }
.fab.is-on { opacity: 1; transform: none; pointer-events: auto; }
.fab:hover { transform: translateY(-2px); }
.fab:active { transform: translateY(2px) scale(.97); }

/* ---------------- entrada y reveal ---------------- */
@media (prefers-reduced-motion: no-preference) {
  .js .enter { opacity: 0; transform: translateY(14px); animation: rise 800ms var(--ease-out) forwards; animation-delay: calc(var(--d) * 110ms + 100ms); }
  .js .enter-up { transform: translateY(105%); animation: up 900ms var(--ease-out) forwards; animation-delay: calc(var(--d) * 110ms); }
  .js .enter-clip { clip-path: inset(100% 0 0 0 round 999px 999px 14px 14px); animation: clipUp 1100ms var(--ease-io) 150ms forwards; }
  .js .enter-clip img { transform: scale(1.12); animation: settle 1600ms var(--ease-out) 150ms forwards; }
  .js .swash path { stroke-dashoffset: 240; animation: draw 700ms var(--ease-out) 900ms forwards; }
  .js .enter-pop { opacity: 0; scale: .85; animation: pop 600ms cubic-bezier(.34, 1.56, .64, 1) 1100ms forwards; }

  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 800ms var(--ease-out); transition-delay: var(--rd, 0ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes up { to { transform: none; } }
@keyframes clipUp { to { clip-path: inset(0 0 0 0 round 999px 999px 14px 14px); } }
@keyframes settle { to { transform: scale(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { to { opacity: 1; scale: 1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none; }
  .piece { transition: opacity 200ms !important; }
}

/* ---------------- tablet ---------------- */
@media (max-width: 1023px) {
  .hero__grid { grid-template-columns: 1fr 1fr; }
  .clases__grid { grid-template-columns: 1fr; }
  .photo--tall { aspect-ratio: 16 / 10; }
  .photo--tall img { object-position: 50% 60%; }
  .head { grid-template-columns: 1fr; }
  .nav__links a:nth-child(4) { display: none; }
}
@media (max-width: 900px) {
  .prices, .visita__grid, .bares__grid { grid-template-columns: 1fr; }
  .visita__photo { aspect-ratio: 4 / 3; }
  .visita__photo img { object-position: 50% 62%; }
  .price__cta { align-self: stretch; }
}

/* ---------------- celular ---------------- */
@media (max-width: 760px) {
  body { font-size: 17px; }
  .nav__in { height: 68px; }
  .nav__links { display: none; }
  .logo__word { font-size: 30px; }
  .hide-sm { display: none; }
  .show-sm { display: inline; }

  .hero { padding-top: 16px; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__title { font-size: clamp(44px, 13vw, 64px); }
  .hero__actions .btn { width: 100%; }
  .hero__actions .link-arrow { margin: 0 auto; }
  .hero__visual { width: 86%; margin: 0 auto 0 auto; }
  .mascot-spot { left: -12%; bottom: -8%; width: 120px; }

  .steps { grid-template-columns: 1fr; }
  .step { padding: 22px 22px 24px; display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-items: start; }
  .step__n { grid-column: 1 / -1; }
  .step__ico { grid-row: span 2; margin: 10px 0 0; width: 44px; height: 44px; }
  .step h3 { margin-top: 8px; }

  .picker { grid-template-columns: 1fr; }
  .wheel { order: -1; }
  .wheel__svg { max-width: 280px; }
  .picker .btn { width: 100%; white-space: normal; text-align: center; padding: 12px 20px; }

  .badge { right: -6%; top: 4%; width: 118px; }
  .badge__v { font-size: 22px; }
  .badge__k { font-size: 10.5px; }
  .statement__text { font-size: clamp(28px, 8vw, 40px); }
  .price__big { font-size: 64px; }
  .price__row dd { font-size: 40px; }
  .price__row dt { font-size: 16px; }
  .bleed { height: auto; aspect-ratio: 4 / 5; }
  .addr__street { font-size: clamp(52px, 15vw, 72px); }
  .visita__actions .btn, .bares__text .btn { width: 100%; }
  .bares__b { margin-top: 0; }

  .close__grid { grid-template-columns: 1fr; text-align: left; }
  .close__mascot { order: -1; width: 150px; justify-self: start; }
  .close .btn { width: 100%; }

  .footer__links { align-items: flex-start; }
  .footer__word { font-size: 52px; }

  .fab span { display: none; }
  .fab { padding: 0; width: 60px; justify-content: center; }
}
