/*
Theme Name: Viva Seguro Atlas
Theme URI: https://atlas.com.co
Author: Atlas Vivo Seguro
Description: Tema a medida para Atlas Vivo Seguro. Rama Personas (magenta) y rama Empresa (navy) con cotizador de 3 pasos.
Version: 1.0.35
License: GNU General Public License v2 or later
Text Domain: vivaseguro-atlas
*/

/* ==========================================================================
   1. TOKENS — Personas (magenta) por defecto, Empresa (navy) con .theme-navy
   ========================================================================== */
:root {
  --font: 'Fira Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Marca */
  --primary: #d2255e;
  --primary-dark: #a81a4b;
  --btn-grad: #d2255e;               /* magenta: sólido */
  --accent-text: #a81a4b;

  /* Superficies */
  --hero-bg: #151515;
  --hero-glow-1: rgba(210, 37, 94, 0.35);
  --hero-glow-2: rgba(210, 37, 94, 0.18);
  --panel-bg: #ffffff;
  --panel-border: #d2255e;
  --field-bg: #f5f6f7;
  --field-border: #babfc5;
  --soft-bg: #fdf2f6;
  --soft-bg-2: #faf7f8;

  /* Texto */
  --ink: #151515;
  --body-text: #5e5e5d;
  --muted: #7a7e83;
  --hero-muted: #aaaaaa;
  --on-panel: #151515;
  --on-panel-muted: #5e5e5d;

  /* Varios */
  --badge-bg: #ffffff;
  --badge-border: #d2255e;
  --badge-text: #a81a4b;
  --card-border: #eceef0;
  --cta-grad: radial-gradient(1200px 620px at 50% -35%, #d2255e 0%, #a81a4b 34%, #2a0a17 80%, #120409 100%);
  --footer-bg: #151515;
  --radius-card: 20px;
  --radius-field: 12px;
  --container: 1140px;
}

.theme-navy {
  --primary: #1373b0;
  --primary-dark: #0d5c8f;
  --btn-grad: linear-gradient(90deg, #3bb0f0 0%, #1373b0 100%);
  --accent-text: #5cc8ff;

  --hero-bg: #07172e;
  --hero-glow-1: rgba(59, 176, 240, 0.30);
  --hero-glow-2: rgba(19, 115, 176, 0.18);
  --panel-bg: rgba(16, 42, 84, 0.92);
  --panel-border: #1373b0;
  --field-bg: #0a1f44;
  --field-border: #16356b;
  --soft-bg: #eef6fc;
  --soft-bg-2: #f4f9fd;

  --hero-muted: #afc0da;
  --on-panel: #ffffff;
  --on-panel-muted: #afc0da;

  --badge-bg: #102a54;
  --badge-border: #1373b0;
  --badge-text: #5cc8ff;
  --cta-grad: linear-gradient(120deg, #0d5c8f 0%, #3bb0f0 60%, #0a1f44 100%);
  --footer-bg: #07172e;
}

/* ==========================================================================
   2. BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
h1, h2, h3, h4, h5, h6 {
  margin: 0; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em;
  font-family: var(--font); color: inherit;
}
p, button, input, select, textarea { font-family: var(--font); }
p { margin: 0; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--soft { background: var(--soft-bg-2); }

.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 600; letter-spacing: 0.6px;
  text-transform: uppercase; color: var(--accent-text);
  margin-bottom: 14px;
}
.sec-head { text-align: center; max-width: 800px; margin: 0 auto 56px; }
.sec-head h2 { font-size: clamp(26px, 3.2vw, 36px); color: var(--ink); }
.sec-head p { margin-top: 14px; color: var(--body-text); font-size: 17px; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-size: 16px; font-weight: 600;
  padding: 15px 30px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--btn-grad); color: #fff !important;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  text-align: center; line-height: 1.2;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.btn--ghost { background: transparent; border: 1.5px solid #7a7e83; }
.theme-navy .btn--ghost { border-color: #8298b8; }
.btn--ghost:hover { box-shadow: none; border-color: #fff; }
.btn--light { background: #fff; color: var(--primary) !important; }
.btn--sm { padding: 10px 22px; font-size: 14px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

/* ==========================================================================
   3. HEADER + NAV
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--hero-bg);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header .container {
  max-width: 1340px; display: flex; align-items: center;
  justify-content: space-between; height: 72px; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; }
.brand__logo {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--btn-grad);
  display: grid; place-items: center; color: #fff; flex: none;
}
.brand__name { font-size: 18px; letter-spacing: .5px; line-height: 1; }
.brand__tag { display: block; font-size: 9.5px; font-weight: 500; letter-spacing: 2px; color: var(--hero-muted); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav > a, .nav-item > button {
  background: none; border: 0; cursor: pointer; font-family: var(--font);
  color: #fff; font-size: 15px; font-weight: 500; padding: 8px 0;
}
.nav > a:hover, .nav-item > button:hover { color: var(--accent-text); }
.nav-item { position: relative; }

/* Submenu Productos (simplificado: Hogar / Negocio) */
.submenu {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  background: #fff; border-radius: 16px; padding: 12px;
  box-shadow: 0 24px 60px rgba(0,0,0,.28);
  display: none; flex-direction: column; gap: 8px; width: max-content; min-width: 300px;
}
/* Puente invisible: evita perder el hover en el hueco entre botón y submenu */
.submenu::before { content: ''; position: absolute; top: -14px; left: 0; right: 0; height: 16px; }
.nav-item:hover .submenu, .nav-item.open .submenu { display: flex; }
.submenu__link {
  display: flex; flex-direction: column; gap: 2px;
  padding: 12px 16px; border-radius: 12px; border: 1px solid #eceef0;
  color: #26282b; text-decoration: none;
  transition: background .15s ease, border-color .15s ease;
}
.submenu__link:hover { background: #f7f8f9; }
.submenu__link .submenu__k { font-size: 15.5px; font-weight: 700; line-height: 1.2; }
.submenu__link .submenu__v { font-size: 13px; font-weight: 500; color: var(--muted); }
.submenu__link--hogar:hover { border-color: #f4c6d8; }
.submenu__link--hogar:hover .submenu__k { color: #d2255e; }
.submenu__link--negocio:hover { border-color: #bcd8ee; }
.submenu__link--negocio:hover .submenu__k { color: #1373b0; }
.submenu--2col { flex-direction: row; gap: 14px; min-width: 540px; align-items: stretch; }
.submenu--2col .submenu__col { display: flex; flex-direction: column; gap: 6px; min-width: 244px; }
.submenu--2col .submenu__title { font-size: 11px; font-weight: 700; letter-spacing: 1.1px; text-transform: uppercase; color: var(--muted); padding: 2px 6px 8px; margin: 0; }
@media (max-width: 960px) { .submenu--2col { flex-direction: column; min-width: 0; } }
.submenu--simple { min-width: 320px; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 42px; height: 42px; color: #fff;
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 960px) {
  .nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--hero-bg); flex-direction: column; align-items: stretch;
    padding: 18px 24px 28px; gap: 4px;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .nav.open { display: flex; }
  .nav > a, .nav-item > button { padding: 12px 0; text-align: left; width: 100%; font-size: 16px; }
  .nav-toggle { display: grid; place-items: center; }
  .submenu {
    position: static; transform: none; box-shadow: none; border-radius: 12px;
    flex-direction: column; gap: 14px; min-width: 0; width: 100%; padding: 16px;
    margin: 6px 0 10px;
  }
  .header-cta { display: none; }
}

/* ==========================================================================
   4. HERO
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  background: var(--hero-bg); color: #fff;
  padding: 84px 0 96px;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
  filter: blur(60px);
}
.hero::before {
  width: 640px; height: 640px; right: -180px; top: -160px;
  background: radial-gradient(circle, var(--hero-glow-1), transparent 65%);
}
.hero::after {
  width: 460px; height: 460px; left: -120px; bottom: -180px;
  background: radial-gradient(circle, var(--hero-glow-2), transparent 65%);
}
.hero .container { position: relative; z-index: 1; display: flex; gap: 60px; align-items: center; }
.hero__left { flex: 1; min-width: 0; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--badge-bg); border: 1px solid var(--badge-border);
  color: var(--badge-text); border-radius: 999px;
  padding: 7px 14px 7px 12px; font-size: 12px; font-weight: 600; letter-spacing: .6px;
  margin-bottom: 24px;
}
.hero__badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
.hero__title { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.06; letter-spacing: -0.02em; color: #fff !important; }
.hero, .hero p, .article-hero, .article-hero h1, .cta-band, .cta-band h2 { font-family: var(--font); }
.article-hero h1, .cta-band h2 { color: #fff !important; }
.hero__sub { margin-top: 24px; color: var(--hero-muted); font-size: 19px; max-width: 560px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 34px; }
.hero__trust span { display: inline-flex; align-items: center; gap: 8px; color: var(--hero-muted); font-size: 14px; font-weight: 500; }
.hero__trust svg { width: 18px; height: 18px; color: var(--primary); flex: none; }
.theme-navy .hero__trust svg { color: #3bb0f0; }

/* Lead form (tarjeta del hero) */
.lead-card {
  width: 400px; flex: none;
  background: var(--panel-bg); border: 1px solid var(--panel-border);
  border-radius: var(--radius-card); padding: 30px 28px;
  display: flex; flex-direction: column; gap: 18px;
}
.lead-card h3 { font-size: 24px; color: var(--on-panel); }
.lead-card > p { color: var(--on-panel-muted); font-size: 15px; }
.seg { display: flex; gap: 6px; background: var(--field-bg); border-radius: 999px; padding: 5px; }
.seg button {
  flex: 1; border: 0; border-radius: 999px; padding: 10px; cursor: pointer;
  font-family: var(--font); font-size: 15px; font-weight: 600;
  background: transparent; color: var(--muted);
}
.theme-navy .seg button { color: #8298b8; }
.seg button.active { background: var(--btn-grad); color: #fff; }
.lead-card select, .lead-card input {
  width: 100%; font-family: var(--font); font-size: 15px;
  background: var(--field-bg); color: var(--on-panel);
  border: 1.5px solid var(--field-border); border-radius: var(--radius-field);
  padding: 14px 16px; appearance: none;
}
.lead-card .fld { position: relative; }
.lead-card .fld::after {
  content: "▾"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  color: var(--muted); pointer-events: none; font-size: 14px;
}
.lead-card__steps { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 500; }
.theme-navy .lead-card__steps { color: #8298b8; }
.lead-card__steps i { width: 7px; height: 7px; border-radius: 50%; background: var(--field-border); }
.lead-card__steps i.on { background: var(--primary); }
.lead-card__note { text-align: center; font-size: 12px; color: var(--muted); }
.theme-navy .lead-card__note { color: #8298b8; }

@media (max-width: 960px) {
  .hero .container { flex-direction: column; align-items: stretch; }
  .lead-card { width: 100%; }
  .hero { padding: 56px 0 64px; }
}

/* Hero de páginas de servicio (con ilustración) */
.hero--service .container { align-items: center; }
.hero__art {
  flex: 1; min-height: 320px; align-self: stretch;
  border: 1.5px dashed var(--panel-border); border-radius: var(--radius-card);
  display: grid; place-items: center; color: var(--hero-muted); font-size: 14px;
  background: rgba(255,255,255,.03); text-align: center; padding: 20px;
}
.hero__chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__chips span {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255,255,255,.22); border-radius: 999px;
  padding: 8px 16px; font-size: 13.5px; font-weight: 500; color: #fff;
}
.hero__chips svg { width: 15px; height: 15px; color: var(--primary); }
.theme-navy .hero__chips svg { color: #3bb0f0; }

/* ==========================================================================
   5. CARDS DE SERVICIOS
   ========================================================================== */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--card-border); border-radius: var(--radius-card);
  padding: 24px 22px; display: flex; flex-direction: column; gap: 14px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(0,0,0,.10); border-color: var(--primary); }
.card__ic {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--soft-bg); color: var(--primary);
  display: grid; place-items: center;
}
.theme-navy .card__ic { background: #eaf5fd; color: #1373b0; }
.card__ic svg { width: 26px; height: 26px; }
.card__img {
  background: var(--field-bg); border-radius: 12px; min-height: 130px;
  display: grid; place-items: center; color: var(--muted); font-size: 12.5px;
}
.theme-navy .card__img { background: #f0f5fa; }
.card h3 { font-size: 19px; }
.card p { color: var(--body-text); font-size: 14.5px; flex: 1; }
.card__link { font-weight: 600; font-size: 14.5px; color: var(--primary); }
.card__link:hover { text-decoration: underline; }

/* ==========================================================================
   6. PASOS (Así funciona)
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.step {
  background: #fff; border: 1px solid var(--card-border); border-radius: var(--radius-card);
  padding: 26px 22px;
}
.step__n {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--btn-grad); color: #fff; font-weight: 700;
  display: grid; place-items: center; margin-bottom: 16px;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--body-text); font-size: 14.5px; }

/* ==========================================================================
   7. COTIZADOR (wizard)
   ========================================================================== */
.wizard {
  max-width: 720px; margin: 0 auto;
  background: #fff; border: 1px solid var(--card-border); border-radius: var(--radius-card);
  box-shadow: 0 24px 64px rgba(0,0,0,.08);
  padding: 40px clamp(22px, 5vw, 48px);
}
.wizard__track { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.wizard__dot {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  border: 2px solid var(--field-border); color: var(--muted);
  display: grid; place-items: center; font-size: 14px; font-weight: 600;
  background: #fff; transition: all .2s ease;
}
.wizard__dot.on { background: var(--btn-grad); border-color: transparent; color: #fff; }
.wizard__line { height: 2px; flex: 1; background: var(--card-border); }
.wizard__label { text-align: center; color: var(--muted); font-size: 13.5px; font-weight: 500; margin-bottom: 26px; }
.wizard h3 { text-align: center; font-size: clamp(20px, 2.6vw, 26px); margin-bottom: 28px; }

.wizard__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.wizard__opt {
  border: 1.5px solid var(--card-border); border-radius: 16px;
  padding: 26px 18px; cursor: pointer; background: #fff;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-family: var(--font); font-size: 16px; font-weight: 600; color: var(--ink);
  transition: all .15s ease;
}
.wizard__opt svg { width: 30px; height: 30px; color: var(--primary); }
.wizard__opt:hover { border-color: var(--primary); }
.wizard__opt.sel { border-color: var(--primary); background: var(--soft-bg); box-shadow: 0 0 0 1px var(--primary) inset; }
.theme-navy .wizard__opt.sel { background: #eaf5fd; }

.wizard__fields { display: flex; flex-direction: column; gap: 14px; max-width: 460px; margin: 0 auto; }
.wizard__fields input {
  width: 100%; box-sizing: border-box;
  font-family: var(--font); font-size: 15px;
  background: var(--soft-bg-2); border: 1.5px solid var(--field-border);
  border-radius: var(--radius-field); padding: 14px 16px; color: var(--ink);
}
.theme-navy .wizard__fields input { background: #f4f9fd; border-color: #c6d6e4; }
.wizard__fields input:focus { outline: none; border-color: var(--primary); }
.wizard__fields .error { border-color: #d2255e; }

.wizard__nav { display: flex; justify-content: space-between; align-items: center; margin-top: 32px; }
.wizard__back {
  background: none; border: 1.5px solid var(--field-border); border-radius: 999px;
  font-family: var(--font); font-size: 15px; font-weight: 600; color: var(--muted);
  padding: 12px 24px; cursor: pointer;
}
.wizard__back:hover { border-color: var(--muted); color: var(--ink); }
.wizard__msg { text-align: center; padding: 30px 10px; }
.wizard__msg h4 { font-size: 22px; margin-bottom: 10px; }
.wizard__msg p { color: var(--body-text); margin-bottom: 22px; }
.wizard__wa {
  display: inline-flex; align-items: center; gap: 10px;
  background: #25d366; color: #fff !important; font-weight: 600;
  border-radius: 999px; padding: 14px 28px;
}
@media (max-width: 640px) { .wizard__opts { grid-template-columns: 1fr; } }

/* ==========================================================================
   8. SPLIT (Monitoreo / ISOC / Tranquilidad)
   ========================================================================== */
.split { display: flex; gap: 56px; align-items: center; }
.split__art {
  flex: 1; min-height: 380px; align-self: stretch;
  border: 1.5px dashed var(--primary); border-radius: var(--radius-card);
  display: grid; place-items: center; color: var(--muted); font-size: 14px;
  background: var(--soft-bg-2); text-align: center; padding: 20px;
}
.split__body { flex: 1; }
.split__body h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 16px; }
.split__body > p { color: var(--body-text); font-size: 16.5px; margin-bottom: 26px; }
.bullets { display: flex; flex-direction: column; gap: 18px; }
.bullet { display: flex; gap: 14px; }
.bullet__ck {
  width: 26px; height: 26px; border-radius: 50%; flex: none; margin-top: 2px;
  background: var(--btn-grad); color: #fff; display: grid; place-items: center;
}
.bullet__ck svg { width: 13px; height: 13px; }
.bullet h4 { font-size: 16px; margin-bottom: 3px; }
.bullet p { color: var(--body-text); font-size: 14.5px; }
.split--rev { flex-direction: row-reverse; }
@media (max-width: 900px) { .split, .split--rev { flex-direction: column; } .split__art { width: 100%; min-height: 260px; } }

/* Fila de dos ilustraciones (página de servicio · Monitoreo de alarmas) */
.dual-art { display: flex; gap: 24px; align-items: stretch; }
.dual-art .split__art { flex: 1; width: auto; min-height: 320px; margin: 0; }
@media (max-width: 720px) { .dual-art { flex-direction: column; } }

/* ==========================================================================
   9. COMPARATIVO
   ========================================================================== */
.compare { max-width: 900px; margin: 0 auto; border: 1px solid var(--card-border); border-radius: var(--radius-card); overflow: hidden; }
.compare table { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-top: 1px solid var(--card-border); }
.compare thead th { border-top: 0; font-size: 13px; letter-spacing: .4px; text-transform: uppercase; color: var(--muted); background: var(--soft-bg-2); }
.compare th.atlas, .compare td.atlas { text-align: center; background: var(--hero-bg); color: #fff; width: 180px; }
.compare thead th.atlas { background: var(--hero-bg); color: #fff; }
.compare td.trad { text-align: center; color: var(--muted); width: 160px; }
.compare .yes { color: #2fbf71; font-weight: 700; }
.compare td.atlas .yes { color: #6ee7a8; }
.theme-navy .compare td.atlas .yes { color: #5cc8ff; }
.compare .no { color: #c2c7cc; }
@media (max-width: 720px) { .compare { overflow-x: auto; } .compare table { min-width: 560px; } }

/* ==========================================================================
   10. BENEFICIOS / CARACTERÍSTICAS / DISPOSITIVOS
   ========================================================================== */
.feat-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.feat {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff; border: 1px solid var(--card-border); border-radius: 16px; padding: 18px;
}
.feat p { color: var(--ink); font-size: 15px; font-weight: 500; }
.feat .bullet__ck { margin-top: 0; }

.devices { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.device { background: #fff; border: 1px solid var(--card-border); border-radius: var(--radius-card); padding: 20px; }
.device__img { background: var(--field-bg); border-radius: 12px; min-height: 120px; display: grid; place-items: center; color: var(--muted); font-size: 12.5px; margin-bottom: 14px; }
.device h3 { font-size: 17px; margin-bottom: 10px; }
.device ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 7px; }
.device li { display: flex; gap: 8px; font-size: 14px; color: var(--body-text); }
.device li::before { content: "✓"; color: var(--primary); font-weight: 700; }

/* ==========================================================================
   11. CIFRAS / CERTIFICACIONES / INDUSTRIAS
   ========================================================================== */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 22px; text-align: center; }
.stat { background: #fff; border: 1px solid var(--card-border); border-radius: var(--radius-card); padding: 30px 18px; }
.stat b { display: block; font-size: clamp(28px, 3.4vw, 38px); color: var(--primary); letter-spacing: -0.02em; }
.stat span { color: var(--body-text); font-size: 15px; }
.badges-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.badges-row span {
  border: 1.5px solid var(--card-border); border-radius: 999px; padding: 12px 26px;
  font-weight: 600; font-size: 15px; color: var(--ink); background: #fff;
}
.industries { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.industry {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--card-border); border-radius: 14px;
  padding: 16px 18px; font-weight: 600; font-size: 15px;
}
.industry svg { width: 22px; height: 22px; color: var(--primary); flex: none; }

/* Testimonio */
.quote { max-width: 760px; margin: 0 auto; text-align: center; }
.quote blockquote { margin: 0; font-size: clamp(19px, 2.4vw, 24px); font-weight: 500; line-height: 1.5; color: var(--ink); }
.quote blockquote::before { content: "“"; display: block; font-size: 64px; line-height: .6; color: var(--primary); margin-bottom: 18px; }
.quote figcaption { margin-top: 22px; color: var(--body-text); font-size: 15px; }
.quote figcaption b { color: var(--ink); display: block; font-size: 16px; }

/* ==========================================================================
   12. CTA FINAL
   ========================================================================== */
.cta-band { background: var(--cta-grad); color: #fff; text-align: center; padding: 84px 0; }
.cta-band h2 { font-size: clamp(26px, 3.4vw, 38px); }
.cta-band p { margin: 16px auto 30px; font-size: 17px; max-width: 640px; opacity: .95; }
.cta-band .row { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; align-items: center; }
.cta-band a.wa { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   13. FOOTER
   ========================================================================== */
.site-footer { background: var(--footer-bg); color: #c9ccd1; padding: 64px 0 0; }
.site-footer .cols {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px;
}
.site-footer h5 {
  margin: 0 0 16px; font-size: 12px; letter-spacing: 1.4px; color: #8b9096;
  text-transform: uppercase; font-weight: 600;
}
.theme-navy .site-footer h5 { color: #8298b8; }
.site-footer a { display: block; color: #c9ccd1; font-size: 14.5px; padding: 5px 0; }
.site-footer a:hover { color: #fff; }
.site-footer .about p { font-size: 14.5px; margin-top: 14px; max-width: 260px; color: #9ea3a9; }
.theme-navy .site-footer .about p { color: #afc0da; }
.site-footer .legal {
  border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; text-align: center;
  font-size: 13px; color: #8b9096;
}
@media (max-width: 860px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer .cols { grid-template-columns: 1fr; } }

/* ==========================================================================
   14. ARTÍCULOS (Centro de Conocimiento)
   ========================================================================== */
.article-hero { background: var(--hero-bg); color: #fff; padding: 72px 0; position: relative; overflow: hidden; }
.article-hero::before {
  content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px;
  border-radius: 50%; filter: blur(60px);
  background: radial-gradient(circle, var(--hero-glow-1), transparent 65%);
}
.article-hero .container { position: relative; max-width: 860px; }
.article-hero h1 { font-size: clamp(28px, 3.6vw, 42px); }
.article-hero .meta { margin-top: 16px; color: var(--hero-muted); font-size: 14.5px; }
.article-body { max-width: 760px; margin: 0 auto; padding: 72px 24px; }
.article-body p { color: #3d3f42; font-size: 17px; margin-bottom: 24px; line-height: 1.75; }
.article-body h2 { font-size: 25px; margin: 40px 0 16px; }
.article-body ul { margin: 0 0 24px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.article-body li { display: flex; gap: 12px; font-size: 16.5px; color: #3d3f42; line-height: 1.6; }
.article-body li::before { content: "•"; color: var(--primary); font-weight: 700; font-size: 20px; line-height: 1.3; }

/* Accesibilidad */
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 4px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Comparativo: columna Atlas con esquinas redondeadas */
.compare thead th.atlas { border-radius: 14px 14px 0 0; }
.compare tbody tr:last-child td.atlas { border-radius: 0 0 14px 14px; }
.compare tbody td:first-child { font-weight: 500; color: var(--ink); }

/* ==========================================================================
   15. v1.0.2 — Fidelidad al Figma (Home — Magenta)
   ========================================================================== */

/* Header claro en rama Personas */
.site-header { background: #fff; border-bottom: 1px solid #ececec; }
.site-header .brand { color: #151515; }
.site-header .brand__tag { color: #7a7e83; }
.nav > a, .nav-item > button { color: #26282b; }
.nav > a:hover, .nav-item > button:hover { color: var(--primary); }
.nav-toggle { color: #151515; }
.brand img.brand__img { height: 40px; max-height: 40px; width: auto; display: block; }
/* Header: color sobre fondo blanco (Personas), blanco sobre navy (Empresa) */
.site-header .brand img.brand__img--color { display: block; }
.site-header .brand img.brand__img--white { display: none; }
/* Footer: logo blanco un poco más grande */
.site-footer .brand img.brand__img { height: 44px; max-height: 44px; }
@media (max-width: 960px) {
  .nav { background: #fff; border-bottom: 1px solid #ececec; }
}

/* Header oscuro se conserva en rama Empresa (navy) */
.theme-navy .site-header { background: var(--hero-bg); border-bottom: 1px solid rgba(255,255,255,.08); }
.theme-navy .site-header .brand { color: #fff; }
.theme-navy .site-header .brand__tag { color: var(--hero-muted); }
.theme-navy .nav > a, .theme-navy .nav-item > button { color: #fff; }
.theme-navy .nav > a:hover, .theme-navy .nav-item > button:hover { color: var(--accent-text); }
.theme-navy .nav-toggle { color: #fff; }
@media (max-width: 960px) {
  .theme-navy .nav { background: var(--hero-bg); border-bottom: 1px solid rgba(255,255,255,.1); }
}

/* Hero con degradado magenta intenso (Figma Home — Magenta) */
body:not(.theme-navy) .hero {
  background:
    radial-gradient(860px 560px at -6% -12%, rgba(210, 37, 94, 0.62), transparent 62%),
    radial-gradient(760px 520px at 104% 112%, rgba(168, 26, 75, 0.60), transparent 62%),
    radial-gradient(520px 380px at 55% 118%, rgba(210, 37, 94, 0.28), transparent 65%),
    #151515;
}
body:not(.theme-navy) .hero::before { background: radial-gradient(circle, rgba(210,37,94,.25), transparent 65%); }
body:not(.theme-navy) .article-hero {
  background:
    radial-gradient(700px 460px at 108% -20%, rgba(210, 37, 94, 0.5), transparent 62%),
    radial-gradient(560px 420px at -8% 115%, rgba(168, 26, 75, 0.4), transparent 62%),
    #151515;
}

/* Sección con brillos rosados (Monitoreo) */
.section--glow { position: relative; overflow: hidden; background: #fff; }
.section--glow::before, .section--glow::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none;
}
.section--glow::before { width: 560px; height: 560px; left: -180px; top: -140px; background: radial-gradient(circle, rgba(210,37,94,.20), transparent 65%); }
.section--glow::after { width: 560px; height: 560px; right: -180px; bottom: -160px; background: radial-gradient(circle, rgba(210,37,94,.18), transparent 65%); }
.section--glow .container { position: relative; z-index: 1; }
.theme-navy .section--glow::before { background: radial-gradient(circle, rgba(59,176,240,.16), transparent 65%); }
.theme-navy .section--glow::after { background: radial-gradient(circle, rgba(59,176,240,.14), transparent 65%); }

/* Servicio


/* ==========================================================================
   16. Captcha simple (anti-robot, sin plugins)
   ========================================================================== */
.captcha { margin: 6px 0 14px; text-align: left; }
.captcha__q { display: block; font-size: 13.5px; color: var(--on-panel-muted); margin-bottom: 8px; }
.captcha__q b { color: var(--on-panel); font-weight: 700; }
.captcha__in {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-field);
  border: 1px solid var(--field-border); background: var(--field-bg);
  font-size: 15px; color: var(--on-panel); font-family: var(--font);
}
.captcha__in:focus { outline: none; border-color: var(--primary); }
.captcha__in.error,
.captcha--error .captcha__in { border-color: #e0294e; background: #fdecef; }


/* ==========================================================================
   17. Ajustes v1.0.6 — sección Hogar, split features, errores de campo
   ========================================================================== */
.section--pink { background: var(--soft-bg); }
.split .feat-list { grid-template-columns: 1fr; gap: 14px; }
.split .split__body .eyebrow { margin-bottom: 10px; }
.split .split__body h2 { margin-bottom: 22px; }

/* Manejo de errores en inputs del cotizador */
.wizard__fields .field { display: flex; flex-direction: column; gap: 5px; }
.field-err { color: #e0294e; font-size: 12.5px; line-height: 1.3; display: none; }
.field-err.show { display: block; }

/* ==========================================================================
   18. Imágenes reales en recuadros de ilustración + carrusel Empresa
   ========================================================================== */
.card__img, .split__art, .hero__art, .dual-art .split__art, .emp-carousel__slide { overflow: hidden; }
.ph-img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; border-radius: inherit; }
.ph-img--contain { object-fit: contain; }
.ph-img--pos-left { object-position: left center; }
.split__art:has(.ph-img--contain), .hero__art:has(.ph-img--contain), .dual-art .split__art:has(.ph-img--contain) { background: #eaeef3; }
.card__img:has(.ph-img), .split__art:has(.ph-img), .hero__art:has(.ph-img) { border: 0; padding: 0; background: var(--soft-bg-2); }
.card__img { min-height: 0; aspect-ratio: 16 / 10; }
.hero--service .hero__art:has(.ph-img) { align-self: stretch; }

.emp-carousel { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--radius-card); scrollbar-width: thin; }
.emp-carousel__slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 16 / 8; background: var(--soft-bg-2); border-radius: var(--radius-card); }
.emp-carousel::-webkit-scrollbar { height: 8px; }
.emp-carousel::-webkit-scrollbar-thumb { background: rgba(19,115,176,.35); border-radius: 4px; }
@media (max-width: 640px){ .emp-carousel__slide { aspect-ratio: 4 / 3; } }


/* ==========================================================================
   19. Thank-you page (/gracias/)
   ========================================================================== */
.thankyou { text-align: center; }
.thankyou__badge { font-size: 54px; line-height: 1; margin-bottom: 18px; }
.thankyou h1 { font-size: clamp(28px, 4vw, 40px); color: var(--ink); }
.thankyou__lead { margin: 18px auto 30px; max-width: 560px; color: var(--body-text); font-size: 17px; }
.thankyou__ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.thankyou .btn--ghost { color: var(--primary) !important; border-color: var(--primary); background: #fff; }
.thankyou .btn--ghost:hover { background: var(--primary); color: #fff !important; }

/* ==========================================================================
   20. Centro de Conocimiento — listas, firma y navegación entre posts
   ========================================================================== */
.article-body ol { margin: 14px 0 22px; padding-left: 22px; }
.article-body ol li { margin: 8px 0; color: var(--body-text); }
.article-sign { margin-top: 34px; font-weight: 700; color: var(--accent-text); font-size: 18px; }
.article-nav-wrap { background: var(--soft-bg-2); }
.article-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 18px 0 28px; }
.article-nav__card { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: var(--radius-card); border: 1px solid var(--card-border); background: var(--panel-bg); color: var(--on-panel); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.article-nav__card:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,0,0,.10); border-color: var(--primary); }
.article-nav__card.is-active { border-color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); }
.article-nav__k { font-size: 11px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--accent-text); }
.article-nav__t { font-size: 15.5px; font-weight: 700; line-height: 1.3; color: var(--on-panel); }
.article-nav__cta { text-align: center; }
@media (max-width: 820px) { .article-nav { grid-template-columns: 1fr; } }

/* ==========================================================================
   21. Logo Atlas Vivo Seguro en páginas Empresa (navy) + ajustes hero
   ========================================================================== */
.site-header .brand img.brand__img--empresa { display: none; }
.theme-navy .site-header .brand img.brand__img--color { display: none; }
.theme-navy .site-header .brand img.brand__img--white { display: none; }
.theme-navy .site-header .brand img.brand__img--empresa { display: block; }
/* Hero de servicio en contain: que se vea completa la foto, marco sutil en navy */
.hero--service .hero__art:has(.ph-img--contain) { background: rgba(255,255,255,.05); min-height: 440px; }
/* Aire entre el subtítulo del hero y los bullets */
.hero__left .bullets { margin-top: 26px; }

/* ==========================================================================
   22. Ajustes v1.0.22 — hero contain ajustado, captcha en tarjeta clara
   ========================================================================== */
/* Hero de servicio con imagen completa: el contenedor se ajusta a la imagen
   (sin caja alta vacía), más ancho y pegado a la izquierda. */
.hero--service .hero__art:has(.ph-img--contain) {
  align-self: center; min-height: 0; padding: 0;
  background: transparent; border: 0; flex: 1.2;
}
.hero--service .hero__art:has(.ph-img--contain) .ph-img--contain {
  width: 100%; height: auto; object-fit: contain; border-radius: var(--radius-card);
}
/* Captcha dentro del wizard: misma apariencia que los demás inputs (tarjeta blanca) */
.wizard .captcha__q { color: var(--body-text); }
.wizard .captcha__q b { color: var(--ink); }
.wizard .captcha__in {
  background: var(--soft-bg-2); border: 1.5px solid var(--field-border); color: var(--ink);
}
.theme-navy .wizard .captcha__q { color: #5e5e5d; }
.theme-navy .wizard .captcha__q b { color: #151515; }
.theme-navy .wizard .captcha__in { background: #f4f9fd; border-color: #c6d6e4; color: #151515; }

/* Footer: mismo logo que el navbar según la rama (magenta = Grupo Atlas, empresa = Vivo Seguro) */
.site-footer .brand img.brand__img--white { display: block; }
.site-footer .brand img.brand__img--empresa { display: none; }
.theme-navy .site-footer .brand img.brand__img--white { display: none; }
.theme-navy .site-footer .brand img.brand__img--empresa { display: block; }

/* ==========================================================================
   23. Checkbox de términos en lead card + página legal (v1.0.27)
   ========================================================================== */
.lead-card__terms { display: flex; align-items: flex-start; gap: 9px; font-size: 12px; line-height: 1.45; color: var(--on-panel-muted); margin: 2px 0 12px; text-align: left; cursor: pointer; }
.lead-card__terms > span { flex: 1; }
.lead-card__terms input { -webkit-appearance: none; appearance: none; flex: none; width: 18px; height: 18px; margin: 1px 0 0; border: 2px solid var(--field-border); border-radius: 5px; background: #fff; cursor: pointer; position: relative; transition: background .12s ease, border-color .12s ease; }
.lead-card__terms input:checked { background: var(--primary); border-color: var(--primary); }
.lead-card__terms input:checked::after { content: ''; position: absolute; left: 50%; top: 45%; width: 5px; height: 10px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: translate(-50%, -50%) rotate(45deg); }
.lead-card__terms a { color: var(--accent-text); text-decoration: underline; }
/* Dispositivos transparentes: el contenedor claro se ve a través (sin azul) */
.emp-carousel__slide:has(.ph-img) { background: #ffffff; }
.dual-art .split__art:has(.ph-img--contain) { background: #ffffff; }
.legal-body { max-width: 860px; }
.legal-body h2 { font-size: clamp(18px, 2.4vw, 22px); color: var(--ink); margin: 30px 0 10px; }
.legal-body p { margin: 0 0 12px; color: var(--body-text); font-size: 15px; line-height: 1.7; }
.legal-body ul { margin: 0 0 16px; padding-left: 22px; }
.legal-body li { margin: 6px 0; color: var(--body-text); font-size: 15px; line-height: 1.6; }
.legal-body strong { color: var(--ink); }
