/* ============================================================
   Ctrl+ (CTRL+ AI-HR) — controlplus.mx
   Hoja de estilos global · paleta negro/blanco/naranja
   ============================================================ */

:root {
  --ink: #121319;          /* negro de marca */
  --ink-2: #1a1c25;        /* negro elevado (tarjetas dark) */
  --ink-3: #232631;        /* bordes sobre dark */
  --paper: #ffffff;
  --paper-2: #f5f6f8;      /* gris claro de secciones */
  --orange: #F47C20;       /* naranja de marca */
  --orange-d: #d96a12;
  --orange-soft: #fdf0e4;
  --text: #2a2d38;
  --muted: #5c6270;
  --muted-dark: #9aa0ad;   /* texto secundario sobre dark */
  --line: #e6e8ee;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(18, 19, 25, .08);
  --maxw: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--orange-d); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Tipografía ---------- */
h1, h2, h3, h4 { line-height: 1.15; color: var(--ink); font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); }
h2 { font-size: clamp(1.65rem, 3.6vw, 2.35rem); }
h3 { font-size: 1.22rem; font-weight: 700; }
.dark h1, .dark h2, .dark h3, .dark h4,
.hero h1, .hero h2, .hero h3,
.cta-final h2 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}

.lead { font-size: 1.15rem; color: var(--muted); max-width: 760px; }
.dark .lead, .hero .lead, .cta-final .lead { color: var(--muted-dark); }

.section-head { max-width: 820px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-bottom: 14px; }

.accent { color: var(--orange); }

/* ---------- Botones ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none !important;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-d); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn-ghost-dark { border-color: var(--ink); color: var(--ink); }
.btn-ghost-dark:hover { border-color: var(--orange); color: var(--orange-d); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Navegación ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(18, 19, 25, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.nav-logo img { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav-links a {
  color: #d7dae2; font-size: .94rem; font-weight: 500; text-decoration: none;
}
.nav-links a:hover, .nav-links a.activa { color: var(--orange); }
.nav-links .btn { padding: 10px 20px; font-size: .9rem; }

/* acciones siempre visibles (Acceder + demo) */
.nav-acciones { display: flex; align-items: center; gap: 12px; }
.btn-acceder {
  padding: 9px 20px; font-size: .9rem;
  border: 1.5px solid rgba(255,255,255,.45); color: #fff;
}
.btn-acceder:hover { border-color: var(--orange); color: var(--orange); }
.nav-demo { padding: 10px 20px; font-size: .9rem; }
.solo-movil { display: none; }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0;
  transition: .2s;
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(244,124,32,.16), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(244,124,32,.07), transparent 55%),
    var(--ink);
  color: #fff;
  padding: 170px 0 110px;
  position: relative;
  overflow: hidden;
}
.hero .lead { font-size: 1.22rem; margin: 22px 0 34px; }
.hero h1 { max-width: 820px; }
.hero-trust { margin-top: 30px; font-size: .92rem; color: var(--muted-dark); }
.hero-trust + .hero-trust { margin-top: 8px; }
.hero-trust strong { color: #d7dae2; font-weight: 600; }
.hero-trust a { color: var(--orange); font-weight: 700; text-decoration: none; }
.hero-trust a:hover { text-decoration: underline; }

/* tecla decorativa estilo "keycap" */
.keycaps { display: inline-flex; gap: 10px; margin-bottom: 26px; }
.keycap {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 52px; height: 52px; padding: 0 14px;
  background: linear-gradient(180deg, #262935, #1a1c25);
  border: 1px solid var(--ink-3);
  border-bottom: 3px solid var(--orange);
  border-radius: 10px;
  font-weight: 800; font-size: 1.05rem; color: #fff; letter-spacing: .04em;
}
.keycap.plus { color: var(--orange); font-size: 1.5rem; }

/* hero interno (páginas) */
.hero-int { padding: 150px 0 80px; }
.hero-int h1 { max-width: 760px; }

/* ---------- Secciones ---------- */
.section { padding: 96px 0; }
.section.alt { background: var(--paper-2); }
.section.dark { background: var(--ink); color: #d7dae2; }
.section.tight { padding: 72px 0; }

/* ---------- Tarjetas ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .98rem; }
.card .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--orange-soft); color: var(--orange-d);
  font-weight: 800; font-size: 1.1rem; margin-bottom: 16px;
}
.dark .card { background: var(--ink-2); border-color: var(--ink-3); box-shadow: none; }
.dark .card p { color: var(--muted-dark); }

/* tarjeta de pilar con resultado */
.card .resultado {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line);
  font-weight: 700; color: var(--ink); font-size: .95rem;
}
.card .resultado .accent { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }

/* ---------- Pasos del ciclo ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: paso; }
.step {
  background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: var(--radius);
  padding: 26px 22px; position: relative;
}
.step::before {
  counter-increment: paso; content: counter(paso);
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--orange); color: #fff; font-weight: 800; font-size: .95rem;
  margin-bottom: 14px;
}
.step h3 { color: #fff; font-size: 1.05rem; margin-bottom: 8px; }
.step h3 a { color: inherit; text-decoration: none; }
.step h3 a:hover { color: var(--orange); }
.step p { color: var(--muted-dark); font-size: .92rem; }

/* banda transversal */
.banda {
  margin-top: 34px; padding: 18px 26px; border-radius: 12px;
  background: rgba(244,124,32,.09); border: 1px solid rgba(244,124,32,.3);
  color: #e8c9ac; font-size: .95rem; text-align: center;
}
.banda strong { color: var(--orange); }

/* ---------- Comparación 3 columnas ---------- */
.compare { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.compare .card.destacada {
  border: 2px solid var(--orange);
  background: var(--ink); color: #d7dae2;
  box-shadow: 0 16px 40px rgba(244,124,32,.18);
}
.compare .card.destacada h3 { color: #fff; }
.compare .card.destacada p { color: var(--muted-dark); }
.compare .tag {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 99px; margin-bottom: 14px;
  background: var(--paper-2); color: var(--muted);
}
.compare .destacada .tag { background: var(--orange); color: #fff; }

/* ---------- Tabla comparativa ---------- */
.tabla-scroll { overflow-x: auto; }
table.tabla {
  width: 100%; border-collapse: collapse; background: var(--paper);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  min-width: 640px;
}
.tabla th, .tabla td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: .95rem; }
.tabla thead th { background: var(--ink); color: #fff; font-size: .88rem; }
.tabla thead th.col-ctrl { background: var(--orange); }
.tabla td.si { color: #1e8a4a; font-weight: 700; }
.tabla td.no { color: #b9bec9; }
.tabla td.parcial { color: var(--muted); }
.tabla tbody tr:last-child td { border-bottom: 0; }

/* ---------- Cifras / prueba social ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; text-align: center; }
.stat .valor { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800; color: var(--orange); letter-spacing: -.02em; }
.stat .etiqueta { color: var(--muted-dark); font-size: .95rem; margin-top: 6px; }
.section:not(.dark) .stat .etiqueta { color: var(--muted); }

.testimonio {
  margin: 48px auto 0; max-width: 720px; text-align: center;
  font-size: 1.25rem; font-style: italic; color: #d7dae2; line-height: 1.5;
}
.testimonio cite { display: block; margin-top: 14px; font-size: .9rem; font-style: normal; color: var(--muted-dark); }

.logos-clientes { margin-top: 40px; text-align: center; color: var(--muted-dark); font-size: .95rem; }
.logos-clientes strong { color: #d7dae2; }

/* ---------- Planes ---------- */
.planes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 28px; display: flex; flex-direction: column; box-shadow: var(--shadow);
}
.plan.destacado { border: 2px solid var(--orange); position: relative; }
.plan.destacado::after {
  content: "Más elegido"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--orange); color: #fff; font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; padding: 4px 14px; border-radius: 99px;
}
.plan h3 { font-size: 1.35rem; }
.plan .precio { margin: 14px 0 4px; font-size: 2rem; font-weight: 800; color: var(--ink); }
.plan .precio span { font-size: .85rem; font-weight: 500; color: var(--muted); }
.plan .desde { font-size: .82rem; color: var(--muted); margin-bottom: 18px; }
.plan ul { list-style: none; margin: 0 0 26px; flex: 1; }
.plan ul li { padding: 8px 0 8px 28px; position: relative; font-size: .95rem; color: var(--text); border-bottom: 1px dashed var(--line); }
.plan ul li:last-child { border-bottom: 0; }
.plan ul li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 800; }
.plan .btn { text-align: center; }

.promo {
  margin-top: 40px; border-radius: var(--radius); padding: 30px 34px;
  background: var(--ink); color: #d7dae2;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.promo h3 { color: var(--orange); margin-bottom: 6px; }
.promo p { font-size: .98rem; color: var(--muted-dark); }

/* ---------- Listas de riesgo (cumplimiento) ---------- */
.riesgo { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 26px; background: var(--paper); }
.riesgo > div { padding: 28px 30px; }
.riesgo .r-riesgo { background: var(--paper-2); border-right: 1px solid var(--line); }
.riesgo h3 { margin-bottom: 10px; }
.riesgo .mini { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; display: block; }
.riesgo .r-riesgo .mini { color: #b3433a; }
.riesgo .r-ctrl .mini { color: var(--orange-d); }
.riesgo p { color: var(--muted); font-size: .97rem; }

/* ---------- Dos columnas (hoy / próximamente) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.lista-check { list-style: none; }
.lista-check li { padding: 12px 0 12px 32px; position: relative; border-bottom: 1px dashed var(--line); }
.lista-check li:last-child { border-bottom: 0; }
.lista-check li::before { content: "✓"; position: absolute; left: 0; top: 12px; color: var(--orange); font-weight: 800; }
.lista-check li strong { color: var(--ink); }
.lista-check li span { display: block; color: var(--muted); font-size: .92rem; }
.dark .lista-check li { border-color: var(--ink-3); }
.dark .lista-check li strong { color: #fff; }
.dark .lista-check li span { color: var(--muted-dark); }
.lista-prox li::before { content: "→"; color: var(--muted-dark); }

/* ---------- CTA final ---------- */
.cta-final {
  background:
    radial-gradient(700px 380px at 50% -20%, rgba(244,124,32,.18), transparent 60%),
    var(--ink);
  color: #fff; text-align: center; padding: 110px 0;
}
.cta-final h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 16px; }
.cta-final .lead { margin: 0 auto 36px; }
.cta-final .btn-row { justify-content: center; }
.cta-nota { margin-top: 22px; font-size: .88rem; color: var(--muted-dark); }

/* ---------- Footer ---------- */
.footer { background: #0d0e13; color: var(--muted-dark); padding: 60px 0 40px; font-size: .92rem; }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 40px; }
.footer-logo img { height: 26px; width: auto; margin-bottom: 14px; }
.footer h4 { color: #fff; font-size: .9rem; margin-bottom: 14px; letter-spacing: .04em; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 9px; }
.footer a { color: var(--muted-dark); text-decoration: none; }
.footer a:hover { color: var(--orange); }
.footer-base { border-top: 1px solid var(--ink-3); padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }

/* ---------- Contacto / agenda (Odoo Appointments) ---------- */
.contacto-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: start; }
.agenda-embed { width: 100%; min-width: 320px; height: 760px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.bolsa-embed { width: 100%; min-width: 320px; height: 82vh; min-height: 760px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.bolsa-fallback { margin-top: 14px; font-size: .9rem; color: var(--muted); text-align: center; }
.dato-contacto { margin-bottom: 20px; }
.dato-contacto .mini { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.dato-contacto a, .dato-contacto p { font-size: 1.05rem; color: var(--ink); font-weight: 600; }

/* ---------- Página legal ---------- */
.legal { max-width: 800px; }
.legal h2 { font-size: 1.3rem; margin: 36px 0 12px; }
.legal h3, .legal h4, .legal h5, .legal h6 { font-size: 1.08rem; margin: 32px 0 12px; color: var(--ink); }
.legal p, .legal li { color: var(--muted); font-size: .97rem; margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
/* ============================================================
   Mockups de producto (UI estilizada) y layout zigzag
   ============================================================ */

/* Zigzag: texto ↔ visual alternados */
.zigzag { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.zigzag .section-head { margin-bottom: 24px; }
.zigzag.invertido .zz-media { order: -1; }
.zz-media { display: flex; justify-content: center; }

/* Marco de navegador */
.frame-browser {
  width: 100%; max-width: 560px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 30px 70px rgba(18, 19, 25, .18);
  overflow: hidden; font-family: inherit;
}
.fb-top { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #eef0f4; border-bottom: 1px solid var(--line); }
.fb-dot { width: 10px; height: 10px; border-radius: 50%; }
.fb-dot.r { background: #f45f57; } .fb-dot.a { background: #f5bd4f; } .fb-dot.v { background: #5fc454; }
.fb-url { flex: 1; margin-left: 10px; background: #fff; border: 1px solid var(--line); border-radius: 6px; font-size: .68rem; color: var(--muted); padding: 4px 12px; }

/* Capturas reales dentro de los marcos */
.frame-browser .captura, .fp-screen .captura { display: block; width: 100%; height: auto; }

/* Cuerpo de app con sidebar */
.ui-body { display: grid; grid-template-columns: 140px 1fr; min-height: 300px; }
.ui-sidebar { background: var(--ink); padding: 14px 10px; }
.ui-brand { color: #fff; font-weight: 800; font-size: .8rem; letter-spacing: .06em; padding: 0 10px 12px; }
.ui-brand span { color: var(--orange); }
.ui-side-item { padding: 7px 10px; border-radius: 7px; margin-bottom: 2px; color: var(--muted-dark); font-size: .7rem; font-weight: 500; }
.ui-side-item.activo { background: rgba(244, 124, 32, .16); color: var(--orange); font-weight: 700; }
.ui-main { padding: 14px; background: #f7f8fa; }
.ui-titulo { font-size: .78rem; font-weight: 700; color: var(--ink); margin-bottom: 10px; }

/* Primitivas de UI */
.ui-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 10px; }
.ui-stat { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }
.ui-stat .v { font-weight: 800; font-size: .92rem; color: var(--ink); }
.ui-stat .v.naranja { color: var(--orange-d); }
.ui-stat .l { font-size: .55rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }

.ui-chart { display: flex; align-items: flex-end; gap: 7px; height: 74px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; margin-bottom: 10px; }
.ui-bar { flex: 1; background: linear-gradient(180deg, var(--orange), #f9a96e); border-radius: 3px 3px 0 0; min-height: 8px; }
.ui-bar.gris { background: #dfe2e9; }

.ui-panel { background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.ui-panel + .ui-panel { margin-top: 10px; }
.ui-panel-head { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-bottom: 1px solid var(--paper-2); font-size: .7rem; font-weight: 700; color: var(--ink); }
.ui-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 12px; border-bottom: 1px solid var(--paper-2); font-size: .68rem; color: var(--text); }
.ui-row:last-child { border-bottom: 0; }
.ui-row .sub { color: var(--muted); font-size: .6rem; display: block; }

.ui-chip { font-size: .56rem; font-weight: 700; padding: 2px 8px; border-radius: 99px; white-space: nowrap; }
.chip-ok { background: #e3f4e9; color: #1e8a4a; }
.chip-warn { background: #fdf0e4; color: var(--orange-d); }
.chip-info { background: #e8ecf5; color: #4159a8; }

.ui-check-row { display: flex; align-items: center; gap: 9px; padding: 8px 12px; border-bottom: 1px solid var(--paper-2); font-size: .68rem; color: var(--text); }
.ui-check-row:last-child { border-bottom: 0; }
.ui-check-row .tic { width: 15px; height: 15px; border-radius: 50%; background: #1e8a4a; color: #fff; font-size: .55rem; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0; }

.ui-avatar { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, var(--orange), #f3a468); color: #fff; font-size: .6rem; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* Línea de tiempo (reposición) */
.ui-timeline { padding: 6px 12px 10px; }
.ui-tl-item { display: flex; gap: 10px; font-size: .68rem; color: var(--text); position: relative; padding: 7px 0 7px 2px; }
.ui-tl-item::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); margin-top: 4px; flex-shrink: 0; }
.ui-tl-item:not(:last-child)::after { content: ""; position: absolute; left: 5.5px; top: 18px; bottom: -10px; width: 2px; background: var(--line); }
.ui-tl-item .hora { color: var(--muted); font-size: .58rem; min-width: 34px; margin-top: 1px; }

/* Marco de teléfono */
.frame-phone {
  width: 220px;
  background: linear-gradient(145deg, #4a4d58, #1a1c24);  /* bisel metálico delgado */
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 30px;
  padding: 5px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .5), 0 0 0 1px rgba(0, 0, 0, .35);
}
.fp-screen { background: #f7f8fa; border-radius: 25px; overflow: hidden; }
.fp-top { background: var(--ink); color: #fff; font-size: .65rem; font-weight: 700; padding: 14px 14px 10px; display: flex; justify-content: space-between; align-items: center; }
.fp-top span { color: var(--orange); font-size: .55rem; }
.fp-mapa { height: 110px; position: relative; background:
  radial-gradient(140px 70px at 65% 40%, rgba(244, 124, 32, .14), transparent 70%),
  linear-gradient(90deg, #e8ebf0 1px, transparent 1px), linear-gradient(#e8ebf0 1px, transparent 1px), #f1f3f6;
  background-size: auto, 22px 22px, 22px 22px, auto; }
.fp-geocerca { position: absolute; width: 74px; height: 74px; border: 2px dashed var(--orange); border-radius: 50%; top: 18px; left: 50%; transform: translateX(-50%); }
.fp-pin { position: absolute; width: 14px; height: 14px; background: var(--orange); border: 3px solid #fff; border-radius: 50%; top: 48px; left: 50%; transform: translateX(-50%); box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
.fp-cuerpo { padding: 10px 12px 14px; }
.fp-chip { display: inline-block; font-size: .56rem; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: #e3f4e9; color: #1e8a4a; margin-bottom: 8px; }
.fp-btn { display: block; text-align: center; background: var(--orange); color: #fff; font-size: .68rem; font-weight: 700; border-radius: 9px; padding: 9px; margin-bottom: 10px; }
.fp-item { display: flex; justify-content: space-between; align-items: center; font-size: .6rem; color: var(--text); padding: 5px 0; border-bottom: 1px solid #ecedf1; }
.fp-item:last-child { border-bottom: 0; }
.fp-item .ok { color: #1e8a4a; font-weight: 800; }

/* Hero con visual */
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; }
.hero-visual { position: relative; padding-bottom: 40px; }
.hero-visual .frame-browser { max-width: none; }
.hero-visual .frame-phone { position: absolute; right: -6px; bottom: -8px; width: 168px; transform: rotate(2.5deg); }
.hero-visual .fp-mapa { height: 88px; }

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 560px; }
}
@media (max-width: 720px) {
  .zigzag { grid-template-columns: 1fr; gap: 28px; }
  .zigzag.invertido .zz-media { order: 0; }
  .hero-visual .frame-phone { display: none; }
  .hero-visual { padding-bottom: 0; }
  .ui-body { grid-template-columns: 1fr; }
  .ui-sidebar { display: none; }
}

/* ============================================================
   Capa visual ejecutiva: iconos, banda de cifras, diagrama, costo
   ============================================================ */

/* Iconos SVG de línea */
.icono {
  width: 40px; height: 40px; display: block; margin-bottom: 14px;
  color: var(--orange);
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}

/* Banda ejecutiva (3 cifras, 3 frases) */
.banda-exec { background: var(--paper-2); }
.exec { text-align: center; padding: 10px 16px; }
.mega {
  font-size: clamp(3.2rem, 6vw, 4.6rem); font-weight: 800;
  color: var(--orange); line-height: 1; letter-spacing: -.03em;
}
.exec h3 { margin: 12px 0 6px; font-size: 1.08rem; }
.exec p { color: var(--muted); font-size: .95rem; max-width: 300px; margin: 0 auto; }

/* Diagrama del ciclo del promotor */
.diagrama-ciclo { margin-top: 6px; }
.diagrama-ciclo svg { width: 100%; height: auto; display: block; }
.diagrama-ciclo a { text-decoration: none; }
.nodo-c { fill: var(--ink-2); stroke: var(--orange); stroke-width: 2; transition: fill .15s; }
.diagrama-ciclo a:hover .nodo-c { fill: #2a2d3a; }
.nodo-num { fill: var(--orange); font-weight: 800; font-size: 30px; }
.nodo-t { fill: #fff; font-weight: 700; font-size: 17px; }
.nodo-s { fill: var(--muted-dark); font-size: 12.5px; }
.flecha { stroke: #4a4e5e; stroke-width: 2; }
.flecha-punta { fill: #4a4e5e; }
.loop { stroke: var(--orange); stroke-width: 2; fill: none; stroke-dasharray: 6 6; }
.loop-punta { fill: var(--orange); }
.loop-t { fill: var(--orange); font-size: 14px; font-weight: 700; }
.pasos-movil { display: none; }
@media (max-width: 720px) {
  .diagrama-ciclo { display: none; }
  .pasos-movil { display: grid; }
}

/* Banda "el costo de no hacerlo" */
.costo h3 { font-size: 1.45rem; color: var(--orange); }

/* Barras del mockup del hero: crecen al cargar */
@keyframes crecerBarra { from { transform: scaleY(.06); } }
.hero-visual .ui-bar { transform-origin: bottom; animation: crecerBarra .9s cubic-bezier(.2, .7, .3, 1) backwards; }
.hero-visual .ui-bar:nth-child(1) { animation-delay: .20s }
.hero-visual .ui-bar:nth-child(2) { animation-delay: .28s }
.hero-visual .ui-bar:nth-child(3) { animation-delay: .36s }
.hero-visual .ui-bar:nth-child(4) { animation-delay: .44s }
.hero-visual .ui-bar:nth-child(5) { animation-delay: .52s }
.hero-visual .ui-bar:nth-child(6) { animation-delay: .60s }
.hero-visual .ui-bar:nth-child(7) { animation-delay: .68s }
.hero-visual .ui-bar:nth-child(8) { animation-delay: .76s }
@media (prefers-reduced-motion: reduce) { .hero-visual .ui-bar { animation: none; } }

/* ---------- Animación de aparición ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .compare, .planes, .grid-3 { grid-template-columns: 1fr 1fr; }
  .compare .card.destacada { grid-column: 1 / -1; }
  .planes .plan.destacado { grid-column: 1 / -1; order: -1; }
}

@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .hero { padding: 130px 0 70px; }
  .hero-int { padding: 120px 0 60px; }
  .grid-2, .grid-3, .grid-4, .steps, .compare, .planes, .split, .stats, .contacto-grid { grid-template-columns: 1fr; }
  .riesgo { grid-template-columns: 1fr; }
  .riesgo .r-riesgo { border-right: 0; border-bottom: 1px solid var(--line); }

  .nav-toggle { display: block; order: 3; }
  .nav-acciones { order: 2; margin-left: auto; gap: 8px; }
  .nav-acciones .btn-acceder { display: none; }  /* "Regístrate" vive en el menú móvil */
  .solo-movil { display: block; }                /* …como botón dentro del menú */
  .nav-demo { padding: 8px 16px; font-size: .88rem; }  /* "Iniciar sesión" se mantiene visible */
  .nav-links {
    position: fixed; top: 70px; left: 0; right: 0;
    background: var(--ink); flex-direction: column; align-items: flex-start;
    padding: 24px; gap: 18px; border-bottom: 1px solid var(--ink-3);
    display: none;
  }
  .nav-links.abierto { display: flex; }
}
