/* ============================================================
   PATTY KOKEDAMAS — pattykokedamas.com
   Portada scroll-film (motor de landings-con-animacion) + página
   de una sola columna. Tokens del manual de marca v2.
   Accesibilidad para mayores: texto de lectura >= 18 px, alto
   contraste (sumi sobre washi), botones grandes.
   ============================================================ */

:root {
  --washi: #F1F2EC;
  --washi-2: #E7E9DF;
  --fukamidori: #34492E;
  --koke: #7F8B37;
  --wakaba: #B9C27A;
  --sumi: #23271F;
  --sumi-soft: #4A5044;
  --tsuchi: #7A5C43;
  --shu: #B8432F;
  --wa: #1F7A4D;              /* verde WhatsApp oscurecido para contraste AA con texto blanco */
  --bg: var(--washi);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: 'Shippori Mincho', 'Hiragino Mincho ProN', Georgia, serif;
  --font-body: 'Zen Kaku Gothic New', system-ui, sans-serif;
  --gutter: clamp(16px, 5vw, 80px);
  --radius: 8px;
  --halo: 0 0 2px rgba(241, 242, 236, 0.95), 0 0 10px rgba(241, 242, 236, 0.9), 0 0 24px rgba(241, 242, 236, 0.75);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { overflow-x: clip; overscroll-behavior-x: none; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  background: var(--bg);
  color: var(--sumi);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--wakaba); color: var(--sumi); }
:focus-visible { outline: 3px solid var(--shu); outline-offset: 3px; border-radius: 4px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 14px 26px;
  border-radius: var(--radius);
  background: var(--fukamidori);
  color: var(--washi);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.08rem;
  text-decoration: none;
  border: 2px solid var(--fukamidori);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn svg { width: 24px; height: 24px; flex: none; }
.btn--sm { min-height: 46px; padding: 8px 18px; font-size: 1rem; }
.btn--ghost { background: transparent; color: var(--fukamidori); }
.btn--light { background: var(--washi); color: var(--fukamidori); border-color: var(--washi); }
@media (hover: hover) {
  .btn:hover { background: #2a3c25; border-color: #2a3c25; }
  .btn--ghost:hover { background: rgba(52, 73, 46, 0.08); border-color: var(--fukamidori); }
  .btn--light:hover { background: #fff; border-color: #fff; }
}

/* ---------- Boot ---------- */
.boot {
  position: fixed; inset: 0; z-index: 60;
  background: var(--bg);
  display: grid; place-items: center;
  transition: opacity 0.8s var(--ease), visibility 0s linear 0.8s;
}
.boot__logo { width: min(26vw, 110px); height: auto; animation: bootPulse 1.6s var(--ease) infinite alternate; }
@keyframes bootPulse { from { opacity: 0.45; } to { opacity: 1; } }
.boot.off { opacity: 0; visibility: hidden; pointer-events: none; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px var(--gutter);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav.solid { background: rgba(241, 242, 236, 0.94); box-shadow: 0 1px 0 rgba(35, 39, 31, 0.08); backdrop-filter: blur(6px); }
.nav__brand, .outro__brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--fukamidori); }
.nav__mark { width: 40px; height: 48px; }
.nav__word { display: flex; flex-direction: column; line-height: 1; }
.nav__name { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; letter-spacing: 0.01em; }
.nav__sub { font-size: 0.62rem; font-weight: 500; letter-spacing: 0.34em; color: var(--sumi-soft); margin-top: 4px; }
.nav__links { display: flex; gap: 28px; }
.nav__links a { text-decoration: none; font-weight: 500; font-size: 1rem; color: var(--sumi); padding: 10px 2px; text-shadow: var(--halo); }
.nav__links a:hover { color: var(--fukamidori); text-decoration: underline; text-underline-offset: 6px; }
@media (max-width: 900px) { .nav__links { display: none; } }
.nav__acts { display: flex; align-items: center; gap: 10px; }

/* Botón Música (js/sonido.js) */
.snd { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 6px 14px 6px 10px; border-radius: 99px;
  border: 2px solid rgba(52, 73, 46, 0.25); background: rgba(241, 242, 236, 0.86); color: var(--fukamidori); font: inherit; font-weight: 700; font-size: 0.98rem;
  cursor: pointer; backdrop-filter: blur(6px); transition: background 0.3s var(--ease), border-color 0.3s var(--ease); }
.snd[hidden] { display: none; }
.snd:hover { border-color: var(--fukamidori); }
.snd:focus-visible { outline: 3px solid var(--wakaba); outline-offset: 3px; }
.snd svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.snd__off { display: none; }
.snd.is-off { color: var(--sumi-soft); }
.snd.is-off .snd__on, .snd.is-off .snd__bars { display: none; }
.snd.is-off .snd__off { display: block; }
.snd__bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.snd__bars b { width: 3px; height: 4px; border-radius: 2px; background: var(--koke); }
.snd.is-playing .snd__bars b { animation: sndBar 1.1s ease-in-out infinite; }
.snd.is-playing .snd__bars b:nth-child(2) { animation-delay: -0.35s; }
.snd.is-playing .snd__bars b:nth-child(3) { animation-delay: -0.7s; }
@keyframes sndBar { 0%, 100% { height: 4px; } 50% { height: 14px; } }
.snd__tip { position: absolute; top: calc(100% + 10px); right: 0; width: max-content; max-width: 240px; padding: 8px 12px; border-radius: 10px;
  background: var(--fukamidori); color: var(--washi); font-size: 0.92rem; font-weight: 500; line-height: 1.35; text-align: left;
  box-shadow: 0 14px 28px -12px rgba(0, 0, 0, 0.5); opacity: 0; transform: translateY(-6px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); pointer-events: none; }
.snd__tip::before { content: ""; position: absolute; top: -6px; right: 22px; border: 6px solid transparent; border-top: 0; border-bottom-color: var(--fukamidori); }
.snd__tip.on { opacity: 1; transform: none; }
@media (max-width: 520px) { .snd__txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .snd { padding: 6px 10px; } }
@media (prefers-reduced-motion: reduce) { .snd.is-playing .snd__bars b { animation: none; height: 10px; } }

/* ---------- Portada: story / stage ---------- */
.story { position: relative; height: 820vh; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--bg); }
#film {
  position: absolute; inset: 0; width: 100%; height: 100%;
  touch-action: pan-y; -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none;
}

/* Capa de efectos en vivo (mariposa, luz, ensō) — js/fx.js */
#fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* ---------- Guía de momentos (土 芽 苔 糸 蝶) ---------- */
.rail {
  position: absolute; right: clamp(14px, 2.4vw, 36px); top: 50%; transform: translateY(-50%);
  list-style: none; display: flex; flex-direction: column; gap: clamp(18px, 4.2vh, 40px);
  z-index: 3; --p: 0;
}
.rail::before, .rail::after {
  content: ""; position: absolute; right: 17px; top: 18px; bottom: 18px; width: 2px;
  background: rgba(52, 73, 46, 0.14); border-radius: 2px;
}
.rail::after { background: var(--shu); transform-origin: top; transform: scaleY(min(1, calc(var(--p) / 0.79))); max-height: calc(100% - 36px); }
.rail li { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.rail span {
  position: relative; z-index: 1; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  background: var(--washi); color: var(--sumi-soft);
  box-shadow: inset 0 0 0 2px rgba(52, 73, 46, 0.22);
  transition: background 0.5s var(--ease), color 0.5s var(--ease), transform 0.6s var(--ease), box-shadow 0.5s var(--ease);
}
.rail em {
  font-style: normal; font-size: 0.95rem; font-weight: 700; letter-spacing: 0.08em; color: var(--fukamidori);
  opacity: 0; transform: translateX(8px); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
  text-shadow: var(--halo);
}
.rail li.done span { background: var(--fukamidori); color: var(--washi); box-shadow: none; }
.rail li.on span { background: var(--shu); color: var(--washi); box-shadow: 0 0 0 6px rgba(184, 67, 47, 0.16); transform: scale(1.12); }
.rail li.on em { opacity: 1; transform: none; }
@media (orientation: portrait) {
  .rail { right: 8px; gap: 14px; top: 46%; }
  .rail span { width: 28px; height: 28px; font-size: 0.9rem; }
  .rail::before, .rail::after { right: 13px; top: 14px; bottom: 14px; }
  .rail em { display: none; }
}

/* ---------- Palabras que entran (portada) ---------- */
.story .w {
  display: inline-block; opacity: 0; transform: translateY(0.45em); filter: blur(6px);
  transition: opacity 0.7s var(--ease), transform 0.9s var(--ease), filter 0.8s var(--ease);
}
.story .ov.on .w { opacity: 1; transform: none; filter: blur(0); }
.story .ov:not(.on) .w { transition-delay: 0s !important; }

/* ---------- Kanji de fondo en cada acto ---------- */
.ov[data-kanji]::before {
  content: attr(data-kanji); position: absolute; top: 50%;
  font-family: var(--font-display); font-weight: 700; line-height: 1;
  font-size: min(46vh, 34vw); color: var(--fukamidori); opacity: 0;
  transform: translateY(-50%) scale(1.12); pointer-events: none;
  transition: opacity 1.2s var(--ease), transform 1.6s var(--ease);
}
.ov--act[data-side="r"]::before { right: clamp(10px, 4vw, 70px); }
.ov--act[data-side="l"]::before, .ov--final::before { left: clamp(10px, 4vw, 70px); }
.ov.on[data-kanji]::before { opacity: 0.07; transform: translateY(-50%) scale(1); }
@media (orientation: portrait) {
  .ov[data-kanji]::before, .ov--act[data-side]::before { left: 50%; right: auto; top: auto; bottom: 2svh; font-size: 30vh; transform: translateX(-50%) scale(1.12); }
  .ov.on[data-kanji]::before { opacity: 0.06; transform: translateX(-50%) scale(1); }
}

/* ---------- Overlays ---------- */
.ov {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.7s var(--ease), visibility 0s linear 0.7s;
}
.ov.on { opacity: 1; visibility: visible; transition: opacity 0.9s var(--ease); }
.ov__inner { transform: translateY(22px); transition: transform 1.1s var(--ease); }
.ov.on .ov__inner { transform: translateY(0); }
.ov.on .btn { pointer-events: auto; }

.eyebrow {
  font-size: 1rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--koke); text-shadow: var(--halo);
}

.ov--hero { display: flex; align-items: center; justify-content: flex-start; padding: 0 clamp(24px, 6vw, 110px); }
.ov--hero .ov__inner { max-width: min(38vw, 540px); }
.hero__title {
  margin-top: 14px;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.3rem, 4.2vw, 4.2rem); line-height: 1.12;
  color: var(--fukamidori); text-shadow: var(--halo);
}
.hero__title em { font-style: normal; color: var(--koke); }
.hero__lead { margin: 18px 0 26px; font-size: clamp(1.1rem, 1.3vw, 1.25rem); color: var(--sumi); text-shadow: var(--halo); max-width: 30ch; }

.cue { position: absolute; bottom: clamp(18px, 4svh, 40px); left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cue__label { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--sumi-soft); text-shadow: var(--halo); }
.cue__line { width: 2px; height: 48px; background: rgba(35, 39, 31, 0.15); overflow: hidden; position: relative; }
.cue__line::after { content: ""; position: absolute; top: -100%; left: 0; width: 100%; height: 100%; background: var(--shu); animation: cueDrop 2s var(--ease) infinite; }
@keyframes cueDrop { from { transform: translateY(0); } to { transform: translateY(200%); } }

.ov--act { display: flex; align-items: center; padding: 0 clamp(24px, 7vw, 130px); }
.ov--act[data-side="r"] { justify-content: flex-end; }
@media (orientation: landscape) { .ov--act[data-side="r"] { padding-right: calc(clamp(24px, 7vw, 130px) + 60px); } }
.ov--act[data-side="l"] { justify-content: flex-start; }
.ov--act .ov__inner { max-width: min(26vw, 380px); }
.act__rule { display: block; width: 48px; height: 2px; background: var(--shu); margin-bottom: 18px; }
.act__num { font-size: 1rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--shu); margin-bottom: 8px; text-shadow: var(--halo); }
.act__name {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.4rem, 4.4vw, 4.2rem); line-height: 1.05; margin-bottom: 14px;
  color: var(--fukamidori); text-shadow: var(--halo);
}
.act__desc { font-size: clamp(1.1rem, 1.3vw, 1.3rem); line-height: 1.6; color: var(--sumi); text-shadow: var(--halo); }

.ov--final { display: flex; align-items: center; justify-content: flex-start; padding: 0 clamp(24px, 7vw, 130px); }
.ov--final .ov__inner { max-width: min(28vw, 420px); }
.final__title {
  margin-top: 12px; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.2rem, 3.4vw, 3.8rem); line-height: 1.1;
  color: var(--fukamidori); text-shadow: var(--halo);
}
.final__title em { font-style: normal; color: var(--shu); }

/* ---------- Versión estática ---------- */
.static { padding: 120px var(--gutter) 64px; text-align: center; max-width: 900px; margin-inline: auto; }
.static .hero__lead { margin-inline: auto; }
body:not(.reduced) .static { position: absolute; left: -9999px; top: 0; width: 1px; height: 1px; overflow: hidden; }
body.reduced .story, body.reduced .filmbar, body.reduced .boot { display: none; }
.static__poster { margin: 32px auto; border-radius: var(--radius); }
.static__acts { list-style: none; display: grid; gap: 12px; margin-bottom: 32px; }
.static__acts strong { font-family: var(--font-display); font-size: 1.3rem; color: var(--fukamidori); }

/* ---------- Confianza rápida ---------- */
.trust { position: relative; z-index: 2; background: var(--fukamidori); color: var(--washi); padding: 28px var(--gutter); }
.trust ul { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1100px; margin: 0 auto; text-align: center; }
.trust strong { display: block; font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--wakaba); line-height: 1.2; }
.trust span { font-size: 1.02rem; }
@media (max-width: 640px) { .trust ul { grid-template-columns: 1fr; gap: 14px; } }

/* ---------- Secciones ---------- */
.sec { position: relative; z-index: 2; background: var(--washi); padding: clamp(64px, 10vw, 120px) var(--gutter); }
.sec--tint { background: var(--washi-2); }
.wrap { max-width: 1100px; margin: 0 auto; }
.kicker { font-size: 1rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--shu); margin-bottom: 10px; }
.sec__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.18; color: var(--fukamidori); max-width: 22ch; margin-bottom: clamp(32px, 5vw, 52px); }
h3 { font-family: var(--font-display); font-weight: 700; color: var(--fukamidori); font-size: 1.55rem; line-height: 1.25; margin-bottom: 10px; }

/* Oferta */
.offer { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; align-items: stretch; }
.card { background: #fff; border-radius: 12px; padding: clamp(24px, 4vw, 40px); box-shadow: 0 1px 0 rgba(35, 39, 31, 0.06), 0 12px 40px -24px rgba(35, 39, 31, 0.35); }
.price { font-family: var(--font-display); font-weight: 700; font-size: clamp(3rem, 6vw, 4.2rem); line-height: 1; color: var(--fukamidori); margin: 8px 0 12px; }
.price span { font-size: 0.5em; vertical-align: 0.6em; }
.price small { font-family: var(--font-body); font-size: 1.05rem; font-weight: 500; color: var(--sumi-soft); }
.card__lead { font-size: 1.15rem; margin-bottom: 18px; }
.checks { list-style: none; display: grid; gap: 10px; margin-bottom: 28px; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 20px; height: 20px; border-radius: 50%; background: var(--wakaba) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%2334492E' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.card--gift { display: grid; grid-template-rows: auto 1fr; padding: 0; overflow: hidden; }
.card--gift img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 60%; }
.card--gift > div { padding: clamp(24px, 4vw, 36px); display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
@media (max-width: 860px) { .offer { grid-template-columns: 1fr; } .card .btn { width: 100%; } }

/* Datos rápidos y adelanto en la tarjeta del taller */
.facts { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 0 22px; }
.facts li { background: var(--washi); border-radius: 10px; padding: 12px 10px; text-align: center; font-size: 0.95rem; line-height: 1.3; color: var(--sumi-soft); }
.facts strong { display: block; font-family: var(--font-display); font-size: 1.45rem; color: var(--fukamidori); }
.deposit { background: rgba(185, 194, 122, 0.25); border-left: 4px solid var(--koke); border-radius: 8px; padding: 14px 16px; margin: -6px 0 22px; font-size: 1.05rem; }
.deposit span { font-size: 0.95rem; color: var(--sumi-soft); letter-spacing: 0.04em; }

/* ---------- Reserva ---------- */
.sec--book { background: linear-gradient(180deg, var(--washi) 0%, var(--washi-2) 100%); }
.book { display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; align-items: start; }
.book__form { display: grid; gap: 18px; }
.book fieldset { border: 0; background: #fff; border-radius: 14px; padding: 22px clamp(16px, 3vw, 28px) 24px; box-shadow: 0 1px 0 rgba(35, 39, 31, 0.06), 0 12px 40px -28px rgba(35, 39, 31, 0.4); }
.book legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: var(--fukamidori); margin-bottom: 16px; }
.book legend + * { clear: both; }
.book__n { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--shu); color: var(--washi); display: grid; place-items: center; font-size: 1rem; }

.dates { display: grid; gap: 10px; }
.dates__loading { color: var(--sumi-soft); }
.date { position: relative; display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 12px 16px 12px 12px; border-radius: 12px; border: 2px solid rgba(35, 39, 31, 0.12); cursor: pointer; transition: border-color 0.25s, background 0.25s; }
.date input, .chips input { position: absolute; opacity: 0; pointer-events: none; }
.date__d { text-align: center; background: var(--washi); border-radius: 10px; padding: 6px 0; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--sumi-soft); line-height: 1.1; }
.date__d b { display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--fukamidori); letter-spacing: 0; }
.date__t { display: flex; flex-direction: column; font-size: 1.02rem; line-height: 1.35; }
.date__t strong { font-size: 1.1rem; color: var(--sumi); }
.date__t em { font-style: normal; font-size: 0.9rem; color: var(--koke); font-weight: 700; }
.date__c { font-size: 0.95rem; font-weight: 700; color: var(--koke); white-space: nowrap; }
.date:has(input:checked) { border-color: var(--fukamidori); background: rgba(185, 194, 122, 0.18); }
.date:has(input:checked) .date__d { background: var(--fukamidori); color: var(--washi); }
.date:has(input:checked) .date__d b { color: var(--washi); }
.date:has(input:focus-visible) { outline: 3px solid var(--shu); outline-offset: 2px; }
.date.is-full { opacity: 0.5; cursor: not-allowed; }
.date.is-full .date__c { color: var(--shu); }
.date .date__c:not(:empty) { }

.pref__note { margin-bottom: 12px; color: var(--sumi-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.chips label { position: relative; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 48px; padding: 10px 18px; border-radius: 999px; border: 2px solid rgba(35, 39, 31, 0.15); font-weight: 500; transition: all 0.25s var(--ease); }
.chips input:checked + span { background: var(--fukamidori); border-color: var(--fukamidori); color: var(--washi); }
.chips input:focus-visible + span { outline: 3px solid var(--shu); outline-offset: 2px; }

.qty { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.qty__b { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--fukamidori); background: #fff; color: var(--fukamidori); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.qty__b:hover { background: var(--fukamidori); color: var(--washi); }
#qty { min-width: 36px; text-align: center; font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--fukamidori); }
.qty__max { font-size: 0.95rem; color: var(--sumi-soft); }
.name { display: grid; gap: 6px; font-size: 1rem; color: var(--sumi-soft); }
.name input { font: inherit; font-size: 1.1rem; color: var(--sumi); padding: 12px 14px; border-radius: 10px; border: 2px solid rgba(35, 39, 31, 0.15); background: #fff; }
.name input:focus { outline: none; border-color: var(--fukamidori); }

.book__sum { position: sticky; top: 90px; background: var(--fukamidori); color: var(--washi); border-radius: 16px; padding: 26px clamp(18px, 3vw, 30px) 28px; box-shadow: 0 30px 60px -30px rgba(35, 39, 31, 0.6); }
.sum__title { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; margin-bottom: 14px; }
.book__sum dl { display: grid; gap: 10px; margin-bottom: 18px; }
.book__sum dl div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid rgba(241, 242, 236, 0.18); }
.book__sum dt { color: #CCD3BF; }
.book__sum dd { font-weight: 700; text-align: right; }
.sum__dep dd { font-family: var(--font-display); font-size: 1.6rem; color: var(--wakaba); }
.sum__pay { font-size: 1.02rem; margin-bottom: 18px; color: #E3E7DA; }
.btn--wa { width: 100%; background: var(--wa); border-color: var(--wa); color: #fff; font-size: 1.15rem; min-height: 62px; }
.btn--wa:hover { background: #18663f !important; border-color: #18663f !important; }
/* "Reservar su espacio": claro sobre la tarjeta verde oscuro del resumen */
.btn--book { width: 100%; background: var(--wakaba); border-color: var(--wakaba); color: var(--sumi); font-size: 1.2rem; min-height: 64px;
  box-shadow: 0 14px 28px -14px rgba(0, 0, 0, 0.55); }
.btn--book:hover { background: #CAD28F !important; border-color: #CAD28F !important; color: var(--sumi) !important; }
.btn--book:focus-visible { outline: 3px solid var(--washi); outline-offset: 3px; }
.sum__steps { margin: 20px 0 0 20px; display: grid; gap: 6px; font-size: 0.98rem; color: #E3E7DA; }
@media (max-width: 900px) {
  .book { grid-template-columns: 1fr; }
  .book__sum { position: static; }
}

/* Barra fija de reserva (celular) */
.bookbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 57;
  display: none; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(241, 242, 236, 0.97); box-shadow: 0 -1px 0 rgba(35, 39, 31, 0.1), 0 -12px 30px -18px rgba(35, 39, 31, 0.4);
  transform: translateY(110%); transition: transform 0.45s var(--ease);
}
.bookbar strong { display: block; font-family: var(--font-display); font-size: 1.4rem; color: var(--fukamidori); line-height: 1.1; }
.bookbar span { font-size: 0.9rem; color: var(--sumi-soft); }
.bookbar .btn { min-height: 50px; padding: 10px 26px; }
.bookbar.show { transform: none; }
@media (max-width: 860px) {
  .bookbar { display: flex; }
  .wa-float { bottom: calc(86px + env(safe-area-inset-bottom)); }
}

/* Paso a paso: sellos hanko con numerales japoneses */
.sec--paper {
  background-color: var(--washi);
  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='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.06'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
.steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; }
.steps::before { content: ""; position: absolute; top: 30px; left: 30px; right: 30px; height: 2px; background: repeating-linear-gradient(90deg, var(--tsuchi) 0 8px, transparent 8px 14px); opacity: 0.5; }
.steps li { position: relative; }
.hanko {
  position: relative; display: grid; place-items: center;
  width: 60px; height: 60px; border-radius: 10px; margin-bottom: 18px;
  background: var(--shu); color: var(--washi);
  font-family: var(--font-display); font-weight: 700; font-size: 1.7rem;
  box-shadow: inset 0 0 0 3px var(--shu), inset 0 0 0 5px rgba(241, 242, 236, 0.55);
  transform: rotate(-4deg);
}
.steps li:nth-child(even) .hanko { transform: rotate(3deg); }
.steps h3 { font-size: 1.3rem; margin-bottom: 6px; }
.steps p { font-size: 1.05rem; line-height: 1.55; }
@media (max-width: 980px) {
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .steps::before { top: 30px; bottom: 30px; left: 29px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--tsuchi) 0 8px, transparent 8px 14px); }
  .steps li { display: grid; grid-template-columns: 60px 1fr; gap: 18px; align-items: start; }
  .hanko { margin-bottom: 0; }
}

/* Preguntas frecuentes */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: start; }
.faq details { border-top: 1px solid rgba(35, 39, 31, 0.16); }
.faq details:last-child { border-bottom: 1px solid rgba(35, 39, 31, 0.16); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 20px 48px 20px 0; min-height: 56px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--fukamidori);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 14px; margin-top: -10px;
  border-right: 2.5px solid var(--shu); border-bottom: 2.5px solid var(--shu);
  transform: rotate(45deg); transition: transform 0.35s var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { padding: 0 8px 22px 0; max-width: 58ch; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; gap: 8px; } }

/* Entradas suaves al bajar (solo con JS y sin movimiento reducido) */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 1s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; transition: none; } }

/* Fotos: leve acercamiento al pasar el mouse */
@media (hover: hover) {
  .sense img, .who img, .gallery img { transition: transform 0.9s var(--ease); }
  .sense:hover img, .who article:hover img, .gallery img:hover { transform: scale(1.03); }
  .sense, .who article, .gallery { overflow: hidden; }
}

/* Cinco sentidos */
.senses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sense { background: #fff; border-radius: 12px; overflow: hidden; }
.sense img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.sense figcaption { padding: 18px 20px 22px; font-size: 1.05rem; line-height: 1.5; }
.sense strong { display: block; font-family: var(--font-display); font-size: 1.35rem; color: var(--fukamidori); margin-bottom: 4px; }
.kanji { float: right; font-family: var(--font-display); font-weight: 700; color: var(--washi); background: var(--fukamidori); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 1.15rem; margin-left: 8px; }
/* El club de socias (invitación) */
.sec--club { background: radial-gradient(120% 100% at 85% 0%, #46603C 0%, #2B3D26 50%, #1C2918 100%); color: var(--washi); overflow: hidden; }
.sec--club .sec__title { color: var(--washi); }
.sec--club .kicker { color: var(--wakaba); }
.clubx { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.clubx__lead { font-size: 1.15rem; line-height: 1.6; color: #DCE2D0; max-width: 44ch; }
.clubx__list { list-style: none; display: grid; gap: 12px; margin: 22px 0 26px; }
.clubx__list li { display: flex; gap: 12px; align-items: center; font-size: 1.1rem; }
.clubx__list span { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(241, 242, 236, 0.1); font-size: 1.25rem; }
.clubx__acts { display: flex; gap: 12px; flex-wrap: wrap; }
.sec--club .btn { background: var(--washi); color: var(--fukamidori); border-color: var(--washi); }
.sec--club .btn--ghost { background: transparent; color: var(--washi); border-color: rgba(241, 242, 236, 0.6); }
/* la tarjeta de muestra es la misma del club (css/tarjeta.css + js/tarjeta.js); aquí solo flota */
.clubx__card { display: grid; justify-items: center; }
.clubx__flota { width: min(440px, 100%); display: grid; justify-items: center; transform: rotate(-4deg); animation: flota 6s ease-in-out infinite; }
@keyframes flota { 0%, 100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(-2deg) translateY(-10px); } }
@media (max-width: 860px) { .clubx { grid-template-columns: 1fr; } .clubx__card { order: -1; } }
@media (prefers-reduced-motion: reduce) { .clubx__flota { animation: none; } }

/* El tacto: tocar la tierra con las manos */
.touch { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 56px); align-items: center;
  margin-top: clamp(44px, 6vw, 72px); background: #fff; border-radius: 20px; padding: clamp(16px, 2.4vw, 28px); box-shadow: 0 30px 60px -40px rgba(35, 39, 31, 0.45); }
.touch__img { position: relative; margin: 0; border-radius: 14px; overflow: hidden; }
.touch__img img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.touch__k { position: absolute; left: 14px; bottom: 10px; font-family: var(--font-display); font-weight: 700; font-size: clamp(3.5rem, 7vw, 5.5rem); line-height: 1;
  color: var(--washi); opacity: 0.88; text-shadow: 0 6px 24px rgba(0, 0, 0, 0.45); }
.touch__txt h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.2; color: var(--fukamidori); margin-bottom: 14px; }
.touch__lead { font-size: 1.15rem; line-height: 1.65; color: var(--sumi); max-width: 46ch; }
.touch__list { list-style: none; display: grid; gap: 10px; margin: 20px 0; }
.touch__list li { font-size: 1.08rem; line-height: 1.5; padding-left: 30px; position: relative; color: var(--sumi); }
.touch__list li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 14px; height: 14px; border-radius: 50%; background: var(--koke);
  box-shadow: 0 0 0 4px rgba(127, 139, 55, 0.18); }
.touch__list b { color: var(--fukamidori); }
.touch__note { font-family: var(--font-display); font-size: 1.15rem; color: var(--shu); }
@media (max-width: 820px) { .touch { grid-template-columns: 1fr; } .touch__img img { aspect-ratio: 4 / 3; } }

.reasons { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.reasons li { border-top: 2px solid var(--koke); padding-top: 16px; }
.reasons strong { display: block; font-family: var(--font-display); font-size: 1.3rem; color: var(--fukamidori); }
@media (max-width: 980px) { .senses { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .reasons { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .senses { grid-template-columns: 1fr; } .sense img { aspect-ratio: 4 / 3; } }

/* Para quién */
.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.who img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; margin-bottom: 18px; }
@media (max-width: 860px) { .who { grid-template-columns: 1fr; gap: 40px; } .who img { aspect-ratio: 4 / 3; } }

/* Galería */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; }
.gallery .g--wide { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
.note { margin-top: 14px; font-size: 1rem; color: var(--sumi-soft); }
@media (max-width: 640px) { .gallery { grid-template-columns: 1fr; } .gallery .g--wide { aspect-ratio: 16 / 9; } }

/* Dónde y cuándo */
.where { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: end; }
.where .sec__title { margin-bottom: 18px; }
.where p { max-width: 42ch; font-size: 1.12rem; }
.where__actions { display: grid; gap: 14px; }
@media (max-width: 860px) { .where { grid-template-columns: 1fr; } }

/* Cierre */
.closing { position: relative; z-index: 2; background: var(--fukamidori); color: var(--washi); text-align: center; padding: clamp(72px, 12vw, 130px) var(--gutter); display: flex; flex-direction: column; align-items: center; gap: 26px; }
.closing__mark { width: 72px; height: 86px; filter: drop-shadow(0 0 0 transparent); }
.closing h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.2; }
.closing em { font-style: normal; color: var(--wakaba); }

/* Pie */
.outro { position: relative; z-index: 2; background: var(--sumi); color: #D9DCD0; padding: 48px var(--gutter) 96px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-size: 1rem; }
.outro__brand { color: var(--washi); margin-bottom: 8px; }
.outro__brand svg { width: 40px; height: 48px; }
.outro .nav__sub { color: #B5B9AC; }
.outro a { color: var(--washi); }
.outro__copy { font-size: 1rem; color: #A5AA9C; }
.outro a.outro__admin { margin-top: 14px; font-size: 0.85rem; color: #8F9486; text-decoration: none; padding: 10px 14px; border: 1px solid rgba(217, 220, 208, 0.18); border-radius: 99px; }
.outro a.outro__admin:hover, .outro a.outro__admin:focus-visible { color: var(--washi); border-color: rgba(217, 220, 208, 0.5); }

/* WhatsApp flotante */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 56;
  width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wa); color: #fff;
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.45);
  transform: translateY(120px); transition: transform 0.5s var(--ease);
}
.wa-float svg { width: 32px; height: 32px; }
.wa-float.show { transform: none; }

/* Barra de carga */
.filmbar { position: fixed; left: 0; bottom: 0; width: 100%; height: 3px; z-index: 55; background: var(--koke); transform: scaleX(0); transform-origin: left; transition: opacity 0.8s var(--ease); pointer-events: none; }
.filmbar.done { opacity: 0; }

/* ---------- Celular / vertical: texto arriba y abajo, la kokedama al centro ---------- */
@media (max-width: 600px) {
  .nav { padding: 10px 16px; }
  .nav__name { font-size: 1.45rem; }
  .nav__mark { width: 34px; height: 40px; }
}
@media (orientation: portrait) {
  .ov--hero { align-items: flex-start; justify-content: center; text-align: center; padding: clamp(84px, 12svh, 130px) 16px 0; }
  /* Título arriba; texto y botón abajo; la kokedama queda libre al centro.
     Sin transform en el inner para que el botón se ubique respecto de la pantalla. */
  .ov--hero .ov__inner, .ov--hero.on .ov__inner { max-width: 30ch; transform: none; }
  .hero__title { font-size: clamp(2rem, 8.4vw, 2.8rem); }
  .ov--hero .hero__lead {
    position: absolute; left: 16px; right: 16px; bottom: calc(clamp(20px, 4svh, 44px) + 70px);
    margin: 0 auto; max-width: 30ch; font-size: 1.1rem; line-height: 1.5;
  }
  .ov--hero .btn { position: absolute; left: 16px; right: 16px; bottom: clamp(20px, 4svh, 44px); }
  .ov--hero .cue { display: none; }
  .ov--act, .ov--act[data-side="r"], .ov--act[data-side="l"], .ov--final {
    align-items: flex-end; justify-content: center; text-align: center;
    padding: 0 16px clamp(36px, 8svh, 80px);
  }
  .ov--act .ov__inner, .ov--final .ov__inner { max-width: 30ch; }
  .act__rule { margin-inline: auto; }
  .act__name, .final__title { font-size: clamp(2.1rem, 9vw, 2.8rem); }
}

/* Celulares bajitos: sin espacio para el texto de apoyo bajo la kokedama */
@media (orientation: portrait) and (max-height: 720px) {
  .ov--hero .hero__lead { display: none; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cue__line::after, .boot__logo { animation: none !important; }
  .ov, .ov__inner, .btn, .wa-float { transition: none !important; }
}
