

/* =====================================================
   PALETA — imagen adjunta
   Púrpura · Vino · Carmín · Rojo · Naranja · Amarillo
   + sistema blanco limpio estilo SMC
===================================================== */
:root {
  /* Paleta viva */
  --p1: #4a1a5c;   /* púrpura oscuro */
  --p2: #c94a00;   /* naranja oscuro */
  --p3: #e85a00;   /* naranja fuerte — primario */
  --p4: #ff6b10;   /* naranja vivo — hover */
  --p5: #e8682a;   /* naranja */
  --p6: #f5b800;   /* amarillo */

  /* Sistema blanco */
  --bg:       #ffffff;
  --bg-soft:  #f7f7f6;
  --bg-mid:   #f0efed;
  --borde:    #e4e2de;
  --borde-f:  #d0cec9;

  /* Texto */
  --txt-hd:   #111111;
  --txt-body: #3a3a3a;
  --txt-meta: #888880;
  --txt-inv:  #ffffff;

  /* Funcionales */
  --accent:   var(--p3);
  --accent2:  var(--p5);
  --dark-hd:  var(--p1);

  --r:  3px;
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.06), 0 2px 12px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 8px 32px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.10), 0 24px 64px rgba(0,0,0,0.08);
}

/* =====================================================
   BASE
===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 17px; }
body {
  font-family: 'Questrial', system-ui, sans-serif;
  background: var(--bg);
  color: var(--txt-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* =====================================================
   SISTEMA TIPOGRÁFICO JERÁRQUICO
   Montserrat — encabezados (todos los niveles)
   Questrial  — cuerpo, labels, UI, meta
   
   Escala: H1 72px/800 · H2 46px/700 · H3 26px/700
           H4 20px/600 · H5 14px/600 · H6 11px/700+caps
===================================================== */

/* — H1: Hero, página principal. Máximo impacto visual — */
.t-h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(44px, 5.5vw, 72px);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -2.5px;
}

/* — H2: Título de sección. Autoridad y jerarquía clara — */
.t-h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(28px, 3.2vw, 46px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.2px;
}

/* — H3: Bloque temático. Balance peso/legibilidad — */
.t-h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

/* — H4: Tarjeta / servicio. Énfasis sin dominar — */
.t-h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.2px;
}

/* — H5: Label secundario. Claridad funcional — */
.t-h5 {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0px;
}

/* — H6: Eyebrow / microlabel. Discreet pero preciso — */
.t-h6 {
  font-family: 'Montserrat', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

/* Atajo: encabezados HTML nativos heredan la escala */
h1 { font-family: 'Montserrat', sans-serif; font-size: clamp(44px, 5.5vw, 72px); font-weight: 800; line-height: 1.03; letter-spacing: -2.5px; }
h2 { font-family: 'Montserrat', sans-serif; font-size: clamp(28px, 3.2vw, 46px); font-weight: 700; line-height: 1.1; letter-spacing: -1.2px; }
h3 { font-family: 'Montserrat', sans-serif; font-size: clamp(20px, 2vw, 26px); font-weight: 700; line-height: 1.2; letter-spacing: -0.5px; }
h4 { font-family: 'Montserrat', sans-serif; font-size: clamp(16px, 1.4vw, 20px); font-weight: 600; line-height: 1.25; letter-spacing: -0.2px; }
h5 { font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 600; line-height: 1.3; }
h6 { font-family: 'Montserrat', sans-serif; font-size: 10.5px; font-weight: 700; line-height: 1.4; letter-spacing: 2.5px; text-transform: uppercase; }

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* =====================================================
   TOPBAR
===================================================== */
.topbar {
  background: var(--p1);
  padding: 0 48px;
  height: 36px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; font-weight: 500;
  color: rgba(255,255,255,0.72);
  letter-spacing: 0.2px;
}
.topbar-left { display: flex; gap: 24px; align-items: center; }
.topbar-item { display: flex; gap: 7px; align-items: center; }
.topbar-item svg { width: 13px; height: 13px; opacity: .65; flex-shrink: 0; }
.topbar-right { display: flex; gap: 16px; align-items: center; }
.topbar-phone {
  font-weight: 700; color: #fff; font-size: 13px; letter-spacing: .4px;
  display: flex; gap: 6px; align-items: center;
}
.topbar-phone svg { width: 13px; height: 13px; }
.topbar-emergency {
  background: var(--p6); color: var(--p1);
  font-size: 10px; font-weight: 800;
  letter-spacing: 1.4px; text-transform: uppercase;
  padding: 3px 10px; border-radius: 2px;
}

/* =====================================================
   NAVBAR — estilo SMC: blanco con borde inferior rojo
===================================================== */
.navbar {
  position: sticky; top: 0; z-index: 300;
  background: #fff;
  border-bottom: 1px solid var(--borde);
  box-shadow: 0 1px 0 var(--borde), 0 2px 12px rgba(0,0,0,0.04);
  height: 68px;
  padding: 0 48px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 14px; }
.nav-logo-mark {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px; font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--txt-hd);
  line-height: 1;
  padding: 5px 12px;
  border-left: 4px solid var(--p3);
}
.nav-logo-mark .on { color: var(--txt-hd); }
.nav-logo-mark .service { color: var(--p3); }
.nav-logo-divider { display: none; }
.nav-logo-sub { display: none; }
.nav-links {
  display: flex; list-style: none; gap: 0; align-items: center;
}
.nav-links li a {
  display: block;
  padding: 8px 15px;
  font-size: 13px; font-weight: 500;
  color: var(--txt-body);
  letter-spacing: .3px;
  transition: color .15s;
  position: relative;
}
.nav-links li a::after {
  content: ''; position: absolute;
  bottom: -1px; left: 50%; right: 50%;
  height: 2px; background: var(--p3);
  transition: left .2s, right .2s;
}
.nav-links li a:hover { color: var(--p3); }
.nav-links li a:hover::after { left: 15px; right: 15px; }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.nav-btn-outline {
  padding: 8px 18px;
  border: 1.5px solid var(--borde-f);
  border-radius: var(--r);
  font-size: 13px; font-weight: 600;
  color: var(--txt-body);
  cursor: pointer;
  transition: border-color .15s, color .15s;
}
.nav-btn-outline:hover { border-color: var(--p3); color: var(--p3); }
.nav-btn-primary {
  padding: 9px 22px;
  background: var(--p3);
  border-radius: var(--r);
  font-family: 'Montserrat', sans-serif;
  font-size: 12px; font-weight: 700;
  color: #fff;
  cursor: pointer;
  letter-spacing: .3px;
  transition: background .15s, box-shadow .15s;
  border: none;
  display: flex; gap: 8px; align-items: center;
}
.nav-btn-primary:hover { background: var(--p4); box-shadow: 0 4px 16px rgba(232,90,0,.28); }
.nav-btn-primary svg { width: 14px; height: 14px; }

/* =====================================================
   HERO — foto ancho total con overlay lateral
===================================================== */
.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  background: var(--bg-soft);
}

/* columna izquierda: texto sobre fondo claro */
.hero-text-col {
  position: relative; z-index: 2;
  padding: 80px 64px 80px 80px;
  display: flex; flex-direction: column; justify-content: center;
  background: #fff;
}

/* Línea de acento vertical izquierda */
.hero-text-col::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--p1) 0%, var(--p3) 40%, var(--p5) 80%, var(--p6) 100%);
}

.hero-eyebrow {
  font-family: 'Montserrat', sans-serif;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--p3);
  margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: ''; width: 24px; height: 2px; background: var(--p3);
}

.hero-h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(44px, 5.5vw, 72px);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -2.5px;
  color: var(--txt-hd);
  margin-bottom: 10px;
}
.hero-h1 em {
  font-style: italic;
  color: var(--p3);
}
.hero-h1-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(13px, 1.4vw, 16px);
  font-weight: 500;
  color: var(--txt-meta);
  letter-spacing: 0.2px;
  margin-bottom: 28px;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero-desc {
  font-size: 15px; font-weight: 400;
  line-height: 1.72; color: var(--txt-body);
  max-width: 460px; margin-bottom: 40px;
}
.hero-desc strong { font-weight: 600; color: var(--txt-hd); }

.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 52px; }

.btn-red {
  font-family: 'Montserrat', sans-serif;
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--p3); color: #fff;
  padding: 13px 26px;
  font-size: 14px; font-weight: 600; letter-spacing: .3px;
  border-radius: var(--r);
  cursor: pointer; border: none;
  transition: background .15s, box-shadow .2s;
}
.btn-red:hover { background: var(--p4); box-shadow: 0 6px 20px rgba(232,90,0,.3); }
.btn-red svg { width: 16px; height: 16px; }

.btn-ghost {
  font-family: 'Montserrat', sans-serif;
  display: inline-flex; align-items: center; gap: 9px;
  background: transparent; color: var(--txt-body);
  padding: 12px 24px;
  font-size: 14px; font-weight: 500;
  border-radius: var(--r);
  cursor: pointer;
  border: 1.5px solid var(--borde-f);
  transition: border-color .15s, color .15s;
}
.btn-ghost:hover { border-color: var(--p3); color: var(--p3); }
.btn-ghost svg { width: 15px; height: 15px; }

/* Estadísticas bajo CTAs */
.hero-kpis {
  display: flex; gap: 0;
  padding-top: 36px;
  border-top: 1px solid var(--borde);
}
.kpi {
  flex: 1;
  padding-right: 28px; margin-right: 28px;
  border-right: 1px solid var(--borde);
}
.kpi:last-child { border-right: none; padding-right: 0; margin-right: 0; }
.kpi-val {
  font-family: 'Montserrat', sans-serif;
  font-size: 38px; font-weight: 900;
  color: var(--p3); line-height: 1;
  display: block; letter-spacing: -2px;
}
.kpi-lbl {
  font-size: 11px; font-weight: 500;
  color: var(--txt-meta); letter-spacing: .5px;
  text-transform: uppercase; margin-top: 4px; display: block;
}

/* columna derecha: imagen */
.hero-img-col {
  position: relative; overflow: hidden;
  background: var(--bg-mid);
}
.hero-img-bg {
  position: absolute; inset: 0;
  background:
    url('https://images.unsplash.com/photo-1565043589221-1a6fd9ae45c7?w=1200&q=85')
    center/cover no-repeat;
}
.hero-img-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(247,247,246,.25) 0%, transparent 40%),
              linear-gradient(0deg, rgba(74,26,92,.45) 0%, transparent 60%);
}
/* Badge flotante sobre la imagen */
.hero-img-badge {
  position: absolute; z-index: 2;
  bottom: 36px; left: 36px;
  background: #fff;
  border-radius: 4px;
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 14px;
  max-width: 280px;
}
.hib-icon {
  width: 44px; height: 44px; border-radius: 3px;
  background: var(--p3);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: #fff;
}
.hib-icon svg { width: 22px; height: 22px; }
.hib-title { font-size: 13px; font-weight: 700; color: var(--txt-hd); margin-bottom: 2px; }
.hib-desc { font-size: 11px; color: var(--txt-meta); line-height: 1.4; }

/* Pill de años sobre la imagen */
.hero-years-pill {
  position: absolute; z-index: 2;
  top: 36px; right: 36px;
  background: var(--p1);
  border-radius: 100px;
  padding: 10px 20px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-md);
}
.hyp-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 30px; font-weight: 900; color: var(--p6);
  line-height: 1; letter-spacing: -1.5px;
}
.hyp-txt {
  font-size: 11px; font-weight: 600;
  color: rgba(255,255,255,.75);
  text-transform: uppercase; letter-spacing: 1px;
  line-height: 1.3;
}

/* =====================================================
   TIRA DE CAPACIDADES — strip justo debajo del hero
===================================================== */
.cap-strip {
  background: var(--p3);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 3px solid var(--p4);
}
.cap-item {
  padding: 22px 28px;
  display: flex; align-items: center; gap: 14px;
  border-right: 1px solid rgba(255,255,255,.15);
  cursor: pointer;
  transition: background .15s;
}
.cap-item:last-child { border-right: none; }
.cap-item:hover { background: rgba(0,0,0,.1); }
.cap-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(255,255,255,.15);
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.cap-icon svg { width: 20px; height: 20px; }
.cap-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px; font-weight: 700;
  color: #fff; line-height: 1.25; letter-spacing: -0.1px;
}
.cap-sub { font-size: 12px; color: rgba(255,255,255,.65); margin-top: 2px; }
.cap-arrow {
  margin-left: auto; flex-shrink: 0;
  color: rgba(255,255,255,.5);
}
.cap-arrow svg { width: 14px; height: 14px; }

/* =====================================================
   SECCIÓN GENÉRICA — helpers
===================================================== */
.sec { padding: 96px 80px; }
.sec.bg-soft { background: var(--bg-soft); }
.sec.bg-mid { background: var(--bg-mid); }
.sec.bg-dark { background: var(--p1); }

.sec-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--p3);
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
}
.sec-eyebrow::before { content: ''; width: 20px; height: 2px; background: var(--p3); }

.sec-h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(28px, 3.2vw, 46px);
  font-weight: 700; line-height: 1.1;
  letter-spacing: -1.2px; color: var(--txt-hd);
  margin-bottom: 16px;
}
.sec-h2 em { font-style: italic; color: var(--p3); }
.sec-h2.inv { color: #fff; }
.sec-h2.inv em { color: var(--p6); }

.sec-lead {
  font-size: 17px; font-weight: 300; line-height: 1.72;
  color: var(--txt-body); max-width: 580px;
}
.sec-lead.inv { color: rgba(255,255,255,.75); }

/* =====================================================
   SERVICIOS — grid 2×2
===================================================== */
.srv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 56px;
  background: var(--borde);
  border: 1px solid var(--borde);
  border-radius: 4px;
  overflow: hidden;
}
.srv-card {
  background: #fff;
  padding: 48px 44px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0 24px;
  cursor: pointer;
  transition: background .15s;
  position: relative;
}
.srv-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--p3);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.srv-card:hover { background: var(--bg-soft); }
.srv-card:hover::after { transform: scaleX(1); }

.srv-icon-col { grid-row: 1 / 3; }
.srv-icon {
  width: 56px; height: 56px;
  background: var(--bg-soft);
  border: 1.5px solid var(--borde);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  color: var(--p3);
  transition: background .15s, border-color .15s;
}
.srv-card:hover .srv-icon { background: var(--p3); color: #fff; border-color: var(--p3); }
.srv-icon svg { width: 26px; height: 26px; }

.srv-header { display: flex; flex-direction: column; margin-bottom: 14px; }
.srv-n {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--txt-meta); margin-bottom: 6px;
}
.srv-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(14px, 1.3vw, 17px); font-weight: 700;
  color: var(--txt-hd); line-height: 1.25;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.srv-body { grid-column: 2; }
.srv-desc {
  font-size: 14px; font-weight: 400;
  color: var(--txt-body); line-height: 1.7;
  margin-bottom: 20px;
}
.srv-tags {
  display: flex; gap: 6px; flex-wrap: wrap;
}
.srv-tag {
  font-size: 11px; font-weight: 600;
  padding: 3px 9px;
  border: 1px solid var(--borde-f);
  border-radius: 100px; color: var(--txt-meta);
  letter-spacing: .3px;
}
.srv-tag.red { border-color: rgba(232,90,0,.3); color: var(--p3); background: rgba(232,90,0,.04); }
.srv-tag.orange { border-color: rgba(232,104,42,.3); color: var(--p5); background: rgba(232,104,42,.04); }
.srv-tag.purple { border-color: rgba(74,26,92,.25); color: var(--p1); background: rgba(74,26,92,.04); }
.srv-tag.yellow { border-color: rgba(245,184,0,.4); color: #a07800; background: rgba(245,184,0,.06); }

/* =====================================================
   NOSOTROS — 2 columnas asimétrico
===================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 80px;
  align-items: start;
}
.about-text {}
.about-body {
  font-size: 16px; font-weight: 400;
  line-height: 1.78; color: var(--txt-body);
  margin-top: 24px; margin-bottom: 36px;
}
.about-body p + p { margin-top: 1em; }
.about-body strong { font-weight: 600; color: var(--txt-hd); }

/* Features lista */
.about-feats { display: flex; flex-direction: column; gap: 0; }
.about-feat {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--borde);
}
.about-feat:first-child { border-top: 1px solid var(--borde); }
.af-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px; color: var(--p3);
}
.af-icon svg { width: 20px; height: 20px; }
.af-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px; font-weight: 600;
  color: var(--txt-hd); margin-bottom: 3px; letter-spacing: -0.1px;
}
.af-desc { font-size: 13px; color: var(--txt-meta); line-height: 1.6; }

/* Caja derecha con métricas */
.about-sidebar {}
.about-metric-stack {
  display: flex; flex-direction: column; gap: 2px;
}
.metric-card {
  background: #fff;
  border: 1px solid var(--borde);
  padding: 28px 28px;
  display: flex; align-items: center; gap: 20px;
  transition: box-shadow .15s;
}
.metric-card:first-child { border-radius: 4px 4px 0 0; }
.metric-card:last-child { border-radius: 0 0 4px 4px; }
.metric-card:hover { box-shadow: var(--shadow-sm); z-index: 1; position: relative; }
.mc-line {
  width: 4px; height: 48px; border-radius: 2px; flex-shrink: 0;
}
.mc-val {
  font-family: 'Montserrat', sans-serif;
  font-size: 40px; font-weight: 900;
  line-height: 1; letter-spacing: -2px;
  display: block;
}
.mc-lbl { font-size: 13px; font-weight: 500; color: var(--txt-meta); margin-top: 2px; }

/* Aviso de urgencia */
.urgency-card {
  background: var(--p3);
  border-radius: 4px;
  padding: 28px 28px;
  margin-top: 16px;
  display: flex; gap: 16px; align-items: flex-start;
}
.uc-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(255,255,255,.15);
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.uc-icon svg { width: 20px; height: 20px; }
.uc-title { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.uc-desc { font-size: 12px; color: rgba(255,255,255,.75); line-height: 1.5; }
.uc-btn {
  font-family: 'Montserrat', sans-serif;
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 12px; padding: 8px 16px;
  background: #fff; color: var(--p3);
  border-radius: 3px; font-size: 12px; font-weight: 700;
  letter-spacing: .3px;
  transition: background .15s;
}
.uc-btn:hover { background: var(--p6); color: var(--p1); }
.uc-btn svg { width: 13px; height: 13px; }

/* =====================================================
   PROCESO — pasos horizontales sobre fondo suave
===================================================== */
.proceso-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 56px;
  position: relative;
}
.proceso-row::before {
  content: '';
  position: absolute;
  top: 27px; left: calc(10% + 8px); right: calc(10% + 8px);
  height: 1px;
  background: var(--borde-f);
}
.paso {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 0 16px;
}
.paso-num {
  width: 54px; height: 54px;
  background: #fff;
  border: 1.5px solid var(--borde-f);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 800;
  color: var(--txt-meta);
  margin-bottom: 20px;
  position: relative; z-index: 1;
  transition: all .2s;
  letter-spacing: -.5px;
}
.paso:hover .paso-num {
  background: var(--p3); border-color: var(--p3);
  color: #fff; box-shadow: 0 4px 16px rgba(232,90,0,.3);
}
.paso-title { font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 600; color: var(--txt-hd); margin-bottom: 6px; letter-spacing: -0.1px; }
.paso-desc { font-size: 12px; color: var(--txt-meta); line-height: 1.6; }

/* =====================================================
   EQUIPOS — grid de chips / lista dos columnas
===================================================== */
.equip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 48px;
  background: var(--borde);
  border: 1px solid var(--borde);
  border-radius: 4px;
  overflow: hidden;
}
.equip-item {
  background: #fff;
  padding: 22px 24px;
  display: flex; align-items: center; gap: 14px;
  cursor: pointer;
  transition: background .15s;
}
.equip-item:hover { background: var(--bg-soft); }
.eq-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.equip-name { font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 600; color: var(--txt-hd); letter-spacing: -0.1px; }
.equip-sub { font-size: 11px; color: var(--txt-meta); margin-top: 1px; }
.equip-arrow { margin-left: auto; color: var(--borde-f); }
.equip-arrow svg { width: 13px; height: 13px; }

/* Marcas strip */
.brands-strip {
  background: var(--bg-soft);
  border-top: 1px solid var(--borde);
  border-bottom: 1px solid var(--borde);
  padding: 16px 80px;
  display: flex; align-items: center; gap: 0;
}
.bs-label {
  font-size: 10px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--txt-meta);
  white-space: nowrap;
  padding-right: 28px; margin-right: 28px;
  border-right: 1px solid var(--borde-f);
}
.bs-items { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; }
.bs-item {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--txt-meta);
  opacity: .5;
  transition: opacity .2s;
  cursor: default;
}
.bs-item:hover { opacity: 1; }

/* =====================================================
   CLIENTES — logos
===================================================== */
.clients-grid {
  display: flex;
  background: #fff;
  border: 1px solid var(--borde);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 48px;
}
.client-item {
  flex: 1;
  min-height: 100px;
  display: flex; align-items: center; justify-content: center;
  padding: 24px 20px;
  border-right: 1px solid var(--borde);
  transition: background .2s;
  cursor: pointer;
}
.client-item:last-child { border-right: none; }
.client-item:hover { background: var(--bg-soft); }
.client-item img {
  max-height: 44px; max-width: 130px;
  object-fit: contain;
  filter: grayscale(100%) opacity(.45);
  transition: filter .3s;
}
.client-item:hover img { filter: grayscale(0%) opacity(1); }

/* Fallback text for broken images */
.client-fallback {
  font-size: 14px; font-weight: 800;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--txt-meta); opacity: .4;
}

/* =====================================================
   TESTIMONIOS
===================================================== */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.testi-card {
  background: #fff;
  border: 1px solid var(--borde);
  border-radius: 4px;
  padding: 36px 32px;
  display: flex; flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.testi-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.testi-stars {
  display: flex; gap: 3px; margin-bottom: 18px;
}
.testi-stars svg { width: 14px; height: 14px; fill: var(--p6); }
.testi-text {
  font-size: 14px; line-height: 1.78;
  color: var(--txt-body); flex: 1; margin-bottom: 28px;
  font-style: italic;
}
.testi-author {
  display: flex; align-items: center; gap: 12px;
  border-top: 1px solid var(--borde); padding-top: 20px;
}
.ta-av {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--p3);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; color: #fff;
  flex-shrink: 0;
}
.ta-name { font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 700; color: var(--txt-hd); letter-spacing: -0.1px; }
.ta-role { font-size: 11px; color: var(--txt-meta); margin-top: 1px; }

/* =====================================================
   CTA FINAL
===================================================== */
.cta-wrap {
  background: var(--p1);
  position: relative; overflow: hidden;
  padding: 96px 80px;
  display: grid; grid-template-columns: 1fr auto;
  gap: 60px; align-items: center;
}
/* Decoración geométrica */
.cta-wrap::before {
  content: '';
  position: absolute; right: -80px; top: -80px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,90,0,.3) 0%, transparent 70%);
  pointer-events: none;
}
.cta-wrap::after {
  content: '';
  position: absolute; left: 40%; bottom: -40px;
  width: 300px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--p6), transparent);
}
.cta-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--p6); margin-bottom: 12px;
}
.cta-h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800; line-height: 1.06;
  letter-spacing: -1.5px; color: #fff; margin-bottom: 16px;
}
.cta-h2 em { font-style: italic; color: var(--p6); }
.cta-desc {
  font-size: 16px; font-weight: 300;
  color: rgba(255,255,255,.7); line-height: 1.7;
  max-width: 480px;
}
.cta-actions-col {
  display: flex; flex-direction: column; gap: 12px;
  min-width: 240px;
}
.btn-yellow {
  font-family: 'Montserrat', sans-serif;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--p6); color: var(--p1);
  padding: 15px 28px;
  font-size: 14px; font-weight: 800;
  border-radius: var(--r); border: none;
  cursor: pointer; letter-spacing: .3px;
  transition: background .15s, box-shadow .2s;
}
.btn-yellow:hover { background: #ffc400; box-shadow: 0 6px 24px rgba(245,184,0,.4); }
.btn-yellow svg { width: 16px; height: 16px; }
.btn-inv-outline {
  font-family: 'Montserrat', sans-serif;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  background: transparent; color: rgba(255,255,255,.8);
  padding: 14px 26px;
  font-size: 14px; font-weight: 500;
  border-radius: var(--r);
  border: 1.5px solid rgba(255,255,255,.25);
  cursor: pointer;
  transition: border-color .15s, color .15s;
}
.btn-inv-outline:hover { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-inv-outline svg { width: 15px; height: 15px; }

/* Dato de contacto bajo los botones */
.cta-contact-hint {
  font-size: 12px; color: rgba(255,255,255,.4);
  text-align: center; letter-spacing: .3px;
}

/* =====================================================
   FOOTER
===================================================== */
footer {
  background: #0d0d0d;
  border-top: 3px solid var(--p3);
  padding: 64px 80px 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.ft-brand {}
.ft-logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px; font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff; margin-bottom: 14px;
  border-left: 3px solid var(--p3);
  padding-left: 10px;
  display: inline-block;
}
.ft-logo span { color: var(--p3); }
.ft-desc {
  font-size: 13px; color: rgba(255,255,255,.45);
  line-height: 1.7; max-width: 240px; margin-bottom: 24px;
}
.ft-socials { display: flex; gap: 8px; }
.ft-soc {
  width: 34px; height: 34px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5); font-size: 11px; font-weight: 800;
  cursor: pointer; transition: background .15s, border-color .15s, color .15s;
}
.ft-soc:hover { background: var(--p3); border-color: var(--p3); color: #fff; }

.ft-col-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px; font-weight: 800;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 18px; padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.ft-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.ft-links li a {
  font-size: 13px; color: rgba(255,255,255,.5);
  transition: color .15s;
}
.ft-links li a:hover { color: #fff; }

.ft-contact-item {
  display: flex; gap: 9px; align-items: flex-start;
  font-size: 12px; color: rgba(255,255,255,.45);
  margin-bottom: 11px;
}
.ft-contact-item svg { width: 13px; height: 13px; flex-shrink: 0; margin-top: 1px; color: var(--p3); }

.footer-bottom {
  padding-top: 20px;
  display: flex; justify-content: center; align-items: center;
  font-size: 11px; color: rgba(255,255,255,.25);
}
.footer-bottom a { color: rgba(255,255,255,.25); transition: color .15s; }
.footer-bottom a:hover { color: rgba(255,255,255,.55); }
.fb-links { display: flex; gap: 20px; }

/* =====================================================
   RESPONSIVE
===================================================== */
/* ===== TABLET (≤1024px) ===== */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .hero-img-col { display: none; }
  .hero-text-col {
    padding: 64px 56px;
    min-height: auto;
  }
  .cap-strip { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .cta-wrap { grid-template-columns: 1fr; gap: 32px; }
  .cta-actions-col { flex-direction: row; flex-wrap: wrap; }
  .sec { padding: 72px 48px; }
  footer { padding: 48px 48px 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-top > div:first-child { grid-column: 1 / -1; }
  .navbar { padding: 0 24px; }
  .nav-logo-mark { font-size: 18px; }
  .topbar { padding: 0 24px; }
  .topbar-left .topbar-item:nth-child(3) { display: none; }
  .brands-strip { padding: 14px 48px; }
  .srv-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
}

/* ===== MOBILE (≤768px) ===== */
@media (max-width: 768px) {
  /* layout */
  .topbar { padding: 0 16px; height: auto; min-height: 36px; flex-wrap: wrap; gap: 4px; }
  .topbar-left { gap: 12px; flex-wrap: wrap; }
  .topbar-left .topbar-item:nth-child(2),
  .topbar-left .topbar-item:nth-child(3) { display: none; }
  .topbar-right { gap: 8px; }
  .topbar-emergency { display: none; }

  .navbar { padding: 0 16px; height: 60px; }
  .nav-links { display: none; }
  .nav-btn-outline { display: none; }
  .nav-logo-mark { font-size: 17px; }

  .hero-text-col { padding: 40px 20px 48px; }
  .hero-h1 { font-size: clamp(36px, 9vw, 48px); letter-spacing: -1.5px; }
  .hero-h1-sub { font-size: 11px; }
  .hero-desc { font-size: 13.5px; }
  .hero-ctas { flex-direction: column; gap: 10px; }
  .hero-ctas a { justify-content: center; }
  .hero-kpis { flex-wrap: wrap; gap: 0; }
  .kpi { flex: 0 0 50%; padding: 16px 0 16px 0; margin: 0; border-right: none; border-bottom: 1px solid var(--borde); }
  .kpi:nth-child(odd) { border-right: 1px solid var(--borde); padding-right: 12px; }
  .kpi-val { font-size: 30px; }
  .kpi-lbl { font-size: 10px; }

  .cap-strip { grid-template-columns: 1fr; }
  .cap-item { padding: 16px 20px; }

  .sec { padding: 56px 20px; }
  .sec-h2 { font-size: clamp(24px, 7vw, 32px); }
  .srv-grid { grid-template-columns: 1fr; }
  .srv-card { grid-template-columns: 44px 1fr; padding: 28px 20px; }
  .srv-icon { width: 44px; height: 44px; }

  .proceso-row { grid-template-columns: 1fr 1fr; gap: 28px; }
  .proceso-row::before { display: none; }
  .paso-num { width: 44px; height: 44px; font-size: 15px; }

  .equip-grid { grid-template-columns: 1fr; }
  .equip-item { padding: 16px 18px; }

  .about-metric-stack { gap: 2px; }
  .metric-card { padding: 20px; }
  .mc-val { font-size: 32px; }

  .testi-grid { grid-template-columns: 1fr; }
  .testi-card { padding: 24px 20px; }

  .clients-grid { flex-wrap: wrap; }
  .client-item { flex: 0 0 50%; border-bottom: 1px solid var(--borde); }

  .cta-wrap { padding: 56px 20px; }
  .cta-actions-col { flex-direction: column; width: 100%; }
  .cta-h2 { font-size: clamp(28px, 8vw, 40px); }

  footer { padding: 48px 20px 20px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }

  .brands-strip { padding: 12px 20px; }
  .bs-items { gap: 18px; }
  .bs-item { font-size: 10px; }

  /* Servicios header a 1 col en mobile */
  .sec > div[style*="grid-template-columns:1fr auto"] {
    display: flex; flex-direction: column; gap: 20px; align-items: flex-start;
  }
  /* About grid override */
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ===== SMALL MOBILE (≤480px) ===== */
@media (max-width: 480px) {
  .hero-h1 { font-size: clamp(32px, 10vw, 40px); letter-spacing: -1px; }
  .kpi { flex: 0 0 50%; }
  .cap-strip { grid-template-columns: 1fr; }
}

/* =====================================================
   CARRUSEL DE MARCAS
===================================================== */
.brands-carousel-wrap {
  background: var(--bg-soft);
  border-top: 1px solid var(--borde);
  border-bottom: 1px solid var(--borde);
  padding: 32px 80px 36px;
  overflow: hidden;
}
.bc-header {
  display: flex; align-items: baseline; gap: 16px;
  margin-bottom: 24px;
}
.bc-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px; font-weight: 800;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--txt-meta);
}
.bc-sub {
  font-size: 12px; color: var(--txt-meta); opacity: .65;
}
.bc-track-outer {
  overflow: hidden;
  position: relative;
  /* fade edges */
  mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
}
.bc-track {
  display: flex; gap: 12px;
  width: max-content;
  animation: bc-scroll 32s linear infinite;
}
.bc-track:hover { animation-play-state: paused; }
@keyframes bc-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.bc-item {
  flex: 0 0 140px;
  height: 80px;
  background: #fff;
  border: 1px solid var(--borde);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  padding: 14px 18px;
  cursor: default;
  transition: box-shadow .25s, transform .2s;
  position: relative;
}
.bc-item:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.bc-img {
  max-width: 100%; max-height: 44px;
  object-fit: contain;
  filter: grayscale(100%) opacity(.45);
  transition: filter .35s ease;
  display: block;
}
.bc-item:hover .bc-img {
  filter: grayscale(0%) opacity(1);
}
.bc-fallback {
  display: none;
  align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px; font-weight: 800;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--txt-meta); opacity: .5;
  width: 100%; text-align: center;
}




/* =====================================================
   MOBILE: CTA FINAL
===================================================== */
@media (max-width: 768px) {
  .cta-wrap {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
    padding: 56px 20px !important;
  }
  .cta-wrap > div:last-child {
    width: 100%;
  }
  .cta-wrap > div:last-child > div {
    padding: 24px 20px !important;
  }
  .cta-h2 { font-size: clamp(30px, 8vw, 42px) !important; }

  /* Mobile footer */
  .footer-top {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    padding-bottom: 28px !important;
  }
  footer { padding: 40px 20px 0 !important; }
  .ft-desc { max-width: 100% !important; }
  .ft-socials { margin-bottom: 4px; }
  
  .footer-bottom {
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
    text-align: center !important;
    padding: 20px 0 24px !important;
  }

  /* Carousel on mobile: narrower items, still scrolls */
  .brands-carousel-wrap { padding: 24px 20px 28px; }
  .bc-item { flex: 0 0 130px; }
}

/* =====================================================
   MOBILE: FOOTER BOTTOM — logo + credits stacked
===================================================== */
.footer-bottom-inner {
  display: flex; flex-direction: column;
  align-items: center; gap: 6px;
  text-align: center; width: 100%;
}

