/* =========================
   SAFE-CAR — Landing Styles
   ========================= */

/* 1) Variables & base */
:root{
  color-scheme: light;
  --brand:  #0A2A4A;
  --brand-2:#0F3A6B;
  --accent: #00D1FF;
  --ok:     #15B66A;
  --warn:   #E7A321;
  --danger: #E54646;
  --logo-h: 84px; /* altura de referencia para el logo “badge” */
}

*{ box-sizing:border-box; }

body{
  margin:0;
  font-family: Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  color:#0b1220;
  background:#f7f9fc;
}

.container{
  max-width:1120px;
  padding-inline:clamp(16px, 3vw, 24px);
  margin:0 auto;
}

/* 2) Header (claro) */
header{
  background:linear-gradient(180deg,var(--brand),var(--brand-2));
  color:#fff;
  position:sticky;
  top:0;
  z-index:20;
}

.nav{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  padding:14px 0;
}

/* Estado “claro” del header (tu versión preferida) */
.header-light{
  background:linear-gradient(180deg,#f5faff,#e9f0ff);
  color:#0b1220;
}
.header-light .hero h1,
.header-light .hero p,
.header-light nav a{
  color:#0A2A4A !important;
  text-decoration:none;
  font-weight:600;
  opacity:.95;
  letter-spacing:.1px;
}
.header-light .btn-outline{
  border:1.5px solid rgba(11,18,32,.2);
  color:#0b1220;
  background:#fff;
}
.header-light .btn-primary{ background:#0A2A4A; color:#fff; }
.header-light .pill{
  background:#eaf2ff;
  color:#0b1220;
  border-color:#d6e5ff;
}

/* 3) Identidad / logo (si usas badge+wordmark en otros lugares) */
.logo{ display:flex; align-items:center; gap:12px; text-decoration:none; color:#fff; }
.logo-mark{ display:grid; place-items:center; width:42px; height:42px; border-radius:10px; background:#fff; color:var(--brand); font-weight:900; letter-spacing:.5px; }
.logo-word{ font-weight:800; letter-spacing:.6px; }

/* Oversize control (cuando la pill define altura) */
@media (min-width:900px){ :root{ --logo-h:96px; } }

/* 4) Hero */
.hero{ /* padding:32px 0; <- quitar */
  padding-block:clamp(24px, 4vw, 40px);
}

.hero-grid{
  display:grid;
  grid-template-columns:minmax(260px,420px) 1fr;
  /*gap:24px;*/
  gap:clamp(16px, 3vw, 28px);
  align-items:center;
}

.hero-copy{
  max-width:820px;    /* evita líneas muy largas */
  position:relative;
}

.hero-media{
  display:flex;
  flex-direction:column;   /* logo arriba, pill abajo */
  align-items:center;
  gap:2px;                 /* espacio entre logo y pill */
}
.hero-media .pill{ margin-top:4px; } /* afina la distancia del logo */

.hero-logo{
  height:clamp(150px,30vw,250px);
  width:auto;
  display:block;
  filter:drop-shadow(0 8px 24px rgba(10,42,74,.08));
}

.hero h1{
  font-weight:900;                 /* más músculo */
  line-height:1.05;
  letter-spacing:-0.4px;
  text-wrap:balance;               /* cortes de línea más armoniosos */
  margin-top:6px;
}

.hero p{
  font-size:18px;
  color:#233147;         /* más legible que gris muy claro */
  margin-top:10px;
}

/* 5) Botones */
.cta{ display:flex; gap:12px; flex-wrap:wrap; }

.btn{
  appearance:none; border:0; cursor:pointer;
  border-radius:12px; padding:14px 18px; font-weight:700;
}
.btn-primary{ background:#fff; color:var(--brand); }
.btn-outline{ background:transparent; border:1.5px solid rgba(255,255,255,.5); color:#fff; }

/* 6) Componentes */
.pill{
  display:inline-block; font-size:12px; padding:4px 8px;
  border-radius:999px; background:#eef6ff; color:#084c8a; border:1px solid #d7e8ff;
}

.card-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:16px;
}
.card{
  background:#fff; border:1px solid #e9eef7; border-radius:16px; padding:18px;
  box-shadow:0 6px 20px rgba(10,42,74,0.06);
}
.card h3{ margin:0 0 6px; font-size:18px; }

.section{ /* padding:36px 0; <- quitar */
  padding-block:clamp(28px, 4vw, 40px);
}
.section h2{ margin:0 0 10px; font-size:28px; }

.kv{
  display:grid; grid-template-columns:1.2fr .8fr; gap:26px; align-items:center;
}

.feature-list{ display:grid; gap:8px; }
.feature{ display:flex; gap:10px; align-items:flex-start; }
.dot{ width:10px; height:10px; border-radius:999px; background:var(--accent); margin-top:8px; }

.values{ display:grid; gap:12px; grid-template-columns:repeat(3,1fr); }
.value{
  background:#0c2e53; color:#e7f2ff; border:1px solid #163d6c;
  border-radius:14px; padding:14px;
}

.mini{ font-size:12px; opacity:.9; }

/* 7) Footer */
footer{
  background:#0f1b2b; color:#b8c3d6; padding:28px 0; margin-top:26px;
}
footer a{ color:#d9e7ff; }

a:focus-visible, .btn:focus-visible{
  outline:3px solid #9fd8ff;
  outline-offset:2px;
  border-radius:12px;
}

/* 8) Responsive */
@media (max-width:980px){
  .card-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width:900px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero-copy{ max-width: 700px; }       /* un poco más libre en móvil */
  .hero{ padding:28px 0; }
  .kv{ grid-template-columns:1fr; }
  .values{ grid-template-columns:1fr; }
}
@media (max-width:680px){
  .card-grid{ grid-template-columns:1fr; }
  .hero h1{ font-size:32px; }           /* un pelito menos que 34 para evitar 3 líneas largas */
}
@media (min-width: 1024px){
  .hero-grid{ align-items:start; }      /* título alineado arriba del logo */
}
/* 3) Breakpoints finos */
@media (min-width: 1200px){
  .container{ max-width:1200px; }       /* respira mejor en monitores amplios */
  .hero h1{ font-size:clamp(36px, 4.2vw, 52px); }
}
/* 4) Cards: altura pareja (opcional) */
@media (min-width: 980px){
  .card-grid{ align-items:stretch; }
  .card{ display:flex; flex-direction:column; }
  .card p{ margin-top:6px; }
}

/* === Carrusel de secciones (Hero + Servicios + Por qué) === */
.section-carousel{ position:relative; overflow:hidden; }
.cr-track{ display:flex; transition:transform .6s ease; will-change:transform; }
.slide{ flex:0 0 100%; }

/* fondos consistentes por slide */
.slide-hero{ background:linear-gradient(180deg,#f5faff,#e9f0ff); }
.slide-why{  background:#f1f6ff; }

/* flechas */
.cr-nav{
  position:absolute; top:50%; transform:translateY(-50%);
  width:36px; height:36px; border:0; border-radius:999px;
  background:#fff; box-shadow:0 4px 16px rgba(10,42,74,.12);
  cursor:pointer; font-size:22px; line-height:36px; text-align:center;
}
.cr-nav.prev{ left:6px; }
.cr-nav.next{ right:6px; }
.cr-nav:focus-visible{ outline:3px solid #9fd8ff; }

/* puntos */
.cr-dots{ display:flex; gap:6px; justify-content:center; margin:12px 0; }
.cr-dots .dot-btn{
  width:7px; height:7px; border:0; border-radius:999px; cursor:pointer; background:#c7d6ea;
}
.cr-dots .dot-btn.is-active{ background:#0A2A4A; width:18px; border-radius:7px; }

/* hero dentro del slide */
.hero{ padding-block:clamp(24px,4vw,40px); }

.home-cta{
  background:linear-gradient(180deg,#eef4ff,#eaf2ff);
  padding:10px 0 18px;
  border-top:1px solid #e2ebfb;
  border-bottom:1px solid #e2ebfb;
}
.home-cta .cta{ justify-content:center; }
@media (min-width:900px){
  .home-cta .cta{ justify-content:flex-start; }
  .hero-copy{ padding-left:16px; }
  .hero-copy::before{
    content:""; position:absolute; left:0; top:6px; bottom:6px; width:4px;
    border-radius:6px;
    background:linear-gradient(180deg, var(--accent), #7bd6ff);
    opacity:.45;
  }
}

/* === Topbar con logo + pill + botones === */
.header-top{
  display:flex; align-items:center; justify-content:space-between;
  gap:16px; padding:10px 0;
}

.brand-group{
  display:flex; align-items:center; gap:10px;
}
.brand-logo{
  height:clamp(32px, 3.6vw, 44px); width:auto; display:block;
  filter:drop-shadow(0 3px 10px rgba(10,42,74,.08));
}
.pill-top{
  font-size:12px; padding:4px 10px; white-space:nowrap;
  background:#eaf2ff; color:#0b1220; border-color:#d6e5ff;
}

/* Botones chicos para el topbar */
.btn-top{ padding:8px 12px; border-radius:10px; font-weight:700; }
.header-light .btn-top.btn-outline{
  border:1.5px solid rgba(11,18,32,.2); color:#0b1220; background:#fff;
}
.header-light .btn-top.btn-primary{
  background:#0A2A4A; color:#fff;
}

/* Sombrita suave al hacer scroll */
.header-light.is-scrolled{ box-shadow:0 10px 24px rgba(10,42,74,.08); }

/* Hero (slide-hero) solo texto */
.hero-grid-text{ grid-template-columns:1fr !important; }

/* ——— Eyebrow (etiqueta superior) ——— */
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:12px; font-weight:600;
  padding:6px 10px; border-radius:999px;
  background:#ffffff; color:#0A2A4A;
  border:1px solid #dce9ff;
  box-shadow:0 6px 20px rgba(10,42,74,.06);
}
.dot-live{
  width:8px; height:8px; border-radius:999px; background:#15B66A;
  box-shadow:0 0 0 0 rgba(21,182,106,.45);
  animation:pulse 1.8s ease-out infinite;
}
@keyframes pulse{
  0%{ box-shadow:0 0 0 0 rgba(21,182,106,.45); }
  70%{ box-shadow:0 0 0 12px rgba(21,182,106,0); }
  100%{ box-shadow:0 0 0 0 rgba(21,182,106,0); }
}

/* ——— Chips con beneficios ——— */
.chip-list{
  display:flex; gap:8px; flex-wrap:wrap; margin:14px 0 0; padding:0;
}
.chip-list li{
  list-style:none; font-size:12px; font-weight:600;
  padding:6px 10px; border-radius:999px;
  background:#fff; color:#0b1220; border:1px solid #e2ebfb;
  box-shadow:0 6px 20px rgba(10,42,74,.06);
}

/* ——— Fondo con halos sutiles en el hero ——— */
.slide-hero{ position:relative; overflow:hidden; }
.slide-hero::before,
.slide-hero::after{
  content:""; position:absolute; inset:auto; pointer-events:none; filter:blur(12px);
}
.slide-hero::before{
  top:-80px; left:-120px; width:520px; height:320px;
  background:radial-gradient(closest-side, rgba(0,209,255,.18), transparent 70%);
}
.slide-hero::after{
  bottom:-120px; right:-160px; width:620px; height:380px;
  background:radial-gradient(closest-side, rgba(10,42,74,.12), transparent 70%);
}

/* ——— Tipografía y respiración del hero ——— */
.hero h1{
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.5px;
  text-wrap: balance;
}
@media (max-width:680px){
  .hero h1{ font-size:30px; }
}

/* Iconos de la lista de features */
.feature{ display:flex; gap:12px; align-items:flex-start; }

.icon-badge{
  width:28px; height:28px; border-radius:999px; flex:0 0 28px;
  display:grid; place-items:center;
  background:#eaf2ff; border:1px solid #d6e5ff;
  color:#0A2A4A;            /* color de trazo del SVG */
  box-shadow:0 2px 8px rgba(10,42,74,.06);
  margin-top:2px;           /* alinea con el texto */
}

.icon{
  width:16px; height:16px;
  stroke:currentColor; fill:none; stroke-width:2;
  stroke-linecap:round; stroke-linejoin:round;
}

/* (opcional) si ya no usarás los puntos azules antiguos */
.dot{ display:none; }

/* Header: espacio y alineación de los CTA del tope */
.top-cta{ display:flex; gap:10px; align-items:center; }

/* Carrusel: que las flechas no se escondan y los puntos respiren */
.cr-nav{ z-index:5; }
.cr-dots{ margin:14px 0 8px; }

/* ¿Por qué SAFE-CAR? → 2 columnas en desktop */
@media (min-width:900px){
  .feature-list{ grid-template-columns: 1fr 1fr; }
}

@media (max-width:480px){ .chip-list{ gap:6px; } }

/* Pequeño realce del hero sin subrayado: ya lo tienes, solo dejo el h1 con más presencia */
.hero h1{
  font-weight:900;
  line-height:1.04;
  letter-spacing:-0.5px;
  text-wrap:balance;
}

/* (Accesibilidad) foco visible ya OK; mantén esto si aún no estaba */
a:focus-visible, .btn:focus-visible{
  outline:3px solid #9fd8ff; outline-offset:2px; border-radius:12px;
}

/* ====== MOBILE TOPBAR FIX ====== */

/* 1) Permitir que el header se parta en 2 filas */
@media (max-width: 640px){
  .header-top{
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px;
  }

  /* 2) Logo + pill: que puedan encoger / saltar de línea */
  .brand-group{
    flex: 1 1 100%;
    min-width: 0;               /* permite shrink real */
    flex-wrap: wrap;            /* que la pill baje si no cabe en la misma línea */
    gap: 6px;
  }
  .brand-logo{
    height: 34px;               /* un pelito más chico en móvil */
  }
  .pill-top{
    font-size: 11px;
    padding: 4px 8px;
    white-space: normal;        /* <-- antes “nowrap” */
    line-height: 1.2;
    max-width: 100%;
  }

  /* 3) CTAs: que ocupen toda la fila y no se achiquen raro */
  .top-cta{
    flex: 1 1 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;   /* 2 columnas en móviles comunes */
    gap: 8px;
    justify-content: stretch;
  }
  .btn-top{
    width: 100%;
    padding: 10px 0;            /* altura táctil cómoda */
    font-size: 14px;
    white-space: nowrap;         /* evita salto interno del texto */
    text-align: center;
  }
}

/* 4) En pantallas MUY pequeñas, apilar botones uno bajo otro */
@media (max-width: 380px){
  .top-cta{
    grid-template-columns: 1fr;  /* 1 columna */
  }
}

/* 5) Evitar cualquier desplazamiento horizontal accidental del header */
@media (max-width: 640px){
  header .container{ overflow: hidden; }
}

/* === Tamaño del logo UNIFICADO (desktop + móvil) === */
.brand-logo{
  height: clamp(40px, 4vw, 56px);  /* crece con el viewport y se limita entre 40–56px */
  width: auto;
  display: block;
  filter: drop-shadow(0 3px 12px rgba(10,42,74,.10));
}

/* Ajustes móviles: NO tocar el logo aquí, solo entorno */
@media (max-width: 640px){
  .brand-group{ gap: 8px; }
  .pill-top{
    font-size: 11px;
    padding: 4px 8px;
    white-space: normal;   /* permite cortar línea si no cabe */
    line-height: 1.2;
    max-width: 100%;
  }
}

/* XS: apilar pill bajo el logo para dar aire */
@media (max-width: 360px){
  .brand-group{
    flex-wrap: nowrap;
    flex-direction: column;   /* logo arriba, pill abajo */
    align-items: flex-start;
    gap: 6px;
  }
}

/* Realce inline para palabras clave en titulares */
.hl{
  background: linear-gradient(180deg, rgba(0,209,255,.25), rgba(0,209,255,0));
  padding: 0 .15em;
  border-radius: 6px;
}

/* Fin de landing.css */

/* -------------------------------- */
/* SLIDE OPERADOR CSS */

/* === Slide Operador (normalizado) === */
#slide-operador{
  display:flex; 
  align-items:center; 
  justify-content:center;
  background:#f8fafd; 
  overflow:hidden;
  position:relative;
  height: auto !important;
}
#slide-operador .carousel-content{
  position: relative;
  max-width: 1100px;
  width: 100%;
  height: auto !important;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  border-radius: 0;     /* mismo radio que la imagen */
  overflow: visible; /* habilita chips sin corte */
  flex-direction: column;
}
/* === Título sobre la imagen del Panel Operador === */
#slide-operador .slide-header {
  position: static !important;
  top: 20px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 2;
  color: #0a2a4a;
  text-shadow: none;
  margin-bottom: 4px;
}
#slide-operador .slide-header h2 {
  font-size: 1.9rem;
  font-weight: 800;
  margin: 0 0 4px;
}
#slide-operador .slide-header .intro {
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
  color: #334;
}
#slide-operador .slide-img{
  max-width: 980px;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: none !important;
  border: 1px solid #e4ecf5;
}
/* Overlay más compacto y con contraste real */
#slide-operador .overlay {
  background: transparent;
  border: 0;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  width: 100%;
}
#slide-operador .overlay-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem;
}

#slide-operador h2{
  font-size:1.6rem; font-weight:800; margin:0 0 .25rem;
  text-shadow:0 2px 10px rgba(0,0,0,.6);
}
#slide-operador .intro{
  font-size:1rem; margin:0 0 .8rem; opacity:.95;
  text-shadow:0 1px 8px rgba(0,0,0,.7);
}

/* Chips con animación (antes faltaba) */
#slide-operador .chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem;
}

#slide-operador .chips .chip {
  background: #fff;
  border: 1px solid #dbe5f2;
  color: #0a2a4a;
  box-shadow: none;
  font-weight: 600;
  transition: all .2s ease;
}
#slide-operador .chips .chip:hover {
  background: #0a2a4a;
  color: #fff;
  border-color: #0a2a4a;
}

#slide-operador .chip:nth-child(1){ animation-delay:.6s; }
#slide-operador .chip:nth-child(2){ animation-delay:1.0s; }
#slide-operador .chip:nth-child(3){ animation-delay:1.4s; }
#slide-operador .chip:nth-child(4){ animation-delay:1.8s; }
#slide-operador .chip:nth-child(5){ animation-delay:2.2s; }

@keyframes fadeUp{ to{ opacity:1; transform:translateY(0); } }

/* === FIX FINAL slide-operador: orden forzado y estilos limpios === */

/* Forzar orden aunque el HTML quede mezclado */
#slide-operador .carousel-content{ display:flex !important; flex-direction:column !important; }
#slide-operador .slide-header{ order:0 !important; }
#slide-operador .slide-img{ order:1 !important; }
#slide-operador .overlay{ order:2 !important; }

/* Titular y descripción sin sombras (anulan bloques previos) */
#slide-operador .slide-header{ text-shadow:none !important; margin-bottom:6px; }
#slide-operador .slide-header h2{ text-shadow:none !important; }
#slide-operador .slide-header .intro{ text-shadow:none !important; color:#334 !important; }

/* Quitar cualquier gradiente/sombra del bloque chips */
#slide-operador .overlay{ background:transparent !important; box-shadow:none !important; border:0 !important; padding:0 !important; }

/* Ajuste de respiración general */
#slide-operador{ overflow:visible !important; padding:18px 0 8px; }
#slide-operador .slide-img{ box-shadow:none !important; border:1px solid #e4ecf5; border-radius:10px; }
#slide-operador .overlay-inner{ gap:.6rem !important; }


/* Fin de slide-operador.css */

/* -------------------------------- */

/* === Evolución del Servicio (versión vertical) === */
#slide-evolucion {
  background: #f8fafd;
  display: flex;
  justify-content: center;
  padding: 3rem 1rem;
}

.evol-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  max-width: 1100px;
}

.evol-img img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.evol-text {
  text-align: center;
  max-width: 900px;
}

.evol-text h2 {
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: .4rem;
}

.evol-text .intro {
  font-size: 1rem;
  color: #334;
  margin-bottom: 1.4rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  justify-content: center;
}

.step {
  background: white;
  padding: 1rem 1.1rem;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
  width: 100%;
  max-width: 330px;
  text-align: left;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp .6s ease forwards;
}

.step:nth-child(1){ animation-delay: .3s; }
.step:nth-child(2){ animation-delay: .6s; }
.step:nth-child(3){ animation-delay: .9s; }
.step:nth-child(4){ animation-delay: 1.2s; }
.step:nth-child(5){ animation-delay: 1.5s; }

.step strong { color: #0a2a4a; font-weight: 700; display: block; margin-bottom: .25rem;}
.step .icon { font-size: 1.3rem; margin-right: .4rem; }
.step p { font-size: .9rem; line-height: 1.4; margin: 0; }

.step.pendiente { border-left: 4px solid #999; }
.step.activo { border-left: 4px solid #007bff; }
.step.enruta { border-left: 4px solid #17a2b8; }
.step.finalizado { border-left: 4px solid #28a745; }
.step.historico { border-left: 4px solid #6c757d; }

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* Responsivo */
@media (max-width: 900px) {
  .flow-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .flow-grid .arrow { display: none; }
  .step { max-width: 100%; }
}

/* === Nueva estructura con flechas === */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto auto;
  gap: 1rem;
  justify-items: center;
  align-items: center;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

/* Flechas de conexión */
.flow-grid .arrow {
  font-size: 1.4rem;
  opacity: 0.5;
  align-self: center;
  justify-self: center;
}

/* Distribución personalizada (2 + 2 + 1) */
.flow-grid li:nth-child(1) { grid-column: 1; grid-row: 1; }
.flow-grid li:nth-child(2) { grid-column: 2; grid-row: 1; } /* flecha 1 */
.flow-grid li:nth-child(3) { grid-column: 3; grid-row: 1; }
.flow-grid li:nth-child(4) { grid-column: 2 / span 2; grid-row: 2; justify-self: center; } /* flecha ↓ */
.flow-grid li:nth-child(5) { grid-column: 1; grid-row: 3; }
.flow-grid li:nth-child(6) { grid-column: 2; grid-row: 3; } /* flecha 2 */
.flow-grid li:nth-child(7) { grid-column: 3; grid-row: 3; }
.flow-grid li:nth-child(8) { grid-column: 2 / span 2; grid-row: 4; justify-self: center; } /* flecha ↓ */
.flow-grid li:nth-child(9) { grid-column: 2 / span 2; grid-row: 5; justify-self: center; }


/* === STEPPER HORIZONTAL (5 etapas) === */
.steps.stepper{
  display:grid;
  grid-template-columns:repeat(5, minmax(180px,1fr));
  gap:18px;
  align-items:start;
  position:relative;
  max-width:1100px;
  margin:0 auto;
  padding-top:10px;
}

/* línea conectora detrás de las tarjetas */
.steps.stepper::before{
  content:"";
  position:absolute; left:0; right:0; top:34px;
  height:4px; border-radius:4px;
  background:linear-gradient(90deg,#e3ebf7,#d8e4f7);
  z-index:0;
}

/* cada tarjeta “rompe” la línea y muestra su propio conector */
.steps.stepper .step{
  position:relative; z-index:1;
  background:#fff; border:1px solid #e9eef7; border-radius:12px;
  padding:12px 14px;
  box-shadow:0 6px 16px rgba(10,42,74,.06);
}

/* punto conector sobre la línea */
.steps.stepper .step::before{
  content:"";
  position:absolute; left:14px; top:-10px;
  width:20px; height:20px; border-radius:999px;
  background:#fff; border:4px solid #9fb9e6;
  box-shadow:0 2px 8px rgba(10,42,74,.10);
}

/* icono + título */
.step .icon{ font-size:1.2rem; margin-right:.35rem; }
.step strong{ display:block; margin:.15rem 0 .25rem; color:#0a2a4a; font-weight:800; }
.step p{ margin:0; font-size:.9rem; color:#334; }

/* colores de “progreso” en el punto */
.step.pendiente::before{ border-color:#aab3c2; }
.step.activo::before   { border-color:#0da2ff; }
.step.enruta::before   { border-color:#17a2b8; }
.step.finalizado::before{ border-color:#28a745; }
.step.historico::before{ border-color:#6c757d; }

/* Animación sutil de aparición */
.steps.stepper .step{ opacity:0; transform:translateY(8px); animation:fadeUp .5s ease forwards; }
.steps.stepper .step:nth-child(1){ animation-delay:.15s }
.steps.stepper .step:nth-child(2){ animation-delay:.30s }
.steps.stepper .step:nth-child(3){ animation-delay:.45s }
.steps.stepper .step:nth-child(4){ animation-delay:.60s }
.steps.stepper .step:nth-child(5){ animation-delay:.75s }

/* Responsivo: tablet 3+2; móvil 1 columna */
@media (max-width: 980px){
  .steps.stepper{ grid-template-columns:repeat(3, minmax(170px,1fr)); }
  .steps.stepper::before{ display:none; }      /* oculto la línea para no “cortar” filas */
}
@media (max-width: 620px){
  .steps.stepper{ grid-template-columns:1fr; }
}


/* Fin de slide-evolucion.css */

/* -------------------------------- */

/* === Dashboard dentro de ¿Por qué SAFE-CAR? === */
.kv {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.why-text { flex: 1 1 45%; }

.why-image {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dashboard-img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  transition: transform .3s ease, box-shadow .3s ease;
}
.dashboard-img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 28px rgba(0,0,0,0.25);
}

.caption {
  margin-top: .7rem;
  font-size: .9rem;
  color: #334;
  opacity: .8;
  text-align: center;
}

/* Vista Módulo Cliente (en slide de Servicios) */
.client-preview{
  width:100%;
  max-width:900px;
  margin:12px auto 0;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:.5rem;
}

.mini-title{
  margin:0;
  font-size:1rem;
  font-weight:800;
  color:#0a2a4a;
  opacity:.9;
}

.client-img{
  display:block;
  width:100%;
  max-width:820px;   /* ← achica la captura */
  height:auto;
  border-radius:10px;
  border:1px solid #e4ecf5;
  box-shadow:0 3px 10px rgba(10,42,74,.06);
}

.client-preview .caption{
  margin:0;
  font-size:.9rem;
  color:#334;
  opacity:.8;
  text-align:center;
}

/* Más compacta en pantallas medianas/pequeñas */
@media (max-width: 900px){
  .client-img{ max-width:95%; }
}

/* -------------------------------------------------- */
/* SLIDE 1 */

/* Responsive */
@media (max-width: 900px) {
  .kv { flex-direction: column; align-items: center; }
  .why-image, .why-text { flex: 1 1 100%; }
  .dashboard-img { max-width: 90%; }
}
/* Fin de slide-why-dashboard.css */

.hero-split{
  display:grid; grid-template-columns: 1.1fr .9fr; gap:2rem; align-items:center;
}
.hero-ctas{ display:flex; gap:.75rem; margin:14px 0 10px; }
.hero-shot{ display:flex; flex-direction:column; align-items:center; }
.shot-card{
  width:100%; max-width:520px; border-radius:16px; overflow:hidden;
  box-shadow:0 10px 30px rgba(0,0,0,.18), inset 0 0 0 1px rgba(255,255,255,.35);
  background:linear-gradient(180deg,#ffffff,#f6f9ff);
}
.shot-card img{ width:100%; display:block; }
.shot-caption{ font-size:.9rem; color:#334; opacity:.8; margin-top:.5rem; text-align:center; }
@media (max-width: 980px){
  .hero-split{ grid-template-columns:1fr; }
  .shot-card{ max-width:90%; }
}

.kpi-strip{
  display:grid; grid-template-columns:repeat(4,minmax(0,1fr));
  gap:.6rem; margin-top:14px; max-width:720px;
}
.kpi-strip li{
  list-style:none; background:#fff; border-radius:12px; padding:.7rem .8rem;
  box-shadow:0 1px 3px rgba(0,0,0,.08);
  display:flex; flex-direction:column; align-items:flex-start;
}
.kpi-strip strong{ font-size:1.2rem; line-height:1; color:#0a2a4a; }
.kpi-strip span{ font-size:.85rem; color:#445; opacity:.85; margin-top:.25rem; }
@media (max-width:900px){ .kpi-strip{ grid-template-columns:repeat(2,1fr); } }

/* Fin de landing.css */
