:root {
  --ink: #0b0a09;
  --ink-2: #141210;
  --ink-3: #1d1a17;
  --bone: #ece6da;
  --bone-2: #b9b2a6;
  --smoke: #8a8378;
  --ocre: #c9892b;
  --ocre-2: #e0a34a;
  --line: rgba(236, 230, 218, .12);
  --line-2: rgba(236, 230, 218, .42);
  --ok: #8fb07a;
  --err: #e0715a;
  --f-black: "Metal Mania", "Pirata One", serif;
  --f-display: "Pirata One", "Metal Mania", serif;
  --f-body: "Archivo", system-ui, sans-serif;
  --gut: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --r: 2px;
}

* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; scroll-padding-top: 68px; overflow-x: clip; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font: 400 17px/1.6 var(--f-body);
  font-stretch: 92%;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: .95; }
h2 { font-family: var(--f-display); font-size: clamp(44px, 7vw, 96px); letter-spacing: .01em; }
h3 { font-family: var(--f-body); font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: 18px; letter-spacing: .06em; }
::selection { background: var(--ocre); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ocre); outline-offset: 3px; }

.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.eyebrow {
  margin: 0 0 14px; font-weight: 700; font-stretch: 70%; text-transform: uppercase;
  letter-spacing: .22em; font-size: 12px; color: var(--ocre);
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 26px; border-radius: var(--r); border: 1px solid transparent;
  font: 700 14px/1 var(--f-body); font-stretch: 80%; text-transform: uppercase; letter-spacing: .14em;
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn--ocre { background: var(--ocre); color: var(--ink); }
.btn--ocre:hover { background: var(--ocre-2); }
.btn--ocre:active { transform: translateY(1px); }
.btn--ghost { background: transparent; border-color: var(--line-2); color: var(--bone); }
.btn--ghost:hover { border-color: var(--bone); }
.btn--sm { padding: 11px 16px; font-size: 12px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 12px var(--gut);
  background: rgba(11, 10, 9, .96);
  border-bottom: 1px solid var(--line);
}
.nav__logo { font-family: var(--f-black); font-size: 34px; line-height: 1; text-decoration: none; color: var(--bone); }
.nav__links { display: flex; gap: 22px; margin-left: auto; }
.nav__links a { text-decoration: none; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--bone-2); }
.nav__links a:hover { color: var(--bone); }
@media (max-width: 760px) { .nav__links { display: none; } .nav .btn { margin-left: auto; } }

/* ---------- Secciones ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(64px, 10vw, 128px) var(--gut); }
.section__head { margin-bottom: clamp(28px, 4vw, 48px); }
.section__sub { color: var(--bone-2); margin: 14px 0 0; max-width: 40em; }

/* ---------- Galería ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip {
  background: none; border: 1px solid var(--line-2); color: var(--bone-2); border-radius: 99px;
  padding: 9px 16px; font: 600 13px/1 var(--f-body); letter-spacing: .06em; cursor: pointer;
}
.chip:hover { color: var(--bone); border-color: var(--bone-2); }
.chip.is-active { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.gallery { columns: 3 280px; column-gap: 14px; }
.tile {
  position: relative; break-inside: avoid; margin: 0 0 14px; cursor: zoom-in; overflow: hidden;
  background: var(--ink-2); border: 0; padding: 0; width: 100%; display: block; color: inherit; text-align: left;
}
.tile img { width: 100%; height: auto; transition: opacity .5s, transform .8s cubic-bezier(.2, .7, .2, 1); }
.tile .tile__c { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.tile:hover .tile__c, .tile:focus-visible .tile__c, .tile.is-color .tile__c { opacity: 1; }
.tile:hover img { transform: scale(1.03); }
.tile__cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px;
  background: linear-gradient(transparent, rgba(11, 10, 9, .85));
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  transform: translateY(100%); transition: transform .35s;
}
.tile:hover .tile__cap, .tile:focus-visible .tile__cap { transform: none; }
.tile.is-hidden { display: none; }
.gallery__more { margin-top: 18px; color: var(--bone-2); }
.gallery__more a { color: var(--ocre); }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 92vw; max-height: 92vh; color: var(--bone); }
.lightbox::backdrop { background: rgba(5, 5, 4, .92); }
.lightbox img { max-height: 84vh; width: auto; margin: 0 auto; }
.lightbox p { text-align: center; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--bone-2); }
.lightbox__close { position: fixed; top: 16px; right: 20px; background: none; border: 0; color: var(--bone); font-size: 40px; cursor: pointer; line-height: 1; }

/* ---------- Agenda ---------- */
.booking { border-top: 1px solid var(--line); }
.booking__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 920px) { .booking__grid { grid-template-columns: 1fr; } }

.cal { background: var(--ink-2); border: 1px solid var(--line); padding: clamp(16px, 3vw, 28px); }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.cal__month { font-family: var(--f-display); font-size: 36px; text-transform: capitalize; }
.cal__nav { width: 42px; height: 42px; border: 1px solid var(--line-2); background: none; color: var(--bone); font-size: 22px; cursor: pointer; border-radius: 50%; }
.cal__nav:hover:not([disabled]) { border-color: var(--ocre); color: var(--ocre); }
.cal__nav[disabled] { opacity: .25; cursor: default; }
.cal__dow, .cal__days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal__dow span { text-align: center; font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--smoke); padding-bottom: 6px; }
.day {
  aspect-ratio: 1; display: grid; place-items: center; position: relative;
  border: 1px solid transparent; background: none; color: var(--smoke); border-radius: var(--r);
  font: 600 15px/1 var(--f-body); cursor: default;
}
.day--free { color: var(--bone); border-color: var(--line-2); cursor: pointer; }
.day--free::after { content: ""; position: absolute; bottom: 6px; width: 5px; height: 5px; border-radius: 50%; background: var(--ocre); }
.day--free:hover { border-color: var(--ocre); }
.day--full { text-decoration: line-through; opacity: .5; }
.day--sel { background: var(--ocre); color: var(--ink); border-color: var(--ocre); }
.day--sel::after { background: var(--ink); }
.day--today { box-shadow: inset 0 0 0 1px var(--smoke); }
.cal__status { margin: 16px 0 0; font-size: 14px; color: var(--bone-2); min-height: 1.6em; }
.cal__status .demo { color: var(--ocre); font-weight: 700; }
.slots { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 18px; }
.slots__label { margin: 0 0 12px; font-weight: 700; }
.slots__label::first-letter { text-transform: uppercase; }
.slots__list { display: flex; flex-wrap: wrap; gap: 8px; }
.slot {
  padding: 11px 18px; border: 1px solid var(--line-2); background: none; color: var(--bone);
  font: 700 15px/1 var(--f-body); border-radius: var(--r); cursor: pointer; font-variant-numeric: tabular-nums;
}
.slot:hover { border-color: var(--ocre); }
.slot.is-sel { background: var(--bone); color: var(--ink); border-color: var(--bone); }

.form { display: grid; gap: 16px; }
.form__picked { padding: 16px 18px; border: 1px dashed var(--line-2); color: var(--bone-2); font-size: 15px; }
.form__picked.is-set { border: 1px solid var(--ocre); color: var(--bone); background: rgba(201, 137, 43, .08); }
.form__picked b { color: var(--ocre-2); }
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }
.field label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--bone-2); }
.field .opt { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--smoke); }
.field input, .field select, .field textarea {
  width: 100%; background: var(--ink-2); color: var(--bone); border: 1px solid var(--line-2);
  border-radius: var(--r); padding: 13px 14px; font: 400 16px/1.4 var(--f-body);
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--bone-2) 50%), linear-gradient(135deg, var(--bone-2) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ocre); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--ocre); outline-offset: 2px; }
.field input::placeholder, .field textarea::placeholder { color: var(--smoke); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--err); }
.field__err { font-size: 13px; color: var(--err); }
.hp { position: absolute; left: -9999px; }

/* Referencias (fotos) */
.refs__hint { margin: 0; font-size: 14px; color: var(--bone-2); }
.refs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.refs__add, .refs__item { aspect-ratio: 1; border-radius: var(--r); position: relative; overflow: hidden; }
.field .refs__add {
  display: grid; place-content: center; justify-items: center; gap: 6px; cursor: pointer;
  border: 1px dashed var(--line-2); background: var(--ink-2); color: var(--bone-2);
  font-size: 13px; font-weight: 600; letter-spacing: .02em; text-transform: none;
  transition: border-color .15s, color .15s;
}
.refs__add:hover, .refs__input:focus-visible + .refs__add, .refs__add.is-focus { border-color: var(--ocre); color: var(--bone); }
.refs__add[hidden] { display: none; }
.refs__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.refs__item.is-busy img { opacity: .4; }
.refs__del {
  position: absolute; top: 4px; right: 4px; width: 32px; height: 32px; border-radius: 50%;
  border: 0; background: rgba(11, 10, 9, .82); color: var(--bone); font-size: 18px; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
}
.refs__del::after { content: ""; position: absolute; inset: -6px; } /* área táctil 44px */
.refs { position: relative; }
.refs__input { position: absolute; left: 0; bottom: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--bone-2); cursor: pointer; }
.consent input { margin-top: 4px; accent-color: var(--ocre); width: 18px; height: 18px; }
.form__after { margin: -6px 0 0; font-size: 14px; color: var(--bone-2); text-align: center; }
.form__msg { margin: 0; min-height: 1.4em; font-size: 15px; }
.form__msg.ok { color: var(--ok); }
.form__msg.err { color: var(--err); }

.done { border: 1px solid var(--ocre); padding: clamp(20px, 4vw, 36px); background: rgba(201, 137, 43, .06); }
.done h3 { font-family: var(--f-display); font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 44px; margin-bottom: 12px; }
.done p { color: var(--bone-2); }
.done .btn { margin-top: 10px; }

/* ---------- FAQ ---------- */
.faq details { border-top: 1px solid var(--line); padding: 20px 0; max-width: 820px; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-weight: 700; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 16px; height: 16px; color: var(--ocre); background: linear-gradient(currentColor, currentColor) center / 100% 1.75px no-repeat, linear-gradient(currentColor, currentColor) center / 1.75px 100% no-repeat; transition: transform .2s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--bone-2); margin: 12px 0 0; max-width: 40em; }

.footer {
  display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between;
  padding: 28px var(--gut); border-top: 1px solid var(--line); font-size: 13px; color: var(--smoke);
}
.footer__addr { font-style: normal; }
.footer__logo { font-family: var(--f-black); font-size: 28px; color: var(--bone); }
.footer a { color: var(--bone-2); }

.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ocre); color: var(--ink);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .5); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); }

/* Condiciones (precio, anticipo) */
.terms { list-style: none; margin: 0 0 clamp(24px, 4vw, 40px); padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.terms li { padding: 16px 18px; display: grid; gap: 2px; border-right: 1px solid var(--line); }
.terms li:last-child { border-right: 0; }
.terms b { font-size: 16px; color: var(--bone); }
.terms b > span { color: var(--ocre-2); }
.terms li > span { font-size: 14px; color: var(--bone-2); }
@media (max-width: 860px) {
  .terms { grid-template-columns: 1fr 1fr; }
  .terms li:nth-child(2) { border-right: 0; }
  .terms li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
/* Presupuesto (botones) */
.budget { border: 0; padding: 0; margin: 0; min-width: 0; }
.budget legend { padding: 0; margin-bottom: 6px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--bone-2); }
.budget__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.field .budget__opt { position: relative; text-transform: none; letter-spacing: 0; font-size: 14px; }
.budget__opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.budget__opt span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-2);
  border-radius: 99px; font-size: 14px; font-weight: 600; color: var(--bone-2); font-variant-numeric: tabular-nums;
}
.budget__opt input:checked + span { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.budget__opt input:focus-visible + span { outline: 2px solid var(--ocre); outline-offset: 2px; }
.budget.is-invalid .budget__opt span { border-color: var(--err); }

/* ---------- Pasada móvil / táctil / accesibilidad ---------- */
a, button, summary, label { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
h2 { text-wrap: balance; }
p, li { text-wrap: pretty; }
.tile::after, .studio__img .reveal::after { content: ""; position: absolute; inset: 0; outline: 1px solid rgba(236, 230, 218, .07); outline-offset: -1px; pointer-events: none; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ocre); color: var(--ink); padding: 12px 16px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.btn--sm, .chip { min-height: 44px; }
.cal__nav { width: 44px; height: 44px; }
.slot { min-height: 48px; }
.btn:active, .chip:active, .slot:active, .day--free:active { transform: scale(.97); }
.field label { font-size: 13px; letter-spacing: .08em; }
.consent { min-height: 44px; align-items: center; }
.consent input { margin-top: 0; width: 22px; height: 22px; flex: none; }
.form__picked.is-err { border: 1px solid var(--err); color: var(--bone); }
.form__msg a { color: var(--ocre-2); }
.done:focus, .done h3:focus { outline: none; }
.slots__note { margin: 12px 0 0; font-size: 14px; color: var(--bone-2); }

/* Galería: en táctil no hay hover; el toque abre la foto a color */
@media (hover: none) {
  .tile:hover img { transform: none; }
  .tile:hover .tile__c { opacity: 0; }
  .tile__cap { transform: none; padding: 22px 10px 8px; font-size: 11px; letter-spacing: .1em; }
}
.lightbox { max-height: 92dvh; overscroll-behavior: contain; }
.lightbox img { max-height: 78dvh; }
.lightbox__close { width: 48px; height: 48px; display: grid; place-items: center; top: max(8px, env(safe-area-inset-top)); right: 8px; }
.lightbox__cta { display: flex; justify-content: center; margin: 4px 0 8px; }
html:has(dialog[open]) { overflow: hidden; }

/* WhatsApp flotante: respeta la barra del iPhone y se esconde en la agenda */
.wa-float { right: max(18px, env(safe-area-inset-right)); bottom: calc(18px + env(safe-area-inset-bottom)); transition: opacity .2s, transform .2s; }
.wa-float.is-off { opacity: 0; pointer-events: none; transform: scale(.8); }
.footer { padding-bottom: calc(28px + env(safe-area-inset-bottom)); }

/* FAQ: toda la fila es tocable */
.faq details { padding: 0; }
.faq summary { padding: 20px 0; min-height: 44px; align-items: center; }
.faq details p { margin: 0 0 20px; }

@media (max-width: 760px) {
  .grain { display: none; }
  .nav { background: rgba(11, 10, 9, .96); padding-inline: max(var(--gut), env(safe-area-inset-left)); }
}
@media (max-width: 600px) {
  .hero__cta .btn { flex: 1 1 100%; min-height: 52px; }
  .gallery { columns: 2; column-gap: 8px; }
  .tile { margin-bottom: 8px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
}
@media (max-width: 480px) {
  .cal { padding: 14px 8px; margin-inline: calc(-1 * var(--gut)); border-inline: 0; }
  .cal__dow, .cal__days { gap: 3px; }
  .slots__list { display: grid; grid-template-columns: repeat(3, 1fr); }
  .slot { padding-inline: 6px; }
}


/* ═══════════════════════════════════════════════════════════════
   V2 · EXTREME MAKEOVER — escenas de scroll
   Regla: solo se anima transform y opacity. Todo lo que se mueve
   vive bajo .can-motion; sin esa clase la página es estática y completa.
   ═══════════════════════════════════════════════════════════════ */
:root {
  --wall: #221e1a;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --vh: 100vh;
  --nav-h: 64px;
}
@supports (height: 100svh) { :root { --vh: 100svh; } }

/* Nav fija y translúcida; el logo aparece cuando el «Okre» gigante se va */
.nav { position: fixed; left: 0; right: 0; top: 0; padding-top: max(12px, env(safe-area-inset-top)); }
.nav__logo { transition: opacity .3s ease; }
.can-motion .nav:not(.show-logo) .nav__logo { opacity: 0; pointer-events: none; }
main { display: block; }

h2 { font-size: clamp(42px, 7vw, 96px); }
.section { scroll-margin-top: var(--nav-h); }

/* ScrollTrigger mide mal con scroll suave nativo: con animación activa, el suave lo hace motion.js */
html.is-anim { scroll-behavior: auto; }
.scene { position: relative; }
.scene__stage { position: relative; }

/* ---------- HERO · muro con el tag recortado ---------- */
.hero__stage { position: relative; height: var(--vh); min-height: 520px; overflow: hidden; isolation: isolate; background: var(--ink); }
.hero__skin { position: absolute; inset: 0; z-index: 0; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; filter: contrast(1.12) brightness(1.05); }
.hero__img--c { opacity: 0; }
.can-motion .hero__skin::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 48%, rgba(11, 10, 9, .88) 90%); }
.hero__wall { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; display: block; transform-origin: 50% 50%; }
.tag-font { font-family: var(--f-black); }
.hero__balloon-wrap { position: absolute; z-index: 3; left: 72%; top: 34%; width: 44px; color: var(--ocre); pointer-events: none; }
.hero__balloon { display: block; width: 100%; overflow: visible; transform-origin: 50% 20%; filter: drop-shadow(0 2px 0 rgba(0,0,0,.6)); animation: inflate 1.2s var(--ease-out) .5s both, bob 5s ease-in-out 1.8s 3; }
@keyframes inflate { from { opacity: 0; transform: translateY(24px) scale(.4); } }
@keyframes bob { 50% { transform: translateY(-6px) rotate(-4deg); } }

.hero__ui {
  position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; justify-content: space-between; align-items: center; text-align: center;
  padding: calc(var(--nav-h) + 20px + env(safe-area-inset-top)) var(--gut) calc(68px + env(safe-area-inset-bottom)); pointer-events: none;
}
.hero__ui > * { pointer-events: auto; }
.hero__h1 { margin: 0; font-weight: 400; }
.hero__where {
  display: inline-block; font: 600 15px/1.3 var(--f-body); letter-spacing: .03em; color: var(--bone);
  text-shadow: 0 1px 2px rgba(0, 0, 0, .8);
}
.hero__bottom { display: grid; justify-items: center; gap: 16px; width: 100%; max-width: 440px; }
.hero__styles { margin: 0; font-size: clamp(15px, 1.5vw, 18px); color: var(--bone-2); text-wrap: balance; }
.hero__cta { display: flex; gap: 10px; width: 100%; }
.hero__ui .hero__cta .btn { flex: 1 1 0; min-height: 52px; padding-inline: 12px; }
.hero__cta svg { flex: none; }
.hero__line, .hero__cue { display: none; }

/* Con movimiento: escena alta con escenario fijo */
.can-motion .hero { height: calc(var(--vh) * 2.6); }
.can-motion .hero__stage { position: sticky; top: 0; }
.can-motion .hero__line {
  display: block; position: absolute; left: var(--gut); right: var(--gut); bottom: calc(14% + 64px + env(safe-area-inset-bottom)); z-index: 4; margin: 0; text-align: center;
  font-family: var(--f-black); font-size: clamp(46px, 11vw, 132px); line-height: .95; color: var(--bone); opacity: 0; pointer-events: none; text-wrap: balance;
  text-shadow: 0 .04em .3em rgba(0,0,0,.7);
}
.can-motion .hero__cue {
  display: grid; justify-items: center; gap: 6px; position: absolute; left: 50%; bottom: calc(10px + env(safe-area-inset-bottom)); translate: -50% 0; z-index: 4;
  min-width: 44px; min-height: 44px; padding: 4px; color: var(--bone-2); text-decoration: none; font-size: 12px; letter-spacing: .04em;
}
.hero__cue-dot { animation: cue 1.8s ease-in-out 1s 5; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(8px); opacity: 0; } 100% { opacity: 0; } }
@media (max-height: 640px) { .can-motion .hero__cue span { display: none; } .hero__styles { display: none; } }
@media (min-width: 861px) {
  .hero__bottom { max-width: 520px; }
  .hero__where { font-size: 15px; }
}

.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; }

/* ---------- MANIFIESTO ---------- */
.manifesto__stage { display: grid; place-items: center; padding: clamp(96px, 14vw, 180px) var(--gut); }
.manifesto__text {
  margin: 0; max-width: 17em;
  font: 700 clamp(38px, 10vw, 100px)/1.02 var(--f-body); font-stretch: 72%; letter-spacing: -.01em;
  color: var(--bone); text-wrap: balance;
}
.manifesto__text .w { display: inline-block; }
.can-motion .manifesto { height: calc(var(--vh) * 1.9); }
.can-motion .manifesto__stage { position: sticky; top: 0; height: var(--vh); padding-block: var(--nav-h) 0; }
.can-motion .manifesto__text .w { opacity: .14; }

/* ---------- ESTILOS ---------- */
.style__stage { position: relative; overflow: hidden; isolation: isolate; }
.style__word {
  position: absolute; left: 0; top: 50%; z-index: 1; margin: 0; white-space: nowrap; pointer-events: none;
  font-family: var(--f-black); font-size: clamp(120px, 30vw, 380px); line-height: 1; color: var(--bone);
  opacity: .1; translate: 0 -50%;
}
.style__media { position: relative; margin: 0; overflow: hidden; background: var(--ink-2); }
.style__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.style__copy { position: relative; z-index: 2; }
.style__copy h2 { font-size: clamp(40px, 6vw, 84px); margin-bottom: 14px; }
.style__copy p { color: var(--bone-2); max-width: 30em; margin: 0 0 20px; }

/* Estático: tarjeta normal (foto a color + texto) */
.style__stage { display: grid; gap: 24px; padding: clamp(64px, 9vw, 112px) var(--gut); max-width: var(--max); margin: 0 auto; }
.style__word { display: none; }
.style__media { aspect-ratio: 4 / 5; max-width: 480px; }
@media (min-width: 861px) {
  .style__stage { grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px, 6vw, 96px); }
  .style--flip .style__media { order: 2; }
}

/* Con movimiento: la foto llena el escenario en celular; en escritorio es columna */
.can-motion .style { height: calc(var(--vh) * 1.9); }
.can-motion .style__stage { position: sticky; top: 0; height: var(--vh); max-width: none; padding: 0; display: block; }
.can-motion .style__word { display: block; }
.can-motion .style__media { position: absolute; inset: 0; max-width: none; aspect-ratio: auto; }
.can-motion .style__media::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(11,10,9,.55) 0%, rgba(11,10,9,.1) 30%, rgba(11,10,9,.25) 52%, rgba(11,10,9,.94) 82%); }
.can-motion .style__c { opacity: 0; }
.can-motion .style__copy {
  position: absolute; left: var(--gut); right: var(--gut); bottom: calc(28px + env(safe-area-inset-bottom));
}
.can-motion .style__copy p { font-size: 16px; margin-bottom: 16px; }
.can-motion .style__word { top: calc(var(--nav-h) + 4%); translate: 0 0; z-index: 2; opacity: .92; font-size: clamp(96px, 30vw, 360px); mix-blend-mode: normal; text-shadow: 0 .02em .2em rgba(0,0,0,.45); }
@media (min-width: 861px) {
  .can-motion .style__media { inset: calc(var(--nav-h) + 4vh) var(--gut) 6vh auto; width: 44vw; }
  .can-motion .style--flip .style__media { left: var(--gut); right: auto; }
  .can-motion .style__media::after { background: linear-gradient(180deg, transparent 60%, rgba(11,10,9,.35)); }
  .can-motion .style__copy { left: max(var(--gut), calc(50% - var(--max) / 2 + var(--gut))); right: auto; width: min(40vw, 520px); bottom: auto; top: 50%; translate: 0 -40%; }
  .can-motion .style--flip .style__copy { left: auto; right: max(var(--gut), calc(50% - var(--max) / 2 + var(--gut))); }
  .can-motion .style__word { top: auto; bottom: 2vh; opacity: .14; z-index: 0; text-shadow: none; }
}

/* Teclado: si algo animado recibe foco, se muestra completo aunque la escena no haya llegado */
.can-motion .style__copy:focus-within, .can-motion .hero__bottom:focus-within, .can-motion .hero__top:focus-within { opacity: 1 !important; transform: none !important; }

/* ---------- Revelado por máscara (estudio y proceso) ---------- */
.reveal { position: relative; overflow: hidden; }
.reveal img { width: 100%; height: 100%; object-fit: cover; }
.reveal__curtain { display: none; }
.can-motion .reveal__curtain { display: block; position: absolute; inset: -1px; background: var(--ink); transform-origin: top; }

/* ---------- ESTUDIO ---------- */
.studio { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 6vw, 96px); align-items: center; }
.studio__img .reveal { max-width: 420px; aspect-ratio: 4 / 5; border: 1px solid var(--line); }
.studio__copy p { color: var(--bone-2); max-width: 34em; }
.studio__copy h2 { margin-bottom: 18px; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checks li { padding-left: 34px; position: relative; color: var(--bone-2); }
.checks li::before { content: ""; position: absolute; left: 2px; top: .3em; width: 14px; height: 18px; background: var(--ocre); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5c3.4 4.9 6.5 8.3 6.5 11.9A6.5 6.5 0 0 1 5.5 14.4C5.5 10.8 8.6 7.4 12 2.5Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5c3.4 4.9 6.5 8.3 6.5 11.9A6.5 6.5 0 0 1 5.5 14.4C5.5 10.8 8.6 7.4 12 2.5Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.checks b { color: var(--bone); }
@media (max-width: 860px) { .studio { grid-template-columns: 1fr; } }

/* ---------- PROCESO ---------- */
.process { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 6vw, 96px); align-items: start; border-top: 1px solid var(--line); }
.process__media { position: sticky; top: calc(var(--nav-h) + 24px); }
.process__media .reveal { aspect-ratio: 9 / 14; max-height: 78vh; }
.process__body h2 { margin-bottom: clamp(24px, 4vw, 44px); }
.steps__wrap { position: relative; padding-left: 28px; }
.steps__wrap::before, .steps__ink { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.steps__ink { background: var(--ocre); transform-origin: top; }
.can-motion .steps__ink { transform: scaleY(0); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(28px, 4vw, 44px); }
.steps li { position: relative; }
.steps__n { display: block; font-family: var(--f-black); font-size: 54px; color: var(--ocre); line-height: 1; margin-bottom: 8px; }
.steps p { color: var(--bone-2); margin: 8px 0 0; max-width: 30em; }
.can-motion .steps li { opacity: .3; }
@media (max-width: 860px) {
  .process { grid-template-columns: 1fr; }
  .process__media { position: relative; top: 0; }
  .process__media .reveal { aspect-ratio: 4 / 3; max-height: none; }
  .process__media .reveal img { object-position: 50% 40%; }
}

/* ---------- CIERRE ---------- */
.final { position: relative; text-align: center; padding: clamp(96px, 14vw, 180px) var(--gut); overflow: hidden; border-top: 1px solid var(--line); isolation: isolate; background: radial-gradient(80% 70% at 50% 45%, transparent 0%, rgba(11,10,9,.75) 100%), url("img/muro.webp") center / cover; }
.final__ornament { position: absolute; left: 50%; top: 50%; width: 520px; translate: -50% -50%; fill: var(--ink-3); z-index: -1; }
.final__bwrap { display: block; width: 84px; margin: 0 auto 26px; }
.final__balloon { display: block; width: 100%; color: var(--ocre); overflow: visible; animation: bob 5s ease-in-out 3; }
.final h2 { margin-bottom: 30px; }
.final .hero__cta { justify-content: center; flex-wrap: wrap; max-width: 520px; margin: 0 auto; }
.final .hero__cta .btn { flex: 1 1 200px; min-height: 52px; }

/* Gallery: un poco de aire extra en móvil */
@media (max-width: 600px) {
  .style__copy .btn { width: 100%; }
}
@media (max-height: 640px) and (max-width: 600px) {
  .can-motion .style__copy p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}


/* ---------- Reserva rápida ---------- */
.btn--wa { background: #1f1c18; color: var(--bone); border-color: rgba(236, 230, 218, .3); }
.btn--wa:hover { border-color: var(--bone); }
.btn svg { flex: none; }
.quickbar { display: none; }
@media (max-width: 760px) {
  .wa-float { display: none; }
  .quickbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: flex; gap: 8px;
    padding: 10px max(12px, env(safe-area-inset-left)) calc(10px + env(safe-area-inset-bottom));
    background: rgba(11, 10, 9, .94); border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .28s var(--ease-out);
  }
  .quickbar.is-on { transform: none; }
  .quickbar .btn { flex: 1 1 0; min-height: 50px; padding-inline: 10px; letter-spacing: .1em; }
  .quickbar .btn--wa { flex: 0 1 44%; }
}

.howto { list-style: none; counter-reset: h; margin: 18px 0 6px; padding: 0; display: grid; gap: 8px; }
.howto li { counter-increment: h; display: flex; gap: 12px; align-items: baseline; color: var(--bone-2); }
.howto li::before { content: counter(h); flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--ocre); color: var(--ink); font: 800 14px/1 var(--f-body); }
.howto b { color: var(--bone); font-weight: 700; }
.section__sub a { color: var(--ocre-2); }

.more { border: 1px solid var(--line); border-radius: var(--r); }
.more summary { cursor: pointer; list-style: none; padding: 14px 16px; min-height: 48px; display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
.more summary::-webkit-details-marker { display: none; }
.more summary::before { content: ""; flex: none; width: 14px; height: 14px; color: var(--ocre); background: linear-gradient(currentColor, currentColor) center / 100% 1.75px no-repeat, linear-gradient(currentColor, currentColor) center / 1.75px 100% no-repeat; transition: transform .2s var(--ease-out); }
.more[open] summary::before { transform: rotate(45deg); }
.more summary .opt { font-weight: 400; color: var(--smoke); font-size: 13px; }
.more__body { display: grid; gap: 16px; padding: 0 16px 16px; }

/* ---------- Sobre Okre ---------- */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 6vw, 96px); align-items: center; border-top: 1px solid var(--line); }
.about__media { margin: 0; }
.about__media .reveal { aspect-ratio: 1; max-width: 520px; background: var(--ink-2); }
.about__media img { filter: grayscale(1) contrast(1.15); }
.about__media figcaption { margin-top: 12px; font-size: 14px; color: var(--smoke); }
.about__lead { font-size: clamp(19px, 2vw, 24px); line-height: 1.45; color: var(--bone); max-width: 30em; margin: 18px 0 0; }
.about__quote { margin: 22px 0 0; padding-left: 18px; border-left: 2px solid var(--ocre); font-size: 18px; color: var(--bone); }
.about__facts { margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.about__facts div { background: var(--ink); padding: 14px 16px; }
.about__facts dt { font-size: 13px; color: var(--smoke); margin-bottom: 4px; }
.about__facts dd { margin: 0; color: var(--bone); font-weight: 600; display: flex; align-items: center; gap: 8px; }
.about__facts svg { color: var(--ocre); }
.about__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .about__facts { grid-template-columns: 1fr; }
  .about__cta .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__balloon, .final__balloon, .cue__drip i { animation: none !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Iconos y detalles (pulido) ---------- */
/* El globo es el dibujo de Ulises (img/globo.webp) usado como máscara: se pinta del color que se le dé */
.globo {
  display: block; aspect-ratio: 390 / 978; background: currentColor; color: var(--ocre);
  -webkit-mask: url("img/globo.webp") center / contain no-repeat; mask: url("img/globo.webp") center / contain no-repeat;
}
.globo--sm { display: inline-block; width: 16px; height: auto; vertical-align: middle; color: var(--ocre-2); }
.hero__balloon.globo { color: var(--ocre-2); filter: drop-shadow(0 2px 1px rgba(0, 0, 0, .7)); }
.final__balloon.globo { width: 100%; }
.cal__nav { display: grid; place-items: center; padding: 0; }
.cal__nav svg, .lightbox__close svg, .refs__del svg { display: block; }
.refs__del { color: var(--bone); }
.lightbox__close { color: var(--bone); }
/* indicador de scroll: una gota que escurre */
.cue__drip { position: relative; display: block; width: 2px; height: 30px; background: linear-gradient(rgba(236,230,218,.55), rgba(236,230,218,0)); border-radius: 2px; }
.cue__drip i { position: absolute; left: 50%; top: -2px; width: 8px; height: 10px; margin-left: -4px; background: var(--ocre); border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%; animation: drip-fall 1.9s cubic-bezier(.55, 0, .75, .5) 1.2s 5 both; }
@keyframes drip-fall { 0% { transform: translateY(0) scaleY(.9); opacity: 0; } 15% { opacity: 1; } 80% { transform: translateY(26px) scaleY(1.15); opacity: 1; } 100% { transform: translateY(30px); opacity: 0; } }
.can-motion .hero__cue { gap: 8px; }

/* ---------- Switch de portada: Gótica / Globos / Trazo ---------- */
.hero__top { display: grid; justify-items: center; gap: 12px; }
.portada { display: inline-flex; padding: 3px; gap: 2px; border-radius: 99px; background: rgba(11, 10, 9, .78); border: 1px solid rgba(236, 230, 218, .22); }
.portada button {
  min-height: 44px; min-width: 0; padding: 0 11px; white-space: nowrap; border: 0; border-radius: 99px; background: none; cursor: pointer;
  font: 600 13px/1 var(--f-body); letter-spacing: .04em; color: var(--bone-2); transition: background-color .2s ease, color .2s ease;
}
.portada button:hover { color: var(--bone); }
.portada button[aria-checked="true"] { background: var(--bone); color: var(--ink); }
.portada button:focus-visible { outline: 2px solid var(--ocre); outline-offset: 2px; }
.hero__balloon-wrap[hidden] { display: none; }

.globo--foot { display: inline-block; width: 18px; margin-right: 8px; vertical-align: -4px; color: var(--ocre-2); }
@media (max-width: 380px) { .portada button { padding: 0 8px; font-size: 12px; } }
