/* =============================================
   J&O Suministros — styles.css
   Responsive + WCAG 2.1 AA
   ============================================= */

/* =============================================
   TIPOGRAFÍA — Inter alojada localmente (sin Google Fonts)
   ============================================= */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter-700.woff2') format('woff2');
}

/* =============================================
   BARRA DE ACCESIBILIDAD (WCAG 1.4.4 / 1.4.3 / 1.4.6)
   ============================================= */
.acc-bar {
  background: #0d1f3c;
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: .35rem 0;
}
.acc-bar__inner {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.acc-bar__label {
  font-size: .72rem;
  color: rgba(255,255,255,.5);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  flex-shrink: 0;
}
.acc-bar__grupo {
  display: flex;
  align-items: center;
  gap: .3rem;
}
.acc-bar__grupo-label {
  font-size: .68rem;
  color: rgba(255,255,255,.4);
  margin-right: .15rem;
}
.acc-bar__sep {
  width: 1px;
  height: 18px;
  background: rgba(255,255,255,.15);
  flex-shrink: 0;
}
.acc-btn {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.75);
  border-radius: 5px;
  cursor: pointer;
  font-family: var(--fuente);
  font-weight: 700;
  transition: background .15s, color .15s, border-color .15s;
  line-height: 1;
  padding: .28rem .55rem;
  font-size: .8rem;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}
.acc-btn:hover,
.acc-btn[aria-pressed="true"] {
  background: var(--azul);
  border-color: var(--azul);
  color: #fff;
}
.acc-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.acc-btn--md { font-size: .95rem; }
.acc-btn--lg { font-size: 1.15rem; }
.acc-btn--icon svg { width: 14px; height: 14px; }
.acc-btn__texto { font-size: .72rem; font-weight: 600; }
.acc-btn--reset {
  margin-left: auto;
  background: rgba(255,255,255,.05);
  font-size: .72rem;
}
.acc-btn--reset svg { width: 12px; height: 12px; }

/* Tamaños de fuente (WCAG 1.4.4) */
html[data-font="mediano"] { font-size: 18px; }
html[data-font="grande"]  { font-size: 21px; }

/* Barra accesibilidad — móvil compacto */
@media (max-width: 640px) {
  .acc-bar { padding: .25rem 0; }
  .acc-bar__inner { gap: .3rem; padding: 0 .75rem; }
  .acc-bar__label { display: none; }
  .acc-bar__grupo-label { display: none; }
  .acc-btn__texto { display: none; }
  .acc-bar__sep { height: 14px; }
  .acc-btn { padding: .25rem .4rem; font-size: .75rem; }
  .acc-btn--md { font-size: .85rem; }
  .acc-btn--lg { font-size: 1rem; }
  .acc-btn--reset { margin-left: 0; }
}

/* =============================================
   MODO NOCTURNO (WCAG 1.4.3 — contraste AA)
   ============================================= */
html[data-tema="nocturno"] {
  --gris-bg:    #1a1f2e;
  --gris-borde: #2d3550;
  --texto:      #e8eaf2;
  --texto-sec:  #9aa3c2;
  --blanco:     #121828;
  --azul-claro: #1a2d4d;
  --azul-texto: #7eb8f7;
}
html[data-tema="nocturno"] body { background: #0f1420; color: #e8eaf2; }
html[data-tema="nocturno"] .acc-bar { background: #07101f; }
html[data-tema="nocturno"] .navbar__top,
html[data-tema="nocturno"] .navbar__bottom,
html[data-tema="nocturno"] .navbar__menu-movil { background: #121828; border-color: #2d3550; }
html[data-tema="nocturno"] .navbar__logo-nombre { color: #7eb8f7; }
html[data-tema="nocturno"] .navbar__action,
html[data-tema="nocturno"] .navbar__email { background: #1a2035; color: #9aa3c2; }
html[data-tema="nocturno"] .navbar__action:hover,
html[data-tema="nocturno"] .navbar__email:hover { background: #1a2d4d; color: #7eb8f7; }
html[data-tema="nocturno"] .hero-v2 { background: linear-gradient(135deg,#050d1a 0%,#0a1f3d 55%,#0e3060 100%); }
html[data-tema="nocturno"] .producto-card { background: #1a2035 !important; border-color: #2d3550; }
html[data-tema="nocturno"] .producto-card__items { color: #9aa3c2; }
html[data-tema="nocturno"] .sector-tag { background: #1a2035; border-color: #2d3550; color: #e8eaf2; }
html[data-tema="nocturno"] .sector-tag svg { color: #7eb8f7; }
html[data-tema="nocturno"] .sector-tag:hover { background: #1a2d4d; border-color: #7eb8f7; color: #7eb8f7; }
html[data-tema="nocturno"] .ventaja-card { background: #1a2035; }
html[data-tema="nocturno"] .paso { background: #1a2035; }
html[data-tema="nocturno"] .seccion--gris,
html[data-tema="nocturno"] #sectores { background: #141929; }
html[data-tema="nocturno"] .contacto__form { background: #1a2d4d; border-color: #2d3550; }
html[data-tema="nocturno"] .form__grupo input,
html[data-tema="nocturno"] .form__grupo textarea,
html[data-tema="nocturno"] .form__grupo select { background: #0f1420; border-color: #2d3550; color: #e8eaf2; }
html[data-tema="nocturno"] .mapa-wrap { border-color: #2d3550; }
html[data-tema="nocturno"] .footer { background: #07101f; }

/* =============================================
   ALTO CONTRASTE (WCAG 1.4.6 — AAA)
   ============================================= */
html[data-contraste="alto"] {
  --texto:      #000;
  --texto-sec:  #1a1a1a;
  --blanco:     #fff;
  --gris-bg:    #f0f0f0;
  --gris-borde: #000;
}
html[data-contraste="alto"] body { background: #fff; color: #000; }
html[data-contraste="alto"] .producto-card,
html[data-contraste="alto"] .sector-tag,
html[data-contraste="alto"] .ventaja-card,
html[data-contraste="alto"] .paso { background: #fff !important; border: 2px solid #000 !important; }
html[data-contraste="alto"] .seccion--gris { background: #f0f0f0; }
html[data-contraste="alto"] .navbar__top,
html[data-contraste="alto"] .navbar__bottom { border-bottom: 2px solid #000; }

/* Subrayar todos los enlaces (WCAG 1.4.1) */
html[data-enlaces="subrayados"] a:not(.btn):not(.navbar__logo):not(.wa-float):not(.navbar__wa):not(.navbar__action) {
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

/* =============================================
   SECTORES — Grid responsivo (sin carrusel)
   ============================================= */
.sectores__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1120px;
}

/* --- Reset & base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --azul:        #0A66D1;
  --azul-hover:  #084fb0;
  --azul-claro:  #E6F1FB;
  --azul-texto:  #0C447C;
  --accent:      #FFD166;
  --grad-prim:   linear-gradient(90deg, #0A66D1 0%, #FFD166 100%);
  --verde-wa:    #25D366;
  --verde-wa-h:  #1eaa52;
  --gris-bg:     #F5F6F8;
  --gris-borde:  #D1D5DB;
  --texto:       #111827;
  --texto-sec:   #4B5563;
  --blanco:      #ffffff;
  --radio:       10px;
  --radio-lg:    14px;
  --sombra:      0 6px 20px rgba(10,38,90,.10), 0 2px 6px rgba(0,0,0,.06);
  --trans:       200ms cubic-bezier(.2,.9,.2,1);
  --fuente:      'Inter', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--fuente);
  color: var(--texto);
  background: var(--blanco);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* --- Skip link WCAG --- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--azul);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radio);
  font-size: .875rem;
  font-weight: 600;
  z-index: 9999;
  text-decoration: none;
  transition: top var(--trans);
}
.skip-link:focus { top: 1rem; }

/* --- Focus visible global --- */
:focus-visible {
  outline: 3px solid var(--azul);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --- Contenedor --- */
.contenedor {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* =============================================
   NAVBAR — superior blanco, inferior azul
   ============================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
  isolation: isolate;
}

/* BARRA SUPERIOR — blanca */
.navbar__top {
  background: #ffffff;
  border-bottom: none;
  box-shadow: none;
}
.navbar__top-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .125rem 1.25rem;
  gap: 1.5rem;
}

/* BARRA INFERIOR — azul degradado */
.navbar__bottom { background: linear-gradient(180deg, #1e5fa8 0%, #1A3A6E 100%); }
/* Hero v2 continúa el mismo degradado sin corte */
.navbar__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.25rem;
}

/* Logo */
.navbar__logo {
  display: flex;
  align-items: center;
  gap: .625rem;
  text-decoration: none;
  flex-shrink: 0;
}
.navbar__logo-box {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  object-fit: contain;
  flex-shrink: 0;
}
.navbar__logo-texto { line-height: 1.2; }
.navbar__logo-nombre { font-size: .9375rem; font-weight: 600; color: var(--azul); }

/* Acciones */
.navbar__actions { display: flex; align-items: center; gap: .75rem; }
.navbar__action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radio);
  background: var(--gris-bg);
  border: 1px solid var(--gris-borde);
  color: var(--texto);
  text-decoration: none;
  transition: background var(--trans), color var(--trans);
  cursor: pointer;
}
.navbar__action:hover { background: var(--azul-claro); color: var(--azul); }
.navbar__action svg { width: 20px; height: 20px; }

.navbar__wa {
  display: flex;
  align-items: center;
  gap: .5rem;
  height: 38px;
  padding: 0 .85rem;
  border-radius: var(--radio);
  text-decoration: none;
  font-size: .8125rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background var(--trans), color var(--trans);
  background: var(--verde-wa);
  color: #fff;
}
.navbar__wa svg { width: 18px; height: 18px; flex-shrink: 0; }
.navbar__wa:hover { background: var(--verde-wa-h); }

.navbar__email {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radio);
  background: var(--gris-bg);
  border: 1px solid var(--gris-borde);
  color: var(--texto);
  text-decoration: none;
  transition: background var(--trans), color var(--trans);
}
.navbar__email svg { width: 20px; height: 20px; }
.navbar__email:hover { background: var(--azul-claro); color: var(--azul); }

/* Menú navegación */
.navbar__nav {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.navbar__nav a {
  font-size: .8125rem;
  color: rgba(255,255,255,.75);
  text-decoration: none;
  padding: .875rem .85rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  font-weight: 500;
  display: block;
  white-space: nowrap;
  transition: color var(--trans), font-weight var(--trans);
}
.navbar__nav a:hover,
.navbar__nav a[aria-current="page"] {
  color: #fff;
  font-weight: 700;
  background: none;
}

/* Hamburguesa */
.navbar__toggle {
  display: none;
  background: var(--gris-bg);
  border: 1px solid var(--gris-borde);
  border-radius: var(--radio);
  padding: .4rem .5rem;
  cursor: pointer;
  color: var(--azul);
  line-height: 0;
}
.navbar__toggle svg { width: 22px; height: 22px; stroke: var(--azul); }

/* Menú móvil */
.navbar__menu-movil {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: .5rem 1.25rem 1rem;
  border-top: 1px solid rgba(255,255,255,.1);
  background: #0d2045;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
}
.navbar__menu-movil.abierto { display: flex; }
.navbar__menu-movil a {
  font-size: .9375rem;
  color: rgba(255,255,255,.82);
  text-decoration: none;
  padding: .75rem .25rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: color var(--trans);
}
.navbar__menu-movil a:last-child { border-bottom: none; }
.navbar__menu-movil a:hover { color: #7EC8F7; }

/* Hero v2 — sin borde superior, continúa el degradado del navbar */
.hero-v2 { border-top: none; }

/* =============================================
   HERO
   ============================================= */
.hero {
  background: var(--gris-bg);
  padding: 4rem 1.25rem 3.5rem;
  border-bottom: 1px solid var(--gris-borde);
}
.hero__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  background: var(--azul-claro);
  color: var(--azul-texto);
  font-size: .75rem;
  font-weight: 600;
  padding: .3rem .875rem;
  border-radius: 99px;
  margin-bottom: 1rem;
}
.hero__badge svg { width: 14px; height: 14px; }
.hero h1 {
  font-size: clamp(1.625rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--texto);
  margin-bottom: .875rem;
  max-width: 520px;
}
.hero__desc {
  font-size: 1rem;
  color: var(--texto-sec);
  line-height: 1.75;
  margin-bottom: 1.75rem;
  max-width: 460px;
}
.hero__btns { display: flex; gap: .75rem; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .875rem;
  font-weight: 600;
  padding: .625rem 1.25rem;
  border-radius: var(--radio);
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--trans), border-color var(--trans), color var(--trans);
  line-height: 1;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn--primario {
  background: var(--grad-prim);
  color: #07203b;
  border-color: transparent;
  box-shadow: 0 10px 30px rgba(10,102,209,.12);
}
.btn--primario:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(10,102,209,.14);
}
.btn--wa { background: var(--verde-wa); color: #fff; border-color: var(--verde-wa); }
.btn--wa:hover { background: var(--verde-wa-h); border-color: var(--verde-wa-h); }
.btn--contorno { background: transparent; color: var(--azul); border-color: var(--azul); }
.btn--contorno:hover { background: var(--azul-claro); }

.hero__stats { display: flex; flex-direction: column; gap: .625rem; }
.stat-card {
  background: var(--blanco);
  border: 1px solid var(--gris-borde);
  border-radius: var(--radio-lg);
  padding: 1rem 1.5rem;
  text-align: center;
  min-width: 120px;
  box-shadow: var(--sombra);
}
.stat-card__num { font-size: 1.5rem; font-weight: 700; color: var(--accent); line-height: 1; }
.stat-card__lbl { font-size: .75rem; color: var(--texto-sec); margin-top: .25rem; }

/* =============================================
   HERO V2 — degradado + carrusel
   ============================================= */
.hero-v2 {
  background: linear-gradient(180deg, #1A3A6E 0%, #1e5fa8 50%, #2a7dd4 100%);
  padding: 2rem 1.25rem;
  border-bottom: none;
  position: relative;
  overflow: hidden;
}
.hero-v2::before {
  content: '';
  position: absolute;
  inset: 0;
  background: none;
  pointer-events: none;
}

.hero-v2__inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-v2__texto .hero__badge {
  background: rgba(255,255,255,.15);
  color: rgba(255,255,255,.9);
  backdrop-filter: blur(4px);
}
.hero-v2__texto h1 {
  font-size: clamp(1.375rem, 2.6vw, 1.875rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: .75rem;
}
.hero-v2__linea-color {
  color: var(--accent);
  text-shadow: 0 4px 18px rgba(255,209,102,.12);
}
.hero-v2__texto .hero__desc {
  color: rgba(255,255,255,.75);
  margin-bottom: 1.25rem;
}

/* Stats inline */
.hero-v2__stats {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.hero-v2__stat {
  display: flex;
  flex-direction: column;
}
.hero-v2__stat-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: #7EC8F7;
  line-height: 1;
}
.hero-v2__stat-lbl {
  font-size: .7rem;
  color: rgba(255,255,255,.6);
  margin-top: .2rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.hero-v2__sep {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,.2);
  flex-shrink: 0;
}

/* Botones sobre fondo oscuro */
.hero-v2__texto .btn--contorno {
  border-color: rgba(255,255,255,.4);
  color: #fff;
}
.hero-v2__texto .btn--contorno:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.7);
}

/* =============================================
   CARRUSEL
   ============================================= */
.carrusel {
  position: relative;
  user-select: none;
}

.carrusel__track {
  position: relative;
  overflow: hidden;
  border-radius: var(--radio-lg);
  min-height: 260px;
}

.carrusel__slide {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,32,59,.34) 0%, rgba(10,102,209,.24) 50%, rgba(255,209,102,.1) 100%);
  border: 1px solid rgba(255,255,255,.32);
  border-radius: var(--radio-lg);
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  min-height: 260px;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .45s ease, transform .45s ease;
  pointer-events: none;
  box-shadow: 0 8px 20px rgba(0,0,0,.14);
  backdrop-filter: blur(14px);
}
.carrusel__slide.activo {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  position: relative;
}
.carrusel__slide.saliendo {
  opacity: 0;
  transform: translateX(-40px);
  position: absolute;
}

.carrusel__icono {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.carrusel__icono svg { width: 26px; height: 26px; }

.carrusel__titulo {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--accent);
  text-shadow: 0 4px 18px rgba(10,66,209,.18);
  margin-bottom: .5rem;
}
.carrusel__desc {
  font-size: .9rem;
  color: rgba(255,255,255,.88);
  line-height: 1.65;
  margin-bottom: 1rem;
  text-align: justify;
}
.carrusel__link {
  display: inline-flex;
  align-items: center;
  font-size: .875rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: gap var(--trans), color var(--trans);
  gap: .25rem;
}
.carrusel__link:hover {
  gap: .5rem;
  color: rgba(255,255,255,.95);
}

/* Controles */
.carrusel__controles {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  margin-top: .875rem;
}
.carrusel__btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--trans), border-color var(--trans);
  flex-shrink: 0;
  backdrop-filter: blur(4px);
}
.carrusel__btn:hover { background: rgba(255,255,255,.25); border-color: rgba(255,255,255,.6); }
.carrusel__btn svg { width: 16px; height: 16px; }

.carrusel__dots {
  display: flex;
  gap: .4rem;
  align-items: center;
}
.carrusel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--trans), transform var(--trans), width var(--trans);
}
.carrusel__dot.activo {
  background: #fff;
  width: 22px;
  border-radius: 4px;
  transform: none;
}
.carrusel__dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Barra de progreso */
.carrusel__progress {
  height: 3px;
  background: rgba(255,255,255,.15);
  border-radius: 2px;
  margin-top: .625rem;
  overflow: hidden;
}
.carrusel__progress-bar {
  height: 100%;
  background: #7EC8F7;
  border-radius: 2px;
  width: 0%;
  transition: width linear;
}

/* =============================================
   SECCIONES GENERALES
   ============================================= */
.seccion { padding: 4rem 1.25rem; }
.seccion--lineas { padding-bottom: 1rem; }
.seccion--gris {
  background: var(--gris-bg);
}
.seccion__encabezado { text-align: center; margin-bottom: 2.5rem; }
.seccion__titulo {
  font-size: clamp(1.25rem, 3vw, 1.625rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--azul) 0%, #16A34A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: .375rem;
}
.seccion__sub { font-size: .9375rem; color: var(--texto-sec); max-width: 520px; margin: 0 auto; }
.seccion__seo {
  font-size: .9rem;
  color: var(--texto-sec);
  line-height: 1.75;
  max-width: 720px;
  margin: .75rem auto 0;
  /* Visible para Google, discreto visualmente */
}

/* Productos - Título azul y fondo con patrón */
#productos {
  background: #fff;
  position: relative;
}
#productos .seccion__titulo {
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  color: var(--azul);
}
#productos .seccion__sub {
  color: var(--texto-sec);
}
#productos::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%230a66d1' stroke-width='0.5' opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='15'/%3E%3Cpath d='M15 30h30M30 15v30'/%3E%3Crect x='10' y='10' width='40' height='40'/%3E%3C/g%3E%3Cg fill='%230a66d1' opacity='0.02'%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3Ccircle cx='50' cy='10' r='2'/%3E%3Ccircle cx='10' cy='50' r='2'/%3E%3Ccircle cx='50' cy='50' r='2'/%3E%3Ccircle cx='30' cy='30' r='1.5'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}
#productos .contenedor {
  position: relative;
  z-index: 1;
}

/* =============================================
   PRODUCTOS — Carrusel (3 items por slide)
   ============================================= */
.productos__carrusel {
  position: relative;
}
.productos__track {
  position: relative;
  overflow: hidden;
}
.productos__slide {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .5s ease, transform .5s ease;
  pointer-events: none;
  position: absolute;
  inset: 0;
  width: 100%;
}
.productos__slide.activo {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  position: relative;
}
.productos__slide.saliendo {
  opacity: 0;
  transform: translateX(-40px);
  position: absolute;
}

/* Grid 6 pasos */
.pasos__grid.pasos__grid--6 {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) { .pasos__grid.pasos__grid--6 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .pasos__grid.pasos__grid--6 { grid-template-columns: 1fr; } }

/* Párrafo descripción en tarjetas de producto */
.producto-card__desc {
  font-size: .875rem;
  color: var(--texto-sec);
  line-height: 1.55;
  margin-bottom: 1rem;
  flex: 1;
}
html[data-tema="nocturno"] .producto-card__desc { color: #9aa3c2; }

/* Controles Productos */
.productos__controles {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}
.productos__btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--azul);
  background: var(--azul);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .4s cubic-bezier(.34, 1.56, .64, 1);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(10,102,209,.15);
}
.productos__btn:hover {
  background: var(--azul-hover);
  border-color: var(--azul-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(10,102,209,.25);
}
.productos__btn svg { width: 18px; height: 18px; }

.productos__dots {
  display: flex;
  gap: .6rem;
  align-items: center;
}
.productos__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gris-borde);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all .4s cubic-bezier(.34, 1.56, .64, 1);
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
}
.productos__dot:hover {
  background: var(--azul);
  transform: scale(1.2);
}
.productos__dot.activo {
  background: var(--azul);
  width: 28px;
  border-radius: 5px;
  box-shadow: 0 4px 12px rgba(10,102,209,.25);
}

@media (max-width: 900px) {
  .productos__slide {
    grid-template-columns: repeat(2, 1fr);
  }
  .productos__slide .producto-card {
    min-height: auto;
  }
}

@media (max-width: 540px) {
  .productos__slide {
    grid-template-columns: 1fr;
  }
}
.producto-card {
  background: var(--blanco);
  border: 1px solid var(--gris-borde);
  border-radius: var(--radio-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 6px 16px rgba(16,24,40,.08);
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.producto-card:hover {
  box-shadow: 0 4px 10px rgba(16,24,40,.06), 0 16px 32px rgba(16,24,40,.14);
  transform: translateY(-4px);
  border-color: rgba(10,102,209,.25);
}

/* Cabecera de color con icono */
.producto-card__cabecera {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.producto-card__cabecera svg {
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.2));
}

/* Cuerpo */
.producto-card__cuerpo {
  padding: 1.125rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Badge de categoría */
.producto-card__badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .25rem .75rem;
  border-radius: 99px;
  margin-bottom: .75rem;
  align-self: flex-start;
}

/* Nombre */
.producto-card__nombre {
  font-size: 1rem;
  font-weight: 700;
  color: var(--texto);
  margin-bottom: .875rem;
  line-height: 1.3;
}

/* Lista de items */
.producto-card__lista {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  flex: 1;
}
.producto-card__lista li {
  font-size: .8125rem;
  color: var(--texto-sec);
  padding: .3rem 0;
  border-bottom: 1px solid var(--gris-bg);
  display: flex;
  align-items: center;
  gap: .5rem;
  line-height: 1.4;
}
.producto-card__lista li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--azul);
  flex-shrink: 0;
  opacity: .6;
}
.producto-card__lista li:last-child { border-bottom: none; }

/* Enlace al fondo — más liviano que un botón sólido repetido 9 veces */
.producto-card__btn {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  color: var(--azul);
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: auto;
  transition: gap .2s ease, color .2s ease;
}
.producto-card__btn::after { content: '→'; transition: transform .2s ease; }
.producto-card__btn:hover { gap: .55rem; color: var(--azul-hover); }
.producto-card__btn:focus-visible {
  outline: 2px solid var(--azul);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Modo nocturno */
html[data-tema="nocturno"] .producto-card {
  background: #171d30;
  border-color: #2d3550;
  box-shadow: 0 0 0 1px rgba(255,255,255,.03), 0 10px 24px rgba(0,0,0,.35);
}
html[data-tema="nocturno"] .producto-card:hover {
  border-color: rgba(126,184,247,.4);
  box-shadow: 0 0 0 1px rgba(255,255,255,.05), 0 16px 36px rgba(0,0,0,.45);
}
html[data-tema="nocturno"] .producto-card__nombre { color: #e8eaf2; }
html[data-tema="nocturno"] .producto-card__btn { color: #7eb8f7; }
html[data-tema="nocturno"] .producto-card__btn:hover { color: #a8d4ff; }
html[data-tema="nocturno"] .producto-card__lista li { border-bottom-color: #1f2640; }
html[data-tema="nocturno"] .producto-card__lista li { color: #9aa3c2; }

/* Slide en carrusel */
.productos__slide .producto-card { min-height: 380px; }

/* =============================================
   SELECTOR DE LÍNEAS (pestañas) — página Líneas
   ============================================= */
.lineas-selector {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
  align-items: start;
}

.lineas-selector__menu {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  position: sticky;
  top: 6.5rem;
}
.lineas-selector__tab {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .625rem .75rem;
  border-radius: var(--radio);
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
  font-size: .9375rem;
  font-weight: 600;
  font-family: var(--fuente);
  color: var(--texto-sec);
  transition: background .2s ease, color .2s ease;
}
.lineas-selector__tab:hover { background: var(--gris-bg); color: var(--texto); }
.lineas-selector__tab.activo { background: var(--azul-claro); color: var(--azul-texto); }
.lineas-selector__tab-ico {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lineas-selector__tab-ico svg { width: 15px; height: 15px; }

.lineas-selector__panel {
  background: var(--blanco);
  border: 1px solid var(--gris-borde);
  border-radius: var(--radio-lg);
  padding: 2rem;
  box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 6px 16px rgba(16,24,40,.08);
  min-height: 320px;
}
.lineas-selector__contenido[hidden] { display: none; }
.lineas-selector__badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .25rem .75rem;
  border-radius: 99px;
  margin-bottom: .875rem;
}
.lineas-selector__titulo {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--texto);
  margin-bottom: .625rem;
}
.lineas-selector__desc {
  font-size: .9375rem;
  line-height: 1.65;
  color: var(--texto-sec);
  margin-bottom: 1.25rem;
  max-width: 60ch;
  text-align: justify;
}
.lineas-selector__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.5rem;
}
.lineas-selector__tags span {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--azul-texto);
  background: var(--azul-claro);
  padding: .3rem .7rem;
  border-radius: 99px;
}

@media (max-width: 780px) {
  .lineas-selector { grid-template-columns: 1fr; }
  .lineas-selector__menu {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    gap: .5rem;
    padding-bottom: .25rem;
  }
  .lineas-selector__tab { flex-shrink: 0; white-space: nowrap; }
  .lineas-selector__panel { padding: 1.5rem; }
}

html[data-tema="nocturno"] .lineas-selector__tab { color: #9aa3c2; }
html[data-tema="nocturno"] .lineas-selector__tab:hover { background: #1a2035; color: #e8eaf2; }
html[data-tema="nocturno"] .lineas-selector__tab.activo { background: #1a2035; color: #7eb8f7; }
html[data-tema="nocturno"] .lineas-selector__panel {
  background: #171d30;
  border-color: #2d3550;
  box-shadow: 0 0 0 1px rgba(255,255,255,.03), 0 10px 24px rgba(0,0,0,.35);
}
html[data-tema="nocturno"] .lineas-selector__titulo { color: #e8eaf2; }
html[data-tema="nocturno"] .lineas-selector__desc { color: #9aa3c2; }

/* =============================================
   SECTORES
   ============================================= */
#sectores {
  background: linear-gradient(180deg, rgba(10,66,209,0.06) 0%, rgba(10,66,209,0.02) 100%);
}

/* =============================================
   SECTORES — Carrusel (4 items por slide)
   ============================================= */
.sectores__carrusel {
  position: relative;
}
.sectores__track {
  position: relative;
  overflow: hidden;
  list-style: none;
  margin: 0;
  padding: 0;
  min-height: 250px;
}
.sectores__slide {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .5s ease, transform .5s ease;
  pointer-events: none;
  position: absolute;
  inset: 0;
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
}
.sectores__slide.activo {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  position: relative;
}
.sectores__slide.saliendo {
  opacity: 0;
  transform: translateX(-40px);
  position: absolute;
}

/* Controles Sectores */
.sectores__controles {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}
.sectores__btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--azul);
  background: var(--azul);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .4s cubic-bezier(.34, 1.56, .64, 1);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(10,102,209,.15);
}
.sectores__btn:hover {
  background: var(--azul-hover);
  border-color: var(--azul-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(10,102,209,.25);
}
.sectores__btn svg { width: 18px; height: 18px; }

.sectores__dots {
  display: flex;
  gap: .6rem;
  align-items: center;
}
.sectores__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gris-borde);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all .4s cubic-bezier(.34, 1.56, .64, 1);
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
}
.sectores__dot:hover {
  background: var(--azul);
  transform: scale(1.2);
}
.sectores__dot.activo {
  background: var(--azul);
  width: 28px;
  border-radius: 5px;
  box-shadow: 0 4px 12px rgba(10,102,209,.25);
}

/* Sector tags */
.sector-tag {
  background: var(--blanco);
  border: 2px solid var(--gris-borde);
  border-radius: var(--radio-lg);
  padding: 1.75rem 1.25rem;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: .95rem;
  font-weight: 600;
  color: var(--texto);
  gap: .8rem;
  transition: all .4s cubic-bezier(.34, 1.56, .64, 1);
  position: relative;
  overflow: hidden;
}
.sector-tag::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
}
.sector-tag:nth-child(1)::after { background: #1A3A6E; }
.sector-tag:nth-child(2)::after { background: #2D6A0F; }
.sector-tag:nth-child(3)::after { background: #7C3A00; }
.sector-tag:nth-child(4)::after { background: #4A3FB5; }
.sector-tag:nth-child(5)::after { background: #0A66D1; }
.sector-tag:nth-child(6)::after { background: #0A5E47; }
.sector-tag:nth-child(7)::after { background: #9F5F2A; }
.sector-tag:nth-child(8)::after { background: #6B4FAA; }
.sector-tag::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--azul-claro) 0%, rgba(255,209,102,.08) 100%);
  opacity: 0;
  transition: opacity .4s ease;
  z-index: 0;
}
.sector-tag:nth-child(1)::before { background: linear-gradient(135deg, rgba(26,58,110,.05) 0%, rgba(255,209,102,.08) 100%); }
.sector-tag:nth-child(2)::before { background: linear-gradient(135deg, rgba(45,106,15,.05) 0%, rgba(75,175,80,.08) 100%); }
.sector-tag:nth-child(3)::before { background: linear-gradient(135deg, rgba(124,58,0,.05) 0%, rgba(212,132,46,.08) 100%); }
.sector-tag:nth-child(4)::before { background: linear-gradient(135deg, rgba(74,63,181,.05) 0%, rgba(124,58,179,.08) 100%); }
.sector-tag:nth-child(5)::before { background: linear-gradient(135deg, rgba(10,102,209,.05) 0%, rgba(255,209,102,.08) 100%); }
.sector-tag:nth-child(6)::before { background: linear-gradient(135deg, rgba(10,94,71,.05) 0%, rgba(22,163,74,.08) 100%); }
.sector-tag:nth-child(7)::before { background: linear-gradient(135deg, rgba(26,58,110,.05) 0%, rgba(255,209,102,.08) 100%); }
.sector-tag:nth-child(8)::before { background: linear-gradient(135deg, rgba(74,63,181,.05) 0%, rgba(124,58,179,.08) 100%); }
.sector-tag:hover {
  border-color: var(--azul);
  color: var(--azul);
  box-shadow: 0 12px 32px rgba(10,102,209,.15);
  transform: translateY(-4px);
}
.sector-tag:hover::before {
  opacity: 1;
}
.sector-tag svg { 
  width: 32px; 
  height: 32px; 
  color: var(--azul); 
  margin: 0 auto .625rem; 
  display: block;
  transition: transform .4s cubic-bezier(.34, 1.56, .64, 1);
  flex-shrink: 0;
}
.sector-tag:hover svg {
  transform: scale(1.25) rotate(8deg);
}

/* Responsive */
@media (max-width: 900px) {
  .sectores__grid { grid-template-columns: repeat(3, 1fr); gap: .875rem; }
  .sector-tag { padding: 1.5rem 1rem; min-height: 165px; font-size: .92rem; }
  .sector-tag svg { width: 30px; height: 30px; }
}
@media (max-width: 540px) {
  .sectores__grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .sector-tag { padding: 1.25rem .85rem; min-height: 150px; font-size: .85rem; }
  .sector-tag svg { width: 26px; height: 26px; margin-bottom: .5rem; }
}

/* =============================================
   CÓMO FUNCIONA
   ============================================= */
.pasos__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 1.25rem;
  max-width: 1120px;
  margin: 0 auto;
  position: relative;
  list-style: none;
  padding: 0;
}
.paso {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  background: var(--blanco);
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: var(--radio-lg);
  padding: 1.25rem 1.1rem;
  text-align: center;
  box-shadow: 0 6px 20px rgba(15, 23, 42, .06);
  transition: transform .3s ease, box-shadow .3s ease;
  position: relative;
}
.paso::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 0 0 var(--radio-lg) var(--radio-lg);
  transform: scaleX(.3);
  transition: transform .3s ease;
}
.paso:hover::after { transform: scaleX(1); }
.paso:nth-child(1)::after { background: #1A3A6E; }
.paso:nth-child(2)::after { background: #0A66D1; }
.paso:nth-child(3)::after { background: #2D6A0F; }
.paso:nth-child(4)::after { background: #0A5E47; }
.paso:nth-child(5)::after { background: #7C3A00; }
.paso:nth-child(6)::after { background: #6B4FAA; }

/* Flecha sutil entre pasos de la misma fila, señalando el camino */
@media (min-width: 901px) {
  .pasos__grid.pasos__grid--6 .paso:nth-child(3n+2)::before,
  .pasos__grid.pasos__grid--6 .paso:nth-child(3n)::before {
    content: '→';
    position: absolute;
    left: -1.4rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
    font-weight: 700;
    color: rgba(10, 102, 209, .45);
    pointer-events: none;
  }
  html[data-tema="nocturno"] .pasos__grid.pasos__grid--6 .paso:nth-child(3n+2)::before,
  html[data-tema="nocturno"] .pasos__grid.pasos__grid--6 .paso:nth-child(3n)::before {
    color: rgba(126, 184, 247, .5);
  }
}
.paso:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, .12);
}
.paso__num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--azul) 0%, #16A34A 100%);
  color: #fff;
  font-size: .9375rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto .75rem;
  box-shadow: 0 8px 18px rgba(10, 66, 209, .15);
  transition: transform .3s ease;
}
.paso:hover .paso__num { transform: scale(1.1); }
.paso__titulo {
  font-size: .9375rem;
  font-weight: 700;
  color: var(--azul-texto);
  margin-bottom: .375rem;
}
.paso__desc {
  font-size: .8125rem;
  color: var(--texto-sec);
  line-height: 1.55;
  max-width: 280px;
  text-align: justify;
}

/* =============================================
   POR QUÉ ELEGIRNOS
   ============================================= */
.ventajas__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 1.25rem;
  max-width: 1120px;
  margin: 0 auto;
}
.ventaja-card {
  background: #fff;
  border: 1px solid rgba(10, 66, 209, .12);
  border-radius: calc(var(--radio-lg) + 4px);
  padding: 1.25rem 1.25rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .07);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  position: relative;
  overflow: hidden;
}
.ventaja-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}
.ventaja-card:nth-child(1)::before { background: #1A3A6E; }
.ventaja-card:nth-child(2)::before { background: #2D6A0F; }
.ventaja-card:nth-child(3)::before { background: #7C3A00; }
.ventaja-card:nth-child(4)::before { background: #4A3FB5; }
.ventaja-card:nth-child(5)::before { background: #0A66D1; }
.ventaja-card:nth-child(6)::before { background: #0A5E47; }
.ventaja-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, .11);
  border-color: rgba(10, 66, 209, .2);
}
.ventaja-card svg {
  width: 24px;
  height: 24px;
  color: var(--azul);
  margin-bottom: .5rem;
}
.ventaja-card h3 {
  font-size: .9375rem;
  font-weight: 700;
  margin-bottom: .3rem;
  color: var(--texto);
}
.ventaja-card p {
  font-size: .8125rem;
  color: var(--texto-sec);
  line-height: 1.6;
  margin-top: auto;
  text-align: justify;
}

/* =============================================
   CLIENTES
   ============================================= */
.clientes__subseccion {
  margin-top: 3rem;
  padding: 2rem 1.4rem;
  border-radius: calc(var(--radio-lg) + 4px);
  background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(234,244,255,.8) 100%);
  border: 1px solid rgba(10, 66, 209, .08);
  box-shadow: 0 24px 60px rgba(10, 66, 209, .08);
}
.clientes__cabecera {
  max-width: 780px;
  margin: 0 auto 1.75rem;
  text-align: center;
}
.clientes__titulo {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--azul-texto);
  margin-bottom: .5rem;
}
.clientes__nota {
  color: var(--texto-sec);
  font-size: .95rem;
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto;
}

/* Grid de tarjetas de clientes */
.clientes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .875rem;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 1120px;
}
.cliente-card {
  display: flex;
  align-items: center;
  gap: .875rem;
  background: var(--blanco);
  border: 1px solid var(--gris-borde);
  border-radius: var(--radio-lg);
  padding: 1rem 1.25rem;
  transition: box-shadow .2s, border-color .2s, transform .2s;
}
.cliente-card:hover {
  box-shadow: 0 6px 20px rgba(26,58,110,.1);
  border-color: var(--azul);
  transform: translateY(-2px);
}
.cliente-card__ico {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--azul-claro);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cliente-card__ico svg { width: 20px; height: 20px; color: var(--azul); }
.cliente-card__nombre {
  font-size: .875rem;
  font-weight: 600;
  color: var(--texto);
  line-height: 1.3;
}
.cliente-card__tipo {
  font-size: .75rem;
  color: var(--texto-sec);
  margin-top: .2rem;
}
html[data-tema="nocturno"] .cliente-card { background: #1a2035; border-color: #2d3550; }
html[data-tema="nocturno"] .cliente-card__ico { background: #1a2d4d; }

@media (max-width: 900px) { .clientes__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .clientes__grid { grid-template-columns: 1fr; } }

/* =============================================
   TESTIMONIOS
   ============================================= */
.testimonios__carrusel { position: relative; }
.testimonios__track { position: relative; overflow: hidden; margin-bottom: 1.5rem; min-height: 320px; }
.testimonios__slide {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .5s ease, transform .5s ease;
  pointer-events: none;
  position: absolute;
  inset: 0;
  width: 100%;
}
.testimonios__slide.activo {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  position: relative;
}
.testimonios__slide.saliendo {
  opacity: 0;
  transform: translateX(-40px);
  position: absolute;
}
.testimonio-card {
  background: var(--blanco);
  border: 1px solid var(--gris-borde);
  border-radius: var(--radio-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .875rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  transition: box-shadow .25s, transform .25s;
  position: relative;
  overflow: hidden;
}
.testimonio-card::before {
  content: '\201C';
  position: absolute;
  top: -.5rem;
  right: 1rem;
  font-size: 5rem;
  color: var(--azul-claro);
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
}
.testimonio-card:hover {
  box-shadow: 0 12px 32px rgba(26,58,110,.12);
  transform: translateY(-4px);
}
.testimonio-card__estrellas {
  color: #F59E0B;
  font-size: 1rem;
  letter-spacing: .1em;
}
.testimonio-card__texto {
  font-size: .9rem;
  color: var(--texto-sec);
  line-height: 1.75;
  font-style: italic;
  margin: 0;
  flex: 1;
  text-align: justify;
}
.testimonio-card__autor {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 0;
  padding-top: .875rem;
  border-top: 1px solid var(--gris-borde);
}
.testimonio-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--azul);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testimonio-card__nombre {
  font-size: .875rem;
  font-weight: 600;
  color: var(--texto);
  margin: 0;
}
.testimonio-card__cargo {
  font-size: .75rem;
  color: var(--texto-sec);
  margin: .1rem 0 0;
}
.testimonios__nota {
  text-align: center;
  font-size: .875rem;
}
.testimonios__nota a {
  color: var(--azul);
  font-weight: 500;
  text-decoration: none;
}
.testimonios__nota a:hover { text-decoration: underline; }

/* Controles del carrusel de testimonios */
.testimonios__controles {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.testimonios__btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--azul);
  background: var(--azul);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .4s cubic-bezier(.34, 1.56, .64, 1);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(10,102,209,.15);
}
.testimonios__btn:hover {
  background: var(--azul-hover);
  border-color: var(--azul-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(10,102,209,.25);
}
.testimonios__btn svg { width: 18px; height: 18px; }

.testimonios__dots { display: flex; gap: .6rem; align-items: center; }
.testimonios__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gris-borde);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all .4s cubic-bezier(.34, 1.56, .64, 1);
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
}
.testimonios__dot:hover { background: var(--azul); transform: scale(1.2); }
.testimonios__dot.activo {
  background: var(--azul);
  width: 28px;
  border-radius: 5px;
  box-shadow: 0 4px 12px rgba(10,102,209,.25);
}

html[data-tema="nocturno"] .testimonio-card { background: #1a2035; border-color: #2d3550; }
html[data-tema="nocturno"] .testimonio-card::before { color: #1a2d4d; }
html[data-tema="nocturno"] .testimonio-card__autor { border-top-color: #2d3550; }

@media (max-width: 900px) {
  .testimonios__slide { grid-template-columns: 1fr; gap: 1rem; }
  .testimonios__track { min-height: 900px; }
}

/* =============================================
   MICROINTERACCIONES — hover botones
   ============================================= */
.btn {
  transform: translateY(0);
  transition: background var(--trans), border-color var(--trans),
              color var(--trans), transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.btn:active { transform: translateY(0); box-shadow: none; }

@media (prefers-reduced-motion: reduce) {
  .btn { transform: none !important; transition: background var(--trans), color var(--trans) !important; }
  .cliente-card, .testimonio-card { transform: none !important; }
}
  font-weight: 700;
  box-shadow: none;
  transition: color .25s ease, transform .25s ease;
}
.cliente-tag:hover {
  color: var(--azul-hover);
  transform: translateY(-1px);
  text-decoration: underline;
}

/* =============================================
   CONTACTO
   ============================================= */
.contacto__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  max-width: 1120px;
  margin: 0 auto;
  align-items: stretch;
}
.contacto__info h2 { font-size: 1.375rem; font-weight: 700; margin-bottom: .75rem; }
.contacto__info p { font-size: .975rem; color: var(--texto-sec); margin-bottom: 1.75rem; line-height: 1.8; }
.contacto__datos { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.75rem; }
.dato {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
}
.dato__ico {
  width: 46px;
  height: 46px;
  background: var(--azul-claro);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dato__ico svg { width: 20px; height: 20px; color: var(--azul-texto); }
.dato__etiqueta { font-size: .82rem; color: var(--texto-sec); margin-bottom: .125rem; }
.dato__valor { font-size: .96rem; font-weight: 500; }
.dato__valor a { color: var(--azul); text-decoration: none; }
.dato__valor a:hover { text-decoration: underline; }
.contacto__boton-mapa {
  margin-top: 1.25rem;
  display: inline-flex;
}
.contacto__mapa-col {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.contacto__mapa-col-wrap {
  flex: 1;
  height: auto;
  min-height: 320px;
}
.contacto__form {
  background: var(--azul-claro);
  border: 1px solid rgba(26,58,110,.15);
  border-radius: calc(var(--radio-lg) + 4px);
  padding: 2rem;
  box-shadow: 0 18px 40px rgba(26,58,110,.08);
}
.contacto__form-titulo {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: .5rem;
  color: var(--azul);
}
.contacto__form-subtitulo {
  font-size: .97rem;
  color: var(--texto-sec);
  margin-bottom: 1.5rem;
  line-height: 1.75;
}
.form__nota {
  margin-bottom: .25rem;
  color: var(--texto-sec);
}
.form__required {
  color: #dc2626;
  margin-left: .15rem;
}

/* Mapa */
.mapa-wrap {
  border-radius: var(--radio-lg);
  overflow: hidden;
  border: 1px solid var(--gris-borde);
  height: 320px;
}
.mapa-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Formulario */
.form { display: flex; flex-direction: column; gap: 1rem; }
.form__grupo { display: flex; flex-direction: column; gap: .35rem; }
.form__grupo label { font-size: .9rem; font-weight: 700; color: var(--azul); }
.form__grupo input,
.form__grupo textarea,
.form__grupo select {
  padding: .85rem 1rem;
  border: 1.5px solid rgba(26,58,110,.2);
  border-radius: 14px;
  font-size: .975rem;
  font-family: var(--fuente);
  color: var(--texto);
  background: #fff;
  transition: border-color var(--trans), box-shadow var(--trans);
  width: 100%;
}
.form__grupo input:focus,
.form__grupo textarea:focus,
.form__grupo select:focus {
  border-color: var(--azul);
  outline: none;
  box-shadow: 0 0 0 3px rgba(10, 66, 209, .12);
}
.form__grupo textarea { resize: vertical; min-height: 130px; }
.form__error {
  font-size: .82rem;
  color: #dc2626;
  display: none;
}
.form__grupo.error input,
.form__grupo.error textarea,
.form__grupo.error select { border-color: #dc2626; }
.form__grupo.error .form__error { display: block; }
.form__aviso {
  font-size: .82rem;
  color: var(--texto-sec);
  margin-top: .25rem;
}
.btn--full { width: 100%; justify-content: center; }

/* Mensaje de éxito formulario — WCAG 4.1.3 */
.form__exito {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
  background: #EAF3DE;
  border: 1.5px solid #3B6D11;
  border-radius: var(--radio);
  padding: 1rem 1.125rem;
  margin-top: .5rem;
}
.form__exito[hidden] { display: none; }
.form__exito svg { color: #3B6D11; flex-shrink: 0; margin-top: 2px; }
.form__exito strong { font-size: .9375rem; color: #27500A; display: block; margin-bottom: .25rem; }
.form__exito p { font-size: .8125rem; color: #3B6D11; line-height: 1.5; margin: 0; }
.form__exito a { color: #27500A; font-weight: 600; }
html[data-tema="nocturno"] .form__exito { background: #0d2a0d; border-color: #3B6D11; }
html[data-tema="nocturno"] .form__exito strong { color: #a3d977; }
html[data-tema="nocturno"] .form__exito p { color: #7ab84e; }

/* Mensaje de error general del formulario (respuesta del servidor) */
.form__error-general {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
  background: #FDECEC;
  border: 1.5px solid #dc2626;
  border-radius: var(--radio);
  padding: 1rem 1.125rem;
  margin-top: .5rem;
}
.form__error-general[hidden] { display: none; }
.form__error-general svg { color: #dc2626; flex-shrink: 0; margin-top: 2px; }
.form__error-general p { font-size: .8125rem; color: #991b1b; line-height: 1.5; margin: 0; }
html[data-tema="nocturno"] .form__error-general { background: #2a0d0d; border-color: #dc2626; }
html[data-tema="nocturno"] .form__error-general p { color: #f5a3a3; }

.btn--full:disabled { opacity: .65; cursor: not-allowed; }

/* Tamaño mínimo botones táctiles — WCAG 2.5.5 / 2.5.8 (2.2) */
@media (pointer: coarse) {
  .btn { min-height: 44px; min-width: 44px; padding: .75rem 1.25rem; }
  .acc-btn { min-height: 36px; min-width: 36px; }
  .carrusel__btn { width: 44px; height: 44px; }
  .navbar__toggle { min-height: 44px; min-width: 44px; }
  .wa-float { min-height: 44px; }
}

/* Checkbox política de privacidad */
.form__grupo--check { gap: .4rem; }
.form__check-label {
  display: flex;
  align-items: flex-start;
  gap: .625rem;
  cursor: pointer;
  font-size: .875rem;
  color: var(--texto-sec);
  line-height: 1.55;
}
.form__check-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 2px solid var(--gris-borde);
  border-radius: 4px;
  cursor: pointer;
  accent-color: var(--azul);
  margin-top: .15rem;
  padding: 0;
}
.form__check-label input[type="checkbox"]:focus-visible {
  outline: 3px solid var(--azul);
  outline-offset: 2px;
}
.form__check-label a {
  color: var(--azul);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form__check-label a:hover { color: var(--azul-hover); }
.form__grupo--check.error .form__error { display: block; }
html[data-tema="nocturno"] .form__check-label { color: #9aa3c2; }
html[data-tema="nocturno"] .form__check-label input[type="checkbox"] { border-color: #2d3550; background: #0f1420; }

/* =============================================
   CTA MITAD DE PÁGINA
   ============================================= */
.cta-medio {
  background: var(--azul-claro);
  border-top: 1px solid rgba(26,58,110,.1);
  border-bottom: 1px solid rgba(26,58,110,.1);
  padding: 2.5rem 1.25rem;
}
.cta-medio__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cta-medio__pregunta {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--azul);
  margin-bottom: .25rem;
}
.cta-medio__sub { font-size: .9rem; color: var(--texto-sec); }
.cta-medio__btns { display: flex; gap: .75rem; flex-wrap: wrap; flex-shrink: 0; }
html[data-tema="nocturno"] .cta-medio { background: #1a2d4d; border-color: #2d3550; }
html[data-tema="nocturno"] .cta-medio__pregunta { color: #7eb8f7; }

/* =============================================
   CTA PRE-FOOTER
   ============================================= */
.cta-prefooter {
  background: var(--gris-bg);
  border-top: 1px solid var(--gris-borde);
  padding: 1.5rem 1.25rem;
}
.cta-prefooter__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cta-prefooter__titulo {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--texto);
  flex-shrink: 0;
}
.cta-prefooter__canales {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.cta-prefooter__canal {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--azul);
  text-decoration: none;
  padding: .4rem .75rem;
  border: 1px solid var(--gris-borde);
  border-radius: var(--radio);
  background: var(--blanco);
  transition: border-color var(--trans), background var(--trans);
}
.cta-prefooter__canal:hover { border-color: var(--azul); background: var(--azul-claro); }
html[data-tema="nocturno"] .cta-prefooter { background: #141929; border-color: #2d3550; }
html[data-tema="nocturno"] .cta-prefooter__canal { background: #1a2035; border-color: #2d3550; }

@media (max-width: 540px) {
  .cta-medio__inner { flex-direction: column; text-align: center; }
  .cta-medio__btns { width: 100%; justify-content: center; }
  .cta-prefooter__inner { flex-direction: column; text-align: center; gap: .75rem; }
  .cta-prefooter__canales { justify-content: center; gap: .5rem; }
}

/* =============================================
   BANDA CTA
   ============================================= */
.cta-banda {
  background: var(--grad-prim);
  padding: 3rem 1.25rem;
}
.cta-banda__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cta-banda h2 { font-size: 1.375rem; font-weight: 700; color: #07203b; margin-bottom: .375rem; }
.cta-banda p { font-size: .9375rem; color: rgba(7,32,59,.85); }
.cta-banda__btns { display: flex; gap: .75rem; flex-wrap: wrap; flex-shrink: 0; }
.btn--blanco { background: #fff; color: var(--azul); border-color: #fff; }
.btn--blanco:hover { background: #e8f0fe; border-color: #e8f0fe; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--texto);
  color: rgba(255,255,255,.85);
  padding: 2.5rem 1.25rem 1.5rem;
}
.footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer__logo { display: flex; align-items: center; gap: .625rem; margin-bottom: .875rem; }
.footer__logo-box {
  width: 62px; height: 62px;
  object-fit: contain;
  flex-shrink: 0;
}
.footer__logo-nombre { font-size: .9375rem; font-weight: 600; color: #fff; }
.footer__desc { font-size: .8125rem; color: rgba(255,255,255,.6); line-height: 1.7; margin-bottom: 1rem; }
.footer__social { display: flex; gap: .5rem; }
.footer__social a {
  width: 34px; height: 34px;
  background: rgba(255,255,255,.1);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.75);
  text-decoration: none;
  transition: background var(--trans);
}
.footer__social a:hover { background: rgba(255,255,255,.2); }
.footer__social svg { width: 17px; height: 17px; }
.footer__col h3 { font-size: .875rem; font-weight: 600; color: #fff; margin-bottom: .875rem; }
.footer__lista { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer__lista a {
  font-size: .8125rem;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: color var(--trans);
}
.footer__lista a:hover { color: #fff; }
.footer__lista--columnas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .5rem 1.5rem;
}
.footer__lista--columnas li {
  break-inside: avoid;
}
@media (max-width: 700px) {
  .footer__lista--columnas {
    grid-template-columns: 1fr;
  }
}
.footer__bottom {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .75rem;
  color: rgba(255,255,255,.4);
}

/* =============================================
   BOTÓN FLOTANTE WHATSAPP
   ============================================= */
.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--verde-wa);
  color: #fff;
  font-size: .875rem;
  font-weight: 600;
  padding: .75rem 1.25rem;
  border-radius: 99px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37,211,102,.4);
  transition: background var(--trans), transform var(--trans), opacity var(--trans);
  border: none;
}
.wa-float:hover { background: var(--verde-wa-h); transform: translateY(-2px); }
.wa-float:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
.wa-float svg { width: 20px; height: 20px; flex-shrink: 0; }
.wa-float__texto { white-space: nowrap; }

.wa-float--oculto {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}

/* =============================================
   TOAST / NOTIFICACIÓN
   ============================================= */
.toast {
  position: fixed;
  bottom: 5rem;
  right: 1.5rem;
  background: #1a1a1a;
  color: #fff;
  font-size: .875rem;
  padding: .75rem 1.25rem;
  border-radius: var(--radio);
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
  z-index: 300;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .3s, transform .3s;
  pointer-events: none;
}
.toast.visible { opacity: 1; transform: translateY(0); }

/* =============================================
   MOTION SAFE — respeta preferencias del usuario
   ============================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* =============================================
   RESPONSIVE — tablet (≤900px)
   ============================================= */
@media (max-width: 900px) {
  .navbar__nav { display: none; }
  .navbar__toggle { display: flex; }
  .navbar__top-inner { justify-content: space-between; }
  .navbar__actions { gap: .5rem; }
  .navbar__action { width: 36px; height: 36px; }
  .navbar__wa-texto { display: none; }
  .navbar__wa { padding: 0; width: 38px; justify-content: center; }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__stats { flex-direction: row; }
  .stat-card { flex: 1; }

  .hero-v2__inner { grid-template-columns: 1fr; }
  .carrusel__track { min-height: 280px; }

  .productos__grid { grid-template-columns: repeat(2, 1fr); }
  .sectores__grid { grid-template-columns: repeat(2, 1fr); }
  .ventajas__grid { grid-template-columns: repeat(2, 1fr); }
  .contacto__inner { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__col:first-child { grid-column: 1 / -1; }
}

/* =============================================
   RESPONSIVE — móvil (≤540px)
   ============================================= */
@media (max-width: 540px) {
  .navbar__top-inner { padding: .5rem 1rem; gap: .75rem; }
  .navbar__logo { flex: 1; }
  .navbar__logo-box { width: 42px; height: 42px; }
  .navbar__logo-nombre { font-size: .8rem; }
  .navbar__actions { gap: .5rem; }
  .navbar__action { width: 32px; height: 32px; }
  .navbar__action svg { width: 18px; height: 18px; }
  .navbar__wa,
  .navbar__email { width: 32px; height: 32px; }
  .navbar__wa svg,
  .navbar__email svg { width: 16px; height: 16px; }
  .navbar__nav a { padding: .75rem 1rem; font-size: .8rem; }
  .navbar__bottom-inner { padding: 0; overflow-x: auto; }
  .navbar__nav { gap: 0; flex-wrap: nowrap; }

  .hero { padding: 2.5rem 1rem 2rem; }
  .hero h1 { font-size: 1.5rem; }
  .hero__stats { flex-direction: column; }
  .hero__btns { flex-direction: column; }
  .btn { justify-content: center; }

  .productos__grid { grid-template-columns: 1fr; }
  .sectores__grid { grid-template-columns: 1fr 1fr; gap: .625rem; }
  .sector-tag { min-height: 100px; padding: 1rem .75rem; font-size: .8125rem; }
  .sector-tag svg { width: 22px; height: 22px; }
  .pasos__grid { grid-template-columns: repeat(2, 1fr); }
  .ventajas__grid { grid-template-columns: 1fr; }

  .cta-banda__inner { flex-direction: column; text-align: center; }
  .cta-banda__btns { width: 100%; justify-content: center; }

  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }

  .wa-float__texto { display: none; }
  .wa-float { padding: .875rem; border-radius: 50%; }

  .seccion { padding: 2.5rem 1rem; }
}

/* =============================================
   HERO PÁGINAS INTERNAS
   ============================================= */
.page-hero {
  background: linear-gradient(180deg, #1A3A6E 0%, #1e5fa8 55%, #2a7dd4 100%);
  padding: 3rem 1.25rem 2.5rem;
}
.page-hero__inner {
  max-width: 1120px;
  margin: 0 auto;
}
.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.25rem;
  font-size: .8125rem;
  color: rgba(255,255,255,.6);
}
.page-hero__breadcrumb a { color: rgba(255,255,255,.6); text-decoration: none; }
.page-hero__breadcrumb a:hover { color: #fff; }
.page-hero__breadcrumb svg { width: 12px; height: 12px; }
.page-hero__breadcrumb span { color: rgba(255,255,255,.9); }
.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: .75rem;
}
.page-hero h1 em { color: #7EC8F7; font-style: normal; }
.page-hero__desc {
  font-size: 1rem;
  color: rgba(255,255,255,.8);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 1.5rem;
}
.page-hero__btns { display: flex; gap: .75rem; flex-wrap: wrap; }

/* Grid 9 productos en página lineas.html */
.productos__grid--completo {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 900px) { .productos__grid--completo { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 540px) { .productos__grid--completo { grid-template-columns: 1fr; } }

/* Sectores — acordeón tipo "noticias" en página sectores.html */
.sectores-acordeon {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.sectores-acordeon__item {
  background: var(--blanco);
  border: 1px solid var(--gris-borde);
  border-left: 3px solid var(--acento, var(--azul));
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-top-right-radius: var(--radio-lg);
  border-bottom-right-radius: var(--radio-lg);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(16,24,40,.04);
  transition: border-color .2s ease, box-shadow .25s ease, transform .25s ease;
}
.sectores-acordeon__item:nth-child(1) { --acento: #1A3A6E; }
.sectores-acordeon__item:nth-child(2) { --acento: #2D6A0F; }
.sectores-acordeon__item:nth-child(3) { --acento: #7C3A00; }
.sectores-acordeon__item:nth-child(4) { --acento: #4A3FB5; }
.sectores-acordeon__item:nth-child(5) { --acento: #0A66D1; }
.sectores-acordeon__item:nth-child(6) { --acento: #0A5E47; }
.sectores-acordeon__item:nth-child(7) { --acento: #9F5F2A; }
.sectores-acordeon__item:nth-child(8) { --acento: #6B4FAA; }
.sectores-acordeon__item:hover {
  box-shadow: 0 8px 24px rgba(16,24,40,.1);
  transform: translateY(-2px);
}
.sectores-acordeon__item.activo {
  box-shadow: 0 10px 30px rgba(16,24,40,.12);
  transform: translateY(-2px);
}
.sectores-acordeon__header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--fuente);
}
.sectores-acordeon__ico {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--acento, var(--azul)) 14%, var(--azul-claro));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.sectores-acordeon__ico svg { width: 21px; height: 21px; color: var(--acento, var(--azul)); }
.sectores-acordeon__titulo { flex: 1; font-size: 1rem; font-weight: 700; color: var(--texto); }
.sectores-acordeon__chevron { width: 20px; height: 20px; color: var(--texto-sec); flex-shrink: 0; transition: transform .25s ease; }
.sectores-acordeon__item.activo .sectores-acordeon__chevron { transform: rotate(180deg); color: var(--azul); }

.sectores-acordeon__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease;
}
.sectores-acordeon__item.activo .sectores-acordeon__body { grid-template-rows: 1fr; }
.sectores-acordeon__contenido { overflow: hidden; min-height: 0; }
.sectores-acordeon__contenido p {
  font-size: .9375rem;
  color: var(--texto-sec);
  line-height: 1.7;
  padding: 0 1.25rem 1.25rem calc(1.25rem + 42px + 1rem);
  text-align: justify;
}

@media (max-width: 640px) {
  .sectores-acordeon__contenido p { padding: 0 1.25rem 1.25rem 1.25rem; }
}

html[data-tema="nocturno"] .sectores-acordeon__item { background: #171d30; border-color: #2d3550; }
html[data-tema="nocturno"] .sectores-acordeon__item.activo { border-color: rgba(126,184,247,.35); }
html[data-tema="nocturno"] .sectores-acordeon__ico { background: #1a2d4d; }
html[data-tema="nocturno"] .sectores-acordeon__titulo { color: #e8eaf2; }

/* Formas de comprar en como-funciona.html */
.modelos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}
.modelo-card {
  background: var(--blanco);
  border-radius: var(--radio-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 2px 10px rgba(16,24,40,.06), 0 10px 28px rgba(16,24,40,.05);
  transition: box-shadow .3s ease, transform .3s ease;
}
.modelo-card:hover {
  box-shadow: 0 4px 14px rgba(16,24,40,.08), 0 20px 42px rgba(16,24,40,.12);
  transform: translateY(-5px);
}
.modelo-card__ico {
  width: 64px; height: 64px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  transition: transform .3s ease;
}
.modelo-card:hover .modelo-card__ico { transform: scale(1.08) rotate(-3deg); }
.modelo-card__ico svg { width: 32px; height: 32px; }
.modelo-card h3 { font-size: 1rem; font-weight: 700; color: var(--azul); margin-bottom: .625rem; }
.modelo-card p { font-size: .875rem; color: var(--texto-sec); line-height: 1.7; text-align: justify; }
@media (max-width: 900px) { .modelos__grid { grid-template-columns: 1fr; } }
html[data-tema="nocturno"] .modelo-card { background: #1a2035; box-shadow: 0 0 0 1px rgba(255,255,255,.04), 0 10px 28px rgba(0,0,0,.35); }
html[data-tema="nocturno"] .modelo-card:hover { box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 20px 42px rgba(0,0,0,.45); }

/* =============================================
   BLOQUES QUIÉNES SOMOS
   ============================================= */
.nosotros-bloques { overflow: hidden; }

.nb { padding: 4rem 0; }
.nb--claro  { background: var(--blanco); }
.nb--gris   { background: var(--gris-bg); }
.nb--oscuro {
  background: linear-gradient(135deg, #0d2045 0%, #1A3A6E 100%);
  color: #fff;
}

.nb__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.nb__inner--invertido { direction: rtl; }
.nb__inner--invertido > * { direction: ltr; }

/* Invierte solo visualmente en escritorio (columna imagen a la izquierda);
   en móvil ambas filas se apilan igual: texto y luego su imagen debajo */
@media (min-width: 901px) {
  .nb__inner--imagen-izq .nb__imagen { order: -1; }
}
.nb__inner--centrado {
  grid-template-columns: 1fr;
  gap: 0;
  text-align: center;
  max-width: 780px;
}

.nb__titulo {
  font-size: clamp(1.375rem, 3vw, 1.875rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
  color: var(--azul);
}
.nb--oscuro .nb__titulo { color: #fff; }

.nb__parrafo {
  font-size: .9375rem;
  line-height: 1.8;
  color: var(--texto-sec);
  margin-bottom: 1.5rem;
}
.nb--oscuro .nb__parrafo { color: rgba(255,255,255,.8); }

.nb__tips {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .625rem;
}
.nb__tips li {
  font-size: .9375rem;
  font-weight: 500;
  color: var(--texto);
  display: flex;
  align-items: center;
  gap: .625rem;
}
.nb__tips li span { color: var(--azul); font-size: 1rem; }
.nb--oscuro .nb__tips li { color: rgba(255,255,255,.9); }
.nb--oscuro .nb__tips li span { color: #7EC8F7; }

.nb__tips--horizontal {
  align-items: center;
}

.nb__grupo {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* Placeholder imagen */
.nb__imagen { width: 100%; }
.nb__img-placeholder {
  background: var(--azul-claro);
  border-radius: var(--radio-lg);
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  border: 2px dashed rgba(26,58,110,.2);
}
.nb__img-placeholder svg { width: 80px; height: 80px; opacity: .5; }
.nb__img-placeholder p {
  font-size: .8125rem;
  color: var(--texto-sec);
  font-style: italic;
}
.nb--gris .nb__img-placeholder { background: #fff; }

/* Imagen real cuando esté disponible */
.nb__img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radio-lg);
}

/* Responsive */
@media (max-width: 768px) {
  .nb__inner { grid-template-columns: 1fr; gap: 2rem; }
  .nb__inner--invertido { direction: ltr; }
  .nb { padding: 2.5rem 0; }
}

html[data-tema="nocturno"] .nb--claro { background: #141929; }
html[data-tema="nocturno"] .nb--gris  { background: #0f1420; }
html[data-tema="nocturno"] .nb__titulo { color: #7eb8f7; }
html[data-tema="nocturno"] .nb__parrafo { color: #9aa3c2; }
html[data-tema="nocturno"] .nb__tips li { color: #c8d0e8; }
html[data-tema="nocturno"] .nb__img-placeholder { background: #1a2035; border-color: #2d3550; }
