/* =========================================================
   CONEXICA — estilos
   Paleta tomada del logo. Hexágonos como motivo. Móvil primero.
   ========================================================= */
:root {
  --charcoal: #12151a;
  --charcoal-2: #1a1f26;
  --ink: #151a22;
  --navy: #0a2c5a;
  --navy-2: #0d3670;
  --blue: #1362b4;
  --blue-2: #2e74d6;
  --blue-3: #4d90ee;
  --steel: #5c636e;
  --muted: #566170;
  --line: #dce1e8;
  --paper: #f3f5f8;
  --white: #fff;
  --wa: #128c4a;
  --wa-hover: #0f7a40;
  --radius: 8px;
  --shadow: 0 12px 32px rgba(10, 44, 90, 0.1);
  --header-h: 68px;
  --gutter: 20px;
  --font-head: 'Montserrat', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--blue); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }

:focus-visible { outline: 3px solid var(--blue-3); outline-offset: 3px; border-radius: 4px; }

.container { width: min(1180px, 100% - var(--gutter) * 2); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 12px; top: -80px; z-index: 200; background: #fff; color: var(--ink);
  padding: 10px 16px; border-radius: 6px; font-weight: 600; text-decoration: none;
  box-shadow: var(--shadow); transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ------------------------------------------------ botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; min-height: 48px; border-radius: var(--radius);
  font: 700 0.95rem/1.1 var(--font-head); letter-spacing: 0.01em; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s, color 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 9px 14px; min-height: 40px; font-size: 0.85rem; }
.btn-block { width: 100%; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-hover); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--navy); }
.btn-ghost-light { color: #fff; background: transparent; border-color: rgba(255, 255, 255, 0.4); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }

/* ------------------------------------------------ cabecera */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  color: #fff; transition: background-color 0.25s, box-shadow 0.25s, color 0.25s;
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 32px; width: auto; }
.brand-on-light { display: none; }

.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 6px; }
.site-nav a {
  display: block; padding: 10px 12px; color: inherit; text-decoration: none; white-space: nowrap;
  font: 600 0.9rem var(--font-head); letter-spacing: 0.01em; position: relative;
}
.site-nav a::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px;
  background: var(--blue-3); transform: scaleX(0); transform-origin: left; transition: transform 0.25s;
}
.site-nav a:hover::after, .site-nav a.is-active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch {
  color: inherit; text-decoration: none; font: 700 0.8rem var(--font-head); letter-spacing: 0.08em;
  padding: 8px 10px; border: 1px solid currentColor; border-radius: 6px; opacity: 0.85;
}
.lang-switch:hover { opacity: 1; }
.nav-toggle {
  display: none; align-items: center; justify-content: center; width: 44px; height: 44px;
  background: none; border: 0; color: inherit; cursor: pointer; border-radius: 8px;
}
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }
.menu-open .nav-toggle .icon-menu { display: none; }
.menu-open .nav-toggle .icon-close { display: block; }

.site-header.is-scrolled,
.site-header.is-solid {
  background: rgba(255, 255, 255, 0.94); color: var(--ink);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  box-shadow: 0 1px 0 var(--line);
}
.is-scrolled .brand-on-dark, .is-solid .brand-on-dark { display: none; }
.is-scrolled .brand-on-light, .is-solid .brand-on-light { display: block; }
.site-header.menu-open { background: var(--charcoal); color: #fff; box-shadow: none; }
.menu-open .brand-on-dark { display: block !important; }
.menu-open .brand-on-light { display: none !important; }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0; background: var(--charcoal); color: #fff;
    padding: 8px var(--gutter) 28px; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }
  .menu-open .site-nav { opacity: 1; visibility: visible; transform: none; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { padding: 16px 4px; font-size: 1.05rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .site-nav a::after { display: none; }
  .header-actions { margin-left: auto; }
}
.nav-lang { display: none; }
@media (max-width: 520px) {
  .header-inner { gap: 12px; }
  .header-actions { gap: 6px; }
  .header-actions .btn-wa span { display: none; }
  .header-actions .btn-wa { padding: 0; width: 44px; height: 44px; }
  .brand img { height: 24px; }
  .lang-switch { padding: 8px; font-size: 0.75rem; }
}
@media (max-width: 400px) {
  .lang-switch { display: none; }
  .nav-lang { display: block; }
}

/* ------------------------------------------------ hero */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 520px at 88% 18%, rgba(19, 98, 180, 0.38), transparent 62%),
    radial-gradient(760px 520px at 0% 100%, rgba(10, 44, 90, 0.6), transparent 60%),
    var(--charcoal);
  padding-top: calc(var(--header-h) + clamp(48px, 10vh, 112px));
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-mark {
  position: absolute; right: -7%; top: 46%; width: min(54vw, 660px); height: auto;
  transform: translateY(-50%); opacity: 0.11;
}
.hero-inner { position: relative; padding-bottom: clamp(40px, 6vw, 64px); }
.hero-inner > * { max-width: 780px; }
.hero h1 {
  max-width: 1040px; font-weight: 800; font-size: clamp(2.35rem, 6vw, 4.5rem); line-height: 1.04; letter-spacing: -0.025em; margin: 14px 0 22px;
}
.hero h1 span { display: block; }
.hero .accent { color: var(--blue-3); }
.hero .lead { font-size: clamp(1.05rem, 1.7vw, 1.25rem); color: #c6cedb; max-width: 60ch; margin-bottom: 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { display: flex; align-items: center; gap: 8px; margin: 26px 0 0; color: #9aa7b8; font-size: 0.92rem; }
.hero-meta .icon { color: var(--blue-3); }

.pillars {
  position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  padding-bottom: clamp(44px, 7vw, 72px);
}
.pillar {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px; color: #fff; text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius); transition: border-color 0.2s, background-color 0.2s, transform 0.2s;
}
.pillar:hover { border-color: var(--blue-3); background: rgba(77, 144, 238, 0.1); transform: translateY(-2px); }
.pillar-text { display: grid; line-height: 1.3; }
.pillar-text strong { font: 800 1.05rem var(--font-head); letter-spacing: 0.04em; text-transform: uppercase; }
.pillar-text span { color: #aeb9c8; font-size: 0.92rem; }
@media (max-width: 760px) { .pillars { grid-template-columns: 1fr; } }

/* hexágono: motivo del logo */
.hex {
  display: inline-grid; place-items: center; flex: none; width: 48px; height: 54px; color: #fff;
  font: 700 0.85rem var(--font-head); background: linear-gradient(145deg, var(--blue-2), var(--navy-2));
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.hex--lg { width: 64px; height: 72px; font-size: 1.1rem; }
.hex--sm { width: 30px; height: 34px; font-size: 0.75rem; }

/* ------------------------------------------------ secciones */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section--paper { background: var(--paper); }
.section--navy {
  color: #fff;
  background: radial-gradient(800px 480px at 90% 0%, rgba(46, 116, 214, 0.28), transparent 60%),
    linear-gradient(135deg, #0a2c5a 0%, #0b2447 50%, #12151a 100%);
}
.section--dark {
  color: #fff;
  background: radial-gradient(760px 480px at 100% 0%, rgba(19, 98, 180, 0.28), transparent 62%), var(--charcoal);
}
.section-head { max-width: 780px; margin-bottom: clamp(32px, 5vw, 52px); }
.section h2 {
  font-weight: 800; font-size: clamp(1.7rem, 3.6vw, 2.6rem); letter-spacing: -0.015em; color: var(--navy); margin-bottom: 16px;
}
.section--navy h2, .section--dark h2 { color: #fff; }
.section-lead { font-size: clamp(1.02rem, 1.5vw, 1.15rem); color: var(--muted); }
.section--navy .section-lead, .section--dark .section-lead { color: #c6cedb; }

.eyebrow {
  display: flex; align-items: center; gap: 12px; margin: 0 0 14px; color: var(--blue);
  font: 700 0.78rem var(--font-head); letter-spacing: 0.16em; text-transform: uppercase;
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; flex: none; }
.eyebrow--light { color: var(--blue-3); }

.mini-title {
  font: 700 0.85rem var(--font-head); letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel); margin-bottom: 16px;
}
.mini-title--light { color: #8fa0b8; }

/* quiénes somos */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.split-text p { color: #3b4553; font-size: 1.05rem; }
.acronym { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.acr-card {
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--navy);
  border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow);
}
.acr-card:nth-child(2) { border-top-color: var(--blue); }
.acr-card:nth-child(3) { border-top-color: var(--steel); }
.acr-card:nth-child(4) { border-top-color: var(--blue-2); }
.acr-key { display: block; font: 800 1.9rem var(--font-head); color: var(--navy); letter-spacing: -0.01em; margin-bottom: 4px; }
.acr-card h3 { font-size: 1.02rem; color: var(--ink); margin-bottom: 4px; }
.acr-card p { margin: 0; color: var(--muted); font-size: 0.93rem; }
.statement {
  margin: clamp(40px, 6vw, 64px) 0 0; padding: clamp(28px, 4vw, 48px); background: var(--navy); color: #fff;
  border-left: 4px solid var(--blue-3);
  clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 0 100%);
}
.statement p { margin: 0; font: 600 clamp(1.15rem, 2.3vw, 1.65rem)/1.38 var(--font-head); max-width: 900px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .acronym { grid-template-columns: 1fr; } }

/* fricción -> flujo */
.pairs-head, .pair { display: grid; grid-template-columns: 1fr 64px 1fr; align-items: stretch; }
.pairs-head { margin-bottom: 14px; }
.pairs-head span:nth-child(odd) {
  background: #fff; padding: 16px 22px; font: 800 1.05rem var(--font-head); color: var(--steel);
  border: 1px solid var(--line); border-top: 4px solid var(--steel); border-radius: 4px;
}
.pairs-head span:nth-child(3) { color: var(--navy); border-top-color: var(--navy); }
.pairs { display: grid; gap: 14px; }
.pair-problem {
  background: #e4e8ee; color: #3a4350; padding: 20px 26px; display: flex; align-items: center; border-radius: 4px;
  clip-path: polygon(0 0, 100% 0, 97.5% 22%, 100% 48%, 96.5% 74%, 100% 100%, 0 100%);
}
.pair-standard {
  background: #fff; border: 2px solid var(--navy); color: var(--ink); font-weight: 600; padding: 20px 26px;
  display: flex; align-items: center; border-radius: 4px;
}
.pair-arrow { display: grid; place-items: center; color: var(--navy); }
.pair-arrow .icon { width: 30px; height: 30px; }
@media (max-width: 760px) {
  .pairs-head { display: none; }
  .pair { grid-template-columns: 1fr; gap: 0; }
  .pair-problem { clip-path: none; border-radius: 4px 4px 0 0; }
  .pair-arrow { padding: 6px 0; background: transparent; }
  .pair-arrow .icon { transform: rotate(90deg); }
  .pair-standard { border-radius: 4px; }
}

/* servicios */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow);
}
.service { display: flex; flex-direction: column; border-top: 4px solid var(--navy); }
.service:nth-child(2) { border-top-color: var(--blue); }
.service:nth-child(3) { border-top-color: var(--blue-2); }
.service h3 { font-weight: 800; font-size: 1.35rem; color: var(--navy); margin: 18px 0 4px; }
.service-tag { color: var(--blue); font-weight: 600; font-size: 0.95rem; margin-bottom: 12px; }
.service > p:not(.service-tag) { color: #3b4553; }
.checks { display: grid; gap: 10px; margin-top: 8px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.97rem; }
.checks .icon { width: 18px; height: 18px; margin-top: 4px; color: var(--blue); }
.checks--light .icon { color: var(--blue-3); }
.criteria { margin-top: clamp(40px, 6vw, 64px); }
.criteria-list { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border-top: 1px solid var(--line); }
.crit { padding: 22px 24px 0 0; }
.crit + .crit { padding-left: 24px; border-left: 1px solid var(--line); }
.crit dt { font: 800 1.05rem var(--font-head); color: var(--navy); }
.crit dd { margin: 6px 0 0; color: var(--muted); font-size: 0.95rem; }
@media (max-width: 1024px) { .cards-3 { grid-template-columns: 1fr; max-width: 640px; } }
@media (max-width: 900px) {
  .criteria-list { grid-template-columns: 1fr 1fr; }
  .crit, .crit + .crit { padding: 20px 16px 0 0; border-left: 0; }
}
@media (max-width: 520px) { .criteria-list { grid-template-columns: 1fr; } }

/* asistente de WhatsApp (AI) */
.ai-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 14px; border-radius: 999px;
  background: rgba(46, 116, 214, 0.2); border: 1px solid rgba(77, 144, 238, 0.5); color: #d4e3fc; font-weight: 600; font-size: 0.85rem;
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.6); } 70% { box-shadow: 0 0 0 9px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
@media (prefers-reduced-motion: reduce) { .badge .dot { animation: none; } }
.ai-text .checks { margin: 22px 0; }
.ai-result { border-left: 3px solid var(--blue-3); padding-left: 16px; color: #c6cedb; margin: 0 0 28px; }
.ai-visual { display: grid; justify-items: center; gap: 14px; }
.phone {
  width: min(310px, 100%); background: #0b141a; border: 8px solid #2a3340; border-radius: 38px; overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}
.phone-top { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: #1f2c34; color: #e9edef; font: 600 0.92rem var(--font-body); }
.phone-top img { width: 28px; height: auto; }
.phone-body { display: grid; align-content: start; gap: 10px; min-height: 250px; padding: 18px 14px 26px; }
.bubble { max-width: 82%; padding: 9px 13px; border-radius: 12px; font-size: 0.92rem; line-height: 1.4; color: #e9edef; }
.bubble--bot { background: #202c33; justify-self: start; border-top-left-radius: 3px; }
.bubble--user { background: #005c4b; justify-self: end; border-top-right-radius: 3px; }
.phone-label { margin: 0; color: #9aa7b8; font-size: 0.85rem; }
@media (max-width: 900px) { .ai-grid { grid-template-columns: 1fr; } }

/* método */
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; position: relative; }
.steps::before {
  content: ''; position: absolute; top: 26px; left: 5%; right: 5%; height: 2px;
  background: linear-gradient(90deg, var(--blue-2), var(--navy)); opacity: 0.3;
}
.step { position: relative; }
.step .hex { margin-bottom: 14px; background: linear-gradient(145deg, var(--navy-2), var(--navy)); }
.step h3 { font-weight: 800; font-size: 1.1rem; color: var(--navy); margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 0.93rem; margin: 0; }
.modes-wrap { margin-top: clamp(48px, 7vw, 80px); }
.modes-lead { color: var(--muted); max-width: 60ch; margin-bottom: 24px; }
.modes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mode { padding: 26px 22px; box-shadow: none; }
.mode-k { display: block; font: 800 2.4rem var(--font-head); color: var(--blue); line-height: 1; margin-bottom: 12px; }
.mode h4 { font-weight: 700; font-size: 1.05rem; color: var(--navy); margin-bottom: 8px; }
.mode p { color: var(--muted); font-size: 0.95rem; margin: 0; }
@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .steps::before { display: none; }
  .modes { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .steps { grid-template-columns: 1fr; gap: 0; padding-left: 0; }
  .step { display: grid; grid-template-columns: 54px 1fr; column-gap: 16px; padding-bottom: 26px; }
  .step .hex { grid-row: 1 / span 2; margin: 0; }
  .step::after { content: ''; position: absolute; left: 23px; top: 58px; bottom: 4px; width: 2px; background: var(--line); }
  .step:last-child::after { display: none; }
  .modes { grid-template-columns: 1fr; }
}

/* por qué + sectores */
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.reason { background: var(--paper); border-radius: var(--radius); padding: 26px 24px; }
.reason .hex { margin-bottom: 16px; }
.reason h3 { font-weight: 700; font-size: 1.1rem; color: var(--navy); margin-bottom: 8px; }
.reason p { color: var(--muted); font-size: 0.97rem; margin: 0; }
.sectors-title { margin-top: clamp(48px, 7vw, 80px); }
.sectors {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.sector { background: #fff; padding: 22px 20px; }
.sector h4 { font-weight: 700; font-size: 1rem; color: var(--navy); margin-bottom: 6px; }
.sector p { margin: 0; color: var(--muted); font-size: 0.92rem; }
@media (max-width: 1024px) { .reasons { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .reasons { grid-template-columns: 1fr; } }

/* proyectos: carrusel */
.car-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; }
.car-head .section-head { margin-bottom: clamp(24px, 4vw, 36px); }
.car-controls { display: none; flex: none; gap: 10px; margin-bottom: clamp(24px, 4vw, 36px); }
.js .car-controls { display: flex; }
.car-btn {
  display: grid; place-items: center; width: 48px; height: 48px; border: 1.5px solid var(--navy); border-radius: 50%;
  background: transparent; color: var(--navy); cursor: pointer; transition: background-color 0.2s, color 0.2s, opacity 0.2s;
}
.car-btn:hover:not(:disabled) { background: var(--navy); color: #fff; }
.car-btn:disabled { opacity: 0.3; cursor: default; }
.carousel { --car-h: clamp(250px, 34vw, 420px); }
.car-track {
  --car-pad: max(var(--gutter), calc((100% - 1180px) / 2));
  position: relative; display: flex; gap: 18px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 4px var(--car-pad) 10px; scroll-padding-inline: var(--car-pad);
}
.car-track::-webkit-scrollbar { display: none; }
.car-track:focus-visible { outline-offset: -3px; }
.car-slide { flex: none; height: var(--car-h); aspect-ratio: var(--ar); scroll-snap-align: start; }
.car-slide .shot {
  position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 14px; overflow: hidden;
  background: #cfd6df; color: #fff; text-align: left; cursor: zoom-in; box-shadow: var(--shadow);
}
.car-slide .shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.car-slide .shot:hover img { transform: scale(1.04); }
.car-slide .shot::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 46%; pointer-events: none;
  background: linear-gradient(0deg, rgba(10, 20, 36, 0.8), transparent);
}
.shot-tag {
  position: absolute; z-index: 1; top: 14px; left: 14px; padding: 5px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.92); color: var(--navy); font: 700 0.72rem var(--font-head); letter-spacing: 0.06em; text-transform: uppercase;
}
.shot-cap { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 14px; font: 600 0.98rem/1.3 var(--font-head); }
.car-foot { display: flex; align-items: center; gap: 24px; margin-top: 20px; }
.car-progress { flex: 1; height: 3px; border-radius: 2px; background: #d3dae4; overflow: hidden; }
.car-progress i { display: block; width: 30%; height: 100%; border-radius: 2px; background: var(--navy); transition: margin-left 0.15s linear; }
.btn-outline-dark { color: var(--navy); background: transparent; border-color: rgba(10, 44, 90, 0.4); }
.btn-outline-dark:hover { background: rgba(10, 44, 90, 0.07); border-color: var(--navy); }
.gallery-note { margin: 14px 0 0; color: var(--muted); font-size: 0.85rem; }
.gallery-more[hidden] { display: none; }
@media (max-width: 640px) {
  .car-controls { display: none !important; }
  .car-foot { gap: 16px; }
}

dialog.lightbox {
  border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; background: transparent; color: #fff;
}
dialog.lightbox[open] { display: grid; place-items: center; }
dialog.lightbox::backdrop { background: rgba(8, 10, 14, 0.93); }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 12px; padding: 0 72px; }
.lb-img { max-width: min(92vw, 1300px); max-height: 80vh; width: auto; height: auto; border-radius: 6px; }
.lb-cap { font-size: 0.98rem; color: #d6dde8; text-align: center; }
.lb-btn {
  position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, 0.14); color: #fff; cursor: pointer; transition: background-color 0.2s;
}
.lb-btn:hover { background: rgba(255, 255, 255, 0.28); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lightbox figure { padding: 0 10px; }
  .lb-prev, .lb-next { top: auto; bottom: 22px; transform: none; }
  .lb-prev { left: 22%; }
  .lb-next { right: 22%; }
}

/* contacto */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.next-steps { display: grid; gap: 16px; margin-bottom: 28px; }
.next-steps li { display: flex; gap: 14px; align-items: flex-start; }
.next-steps .hex { margin-top: 2px; }
.next-steps strong { display: block; color: #fff; }
.next-steps span:not(.hex) { color: #aeb9c8; font-size: 0.95rem; }
.commitment { border-left: 3px solid var(--blue-3); padding-left: 16px; color: #c6cedb; margin: 0 0 32px; }
.direct { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.direct a, .direct-static {
  display: flex; align-items: center; gap: 12px; height: 100%; padding: 14px 16px; color: #fff; text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.04); border-radius: var(--radius);
  transition: border-color 0.2s, background-color 0.2s; overflow-wrap: anywhere;
}
.direct a:hover { border-color: var(--blue-3); background: rgba(77, 144, 238, 0.1); }
.direct .icon { width: 22px; height: 22px; color: var(--blue-3); }
.direct small { display: block; color: #8fa0b8; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.direct span { font-size: 0.95rem; line-height: 1.35; }

.form-card { background: #fff; color: var(--ink); border-radius: 14px; padding: clamp(24px, 4vw, 36px); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35); }
.form-card h3 { font-weight: 800; font-size: 1.4rem; color: var(--navy); margin-bottom: 20px; }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 0.9rem; }
.field input:not([type='checkbox']), .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid #c4ccd7; border-radius: var(--radius); background: #fff; color: var(--ink);
  font: inherit; transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(19, 98, 180, 0.2); }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: #b3261e; }
.field--check { display: flex; gap: 10px; align-items: flex-start; }
.field--check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.field--check label { font-weight: 400; font-size: 0.88rem; margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { min-height: 1.5em; margin: 14px 0 0; font-weight: 600; font-size: 0.95rem; }
.form-status.is-ok { color: #0f7a40; }
.form-status.is-error { color: #b3261e; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-row, .direct { grid-template-columns: 1fr; } }

/* pie */
.site-footer { background: #0c0f13; color: #aeb9c8; padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.footer-brand img { width: 180px; height: auto; margin-bottom: 14px; }
.footer-brand p { margin: 0; max-width: 32ch; }
.footer-links { display: grid; gap: 4px; }
.site-footer a { color: #c6cedb; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-links a { display: inline-block; padding: 6px 0; }
.footer-title { color: #fff; font: 700 0.85rem var(--font-head); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px; }
.footer-social ul { display: flex; gap: 10px; }
.footer-social a {
  display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: var(--radius);
  transition: border-color 0.2s, background-color 0.2s;
}
.footer-social a:hover { border-color: var(--blue-3); background: rgba(77, 144, 238, 0.12); text-decoration: none; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.88rem;
}
.footer-bottom p { margin: 0; }
.to-top { display: inline-flex; align-items: center; gap: 4px; }
.to-top .icon { width: 1em; height: 1em; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* aviso de privacidad */
.legal { padding: calc(var(--header-h) + 48px) 0 88px; }
.legal-inner { max-width: 780px; }
.legal h1 { font-weight: 800; font-size: clamp(2rem, 4vw, 2.8rem); color: var(--navy); margin-bottom: 8px; letter-spacing: -0.02em; }
.legal h2 { font-weight: 700; font-size: 1.15rem; color: var(--navy); margin: 34px 0 10px; }
.legal p { color: #3b4553; line-height: 1.75; }
.legal-date { color: var(--muted); font-size: 0.92rem; margin-bottom: 8px; }

/* consentimiento (solo si se activa el Pixel) */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150; max-width: 720px; margin-inline: auto;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  background: var(--charcoal); color: #fff; padding: 16px 20px; border-radius: 12px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
.consent[hidden] { display: none; }
.consent p { margin: 0; font-size: 0.93rem; flex: 1 1 280px; }
.consent div { display: flex; gap: 10px; }

/* aparición al hacer scroll (solo con JS) */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal]:nth-child(2) { transition-delay: 0.06s; }
.js [data-reveal]:nth-child(3) { transition-delay: 0.12s; }
.js [data-reveal]:nth-child(4) { transition-delay: 0.18s; }
.js [data-reveal]:nth-child(5) { transition-delay: 0.24s; }
.js [data-reveal]:nth-child(6) { transition-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn, .pillar { transition: none; }
}

/* =========================================================
   CONEXICA Assistant — página de presentación (prefijo .as-)
   ========================================================= */
.as-page { overflow-x: clip; }
.site-nav a.is-active::after { transform: scaleX(1); }

/* botón "Presentar" de la cabecera */
.as-present-btn { gap: 8px; }
@media (min-width: 1081px) and (max-width: 1280px) {
  .site-nav a { padding-inline: 9px; }
  .as-present-btn span { display: none; }
  .as-present-btn { padding: 0; width: 40px; }
}
.site-header.is-scrolled .as-present-btn,
.site-header.is-solid .as-present-btn { color: var(--navy); border-color: rgba(10, 44, 90, 0.35); }
.site-header.is-scrolled .as-present-btn:hover,
.site-header.is-solid .as-present-btn:hover { background: rgba(10, 44, 90, 0.07); border-color: var(--navy); }
.site-header.menu-open .as-present-btn { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
@media (max-width: 640px) {
  .as-present-btn span { display: none; }
  .as-present-btn { padding: 0; width: 40px; }
}

/* portada */
.as-hero {
  position: relative; overflow: hidden; color: #fff; background: var(--charcoal);
  padding-top: calc(var(--header-h) + clamp(56px, 11vh, 120px));
}
.as-hero-bg { position: absolute; inset: 0; }
.as-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.as-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 21, 26, 0.92) 0%, rgba(18, 21, 26, 0.74) 44%, rgba(18, 21, 26, 0.22) 100%),
    linear-gradient(0deg, rgba(18, 21, 26, 0.96) 0%, rgba(18, 21, 26, 0) 40%);
}
.as-hero-inner { position: relative; padding-bottom: clamp(24px, 4vw, 48px); }
.as-hero-inner > * { max-width: 760px; }
.as-hero h1 { font-weight: 800; font-size: clamp(2.6rem, 7vw, 5rem); line-height: 1.02; letter-spacing: -0.03em; margin: 6px 0 14px; }
.as-hero h1 span { display: block; }
.as-hero .accent { color: var(--blue-3); }
.as-subtitle { font: 700 clamp(1.15rem, 2.2vw, 1.6rem)/1.25 var(--font-head); margin: 0 0 16px; }
.as-lead { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: #c6cedb; max-width: 58ch; margin-bottom: 14px; }
.as-audience { color: #9fb4d6; font-weight: 600; margin: 0 0 28px; }
.as-facts {
  position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-top: clamp(24px, 4vw, 44px); padding-bottom: clamp(40px, 6vw, 64px);
}
.as-facts li {
  padding: 16px 18px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: var(--radius);
  background: rgba(18, 21, 26, 0.58); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.as-facts strong { display: block; font: 700 1rem var(--font-head); }
.as-facts span { color: #aeb9c8; font-size: 0.92rem; }
@media (max-width: 760px) { .as-facts { grid-template-columns: 1fr; } }

/* bloques de dos columnas, figuras y listas */
.as-split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.as-split .section-head { margin-bottom: 8px; }
.as-figure { margin: 0; }
.as-figure img { width: 100%; border-radius: 14px; box-shadow: var(--shadow); }
.as-figure figcaption { margin-top: 10px; color: var(--muted); font-size: 0.82rem; }
.as-pains { display: grid; gap: 18px; margin-top: 22px; }
.as-pains li { display: flex; gap: 14px; align-items: flex-start; }
.as-x { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: #fde8e6; color: #b3261e; }
.as-x .icon { width: 15px; height: 15px; }
.as-pains h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: 2px; }
.as-pains p { margin: 0; color: var(--muted); font-size: 0.96rem; }
@media (max-width: 900px) { .as-split { grid-template-columns: 1fr; } .as-split .as-figure { order: 2; } }

.as-how { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.as-how-steps { display: grid; gap: 16px; }
.as-how-steps li {
  display: grid; grid-template-columns: 54px 1fr; gap: 16px; align-items: start; padding: 20px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.as-how-steps h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 4px; }
.as-how-steps p { margin: 0; color: var(--muted); font-size: 0.96rem; }
.as-callout {
  margin: 28px 0 0; padding: 18px 22px; background: #fff; border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0; color: #3b4553; font-weight: 600;
}
@media (max-width: 900px) { .as-how { grid-template-columns: 1fr; } }

/* un día en obra: pestañas + teléfono */
.as-day { display: grid; grid-template-columns: 1fr minmax(300px, 380px); gap: clamp(32px, 6vw, 80px); align-items: center; }
.as-tabs { display: none; margin-top: 28px; }
.js .as-tabs { display: grid; gap: 10px; }
.as-tab {
  display: grid; gap: 2px; text-align: left; padding: 16px 18px; color: #fff; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.16); border-radius: var(--radius); background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s, background-color 0.2s;
}
.as-tab strong { font: 700 1rem var(--font-head); }
.as-tab span { color: #aeb9c8; font-size: 0.92rem; }
.as-tab:hover { border-color: rgba(77, 144, 238, 0.6); }
.as-tab[aria-selected='true'] { border-color: var(--blue-3); background: rgba(77, 144, 238, 0.14); }
.as-day-visual { display: grid; justify-items: center; }
.as-panels:not(.is-ready) .as-panel ~ .as-panel,
.as-panels:not(.is-ready) .as-pane ~ .as-pane { display: none; }
html:not(.js) .as-panels .as-panel ~ .as-panel,
html:not(.js) .as-panels .as-pane ~ .as-pane { display: block; margin-top: 28px; }
.as-panel[hidden], .as-pane[hidden] { display: none; }
.as-panel-title { font-size: 1.05rem; color: #fff; margin: 0 0 8px; text-align: center; }
.js .as-panel-title { display: none; }
.as-panel-desc { display: none; margin: 0 0 14px; color: #c6cedb; font-size: 0.95rem; text-align: center; }
html:not(.js) .as-panel-desc { display: block; }
.as-phone { margin-inline: auto; }
.as-phone .phone-body { height: clamp(380px, 56vh, 500px); overflow-y: auto; scrollbar-width: none; scroll-behavior: smooth; }
.as-phone .phone-body::-webkit-scrollbar { display: none; }
.as-phone .bubble { white-space: pre-line; max-width: 90%; overflow-wrap: anywhere; }
.bubble.is-pending { display: none; }
@media (max-width: 900px) {
  .as-day { grid-template-columns: 1fr; }
  .js .as-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
  .as-tab { flex: none; padding: 10px 16px; border-radius: 999px; }
  .as-tab span { display: none; }
  .as-panel-desc { display: block; }
}

/* panel (Centro de Mando) */
.as-panel-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.as-modules { grid-template-columns: 1fr 1fr; gap: 10px 20px; margin-top: 22px; }
.as-window { overflow: hidden; border-radius: 14px; border: 1px solid var(--line); background: #fff; box-shadow: 0 24px 60px rgba(10, 44, 90, 0.18); }
.as-window-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: var(--charcoal-2); color: #aeb9c8; font-size: 0.8rem; }
.as-window-bar span { width: 10px; height: 10px; border-radius: 50%; background: #3a4350; }
.as-window-bar em { margin-left: 10px; font-style: normal; }
.as-window-body { display: grid; grid-template-columns: 168px 1fr; min-height: 390px; }
.as-side { display: none; align-content: start; gap: 4px; padding: 14px 10px; background: var(--navy); }
.js .as-side { display: grid; }
.as-side button {
  padding: 10px 12px; border: 0; border-radius: 6px; background: none; color: #c6cedb; text-align: left; cursor: pointer;
  font: 600 0.85rem var(--font-body); transition: background-color 0.2s, color 0.2s;
}
.as-side button:hover { background: rgba(255, 255, 255, 0.08); }
.as-side button[aria-selected='true'] { background: rgba(255, 255, 255, 0.16); color: #fff; }
.as-main { padding: 18px 16px; min-width: 0; }
.as-pane h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: 2px; }
.as-sub { margin: 0 0 12px; color: var(--muted); font-size: 0.85rem; }
.as-sub--mt { margin-top: 18px; font-weight: 600; color: var(--steel); }
.as-table-wrap { overflow-x: auto; }
.as-table { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
.as-table th, .as-table td { padding: 8px 8px; text-align: left; white-space: nowrap; border-bottom: 1px solid var(--line); }
.as-table thead th { background: var(--paper); color: var(--steel); font-weight: 600; line-height: 1.2; white-space: normal; vertical-align: bottom; }
.as-table tbody th { color: var(--ink); font-weight: 600; }
.as-table td.is-warn { color: #b25e00; font-weight: 700; }
.as-table td.is-bad { color: #b3261e; font-weight: 700; }
.as-bars { display: grid; gap: 8px; }
.as-bars li { display: grid; grid-template-columns: 104px 1fr 24px; gap: 10px; align-items: center; font-size: 0.82rem; color: var(--steel); }
.as-bars i { display: block; width: var(--w); height: 10px; border-radius: 5px; background: linear-gradient(90deg, var(--blue-2), var(--navy)); }
.as-bars b { color: var(--ink); text-align: right; }
.as-tag { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; }
.as-tag--in { background: #e1f4e9; color: #0f6a38; }
.as-tag--out { background: #e7ecf4; color: #34506f; }
.as-pill { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 6px; background: var(--paper); color: var(--steel); font-size: 0.74rem; font-weight: 600; }
.as-pill .icon { width: 13px; height: 13px; }
.as-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.as-tile {
  position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 8px;
  background: linear-gradient(145deg, #dfe6f0, #c3cfe0); color: var(--navy);
}
.as-tile .icon { width: 28px; height: 28px; opacity: 0.55; }
.as-tile small { position: absolute; inset: auto 6px 5px 8px; color: #34445a; font-size: 0.66rem; line-height: 1.2; }
.as-tree { display: grid; gap: 14px; justify-items: start; }
.as-tree ul { display: grid; gap: 12px; margin-left: 22px; padding-left: 18px; border-left: 2px solid var(--line); }
.as-node { display: inline-block; padding: 8px 14px; border-radius: 8px; background: var(--paper); border: 1px solid var(--line); font-weight: 600; font-size: 0.86rem; color: var(--ink); }
.as-node--root { background: var(--navy); border-color: var(--navy); color: #fff; }
.as-node--leaf { margin-left: 10px; background: #fff; font-weight: 500; color: var(--muted); }
.as-tree li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.as-note { margin: 12px 0 0; color: var(--muted); font-size: 0.85rem; }
.as-note--wide { margin-top: 28px; text-align: center; }
@media (max-width: 960px) { .as-panel-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .as-window-body { grid-template-columns: 1fr; }
  .js .as-side { display: flex; overflow-x: auto; padding: 8px; }
  .as-side button { white-space: nowrap; }
  .as-modules { grid-template-columns: 1fr; }
  .as-bars li { grid-template-columns: 84px 1fr 22px; }
}

/* reportes */
.as-reports { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.as-report { display: grid; gap: 12px; align-content: start; }
.as-report h3 { font-size: 1.2rem; color: var(--navy); }
.as-report p { margin: 0; color: #3b4553; }
.as-vis { display: grid; align-content: center; gap: 8px; height: 160px; padding: 14px; border-radius: 10px; background: var(--paper); }
.mx-row { display: grid; grid-template-columns: 78px repeat(6, 1fr); gap: 6px; align-items: center; font-size: 0.74rem; color: var(--steel); }
.mx-row i { height: 14px; border-radius: 3px; background: #dfe5ee; }
.mx-row i.on { background: var(--blue-2); }
.mx-head span { text-align: center; font-weight: 700; }
.mx-head span:first-child { text-align: left; }
.al-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border: 1px solid var(--line); border-radius: 6px; background: #fff; font-size: 0.86rem; color: var(--steel); }
.al-row b { color: var(--navy); font-variant-numeric: tabular-nums; }
.ai-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ai-chips span { padding: 4px 11px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--steel); font-size: 0.76rem; font-weight: 600; }
.ai-chips span.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.ai-lines i { display: block; height: 8px; margin-bottom: 8px; border-radius: 4px; background: #d5dce8; }
.xlv em { font-style: normal; color: #1d6f42; font-weight: 700; font-size: 0.78rem; }
.xl { display: grid; grid-template-columns: repeat(6, 1fr); gap: 3px; }
.xl i { height: 15px; border: 1px solid #cfd8e3; background: #fff; }
.xl i.h { border-color: #1d6f42; background: #1d6f42; }
@media (max-width: 900px) { .as-reports { grid-template-columns: 1fr; } }

/* cifras */
.as-proof { position: relative; overflow: hidden; background: var(--charcoal); }
.as-proof-bg { position: absolute; inset: 0; }
.as-proof-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }
.as-proof-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 21, 26, 0.7), rgba(18, 21, 26, 0.45) 50%, rgba(18, 21, 26, 0.8)); }
.as-proof .container { position: relative; }
.as-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.as-stats li {
  padding: 22px 18px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: var(--radius);
  background: rgba(18, 21, 26, 0.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.as-stat-num { display: block; font: 800 clamp(2.2rem, 4vw, 3.2rem)/1 var(--font-head); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.as-stats .lbl { display: block; margin-top: 10px; font-weight: 600; color: #dbe6f7; line-height: 1.3; }
.as-stats small { display: block; margin-top: 6px; color: #8fa0b8; font-size: 0.82rem; }
.as-asof { margin: 22px 0 0; color: #9aa7b8; font-size: 0.88rem; }
@media (max-width: 1100px) { .as-stats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .as-stats { grid-template-columns: 1fr 1fr; } }

/* para quién, personalización, implementación, cierre */
.as-aud { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.as-aud .card { border-top: 4px solid var(--navy); }
.as-aud .card:nth-child(2) { border-top-color: var(--blue); }
.as-aud .card:nth-child(3) { border-top-color: var(--blue-2); }
.as-aud h3 { font-weight: 800; font-size: 1.25rem; color: var(--navy); margin-bottom: 8px; }
.as-aud p { color: #3b4553; }
@media (max-width: 1024px) { .as-aud { grid-template-columns: 1fr; max-width: 640px; } }
.as-custom { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.as-custom .card { padding: 26px 22px; box-shadow: none; }
.as-custom h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 8px; }
.as-custom p { margin: 0; color: var(--muted); font-size: 0.97rem; }
@media (max-width: 1024px) { .as-custom { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .as-custom { grid-template-columns: 1fr; } }
.steps--4 { grid-template-columns: repeat(4, 1fr); }
.steps--4::before { left: 6%; right: 6%; }
@media (max-width: 1100px) { .steps--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps--4 { grid-template-columns: 1fr; } }
.as-cta { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.as-cta-figure { justify-self: center; width: min(400px, 100%); margin: 0; }
.as-cta-figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45); }
.as-disclaimer { margin: 28px 0 0; max-width: 60ch; color: #8fa0b8; font-size: 0.82rem; }
.as-cta .cta-row { margin-top: 28px; }
@media (max-width: 900px) { .as-cta { grid-template-columns: 1fr; } .as-cta-figure { order: -1; width: min(300px, 70%); } }

/* modo presentación */
.as-hud {
  position: fixed; left: 50%; bottom: 18px; z-index: 180; display: flex; align-items: center; gap: 10px; padding: 8px 10px;
  transform: translateX(-50%); border-radius: 999px; color: #fff; background: rgba(18, 21, 26, 0.9);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.as-hud[hidden], .as-progress[hidden] { display: none; }
.as-hud-btn {
  display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, 0.12); color: #fff; cursor: pointer; transition: background-color 0.2s;
}
.as-hud-btn:hover { background: rgba(255, 255, 255, 0.26); }
.as-hud-count { min-width: 64px; text-align: center; font: 600 0.88rem var(--font-body); font-variant-numeric: tabular-nums; }
.as-hud-exit {
  height: 44px; padding: 0 18px; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 999px; background: none; color: #fff;
  cursor: pointer; font: 600 0.88rem var(--font-body); transition: background-color 0.2s;
}
.as-hud-exit:hover { background: rgba(255, 255, 255, 0.14); }
.as-progress { position: fixed; inset: 0 0 auto 0; z-index: 190; height: 3px; background: rgba(255, 255, 255, 0.14); }
.as-progress i { display: block; width: 0; height: 100%; background: var(--blue-3); transition: width 0.3s; }
html.is-presenting { scroll-snap-type: y proximity; scroll-padding-top: 0; }
.is-presenting .site-header, .is-presenting .site-footer { display: none; }
.is-presenting .as-slide {
  display: flex; flex-direction: column; justify-content: center; min-height: 100vh; min-height: 100svh;
  padding-block: 48px 96px; scroll-snap-align: start;
}
.is-presenting .as-hero { padding-top: 48px; }
@media (prefers-reduced-motion: reduce) {
  .as-tab, .as-side button, .as-hud-btn, .as-hud-exit { transition: none; }
  .as-phone .phone-body { scroll-behavior: auto; }
}
