/* ============================================================
   Amora Studio — Storytelling, de la sombra a la luz
   Type: Space Grotesk (display) · Inter (body)
   ============================================================ */

:root {
  /* Sunset palette */
  --obsidian:   #0C0818;
  --shadow:     #140D22;
  --dusk:       #3D1E4A;
  --wine:       #4A1828;
  --ember:      #E8622A;
  --ember-soft: #F5934A;
  --gold:       #F5B84A;
  --cream:      #FFF0E4;
  --cream-warm: #FFE4CC;
  --cream-deep: #F5D0B0;
  --ink:        #1A0A05;
  --ink-soft:   #4A2A18;
  --muted:      #8B5A3A;
  --line-dark:  rgba(255, 240, 228, 0.10);
  --line-light: rgba(26, 10, 5, 0.10);

  /* Scene-driven (animated by JS) */
  --scene-bg: var(--obsidian);
  --scene-fg: var(--cream);

  /* Type */
  --serif: "Space Grotesk", "DM Sans", sans-serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:  ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Layout */
  --container: 1280px;
  --gutter: clamp(20px, 4vw, 40px);
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 24px;
  --r-xl: 36px;

  --ease:     cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.55;
  background: var(--scene-bg);
  color: var(--scene-fg);
  transition: background 1.2s var(--ease-in-out), color 1.2s var(--ease-in-out);
  overflow-x: clip;
  min-height: 100vh;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4, p, blockquote { margin: 0; }

::selection { background: var(--ember); color: var(--obsidian); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---------- Grain overlay ---------- */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.6'/></svg>");
}

/* ---------- Typography ---------- */
.chapter-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ember);
  opacity: 0.95;
}
.chapter-label i {
  width: 28px; height: 1px;
  background: currentColor;
  display: inline-block;
}
.chapter-label--dark { color: var(--gold); }
.chapter-label--ember { color: var(--ember); }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 13px;
  --pad-x: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  transition:
    background 0.5s var(--ease),
    color 0.5s var(--ease),
    border-color 0.5s var(--ease),
    transform 0.4s var(--ease),
    box-shadow 0.5s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn--lg { --pad-y: 16px; --pad-x: 28px; font-size: 15px; }
.btn svg { transition: transform 0.4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--ember {
  background: var(--ember);
  color: var(--obsidian);
  box-shadow:
    0 0 0 1px rgba(232, 98, 42, 0.5),
    0 14px 40px -16px rgba(232, 98, 42, 0.7);
}
.btn--ember::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.9s var(--ease);
}
.btn--ember:hover::before { transform: translateX(100%); }
.btn--ember:hover { transform: translateY(-1px); }

.btn--ghost {
  border: 1px solid var(--line-light);
  color: var(--ink);
}
.btn--ghost:hover { border-color: var(--ink); }

.btn--ghost-light {
  border: 1px solid rgba(255, 240, 228, 0.22);
  color: var(--cream);
}
.btn--ghost-light:hover {
  background: rgba(255, 240, 228, 0.06);
  border-color: rgba(255, 240, 228, 0.45);
}

/* When the body scene is dark, .btn--ghost shows a light variant */
body[data-scene="act-1"] .btn--ghost,
body[data-scene="act-2"] .btn--ghost {
  border-color: rgba(255, 240, 228, 0.2);
  color: var(--cream);
}
body[data-scene="act-1"] .btn--ghost:hover,
body[data-scene="act-2"] .btn--ghost:hover {
  border-color: rgba(255, 240, 228, 0.55);
  background: rgba(255, 240, 228, 0.06);
}

/* ============================================================
   CHAPTER INDICATOR — top reading bar + right book tabs
   ============================================================ */

/* Full-width reading progress bar (top of viewport) */
.chapters__bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 100;
  background: rgba(255, 240, 228, 0.08);
  transition: background 0.6s var(--ease);
}
.chapters__progress {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: linear-gradient(90deg, var(--ember), var(--gold));
  transition: width 0.15s linear;
}
body[data-scene^="act-3"] .chapters__bar,
body[data-scene="act-4"] .chapters__bar {
  background: rgba(26, 10, 5, 0.07);
}

/* Right-edge book tab chapter navigation */
.chapters ul {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 5px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.chapters li {
  display: flex;
  align-items: center;
  height: 34px;
  border: 1px solid rgba(255, 240, 228, 0.10);
  border-right: none;
  border-radius: 8px 0 0 8px;
  background: rgba(12, 6, 20, 0.65);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  /* Only the 34px span is visible by default */
  transform: translateX(calc(100% - 34px));
  transition:
    transform 0.55s var(--ease),
    border-color 0.4s var(--ease),
    background 0.4s var(--ease);
  cursor: default;
}
.chapters li em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 240, 228, 0.60);
  padding: 0 10px 0 13px;
  white-space: nowrap;
  transition: color 0.4s var(--ease);
}
.chapters li span {
  font-family: var(--serif);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.10em;
  color: rgba(255, 240, 228, 0.28);
  min-width: 34px;
  width: 34px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid rgba(255, 240, 228, 0.08);
  transition: color 0.4s var(--ease);
}

/* Active tab — slide fully out and highlight */
.chapters li.is-active {
  transform: translateX(0);
  border-color: rgba(232, 98, 42, 0.22);
  background: rgba(24, 10, 4, 0.80);
}
.chapters li.is-active span { color: var(--ember); }
.chapters li.is-active em  { color: rgba(255, 240, 228, 0.88); }

/* Hover peek */
.chapters li:hover {
  transform: translateX(0);
}
.chapters li:hover span { color: rgba(255, 240, 228, 0.55); }
.chapters li:hover em  { color: rgba(255, 240, 228, 0.75); }

/* Light scene variants (act-3, act-4) */
body[data-scene^="act-3"] .chapters li,
body[data-scene="act-4"] .chapters li {
  background: rgba(255, 248, 242, 0.82);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-color: rgba(26, 10, 5, 0.09);
}
body[data-scene^="act-3"] .chapters li em,
body[data-scene="act-4"] .chapters li em {
  color: rgba(26, 10, 5, 0.50);
}
body[data-scene^="act-3"] .chapters li span,
body[data-scene="act-4"] .chapters li span {
  color: rgba(26, 10, 5, 0.25);
  border-left-color: rgba(26, 10, 5, 0.07);
}
body[data-scene^="act-3"] .chapters li.is-active,
body[data-scene="act-4"] .chapters li.is-active {
  background: rgba(255, 250, 244, 0.96);
  border-color: rgba(245, 184, 74, 0.30);
}
body[data-scene^="act-3"] .chapters li.is-active span,
body[data-scene="act-4"] .chapters li.is-active span { color: var(--gold); }
body[data-scene^="act-3"] .chapters li.is-active em,
body[data-scene="act-4"] .chapters li.is-active em {
  color: rgba(26, 10, 5, 0.78);
}
body[data-scene^="act-3"] .chapters li:hover span,
body[data-scene="act-4"] .chapters li:hover span { color: rgba(26, 10, 5, 0.50); }
body[data-scene^="act-3"] .chapters li:hover em,
body[data-scene="act-4"] .chapters li:hover em  { color: rgba(26, 10, 5, 0.70); }

@media (max-width: 860px) {
  .chapters ul { display: none; }
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  background: color-mix(in oklab, var(--scene-bg) 70%, transparent);
  transition: background 1.2s var(--ease-in-out), border-color 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  border-bottom-color: color-mix(in oklab, var(--scene-fg) 12%, transparent);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}
.logo {
  display: inline-flex;
  align-items: center;
  position: relative;
}
.logo__img {
  height: 26px;
  width: auto;
  display: block;
  transition: transform 0.6s var(--ease), opacity 0.8s var(--ease-in-out);
}
.logo:hover .logo__img { transform: scale(1.04); }

/* Nav: crossfade entre versión black (clara) y cream (oscura) según scene */
.nav .logo__img--light { position: absolute; inset: 0; opacity: 0; }
.nav .logo__img--dark  { opacity: 1; }
body[data-scene="act-1"] .nav .logo__img--light { opacity: 1; }
body[data-scene="act-1"] .nav .logo__img--dark  { opacity: 0; }

/* Footer: logo siempre cream sobre fondo obsidiana */
.logo--footer .logo__img { height: 30px; }

.nav__links { display: flex; gap: 28px; }
.nav__links a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
  opacity: 0.7;
  transition: opacity 0.4s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { transform: scaleX(1); }

@media (max-width: 880px) {
  .nav__links { display: none; }
}

/* ============================================================
   HERO — ACTO I
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: clamp(72px, 9vw, 120px) 0 clamp(60px, 8vw, 100px);
  overflow: hidden;
  isolation: isolate;
}

/* Subtle tech-grid background */
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 240, 228, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 240, 228, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 75% at 55% 40%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 75% at 55% 40%, black 20%, transparent 75%);
  z-index: -1;
}

.hero__spotlight {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      700px circle at var(--mx, 50%) var(--my, 35%),
      rgba(232, 98, 42, 0.13),
      rgba(232, 98, 42, 0.04) 40%,
      transparent 65%
    );
  pointer-events: none;
  z-index: -1;
  transition: background 0.4s linear;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% -10%;
  height: 60%;
  background: radial-gradient(closest-side, rgba(232, 98, 42, 0.08), transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
  width: 100%;
}

/* Kicker / category label */
.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 240, 228, 0.5);
  margin-bottom: 8px;
}
.hero__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ember);
  flex-shrink: 0;
  animation: dotPulse 2.5s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(232, 98, 42, 0.5); }
  50%       { opacity: 0.7; box-shadow: 0 0 0 5px rgba(232, 98, 42, 0); }
}

/* Main headline */
.hero__title {
  margin-top: 18px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 64px;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--cream);
}
.hero__title em {
  font-style: italic;
  font-weight: 700;
  color: var(--ember-soft);
  display: block;
  margin-top: 0.08em;
}

/* Sub-copy */
.hero__sub {
  margin-top: 28px;
  max-width: 560px;
  font-size: clamp(15.5px, 1.3vw, 18px);
  line-height: 1.6;
  color: rgba(255, 240, 228, 0.65);
}

/* Stats row */
.hero__stats {
  display: flex;
  gap: clamp(24px, 4vw, 56px);
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 240, 228, 0.10);
  flex-wrap: wrap;
}
.hero__stat strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(24px, 2.8vw, 38px);
  font-weight: 600;
  color: var(--cream);
  letter-spacing: -0.025em;
  line-height: 1;
}
.hero__stat strong em {
  font-style: normal;
  font-size: 0.5em;
  font-weight: 400;
  color: var(--ember);
  letter-spacing: 0;
  vertical-align: super;
}
.hero__stat > span {
  display: block;
  font-size: 11.5px;
  color: rgba(255, 240, 228, 0.42);
  margin-top: 9px;
  font-family: var(--mono);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

/* Actions */
.hero__actions {
  margin-top: 32px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ============================================================
   HERO MOCKUP — elemento visual derecho
   ============================================================ */
.hero__copy {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero__mockup {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Browser frame */
.mockup__browser {
  width: 100%;
  max-width: 540px;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: #120A1E;
  border: 1px solid rgba(255, 240, 228, 0.08);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.04);
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
  transition: transform 0.6s var(--ease);
}

.hero__mockup:hover .mockup__browser {
  transform: perspective(1200px) rotateY(-2deg) rotateX(1deg);
}

/* Browser chrome bar */
.mockup__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #1A1028;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mockup__dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.mockup__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.mockup__dots span:nth-child(1) { background: #FF5F57; }
.mockup__dots span:nth-child(2) { background: #FFBD2E; }
.mockup__dots span:nth-child(3) { background: #28C840; }

.mockup__url {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 4px 12px;
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255, 240, 228, 0.35);
  letter-spacing: 0.02em;
}

/* Screen content */
.mockup__screen {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  min-height: 280px;
  overflow: hidden;
}

/* Simulated nav */
.mockup__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mockup__nav-logo {
  width: 64px;
  height: 8px;
  background: linear-gradient(90deg, var(--ember), transparent);
  border-radius: 4px;
  animation: shimmer 3s ease-in-out infinite;
}

.mockup__nav-links {
  display: flex;
  gap: 10px;
}

.mockup__nav-links div {
  width: 32px;
  height: 6px;
  background: rgba(255, 240, 228, 0.12);
  border-radius: 3px;
  animation: shimmer 3s ease-in-out infinite;
}

.mockup__nav-links div:nth-child(2) { animation-delay: 0.2s; }
.mockup__nav-links div:nth-child(3) { animation-delay: 0.4s; }

/* Simulated hero headline */
.mockup__hero-sim {
  padding: 16px 0 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mockup__headline {
  height: 14px;
  width: 75%;
  background: linear-gradient(90deg, rgba(255, 240, 228, 0.5), rgba(255, 240, 228, 0.2));
  border-radius: 4px;
  animation: shimmer 3s ease-in-out infinite;
}

.mockup__headline--sm {
  width: 55%;
  height: 14px;
  background: linear-gradient(90deg, var(--ember) 0%, var(--gold) 100%);
  opacity: 0.7;
  animation-delay: 0.3s;
}

.mockup__cta {
  margin-top: 4px;
  width: 100px;
  height: 28px;
  background: linear-gradient(90deg, var(--ember), var(--ember-soft));
  border-radius: 6px;
  animation: pulse-cta 2.5s ease-in-out infinite;
}

/* Simulated cards */
.mockup__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mockup__card {
  height: 60px;
  background: rgba(255, 240, 228, 0.05);
  border: 1px solid rgba(255, 240, 228, 0.08);
  border-radius: 8px;
  animation: shimmer 3s ease-in-out infinite;
}

.mockup__card:nth-child(2) { animation-delay: 0.4s; }
.mockup__card:nth-child(3) { animation-delay: 0.8s; }

/* Ambient glow inside screen */
.mockup__glow {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 150px;
  background: radial-gradient(ellipse, rgba(232, 98, 42, 0.25), transparent 70%);
  pointer-events: none;
}

/* Floating metric badges */
.mockup__metric {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(20, 13, 34, 0.85);
  border: 1px solid rgba(232, 98, 42, 0.25);
  backdrop-filter: blur(12px);
  border-radius: 999px;
  padding: 8px 14px;
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255, 240, 228, 0.85);
  letter-spacing: 0.04em;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.mockup__metric svg {
  width: 14px;
  height: 14px;
  color: var(--ember);
  flex-shrink: 0;
}

.mockup__metric--1 {
  bottom: 24px;
  left: -24px;
  animation: float-a 4s ease-in-out infinite;
}

.mockup__metric--2 {
  top: 32px;
  right: -16px;
  animation: float-b 4s ease-in-out infinite 0.8s;
}

@keyframes shimmer {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

@keyframes pulse-cta {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232, 98, 42, 0); }
  50% { box-shadow: 0 0 16px 4px rgba(232, 98, 42, 0.3); }
}

@keyframes float-a {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

@keyframes float-b {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(8px); }
}

/* Responsive: stack on mobile */
@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__mockup {
    display: none;
  }
}

/* ============================================================
   SCENE base
   ============================================================ */
.scene {
  position: relative;
  padding: clamp(100px, 14vw, 180px) 0;
  isolation: isolate;
}
.scene--shadow { background: var(--shadow); color: var(--cream); }
.scene--dawn {
  height: 240vh;
  background: var(--obsidian);
  color: var(--cream);
  padding: 0;
  position: relative;
  /* Scroll-driven progress, set by JS */
  --p: 0;
  --p-light: 0;
  --p-flash: 0;
  --p-cream: 0;
}
.scene--cream      { background: var(--cream); color: var(--ink); }
.scene--cream-warm { background: var(--cream-warm); color: var(--ink); }
.scene--midnight {
  background: var(--obsidian);
  color: var(--cream);
}
.scene--final {
  background:
    radial-gradient(circle at 50% 110%, rgba(232,98,42,0.20), transparent 60%),
    var(--cream-warm);
  color: var(--ink);
  padding: clamp(120px, 16vw, 180px) 0 clamp(80px, 10vw, 120px);
  overflow: hidden;
}

.scene__head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }
.scene__title {
  margin-top: 18px;
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-size: 32px;
  line-height: 1.04;
  letter-spacing: -0.022em;
  color: var(--cream);
}
.scene__title--dark { color: var(--ink); }
.scene__title em {
  font-style: italic;
  font-weight: 700;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  color: var(--ember);
}
.scene__title--dark em { color: var(--gold); }

.scene__lead {
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 620px;
}
.scene__lead--light { color: rgba(255, 240, 228, 0.7); }

/* ============================================================
   SYMPTOMS — ACTO I.2
   ============================================================ */
.symptoms {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(32px, 4vw, 48px);
}

.symptom {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(24px, 3vw, 32px);
  background: rgba(20, 13, 34, 0.4);
  border: 1px solid rgba(255, 240, 228, 0.08);
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
  transition: all 0.5s var(--ease);
}

.symptom::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(232, 98, 42, 0.1) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}

.symptom:hover {
  background: rgba(20, 13, 34, 0.8);
  border-color: rgba(232, 98, 42, 0.25);
  box-shadow: 0 12px 32px rgba(232, 98, 42, 0.12);
  transform: translateY(-4px);
}

.symptom:hover::before {
  opacity: 1;
}

.symptom__icon {
  display: block;
  width: 30px;
  height: 30px;
  margin-bottom: clamp(12px, 1.5vw, 16px);
  transition: all 0.5s var(--ease);
  color: var(--ember);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.symptom:hover .symptom__icon {
  transform: scale(1.15) rotate(-8deg);
}

.symptom h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--cream);
  margin: 0 0 clamp(8px, 1vw, 12px) 0;
}

.symptom p {
  font-size: clamp(13px, 1.2vw, 14px);
  color: rgba(255, 240, 228, 0.65);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 980px) {
  .symptoms {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .symptoms {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   AWAKENING — ACTO II
   Cinematic light-up: lamp, cord, light cone, floor pool, flash
   ============================================================ */
.dawn__viewport {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
.dawn__stage {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.dawn__layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: opacity 0.15s linear;
}
.dawn__sky  { background: var(--obsidian); }
.dawn__warm {
  background:
    radial-gradient(ellipse 90% 60% at 50% 100%, rgba(220, 80, 30, 0.55), transparent 70%),
    linear-gradient(180deg, #0C0818 0%, #140D22 50%, #3A1020 100%);
  opacity: var(--p-light, 0);
}
.dawn__cream {
  background: linear-gradient(180deg, #F5D0B0 0%, var(--cream-warm) 100%);
  opacity: var(--p-cream, 0);
}

/* Cord hanging from the top */
.dawn__cord {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 14vh;
  background: linear-gradient(180deg,
    transparent,
    rgba(255, 240, 228, 0.18) 30%,
    rgba(255, 240, 228, 0.45) 100%);
  transform: translateX(-50%);
  z-index: 4;
  filter: drop-shadow(0 0 calc(var(--p-light, 0) * 6px) rgba(255, 200, 130, 0.6));
}

/* The hanging lamp (bulb) */
.dawn__lamp {
  position: absolute;
  top: 14vh;
  left: 50%;
  transform: translate(-50%, 0);
  z-index: 5;
  animation: swayBulb 8s ease-in-out infinite;
}
@keyframes swayBulb {
  0%, 100% { transform: translate(-50%, 0) rotate(0deg); }
  50%      { transform: translate(-50%, 0) rotate(0.6deg); }
}

.dawn__bulb {
  display: block;
  width: 30px;
  height: 38px;
  border-radius: 50% 50% 45% 45% / 65% 65% 35% 35%;
  background: #2A1010;
  position: relative;
  box-shadow:
    0 0 calc(12px + var(--p-light, 0) * 60px)
        calc(1px + var(--p-light, 0) * 16px)
        rgba(255, 200, 130, calc(0.15 + var(--p-light, 0) * 0.85)),
    0 0 calc(30px + var(--p-light, 0) * 140px)
        calc(4px + var(--p-light, 0) * 36px)
        rgba(255, 180, 100, calc(0.05 + var(--p-light, 0) * 0.55)),
    0 0 calc(60px + var(--p-light, 0) * 240px)
        calc(8px + var(--p-light, 0) * 60px)
        rgba(255, 160, 80, calc(var(--p-light, 0) * 0.30));
  transition: box-shadow 0.15s linear;
}
.dawn__bulb::before {
  /* the cap on top */
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 12px;
  height: 8px;
  background: #2A1A12;
  border-radius: 3px 3px 1px 1px;
  transform: translateX(-50%);
}
.dawn__bulb::after {
  /* the glowing filament/glass overlay */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 38%,
    #FFF5DC 0%, #FFD89A 35%, #E5A062 70%, transparent 100%);
  opacity: var(--p-light, 0);
  transition: opacity 0.15s linear;
}

/* Light cone descending from the bulb */
.dawn__cone {
  position: absolute;
  top: calc(14vh + 30px);
  left: 50%;
  width: 120vmax;
  height: 100vh;
  transform: translateX(-50%);
  background: linear-gradient(180deg,
    rgba(255, 200, 130, 0.55) 0%,
    rgba(255, 180, 100, 0.20) 45%,
    rgba(255, 160, 80, 0.05) 80%,
    transparent 100%);
  clip-path: polygon(48.5% 0%, 51.5% 0%, 100% 100%, 0% 100%);
  opacity: var(--p-light, 0);
  filter: blur(24px);
  z-index: 2;
  pointer-events: none;
}

/* Pool of warm light on the floor */
.dawn__floor {
  position: absolute;
  bottom: -20vh;
  left: 50%;
  width: 110vmax;
  height: 55vh;
  transform: translateX(-50%);
  background: radial-gradient(ellipse 55% 100% at 50% 100%,
    rgba(255, 200, 130, 0.55) 0%,
    rgba(232, 98, 42, 0.25) 35%,
    rgba(220, 80, 30, 0.08) 60%,
    transparent 80%);
  opacity: var(--p-light, 0);
  filter: blur(32px);
  z-index: 2;
  pointer-events: none;
}

/* Ambient bloom — soft, only around the lamp */
.dawn__bloom {
  position: absolute;
  inset: 0;
  background: radial-gradient(35% 30% at 50% 16vh,
    rgba(255, 210, 150, 0.45),
    rgba(255, 180, 100, 0.12) 55%,
    transparent 80%);
  opacity: var(--p-light, 0);
  z-index: 2;
  pointer-events: none;
}

/* Flash burst at the climax */
.dawn__flash {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 38%,
    rgba(255, 235, 200, 0.95) 0%,
    rgba(255, 210, 150, 0.55) 25%,
    rgba(255, 180, 100, 0.18) 55%,
    transparent 75%);
  opacity: var(--p-flash, 0);
  z-index: 6;
  pointer-events: none;
  will-change: opacity;
}

/* Sticky content layer */
.dawn__content {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.awakening {
  position: relative;
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  padding-top: 14vh; /* leave space for the lamp above */
}
.awakening__title {
  margin-top: 28px;
  font-family: var(--serif);
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-size: clamp(38px, 6vw, 84px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: color-mix(in oklab, var(--cream), var(--ink) calc(var(--p-cream, 0) * 100%));
  transition: color 0.15s linear, text-shadow 0.15s linear;
}
.awakening__title em {
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  display: block;
  color: color-mix(in oklab, var(--ember-soft), var(--gold) calc(var(--p-cream, 0) * 100%));
  text-shadow:
    0 0 calc(var(--p-light, 0) * 30px) rgba(255, 200, 130, calc(var(--p-light, 0) * 0.55)),
    0 0 calc(var(--p-light, 0) * 60px) rgba(255, 180, 100, calc(var(--p-light, 0) * 0.30));
}
.awakening__sub {
  margin-top: 32px;
  font-size: 17px;
  line-height: 1.6;
  color: color-mix(in oklab, rgba(255, 240, 228, 0.78), var(--ink-soft) calc(var(--p-cream, 0) * 100%));
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  transition: color 0.15s linear;
}

/* Chapter rail readable during the dawn transition */
body[data-scene="act-2"] .chapters__line { background: rgba(255, 240, 228, 0.18); }
body[data-scene="act-2"] .chapters li     { color: rgba(255, 240, 228, 0.45); }
body[data-scene="act-2"] .chapters li.is-active { color: var(--ember); }

/* ============================================================
   DIFF TABLE — comparativa visual clara
   ============================================================ */
.diff-table {
  margin-top: clamp(32px, 5vw, 56px);
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid rgba(26, 10, 5, 0.08);
}

/* Header row */
.diff-table__header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: rgba(255, 255, 255, 0.3);
  border-bottom: 1px solid rgba(26, 10, 5, 0.08);
}

.diff-table__topic {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: clamp(16px, 2vw, 24px) clamp(20px, 3vw, 32px);
  font-family: var(--sans);
  font-size: 14px;
  color: var(--muted);
}

.diff-table__topic svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--ember);
}

.diff-table__topic span {
  font-weight: 500;
  color: var(--ink-soft);
}

/* Column headers */
.diff-table__col-head {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 2vw, 20px) clamp(20px, 3vw, 32px);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.diff-table__col-head--them {
  color: var(--muted);
  border-left: 1px solid rgba(26, 10, 5, 0.06);
}

.diff-table__col-head--us {
  background: rgba(232, 98, 42, 0.06);
  color: var(--ember);
  border-left: 1px solid rgba(232, 98, 42, 0.15);
  font-weight: 600;
}

/* Data rows */
.diff-table__row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid rgba(26, 10, 5, 0.06);
  transition: background 0.3s var(--ease);
}

.diff-table__row:last-child {
  border-bottom: none;
}

.diff-table__row:hover {
  background: rgba(255, 255, 255, 0.4);
}

/* Cells */
.diff-table__cell {
  padding: clamp(16px, 2vw, 22px) clamp(20px, 3vw, 32px);
  font-family: var(--sans);
  font-size: clamp(14px, 1.3vw, 15px);
  display: flex;
  align-items: center;
}

.diff-table__cell--them {
  color: var(--muted);
  border-left: 1px solid rgba(26, 10, 5, 0.06);
}

.diff-table__cell--them::before {
  content: "—";
  color: rgba(139, 90, 58, 0.4);
  margin-right: 10px;
  flex-shrink: 0;
}

.diff-table__cell--us {
  background: rgba(232, 98, 42, 0.04);
  border-left: 1px solid rgba(232, 98, 42, 0.12);
  color: var(--ink);
  font-weight: 500;
}

.diff-table__cell--us::before {
  content: "";
  display: inline-flex;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-right: 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E8622A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

@media (max-width: 680px) {
  .diff-table__header,
  .diff-table__row {
    grid-template-columns: 1fr;
  }

  .diff-table__col-head--them { display: none; }

  .diff-table__topic {
    background: rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(26, 10, 5, 0.06);
  }

  .diff-table__cell--them { display: none; }

  .diff-table__cell--us {
    border-left: none;
    border-top: none;
    background: rgba(232, 98, 42, 0.04);
  }
}

/* ============================================================
   SERVICES — ACTO III
   ============================================================ */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 32px);
  margin-top: clamp(32px, 5vw, 64px);
}

.service {
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.8vw, 32px);
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(26, 10, 5, 0.06);
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
  transition: all 0.5s var(--ease);
}

.service::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(232, 98, 42, 0.12) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}

.service:hover::before {
  opacity: 1;
}

.service:hover {
  background: rgba(255, 255, 255, 0.5);
  border-color: rgba(245, 184, 74, 0.3);
  box-shadow: 0 20px 50px rgba(232, 98, 42, 0.15);
  transform: translateY(-6px);
}

/* Parte superior de la card: icono + número */
.service__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: clamp(14px, 1.8vw, 18px);
}

.service__top svg {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  color: var(--ember);
  transition: all 0.5s var(--ease);
}

.service:hover .service__top svg {
  color: var(--gold);
  transform: scale(1.1);
}

.service__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(139, 90, 58, 0.55);
  font-weight: 600;
}

.service h3 {
  font-family: var(--serif);
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 8px;
}

/* Descripción */
.service p {
  font-size: clamp(13px, 1.1vw, 14px);
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
  flex-grow: 1;
}

/* Responsive */
@media (max-width: 980px) {
  .services {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .services {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   PROCESS GRID — proceso horizontal
   ============================================================ */
.scene__head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 64px);
  max-width: 100%;
}

.scene__lead--aside {
  max-width: 320px;
  flex-shrink: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  margin-top: 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(32px, 4vw, 48px);
  list-style: none;
  padding: 0;
  position: relative;
}


.process-step {
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(26, 10, 5, 0.06);
  border-radius: var(--r-lg);
  padding: clamp(20px, 2.5vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.4s var(--ease);
  position: relative;
}

.process-step:hover {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(232, 98, 42, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(232, 98, 42, 0.1);
}

.process-step__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.process-step__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ember);
  font-weight: 600;
}

.process-step__icon {
  width: 30px;
  height: 30px;
  color: var(--ember);
  opacity: 0.7;
  transition: all 0.4s var(--ease);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.process-step:hover .process-step__icon {
  opacity: 1;
  color: var(--gold);
}

.process-step__when {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
}

.process-step h3 {
  font-family: var(--serif);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.2;
  margin: 0;
}

.process-step p {
  font-size: clamp(13px, 1.1vw, 14px);
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 900px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
  .scene__head--row { flex-direction: column; align-items: flex-start; }
  .scene__lead--aside { max-width: 100%; }
}

@media (max-width: 540px) {
  .process-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   GALLERY — trabajo (oscuro, dramático)
   ============================================================ */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.piece {
  display: flex;
  flex-direction: column;
  gap: 20px;
  cursor: pointer;
  transform-style: preserve-3d;
  perspective: 1200px;
  text-decoration: none;
  color: inherit;
}
.piece__visual--shot {
  background: linear-gradient(135deg, #20143A, #0C0820);
  padding: 0;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 240, 228, 0.06) inset;
}
.piece__visual--shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.7s var(--ease);
}
.piece:hover .piece__visual--shot img {
  transform: scale(1.04);
}
.piece__cta {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ember);
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.piece:hover .piece__cta {
  gap: 10px;
  color: var(--gold);
}
.piece__visual {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8%;
  transition: transform 0.6s var(--ease);
  will-change: transform;
}
.piece__visual--a { background: linear-gradient(135deg, #20143A, #180F28); }
.piece__visual--b { background: linear-gradient(135deg, #180E2A, #0C0820); }
.piece__visual--c { background: linear-gradient(135deg, #3A1814, #4A1C14); }
.piece__visual--d { background: linear-gradient(135deg, #280E2A, #380B28); }

.piece__mock {
  width: 100%; height: 100%;
  background: rgba(255, 240, 228, 0.04);
  border: 1px solid rgba(255, 240, 228, 0.08);
  backdrop-filter: blur(4px);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.piece__bar { height: 6px; width: 60px; border-radius: 3px; background: rgba(255, 240, 228, 0.15); }
.piece__title { width: 70%; height: 18px; border-radius: 4px; background: var(--cream); }
.piece__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: auto; }
.piece__cols i { aspect-ratio: 1; border-radius: 6px; background: rgba(255, 240, 228, 0.10); }
.piece__cols i:nth-child(2) { background: var(--ember); }

.piece__hero {
  flex: 1;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--ember), var(--wine));
}
.piece__row { display: flex; gap: 6px; }
.piece__row i { flex: 1; height: 22px; border-radius: 999px; background: rgba(255, 240, 228, 0.08); }
.piece__row i:first-child { background: var(--cream); }

.piece__products { display: flex; gap: 10px; flex: 1; }
.piece__products i { flex: 1; border-radius: 8px; background: linear-gradient(180deg, rgba(255,240,228,0.1), rgba(255,240,228,0.04)); }

.piece__stats { display: flex; gap: 8px; }
.piece__stats i { flex: 1; height: 36px; border-radius: 8px; background: rgba(255, 240, 228, 0.06); }
.piece__stats i:nth-child(2) { background: var(--ember); }
.piece__chart {
  flex: 1;
  border-radius: 8px;
  background:
    repeating-linear-gradient(90deg, rgba(255,240,228,0.04) 0 1px, transparent 1px 30px),
    linear-gradient(180deg, rgba(232,98,42,0.10), rgba(232,98,42,0.02));
  position: relative;
  overflow: hidden;
}
.piece__chart::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(232,98,42,0.5));
  clip-path: polygon(0 80%, 15% 60%, 30% 70%, 45% 45%, 60% 55%, 75% 25%, 100% 30%, 100% 100%, 0 100%);
}

.piece__meta { display: flex; flex-direction: column; gap: 6px; }
.piece__meta > span:first-child {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ember);
}
.piece__meta h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-variation-settings: "opsz" 144;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--cream);
}
.piece__meta p { font-size: 15px; color: rgba(255, 240, 228, 0.58); line-height: 1.5; }

@media (max-width: 1024px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 36px; } }
@media (max-width: 640px) { .gallery { grid-template-columns: 1fr; gap: 48px; } }

/* ============================================================
   VOICES — testimonios
   ============================================================ */
/* Carousel de testimonios — 1 card por vista */
.carousel {
  margin-top: clamp(32px, 4vw, 48px);
}
.carousel__track-wrap {
  overflow: hidden;
}
.carousel__track {
  display: flex;
  gap: 24px;
  list-style: none;
  padding: 8px 4px;
  margin: -8px -4px;
  transition: transform 0.55s var(--ease);
}
.carousel__slide {
  flex: 0 0 calc((100% - 24px) / 2);
  min-width: 0;
  display: flex;
}
.voice {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: clamp(28px, 4vw, 44px);
  background: #fff;
  border: 1px solid rgba(26, 10, 5, 0.07);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 4px 32px rgba(26, 10, 5, 0.08);
}
.voice__stars {
  color: var(--gold);
  font-size: 16px;
  letter-spacing: 3px;
}
.voice blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.55;
  color: var(--ink);
}
.voice figcaption {
  padding-top: 16px;
  border-top: 1px solid rgba(26, 10, 5, 0.07);
}
.voice figcaption strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.voice figcaption span {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}
.carousel__controls {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.carousel__btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(26, 10, 5, 0.12);
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
  color: var(--ink-soft);
  flex-shrink: 0;
}
.carousel__btn:hover:not(:disabled) {
  border-color: var(--ember);
  background: #fff;
  color: var(--ember);
  box-shadow: 0 4px 16px rgba(232, 98, 42, 0.15);
}
.carousel__btn:disabled { opacity: 0.25; cursor: not-allowed; }
.carousel__dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.carousel__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(26, 10, 5, 0.18);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.35s var(--ease);
}
.carousel__dot.is-active {
  background: var(--ember);
  width: 22px;
  border-radius: 4px;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq__container { max-width: 880px; }
.faq { border-top: 1px solid rgba(26, 10, 5, 0.12); }
.faq__item { border-bottom: 1px solid rgba(26, 10, 5, 0.12); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 4px;
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 72;
  font-size: clamp(19px, 1.8vw, 24px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color 0.4s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--gold); }

.faq__item summary i {
  flex-shrink: 0;
  width: 24px; height: 24px;
  position: relative;
  transition: transform 0.5s var(--ease);
}
.faq__item summary i::before,
.faq__item summary i::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  background: var(--ink);
  transition: transform 0.5s var(--ease), background 0.4s var(--ease);
}
.faq__item summary i::before {
  width: 14px; height: 1.5px;
  transform: translate(-50%, -50%);
}
.faq__item summary i::after {
  width: 1.5px; height: 14px;
  transform: translate(-50%, -50%);
}
.faq__item[open] summary { color: var(--ink); }
.faq__item[open] summary i { transform: rotate(180deg); }
.faq__item[open] summary i::after { transform: translate(-50%, -50%) scaleY(0); }
.faq__item[open] summary i::before { background: var(--ember); }

.faq__body {
  padding: 0 4px 28px;
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 720px;
  animation: faqIn 0.6s var(--ease-out);
}
@keyframes faqIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   FINAL — ACTO IV (formulario)
   ============================================================ */
.final {
  position: relative;
  text-align: center;
  max-width: 820px;
}
.final__sun {
  position: absolute;
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(232, 98, 42, 0.55), rgba(232, 98, 42, 0.10) 50%, transparent 75%);
  filter: blur(20px);
  z-index: 0;
  animation: breathe 8s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.85; }
  50%      { transform: translateX(-50%) scale(1.08); opacity: 1; }
}
.final > * { position: relative; z-index: 1; }

.final__title {
  margin-top: 28px;
  font-family: var(--serif);
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.final__title em {
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  color: var(--gold);
  display: block;
}
.final__sub {
  margin-top: 24px;
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* Form ============================================================ */
.form {
  margin: clamp(40px, 5vw, 64px) auto 0;
  max-width: 740px;
  text-align: left;
  position: relative;
  background: rgba(255, 255, 255, 0.60);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(26, 10, 5, 0.09);
  border-radius: var(--r-lg);
  padding: clamp(32px, 4.5vw, 56px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 8px 48px rgba(26, 10, 5, 0.07);
}

/* Accent line at top */
.form::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(32px, 4.5vw, 56px);
  right: clamp(32px, 4.5vw, 56px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ember) 28%, var(--gold) 72%, transparent);
  opacity: 0.55;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 600px) {
  .form__row { grid-template-columns: 1fr; gap: 0; }
}

.form__field {
  margin-bottom: 20px;
}
.form__field--full { width: 100%; }

.form__field label {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(139, 90, 58, 0.6);
  margin-bottom: 7px;
  font-weight: 500;
  transition: color 0.3s var(--ease);
}
.form__field.is-focused label { color: var(--ember); }

.form__field input,
.form__field select,
.form__field textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(26, 10, 5, 0.13);
  border-radius: var(--r-sm);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  resize: none;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.form__field textarea { min-height: 100px; line-height: 1.6; }
.form__field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%238B5A3A' stroke-width='1.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  border-color: var(--ember);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 3px rgba(232, 98, 42, 0.11);
}

/* Line element no longer used */
.form__line { display: none; }

.form__footer {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(26, 10, 5, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.form__note {
  font-size: 13px;
  color: var(--muted);
  font-family: var(--mono);
  letter-spacing: 0.04em;
}
.form__note a {
  color: var(--ink-soft);
  border-bottom: 1px solid rgba(245, 184, 74, 0.5);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.form__note a:hover { color: var(--ember); border-color: var(--ember); }

/* Honeypot anti-bot — invisible para usuarios y lectores de pantalla */
.form__honey {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Contenedor del widget reCAPTCHA */
.form__captcha {
  margin-top: 24px;
  min-height: 78px;
  display: flex;
  justify-content: flex-start;
}
.form.is-error .form__captcha {
  outline: 1px solid rgba(198, 110, 78, 0.5);
  outline-offset: 6px;
  border-radius: 4px;
}

/* Bloque de éxito y error (overlay sobre el form) */
.form__success,
.form__error {
  position: absolute;
  inset: 0;
  background: rgba(255, 244, 235, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), visibility 0s 0.6s;
}
.form__success h3,
.form__error h3 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: 12px;
}
.form__success h3 { color: var(--gold); }
.form__error h3   { color: #C66E4E; }
.form__success p,
.form__error p { color: var(--ink-soft); font-size: 16px; max-width: 460px; }
.form__error a {
  color: var(--ember);
  border-bottom: 1px solid rgba(232, 98, 42, 0.4);
}
.form.is-sent .form__success,
.form.is-error .form__error {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  position: relative;
  background: var(--obsidian);
  color: var(--cream);
  padding: clamp(72px, 9vw, 120px) 0 36px;
  border-top: 1px solid var(--line-dark);
  overflow: hidden;
}
/* Línea de horizonte cálida en el borde superior */
.footer__horizon {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(232, 98, 42, 0.45) 30%,
    rgba(245, 184, 74, 0.65) 50%,
    rgba(232, 98, 42, 0.45) 70%,
    transparent 100%);
  pointer-events: none;
}
.footer__horizon::after {
  content: "";
  position: absolute;
  inset: 0;
  filter: blur(8px);
  background: linear-gradient(90deg,
    transparent 20%,
    rgba(232, 98, 42, 0.35) 50%,
    transparent 80%);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.3fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line-dark);
}
.footer__col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 240, 228, 0.45);
  margin-bottom: 22px;
  font-weight: 500;
}

/* Col 1 — Logo + tagline */
.footer__col--logo .logo--footer { margin-bottom: 22px; display: inline-flex; }
.footer__tag {
  max-width: 360px;
  font-size: 15px;
  color: rgba(255, 240, 228, 0.62);
  line-height: 1.6;
}

/* Col 2 — Menú */
.footer__col--menu ul { display: flex; flex-direction: column; gap: 12px; }
.footer__col--menu a {
  font-size: 14.5px;
  color: rgba(255, 240, 228, 0.82);
  display: inline-block;
  padding-bottom: 1px;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: color 0.3s var(--ease), background-size 0.4s var(--ease);
}
.footer__col--menu a:hover {
  color: var(--ember);
  background-size: 100% 1px;
}

/* Col 3 — Contacto */
.footer__contact { display: flex; flex-direction: column; gap: 14px; }
.footer__contact li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  color: rgba(255, 240, 228, 0.82);
}
.footer__contact-icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(232, 98, 42, 0.14);
  color: var(--ember);
  flex-shrink: 0;
  transition: background 0.3s var(--ease);
}
.footer__contact a {
  color: inherit;
  transition: color 0.3s var(--ease);
}
.footer__contact a:hover { color: var(--ember); }
.footer__contact li:hover .footer__contact-icon { background: rgba(232, 98, 42, 0.22); }

.footer__social {
  margin-top: 24px;
  display: flex;
  gap: 10px;
}
.footer__social a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 240, 228, 0.14);
  color: rgba(255, 240, 228, 0.7);
  transition:
    color 0.4s var(--ease),
    border-color 0.4s var(--ease),
    background 0.4s var(--ease),
    transform 0.4s var(--ease);
}
.footer__social a:hover {
  color: var(--ember);
  border-color: rgba(232, 98, 42, 0.5);
  background: rgba(232, 98, 42, 0.08);
  transform: translateY(-2px);
}

/* Fila inferior — copyright + páginas legales horizontal */
.footer__bottom {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__copy {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 240, 228, 0.4);
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.footer__legal li {
  display: inline-flex;
  align-items: center;
}
.footer__legal li:not(:last-child)::after {
  content: "·";
  margin: 0 12px;
  color: rgba(255, 240, 228, 0.28);
  font-size: 14px;
}
.footer__legal a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 240, 228, 0.55);
  transition: color 0.3s var(--ease);
}
.footer__legal a:hover { color: var(--ember); }

@media (max-width: 900px) {
  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 600px) {
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ============================================================
   REVEAL & SPLIT animations
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  will-change: opacity, transform;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-split] {
  opacity: 1;
}
[data-split] .split-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  margin-right: 0.18em;
}
[data-split] .split-word > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
[data-split].is-visible .split-word > span {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal], [data-split] { opacity: 1; transform: none; }
  [data-split] .split-word > span { transform: none; }
}

/* ============================================================
   Cursor celestial — solo al pasar sobre cards de servicio
   ============================================================ */
@media (pointer: fine) {
  .service { cursor: none; }

  @keyframes sol-breathe {
    0%, 100% { filter: drop-shadow(0 0 3px rgba(232,98,42,0.9))  drop-shadow(0 0 10px rgba(232,98,42,0.5))  drop-shadow(0 0 22px rgba(245,184,74,0.3)); }
    50%       { filter: drop-shadow(0 0 6px rgba(245,184,74,1))   drop-shadow(0 0 18px rgba(232,98,42,0.8))  drop-shadow(0 0 36px rgba(232,98,42,0.4)); }
  }

  @keyframes luna-breathe {
    0%, 100% { filter: drop-shadow(0 0 3px rgba(245,184,74,0.9)) drop-shadow(0 0 10px rgba(245,184,74,0.45)) drop-shadow(0 0 22px rgba(245,184,74,0.2)); }
    50%       { filter: drop-shadow(0 0 6px rgba(255,220,120,1))  drop-shadow(0 0 18px rgba(245,184,74,0.7))  drop-shadow(0 0 36px rgba(245,184,74,0.32)); }
  }

  .cursor-sol {
    position: fixed;
    top: 0;
    left: 0;
    width: 38px;
    height: 38px;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    will-change: left, top;
    opacity: 0;
    transition: opacity 0.2s ease;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }

  .cursor-sol.is-visible { opacity: 1; }

  .cursor-sol.is-sol {
    width: 44px;
    height: 44px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cdefs%3E%3CradialGradient id='c' cx='50%25' cy='50%25' r='50%25'%3E%3Cstop offset='0' stop-color='%23FFFBE6'/%3E%3Cstop offset='.35' stop-color='%23FFD86B'/%3E%3Cstop offset='.75' stop-color='%23F5963A'/%3E%3Cstop offset='1' stop-color='%23E8622A'/%3E%3C/radialGradient%3E%3CradialGradient id='h' cx='50%25' cy='50%25' r='50%25'%3E%3Cstop offset='.3' stop-color='%23FFB347' stop-opacity='.55'/%3E%3Cstop offset='.7' stop-color='%23E8622A' stop-opacity='.18'/%3E%3Cstop offset='1' stop-color='%23E8622A' stop-opacity='0'/%3E%3C/radialGradient%3E%3CradialGradient id='hi' cx='50%25' cy='42%25' r='35%25'%3E%3Cstop offset='0' stop-color='%23ffffff' stop-opacity='.95'/%3E%3Cstop offset='1' stop-color='%23ffffff' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Ccircle cx='24' cy='24' r='22' fill='url(%23h)'/%3E%3Cg fill='%23FFB347' fill-opacity='.9'%3E%3Cpolygon points='24,1.5 22,10 26,10'/%3E%3Cpolygon points='24,46.5 22,38 26,38'/%3E%3Cpolygon points='1.5,24 10,22 10,26'/%3E%3Cpolygon points='46.5,24 38,22 38,26'/%3E%3Cpolygon points='8.2,8.2 13.6,11.5 11.5,13.6'/%3E%3Cpolygon points='39.8,39.8 36.4,34.4 34.4,36.4'/%3E%3Cpolygon points='39.8,8.2 36.4,13.6 34.4,11.5'/%3E%3Cpolygon points='8.2,39.8 11.5,34.4 13.6,36.4'/%3E%3C/g%3E%3Ccircle cx='24' cy='24' r='9' fill='url(%23c)'/%3E%3Ccircle cx='24' cy='22' r='4' fill='url(%23hi)'/%3E%3C/svg%3E");
    animation: sol-breathe 2.4s ease-in-out infinite;
  }

  .cursor-sol.is-luna {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z' fill='%23F5B84A'/%3E%3C/svg%3E");
    animation: luna-breathe 3s ease-in-out infinite;
  }
}

/* ============================================================
   LEGAL — aviso legal, privacidad, cookies
   ============================================================ */
.legal-page {
  --scene-bg: var(--cream);
  --scene-fg: var(--ink);
}
.legal-page .chapters { display: none; }

.legal {
  padding: clamp(60px, 8vw, 100px) 0 clamp(80px, 10vw, 140px);
  background: var(--cream);
  color: var(--ink);
}
.legal__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.legal__header {
  margin-bottom: clamp(40px, 5vw, 64px);
  padding-bottom: clamp(24px, 3vw, 32px);
  border-bottom: 1px solid rgba(26, 10, 5, 0.08);
}
.legal__kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 18px;
  display: inline-block;
}
.legal__title {
  font-family: var(--serif);
  font-weight: 300;
  font-variation-settings: "opsz" 144;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 14px;
}
.legal__title em { font-style: italic; color: var(--ember); }
.legal__updated {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(26, 10, 5, 0.5);
}
.legal__body { font-size: 16px; line-height: 1.7; color: rgba(26, 10, 5, 0.85); }
.legal__body h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: clamp(36px, 4.5vw, 56px) 0 14px;
  color: var(--ink);
  position: relative;
  padding-left: 18px;
}
.legal__body h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--ember);
}
.legal__body h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: clamp(20px, 2.5vw, 28px) 0 8px;
  color: rgba(26, 10, 5, 0.75);
}
.legal__body p { margin-bottom: 14px; }
.legal__body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}
.legal__body ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}
.legal__body ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.7em;
  width: 8px;
  height: 1px;
  background: var(--ember);
  opacity: 0.7;
}
.legal__body a {
  color: var(--ember);
  border-bottom: 1px solid rgba(232, 98, 42, 0.3);
  transition: border-color 0.3s var(--ease);
}
.legal__body a:hover { border-bottom-color: var(--ember); }
.legal__body strong { color: var(--ink); font-weight: 600; }

.legal__data {
  margin: 24px 0 8px;
  padding: 24px 28px;
  background: rgba(255, 240, 228, 0.55);
  border: 1px solid rgba(26, 10, 5, 0.06);
  border-radius: var(--r-md);
  font-size: 14.5px;
  line-height: 1.7;
}
.legal__data dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(26, 10, 5, 0.5);
  margin-top: 10px;
}
.legal__data dt:first-child { margin-top: 0; }
.legal__data dd { margin: 2px 0 0; color: var(--ink); }

.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: 32px;
  border-top: 1px solid rgba(26, 10, 5, 0.08);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ember);
  transition: gap 0.3s var(--ease);
}
.legal__back:hover { gap: 14px; }
