/* =====================================================================
   CENTRO SUSHI
   Negro laca · blanco washi · rojo hinomaru (#EC141A, tomado del logo)
   ===================================================================== */

:root {
  --ink: #070606;
  --ink-1: #0f0d0c;
  --ink-2: #181614;
  --ink-3: #24211e;
  --washi: #f8f4ee;
  --washi-2: #d6cfc3;
  --muted: #9a9286;
  --beni: #ec141a;
  --beni-hi: #ff3036;
  --beni-lo: #b50b10;
  --line: rgba(248, 244, 238, 0.1);
  --line-2: rgba(248, 244, 238, 0.18);

  --display: "Dela Gothic One", "Zen Kaku Gothic New", system-ui, sans-serif;
  --body: "Zen Kaku Gothic New", system-ui, -apple-system, "Segoe UI", sans-serif;
  --brush: "Yuji Syuku", "Hiragino Mincho ProN", "Yu Mincho", serif;

  --gutter: clamp(18px, 5vw, 40px);
  --maxw: 1120px;
  --r: 20px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --spring: cubic-bezier(0.25, 1.35, 0.4, 1);

  --seigaiha: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='32' height='16'%3E%3Cdefs%3E%3Cg id='a' fill='%23070606' stroke='%23f8f4ee' stroke-opacity='.075'%3E%3Ccircle r='15.5'/%3E%3Ccircle r='11.5'/%3E%3Ccircle r='7.2'/%3E%3Ccircle r='2.8'/%3E%3C/g%3E%3C/defs%3E%3Cuse xlink:href='%23a' x='0' y='-16'/%3E%3Cuse xlink:href='%23a' x='32' y='-16'/%3E%3Cuse xlink:href='%23a' x='16' y='-8'/%3E%3Cuse xlink:href='%23a' x='0' y='0'/%3E%3Cuse xlink:href='%23a' x='32' y='0'/%3E%3Cuse xlink:href='%23a' x='16' y='8'/%3E%3Cuse xlink:href='%23a' x='0' y='16'/%3E%3Cuse xlink:href='%23a' x='32' y='16'/%3E%3Cuse xlink:href='%23a' x='16' y='24'/%3E%3C/svg%3E");

  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--washi);
  font: 400 1rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

/* grano de papel */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.jp { font-family: var(--brush); font-weight: 400; }

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--washi);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.skip:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--beni-hi);
  outline-offset: 3px;
}

/* ---------- Botones ---------- */
.btn {
  --h: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--h);
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 0.2s var(--ease), background-color 0.2s, box-shadow 0.2s, color 0.2s;
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 22px; height: 22px; flex: none; }

.btn--beni {
  background: var(--beni);
  color: #fff;
  box-shadow: 0 10px 28px -10px rgba(236, 20, 26, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn--beni:hover { background: var(--beni-hi); }

.btn--ghost {
  background: transparent;
  color: var(--washi);
  box-shadow: inset 0 0 0 1.5px var(--line-2);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--washi); }

.btn--block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 16px;
  height: 64px;
  padding: 0 var(--gutter);
  padding-top: env(safe-area-inset-top);
  box-sizing: content-box;
  transition: background-color 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
.nav.is-scrolled {
  background: rgba(7, 6, 6, 0.82);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--line);
}
.nav__brand {
  display: block;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.3s, transform 0.3s var(--ease);
}
.nav.is-scrolled .nav__brand { opacity: 1; transform: none; }
.nav__brand img { height: 36px; width: auto; }

.nav__links { display: none; }

.nav__wa {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px 0 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  box-shadow: inset 0 0 0 1.5px var(--line-2);
  transition: box-shadow 0.2s, background-color 0.2s;
}
.nav__wa svg { width: 20px; height: 20px; color: #25d366; }
.nav__wa:hover { box-shadow: inset 0 0 0 1.5px var(--washi); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: grid;
  gap: 34px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 4px var(--gutter) 24px;
}

.hero__kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--washi-2);
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--beni);
  box-shadow: 0 0 0 0 rgba(236, 20, 26, 0.6);
  animation: latido 2.4s infinite;
}
@keyframes latido {
  0% { box-shadow: 0 0 0 0 rgba(236, 20, 26, 0.55); }
  70%, 100% { box-shadow: 0 0 0 10px rgba(236, 20, 26, 0); }
}

.hero__logo { margin: 18px 0 20px -2%; }
.hero__logo img { width: min(104%, 560px); }

.hero__lead {
  max-width: 36ch;
  font-size: 1.07rem;
  line-height: 1.65;
  color: var(--washi-2);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.hero__cta .btn { flex: 1 1 auto; }

.hero__art {
  position: relative;
  margin: 6px 0 22px;
  isolation: isolate;
}
.hero__photo {
  position: relative;
  z-index: 1;
  width: 84%;
  margin-left: auto;
  aspect-ratio: 1204 / 1600;
  object-fit: cover;
  transform: rotate(1.4deg);
}
.hero__sun {
  position: absolute;
  z-index: 0;
  left: -8%;
  top: -5%;
  width: 66%;
  aspect-ratio: 212 / 204;
  background: var(--beni);
  -webkit-mask: url(img/sol.webp) center / contain no-repeat;
  mask: url(img/sol.webp) center / contain no-repeat;
}
.hero__vert {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: 10%;
  writing-mode: vertical-rl;
  font-size: clamp(1.05rem, 4.6vw, 1.5rem);
  letter-spacing: 0.35em;
  color: var(--washi);
}
.hanko {
  position: absolute;
  z-index: 2;
  right: -2%;
  bottom: -18px;
  display: grid;
  place-items: center;
  width: clamp(64px, 19vw, 92px);
  aspect-ratio: 1;
  background: var(--beni);
  color: var(--washi);
  font-size: clamp(40px, 12vw, 58px);
  line-height: 1;
  transform: rotate(-7deg);
  -webkit-mask: url(img/mask-alto.webp) center / 100% 100%;
  mask: url(img/mask-alto.webp) center / 100% 100%;
}

/* máscaras de pincel */
.brush-alto {
  -webkit-mask: url(img/mask-alto.webp) center / 100% 100% no-repeat;
  mask: url(img/mask-alto.webp) center / 100% 100% no-repeat;
}
.brush-ancho {
  -webkit-mask: url(img/mask-ancho.webp) center / 100% 100% no-repeat;
  mask: url(img/mask-ancho.webp) center / 100% 100% no-repeat;
}

/* ---------- Secciones ---------- */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 72px var(--gutter) 16px;
}

.sec-head { margin-bottom: 30px; }
.sec-head__jp {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.35em;
  color: var(--beni);
}
.sec-head__title {
  margin-top: 6px;
  font: 400 clamp(2.6rem, 12vw, 4.4rem) / 1 var(--display);
  letter-spacing: -0.01em;
}
.trazo {
  display: block;
  width: min(64%, 300px);
  aspect-ratio: 617 / 78;
  margin-top: 12px;
  background: var(--beni);
  -webkit-mask: url(img/trazo.webp) left center / contain no-repeat;
  mask: url(img/trazo.webp) left center / contain no-repeat;
}

.sub-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 40px 0 16px;
}
.sub-head:first-of-type { margin-top: 0; }
.sub-head h3 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.sub-head .jp { color: var(--muted); font-size: 0.95rem; letter-spacing: 0.2em; }
.sub-head::after {
  content: "";
  flex: 1;
  height: 1px;
  align-self: center;
  background: var(--line);
}
.sub-note { margin: -6px 0 16px; color: var(--muted); font-size: 0.9rem; }

/* ---------- Precios ---------- */
.precio {
  font: 400 1.2rem/1 var(--display);
  white-space: nowrap;
}
.precio--consultar {
  font: 700 0.72rem/1 var(--body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 9px;
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px var(--line-2);
}

/* ---------- Combos ---------- */
.combos { display: grid; gap: 26px; }

.combo {
  position: relative;
  overflow: hidden;
  border-radius: var(--r);
  background: var(--ink-1);
  box-shadow: inset 0 0 0 1px var(--line);
}

.car { position: relative; }
.car__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  border-radius: var(--r) var(--r) 0 0;
}
.car__track::-webkit-scrollbar { display: none; }
.car__track img {
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background: var(--ink-2);
}
.car::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 30%;
  pointer-events: none;
  background: linear-gradient(to top, rgba(15, 13, 12, 0.85), transparent);
}
.car__dots {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 4px;
}
.car__dots button {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: none;
  display: grid;
  place-items: center;
}
.car__dots button::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(248, 244, 238, 0.45);
  transition: width 0.3s var(--ease), background-color 0.3s;
}
.car__dots button[aria-current="true"]::before { width: 22px; background: var(--washi); }

.car__nav {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  border: 0;
  border-radius: 50%;
  background: rgba(7, 6, 6, 0.6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.2s, background-color 0.2s;
}
.car__nav svg { width: 20px; height: 20px; fill: none; stroke: var(--washi); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.car__nav:hover { background: rgba(7, 6, 6, 0.85); }
.car__nav--prev { left: 12px; }
.car__nav--next { right: 12px; }
@media (hover: hover) and (pointer: fine) {
  .car__nav { display: grid; }
  .car:hover .car__nav, .car__nav:focus-visible { opacity: 1; }
}

.badge-piezas {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  display: grid;
  justify-items: center;
  width: 64px;
  padding: 9px 0 8px;
  background: var(--beni);
  color: #fff;
  transform: rotate(-4deg);
  -webkit-mask: url(img/mask-alto.webp) center / 100% 100%;
  mask: url(img/mask-alto.webp) center / 100% 100%;
}
.badge-piezas b { font: 400 1.7rem/1 var(--display); }
.badge-piezas span { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }

.combo__body { padding: 20px 20px 22px; }
.combo__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.combo__name { font: 400 1.65rem/1.1 var(--display); }
.combo__bajada { margin-top: 6px; color: var(--washi-2); }

.combo__contiene {
  margin: 18px 0 0;
  border-top: 1px dashed var(--line-2);
}
.combo__contiene li {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line-2);
}
.combo__contiene b { font: 400 1.15rem/1 var(--display); color: var(--beni); }
.combo__contiene span { font-weight: 500; }
.combo__contiene small { display: block; color: var(--muted); font-size: 0.85rem; }

.combo__incluye {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 18px;
  font-size: 0.88rem;
  color: var(--muted);
}
.combo__incluye::before {
  content: "";
  width: 14px;
  height: 14px;
  flex: none;
  background: var(--beni);
  -webkit-mask: url(img/sol.webp) center / contain no-repeat;
  mask: url(img/sol.webp) center / contain no-repeat;
}

/* ---------- Cantidades ---------- */
.add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  font-weight: 700;
  transition: transform 0.2s var(--ease), background-color 0.2s;
}
.add:active { transform: scale(0.95); }
.add__plus { font: 400 1.35rem/1 var(--display); margin-top: -2px; }

.add--wide {
  width: 100%;
  height: 54px;
  border-radius: 999px;
  background: var(--washi);
  color: var(--ink);
}
.add--wide:hover { background: #fff; }

.add--round {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--washi);
  color: var(--ink);
}

.stepper {
  display: inline-grid;
  grid-template-columns: 44px minmax(40px, auto) 44px;
  align-items: center;
  height: 44px;
  border-radius: 999px;
  background: var(--ink-3);
  box-shadow: inset 0 0 0 1px var(--line-2);
  animation: aparecer 0.3s var(--spring);
}
.stepper--wide {
  display: grid;
  grid-template-columns: 54px 1fr 54px;
  height: 54px;
}
.stepper button {
  height: 100%;
  border: 0;
  border-radius: 50%;
  background: transparent;
  font: 400 1.35rem/1 var(--display);
  transition: background-color 0.2s;
}
.stepper button:hover { background: rgba(248, 244, 238, 0.07); }
.stepper button[data-inc] { color: var(--beni-hi); }
.stepper output {
  text-align: center;
  font: 400 1.15rem/1 var(--display);
}
.stepper--wide output small {
  display: block;
  margin-top: 3px;
  font: 700 0.62rem/1 var(--body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
@keyframes aparecer {
  from { transform: scale(0.85); opacity: 0; }
}

/* ---------- Piezas sueltas ---------- */
.piezas { display: grid; gap: 12px; }
.pieza {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  padding: 12px;
  border-radius: var(--r);
  background: var(--ink-1);
  box-shadow: inset 0 0 0 1px var(--line);
}
.pieza__img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 14px;
  background: var(--ink-2);
}
.pieza__info { display: flex; flex-direction: column; min-width: 0; }
.pieza__info h4 { font-size: 1.05rem; font-weight: 700; line-height: 1.25; }
.pieza__desc { margin-top: 3px; font-size: 0.88rem; line-height: 1.45; color: var(--muted); }
.pieza__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
}
.pieza__foot .precio:not(.precio--consultar) { font-size: 1.05rem; }
.pieza__foot .precio--consultar { font-size: 0.66rem; letter-spacing: 0.1em; padding: 6px 7px; }
.pieza__foot > [data-qty] { margin-left: auto; }
.pieza .stepper { grid-template-columns: 38px minmax(30px, auto) 38px; height: 42px; }

/* ---------- Banda ---------- */
.banda {
  position: relative;
  max-width: 1080px;
  margin: 72px auto 0;
  padding: 0 calc(var(--gutter) * 0.5);
}
.banda__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.banda__quote {
  position: relative;
  margin: -34px var(--gutter) 0;
  font: 400 clamp(1.75rem, 8.2vw, 3.4rem) / 1.12 var(--display);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.7);
}
.banda__quote em { font-style: normal; color: var(--beni); }

/* ---------- Pasos ---------- */
#como-pedir { position: relative; }
.pasos { display: grid; gap: 14px; counter-reset: paso; }
.pasos li {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  column-gap: 16px;
  padding: 20px 18px;
  border-radius: var(--r);
  background: var(--seigaiha) 0 0 / 32px 16px, var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
}
.pasos li::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, var(--ink-1) 35%, rgba(15, 13, 12, 0.55));
}
.pasos li > * { position: relative; }
.pasos__num {
  grid-row: span 2;
  font-size: 3.2rem;
  line-height: 0.9;
  color: var(--beni);
  text-align: center;
}
.pasos h3 { font: 400 1.35rem/1.2 var(--display); }
.pasos p { margin-top: 4px; color: var(--washi-2); }

/* ---------- Contacto ---------- */
.contacto__list { display: grid; gap: 12px; }
.contacto__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--r);
  background: var(--ink-1);
  box-shadow: inset 0 0 0 1px var(--line);
  text-decoration: none;
}
a.contacto__item { transition: box-shadow 0.2s; }
a.contacto__item:hover { box-shadow: inset 0 0 0 1px var(--line-2); }
.contacto__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
  background: var(--ink-3);
}
.contacto__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contacto__icon--wa { background: #25d366; color: #fff; }
.contacto__icon--wa svg { fill: currentColor; stroke: none; width: 24px; height: 24px; }
.contacto__label { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.contacto__value { display: block; font-weight: 500; font-size: 1.02rem; }
.contacto__arrow { margin-left: auto; color: var(--muted); font-size: 1.3rem; }

/* ---------- Footer ---------- */
.footer {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-top: 88px;
  padding: 56px var(--gutter) calc(120px + env(safe-area-inset-bottom));
  text-align: center;
  background: var(--seigaiha) 0 0 / 32px 16px;
}
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(var(--ink), rgba(7, 6, 6, 0.4) 50%, var(--ink));
}
.footer > * { position: relative; }
.footer img { width: 150px; }
.footer__jp { color: var(--beni); letter-spacing: 0.4em; font-size: 1.05rem; }
.footer__legal { color: var(--muted); font-size: 0.82rem; }

/* ---------- Barra del pedido ---------- */
.cartbar {
  position: fixed;
  z-index: 40;
  left: 50%;
  bottom: calc(14px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(calc(100% - 28px), 520px);
  height: 62px;
  padding: 0 22px 0 9px;
  border: 0;
  border-radius: 999px;
  background: var(--beni);
  color: #fff;
  text-align: left;
  box-shadow: 0 16px 36px -10px rgba(236, 20, 26, 0.6), 0 6px 18px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translate(-50%, 0);
  transition: transform 0.5s var(--spring), opacity 0.3s, background-color 0.2s;
}
.cartbar:hover { background: var(--beni-hi); }
.cartbar.is-hidden {
  transform: translate(-50%, 160%);
  opacity: 0;
  pointer-events: none;
}
.cartbar__count {
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--ink);
  font: 400 1.1rem/1 var(--display);
}
.cartbar.bump .cartbar__count { animation: pop 0.45s var(--spring); }
@keyframes pop {
  40% { transform: scale(1.28); }
}
.cartbar__label { font-weight: 700; font-size: 1.02rem; }
.cartbar__total { margin-left: auto; font: 400 1.05rem/1 var(--display); white-space: nowrap; }
.cartbar__total--arrow { font-family: var(--body); font-size: 1.4rem; }

/* ---------- Hoja del pedido ---------- */
.sheet {
  width: 100%;
  max-width: 560px;
  max-height: min(94dvh, 920px);
  margin: auto auto 0;
  padding: 0;
  border: 0;
  border-radius: 26px 26px 0 0;
  background: var(--ink-1);
  color: var(--washi);
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 var(--line-2);
  overscroll-behavior: contain;
}
.sheet[open] {
  display: flex;
  flex-direction: column;
  animation: subir 0.42s var(--ease);
}
.sheet::backdrop {
  background: rgba(0, 0, 0, 0.62);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
@keyframes subir {
  from { transform: translateY(100%); }
}

.sheet__inner {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.sheet__head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 20px 12px;
}
.sheet__grip {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 40px;
  height: 4px;
  margin-left: -20px;
  border-radius: 4px;
  background: var(--line-2);
}
.sheet__head h2 { font: 400 1.6rem/1 var(--display); }

.icon-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--ink-3);
}
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: var(--washi); stroke-width: 2.2; stroke-linecap: round; }

.sheet__body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 4px 20px 20px;
  overscroll-behavior: contain;
}

.linea-list { border-top: 1px dashed var(--line-2); }
.linea {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line-2);
}
.linea__name { font-weight: 700; line-height: 1.3; }
.linea__meta { font-size: 0.85rem; color: var(--muted); }

.sheet__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0 4px;
}
.sheet__total span { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.sheet__total b { font: 400 1.5rem/1 var(--display); }
.sheet__total p { font-size: 0.88rem; color: var(--muted); }

.link-btn {
  padding: 8px 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 0.86rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.link-btn:hover { color: var(--washi); }

.field {
  margin: 18px 0 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.field[hidden] { display: none; }
.field label,
.field legend {
  display: block;
  margin-bottom: 8px;
  padding: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--washi-2);
}
.field .opt { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--muted); }
.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 0;
  border-radius: 14px;
  background: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: 16px; /* evita el zoom en iOS */
  transition: box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 56px; }
.field input::placeholder,
.field textarea::placeholder { color: #6f685e; }
.field input:focus,
.field textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--washi); }
.field.is-error input { box-shadow: inset 0 0 0 2px var(--beni-hi); }
.field__err { display: none; margin-top: 6px; font-size: 0.86rem; color: #ff6b6f; }
.field.is-error .field__err { display: block; }

.seg {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 4px;
  padding: 4px;
  border-radius: 16px;
  background: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.seg label {
  position: relative;
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--washi-2);
}
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span {
  display: grid;
  place-items: center;
  min-height: 46px;
  padding: 6px 10px;
  border-radius: 12px;
  text-align: center;
  line-height: 1.2;
  transition: background-color 0.2s, color 0.2s;
  cursor: pointer;
}
.seg input:checked + span { background: var(--washi); color: var(--ink); font-weight: 700; }
.seg input:focus-visible + span { outline: 2px solid var(--beni-hi); outline-offset: 2px; }

.sheet__foot {
  padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--ink-1);
}
.btn--send { --h: 56px; font-size: 1.02rem; }
.sheet__hint { margin-top: 10px; text-align: center; font-size: 0.8rem; color: var(--muted); }

.vacio {
  padding: 28px 0 8px;
  text-align: center;
  color: var(--muted);
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  z-index: 70;
  left: 50%;
  bottom: calc(92px + env(safe-area-inset-bottom));
  max-width: calc(100% - 40px);
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--washi);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s var(--spring), opacity 0.25s;
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }

.noscript {
  padding: 16px;
  border-radius: 14px;
  background: var(--ink-2);
  color: var(--washi-2);
}

/* ---------- Animaciones de entrada ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

.js .sec-head .trazo {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.9s 0.25s cubic-bezier(0.7, 0, 0.2, 1);
}
.js .sec-head.is-in .trazo { clip-path: inset(0 0 0 0); }

.hero__kicker,
.hero__lead,
.hero__cta { animation: subir-suave 0.9s var(--ease) both; }
.hero__kicker { animation-delay: 0.05s; }
.hero__lead { animation-delay: 0.55s; }
.hero__cta { animation-delay: 0.7s; }
.hero__logo img { animation: pincel 1.15s 0.15s cubic-bezier(0.7, 0, 0.2, 1) both; }
.hero__sun { animation: sol 1.3s 0.35s var(--ease) both; }
.hero__photo { animation: foto 1.1s 0.5s var(--ease) both; }
.hero__vert { animation: subir-suave 1s 1s var(--ease) both; }
.hanko { animation: sello 0.5s 1.25s var(--spring) both; }

@keyframes subir-suave {
  from { opacity: 0; transform: translateY(18px); }
}
@keyframes pincel {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 -2% 0 0); }
}
@keyframes sol {
  from { opacity: 0; transform: scale(0.7) rotate(-40deg); }
}
@keyframes foto {
  from { opacity: 0; transform: translateY(30px) rotate(4deg); }
}
@keyframes sello {
  from { opacity: 0; transform: scale(1.8) rotate(-20deg); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
  }
  .js [data-reveal] { transform: none; }
}

/* =====================================================================
   Pantallas más grandes
   ===================================================================== */
@media (min-width: 640px) {
  .hero__cta .btn { flex: 0 0 auto; }
  .piezas { grid-template-columns: repeat(2, 1fr); }
  .combos { grid-template-columns: repeat(2, 1fr); align-items: start; }
  .combos:has(> :only-child) { grid-template-columns: minmax(0, 560px); }
  .pasos { grid-template-columns: repeat(3, 1fr); }
  .pasos li { grid-template-columns: 1fr; row-gap: 8px; padding: 24px 22px 26px; }
  .pasos__num { grid-row: auto; text-align: left; font-size: 3.6rem; }
  .contacto__list { grid-template-columns: repeat(2, 1fr); }
  .sheet { margin: auto; border-radius: 26px; max-height: min(88dvh, 860px); }
  .sheet[open] { animation-name: aparecer; }
  .sheet__grip { display: none; }
}

@media (min-width: 960px) {
  .nav { height: 76px; }
  .nav__brand { opacity: 1; transform: none; }
  .nav__brand img { height: 42px; }
  .nav__links {
    display: flex;
    gap: 28px;
    margin-left: auto;
    font-size: 0.92rem;
    font-weight: 500;
  }
  .nav__links a { text-decoration: none; color: var(--washi-2); transition: color 0.2s; }
  .nav__links a:hover { color: var(--washi); }
  .nav__wa { margin-left: 12px; }

  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 40px;
    min-height: calc(100svh - 76px);
    padding-bottom: 48px;
  }
  .hero__logo img { width: min(100%, 580px); }
  .hero__lead { font-size: 1.15rem; }
  .hero__art { max-width: 470px; justify-self: end; width: 100%; }

  .section { padding-top: 110px; }
  .piezas { grid-template-columns: repeat(3, 1fr); }
  .pieza { grid-template-columns: 1fr; }
  .pieza__img { width: 100%; height: auto; aspect-ratio: 1; }

  .banda { margin-top: 110px; }
  .banda__quote { position: absolute; left: 7%; bottom: 10%; margin: 0; }
  .contacto__list { grid-template-columns: repeat(3, 1fr); }
}

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

/* ---------- 🦊 (ver foxy.js) ---------- */
.foxy {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: radial-gradient(circle at 50% 42%, #3d0606 0%, #000 72%);
  animation: foxy-parpadeo 0.14s steps(2) infinite;
}
.foxy::after {
  content: "";
  position: absolute;
  inset: -50%;
  pointer-events: none;
  opacity: 0.22;
  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='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: foxy-estatica 0.1s steps(3) infinite;
}
.foxy__cara {
  --w: min(125vw, 100vh);
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--w);
  margin: calc(var(--w) * -0.5625) 0 0 calc(var(--w) * -0.5);
  animation: foxy-entra 0.32s cubic-bezier(0.2, 1.6, 0.4, 1) both, foxy-tiembla 0.07s linear 0.32s infinite;
}
.foxy__cara svg { display: block; width: 100%; height: auto; }
.foxy--fuera { opacity: 0; transition: opacity 0.25s; }

@keyframes foxy-entra {
  from { transform: scale(0.2) translateY(30%); }
}
@keyframes foxy-tiembla {
  0% { translate: 0 0; }
  25% { translate: -2% 1.5%; }
  50% { translate: 2% -1%; }
  75% { translate: -1.5% -2%; }
  100% { translate: 1.5% 1%; }
}
@keyframes foxy-parpadeo {
  50% { filter: brightness(1.7) contrast(1.35) saturate(1.3); }
}
@keyframes foxy-estatica {
  33% { transform: translate(-7%, 4%); }
  66% { transform: translate(5%, -6%); }
}
