/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:       #0E0B09;
  --bg-2:     #15110E;
  --bg-3:     #1E1813;
  --cream:    #F4EEE1;
  --cream-2:  #DDD2BC;
  --cream-3:  #8B7E68;
  --accent:   #E3241B;   /* rojo Wakanda */
  --accent-2: #B3170F;
  --gold:     #C49A5B;
  --sakura:   #F4B6C2;
  --line:     rgba(244,238,225,.12);

  --display: "Anton", "Impact", "Arial Narrow Bold", sans-serif;
  --sans:    "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --jp:      "Noto Serif JP", "Yu Mincho", serif;

  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 1320px;
  --radius: 18px;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --waves: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='40' viewBox='0 0 80 40'%3E%3Cg fill='%230E0B09' stroke='%23F4EEE1' stroke-opacity='.09' stroke-width='1.2'%3E%3Cg%3E%3Ccircle cx='0' cy='20' r='38'/%3E%3Ccircle cx='0' cy='20' r='30'/%3E%3Ccircle cx='0' cy='20' r='22'/%3E%3Ccircle cx='0' cy='20' r='14'/%3E%3Ccircle cx='0' cy='20' r='6'/%3E%3C/g%3E%3Cg%3E%3Ccircle cx='80' cy='20' r='38'/%3E%3Ccircle cx='80' cy='20' r='30'/%3E%3Ccircle cx='80' cy='20' r='22'/%3E%3Ccircle cx='80' cy='20' r='14'/%3E%3Ccircle cx='80' cy='20' r='6'/%3E%3C/g%3E%3Cg%3E%3Ccircle cx='40' cy='40' r='38'/%3E%3Ccircle cx='40' cy='40' r='30'/%3E%3Ccircle cx='40' cy='40' r='22'/%3E%3Ccircle cx='40' cy='40' r='14'/%3E%3Ccircle cx='40' cy='40' r='6'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; overflow-x: hidden; overflow-x: clip; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, canvas { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.02; font-weight: 400; }
::selection { background: var(--accent); color: var(--cream); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .6rem 1rem; background: var(--cream); color: var(--bg);
  border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.accent { color: var(--accent); }
.kicker {
  font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--cream-3); font-weight: 600; margin-bottom: 1.2rem;
  display: flex; align-items: center; gap: .8rem;
}
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--accent); }
.section-title {
  font-family: var(--display);
  font-size: clamp(2.6rem, 7vw, 6rem);
  text-transform: uppercase;
  letter-spacing: .005em;
}

/* =============================================================
   4. Components
   ============================================================= */
.btn {
  --b: var(--cream);
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .8rem 1.3rem; border-radius: 999px;
  font-weight: 700; font-size: .92rem; letter-spacing: .02em;
  transition: transform .5s var(--ease-out), background .3s, color .3s, border-color .3s, box-shadow .5s var(--ease-out);
  white-space: nowrap;
}
.btn-lg { padding: 1.05rem 1.7rem; font-size: 1rem; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 30px -10px rgba(227,36,27,.7); }
.btn-primary:hover { transform: translateY(-2px); background: #F2352B; box-shadow: 0 18px 40px -12px rgba(227,36,27,.85); }
.btn-ghost { border: 1.5px solid rgba(244,238,225,.35); color: var(--cream); }
.btn-ghost:hover { border-color: var(--cream); background: rgba(244,238,225,.06); transform: translateY(-2px); }
.btn span { transition: transform .5s var(--ease-out); }
.btn:hover span { transform: translateX(4px); }

/* ---------- Splash ---------- */
.splash {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  background: var(--bg);
  animation: splashOut .5s var(--ease-out) 1s forwards;   /* red de seguridad CSS */
}
.splash.is-gone { animation: splashOut .6s var(--ease-out) forwards; }
.splash-sun {
  width: 120px; aspect-ratio: 1; border-radius: 50%; background: var(--accent);
  animation: splashSun .8s var(--ease-out) both;
  box-shadow: 0 0 80px rgba(227,36,27,.5);
}
.splash-glyph {
  position: absolute; font-family: var(--jp); font-weight: 900;
  font-size: 1.6rem; letter-spacing: .3em; color: var(--bg);
  animation: fadeIn .4s .15s both;
}
@keyframes splashSun { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes splashOut { to { opacity: 0; visibility: hidden; transform: scale(1.04); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 2rem;
  padding: 1rem var(--gutter);
  transition: background .4s, padding .4s var(--ease-out), border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(14,11,9,.92);
  padding-block: .65rem;
  border-color: var(--line);
}
@media (min-width: 960px) {
  @supports (backdrop-filter: blur(10px)) {
    .nav.is-scrolled { background: rgba(14,11,9,.72); backdrop-filter: blur(14px) saturate(1.3); }
  }
}
.nav-logo { display: flex; align-items: center; gap: .7rem; margin-right: auto; }
.logo-sun {
  width: 34px; height: 34px; border-radius: 50%; background: var(--accent);
  position: relative; flex: none;
}
.logo-sun::after {
  content: ""; position: absolute; left: -4px; right: 8px; bottom: 7px; height: 4px;
  background: var(--bg); transform: rotate(-4deg);
}
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text b { font-family: var(--display); font-weight: 400; font-size: 1.35rem; letter-spacing: .04em; }
.logo-text small { font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--cream-3); margin-top: .25rem; }
.nav-links { display: none; gap: 2rem; font-size: .9rem; font-weight: 600; }
.nav-links a { position: relative; padding-block: .3rem; color: var(--cream-2); transition: color .3s; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease-out);
}
.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { display: none; }
.nav-burger { width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; }
.nav-burger span { width: 24px; height: 2px; background: var(--cream); transition: transform .4s var(--ease-out); }
.nav.is-open .nav-burger span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.is-open .nav-burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
.nav.is-open { background: var(--bg); }
.nav.is-open .nav-links {
  display: flex; flex-direction: column; gap: 1.2rem;
  position: absolute; top: 100%; left: 0; right: 0;
  padding: 1.5rem var(--gutter) 2rem; background: var(--bg);
  border-bottom: 1px solid var(--line);
  font-family: var(--display); font-size: 2rem; font-weight: 400; text-transform: uppercase;
}

/* =============================================================
   6. Sections
   ============================================================= */

/* ---------- HERO ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: grid; align-items: center;
  padding: 7rem var(--gutter) 9rem;
  overflow: hidden;
  background: radial-gradient(120% 80% at 70% 40%, #1d1410 0%, var(--bg) 60%);
}
.hero-waves {
  position: absolute; inset: auto 0 0 0; height: 46%; z-index: -3;
  background: var(--waves); background-size: 80px 40px;
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 100%);
          mask-image: linear-gradient(to top, #000 10%, transparent 100%);
}
.hero-mesh {
  position: absolute; inset: -20%; z-index: -2; pointer-events: none;
  background:
    radial-gradient(40% 45% at 70% 42%, rgba(227,36,27,.28), transparent 70%),
    radial-gradient(30% 35% at 20% 80%, rgba(196,154,91,.08), transparent 70%);
}
.hero-petals { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.hero-grain { display: none; }

/* Sol + maki */
.hero-sun-wrap {
  position: absolute; z-index: -1;
  width: 84vw; aspect-ratio: 1;
  right: -30vw; top: 9%;
  opacity: .92;
}
.hero-sun-scroll { position: absolute; inset: 0; }
.hero-sun {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #FF4A3D 0%, var(--accent) 45%, #9E130C 100%);
  box-shadow: 0 0 120px 10px rgba(227,36,27,.35), inset -30px -40px 80px rgba(0,0,0,.25);
  animation: sunIn 1.2s var(--ease-out) .45s both;
}
.hero-sun-ring {
  position: absolute; inset: -7%; border-radius: 50%;
  border: 1px solid rgba(227,36,27,.35);
  animation: ringPulse 4s ease-out 1.8s infinite;
}
@keyframes sunIn { from { transform: scale(.2); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes ringPulse { from { transform: scale(.95); opacity: 1; } to { transform: scale(1.25); opacity: 0; } }

.hero-photo {
  position: absolute; inset: 7%; width: 86%; height: 86%;
  border-radius: 50%; object-fit: cover; object-position: 50% 55%;
  box-shadow: 0 30px 70px -10px rgba(0,0,0,.6), 0 0 0 6px rgba(14,11,9,.35);
  animation: photoIn 1.2s var(--ease-out) .65s both;
}
@keyframes photoIn { from { transform: scale(.7) rotate(-10deg); opacity: 0; } to { transform: none; opacity: 1; } }

.hero-vertical {
  position: absolute; right: var(--gutter); top: 50%; translate: 0 -50%;
  writing-mode: vertical-rl; font-family: var(--jp); font-weight: 500;
  letter-spacing: .5em; font-size: .85rem; color: var(--cream-3);
  display: none;
  animation: fadeIn 1s 1.3s both;
}

.hero-inner { position: relative; z-index: 4; max-width: 980px; }
.hero-meta {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 700;
  padding: .5rem .9rem; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(14,11,9,.4);
  animation: riseIn .9s var(--ease-out) .5s both;
}
.hero-meta .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 0 rgba(227,36,27,.7); animation: dotPulse 2s infinite;
}
@keyframes dotPulse { 70% { box-shadow: 0 0 0 10px rgba(227,36,27,0); } 100% { box-shadow: 0 0 0 0 rgba(227,36,27,0); } }

.hero-title {
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(4.6rem, min(24vw, 19svh), 15rem);
  line-height: .84; letter-spacing: -.01em;
  margin: 1.4rem 0 1.6rem;
  color: var(--cream);
  text-shadow: 0 10px 50px rgba(0,0,0,.45);
}
.ht-line { display: block; overflow: hidden; padding-top: .04em; }
.ht-line > span { display: inline-block; animation: lineUp 1.1s var(--ease-out) both; }
.ht-1 > span { animation-delay: .55s; }
.ht-2 { padding-left: .55em; }
.ht-2 > span { animation-delay: .66s; }
.ht-3 { position: relative; overflow: visible; }
.ht-3 > span { animation-delay: .77s; color: transparent; -webkit-text-stroke: 2px var(--cream); }
@keyframes lineUp { from { transform: translateY(105%); } to { transform: translateY(0); } }
@keyframes riseIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.ht-brush {
  position: absolute; left: 1.15em; bottom: .12em;
  font-family: var(--display); font-style: normal;
  font-size: clamp(1rem, 3.6vw, 2.3rem); line-height: 1;
  letter-spacing: .06em; color: #fff;
  padding: .45em .9em .4em;
  transform: rotate(-4deg);
  isolation: isolate;
  animation: brushIn .8s var(--ease-out) 1.1s both;
  white-space: nowrap;
}
.ht-brush::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--accent);
  clip-path: polygon(2% 14%, 12% 4%, 30% 10%, 52% 2%, 74% 8%, 96% 0, 100% 30%, 97% 62%, 100% 92%, 82% 100%, 60% 92%, 38% 100%, 16% 94%, 0 100%, 3% 66%, 0 38%);
  animation: brushWipe .7s var(--ease-out) 1.1s both;
}
@keyframes brushIn { from { opacity: 0; translate: -20px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes brushWipe { from { clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); } }

.hero-lede {
  max-width: 34rem; font-size: clamp(1rem, 1.6vw, 1.18rem); color: var(--cream-2);
  animation: riseIn .9s var(--ease-out) 1s both;
}
.hero-lede strong { color: var(--cream); font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; animation: riseIn .9s var(--ease-out) 1.1s both; }

.hero-stats {
  position: absolute; z-index: 4; left: var(--gutter); right: var(--gutter); bottom: 3rem;
  display: flex; gap: clamp(1.2rem, 4vw, 3.5rem);
  padding-top: 1.2rem; border-top: 1px solid var(--line);
  animation: fadeIn 1s 1.3s both;
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats b { font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1; }
.hero-stats span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cream-3); margin-top: .35rem; }
.hero-scroll {
  position: absolute; z-index: 4; right: var(--gutter); bottom: 2.2rem;
  display: none; align-items: center; gap: .7rem;
  font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--cream-3);
}
.hero-scroll span { width: 1px; height: 46px; background: var(--line); position: relative; overflow: hidden; }
.hero-scroll span::after {
  content: ""; position: absolute; left: 0; width: 1px; height: 40%; background: var(--accent);
  animation: scrollLine 1.8s var(--ease-soft) infinite;
}
@keyframes scrollLine { from { top: -40%; } to { top: 100%; } }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--accent); color: #fff; overflow: hidden;
  transform: rotate(-1.6deg); margin: -1.6rem -2vw 0; position: relative; z-index: 5;
  border-block: 3px solid var(--bg);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.8);
}
.marquee-track {
  display: flex; align-items: center; gap: 2rem; width: max-content;
  padding: .9rem 0; animation: marquee 32s linear infinite;
}
.marquee span { font-family: var(--display); font-size: clamp(1.6rem, 3.4vw, 2.6rem); text-transform: uppercase; letter-spacing: .03em; }
.marquee i { font-style: normal; font-family: var(--jp); font-weight: 900; font-size: 1.4rem; color: var(--bg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Concept ---------- */
.concept { padding: clamp(6rem, 12vw, 10rem) 0 clamp(4rem, 8vw, 7rem); position: relative; }
.concept-grid { display: grid; gap: 2.5rem; }
.concept-body { display: grid; gap: 1.2rem; color: var(--cream-2); font-size: 1.05rem; max-width: 40rem; }
.concept-lead { font-size: clamp(1.2rem, 2vw, 1.45rem); color: var(--cream); line-height: 1.5; }
.pillars { display: grid; gap: 1rem; margin-top: clamp(3rem, 6vw, 5rem); }
.pillar {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden;
  padding: 2rem 1.8rem 2.2rem; border-radius: var(--radius);
  background: var(--bg-2); border: 1px solid var(--line);
  transition: transform .6s var(--ease-out), border-color .4s;
  transform-style: preserve-3d;
}
.pillar::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(320px circle at var(--mx) var(--my), rgba(227,36,27,.18), transparent 60%);
  transition: opacity .4s;
}
.pillar:hover { border-color: rgba(227,36,27,.45); }
.pillar:hover::before { opacity: 1; }
.pillar-glyph {
  font-family: var(--jp); font-weight: 900; font-size: 3.4rem; line-height: 1;
  color: var(--accent); display: block; margin-bottom: 1.4rem;
}
.pillar h3 { font-family: var(--display); font-size: 1.8rem; text-transform: uppercase; margin-bottom: .6rem; }
.pillar p { color: var(--cream-2); }

/* ---------- Signature showcase ---------- */
.sig { position: relative; padding: clamp(4rem, 8vw, 6rem) 0; background: var(--bg-2); overflow: hidden; }
.sig::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background: var(--waves); background-size: 80px 40px;
  -webkit-mask-image: radial-gradient(70% 60% at 85% 100%, #000, transparent 70%);
          mask-image: radial-gradient(70% 60% at 85% 100%, #000, transparent 70%);
}
.sig-head { position: relative; display: grid; gap: .5rem; margin-bottom: 2.5rem; }
.sig-hint { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--cream-3); }
.sig-viewport {
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-bottom: 1rem;
}
.sig-viewport::-webkit-scrollbar { display: none; }
.sig-track {
  display: flex; gap: 1.2rem; width: max-content;
  padding-inline: var(--gutter);
}
.sig-card {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; isolation: isolate;
  width: min(80vw, 380px); aspect-ratio: 4 / 5;
  scroll-snap-align: center;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.8rem; border-radius: 24px;
  background: linear-gradient(160deg, #241B16, #120E0B);
  border: 1px solid var(--line);
  transition: transform .6s var(--ease-out), border-color .4s;
}
.sig-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--waves); background-size: 60px 30px; opacity: .35;
  -webkit-mask-image: linear-gradient(to top, transparent 20%, #000);
          mask-image: linear-gradient(to top, transparent 20%, #000);
}
.sig-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(255,255,255,.10), transparent 60%);
  opacity: 0; transition: opacity .4s;
}
.sig-card:hover::after { opacity: 1; }
.sig-card.is-red { background: linear-gradient(160deg, #F0352A, #A4120B); border-color: transparent; }
.sig-card.is-light { background: linear-gradient(160deg, #F7F1E3, #E3D7BF); color: var(--bg); border-color: transparent; }
.sig-card.is-light::before { filter: invert(1); opacity: .25; }
.sig-glyph {
  position: absolute; top: 1rem; right: 1.2rem; z-index: -1;
  font-family: var(--jp); font-weight: 900; line-height: 1;
  font-size: clamp(8rem, 18vw, 12rem);
  color: var(--accent); opacity: .95;
  transition: transform .8s var(--ease-out);
}
.sig-card.is-red .sig-glyph { color: var(--bg); opacity: .85; }
.sig-card:hover .sig-glyph { transform: scale(1.08) rotate(-4deg); }
.sig-num { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; opacity: .7; margin-bottom: .6rem; }
.sig-card h3 { font-family: var(--display); font-size: clamp(2rem, 3vw, 2.6rem); text-transform: uppercase; margin-bottom: .7rem; }
.sig-card p { font-size: .93rem; opacity: .85; margin-bottom: 1.3rem; }
.sig-price {
  align-self: flex-start; font-family: var(--display); font-size: 1.35rem; letter-spacing: .02em;
  padding: .35rem .9rem; border-radius: 999px; background: var(--bg); color: var(--cream);
}
.sig-card.is-light .sig-price { background: var(--accent); color: #fff; }

/* ---------- Menu ---------- */
.menu { padding: clamp(6rem, 11vw, 9rem) 0; }
.menu-head { margin-bottom: 2.5rem; }
.menu-sub { color: var(--cream-2); margin-top: 1rem; font-size: 1.05rem; }
.menu-tabs {
  position: sticky; top: 64px; z-index: 20;
  display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none;
  padding: .8rem 0; margin-bottom: 2.5rem;
  background: linear-gradient(var(--bg) 75%, transparent);
}
.menu-tabs::-webkit-scrollbar { display: none; }
.menu-tabs button {
  flex: none; padding: .65rem 1.1rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg-2);
  font-weight: 700; font-size: .88rem; color: var(--cream-2);
  transition: background .3s, color .3s, border-color .3s, transform .4s var(--ease-out);
}
.menu-tabs button:hover { border-color: rgba(244,238,225,.35); color: var(--cream); }
.menu-tabs button[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }

.menu-panel { margin-bottom: 4rem; }
.tabs-ready .menu-panel { display: none; margin-bottom: 0; }
.tabs-ready .menu-panel.is-active { display: block; animation: panelIn .6s var(--ease-out) both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.panel-head {
  display: flex; align-items: center; gap: 1.4rem;
  padding-bottom: 1.6rem; margin-bottom: 1rem; border-bottom: 2px solid var(--accent);
}
.panel-glyph {
  flex: none; width: 74px; height: 74px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); color: var(--bg);
  font-family: var(--jp); font-weight: 900; font-size: 2.1rem;
}
.panel-head h3 { font-family: var(--display); font-size: clamp(2.2rem, 5vw, 3.4rem); text-transform: uppercase; }
.panel-head p { color: var(--cream-2); max-width: 44rem; font-size: .95rem; }
.panel-note {
  margin: 0 0 1rem; padding: .9rem 1.1rem; border-radius: 12px;
  background: rgba(227,36,27,.1); border: 1px dashed rgba(227,36,27,.45); font-size: .92rem; color: var(--cream-2);
}
.panel-note b { color: var(--cream); }

.dishes { display: grid; column-gap: 3.5rem; }
.dish { padding: 1.3rem 0; border-bottom: 1px solid var(--line); position: relative; }
.dish-row { display: flex; align-items: baseline; gap: .7rem; }
.dish h4 { font-size: 1.12rem; font-weight: 700; letter-spacing: -.01em; }
.dish-dots { flex: 1; min-width: 1.5rem; border-bottom: 2px dotted rgba(244,238,225,.22); translate: 0 -4px; }
.dish-price { font-family: var(--display); font-size: 1.35rem; color: var(--cream); white-space: nowrap; letter-spacing: .02em; }
.dish-price small { font-family: var(--sans); font-size: .68rem; font-weight: 700; color: var(--cream-3); letter-spacing: .06em; }
.dish-price i { font-style: normal; color: var(--accent); margin-inline: .15rem; }
.dish p { color: var(--cream-2); font-size: .93rem; margin-top: .35rem; max-width: 36rem; }
.dish-tag {
  display: inline-block; margin-top: .6rem;
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--cream-3);
}
.dish.is-sig h4::after {
  content: "★"; color: var(--accent); margin-left: .45rem; font-size: .85em;
}
.dish.is-sig .dish-tag { color: var(--accent); }
.menu-allergens { margin-top: 3rem; font-size: .88rem; color: var(--cream-3); text-align: center; }

/* ---------- Visit ---------- */
.visit {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(6rem, 12vw, 10rem) 0;
  background: var(--accent); color: #fff;
}
.visit::before {
  content: ""; position: absolute; inset: 0; z-index: -2; opacity: .35;
  background: var(--waves); background-size: 80px 40px; filter: invert(1) hue-rotate(180deg);
  mix-blend-mode: multiply;
}
.visit-sun {
  position: absolute; z-index: -1; right: -12vw; top: 50%; translate: 0 -50%;
  width: min(70vw, 720px); aspect-ratio: 1; border-radius: 50%;
  background: var(--bg); opacity: .95;
}
.visit .kicker { color: rgba(255,255,255,.8); }
.visit .kicker::before { background: #fff; }
.visit .accent { color: var(--bg); }
.visit-title {
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(3rem, 9vw, 8rem); line-height: .9; max-width: 12ch;
}
.visit-lede { max-width: 32rem; margin-top: 1.6rem; font-size: 1.1rem; color: rgba(255,255,255,.9); }
.visit-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.visit .btn-primary { background: var(--bg); color: #fff; box-shadow: 0 14px 40px -14px rgba(0,0,0,.7); }
.visit .btn-primary:hover { background: #000; }
.visit .btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.visit-info {
  display: grid; gap: 1px; margin-top: 3.5rem; max-width: 760px;
  background: rgba(255,255,255,.25); border: 1px solid rgba(255,255,255,.25); border-radius: 16px; overflow: hidden;
}
.visit-info li { background: var(--accent); padding: 1.2rem 1.4rem; display: flex; flex-direction: column; gap: .2rem; }
.visit-info span { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; opacity: .8; font-weight: 700; }
.visit-info b { font-weight: 700; font-size: 1.02rem; }
.visit-info a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.5); }
.visit-info a:hover { text-decoration-color: #fff; }

/* ---------- Footer ---------- */
.footer { padding: 4rem 0 2rem; overflow: hidden; }
.footer-mark {
  font-family: var(--display); text-transform: uppercase; text-align: center;
  font-size: 25vw; line-height: .8; color: transparent;
  -webkit-text-stroke: 1px rgba(244,238,225,.16);
  user-select: none; margin-bottom: 2.5rem;
}
.footer-row {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  font-size: .85rem; color: var(--cream-3);
  padding-top: 1.5rem; border-top: 1px solid var(--line);
}
.footer-row a { color: var(--cream); font-weight: 700; }
.footer-row a:hover { color: var(--accent); }
.footer-jp { font-family: var(--jp); letter-spacing: .2em; }

/* =============================================================
   7. Effects
   ============================================================= */
.reveal { transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.js .reveal:not(.is-in) { opacity: 0; transform: translateY(36px); }

/* =============================================================
   8. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .visit-info { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 720px) {
  .pillars { grid-template-columns: repeat(3, 1fr); }
  .hero-sun-wrap { width: min(62vw, 640px); right: -4vw; top: 50%; transform: translateY(-50%); }
  .hero-scroll { display: flex; }
  .sig-head { grid-template-columns: 1fr auto; align-items: end; }
  .sig-head .kicker { grid-column: 1 / -1; margin-bottom: 0; }
}
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-burger { display: none; }
  .hero-vertical { display: block; }
  .hero-title { font-size: clamp(6rem, min(17vw, 22svh), 16rem); }
  .hero-sun-wrap { width: min(52vw, 700px); right: 4vw; }
  .concept-grid { grid-template-columns: 1.1fr .9fr; align-items: end; gap: 4rem; }
  .dishes { grid-template-columns: 1fr 1fr; }
  .menu-tabs { flex-wrap: wrap; overflow: visible; }
  /* Pin horizontal: JS añade .is-pinned */
  .sig.is-pinned .sig-viewport { overflow: visible; scroll-snap-type: none; }
  .sig.is-pinned { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
}
@media (min-width: 1280px) {
  .hero-sun-wrap { right: 7vw; }
}

/* =============================================================
   9. Reduced motion — solo lo intrusivo
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .hero-petals { display: none; }
  .hero-sun-ring { animation: none; opacity: 0; }
}

/* =============================================================
   10. Reservas
   ============================================================= */
.book { padding: clamp(5rem, 10vw, 8rem) 0; background: var(--bg-2); position: relative; }
.book-grid { display: grid; gap: 2.5rem; align-items: start; }
.book-grid > *, .book-card, .book-step { min-width: 0; }
.book-lede { color: var(--cream-2); font-size: 1.08rem; margin-top: 1rem; max-width: 30rem; }
.book-facts { display: grid; gap: .8rem; margin-top: 2rem; }
.book-facts li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; align-items: baseline; padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
.book-facts b { font-family: var(--display); font-weight: 400; font-size: 1.35rem; color: var(--accent); }
.book-facts span { color: var(--cream-2); font-size: .95rem; }
.book-facts a { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }

.book-card { background: var(--bg-3); border: 1px solid var(--line); border-radius: 22px; padding: clamp(1.2rem, 4vw, 2rem); display: grid; gap: 1.6rem; }
.book-label { font-weight: 700; font-size: 1rem; display: flex; align-items: center; gap: .6rem; margin-bottom: .8rem; }
.book-label span { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: .8rem; font-weight: 800; flex: none; }
.pax { display: grid; grid-template-columns: repeat(7, 1fr); gap: .4rem; }
.pax button, .days button, .hours button {
  min-height: 48px; border-radius: 12px; border: 1.5px solid rgba(244,238,225,.18);
  background: var(--bg-2); font-weight: 700; color: var(--cream);
  transition: background .2s, border-color .2s, color .2s;
}
.pax button[aria-checked="true"], .days button[aria-pressed="true"], .hours button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.days { display: flex; gap: .45rem; overflow-x: auto; scrollbar-width: none; padding-bottom: .2rem; margin-inline: calc(var(--gutter) * -0.25); }
.days::-webkit-scrollbar { display: none; }
.days button { flex: none; min-width: 74px; padding: .45rem .6rem; display: grid; line-height: 1.15; }
.days button small { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cream-3); font-weight: 700; }
.days button[aria-pressed="true"] small { color: rgba(255,255,255,.8); }
.days button b { font-size: 1.15rem; }
.other-day { display: inline-flex; align-items: center; gap: .6rem; margin-top: .7rem; font-size: .88rem; color: var(--cream-3); font-weight: 600; }
.other-day input { background: var(--bg-2); color: var(--cream); border: 1.5px solid rgba(244,238,225,.18); border-radius: 10px; padding: .45rem .6rem; color-scheme: dark; }
.hours { display: grid; grid-template-columns: repeat(4, 1fr); gap: .45rem; min-height: 48px; }
.hours button:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.hours-msg { grid-column: 1 / -1; color: var(--cream-3); font-size: .92rem; align-self: center; }
.hours-msg.is-warn { color: #FFB4AE; }
.fields { display: grid; gap: .8rem; }
.fields label { display: grid; gap: .35rem; font-size: .85rem; font-weight: 700; color: var(--cream-2); }
.fields small { font-weight: 500; color: var(--cream-3); }
.fields input, .fields textarea {
  width: 100%; min-height: 50px; padding: .7rem .9rem; border-radius: 12px;
  background: var(--bg-2); color: var(--cream); border: 1.5px solid rgba(244,238,225,.18);
  font: inherit; font-size: 1rem;
}
.fields textarea { min-height: 70px; resize: vertical; }
.fields input:focus, .fields textarea:focus { outline: none; border-color: var(--accent); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.book-error { color: #FFB4AE; font-weight: 600; min-height: 1.2em; margin: -.6rem 0; }
.book-error:empty { display: none; }
.book-submit { width: 100%; justify-content: center; }
.book-submit[disabled] { opacity: .6; cursor: wait; }
.book-done { text-align: center; justify-items: center; gap: 1rem; padding-block: 2.5rem; }
.book-card[hidden] { display: none; }
.done-check { width: 72px; height: 72px; color: #4ADE80; }
.done-check path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: drawCheck .6s .2s var(--ease-out) forwards; }
@keyframes drawCheck { to { stroke-dashoffset: 0; } }
.book-done h3 { font-family: var(--display); font-weight: 400; font-size: 2.4rem; text-transform: uppercase; }
.book-done p { color: var(--cream-2); max-width: 28rem; }
.done-code { font-size: 1.05rem; }
.done-code b { font-family: var(--display); font-weight: 400; font-size: 1.6rem; color: var(--cream); letter-spacing: .06em; margin-left: .3rem; }
.done-note { font-size: .9rem; }
.done-shot { font-size: .95rem; color: var(--cream) !important; background: rgba(227,36,27,.14); border: 1px dashed rgba(227,36,27,.6); border-radius: 12px; padding: .8rem 1rem; }

@media (min-width: 540px) {
  .fields { grid-template-columns: 1fr 1fr; }
  .fields .wide { grid-column: 1 / -1; }
}
@media (min-width: 960px) {
  .book-grid { grid-template-columns: .85fr 1.15fr; gap: 4rem; }
  .book-intro { position: sticky; top: 110px; }
}

/* =============================================================
   11. Ajustes móvil
   ============================================================= */
@media (max-width: 719px) {
  .nav { padding-block: .7rem; }
  .menu-tabs { top: 60px; }
  .hero { padding-top: 6rem; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .hero-stats { gap: 1.2rem; }
  .hero-stats span { font-size: .64rem; letter-spacing: .1em; }
  .marquee { transform: rotate(-1.2deg); }
  .sig-card { width: 82vw; aspect-ratio: auto; min-height: 400px; }
  .sig-glyph { font-size: 8.5rem; }
  .dish-row { flex-wrap: wrap; column-gap: .8rem; row-gap: .1rem; }
  .dish-row h4 { flex: 1 1 auto; }
  .dish-dots { display: none; }
  .dish-price { margin-left: auto; }
  .panel-head { gap: 1rem; }
  .panel-glyph { width: 56px; height: 56px; font-size: 1.6rem; }
  /* el sol negro de "Visítanos" va abajo, detrás de los datos, para no tapar el titular */
  .visit-sun { top: auto; bottom: -34vw; right: -30vw; translate: none; width: 92vw; }
  .visit-actions .btn { width: 100%; justify-content: center; }
  .visit .btn-primary { font-size: .92rem; }
  .footer-row { flex-direction: column; align-items: center; text-align: center; }
  .pax { grid-template-columns: repeat(4, 1fr); }
}

/* =============================================================
   12. Página de reservas + aviso en portada
   ============================================================= */
.book-teaser { padding: clamp(4rem, 9vw, 7rem) 0; background: var(--bg-2); }
.book-teaser-inner { display: grid; gap: 2rem; align-items: end; }
.book-teaser .btn { justify-self: start; }
.page-sub .nav { position: sticky; }
.nav-back { margin-left: auto; padding: .6rem 1rem; font-size: .85rem; }
.book-page { padding-top: clamp(2rem, 6vw, 4rem); background: var(--bg); min-height: 80vh; }
.book-page .section-title { font-size: clamp(2.8rem, 9vw, 5.5rem); }
.book-photo { width: min(240px, 60vw); aspect-ratio: 1; border-radius: 50%; object-fit: cover; margin-top: 2rem; box-shadow: 0 0 0 8px var(--accent), 0 30px 60px -20px rgba(0,0,0,.7); }
.done-actions { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.footer-slim { padding-top: 0; }
@media (max-width: 719px) {
  .book-photo { display: none; }
  .page-book .book-facts { display: none; }
  .page-sub .logo-text small { display: none; }
  .book-page .book-lede { font-size: 1rem; margin-top: .6rem; }
  .book-page .book-grid { gap: 1.5rem; }
  .book-teaser .btn { width: 100%; justify-content: center; }
}
@media (min-width: 960px) {
  .book-teaser-inner { grid-template-columns: 1fr auto; }
  .book-teaser .btn { justify-self: end; }
}

/* =============================================================
   13. Carta en su propia página + adelanto en portada
   ============================================================= */
.menu-teaser { padding: clamp(5rem, 10vw, 8rem) 0; }
.cat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin-bottom: 2rem; }
.cat-grid a {
  display: flex; align-items: center; justify-content: space-between; gap: .6rem;
  padding: 1.1rem 1.2rem; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line);
  font-family: var(--display); font-size: clamp(1.05rem, 4.4vw, 1.8rem); text-transform: uppercase; letter-spacing: .02em; min-width: 0;
  transition: background .3s, border-color .3s, transform .4s var(--ease-out);
}
.cat-grid a i { font-style: normal; color: var(--accent); transition: transform .4s var(--ease-out); }
.cat-grid a:hover { border-color: rgba(227,36,27,.6); background: var(--bg-3); transform: translateY(-2px); }
.cat-grid a:hover i { transform: translateX(4px); }
.menu-page { padding-top: clamp(2rem, 6vw, 4rem); }
.menu-page .section-title { font-size: clamp(3rem, 10vw, 6rem); }
.nav-book { padding: .6rem 1.1rem; font-size: .85rem; }
.page-sub .nav-back { margin-left: auto; }
.menu-cta { padding: clamp(4rem, 8vw, 6rem) 0; background: var(--bg-2); }
.menu-cta-inner { display: grid; gap: 1.6rem; align-items: center; }
.menu-cta .btn { justify-self: start; }
@media (max-width: 719px) {
  .page-sub .nav { gap: .5rem; }
  .page-sub .nav-back { padding: .55rem .8rem; font-size: .8rem; }
  .page-sub .nav-book { padding: .55rem .85rem; font-size: .8rem; }
  .page-sub .logo-text b { font-size: 1.15rem; }
  .menu-teaser-cta, .menu-cta .btn { width: 100%; justify-content: center; }
}
@media (min-width: 720px) { .cat-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } .cat-grid a { font-size: clamp(1.1rem, 1.9vw, 1.6rem); } }
@media (min-width: 960px) {
  .menu-cta-inner { grid-template-columns: 1fr auto; }
}

/* =============================================================
   14. Cancelar reserva
   ============================================================= */
.cancel-wrap { max-width: 620px; display: grid; gap: 1rem; }
.cancel-wrap .book-card { margin-top: 1rem; gap: 1.2rem; }
.cancel-title { font-family: var(--display); font-size: 2rem; text-transform: uppercase; }
.cancel-facts { display: grid; gap: .6rem; }
.cancel-facts div { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .6rem; border-bottom: 1px solid var(--line); }
.cancel-facts dt { color: var(--cream-3); font-size: .9rem; }
.cancel-facts dd { font-weight: 700; text-align: right; }
.cancel-facts dd::first-letter { text-transform: uppercase; }
.book-switch { color: var(--cream-3); font-size: .9rem; text-align: center; }
.book-switch a, .done-note a { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }

/* =============================================================
   15. Textos legales
   ============================================================= */
.book-legal { font-size: .82rem; line-height: 1.5; color: var(--cream-3); }
.book-legal a, .legal a { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
.legal { max-width: 760px; padding-block: clamp(2rem, 6vw, 4rem) clamp(4rem, 8vw, 6rem); }
.legal h1 { font-size: clamp(2.4rem, 8vw, 4rem); margin-bottom: .6rem; }
.legal .updated { color: var(--cream-3); font-size: .85rem; margin-bottom: 2.4rem; }
.legal h2 { font-family: var(--display); font-weight: 400; font-size: 1.5rem; text-transform: uppercase; letter-spacing: .02em; margin: 2.2rem 0 .7rem; }
.legal p, .legal li { color: var(--cream-2); margin-bottom: .7rem; }
.legal ul { list-style: disc; padding-left: 1.2rem; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1.2rem; margin-bottom: 1rem; }
.legal dt { color: var(--cream-3); }
.legal dd { color: var(--cream); font-weight: 600; overflow-wrap: anywhere; }
.footer-row a + a { margin-left: 0; }

/* =============================================================
   16. Grupos de más de 6 → WhatsApp
   ============================================================= */
.group-box { display: none; gap: .9rem; }
.group-box p:not(.book-label) { color: var(--cream-2); }
.is-group .group-box { display: grid; }
.is-group [data-hide-group] { display: none; }
.wa-btn { background: #25D366; color: #0B2716; justify-content: center; gap: .6rem; }
.wa-btn:hover { background: #3BE07A; transform: translateY(-2px); }
