/* ════════════════════════════════════════════════════════════════════════════════════════════════
   Estilos de las PÁGINAS DE SEO de biapixel.com (clínicas y spas · alternativa a AgendaPro · …).

   📌 Es el MISMO look de `landing.html` (copiado de su <style>, 2026-11-26) + lo que solo usan estas
      páginas (comparativo, caso, preguntas). La portada conserva su CSS en línea A PROPÓSITO: es la
      página que revisan Google y Meta y no debe depender de un archivo más.
   ⚠️ Si cambias la marca (colores, botones, barra) en `landing.html`, cámbiala aquí también.
   🚨 Este archivo se sirve en biapixel.com por la regla `@assets` del Caddyfile: un archivo nuevo de
      este tipo que no esté ahí se va con 302 a la app y la página sale SIN estilos.
   ════════════════════════════════════════════════════════════════════════════════════════════════ */
:root {
  --navy: #0b2545; --navy-2: #0b3a5e; --teal: #0c6b8a; --cyan: #22d3ee;
  --ink: #0f172a; --muted: #475569; --soft: #64748b; --line: #e2e8f0; --bg: #f8fafc;
  --card: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink); background: #fff; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Barra */
header {
  position: sticky; top: 0; z-index: 10; background: rgba(11,37,69,.92);
  backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav { display: flex; align-items: center; gap: 16px; height: 68px; }
/* ⚠️ La marca es un ícono CUADRADO (768x768) + el nombre en texto — mismo patrón que el Sidebar de
   la app. `brand-logo.png` NO es un logotipo horizontal: puesto a lo ancho se ve como una estampilla. */
.brand { display: flex; align-items: center; gap: 11px; }
.brand:hover { text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; object-fit: cover; flex: none;
             box-shadow: 0 4px 12px rgba(34,211,238,.28); }
.brand-name { font-size: 16px; font-weight: 800; color: #f1f5f9; letter-spacing: -.3px; line-height: 1; }
.brand-sub { font-size: 9.5px; font-weight: 600; color: var(--cyan); letter-spacing: .7px;
             text-transform: uppercase; margin-top: 3px; }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav-links a { color: #cbd5e1; font-size: 14.5px; font-weight: 500; }
.nav-links a:hover { color: #fff; text-decoration: none; }
.btn {
  display: inline-block; border-radius: 8px; font-weight: 600; font-size: 15px;
  padding: 11px 22px; transition: transform .12s ease, box-shadow .12s ease; border: 0; cursor: pointer;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 4px 14px rgba(12,107,138,.35); }
.btn-primary:hover { background: #0a5870; color: #fff; }
.btn-ghost { color: #e2e8f0; border: 1px solid rgba(255,255,255,.25); }
.btn-ghost:hover { color: #fff; background: rgba(255,255,255,.08); }
/* Variante para fondo CLARO (las tarjetas de precios): el .btn-ghost es para el hero oscuro y
   sobre blanco se vería en gris casi invisible. */
.btn-outline-dark { color: var(--teal); border: 1px solid #a5f3fc; background: #fff; }
.btn-outline-dark:hover { background: #ecfeff; color: var(--teal); }

/* Hero */
.hero { background: linear-gradient(150deg, #071a30, var(--navy-2) 55%, var(--teal)); color: #fff; }
.hero-in { padding: 84px 0 92px; max-width: 780px; }
.eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: #67e8f9; background: rgba(34,211,238,.12);
  border: 1px solid rgba(34,211,238,.25); padding: 5px 12px; border-radius: 999px; margin-bottom: 20px;
}
h1 { font-size: 46px; line-height: 1.14; font-weight: 800; letter-spacing: -.025em; }
h1 .hl { color: #67e8f9; }
.sub { font-size: 19px; color: #cbd5e1; margin-top: 20px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 22px; font-size: 14px; color: #94a3b8; }

/* Secciones */
section { padding: 76px 0; }
.alt { background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: 31px; font-weight: 800; letter-spacing: -.02em; }
.lead { color: var(--muted); font-size: 17px; margin-top: 12px; max-width: 660px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 42px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px; box-shadow: var(--card);
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(15,23,42,.09); border-color: #a5f3fc; }
.ico {
  width: 42px; height: 42px; border-radius: 10px; background: #ecfeff; color: var(--teal);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.ico svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 16.5px; font-weight: 700; }
.card p { color: var(--soft); font-size: 14.5px; margin-top: 7px; }

/* Cómo trabajamos contigo (la oferta de valor de la presentación de ventas, lámina 2) */
.pilar { border-top: 4px solid var(--teal); }
.charla { margin-top: 44px; }
.charla .k { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); }
.charla .grid { margin-top: 16px; }
.charla .card { border-left: 4px solid #22d3ee; }
.charla .q { font-size: 15.5px; font-weight: 700; color: var(--ink); }
.charla .r { color: var(--soft); font-size: 14.5px; margin-top: 8px; }
.charla .r::before { content: "→ "; color: var(--teal); font-weight: 700; }
.siempre { margin-top: 30px; font-size: 15px; color: var(--teal); font-weight: 600; }

/* Problema */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.bullets { margin-top: 20px; display: grid; gap: 12px; }
.bullet { display: flex; gap: 11px; align-items: flex-start; }
.dot { flex: none; width: 21px; height: 21px; border-radius: 50%; background: #ecfeff; color: var(--teal);
       display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.dot svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.bullet p { color: var(--muted); font-size: 15.5px; }
.quote {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--teal);
  border-radius: 12px; padding: 26px; box-shadow: var(--card);
}
.quote p { font-size: 17px; color: var(--ink); font-style: italic; }
.quote span { display: block; margin-top: 12px; font-size: 14px; color: var(--soft); font-style: normal; }

/* Google */
.google-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 34px;
  box-shadow: var(--card); margin-top: 34px;
}
.g-head { display: flex; align-items: center; gap: 13px; }
.g-head h3 { font-size: 20px; font-weight: 700; }
.g-logo { width: 40px; height: 40px; flex: none; }
.g-list { margin: 20px 0 0 0; display: grid; gap: 12px; }
.fine { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--soft); }

/* Canales de mensajería: 4 en rejilla dentro de UNA card (como cards sueltas, la sección se haría
   larguísima y la de Google —la que revisa Google— quedaría enterrada). */
.chan { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; margin-top: 22px; }
.chan-top { display: flex; align-items: center; gap: 10px; }
.chan-ico { width: 32px; height: 32px; border-radius: 8px; flex: none; display: flex; align-items: center; justify-content: center; }
.chan-ico svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chan-item h4 { font-size: 15.5px; font-weight: 700; display: flex; align-items: center; gap: 7px; }
.chan-item p { color: var(--soft); font-size: 14px; margin-top: 8px; }
.pill { font-size: 9.5px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
        color: var(--teal); background: #ecfeff; border: 1px solid #a5f3fc; padding: 2px 7px; border-radius: 999px; }

/* Precios (autoservicio F4) */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 42px; align-items: start; }
.plan {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px 26px;
  box-shadow: var(--card); display: flex; flex-direction: column; height: 100%;
}
/* El plan destacado se levanta un poco: guía el ojo sin gritar. */
.plan.featured { border: 2px solid var(--teal); box-shadow: 0 10px 30px rgba(12,107,138,.16); position: relative; }
.plan-tag {
  position: absolute; top: -12px; left: 26px; background: var(--teal); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  padding: 4px 11px; border-radius: 999px;
}
.plan h3 { font-size: 18px; font-weight: 800; }
.plan .who { color: var(--soft); font-size: 14px; margin-top: 6px; min-height: 42px; }
.amount { display: flex; align-items: baseline; gap: 6px; margin-top: 18px; }
.amount .num { font-size: 38px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.amount .per { color: var(--soft); font-size: 14.5px; }
.yearly { margin-top: 8px; font-size: 13.5px; color: var(--teal); font-weight: 600; min-height: 20px; }
.feats { margin: 20px 0 0 0; display: grid; gap: 10px; }
.feats .bullet p { font-size: 14.5px; }
.plan .btn { margin-top: 22px; width: 100%; text-align: center; }
/* El botón se pega abajo aunque las tarjetas tengan distinto número de renglones. */
.plan .spacer { flex: 1; }
.plan-fine { margin-top: 12px; font-size: 12.5px; color: var(--soft); text-align: center; }
.prices-note {
  margin-top: 26px; padding: 18px 20px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; font-size: 14.5px; color: var(--muted);
}
/* Timbres CFDI. Va en TABLA y no en tarjetas a propósito: son 7 filas de 3 datos que el
   visitante COMPARA entre sí (precio por timbre), y comparar es justo lo que una tabla hace
   mejor que unas tarjetas. ⚠️ overflow-x en el envoltorio: en un teléfono de 360 px una tabla
   de 3 columnas no cabe, y sin esto empuja la página entera y aparece scroll horizontal. */
.stamps { margin-top: 26px; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.stamps h3 { font-size: 17px; margin: 0; padding: 18px 20px 0; color: var(--navy); }
.stamps > p { margin: 6px 0 0; padding: 0 20px; font-size: 14.5px; color: var(--muted); }
.stamps-scroll { overflow-x: auto; padding: 14px 20px 20px; }
.stamps table { border-collapse: collapse; width: 100%; min-width: 340px; font-size: 15px; }
.stamps th, .stamps td { text-align: right; padding: 9px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.stamps th:first-child, .stamps td:first-child { text-align: left; }
.stamps th { font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.stamps tr:last-child td { border-bottom: 0; }
.stamps .best td { background: #ecfeff; font-weight: 600; color: var(--navy); }
.stamps-fine { margin: 0; padding: 0 20px 18px; font-size: 13.5px; color: var(--muted); }

/* Cierre */
.final { background: linear-gradient(150deg, #071a30, var(--navy-2)); color: #fff; text-align: center; }
.final h2 { color: #fff; }
.final p { color: #cbd5e1; font-size: 17px; margin: 14px auto 0; max-width: 560px; }
.final .cta { justify-content: center; }

footer { background: var(--navy); color: #94a3b8; padding: 46px 0 34px; font-size: 14px; }
.foot { display: flex; flex-wrap: wrap; gap: 26px; align-items: center; }
.foot-links { margin-left: auto; display: flex; flex-wrap: wrap; gap: 22px; }
.foot a { color: #cbd5e1; }
.foot a:hover { color: #fff; }
.legal { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.09); font-size: 13px; color: #64748b; }

@media (max-width: 900px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .prices { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .plan .who { min-height: 0; }
  .two { grid-template-columns: 1fr; gap: 28px; }
  h1 { font-size: 34px; }
  h2 { font-size: 25px; }
  .nav-links a:not(.btn) { display: none; }
}
@media (max-width: 620px) {
  .grid { grid-template-columns: 1fr; }
  .amount .num { font-size: 32px; }
  .chan { grid-template-columns: 1fr; gap: 20px; }
  .google-card { padding: 24px; }
  .hero-in { padding: 56px 0 62px; }
  section { padding: 54px 0; }
  .foot-links { margin-left: 0; }
}

/* ── Solo de las páginas de SEO ───────────────────────────────────────────────────────────────── */
.hero-in.wide { max-width: 860px; }
.crumbs { font-size: 13.5px; color: #94a3b8; margin-bottom: 18px; }
.crumbs a { color: #cbd5e1; }
.prose { max-width: 760px; }
.prose p { color: var(--muted); font-size: 16.5px; margin-top: 14px; }
.prose p strong { color: var(--ink); }
.grid.two-col { grid-template-columns: 1fr 1fr; }

/* Comparativo «lo que pagas por separado» → «en BIAPixel». Tabla y no tarjetas: se COMPARA renglón a renglón.
   ⚠️ overflow-x en el envoltorio (misma razón que la tabla de timbres de la portada: 360 px). */
.cmp { margin-top: 34px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--card); overflow: hidden; }
.cmp-scroll { overflow-x: auto; }
.cmp table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 15px; }
.cmp th, .cmp td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp th { font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; background: var(--bg); }
.cmp td.num, .cmp th.num { text-align: right; white-space: nowrap; }
.cmp tr.total td { font-weight: 800; color: var(--navy); background: #ecfeff; border-bottom: 0; }
.cmp tr.ours td { font-weight: 800; color: #fff; background: var(--teal); border-bottom: 0; }
.cmp-fine { padding: 14px 18px 18px; font-size: 13.5px; color: var(--soft); border-top: 1px solid var(--line); }

/* Caso de cliente */
.case { margin-top: 34px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: 14px; padding: 30px; box-shadow: var(--card); }
.case .k { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); }
.case h3 { font-size: 20px; font-weight: 800; margin-top: 6px; }
.case p { color: var(--muted); font-size: 15.5px; margin-top: 12px; }

/* Preguntas frecuentes: <details> nativo — funciona sin JavaScript y el texto queda en el HTML,
   que es lo que leen Google y los asistentes de IA. */
.faq { margin-top: 30px; display: grid; gap: 12px; max-width: 820px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; box-shadow: var(--card); }
.faq summary { font-weight: 700; font-size: 16px; cursor: pointer; color: var(--ink); }
.faq details p { color: var(--muted); font-size: 15.5px; margin-top: 10px; }

.more { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px 26px; font-size: 15px; font-weight: 600; }

@media (max-width: 900px) { .grid.two-col { grid-template-columns: 1fr; } }
