/* BG Technology Solutions — estilos compartidos del sitio (portada + páginas de producto).
   Las páginas legales (privacidad, términos, eliminación) siguen usando ../style.css. */

:root {
  --grafito: #0b1626;
  --grafito-2: #122238;
  --grafito-3: #1b2f4a;
  --turquesa: #2bd4b4;
  --turquesa-600: #1fb89b;
  --turquesa-50: #e6faf6;

  --ink: #0b1626;
  --ink-soft: #46566b;
  --ink-faint: #7d8b9c;
  --paper: #f4f7f9;
  --white: #ffffff;
  --line: #e1e7ee;
  --line-dark: rgba(255, 255, 255, 0.1);

  /* Acento de cada página. La portada usa el de la marca; cada producto lo redefine. */
  --acc: var(--turquesa);
  --acc-ink: var(--grafito);
  --acc-soft: var(--turquesa-50);
  --hero: var(--grafito);
  --hero-2: var(--grafito-2);

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(11, 22, 38, 0.06), 0 12px 32px -12px rgba(11, 22, 38, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, 0.45);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

body.p-finanzas {
  --acc: #22b35a;
  --acc-ink: #ffffff;
  --acc-soft: #e3f6ea;
  --hero: #0d2340;
  --hero-2: #123058;
}
body.p-dailykcal {
  --acc: #e86a2a;
  --acc-ink: #ffffff;
  --acc-soft: #fdeee4;
  --hero: #12221d;
  --hero-2: #1b3329;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font: inherit; font-weight: 700; font-size: 1rem;
  padding: 0.85em 1.4em; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--acc); outline-offset: 3px; }
.btn-acc { background: var(--acc); color: var(--acc-ink); }
.btn-acc:hover { filter: brightness(1.06); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.28); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); }
.btn-dark { background: var(--grafito); color: var(--white); }
.btn-line { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn-line:hover { border-color: var(--ink); }
.btn .arrow { transition: transform 0.15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--acc); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-soft); max-width: 62ch; }

/* ---------- Encabezado y menú ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 22, 38, 0.86);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line-dark);
  color: var(--white);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.08rem; letter-spacing: -0.01em; }
.logo img { width: 34px; height: 34px; border-radius: 9px; }
.logo span { color: var(--turquesa); font-weight: 600; }
.logo { white-space: nowrap; flex-shrink: 0; }
.nav > a, .nav-drop > button { white-space: nowrap; }
@media (min-width: 1001px) and (max-width: 1060px) { .header-inner { gap: 12px; } .nav > a, .nav-drop > button { padding: 10px 9px; } }
@media (max-width: 400px) { .logo { font-size: 0.9rem; } }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav > a, .nav-drop > button {
  font: inherit; font-size: 0.95rem; font-weight: 600; color: rgba(255, 255, 255, 0.82);
  background: none; border: 0; padding: 10px 14px; border-radius: 10px; cursor: pointer;
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
}
.nav > a:hover, .nav-drop > button:hover, .nav-drop.open > button { color: var(--white); background: rgba(255, 255, 255, 0.07); }
.nav > a[aria-current="page"] { color: var(--white); }
.nav > a.btn { margin-left: 8px; padding: 0.6em 1.15em; font-size: 0.92rem; color: var(--acc-ink); background: var(--acc); border-radius: 999px; }
.nav > a.btn:hover { background: var(--acc); filter: brightness(1.06); }
.chev { width: 10px; height: 10px; transition: transform 0.2s ease; }
.nav-drop.open .chev { transform: rotate(180deg); }

.nav-drop { position: relative; }
.drop-panel {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px);
  width: 360px; padding: 10px; border-radius: var(--radius);
  background: var(--white); color: var(--ink); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}
.nav-drop.open .drop-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.drop-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); padding: 8px 12px 4px; }
.drop-item { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: var(--radius-sm); text-decoration: none; }
.drop-item:hover, .drop-item:focus-visible { background: var(--paper); outline: none; }
.drop-item img, .drop-item .ico { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.drop-item strong { display: block; font-size: 0.95rem; }
.drop-item small { display: block; color: var(--ink-soft); font-size: 0.83rem; line-height: 1.35; }

.menu-btn { display: none; margin-left: auto; background: none; border: 0; color: var(--white); padding: 8px; cursor: pointer; border-radius: 10px; }
.menu-btn svg { width: 26px; height: 26px; }

@media (max-width: 1000px) {
  .menu-btn { display: inline-flex; }
  .nav {
    position: fixed; inset: 68px 0 auto 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px 16px 20px; background: var(--grafito);
    border-bottom: 1px solid var(--line-dark);
    max-height: calc(100vh - 68px); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  }
  .site-header.menu-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav > a, .nav-drop > button { width: 100%; justify-content: space-between; padding: 14px 12px; font-size: 1.02rem; }
  .nav > a.btn { margin: 10px 0 0; justify-content: center; padding: 0.9em; }
  .drop-panel {
    position: static; transform: none; width: auto; box-shadow: none;
    background: rgba(255, 255, 255, 0.05); color: var(--white);
    opacity: 1; visibility: visible; display: none; margin: 4px 0 8px;
  }
  .nav-drop.open .drop-panel { display: block; transform: none; }
  .drop-item:hover, .drop-item:focus-visible { background: rgba(255, 255, 255, 0.07); }
  .drop-item small { color: rgba(255, 255, 255, 0.62); }
  .drop-label { color: rgba(255, 255, 255, 0.45); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(900px 500px at 85% 10%, color-mix(in srgb, var(--acc) 22%, transparent), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, color-mix(in srgb, var(--acc) 10%, transparent), transparent 60%),
    linear-gradient(180deg, var(--hero) 0%, var(--hero-2) 100%);
  padding: 88px 0 104px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 0.4em; }
.hero h1 em { font-style: normal; color: var(--acc); }
.hero .lead { color: rgba(255, 255, 255, 0.76); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-note { margin-top: 22px; font-size: 0.9rem; color: rgba(255, 255, 255, 0.55); display: flex; flex-wrap: wrap; gap: 8px 18px; }
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.hero-note span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--acc); }
.product-badge { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.product-badge img { width: 52px; height: 52px; border-radius: 14px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); }
.product-badge span { font-weight: 700; color: rgba(255, 255, 255, 0.85); }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 0.75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); color: var(--white); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3ee08f; box-shadow: 0 0 0 3px rgba(62, 224, 143, 0.25); }

@media (max-width: 900px) {
  .hero { padding: 56px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ---------- Composición del hero de la portada ---------- */
.stage { position: relative; min-height: 540px; }
.float { position: absolute; background: var(--white); color: var(--ink); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 18px; }
.float-chat { top: 0; right: 4%; width: 78%; max-width: 380px; }
.float-fin { bottom: 0; left: 0; width: 58%; max-width: 270px; }
.float-kcal { bottom: 36px; right: 0; width: 44%; max-width: 210px; text-align: center; }
.float-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 0.85rem; font-weight: 700; }
.float-head img { width: 28px; height: 28px; border-radius: 8px; }
.float-head .dot { width: 28px; height: 28px; border-radius: 8px; background: var(--grafito); display: grid; place-items: center; }
.float-head small { display: block; font-weight: 500; color: var(--ink-faint); font-size: 0.75rem; }
@media (prefers-reduced-motion: no-preference) {
  .float { animation: bob 7s ease-in-out infinite; }
  .float-fin { animation-delay: -2.3s; }
  .float-kcal { animation-delay: -4.6s; }
}
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 520px) {
  .stage { min-height: 520px; }
  .float-chat { width: 100%; right: 0; }
  .float-fin { width: 60%; bottom: 40px; }
  .float-kcal { width: 46%; }
}

/* Burbujas de chat */
.chat { display: flex; flex-direction: column; gap: 8px; font-size: 0.9rem; line-height: 1.4; }
.msg { max-width: 86%; padding: 9px 13px; border-radius: 16px; }
.msg.in { background: var(--paper); align-self: flex-start; border-bottom-left-radius: 5px; }
.msg.out { background: var(--turquesa-50); align-self: flex-end; border-bottom-right-radius: 5px; }
.msg .time { display: block; font-size: 0.68rem; color: var(--ink-faint); text-align: right; margin-top: 2px; }
.msg.bot { background: var(--grafito); color: var(--white); align-self: flex-end; border-bottom-right-radius: 5px; }
.msg.bot .time { color: rgba(255, 255, 255, 0.5); }
.typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-faint); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: 0.2s; }
.typing i:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink { 0%, 80%, 100% { opacity: 0.25; } 40% { opacity: 1; } }

/* Mini tarjeta de finanzas */
.mini-label { font-size: 0.75rem; color: var(--ink-faint); font-weight: 600; }
.mini-amount { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; margin: 2px 0 10px; }
.bar { height: 8px; border-radius: 99px; background: var(--paper); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 99px; background: #22b35a; }
.mini-row { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--ink-soft); margin-top: 8px; }

/* Anillo de calorías */
.ring { --p: 68; width: 118px; height: 118px; margin: 4px auto 6px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(#e86a2a calc(var(--p) * 1%), #eaf0ed 0); }
.ring > div { width: 92px; height: 92px; border-radius: 50%; background: var(--white); display: grid; place-content: center; }
.ring strong { font-size: 1.35rem; font-weight: 800; line-height: 1; }
.ring small { font-size: 0.7rem; color: var(--ink-faint); }

/* ---------- Secciones ---------- */
.section { padding: 104px 0; }
.section-paper { background: var(--paper); }
.section-dark { background: var(--grafito); color: var(--white); }
.section-dark .lead { color: rgba(255, 255, 255, 0.72); }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
@media (max-width: 700px) { .section { padding: 72px 0; } .section-head { margin-bottom: 40px; } }

/* ---------- Productos (portada) ---------- */
.lineas { display: grid; gap: 64px; }
.linea-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.linea-head h3 { font-size: 1.5rem; margin: 0; }
.linea-head p { margin: 0; color: var(--ink-soft); }

.pcard {
  --c: var(--turquesa); --c-dark: var(--grafito);
  position: relative; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow);
  text-decoration: none; color: inherit; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pcard:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(11, 22, 38, 0.06), 0 30px 60px -24px rgba(11, 22, 38, 0.3); }
.pcard:focus-visible { outline: 3px solid var(--c); outline-offset: 4px; }
.pcard-body { padding: 40px; display: flex; flex-direction: column; }
.pcard-top { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.pcard-top img, .pcard-top .ico { width: 56px; height: 56px; border-radius: 15px; flex: none; }
.pcard-top strong { display: block; font-size: 1.35rem; letter-spacing: -0.01em; }
.pcard-top small { color: var(--ink-faint); font-weight: 600; }
.pcard h4 { font-size: 1.4rem; margin-bottom: 0.6em; }
.pcard p { color: var(--ink-soft); }
.checks { list-style: none; padding: 0; margin: 4px 0 28px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: color-mix(in srgb, var(--c) 16%, white)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230b1626' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}
.pcard-link { margin-top: auto; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; color: var(--c-dark); }
.pcard:hover .pcard-link .arrow { transform: translateX(4px); }
.pcard-link .arrow { transition: transform 0.15s ease; }
.pcard-art {
  position: relative; display: grid; place-items: center; padding: 40px 32px; min-height: 340px;
  background:
    radial-gradient(420px 260px at 70% 20%, color-mix(in srgb, var(--c) 35%, transparent), transparent 70%),
    var(--c-dark);
}
.pcard-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pcard-duo .pcard { grid-template-columns: 1fr; }
.pcard-duo .pcard-art { min-height: 260px; order: -1; }
.pcard-duo .pcard-body { padding: 32px; }

.pcard.c-whatsapp { --c: #2bd4b4; --c-dark: #0b1626; }
.pcard.c-finanzas { --c: #22b35a; --c-dark: #0d2340; }
.pcard.c-dailykcal { --c: #e86a2a; --c-dark: #12221d; }
.pcard.c-gmao { --c: #2bd4b4; --c-dark: #0b1626; }
.pcard.c-gmao .pcard-link { color: #0e8f78; }
.pcard.c-whatsapp .pcard-link { color: #0e8f78; }
.pcard.c-finanzas .pcard-link { color: #0f8a3c; }
.pcard.c-dailykcal .pcard-link { color: #cc5a1f; }

@media (max-width: 900px) {
  .pcard { grid-template-columns: 1fr; }
  .pcard-art { order: -1; min-height: 260px; }
  .pcard-duo { grid-template-columns: 1fr; }
  .pcard-body, .pcard-duo .pcard-body { padding: 28px 24px; }
}

/* ---------- Teléfono ---------- */
.phone {
  width: 250px; border-radius: 38px; padding: 10px; background: #05080d;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.08), 0 40px 70px -20px rgba(0, 0, 0, 0.6);
}
.phone-screen { position: relative; border-radius: 30px; overflow: hidden; background: var(--white); color: var(--ink); min-height: 470px; }
.phone-notch { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 84px; height: 22px; border-radius: 12px; background: #05080d; z-index: 2; }
.phone-sm { width: 210px; }
.phone-sm .phone-screen { min-height: 360px; }
.phone-sm .wa-body { min-height: 300px; }
.scr-head { padding: 40px 18px 16px; color: var(--white); }
.scr-head small { display: block; opacity: 0.7; font-size: 0.72rem; }
.scr-head strong { display: block; font-size: 1.7rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.scr-body { padding: 14px 14px 18px; display: grid; gap: 10px; font-size: 0.78rem; }
.scr-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.scr-card b { font-size: 0.72rem; color: var(--ink-faint); font-weight: 700; display: block; margin-bottom: 6px; }
.scr-line { display: flex; justify-content: space-between; align-items: center; padding: 5px 0; }
.scr-line + .scr-line { border-top: 1px solid var(--line); }
.scr-line span:last-child { font-weight: 700; white-space: nowrap; }
.pill { display: inline-block; padding: 3px 9px; border-radius: 99px; font-size: 0.68rem; font-weight: 700; }
.chips-sm { display: flex; flex-wrap: wrap; gap: 6px; }
.chips-sm span { padding: 6px 10px; border-radius: 99px; background: var(--paper); font-weight: 600; font-size: 0.72rem; }
.wa-top { background: #0b1626; color: var(--white); padding: 38px 14px 12px; display: flex; align-items: center; gap: 10px; font-size: 0.8rem; }
.wa-top img { width: 30px; height: 30px; border-radius: 50%; }
.wa-top small { display: block; opacity: 0.6; font-size: 0.68rem; }
.wa-body { padding: 14px 12px; background: #eef2f5; min-height: 420px; }
.wa-body .chat { font-size: 0.78rem; }
.wa-body .msg.in { background: var(--white); }
.wa-body .msg.out { background: #d5f5ee; }

/* ---------- Grillas de características ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.feat { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.section-paper .feat { border-color: transparent; box-shadow: var(--shadow); }
.feat-ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--acc-soft); color: var(--ink); margin-bottom: 18px; }
.feat-ico svg { width: 24px; height: 24px; }
.feat h3 { margin-bottom: 0.4em; }
.feat p { color: var(--ink-soft); margin: 0; }

.section-dark .feat { background: rgba(255, 255, 255, 0.04); border-color: var(--line-dark); }
.section-dark .feat p { color: rgba(255, 255, 255, 0.68); }
.section-dark .feat-ico { background: rgba(43, 212, 180, 0.12); color: var(--turquesa); }

/* Números con fuente */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat { padding: 30px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.stat strong { display: block; font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.03em; color: var(--ink); line-height: 1; margin-bottom: 12px; }
.stat strong em { font-style: normal; color: var(--turquesa-600); }
.stat p { margin: 0; color: var(--ink-soft); }
@media (max-width: 800px) { .stats { grid-template-columns: 1fr; } }

/* Split: texto + visual */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } .split.rev > :first-child { order: 0; } }

/* Pasos */
.steps { counter-reset: s; display: grid; gap: 14px; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; padding: 18px 20px 18px 68px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 16px; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; background: var(--acc); color: var(--acc-ink); }
.steps strong { display: block; }
.steps span { color: var(--ink-soft); font-size: 0.95rem; }

/* Manifiesto (DailyKcal) y promesas */
.promises { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; counter-reset: p; list-style: none; padding: 0; margin: 0; }
.promises li { counter-increment: p; display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-dark); }
.promises li::before { content: counter(p, decimal-leading-zero); font-weight: 800; font-size: 1.05rem; color: var(--acc); min-width: 28px; }
.promises strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.promises span { color: rgba(255, 255, 255, 0.66); font-size: 0.95rem; }
@media (max-width: 760px) { .promises { grid-template-columns: 1fr; } }

/* Chips de rubros */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span { padding: 10px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 600; font-size: 0.95rem; }

/* Precios */
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 860px; }
.price { padding: 32px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.price small { font-weight: 700; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; }
.price strong { display: block; font-size: 1.7rem; font-weight: 800; letter-spacing: -0.02em; margin: 8px 0 10px; }
.price p { margin: 0; color: var(--ink-soft); }
.price-note { color: var(--ink-soft); margin-top: 20px; font-size: 0.95rem; }
@media (max-width: 700px) { .prices { grid-template-columns: 1fr; } }

/* Planes del chatbot */
.planes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; align-items: start; }
.plan { --c: #2bd4b4; position: relative; padding: 30px 28px 8px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.plan-destacado { border: 2px solid var(--ink); }
.plan-etiqueta { position: absolute; top: -13px; left: 26px; background: var(--ink); color: var(--white); font-size: 0.78rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.plan h3 { margin: 0 0 6px; font-size: 1.35rem; }
.plan-para { margin: 0 0 18px; color: var(--ink-soft); min-height: 3em; }
.plan-precio strong { font-size: 2.1rem; font-weight: 800; letter-spacing: -0.02em; }
.plan-precio span { color: var(--ink-soft); margin-left: 4px; }
.plan-lista { margin: 2px 0 18px; color: var(--ink-faint); font-size: 0.92rem; text-decoration: line-through; }
.plan-extras { margin-top: 20px; max-width: none; }
.plan-extras .price p { margin-top: 10px; }
@media (max-width: 900px) { .planes { grid-template-columns: 1fr; max-width: 520px; } .plan-para { min-height: 0; } }

/* Demo embebida */
.demo-wrap { max-width: 460px; margin: 0 auto; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); background: var(--white); }
.demo-frame { width: 100%; height: 640px; border: 0; display: block; }
.demo-alt { text-align: center; margin-top: 24px; color: var(--ink-soft); }

/* Quiénes somos */
.about { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: start; }
.about-story p { font-size: 1.08rem; color: var(--ink-soft); }
.about-story p strong { color: var(--ink); }
.founders { display: grid; gap: 16px; }
.founder { display: flex; gap: 18px; align-items: center; padding: 22px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.avatar { width: 64px; height: 64px; border-radius: 18px; flex: none; display: grid; place-items: center; font-weight: 800; font-size: 1.3rem; color: var(--white); background: linear-gradient(135deg, var(--grafito-3), var(--grafito)); position: relative; }
.avatar::after { content: ""; position: absolute; right: -4px; bottom: -4px; width: 18px; height: 18px; border-radius: 6px; background: var(--turquesa); border: 3px solid var(--white); }
.founder strong { display: block; font-size: 1.1rem; }
.founder span { color: var(--ink-soft); font-size: 0.95rem; }
.bg-name { margin-top: 8px; padding: 22px; border-radius: var(--radius); border: 1px dashed var(--line); color: var(--ink-soft); font-size: 0.95rem; }
.bg-name b { color: var(--ink); }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; gap: 40px; } }

/* Llamado final */
.cta-band { position: relative; overflow: hidden; border-radius: 28px; padding: 64px 56px; color: var(--white);
  background:
    radial-gradient(600px 300px at 90% 0%, color-mix(in srgb, var(--acc) 30%, transparent), transparent 70%),
    var(--hero); }
.cta-band h2 { max-width: 20ch; }
.cta-band p { color: rgba(255, 255, 255, 0.74); max-width: 56ch; font-size: 1.1rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 700px) { .cta-band { padding: 44px 24px; border-radius: 22px; } }

/* Otros productos */
.others { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.other { display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); text-decoration: none; transition: border-color 0.15s ease, transform 0.15s ease; }
.other:hover { border-color: var(--ink); transform: translateY(-2px); }
.other img, .other .ico { width: 48px; height: 48px; border-radius: 13px; flex: none; }
.other strong { display: block; }
.other span { color: var(--ink-soft); font-size: 0.92rem; }
@media (max-width: 700px) { .others { grid-template-columns: 1fr; } }

.ico-bg { display: grid; place-items: center; background: var(--grafito); }
.ico-bg img { width: 100%; height: 100%; border-radius: inherit; }

/* Nota pequeña bajo una sección */
.fine { font-size: 0.85rem; color: var(--ink-faint); margin-top: 18px; }

/* ---------- Pie ---------- */
.site-footer { background: var(--grafito); color: rgba(255, 255, 255, 0.7); padding: 72px 0 36px; font-size: 0.95rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot-grid h4 { color: var(--white); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { color: var(--white); }
.site-footer .logo { color: var(--white); margin-bottom: 14px; }
.foot-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.85rem; color: rgba(255, 255, 255, 0.45); }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Aparición al hacer scroll (solo si hay JS y no se pidió menos movimiento) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
}

/* ---------- Capturas reales dentro de un marco (2026-09-27) ----------
   Regla: las apps se muestran solo con capturas, nunca con enlaces para probarlas. */
.shot-phone { width: 250px; border-radius: 38px; padding: 9px; background: #05080d; flex: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.08), 0 40px 70px -20px rgba(0, 0, 0, 0.55); }
.shot-phone img { width: 100%; height: auto; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; border-radius: 30px; background: var(--white); }
.shot-phone.sm { width: 210px; border-radius: 32px; padding: 8px; }
.shot-phone.sm img { border-radius: 25px; }

.shot-browser { border-radius: 14px; overflow: hidden; background: var(--white);
  box-shadow: 0 0 0 1px rgba(11, 22, 38, 0.08), 0 40px 70px -24px rgba(0, 0, 0, 0.45); }
.shot-browser::before { content: ""; display: block; height: 28px; background:
  radial-gradient(circle at 16px 14px, #f26b5b 5px, transparent 6px),
  radial-gradient(circle at 34px 14px, #f5c04a 5px, transparent 6px),
  radial-gradient(circle at 52px 14px, #4cc26b 5px, transparent 6px), #eef1f4; }
.shot-browser img, .shot-doc img { width: 100%; height: auto; }
.shot-doc { border-radius: 6px; overflow: hidden; background: var(--white); box-shadow: 0 0 0 1px rgba(11, 22, 38, 0.1), 0 30px 60px -24px rgba(0, 0, 0, 0.4); }

/* Composición del hero de la portada con capturas */
.stage-shots { position: relative; min-height: 520px; }
.stage-shots .shot-browser { position: absolute; top: 0; right: 0; width: 92%; }
.stage-shots .shot-phone { position: absolute; }
.stage-shots .p1 { left: 0; bottom: 0; width: 190px; }
.stage-shots .p2 { right: 6%; bottom: -20px; width: 170px; }
.stage-shots .shot-phone img { border-radius: 24px; }
@media (max-width: 520px) {
  .stage-shots { min-height: 430px; }
  .stage-shots .shot-browser { width: 100%; }
  .stage-shots .p1 { width: 150px; }
  .stage-shots .p2 { width: 140px; right: 0; }
}

/* Tarjeta de producto: el teléfono o la pantalla asoma desde abajo */
.pcard-art.peek { height: 320px; min-height: 0; padding: 36px 24px 0; align-items: start; overflow: hidden; }
.pcard-art.peek .shot-browser { width: 100%; max-width: 520px; }

/* Galería de capturas en las páginas de producto */
.gallery { display: flex; gap: 28px; justify-content: center; align-items: flex-start; flex-wrap: wrap; }
.gallery figure { margin: 0; display: grid; justify-items: center; gap: 14px; }
.gallery figcaption { font-size: 0.92rem; color: var(--ink-soft); text-align: center; max-width: 250px; }
.gallery-wide { display: grid; gap: 48px; }
.gallery-wide figure { margin: 0; }
.gallery-wide figcaption { margin-top: 14px; color: var(--ink-soft); }
.gallery-wide figcaption strong { color: var(--ink); display: block; font-size: 1.05rem; }
.gallery-2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: start; }
@media (max-width: 900px) { .gallery-2 { grid-template-columns: 1fr; } }

/* ---------- Área de clientes ---------- */
.hero.hero-sm { padding: 72px 0 64px; }
.hero.hero-sm .eyebrow { color: var(--acc); }
.clientes-nota { margin-top: 28px; text-align: center; color: var(--ink-soft); }
.clientes-nota a { color: #0e8f78; font-weight: 700; }
