/* ==========================================================================
   menuual · web pública (menuual.com) — servida por Laravel (apps/api)
   Copia fiel de web-publica/assets/css/web.css (maqueta aprobada, PR #57)
   con las fuentes alojadas aquí (public/site/fonts, OFL) y, al final, lo
   que suma la versión dinámica (formulario, testimonios, vista previa…).
   ========================================================================== */

@font-face {
  font-family: "Fraunces"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("../fonts/fraunces-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces"; font-style: italic; font-weight: 400 600; font-display: swap;
  src: url("../fonts/fraunces-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/figtree-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   menuual · web pública (menuual.com)
   Tokens de la app (maqueta-html/assets/css/menuual.css) con las fuentes
   libres de la PWA: Fraunces (display) y Figtree (texto).
   Mobile-first · solo modo claro (color-scheme: light).
   ========================================================================== */

:root {
  color-scheme: light;

  --red: #EC0B43;          /* marca: logo, acentos gráficos */
  --red-ink: #C70638;      /* texto y botones sobre claro (AA 5,9:1 con blanco) */
  --red-deep: #A8052F;
  --red-soft: #FDE6EC;
  --berry: #58355E;
  --berry-dark: #3D2342;
  --berry-soft: #F1ECF2;
  --aqua: #7AE7C7;
  --aqua-ink: #16765A;
  --aqua-soft: #E3FAF3;
  --tea: #D6FFB7;
  --tea-ink: #35551C;
  --banana: #FFF689;
  --banana-soft: #FFFBD1;

  --bg: #FAF7F5;
  --surface: #FFFFFF;
  --text: #2F1C33;
  --muted: #65546A;        /* 6,4:1 sobre --bg */
  --line: rgba(88, 53, 94, .14);
  --shadow: 0 1px 2px rgba(61, 35, 66, .06), 0 10px 30px rgba(61, 35, 66, .08);
  --shadow-lg: 0 2px 6px rgba(61, 35, 66, .08), 0 30px 60px rgba(61, 35, 66, .16);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: 16px;
  --maxw: 1180px;
  --radius: 18px;
  --radius-sm: 12px;
  --header-h: 64px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
@media (min-width: 768px) { :root { --gutter: 28px; } }
@media (min-width: 1024px) { :root { --gutter: 40px; --header-h: 72px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  accent-color: var(--red-ink);
  caret-color: var(--red-ink);
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-variation-settings: "SOFT" 50, "WONK" 0;
  color: var(--berry-dark);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
a { color: var(--red-ink); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--red-deep); text-decoration-thickness: 2px; }
::selection { background: var(--banana); color: var(--berry-dark); }
:focus-visible { outline: 3px solid var(--red-ink); outline-offset: 3px; border-radius: 6px; }
html { scrollbar-color: rgba(88, 53, 94, .35) var(--bg); }
.num { font-variant-numeric: tabular-nums; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: 100;
  background: var(--berry-dark); color: #fff; padding: .7rem 1rem; border-radius: 10px; font-weight: 600;
}
.skip-link:focus { top: 10px; color: #fff; }

.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section-head { max-width: 44rem; margin-bottom: clamp(2.25rem, 5vw, 3.5rem); }
.section-head h2 { font-size: clamp(2rem, 5.2vw, 3.25rem); }
.section-head p { margin-top: 1rem; color: var(--muted); font-size: clamp(1.0625rem, 1.6vw, 1.1875rem); max-width: 38rem; }
.ico { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ---------- Botones ---------- */
.btn {
  --b: var(--red-ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .75rem 1.35rem; border-radius: 999px;
  font: 600 1rem/1.2 var(--sans); text-decoration: none; white-space: nowrap;
  border: 2px solid transparent; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--red-ink); color: #fff; box-shadow: 0 2px 6px rgba(47, 28, 51, .14); }
.btn-primary:hover { background: var(--red-deep); color: #fff; box-shadow: 0 6px 16px rgba(47, 28, 51, .18); }
.btn-outline { background: transparent; color: var(--berry-dark); border-color: rgba(61, 35, 66, .28); }
.btn-outline:hover { border-color: var(--berry-dark); color: var(--berry-dark); background: #fff; }
.btn-light { background: #fff; color: var(--berry-dark); }
.btn-light:hover { background: var(--banana); color: var(--berry-dark); }
.btn-lg { min-height: 56px; padding: .9rem 1.7rem; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.btn .ico { width: 1.1em; height: 1.1em; }

/* ---------- Marca ---------- */
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--berry-dark); text-decoration: none; }
.brand:hover { color: var(--berry-dark); text-decoration: none; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; background: var(--red);
  display: grid; place-items: center; position: relative; overflow: hidden; flex-shrink: 0;
}
.brand-mark::before { content: ""; position: absolute; inset: auto -6px -10px auto; width: 22px; height: 22px; border-radius: 50%; background: var(--banana); }
.brand-mark::after { content: ""; position: absolute; inset: -8px auto auto -8px; width: 20px; height: 20px; border-radius: 50%; background: var(--aqua); }
.brand-mark span { position: relative; z-index: 1; color: #fff; font: 500 1.2rem/1 var(--serif); margin-top: -2px; }
.brand-name { font: 500 1.5rem/1 var(--serif); letter-spacing: -.02em; }
.brand-name b { color: var(--red); font-weight: inherit; }

/* ---------- Cabecera ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(250, 247, 245, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 1rem; }
.site-header .spacer { flex: 1; }
.nav-toggle {
  display: none; width: 48px; height: 48px; margin-right: -10px; border: 0; border-radius: 12px;
  background: transparent; color: var(--berry-dark); cursor: pointer; place-items: center;
}
.nav-toggle:hover { background: var(--berry-soft); }
.nav-toggle .ico { width: 26px; height: 26px; }
.nav-toggle .i-close { display: none; }
.nav-open .nav-toggle .i-open { display: none; }
.nav-open .nav-toggle .i-close { display: block; }
.nav-links { display: flex; flex-wrap: nowrap; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: .5rem .8rem; border-radius: 10px;
  color: var(--text); font-weight: 500; text-decoration: none;
}
.nav-links a:hover { background: var(--berry-soft); color: var(--berry-dark); }
.nav-actions { display: flex; align-items: center; gap: .5rem; }
.nav-actions .btn { min-height: 44px; padding: .55rem 1.1rem; }
.link-login { font-weight: 600; color: var(--berry-dark); text-decoration: none; padding: .6rem .8rem; border-radius: 10px; }
.link-login:hover { background: var(--berry-soft); color: var(--berry-dark); text-decoration: none; }

/* Sin JS: los enlaces quedan visibles en una fila con scroll propio */
.no-js .nav-panel { display: none; }

@media (max-width: 1023.98px) {
  .js .nav-toggle { display: grid; }
  .js .nav-panel {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: .75rem var(--gutter) 1.25rem;
    display: grid; gap: 1rem;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s var(--ease), transform .25s var(--ease), visibility 0s .25s;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .nav-open .nav-panel { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav-panel .nav-links { flex-direction: column; }
  .nav-panel .nav-links a { font-size: 1.125rem; padding: .7rem .5rem; width: 100%; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-panel .nav-actions { flex-direction: column; align-items: stretch; }
  .nav-panel .nav-actions .btn, .nav-panel .link-login { min-height: 50px; justify-content: center; display: inline-flex; align-items: center; }
  .nav-panel .link-login { border: 2px solid rgba(61, 35, 66, .28); border-radius: 999px; }
  .header-cta { display: none; }
}
@media (max-width: 359.98px) { .brand-name { font-size: 1.3rem; } }
@media (min-width: 480px) and (max-width: 1023.98px) { .header-cta { display: inline-flex; } }
@media (min-width: 1024px) {
  .nav-panel { display: flex; align-items: center; gap: 1.5rem; flex: 1; }
  .nav-panel > nav { margin: 0 auto; }
  .nav-links a { white-space: nowrap; }
  .no-js .nav-panel { display: flex; }
  .header-cta { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6.5rem); overflow: hidden; }
.hero-grid { display: grid; gap: clamp(3rem, 6vw, 4rem); align-items: center; }
.hero h1 {
  font-size: clamp(2.6rem, 9.4vw, 5.25rem);
  line-height: 1.04; letter-spacing: -.022em;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}
.hero h1 em { font-style: italic; color: var(--red-ink); font-weight: 450; }
.hero-lead { margin-top: 1.4rem; font-size: clamp(1.125rem, 2vw, 1.3125rem); line-height: 1.55; color: var(--muted); max-width: 34rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-note { margin-top: 1.1rem; font-size: .9375rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; }
.hero-note span { display: inline-flex; align-items: center; gap: .4rem; }
.hero-note .ico { color: var(--aqua-ink); width: 1.1em; height: 1.1em; }
@media (max-width: 479.98px) { .hero-ctas .btn { width: 100%; } }
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); }
}

/* Teléfono (HTML/CSS) */
.device-stage { position: relative; display: grid; place-items: center; padding: 1rem 0; }
.device-stage::before, .device-stage::after { content: ""; position: absolute; border-radius: 50%; z-index: 0; }
.device-stage::before { width: min(78vw, 420px); aspect-ratio: 1; background: var(--aqua); top: 2%; left: 50%; transform: translateX(-72%); opacity: .55; }
.device-stage::after { width: min(46vw, 250px); aspect-ratio: 1; background: var(--banana); bottom: 0; left: 50%; transform: translateX(22%); }
.phone {
  position: relative; z-index: 1; width: min(100%, 318px);
  border-radius: 46px; padding: 11px; background: #22142A;
  box-shadow: var(--shadow-lg);
}
.phone-screen {
  border-radius: 36px; overflow: hidden; background: var(--bg);
  font-size: 13px; line-height: 1.35; color: var(--text);
  display: flex; flex-direction: column; aspect-ratio: 9 / 19.2;
}
.ps-status { display: flex; justify-content: space-between; align-items: center; padding: 12px 22px 4px; font-weight: 600; font-size: 12px; }
.ps-status .island { width: 78px; height: 22px; border-radius: 12px; background: #22142A; }
.ps-status .sig { display: flex; gap: 4px; align-items: center; }
.ps-status .sig i { display: block; width: 14px; height: 9px; border-radius: 2px; border: 1.5px solid var(--text); }
.ps-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 16px 6px; }
.ps-head .brand-mark { width: 24px; height: 24px; border-radius: 7px; }
.ps-head .brand-mark span { font-size: .85rem; }
.ps-head .brand-mark::before { width: 15px; height: 15px; }
.ps-head .brand-mark::after { width: 14px; height: 14px; }
.ps-head .brand-name { font-size: 1.05rem; }
.ps-avatars { display: flex; }
.ps-avatars span {
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  font-size: 11px; font-weight: 700; border: 2px solid var(--bg); margin-left: -6px;
}
.ps-body { padding: 4px 14px 10px; display: grid; gap: 9px; flex: 1; align-content: start; }
.ps-date { font: 500 1.35rem/1.1 var(--serif); color: var(--berry-dark); letter-spacing: -.02em; }
.ps-sub { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.ps-card { background: #fff; border-radius: 16px; border: 1px solid var(--line); padding: 11px 12px; box-shadow: 0 1px 2px rgba(61, 35, 66, .05); }
.ps-meal { display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 700; letter-spacing: .02em; color: var(--muted); }
.ps-meal .t { color: var(--aqua-ink); background: var(--aqua-soft); padding: 2px 7px; border-radius: 99px; font-weight: 600; }
.ps-dish { font: 500 1.02rem/1.2 var(--serif); color: var(--berry-dark); margin: 5px 0 7px; letter-spacing: -.01em; }
.ps-tags { display: flex; gap: 5px; flex-wrap: wrap; }
.ps-tag { font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 99px; }
.ps-tag.red { background: var(--red-soft); color: var(--red-ink); }
.ps-tag.tea { background: var(--tea); color: var(--tea-ink); }
.ps-serve { margin-top: 9px; border-top: 1px dashed var(--line); padding-top: 8px; display: grid; gap: 6px; }
.ps-serve-row { display: grid; grid-template-columns: 22px 1fr auto; gap: 8px; align-items: center; font-size: 12px; }
.ps-serve-row .a { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.ps-serve-row b { font-weight: 700; color: var(--berry-dark); }
.ps-serve-row .bar { height: 5px; border-radius: 4px; background: var(--berry-soft); margin-top: 3px; overflow: hidden; }
.ps-serve-row .bar i { display: block; height: 100%; border-radius: 4px; background: var(--red); }
.ps-mini { display: flex; align-items: center; gap: 10px; }
.ps-mini .dot { width: 34px; height: 34px; border-radius: 11px; background: var(--banana); display: grid; place-items: center; color: var(--berry-dark); }
.ps-mini .dot .ico { width: 18px; height: 18px; }
.ps-mini p { font-size: 12px; }
.ps-mini small { display: block; color: var(--muted); font-size: 11px; }
.ps-check { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; background: var(--aqua); display: grid; place-items: center; color: var(--berry-dark); }
.ps-check .ico { width: 13px; height: 13px; stroke-width: 3; }
.ps-tabbar { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); background: #fff; padding: 7px 6px 14px; }
.ps-tabbar span { display: grid; justify-items: center; gap: 2px; font-size: 11px; font-weight: 600; color: var(--muted); }
.ps-tabbar span.on { color: var(--red-ink); }
.ps-tabbar .ico { width: 18px; height: 18px; }
.av1 { background: var(--aqua); color: var(--berry-dark); }
.av2 { background: var(--banana); color: var(--berry-dark); }
.av3 { background: var(--berry); color: #fff; }

/* Notita flotante sobre el teléfono */
.float-note {
  position: absolute; z-index: 2; background: #fff; border-radius: 14px; box-shadow: var(--shadow);
  padding: .6rem .85rem; font-size: .8125rem; line-height: 1.3; display: flex; gap: .55rem; align-items: center;
  width: 212px;
}
.float-note b { display: block; color: var(--berry-dark); font-size: .875rem; }
.float-note .ico { color: var(--red-ink); width: 22px; height: 22px; }
.float-note.n1 { right: calc(50% + 159px - 28px); top: 30%; }
.float-note.n2 { left: calc(50% + 159px - 28px); bottom: 16%; }
@media (max-width: 699.98px) { .float-note { display: none; } }
@media (min-width: 1024px) and (max-width: 1299.98px) { .float-note.n2 { display: none; } }

/* ---------- Cómo funciona ---------- */
.how { background: var(--surface); border-block: 1px solid var(--line); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.25rem; counter-reset: step; }
.step { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 0 1rem; counter-increment: step; }
.step::before {
  content: counter(step); grid-row: span 2;
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  font: 500 1.5rem/1 var(--serif); color: var(--berry-dark); background: var(--c, var(--aqua));
}
.step:nth-child(1) { --c: var(--aqua); }
.step:nth-child(2) { --c: var(--banana); }
.step:nth-child(3) { --c: var(--tea); }
.step:nth-child(4) { --c: var(--red-soft); }
.step h3 { font-size: 1.375rem; margin-top: .6rem; }
.step p { color: var(--muted); margin-top: .45rem; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 2.75rem 2.5rem; } }
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
  .step { grid-template-columns: 1fr; }
  .step::before { grid-row: auto; margin-bottom: 1.1rem; }
  .step:not(:last-child)::after {
    content: ""; position: absolute; top: 26px; left: 68px; right: -1.25rem; height: 2px;
    background: repeating-linear-gradient(90deg, rgba(88, 53, 94, .25) 0 6px, transparent 6px 12px);
  }
  .step h3 { margin-top: 0; }
}

/* ---------- Funciones ---------- */
.feature-hero { display: grid; gap: 1.25rem; }
.feat {
  border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.5rem);
  display: grid; gap: 1.75rem; align-items: center; grid-template-columns: minmax(0, 1fr);
}
.feat h3 { font-size: clamp(1.625rem, 3.4vw, 2.25rem); }
.feat p { margin-top: .8rem; color: var(--text); max-width: 34rem; }
.feat .aside { margin-top: 1rem; font-size: .9375rem; color: var(--muted); }
.feat-portions { background: var(--banana-soft); }
.feat-diets { background: var(--aqua-soft); }
@media (min-width: 768px) { .feat { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
@media (min-width: 1024px) { .feat { padding: 3rem; gap: 3rem; } .feat-diets { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } .feat-diets .viz { order: -1; } }

/* Visual: la misma olla, distinta porción */
.bowls { display: flex; align-items: flex-end; justify-content: center; gap: clamp(.75rem, 3vw, 1.5rem); padding: 1rem 0 .25rem; }
.bowl { display: grid; justify-items: center; gap: .55rem; text-align: center; }
.bowl-shape {
  width: calc(var(--w) * var(--k, 1)); aspect-ratio: 2 / 1; border-radius: 0 0 999px 999px; position: relative;
  background: var(--berry); box-shadow: inset 0 -6px 0 rgba(0, 0, 0, .12);
}
.bowl-shape::before {
  content: ""; position: absolute; left: 8%; right: 8%; top: -18%; height: 42%; border-radius: 50%;
  background: radial-gradient(circle at 30% 45%, #F2A541 0 12%, transparent 13%), radial-gradient(circle at 62% 40%, #7FB24A 0 10%, transparent 11%), radial-gradient(circle at 48% 58%, #E86A3E 0 9%, transparent 10%), #E9B872;
}
@media (max-width: 419.98px) { .bowls { --k: .8; } }
@media (min-width: 1024px) { .bowls { --k: 1.3; } }
.bowl b { font-size: 1rem; color: var(--berry-dark); }
.bowl small { font-size: .8125rem; color: var(--muted); display: block; margin-top: -.35rem; }

/* Visual: un plato, versiones por dieta */
.versions { background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 1.25rem; display: grid; gap: .9rem; }
.versions .dish { font: 500 1.375rem/1.15 var(--serif); color: var(--berry-dark); }
.versions .dish small { display: block; font: 500 .8125rem/1.3 var(--sans); color: var(--muted); margin-bottom: .25rem; letter-spacing: .01em; }
.version { display: flex; align-items: center; gap: .75rem; padding: .7rem .8rem; border-radius: 12px; background: var(--bg); }
.version .who { display: flex; margin-left: auto; }
.version .who span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .6875rem; font-weight: 700; border: 2px solid var(--bg); margin-left: -6px; }
.version .lbl { font-weight: 600; color: var(--berry-dark); font-size: .9375rem; }
.version .lbl small { display: block; font-weight: 500; color: var(--muted); font-size: .8125rem; }
.version .sw { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.nocome { font-size: .875rem; color: var(--muted); line-height: 1.9; }
.nocome .pill { background: var(--red-soft); color: var(--red-ink); font-weight: 600; padding: .15rem .6rem; border-radius: 99px; }

/* Resto de funciones: lista editorial */
.feat-list { list-style: none; margin: clamp(3rem, 6vw, 4.5rem) 0 0; padding: 0; display: grid; gap: 0; }
.feat-list li { display: grid; grid-template-columns: 44px 1fr; gap: .25rem 1rem; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.feat-list .i { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--berry-soft); color: var(--berry); grid-row: span 2; }
.feat-list .i .ico { width: 22px; height: 22px; }
.feat-list h3 { font-size: 1.25rem; align-self: start; padding-top: .5rem; }
.feat-list p { color: var(--muted); grid-column: 2; margin-top: .3rem; }
@media (min-width: 768px) {
  .feat-list { grid-template-columns: repeat(2, 1fr); column-gap: 2.5rem; }
}
@media (min-width: 1024px) {
  .feat-list { grid-template-columns: repeat(3, 1fr); column-gap: 3rem; }
}

/* ---------- Sazón ---------- */
.sazon { background: var(--berry-dark); color: #F4EEF5; position: relative; overflow: hidden; }
.sazon::before { content: ""; position: absolute; width: 520px; aspect-ratio: 1; border-radius: 50%; background: var(--berry); right: -180px; top: -200px; opacity: .8; }
.sazon .wrap { position: relative; }
.sazon-grid { display: grid; gap: 3rem; align-items: center; }
.sazon h2 { color: #fff; font-size: clamp(2rem, 5.2vw, 3.25rem); }
.sazon h2 em { color: var(--aqua); font-style: italic; }
.sazon .lead { margin-top: 1.1rem; font-size: clamp(1.0625rem, 1.6vw, 1.1875rem); color: #E4D9E6; max-width: 36rem; }
.sazon-points { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; gap: .9rem; }
.sazon-points li { display: flex; gap: .75rem; align-items: flex-start; color: #F4EEF5; }
.sazon-points .ico { color: var(--aqua); margin-top: .2rem; }
.chat { display: grid; gap: .75rem; max-width: 460px; justify-self: center; width: 100%; }
.chat-context { font-size: .875rem; color: #D6C8D9; display: flex; align-items: center; gap: .5rem; }
.chat-context b { color: #fff; font-weight: 600; }
.bubble { border-radius: 20px; padding: .9rem 1.1rem; font-size: 1rem; line-height: 1.5; max-width: 88%; }
.bubble.q { background: var(--banana); color: var(--berry-dark); justify-self: end; border-bottom-right-radius: 6px; }
.bubble.a { background: #fff; color: var(--text); border-bottom-left-radius: 6px; }
.bubble.a .from { display: flex; align-items: center; gap: .45rem; font-weight: 700; color: var(--berry); font-size: .875rem; margin-bottom: .35rem; }
.sazon-dot { width: 20px; height: 20px; border-radius: 50%; background: linear-gradient(135deg, var(--red) 0 50%, var(--aqua) 50%); }
@media (min-width: 1024px) { .sazon-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }

/* ---------- Para quién ---------- */
.audience { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.audience li { padding: 1.6rem 0; border-top: 1px solid var(--line); display: grid; gap: .5rem; }
.audience li:last-child { border-bottom: 1px solid var(--line); }
.audience h3 { font-size: clamp(1.5rem, 3.4vw, 2rem); display: flex; align-items: center; gap: .8rem; }
.audience h3 .people { display: flex; }
.audience h3 .people span { width: 16px; height: 16px; border-radius: 50%; margin-left: -4px; border: 2px solid var(--bg); }
.audience h3 .people span:first-child { margin-left: 0; }
.audience p { color: var(--muted); max-width: 40rem; }
@media (min-width: 768px) {
  .audience li { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 2rem; align-items: baseline; }
}

/* ---------- Precios ---------- */
.pricing { background: var(--surface); border-block: 1px solid var(--line); }
.pricing-top { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: flex-end; justify-content: space-between; margin-bottom: 2.25rem; }
.pricing-top .section-head { margin-bottom: 0; }
.currency { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--berry-soft); gap: 2px; }
.currency button {
  min-height: 44px; min-width: 92px; padding: .5rem 1rem; border: 0; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--berry-dark); font: 600 .9375rem/1.1 var(--sans);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.currency button small { display: block; font-weight: 500; font-size: .75rem; color: var(--muted); }
.currency button[aria-pressed="true"] { background: var(--berry-dark); color: #fff; box-shadow: 0 2px 8px rgba(61, 35, 66, .25); }
.currency button[aria-pressed="true"] small { color: #E4D9E6; }
.plans { display: grid; gap: 1.25rem; }
.pricing-body { display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .plans { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
@media (min-width: 1024px) { .pricing-body { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 3rem; align-items: start; } }
.plan {
  position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem 1.5rem; display: flex; flex-direction: column;
}
.plan.is-recommended { background: #fff; border: 2px solid var(--berry-dark); box-shadow: var(--shadow); }
.plan-badge {
  position: absolute; top: -13px; left: 1.5rem; background: var(--banana); color: var(--berry-dark);
  font-size: .8125rem; font-weight: 700; padding: .25rem .75rem; border-radius: 99px;
}
.plan-name { font-size: 1.875rem; }
.plan-audience { color: var(--muted); margin-top: .4rem; font-size: 1rem; min-height: 3.2em; }
.plan-price { margin-top: 1.25rem; display: flex; align-items: baseline; flex-wrap: wrap; gap: .4rem; }
.plan-price .amount { font: 500 clamp(2.5rem, 7vw, 3rem)/1 var(--serif); color: var(--berry-dark); letter-spacing: -.03em; font-variant-numeric: tabular-nums lining-nums; }
.plan-price .per { color: var(--muted); font-weight: 500; }
.plan-trial { margin-top: .45rem; font-size: .9375rem; font-weight: 600; color: var(--aqua-ink); }
.plan-list { list-style: none; margin: 1.5rem 0 1.75rem; padding: 0; display: grid; gap: .65rem; flex: 1; }
.plan-list li { display: flex; gap: .6rem; align-items: flex-start; font-size: 1rem; }
.plan-list .ico { color: var(--aqua-ink); margin-top: .15rem; stroke-width: 2.5; }
.pricing-notes { display: grid; gap: .75rem; color: var(--muted); font-size: .9375rem; align-content: start; }
.pricing-notes h3 { font-size: 1.375rem; }
.incl { list-style: none; margin: 0 0 .75rem; padding: 0 0 1.25rem; display: grid; gap: .5rem; border-bottom: 1px solid var(--line); color: var(--text); font-size: 1rem; }
.incl li { padding-left: 1.4rem; position: relative; }
.incl li::before { content: ""; position: absolute; left: 0; top: .5em; width: 9px; height: 9px; border-radius: 50%; background: var(--aqua); }
.pricing-notes p { display: flex; gap: .55rem; align-items: flex-start; }
.pricing-notes .ico { color: var(--berry); margin-top: .2rem; }
.draft-note { background: var(--banana-soft); border: 1px dashed #D8C84A; color: #5A4F00; border-radius: 12px; padding: .75rem 1rem; }
.draft-note .ico { color: #5A4F00 !important; }

/* ---------- Testimonios (placeholder) ---------- */
.testimonials[hidden] { display: none; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 4rem; } .faq-grid .section-head { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; } }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 0; min-height: 56px;
  font: 500 clamp(1.125rem, 2.2vw, 1.3125rem)/1.3 var(--serif); color: var(--berry-dark); letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--red-ink); }
.faq summary .pm { width: 32px; height: 32px; border-radius: 50%; background: var(--berry-soft); display: grid; place-items: center; flex-shrink: 0; transition: transform .3s var(--ease), background-color .2s; }
.faq summary .pm .ico { width: 16px; height: 16px; stroke-width: 2.5; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--banana); }
.faq .answer { padding: 0 0 1.4rem; color: var(--text); max-width: 42rem; display: grid; gap: .75rem; }
.faq .answer p { color: var(--muted); }

/* ---------- CTA final ---------- */
.cta-final { padding: 0 0 clamp(4rem, 9vw, 7rem); }
.cta-panel {
  position: relative; overflow: hidden; border-radius: 28px; background: var(--red-ink); color: #fff;
  padding: clamp(2.5rem, 7vw, 5rem) clamp(1.5rem, 5vw, 4rem); display: grid; gap: 1.5rem;
}
.cta-panel::before, .cta-panel::after { content: ""; position: absolute; border-radius: 50%; }
.cta-panel::before { width: 320px; aspect-ratio: 1; background: var(--aqua); right: -90px; top: -150px; }
.cta-panel::after { width: 300px; aspect-ratio: 1; background: var(--banana); right: 150px; bottom: -220px; }
@media (max-width: 767.98px) { .cta-panel::before { width: 180px; right: -90px; top: -100px; } .cta-panel::after { width: 200px; right: -80px; bottom: -150px; } }
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel h2 { color: #fff; font-size: clamp(2.1rem, 6vw, 3.75rem); max-width: 16ch; font-variation-settings: "SOFT" 100, "WONK" 1; }
.cta-panel p { font-size: 1.125rem; max-width: 34rem; color: #FFE9EE; }
.cta-panel .btn-light { justify-self: start; }
@media (max-width: 479.98px) { .cta-panel .btn-light { justify-self: stretch; } }

/* ---------- Contacto ---------- */
.contact { padding: 0 0 clamp(4rem, 8vw, 6rem); }
.contact-grid { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: .8fr 1.2fr; gap: 4rem; } }
.contact .section-head { margin-bottom: 0; }
.form { display: grid; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); }
.form-row { display: grid; gap: 1rem; }
@media (min-width: 768px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 600; color: var(--berry-dark); font-size: .9375rem; }
.field input, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--text); background: var(--bg);
  border: 1.5px solid #D9CEDB; border-radius: 12px; padding: .75rem .9rem; min-height: 48px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red-ink); box-shadow: 0 0 0 3px rgba(199, 6, 56, .15); background: #fff; }
.field input::placeholder, .field textarea::placeholder { color: #7B6B80; }
.form-foot { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.form-foot small { color: var(--muted); font-size: .875rem; max-width: 26rem; }
#contact-status { font-size: .9375rem; color: var(--berry-dark); }
#contact-status:not(:empty) { background: var(--aqua-soft); border-radius: 12px; padding: .75rem 1rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--berry-dark); color: #E4D9E6; padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; font-size: .9375rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--banana); text-decoration: underline; }
.site-footer .brand, .site-footer .brand:hover { color: #fff; text-decoration: none; }
.footer-grid { display: grid; gap: 2.25rem; }
.footer-grid p { margin-top: .9rem; max-width: 22rem; }
.footer-grid h2 { font: 700 .8125rem/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: #CDBCD1; margin-bottom: .8rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .2rem; }
.footer-grid li a { display: inline-block; padding: .35rem 0; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between; font-size: .875rem; color: #CDBCD1; }

/* ---------- Páginas legales ---------- */
.legal-hero { padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: 1.5rem; }
.legal-hero h1 { font-size: clamp(2.25rem, 6vw, 3.5rem); }
.legal-hero .meta { margin-top: .9rem; color: var(--muted); }
.draft-banner {
  margin-top: 1.5rem; display: flex; gap: .75rem; align-items: flex-start;
  background: var(--banana); color: var(--berry-dark); border-radius: 14px; padding: 1rem 1.15rem; font-size: 1rem;
}
.draft-banner strong { display: block; font-size: 1.0625rem; }
.draft-banner .ico { width: 24px; height: 24px; margin-top: .1rem; }
.legal-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; padding-bottom: clamp(4rem, 8vw, 6rem); }
@media (min-width: 1024px) { .legal-layout { grid-template-columns: 260px minmax(0, 1fr); gap: 4rem; } .toc { position: sticky; top: calc(var(--header-h) + 1.5rem); align-self: start; } }
.toc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.1rem 1.25rem; font-size: .9375rem; }
.toc h2 { font: 700 .8125rem/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; }
.toc ol { margin: 0; padding-left: 1.2rem; display: grid; gap: .25rem; }
.toc a { color: var(--text); text-decoration: none; display: inline-block; padding: .15rem 0; }
.toc a:hover { color: var(--red-ink); text-decoration: underline; }
.legal { max-width: 46rem; }
.legal section + section { margin-top: 2.5rem; }
.legal h2 { font-size: clamp(1.5rem, 3vw, 1.875rem); margin-bottom: .9rem; }
.legal h3 { font: 600 1.0625rem/1.4 var(--sans); color: var(--berry-dark); margin: 1.25rem 0 .4rem; letter-spacing: 0; }
.legal p, .legal li { color: var(--text); }
.legal p + p { margin-top: .8rem; }
.legal ul, .legal ol { padding-left: 1.3rem; margin: .7rem 0 0; display: grid; gap: .45rem; }
.legal .todo { background: var(--banana-soft); border-radius: 6px; padding: 0 .3rem; color: #5A4F00; font-weight: 600; }
.legal table { width: 100%; border-collapse: collapse; margin-top: .9rem; font-size: .9375rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: .65rem .6rem; border-bottom: 1px solid var(--line); }
.legal th { color: var(--berry-dark); font-weight: 700; background: var(--berry-soft); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------- Movimiento ---------- */
@media (prefers-reduced-motion: no-preference) {
  .phone { animation: rise 1.1s var(--ease) both; }
  .float-note.n1 { animation: rise 1.1s .25s var(--ease) both; }
  .float-note.n2 { animation: rise 1.1s .4s var(--ease) both; }
  @keyframes rise { from { transform: translateY(18px); filter: blur(3px); } to { transform: none; filter: none; } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}


/* ==========================================================================
   Adiciones de la versión dinámica (Laravel)
   ========================================================================== */

/* ---------- Vista previa del backoffice ---------- */
.preview-bar {
  position: relative; z-index: 60; display: flex; gap: .55rem; align-items: center; justify-content: center;
  background: var(--banana); color: var(--berry-dark); font-size: .9375rem; padding: .6rem var(--gutter); text-align: left;
}
.preview-bar .ico { flex-shrink: 0; }

/* ---------- Pasos: 3, 5 o 6 en escritorio ---------- */
.step:nth-child(5) { --c: var(--berry-soft); }
.step:nth-child(6) { --c: var(--banana-soft); }
@media (min-width: 1024px) {
  .steps[data-count="3"], .steps[data-count="5"], .steps[data-count="6"] { grid-template-columns: repeat(3, 1fr); }
  .steps[data-count="2"] { grid-template-columns: repeat(2, 1fr); }
  .steps[data-count="5"] .step:nth-child(3)::after, .steps[data-count="6"] .step:nth-child(3)::after { display: none; }
}

/* ---------- Precios desde el backoffice ---------- */
.plan-desc { margin-top: .35rem; font-weight: 600; color: var(--berry-dark); font-size: 1rem; }
.plan-desc + .plan-audience { margin-top: .25rem; }
.plan-price .cur { display: contents; }
.plan-price .cur[hidden], #pay-note .cur[hidden] { display: none; }
.plans-empty { color: var(--muted); background: var(--bg); border: 1px dashed var(--line); border-radius: var(--radius); padding: 1.5rem; }

/* ---------- Testimonios (solo con autorización) ---------- */
.testi-grid { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .testi-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
@media (min-width: 1024px) { .testi-grid { grid-template-columns: repeat(3, 1fr); } }
.testi { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; display: grid; gap: 1rem; align-content: space-between; }
.testi p { font: 400 1.1875rem/1.45 var(--serif); color: var(--berry-dark); letter-spacing: -.01em; }
.testi p::before { content: "“"; } .testi p::after { content: "”"; }
.testi footer { color: var(--muted); font-size: .9375rem; font-weight: 600; }

/* ---------- Formulario de contacto ---------- */
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.field select {
  width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--text); background-color: var(--bg);
  border: 1.5px solid #D9CEDB; border-radius: 12px; padding: .75rem 2.5rem .75rem .9rem; min-height: 48px;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233D2342' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .8rem center; background-size: 18px;
}
.field select:focus { outline: none; border-color: var(--red-ink); box-shadow: 0 0 0 3px rgba(199, 6, 56, .15); background-color: #fff; }
.field [aria-invalid="true"] { border-color: var(--red-ink); }
.field-error { color: var(--red-ink); font-size: .875rem; font-weight: 600; }
.field-error[hidden] { display: none; }
.field-check { grid-template-columns: 24px 1fr; align-items: start; gap: .25rem .65rem; }
.field-check input { width: 22px; height: 22px; margin: .15rem 0 0; accent-color: var(--red-ink); }
.field-check label { font-weight: 500; color: var(--text); font-size: .9375rem; line-height: 1.5; }
.field-check .field-error { grid-column: 2; }
#contact-status.is-error { background: var(--red-soft); color: var(--red-ink); border-radius: 12px; padding: .75rem 1rem; }
.form.is-sending button[type="submit"] { opacity: .7; pointer-events: none; }

/* ---------- Hilo de contacto (enlace seguro) ---------- */
.thread-layout { display: grid; gap: 2rem; padding-bottom: clamp(4rem, 8vw, 6rem); max-width: 52rem; }
.thread { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.msg { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.15rem; }
.msg.is-team { background: var(--aqua-soft); border-color: transparent; }
.msg-from { font-size: .875rem; font-weight: 700; color: var(--berry); margin-bottom: .35rem; }
.msg-from time { font-weight: 500; color: var(--muted); }
.msg-body { overflow-wrap: anywhere; }
.thread-reply h2 { font-size: clamp(1.5rem, 3vw, 1.875rem); margin-bottom: 1rem; }
.thread-closed { background: var(--banana-soft); border-radius: 12px; padding: 1rem 1.15rem; }

/* ---------- Próximamente, errores y sitio apagado ---------- */
.soon { min-height: 100vh; min-height: 100dvh; display: grid; align-items: center; padding: 3rem 0; }
.soon .wrap { max-width: 44rem; display: grid; gap: 1.25rem; justify-items: start; }
.soon h1 { font-size: clamp(2.25rem, 7vw, 3.75rem); margin-top: 1.5rem; }
.soon h1 em { font-style: italic; color: var(--red-ink); font-weight: 450; }
.soon p { color: var(--muted); font-size: 1.125rem; }
