/* ANVAR Studio — páginas por rubro (mismo sistema visual que styles.css) */
/* Fuentes de respaldo con las medidas de Onest y Young Serif (medidas en el navegador): mientras llega la
   fuente de Google, el texto ocupa casi lo mismo y al cambiar no empuja el resto de la página (menos CLS). */
@font-face { font-family: "Onest Fallback"; src: local("Arial"), local("ArialMT"), local("Helvetica"), local("Roboto"); font-weight: 100 549; size-adjust: 104%; ascent-override: 93%; descent-override: 30%; line-gap-override: 0%; }
@font-face { font-family: "Onest Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Bold"), local("Roboto Bold"); font-weight: 550 900; size-adjust: 99.4%; ascent-override: 97%; descent-override: 31%; line-gap-override: 0%; }
@font-face { font-family: "Young Serif Fallback"; src: local("Georgia"), local("Noto Serif"); size-adjust: 112.7%; ascent-override: 93%; descent-override: 33%; line-gap-override: 0%; }

:root {
  --bg: #FFFFFF;
  --panel: #F1F2F6;
  --ink: #16163A;
  --ink-2: #55557A;
  --ink-3: #6B6B8C;
  --on-ink-accent: #AEB7FF;
  --line: #E1E3EC;
  --cobalt: #3346F0;
  --cobalt-press: #2B3BD6;
  --cobalt-soft: #E6E9FE;
  --sale: #FFD23F;
  --ok: #1E9E57;
  --ok-ink: #157A42;
  --warn: #B4570A;
  --bad: #C2304A;
  --bubble-in: #FFFFFF;
  --bubble-out: #DAF4E0;
  --wall: #ECEEF4;

  --serif: "Young Serif", "Young Serif Fallback", Georgia, "Times New Roman", serif;
  --sans: "Onest", "Onest Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-panel: 24px;
  --r-btn: 14px;
  --r-field: 12px;

  --sh-1: 0 1px 2px rgba(22, 22, 58, .06), 0 2px 8px -2px rgba(22, 22, 58, .06);
  --sh-2: 0 1px 2px rgba(22, 22, 58, .05), 0 6px 16px -6px rgba(22, 22, 58, .12), 0 18px 40px -18px rgba(22, 22, 58, .18);
  --sh-ficha: 0 0 0 1px rgba(22, 22, 58, .06), 0 2px 4px rgba(22, 22, 58, .06), 0 22px 44px -18px rgba(22, 22, 58, .30), 0 50px 90px -40px rgba(51, 70, 240, .35);

  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 68px;
  --ease-out: cubic-bezier(.22, .8, .32, 1);

  --z-header: 30;
  --z-fab: 20;
  --z-skip: 40;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { margin: 0; text-wrap: balance; font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
.tnum { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }
.section-ink :focus-visible, .plan-featured :focus-visible { outline-color: var(--on-ink-accent); }

.skip {
  position: fixed; left: 16px; top: 12px; z-index: var(--z-skip);
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--r-btn);
  text-decoration: none; font-weight: 600;
  transform: translateY(-160%); transition: transform .2s var(--ease-out);
}
.skip:focus { transform: none; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Botones ---------- */
.btn {
  --bh: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--bh); padding: 0 22px; border-radius: var(--r-btn); border: 0;
  font-family: var(--sans); font-weight: 600; font-size: 16px; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .12s ease;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.btn:active { transform: scale(.97); }
.btn-sm { --bh: 44px; padding: 0 16px; font-size: 15px; }
.btn-lg { --bh: 54px; padding: 0 26px; font-size: 17px; }
.btn-primary { background: var(--cobalt); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 1px 2px rgba(22, 22, 58, .2), 0 6px 16px -8px rgba(51, 70, 240, .7); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(22, 22, 58, .2); }
.btn-light { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .2), 0 8px 20px -10px rgba(0, 0, 0, .5); }
.btn-on-ink { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.btn svg { flex-shrink: 0; }
.btn-tight { gap: 0; }
@media (hover: hover) {
  .btn-primary:hover { background: var(--cobalt-press); }
  .btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
  .btn-light:hover { background: var(--cobalt-soft); }
  .btn-on-ink:hover { box-shadow: inset 0 0 0 1.5px #fff; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header); height: var(--header-h);
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
  box-shadow: 0 1px 0 rgba(22, 22, 58, .07);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; margin-right: auto; }
.brand-mark { flex-shrink: 0; }
.brand-word { white-space: nowrap; font-family: var(--serif); font-size: 21px; letter-spacing: -.01em; line-height: 1; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  text-decoration: none; font-weight: 500; font-size: 15.5px; color: var(--ink-2); border-radius: 10px;
  transition: color .15s ease, background-color .15s ease;
}
@media (hover: hover) { .nav-list a:hover { color: var(--ink); background: var(--panel); } }

/* ---------- Ruta (breadcrumb) ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 0; font-size: 14.5px; color: var(--ink-2); }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: "/"; margin: 0 10px; color: var(--ink-3); opacity: .7; }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 500; color: var(--ink-2); text-underline-offset: 3px; }
.crumbs a:hover { text-decoration: underline; color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(8px, 1.6vw, 20px); padding-bottom: clamp(56px, 8vw, 104px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 452px); gap: clamp(32px, 5vw, 80px); align-items: center; margin-top: clamp(16px, 2.6vw, 36px); }
.hero h1 { font-family: var(--serif); font-size: clamp(2.15rem, 4vw, 3.35rem); line-height: 1.06; letter-spacing: -.01em; }
.hero-sub { margin-top: 22px; font-size: clamp(18px, 1.55vw, 20px); line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.hero-ctas { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; color: var(--ink-2); }
.hero-meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta li::before { content: ""; width: 18px; height: 18px; flex-shrink: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' fill='none' stroke='%231E9E57' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ---------- Ficha de ejemplo (el elemento propio de cada rubro) ---------- */
.ficha-wrap { justify-self: end; width: 100%; max-width: 452px; }
.ficha { background: #fff; border-radius: var(--r-panel); padding: 22px; box-shadow: var(--sh-ficha); }
.ficha-cap { margin-top: 14px; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); text-align: center; text-wrap: balance; }
.ficha-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ficha-title { font-family: var(--serif); font-size: 21px; line-height: 1.15; }
.ficha-sub { font-size: 13.5px; color: var(--ink-2); line-height: 1.35; }
.ficha-k { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); line-height: 1.3; }
.ficha-hr { height: 1px; background: var(--line); margin: 16px 0; border: 0; }
.money { background: var(--sale); color: var(--ink); font-weight: 700; padding: 1px .32em; border-radius: 7px; font-variant-numeric: tabular-nums; letter-spacing: -.01em; white-space: nowrap; }
.fake-btn { display: flex; align-items: center; justify-content: center; min-height: 46px; border-radius: 12px; background: var(--cobalt); color: #fff; font-weight: 600; font-size: 15.5px; }
.fake-btn.is-sale { background: var(--sale); color: var(--ink); font-weight: 700; }
.pill { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 12px; border-radius: 999px; font-size: 13.5px; font-weight: 600; background: var(--panel); color: var(--ink); white-space: nowrap; }
.pill.is-on { background: var(--ink); color: #fff; }
.pill.is-ok { background: #DDF3E6; color: var(--ok-ink); }
.pill.is-warn { background: #FCEBD7; color: #8A4307; }
.pill.is-ok::before, .pill.is-warn::before { content: ""; width: 14px; height: 14px; flex-shrink: 0; background-position: center; background-size: contain; background-repeat: no-repeat; }
.pill.is-ok::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' fill='none' stroke='%23157A42' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.pill.is-warn::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='8.5' fill='none' stroke='%238A4307' stroke-width='2.6'/%3E%3Cpath d='M12 7.5V12l3 2' fill='none' stroke='%238A4307' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E"); }

/* Taller: cotizador por patente */
.plate {
  display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 6px 16px 8px; border-radius: 9px; background: #fff;
  box-shadow: inset 0 0 0 2px var(--ink), 0 1px 2px rgba(22, 22, 58, .15);
}
.plate small { font-size: 9.5px; font-weight: 700; letter-spacing: .14em; color: var(--ink-2); line-height: 1; }
.plate { flex-shrink: 0; }
.plate b { white-space: nowrap; font-size: 27px; font-weight: 700; letter-spacing: .1em; line-height: 1; font-variant-numeric: tabular-nums; }
.q-rows { display: grid; gap: 10px; margin-top: 16px; }
.q-row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding-bottom: 10px; border-bottom: 1px dashed var(--line); font-size: 15.5px; }
.q-row span:first-child { color: var(--ink-2); font-size: 14px; }
.q-row span:last-child { font-weight: 600; text-align: right; }
.q-total { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin: 16px 0 14px; }
.q-total .money { font-size: 26px; padding: 2px .3em; border-radius: 9px; }
.q-note { font-size: 13px; color: var(--ink-2); line-height: 1.4; }

/* Barbería: agenda por barbero */
.agenda { display: grid; grid-template-columns: 50px repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 16px; }
.ag-head { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 13.5px; font-weight: 600; padding-bottom: 4px; }
.ag-ini { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--cobalt-soft); color: var(--cobalt); font-family: var(--serif); font-size: 16px; }
.ag-time { font-size: 13px; font-weight: 600; color: var(--ink-2); display: flex; align-items: center; font-variant-numeric: tabular-nums; }
.ag-cell { min-height: 42px; border-radius: 10px; display: grid; place-items: center; font-size: 12.5px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); text-align: center; line-height: 1.2; padding: 4px; }
.ag-cell.is-taken { background: var(--panel); box-shadow: none; color: var(--ink-3); text-decoration: line-through; text-decoration-color: rgba(22, 22, 58, .3); }
.ag-cell.is-on { background: var(--cobalt); color: #fff; box-shadow: 0 6px 14px -8px rgba(51, 70, 240, .8); }
.ag-foot { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--panel); font-size: 14.5px; }
.ag-foot .money { font-size: 17px; }

/* Clínica dental: evaluación guiada */
.ev-q { font-weight: 600; font-size: 16px; margin-top: 14px; }
.ev-opts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ev-opts .pill { min-height: 36px; padding: 0 14px; font-size: 14px; }
.ev-res { margin-top: 18px; padding: 16px; border-radius: 16px; background: var(--panel); display: grid; gap: 4px; }
.ev-res-t { font-weight: 600; font-size: 16.5px; }
.ev-res-line { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; }
.ev-res .money { font-size: 20px; }
.ev-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.ev-slot { display: grid; place-items: center; min-height: 42px; border-radius: 10px; font-size: 14px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--line); font-variant-numeric: tabular-nums; }
.ev-slot.is-on { background: var(--cobalt); color: #fff; box-shadow: none; }

/* Veterinaria: carnet de vacunas */
.pet { display: flex; align-items: center; gap: 12px; }
.pet-av { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--cobalt-soft); color: var(--cobalt); flex-shrink: 0; }
.vac { display: grid; gap: 2px; margin-top: 14px; }
.vac li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.vac li:last-child { border-bottom: 0; }
.vac-n { font-weight: 600; font-size: 15.5px; line-height: 1.3; }
.vac-d { display: block; font-size: 13px; color: var(--ink-2); font-weight: 400; font-variant-numeric: tabular-nums; }
.bubble { margin-top: 14px; padding: 10px 13px; border-radius: 16px; border-bottom-right-radius: 6px; background: var(--bubble-out); font-size: 14.5px; line-height: 1.45; box-shadow: 0 1px 1px rgba(22, 22, 58, .08); }
.bubble-tag { display: block; font-size: 12px; font-weight: 600; color: #1D7A45; }

/* Servicio técnico: seguimiento de reparación */
.track { margin-top: 18px; display: grid; }
.track li { position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding-bottom: 18px; }
.track li:last-child { padding-bottom: 0; }
.track li::after { content: ""; position: absolute; left: 13px; top: 30px; bottom: 2px; width: 2px; border-radius: 2px; background: var(--line); }
.track li:last-child::after { display: none; }
.track li.is-done::after { background: var(--ok); }
.tk-dot { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 2px var(--line); position: relative; z-index: 1; }
.is-done .tk-dot { background: var(--ok); box-shadow: none; color: #fff; }
.is-now .tk-dot { background: var(--cobalt); box-shadow: 0 0 0 5px rgba(51, 70, 240, .16); }
.is-now .tk-dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.tk-t { font-weight: 600; font-size: 15.5px; line-height: 1.3; padding-top: 3px; }
.is-todo .tk-t { color: var(--ink-3); }
.tk-d { display: block; font-size: 13.5px; color: var(--ink-2); font-weight: 400; margin-top: 2px; line-height: 1.4; }
.tk-pay { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--panel); font-size: 14px; line-height: 1.35; }

/* Gimnasio: horario con clase de prueba */
.days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 16px; }
.day { display: grid; place-items: center; min-height: 40px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); background: var(--panel); }
.day.is-on { background: var(--ink); color: #fff; }
.classes { margin-top: 12px; display: grid; gap: 8px; }
.cls { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.cls-h { font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; }
.cls-n { font-weight: 600; font-size: 15px; line-height: 1.25; }
.cls-n small { display: block; font-size: 13px; font-weight: 400; color: var(--ink-2); }
.cls-c { font-size: 13px; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.cls.is-full { background: var(--panel); box-shadow: none; }
.cls.is-full .cls-n, .cls.is-full .cls-h { color: var(--ink-3); }
.cls.is-on { box-shadow: inset 0 0 0 2px var(--cobalt); background: #F5F6FF; }
.cls.is-on .cls-c { color: var(--cobalt); }
.gym-plans { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gym-plan { padding: 10px 12px; border-radius: 14px; background: var(--panel); display: grid; gap: 4px; font-size: 13.5px; color: var(--ink-2); }
.gym-plan .money { justify-self: start; font-size: 17px; }

/* ---------- Secciones ---------- */
.section { padding-block: clamp(64px, 9vw, 116px); }
.section-panel { background: var(--panel); }
.section-ink { background: var(--ink); color: #fff; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 4.5vw, 52px); }
.section-head h2, .split-head h2, .cta-band h2 { font-family: var(--serif); font-size: clamp(2rem, 3.7vw, 2.9rem); line-height: 1.1; letter-spacing: -.01em; }
.section-head p, .split-head p { margin-top: 16px; font-size: 18px; color: var(--ink-2); max-width: 60ch; }
.section-head a, .split-head a { color: var(--cobalt); font-weight: 600; text-underline-offset: 3px; }

/* Problemas */
.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.split-head { position: sticky; top: calc(var(--header-h) + 32px); }
.pains { background: #fff; border-radius: var(--r-panel); box-shadow: var(--sh-1); padding: 6px clamp(20px, 2.6vw, 32px); }
.pains li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.pains li:last-child { border-bottom: 0; }
.pains h3 { font-family: var(--serif); font-size: clamp(20px, 1.8vw, 23px); line-height: 1.2; }
.pains p { margin-top: 8px; color: var(--ink-2); font-size: 16.5px; }

/* Qué incluye */
.feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 3.6vw, 48px) clamp(28px, 4vw, 64px); }
.feat { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 16px; align-content: start; }
.feat-ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--cobalt-soft); color: var(--cobalt); grid-row: span 3; }
.feat h3 { font-family: var(--serif); font-size: 22px; line-height: 1.2; padding-top: 7px; }
.feat p { color: var(--ink-2); font-size: 16.5px; margin-top: 6px; }
.feat .ej { margin-top: 12px; padding: 10px 14px; border-radius: 12px; background: var(--panel); color: var(--ink); font-size: 15px; line-height: 1.45; }
.ej b { font-weight: 600; }
.feats-note { margin-top: clamp(32px, 4vw, 48px); padding: 18px 22px; border-radius: 18px; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink-2); font-size: 16px; max-width: 80ch; }
.feats-note strong { color: var(--ink); font-weight: 600; }

/* Asistente */
.ai-grid { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.ai-copy { position: sticky; top: calc(var(--header-h) + 40px); padding-top: 24px; }
.chat-card { border-radius: 28px; background: var(--wall); overflow: hidden; box-shadow: var(--sh-2), inset 0 0 0 1px rgba(22, 22, 58, .05); }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: #fff; box-shadow: 0 1px 0 rgba(22, 22, 58, .06); }
.chat-avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--cobalt); color: #fff; font-family: var(--serif); font-size: 18px; flex-shrink: 0; }
.chat-who { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.chat-name { font-weight: 600; font-size: 15.5px; }
.chat-state { font-size: 13px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; }
.dot-ai { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(30, 158, 87, .18); }
.chat-body { display: flex; flex-direction: column; gap: 8px; padding: 16px 14px 18px; }
.msg { position: relative; max-width: 86%; padding: 8px 12px 6px; border-radius: 16px; font-size: 15px; line-height: 1.45; box-shadow: 0 1px 1px rgba(22, 22, 58, .08); }
.msg-c { align-self: flex-start; background: var(--bubble-in); border-bottom-left-radius: 6px; }
.msg-a { align-self: flex-end; background: var(--bubble-out); border-bottom-right-radius: 6px; }
.msg-tag { display: block; font-size: 12px; font-weight: 600; color: #1D7A45; margin-bottom: 1px; }
.msg-time { display: block; text-align: right; font-size: 11.5px; line-height: 1.3; margin-top: 2px; color: rgba(22, 22, 58, .62); font-variant-numeric: tabular-nums; }
.msg-pay { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; padding: 9px; border-radius: 11px; background: #fff; box-shadow: inset 0 0 0 1px rgba(22, 22, 58, .07); }
.msg-pay-c { font-size: 13px; color: var(--ink-2); line-height: 1.3; }
.msg-pay-btn { display: flex; align-items: center; justify-content: center; min-height: 38px; border-radius: 8px; background: var(--sale); color: var(--ink); font-weight: 700; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.chat-day { align-self: center; margin: 6px 0 2px; padding: 3px 12px; border-radius: 999px; background: rgba(255, 255, 255, .8); font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.chat-cap { margin-top: 14px; font-size: 13.5px; color: var(--ink-2); text-align: center; text-wrap: balance; }
.ai-copy h2 { font-family: var(--serif); font-size: clamp(2rem, 3.7vw, 2.9rem); line-height: 1.1; letter-spacing: -.01em; }
.ai-copy > p { margin-top: 16px; font-size: 18px; color: var(--ink-2); max-width: 52ch; }
.rules { margin-top: 26px; display: grid; gap: 14px; }
.rules li { position: relative; padding-left: 34px; font-size: 16.5px; line-height: 1.5; }
.rules li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--cobalt-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.6 3.6L17.5 8.5' fill='none' stroke='%233346F0' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.rules li strong { font-weight: 600; }

/* Planes */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan { border-radius: var(--r-panel); padding: clamp(24px, 2.6vw, 32px); background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); display: flex; flex-direction: column; }
.plan-pick { font-size: 14px; font-weight: 600; color: var(--ink-2); min-height: 1.4em; margin-bottom: 8px; }
.plan-name { font-family: var(--serif); font-size: 26px; line-height: 1.1; }
.plan-for { margin-top: 8px; font-size: 15.5px; color: var(--ink-2); flex: 1; }
.plan-price { margin-top: 20px; display: flex; flex-direction: column; gap: 2px; }
.plan-install { font-size: clamp(32px, 3vw, 40px); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.plan-install-l { font-size: 14px; color: var(--ink-2); }
.plan-monthly { margin: 12px 0 22px; display: inline-flex; align-self: flex-start; align-items: baseline; gap: 6px; padding: 6px 12px; border-radius: 10px; background: var(--panel); font-size: 15px; }
.plan-monthly b { font-size: 18px; font-variant-numeric: tabular-nums; }
.plan .btn { width: 100%; }
.plan-featured { background: var(--ink); color: #fff; box-shadow: var(--sh-2); }
.plan-featured .plan-pick { color: var(--on-ink-accent); }
.plan-featured .plan-for, .plan-featured .plan-install-l { color: rgba(255, 255, 255, .74); }
.plan-featured .plan-monthly { background: rgba(255, 255, 255, .1); }
.plans-foot { margin-top: 26px; display: grid; gap: 16px; }
.no-lock { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; }
.no-lock svg { color: var(--ok); flex-shrink: 0; margin-top: 3px; }
.no-lock a { color: var(--cobalt); font-weight: 600; text-underline-offset: 3px; }
.founders { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 26px; border-radius: var(--r-panel); background: var(--cobalt-soft); }
.founders h3 { font-family: var(--serif); font-size: 22px; }
.founders p { margin-top: 4px; color: var(--ink-2); }

/* Demo o caso real */
.proof { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 40px; align-items: center; padding: clamp(24px, 3.4vw, 44px); border-radius: var(--r-panel); background: #fff; box-shadow: var(--sh-1); }
.proof h2 { font-family: var(--serif); font-size: clamp(1.7rem, 2.8vw, 2.25rem); line-height: 1.12; }
.proof p { margin-top: 12px; color: var(--ink-2); font-size: 17px; max-width: 60ch; }
.proof-list { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.proof-list li { font-size: 14px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--panel); }

/* FAQ */
.faq { background: #fff; border-radius: var(--r-panel); box-shadow: var(--sh-1); padding: 8px clamp(16px, 2.4vw, 28px); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 64px; padding: 14px 0; font-weight: 600; font-size: 17.5px; line-height: 1.35; border-radius: 8px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  background: var(--panel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' fill='none' stroke='%2316163A' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .25s var(--ease-out), background-color .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--cobalt-soft); }
@media (hover: hover) { .faq summary:hover::after { background-color: var(--cobalt-soft); } }
.faq details p { padding: 0 48px 20px 0; color: var(--ink-2); font-size: 16.5px; }
.faq details[open] p { animation: panelIn .25s var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Llamado final */
.cta-band { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.cta-band p { margin-top: 16px; color: rgba(255, 255, 255, .78); font-size: 18px; max-width: 48ch; }
.cta-actions { display: grid; gap: 12px; }
.cta-actions .btn { width: 100%; }
.cta-points { margin-top: 24px; display: grid; gap: 10px; }
.cta-points li { position: relative; padding-left: 32px; color: rgba(255, 255, 255, .9); }
.cta-points li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 255, 255, .1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.6 3.6L17.5 8.5' fill='none' stroke='%23AEB7FF' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }

/* ---------- Footer ---------- */
.site-footer { padding: 48px 0 calc(48px + env(safe-area-inset-bottom)); }
.footer-rubros h2 { font-family: var(--serif); font-size: 22px; line-height: 1.2; }
.footer-rubros ul { margin-top: 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 24px; }
.footer-rubros a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15.5px; font-weight: 500; color: var(--ink-2); text-underline-offset: 3px; text-decoration-color: rgba(51, 70, 240, .4); }
.footer-rubros a[aria-current] { color: var(--ink); font-weight: 600; text-decoration: none; }
@media (hover: hover) { .footer-rubros a:hover { color: var(--ink); } }
.footer-base { margin-top: 32px; padding-top: 24px; box-shadow: 0 -1px 0 var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; }
.brand-footer { margin-right: 0; }
.brand-footer .brand-word { font-size: 19px; }
.footer-legal { font-size: 14.5px; color: var(--ink-2); flex: 1 1 360px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); text-underline-offset: 3px; }
@media (hover: hover) { .footer-links a:hover { color: var(--ink); } }

/* ---------- Botón flotante ---------- */
.fab {
  position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: var(--z-fab);
  width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center;
  background: var(--cobalt); color: #fff;
  box-shadow: 0 1px 2px rgba(22, 22, 58, .3), 0 10px 24px -8px rgba(51, 70, 240, .7);
  transition: transform .2s var(--ease-out), opacity .2s ease, background-color .15s ease;
}
.fab:active { transform: scale(.94); }
.fab.is-hidden { opacity: 0; transform: translateY(12px) scale(.9); pointer-events: none; visibility: hidden; transition: transform .2s var(--ease-out), opacity .2s ease, visibility 0s linear .2s; }
@media (hover: hover) { .fab:hover { background: var(--cobalt-press); } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  /* En una columna se mantiene Presencia, Ventas, Ventas + IA; el recomendado se distingue por color, no por orden */
  .plans { grid-template-columns: 1fr; max-width: 560px; }
  .plan-for { flex: 0 0 auto; }
  .plan-pick:empty { display: none; }
}
@media (max-width: 960px) {
  .hero-grid, .split, .ai-grid, .cta-band, .proof { grid-template-columns: 1fr; }
  .ficha-wrap { justify-self: start; }
  .split-head { position: static; }
  .feats { grid-template-columns: 1fr; }
  .chat-wrap { max-width: 460px; }
  .ai-grid .ai-copy { order: -1; position: static; padding-top: 0; }
}
@media (max-width: 860px) { .nav-list { display: none; } }
@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .brand-word { font-size: 19.5px; }
  .brand { gap: 8px; }
  .hero-ctas .btn { flex: 1 1 auto; }
  .section-head p, .split-head p, .ai-copy > p { font-size: 17px; }
  .founders { flex-direction: column; align-items: stretch; }
  .faq details p { padding-right: 0; }
  .footer-rubros ul { grid-template-columns: 1fr 1fr; }
  .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}
@media (max-width: 440px) {
  .hide-xs { display: none; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .ficha { padding: 18px; }
  .plate { padding: 5px 12px 7px; }
  .plate b { font-size: 21px; }
  .agenda { grid-template-columns: 42px repeat(3, minmax(0, 1fr)); gap: 5px; }
  .ag-cell { font-size: 11.5px; }
  .footer-rubros ul { grid-template-columns: 1fr; }
  .footer-links { flex-direction: column; gap: 0; margin-left: -10px; }
}
@media (max-width: 380px) {
  .header-inner { gap: 6px; }
  .site-header .brand-word { font-size: 17px; }
  .site-header .btn-sm { padding: 0 12px; font-size: 14.5px; }
  .cls { grid-template-columns: 46px 1fr auto; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .btn:active, .fab:active { transform: none; }
}

/* Ajustes */
.section-tight { padding-block: clamp(48px, 6vw, 80px); }
.q-note-after { margin-top: 10px; }

/* ---------- v2: formulario corto, enlaces de prueba y ajustes ---------- */
.chat-cap a { color: var(--cobalt); font-weight: 600; text-underline-offset: 3px; white-space: nowrap; }
a.fake-btn { text-decoration: none; transition: background-color .15s ease, transform .12s ease; }
a.fake-btn:active { transform: scale(.97); }
@media (hover: hover) { a.fake-btn:hover { background: var(--cobalt-press); } }

.mini-form {
  background: #fff; color: var(--ink); border-radius: var(--r-panel);
  padding: clamp(20px, 2.6vw, 32px); display: grid; gap: 14px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .2), 0 30px 60px -24px rgba(0, 0, 0, .6);
  position: relative;
}
.mini-form :focus-visible { outline-color: var(--cobalt); }
.mf-field { display: grid; gap: 6px; min-width: 0; }
.mf-field label { font-weight: 600; font-size: 15.5px; }
.mf-field input {
  width: 100%; height: 50px; padding: 0 14px; border: 0; border-radius: var(--r-field);
  background: #fff; color: var(--ink); font: 400 17px/1.2 var(--sans);
  box-shadow: inset 0 0 0 1.5px #D3D6E3; transition: box-shadow .15s ease;
}
.mf-field input::placeholder { color: var(--ink-3); }
.mf-field input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--cobalt), 0 0 0 4px rgba(51, 70, 240, .14); }
.mf-field input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--bad); }
.mf-err { display: none; font-size: 14px; font-weight: 500; color: var(--bad); line-height: 1.35; margin: 0; }
.mf-err.on { display: block; }
.mf-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.mf-submit { width: 100%; white-space: normal; text-align: center; margin-top: 4px; }
.mf-foot { text-align: center; }
.mf-foot a { color: var(--cobalt); font-weight: 600; }
.mf-ok { padding: 12px 14px; border-radius: var(--r-field); background: #E3F5EA; color: #0F5A31; font-size: 15px; font-weight: 500; }
.mf-ok[hidden] { display: none; }
.mf-ok.is-warn { background: #FCEBD7; color: #7A3B06; }
.mf-ok a { color: inherit; font-weight: 700; }
.mf-ok:focus { outline: none; }

/* 320 px: los botones grandes pueden partir en dos líneas en vez de desbordar */
@media (max-width: 359px) {
  .btn-lg { padding: 0 18px; font-size: 16px; }
  .btn { white-space: normal; text-align: center; max-width: 100%; }
}
/* El formulario vive dentro de .cta-band, cuyos párrafos son blancos y grandes: aquí se reponen */
.cta-band .mini-form p { margin-top: 0; max-width: none; }
.cta-band .mini-form .mf-err { color: var(--bad); font-size: 14px; }
.cta-band .mini-form .mf-foot { color: var(--ink-2); font-size: 13.5px; }
.cta-band .mini-form .mf-ok { font-size: 15px; }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-grid > * { min-width: 0; }
}
@media (max-width: 359px) {
  .vac li { flex-wrap: wrap; gap: 4px 12px; }
}
