/* VORA · web de pre-lanzamiento
   Estilo: lujo editorial cálido (crema, grano, Outfit + Lora Italic) con bento y hero partido. */

@font-face { font-family: 'Outfit'; src: url('../fonts/Outfit_400Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Outfit'; src: url('../fonts/Outfit_500Medium.ttf') format('truetype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Outfit'; src: url('../fonts/Outfit_600SemiBold.ttf') format('truetype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Outfit'; src: url('../fonts/Outfit_700Bold.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Outfit'; src: url('../fonts/Outfit_800ExtraBold.ttf') format('truetype'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Outfit'; src: url('../fonts/Outfit_900Black.ttf') format('truetype'); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Lora'; src: url('../fonts/Lora_400Regular_Italic.ttf') format('truetype'); font-weight: 400 500; font-style: italic; font-display: swap; }

:root {
  --forest: #003018;
  --forest-2: #0b4428;
  --mustard: #d89000;
  --mustard-soft: #f2b437;
  --mandarin: #e4540c;
  --bubblegum: #f06084;
  --cream: #f5e6d3;
  --paper: #fbf6ee;
  --ink: #003018;
  --ink-2: #46614f;
  --ink-3: #7b8c81;
  --line: rgba(0, 48, 24, 0.09);
  --shadow: 0 30px 60px -30px rgba(0, 48, 24, 0.28), 0 8px 20px -12px rgba(0, 48, 24, 0.12);
  --safe-fg: #0b5d33; --safe-bg: #ddefe2;
  --caution-fg: #7a5200; --caution-bg: #fbebc8;
  --unsafe-fg: #a93b06; --unsafe-bg: #fbe0d3;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --r-xl: 2rem;
  --pad: clamp(1rem, 4vw, 3rem);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
em { font-family: 'Lora', serif; font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
h1, h2, h3 { margin: 0; letter-spacing: -0.03em; line-height: 1.02; }
h1 { font-size: clamp(2.8rem, 7.2vw, 6.4rem); font-weight: 900; }
h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); font-weight: 800; }
h3 { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.15; }
h2 em, h1 em { color: var(--forest-2); }

/* Grano de papel: capa fija, sin eventos */
.grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.eyebrow {
  display: inline-block; padding: 0.35rem 0.85rem; border-radius: 999px;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  background: rgba(0, 48, 24, 0.06); color: var(--forest);
  margin-bottom: 1.4rem;
}
.eyebrow.on-dark { background: rgba(245, 230, 211, 0.1); color: var(--mustard-soft); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--ink-2); max-width: 38ch; font-weight: 400; }
.lead.narrow { max-width: 52ch; margin: 1.2rem auto 0; }
.source { font-size: 0.82rem; color: var(--ink-3); margin-top: 2rem; }
.center { text-align: center; }

/* ---------- Botones (isla + icono anidado) ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.75rem;
  padding: 0.55rem 0.55rem 0.55rem 1.5rem; border-radius: 999px;
  font-weight: 600; font-size: 1rem; text-decoration: none; border: 0; cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 240ms var(--ease), box-shadow 240ms var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn-ico {
  width: 2.3rem; height: 2.3rem; border-radius: 999px; display: grid; place-items: center;
  background: rgba(245, 230, 211, 0.16);
  transition: transform 320ms var(--ease);
}
.btn-ico svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover .btn-ico { transform: translate(3px, -2px) scale(1.05); }
.btn-primary { background: var(--forest); color: var(--cream); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), var(--shadow); }
.btn-primary:hover { background: var(--forest-2); }
.btn-accent { background: var(--mustard); color: #1f1400; }
.btn-accent .btn-ico { background: rgba(0, 48, 24, 0.12); }
.btn-ghost { padding: 0.9rem 1.5rem; background: transparent; color: var(--forest); box-shadow: inset 0 0 0 1.5px rgba(0, 48, 24, 0.22); }
.btn-ghost:hover { background: rgba(0, 48, 24, 0.05); }
.btn-sm { font-size: 0.9rem; padding-left: 1.1rem; }
.btn-sm .btn-ico { width: 1.9rem; height: 1.9rem; }

/* ---------- Navegación flotante ---------- */
.nav-wrap { position: fixed; top: 1rem; left: 0; right: 0; z-index: 40; display: flex; justify-content: center; padding: 0 1rem; pointer-events: none; }
.nav {
  pointer-events: auto; display: flex; align-items: center; gap: 1.6rem;
  padding: 0.4rem 0.45rem 0.4rem 1rem; border-radius: 999px;
  background: rgba(251, 246, 238, 0.72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 0 0 1px var(--line), 0 12px 30px -18px rgba(0, 48, 24, 0.35);
}
.nav-logo img { width: 74px; height: auto; }
.nav-links { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: 0.92rem; font-weight: 500; color: var(--ink-2); transition: color 200ms var(--ease); }
.nav-links a:hover { color: var(--forest); }
.burger { display: none; position: relative; width: 2.6rem; height: 2.6rem; border-radius: 999px; border: 0; background: var(--forest); cursor: pointer; }
.burger span { position: absolute; left: 0.8rem; right: 0.8rem; height: 1.5px; background: var(--cream); transition: transform 420ms var(--ease); }
.burger span:first-child { transform: translateY(-3.5px); }
.burger span:last-child { transform: translateY(3.5px); }
.burger[aria-expanded='true'] span:first-child { transform: rotate(45deg); }
.burger[aria-expanded='true'] span:last-child { transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 30; display: flex; align-items: center; padding: 6rem 2rem 2rem;
  background: rgba(0, 48, 24, 0.92); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  opacity: 0; transition: opacity 360ms var(--ease);
}
.menu.open { opacity: 1; }
.menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.menu a { color: var(--cream); text-decoration: none; font-size: 2.2rem; font-weight: 800; letter-spacing: -0.03em; display: inline-block;
  opacity: 0; transform: translateY(2.5rem); transition: opacity 500ms var(--ease), transform 600ms var(--ease); }
.menu.open a { opacity: 1; transform: none; }
.menu li:nth-child(2) a { transition-delay: 50ms; } .menu li:nth-child(3) a { transition-delay: 100ms; }
.menu li:nth-child(4) a { transition-delay: 150ms; } .menu li:nth-child(5) a { transition-delay: 200ms; }
.menu li:nth-child(6) a { transition-delay: 250ms; } .menu li:nth-child(7) a { transition-delay: 300ms; }
.menu-cta { color: var(--mustard-soft) !important; }

/* ---------- Doble bisel ---------- */
.bezel {
  padding: 0.45rem; border-radius: var(--r-xl);
  background: rgba(0, 48, 24, 0.035); box-shadow: inset 0 0 0 1px var(--line);
}
.bezel-core {
  height: 100%; border-radius: calc(var(--r-xl) - 0.45rem); background: #fffdf9; overflow: hidden;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.9), 0 18px 40px -28px rgba(0, 48, 24, 0.35);
}

/* ---------- Hero ---------- */
.hero {
  max-width: var(--max); margin: 0 auto; min-height: 100dvh;
  padding: 8.5rem var(--pad) 5rem;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.hero .lead { margin: 1.6rem 0 2.2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero-stats { display: grid; grid-template-columns: repeat(3, auto); gap: 2rem; margin: 3.2rem 0 0; }
.hero-stats dt { font-size: 1.55rem; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.hero-stats dd { margin: 0.1rem 0 0; font-size: 0.85rem; color: var(--ink-3); max-width: 16ch; }
.hero-visual { position: relative; padding-bottom: 4rem; }
.photo-bezel .bezel-core img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; }
.tilt-l { transform: rotate(-2deg); }
.tilt-r { transform: rotate(3deg); }
.card-bezel { position: absolute; right: -1.5rem; bottom: 0; width: min(290px, 62%); background: rgba(251, 246, 238, 0.6); }
.app-card-img { position: relative; }
.app-card-img img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.seal-pill {
  position: absolute; top: 0.7rem; left: 0.7rem; display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.3rem 0.7rem 0.3rem 0.45rem; border-radius: 999px; background: var(--forest); color: var(--cream);
  font-size: 0.75rem; font-weight: 600;
}
.seal-pill svg { width: 1rem; height: 1rem; fill: none; stroke: var(--mustard-soft); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.app-card-body { padding: 0.9rem 1rem 1.1rem; display: grid; gap: 0.25rem; }
.app-card-body strong { font-size: 1.15rem; letter-spacing: -0.02em; }
.app-card-body > span:not(.tag) { font-size: 0.82rem; color: var(--ink-2); }
.tag { display: inline-block; justify-self: start; padding: 0.2rem 0.65rem; border-radius: 999px; font-size: 0.75rem; font-weight: 600; background: var(--cream); color: var(--forest); }
.tag.safe { background: var(--safe-bg); color: var(--safe-fg); margin-top: 0.3rem; }
.tag.muted { background: #f3ece1; color: var(--ink-3); }

/* ---------- Marquesina ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 1.1rem 0; background: var(--cream); }
.marquee-track { display: flex; gap: 2.2rem; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -0.03em; white-space: nowrap; }
.marquee i { font-style: normal; color: var(--mustard); align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(6rem, 12vw, 10rem) var(--pad); }
.section-head { text-align: center; max-width: 820px; margin: 0 auto clamp(3rem, 6vw, 5rem); }

.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 4rem); }
.problem-grid article { border-top: 1px solid var(--line); padding-top: 1.6rem; }
.problem-grid .big { display: block; font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 900; letter-spacing: -0.04em; color: var(--forest); }
.problem-grid p { color: var(--ink-2); margin: 0.6rem 0 0; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(250px, auto); gap: 1rem; }
.bento > .bezel { grid-column: span 4; }
.bento > .b-wide { grid-column: span 8; }
.bento > .b-tall { grid-column: span 4; grid-row: span 2; }
.bento > .bezel:nth-child(3) { grid-column: span 4; }
.bento > .bezel:nth-child(4) { grid-column: span 4; }
.step { padding: clamp(1.6rem, 3vw, 2.4rem); display: flex; flex-direction: column; gap: 0.8rem; }
.step p { margin: 0; color: var(--ink-2); }
.step-n { font-family: 'Lora', serif; font-style: italic; font-size: 1.1rem; color: var(--mustard); }
.step.dark { background: var(--forest); color: var(--cream); }
.step.dark p { color: rgba(245, 230, 211, 0.78); }
.photo-step { padding: 0; }
.photo-step img { width: 100%; flex: 1; min-height: 260px; object-fit: cover; }
.photo-step > div { padding: 1.8rem 2rem 2rem; display: grid; gap: 0.6rem; }
.photo-step p { color: var(--ink-2); }
.c-safe { color: var(--safe-fg); } .c-caution { color: var(--caution-fg); } .c-unsafe { color: var(--unsafe-fg); }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0.6rem 0 0; padding: 0; }
.chips li, .chips button {
  padding: 0.5rem 1rem; border-radius: 999px; font: 500 0.9rem 'Outfit', sans-serif;
  background: #fff; color: var(--forest); box-shadow: inset 0 0 0 1px rgba(0, 48, 24, 0.18);
}
.chips li.on, .chips button[aria-pressed='true'] { background: var(--forest); color: var(--cream); box-shadow: none; }
.chips button { border: 0; cursor: pointer; transition: transform 120ms var(--ease-out); }
.chips button:active { transform: scale(0.96); }

/* Auditoría */
.audit { max-width: none; background: var(--forest); color: var(--cream); }
.audit-split { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.audit h2 em { color: var(--mustard-soft); }
.audit-copy > p { color: rgba(245, 230, 211, 0.8); max-width: 46ch; margin-top: 1.5rem; }
.audit-steps { list-style: none; counter-reset: s; margin: 2.4rem 0; padding: 0; display: grid; gap: 1.1rem; }
.audit-steps li { counter-increment: s; display: grid; grid-template-columns: 2.4rem 1fr; column-gap: 0.8rem; }
.audit-steps li::before { content: counter(s, decimal-leading-zero); grid-row: span 2; font-family: 'Lora', serif; font-style: italic; color: var(--mustard-soft); padding-top: 0.1rem; }
.audit-steps span { color: rgba(245, 230, 211, 0.7); font-size: 0.95rem; }
.pull { font-size: 1.35rem; font-weight: 600; color: var(--cream) !important; }
.audit-visual { position: relative; }
.on-dark-bezel { background: rgba(245, 230, 211, 0.06); box-shadow: inset 0 0 0 1px rgba(245, 230, 211, 0.1); position: relative; z-index: 2; }
.checklist { background: #fffdf9; color: var(--ink); padding: 1.8rem; }
.score { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1.2rem; }
.score-n { font-size: 3.4rem; font-weight: 900; letter-spacing: -0.05em; line-height: 1; }
.score span:last-child { font-size: 0.85rem; color: var(--ink-3); line-height: 1.3; }
.checklist ul { list-style: none; margin: 0; padding: 0; display: grid; }
.checklist li { display: flex; align-items: center; gap: 0.7rem; padding: 0.6rem 0; border-top: 1px solid var(--line); font-size: 0.95rem; }
.checklist small { color: var(--ink-3); }
.checklist i { width: 1.1rem; height: 1.1rem; border-radius: 999px; flex: none; }
.checklist i.ok { background: var(--safe-bg); box-shadow: inset 0 0 0 4px var(--safe-bg), inset 0 0 0 9px var(--safe-fg); }
.checklist i.warn { background: var(--caution-bg); box-shadow: inset 0 0 0 4px var(--caution-bg), inset 0 0 0 9px var(--mustard); }
.verified-for { margin: 1.2rem 0 0; font-size: 0.85rem; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.verified-for span { background: var(--forest); color: var(--cream); border-radius: 999px; padding: 0.15rem 0.6rem; font-size: 0.75rem; font-weight: 600; }
.audit-photo { position: absolute; width: 55%; right: -2rem; bottom: -3.5rem; border-radius: 1.4rem; transform: rotate(4deg); z-index: 1; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5); }

/* Demo de carta */
.demo-core { display: grid; grid-template-columns: 0.85fr 1.15fr; }
.demo-controls { padding: clamp(1.6rem, 3vw, 2.6rem); background: var(--cream); display: flex; flex-direction: column; gap: 1rem; }
.demo-label { margin: 0; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; color: var(--ink-2); }
.mode { display: inline-flex; padding: 0.25rem; border-radius: 999px; background: rgba(0, 48, 24, 0.07); align-self: flex-start; margin-top: 0.4rem; }
.mode button { border: 0; background: transparent; font: 600 0.9rem 'Outfit', sans-serif; color: var(--ink-2); padding: 0.55rem 1.2rem; border-radius: 999px; cursor: pointer; transition: background-color 200ms var(--ease); }
.mode button[aria-checked='true'] { background: #fff; color: var(--forest); box-shadow: 0 4px 12px -6px rgba(0, 48, 24, 0.35); }
.demo-kitchen { margin-top: auto; font-size: 0.85rem; color: var(--ink-2); }
.demo-menu { padding: clamp(1.6rem, 3vw, 2.6rem); }
.demo-summary { margin: 0 0 1rem; font-weight: 700; font-size: 1.1rem; }
.demo-summary b { font-size: 2rem; letter-spacing: -0.04em; }
#demo-dishes { list-style: none; margin: 0; padding: 0; display: grid; }
#demo-dishes li { display: grid; grid-template-columns: 1fr auto; gap: 0.25rem 1rem; padding: 0.95rem 0; border-top: 1px solid var(--line); transition: opacity 260ms var(--ease); }
#demo-dishes li.is-unsafe { opacity: 0.5; }
#demo-dishes .dname { font-weight: 600; }
#demo-dishes .price { font-weight: 600; font-variant-numeric: tabular-nums; }
#demo-dishes .why { grid-column: 1 / -1; font-size: 0.85rem; color: var(--ink-2); }
.status { justify-self: start; grid-column: 1 / -1; padding: 0.15rem 0.6rem; border-radius: 999px; font-size: 0.75rem; font-weight: 700; }
.status.safe, .status.adaptable { background: var(--safe-bg); color: var(--safe-fg); }
.status.caution { background: var(--caution-bg); color: var(--caution-fg); }
.status.unsafe { background: var(--unsafe-bg); color: var(--unsafe-fg); }

/* Grupo */
.group-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.group .lead { margin-top: 1.4rem; }
.table-mock { margin-top: 2rem; display: grid; gap: 0.7rem; }
.table-mock div { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; padding: 0.7rem 0.9rem; border-radius: 1.1rem; background: #fffdf9; box-shadow: inset 0 0 0 1px var(--line); }
.table-mock p { margin: 0.4rem 0 0; color: var(--ink-2); }
.avatar { width: 2rem; height: 2rem; border-radius: 999px; display: grid; place-items: center; font-weight: 700; font-size: 0.9rem; }
.a1 { background: var(--mustard); color: #1f1400; } .a2 { background: var(--bubblegum); color: #fff; } .a3 { background: var(--cream); }

/* Restaurantes */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-bottom: 4rem; }
.benefits div { border-top: 1px solid var(--line); padding-top: 1.4rem; }
.benefits p { color: var(--ink-2); margin: 0.6rem 0 0; font-size: 0.95rem; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.plan { padding: 2.2rem; display: flex; flex-direction: column; gap: 0.5rem; position: relative; }
.plan .price { font-size: 3rem; font-weight: 900; letter-spacing: -0.05em; margin: 0.2rem 0 0.8rem; }
.plan .price span { font-size: 1rem; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.plan li { padding-left: 1.5rem; position: relative; color: var(--ink-2); }
.plan li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 0.7rem; height: 0.35rem; border-left: 1.6px solid var(--safe-fg); border-bottom: 1.6px solid var(--safe-fg); transform: rotate(-45deg); }
.featured { background: rgba(216, 144, 0, 0.2); box-shadow: inset 0 0 0 1px rgba(216, 144, 0, 0.35); }
.badge { position: absolute; top: 1.4rem; right: 1.4rem; background: var(--mustard); color: #1f1400; font-size: 0.72rem; font-weight: 700; padding: 0.25rem 0.7rem; border-radius: 999px; }

/* Comparativa */
.table-wrap { overflow-x: auto; border-radius: var(--r-xl); box-shadow: inset 0 0 0 1px var(--line); background: #fffdf9; }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { padding: 1.05rem 1.3rem; text-align: left; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
th { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--ink-3); font-weight: 600; }
td { color: var(--ink-2); }
td:first-child { color: var(--ink); font-weight: 500; }
.us { background: var(--forest); color: var(--cream) !important; font-weight: 700; text-align: center; }
tbody tr:last-child td { border-bottom: 0; }

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 1.5rem 3rem 1.5rem 0; font-size: 1.2rem; font-weight: 600; letter-spacing: -0.015em; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 0.4rem; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 300; transition: transform 320ms var(--ease); }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { margin: 0 0 1.6rem; color: var(--ink-2); max-width: 64ch; }

/* CTA final */
.final {
  margin: 0 var(--pad) clamp(4rem, 8vw, 6rem); border-radius: 2.5rem; background: var(--forest); color: var(--cream);
  text-align: center; padding: clamp(4rem, 9vw, 7rem) var(--pad); display: grid; justify-items: center; gap: 1.2rem;
}
.final img { width: 170px; }
.final h2 em { color: var(--mustard-soft); }
.final p { margin: 0 0 0.8rem; color: rgba(245, 230, 211, 0.8); }

/* Footer */
.footer { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad) 3rem; }
.footer-top { display: flex; align-items: center; gap: 1.5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.quote { font-family: 'Lora', serif; font-style: italic; font-size: 1.15rem; color: var(--ink-2); margin: 0; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.4rem; font-size: 0.85rem; color: var(--ink-3); }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--ink-2); }

/* Página legal */
.legal { max-width: 760px; margin: 0 auto; padding: 9rem var(--pad) 5rem; }
.legal h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); margin-bottom: 1.5rem; }
.legal h2 { font-size: 1.5rem; margin: 2.6rem 0 0.8rem; letter-spacing: -0.02em; }
.legal p, .legal li { color: var(--ink-2); }

/* ---------- Entrada al hacer scroll ---------- */
.reveal { opacity: 0; transform: translateY(3rem); filter: blur(8px);
  transition: opacity 900ms var(--ease), transform 1000ms var(--ease), filter 900ms var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; filter: none; }
.hero-visual.reveal.in .tilt-l { transform: rotate(-2deg); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .bento > .bezel, .bento > .b-wide, .bento > .b-tall, .bento > .bezel:nth-child(3), .bento > .bezel:nth-child(4) { grid-column: span 6; grid-row: auto; }
  .bento > .b-wide { grid-column: span 12; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  body { font-size: 16px; }
  .nav { gap: 0.8rem; }
  .nav-cta { display: none; }
  .burger { display: block; }
  .hero { grid-template-columns: 1fr; padding-top: 7rem; min-height: auto; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 1.4rem; }
  .tilt-l, .tilt-r, .audit-photo { transform: none; }
  .card-bezel { position: relative; right: auto; width: 82%; margin: -3rem 0 0 auto; }
  .hero-visual { padding-bottom: 0; }
  .problem-grid, .plans, .group-split, .audit-split, .demo-core { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento > .bezel, .bento > .b-wide, .bento > .b-tall, .bento > .bezel:nth-child(3), .bento > .bezel:nth-child(4) { grid-column: 1 / -1; }
  .benefits { grid-template-columns: 1fr; }
  .audit-photo { position: static; width: 100%; margin-top: 1rem; border-radius: 1.4rem; }
  .footer-top { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transition: opacity 300ms linear; transform: none; filter: none; }
  .marquee-track { animation: none; }
  .btn:hover .btn-ico { transform: none; }
}
