/* ═══════════════════════════════════════════════════
   XERTECH — Sitio Web Corporativo B2B
   Paleta: Rojo #D40000 · Dorado #F5C400 · Negro #0D0D0D
═══════════════════════════════════════════════════ */

:root {
  --red:    #D40000;
  --red2:   #A80000;
  --gold:   #F5C400;
  --dark:   #0D0D0D;
  --dark2:  #111111;
  --dark3:  #1a1a1a;
  --white:  #FFFFFF;
  --gray:   #888888;
  --gray2:  #555555;
  --light:  #F7F7F7;
  --border: rgba(255,255,255,0.08);
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --radius: 12px;
  --transition: 0.3s ease;
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', sans-serif;
  background: var(--dark);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
input, textarea, select, button { font-family: inherit; }

/* ── CONTAINER ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── SECTION LABELS ── */
.section-label {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  text-align: center;
}
.section-sub {
  font-size: 16px;
  color: var(--gray);
  text-align: center;
  max-width: 640px;
  margin: 16px auto 0;
  line-height: 1.7;
}

/* ── HIGHLIGHT ── */
.highlight {
  background: linear-gradient(135deg, var(--red), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--red), var(--red2));
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255,255,255,0.08));
  pointer-events: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,0,0,0.4);
}
.btn-full { width: 100%; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 6px;
  transition: var(--transition);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-header {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--red), var(--red2));
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 5px;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-header:hover { box-shadow: 0 4px 16px rgba(212,0,0,0.4); }

/* ══════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════ */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: var(--transition);
  background: transparent;
}
#header.scrolled {
  background: rgba(13,13,13,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 24px rgba(0,0,0,0.5);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 18px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
}
.footer-logo-img {
  height: 38px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
}
.nav-desktop a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.5px;
  transition: var(--transition);
  position: relative;
}
.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: var(--transition);
}
.nav-desktop a:hover { color: var(--white); }
.nav-desktop a:hover::after { transform: scaleX(1); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  background: rgba(13,13,13,0.98);
  border-top: 1px solid var(--border);
  padding: 16px 24px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 14px 0;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--gold); }

/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.hero-glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(212,0,0,0.18) 0%, transparent 70%);
  top: -200px; right: -100px;
}
.hero-glow-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(245,196,0,0.08) 0%, transparent 70%);
  bottom: 0; left: 10%;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid rgba(245,196,0,0.35);
  border-radius: 24px;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  background: rgba(245,196,0,0.05);
  animation: fadeInDown 0.8s ease forwards;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:0.4; transform:scale(1.4); }
}

.hero-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
  animation: fadeInUp 0.8s 0.2s ease both;
}
.hero-sub {
  font-size: clamp(15px, 1.8vw, 18px);
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  max-width: 580px;
  margin-bottom: 40px;
  animation: fadeInUp 0.8s 0.4s ease both;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s 0.6s ease both;
  margin-bottom: 56px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  animation: fadeInUp 0.8s 0.8s ease both;
  padding: 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: fit-content;
}
.hero-stat { text-align: center; }
.stat-num {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 32px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--red), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-label {
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 4px;
}
.hero-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray2);
  animation: fadeInUp 1s 1.2s ease both;
}
.scroll-arrow {
  width: 20px; height: 20px;
  border-right: 2px solid var(--gray2);
  border-bottom: 2px solid var(--gray2);
  transform: rotate(45deg);
  animation: bounce 1.5s ease infinite;
}
@keyframes bounce {
  0%,100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(4px); }
}

@keyframes fadeInDown {
  from { opacity:0; transform:translateY(-20px); }
  to { opacity:1; transform:translateY(0); }
}
@keyframes fadeInUp {
  from { opacity:0; transform:translateY(24px); }
  to { opacity:1; transform:translateY(0); }
}

/* ══════════════════════════════════════════════
   TRUST BAR
══════════════════════════════════════════════ */
.trust-bar {
  background: rgba(255,255,255,0.03);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.trust-bar .container {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.trust-label {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray);
  white-space: nowrap;
  flex-shrink: 0;
}
.trust-logos {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  flex: 1;
}
.trust-item {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.5px;
  white-space: nowrap;
  transition: var(--transition);
}
.trust-item:hover { color: var(--white); }
.trust-sep { color: var(--red); opacity: 0.6; }

/* ══════════════════════════════════════════════
   PILARES
══════════════════════════════════════════════ */
.pillars {
  padding: 100px 0;
  background: var(--dark2);
}
.pillars .section-title { margin-bottom: 56px; }
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pillar-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
  transition: var(--transition);
}
.pillar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transform: scaleX(0);
  transition: var(--transition);
}
.pillar-card:hover { border-color: rgba(255,255,255,0.14); transform: translateY(-4px); }
.pillar-card:hover::before { transform: scaleX(1); }
.pillar-featured {
  background: rgba(212,0,0,0.06);
  border-color: rgba(212,0,0,0.3);
}
.pillar-featured::before { transform: scaleX(1); }
.pillar-badge {
  display: inline-block;
  padding: 3px 10px;
  background: linear-gradient(135deg, var(--red), var(--red2));
  border-radius: 12px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.pillar-icon {
  width: 48px; height: 48px;
  color: var(--red);
  margin-bottom: 20px;
}
.pillar-icon svg { width: 100%; height: 100%; }
.pillar-card h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.pillar-card p { font-size: 14px; color: var(--gray); line-height: 1.7; }

/* ══════════════════════════════════════════════
   PRODUCTOS
══════════════════════════════════════════════ */
.products {
  padding: 80px 0 0;
  background: var(--dark);
}
.products .container { padding-bottom: 0; }
.products .section-title { margin-bottom: 16px; }

/* ── PROD-LINE: Layout alternado imagen + contenido ── */
.prod-line {
  display: grid;
  grid-template-columns: 420px 1fr;
  min-height: 560px;
  border-top: 1px solid var(--border);
}
.prod-line-reverse {
  grid-template-columns: 1fr 420px;
}
.prod-line-reverse .prod-line-img { order: 2; }
.prod-line-reverse .prod-line-content { order: 1; }

/* Imagen */
.prod-line-img {
  position: relative;
  overflow: hidden;
}
.prod-line-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.prod-line:hover .prod-line-img img { transform: scale(1.04); }
.prod-line-badge {
  position: absolute;
  top: 20px; left: 20px;
  background: linear-gradient(135deg, var(--red), var(--red2));
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
}

/* Contenido */
.prod-line-content {
  padding: 48px 52px;
  background: var(--dark2);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.prod-line-header {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.prod-line-icon {
  width: 48px; height: 48px;
  background: rgba(212,0,0,0.12);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--red);
  padding: 11px;
  flex-shrink: 0;
}
.prod-line-icon svg { width: 100%; height: 100%; }
.prod-line-header h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.1;
}
.prod-line-header p { font-size: 14px; color: var(--gray); line-height: 1.65; }

/* Subcategorías */
.prod-subcats {
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
}
.prod-subcat h4 {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.prod-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.prod-tags span {
  display: inline-block;
  padding: 4px 11px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  font-size: 12px;
  color: rgba(255,255,255,0.72);
  transition: var(--transition);
  cursor: default;
}
.prod-tags span:hover {
  background: rgba(212,0,0,0.15);
  border-color: rgba(212,0,0,0.4);
  color: var(--white);
}

.prod-line-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: var(--transition);
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}
.prod-line-cta:hover { color: var(--white); gap: 10px; }

/* legado — se mantiene por si acaso */
.product-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: var(--transition);
  margin-top: 8px;
}
.product-cta::after {
  content: '→';
  transition: var(--transition);
}
.product-cta:hover::after { transform: translateX(4px); }
.product-cta:hover { color: var(--white); }

/* ══════════════════════════════════════════════
   PROGRAMA DE SUMINISTRO MENSUAL
══════════════════════════════════════════════ */
.programa {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  background: var(--dark2);
}
.programa-bg {
  position: absolute; inset: 0;
  pointer-events: none;
}
.programa-glow {
  position: absolute;
  width: 800px; height: 800px;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(212,0,0,0.12) 0%, transparent 65%);
  border-radius: 50%;
}
.programa-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.programa-badge {
  display: inline-block;
  padding: 4px 14px;
  background: linear-gradient(135deg, var(--gold), #c49a00);
  border-radius: 24px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 20px;
}
.programa-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
}
.programa-sub {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.75;
  max-width: 620px;
  margin: 0 auto 48px;
}
.programa-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 48px;
  text-align: left;
}
.programa-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  transition: var(--transition);
}
.programa-feature:hover {
  border-color: rgba(212,0,0,0.3);
  background: rgba(212,0,0,0.05);
}
.pf-icon { font-size: 28px; flex-shrink: 0; line-height: 1; }
.programa-feature strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.programa-feature span { font-size: 13px; color: var(--gray); line-height: 1.5; }

/* ══════════════════════════════════════════════
   PROCESO
══════════════════════════════════════════════ */
.proceso {
  padding: 100px 0;
  background: var(--dark);
}
.proceso .section-title { margin-bottom: 64px; }
.proceso-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
  position: relative;
}
.step-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 48px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--red), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}
.step-line {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--red), rgba(212,0,0,0.2));
  margin-bottom: 28px;
  position: relative;
}
.step-line::before {
  content: '';
  position: absolute;
  right: -1px; top: 50%;
  transform: translateY(-50%);
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
}
.step-line.last::before { display: none; }
.step-content h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.step-content p { font-size: 13px; color: var(--gray); line-height: 1.65; }

/* ══════════════════════════════════════════════
   ESTADÍSTICAS Y CLIENTES
══════════════════════════════════════════════ */
.stats-section {
  padding: 100px 0;
  background: var(--dark2);
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.client-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}
.client-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  padding: 14px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: var(--transition);
}
.client-item:hover {
  border-color: rgba(212,0,0,0.3);
  color: var(--white);
}
.client-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--gold));
  flex-shrink: 0;
}
.stats-numbers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.stat-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
}
.stat-card:hover { border-color: rgba(245,196,0,0.3); }
.stat-big {
  font-family: 'Rajdhani', sans-serif;
  font-size: 52px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--red), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  display: block;
}
.stat-desc {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.4;
  margin-top: 8px;
}

/* ══════════════════════════════════════════════
   DIFERENCIADORES
══════════════════════════════════════════════ */
.diferenciadores {
  padding: 100px 0;
  background: var(--dark);
}
.diferenciadores .section-title { margin-bottom: 56px; }
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.diff-item {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-left: 3px solid var(--red);
  transition: var(--transition);
}
.diff-item:hover {
  border-color: rgba(212,0,0,0.5);
  border-left-color: var(--gold);
  background: rgba(212,0,0,0.04);
  transform: translateY(-3px);
}
.diff-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: rgba(212,0,0,0.35);
  flex-shrink: 0;
  line-height: 1;
}
.diff-body h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.3;
}
.diff-body p { font-size: 13px; color: var(--gray); line-height: 1.6; }

/* ══════════════════════════════════════════════
   CONTACTO
══════════════════════════════════════════════ */
.contacto {
  padding: 100px 0;
  background: var(--dark2);
}
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-channel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: var(--transition);
  cursor: pointer;
}
.contact-channel:hover { border-color: rgba(212,0,0,0.4); transform: translateX(4px); }
.contact-channel-static { cursor: default; }
.contact-channel-static:hover { transform: none; }
.channel-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--white);
}
.channel-icon svg { width: 22px; height: 22px; }
.channel-wa { background: #25D366; }
.channel-email { background: var(--red); }
.channel-phone { background: var(--dark3); border: 1px solid var(--border); }
.contact-channel strong { display: block; font-size: 13px; font-weight: 700; color: var(--white); }
.contact-channel span { font-size: 13px; color: var(--gray); }

.datos-fiscales {
  margin-top: 32px;
  padding: 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.df-title {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.df-row {
  font-size: 13px;
  color: var(--gray);
  padding: 4px 0;
}
.df-row span { color: rgba(255,255,255,0.5); margin-right: 8px; }

/* FORM */
.contacto-form-wrap {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px;
}
.contacto-form h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.contacto-form > p {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 28px;
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 7px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 13px 16px;
  font-size: 14px;
  color: var(--white);
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
}
.form-group select option { background: var(--dark2); color: var(--white); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--red);
  background: rgba(212,0,0,0.05);
  box-shadow: 0 0 0 3px rgba(212,0,0,0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray2); }
.form-group textarea { resize: vertical; }
.form-note {
  font-size: 11px;
  color: var(--gray2);
  text-align: center;
  margin-top: 12px;
}

/* FORM SUCCESS */
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 40px 20px;
}
.success-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--red), var(--gold));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  font-weight: 700;
}
.form-success h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
}
.form-success p { font-size: 14px; color: var(--gray); max-width: 320px; line-height: 1.6; }

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.footer {
  background: #080808;
  border-top: 1px solid var(--border);
  padding-top: 64px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 64px;
  padding-bottom: 56px;
}
.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 13px;
  color: var(--gray2);
  line-height: 1.65;
  margin-bottom: 20px;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray);
  transition: var(--transition);
}
.footer-social a:hover { border-color: var(--red); color: var(--red); }

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-col a,
.footer-col span {
  display: block;
  font-size: 13px;
  color: var(--gray2);
  margin-bottom: 8px;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: var(--gray2);
}

/* ══════════════════════════════════════════════
   WHATSAPP FAB
══════════════════════════════════════════════ */
.whatsapp-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 999;
  transition: var(--transition);
  color: var(--white);
}
.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(37,211,102,0.5);
}

/* ══════════════════════════════════════════════
   ANIMACIONES DE SCROLL
══════════════════════════════════════════════ */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.pillar-card:nth-child(2).fade-in { transition-delay: 0.1s; }
.pillar-card:nth-child(3).fade-in { transition-delay: 0.2s; }
.product-card:nth-child(2).fade-in { transition-delay: 0.1s; }
.product-card:nth-child(3).fade-in { transition-delay: 0.15s; }
.product-card:nth-child(4).fade-in { transition-delay: 0.2s; }
.step:nth-child(2).fade-in { transition-delay: 0.1s; }
.step:nth-child(3).fade-in { transition-delay: 0.2s; }
.step:nth-child(4).fade-in { transition-delay: 0.3s; }
.diff-item:nth-child(2).fade-in { transition-delay: 0.07s; }
.diff-item:nth-child(3).fade-in { transition-delay: 0.14s; }
.diff-item:nth-child(4).fade-in { transition-delay: 0.21s; }
.diff-item:nth-child(5).fade-in { transition-delay: 0.28s; }
.diff-item:nth-child(6).fade-in { transition-delay: 0.35s; }

/* ══════════════════════════════════════════════
   RESPONSIVE — TABLET
══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .pillars-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .prod-line,
  .prod-line-reverse { grid-template-columns: 1fr; }
  .prod-line-img { height: 300px; order: 0 !important; }
  .prod-line-content { order: 1 !important; padding: 36px 28px; }
  .proceso-steps { grid-template-columns: repeat(2, 1fr); gap: 48px; }
  .step-line { display: none; }
  .stats-grid { grid-template-columns: 1fr; gap: 48px; }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
  .contacto-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
}

/* ══════════════════════════════════════════════
   RESPONSIVE — MOBILE
══════════════════════════════════════════════ */
@media (max-width: 768px) {
  .nav-desktop, .btn-header { display: none; }
  .hamburger { display: flex; }

  .hero { padding: 100px 0 64px; min-height: auto; }
  .hero-stats { gap: 20px; padding: 18px; width: 100%; justify-content: center; flex-wrap: wrap; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn-primary, .hero-ctas .btn-ghost { width: 100%; }
  .hero-scroll-hint { display: none; }

  .trust-logos { gap: 10px; }
  .trust-sep { display: none; }

  .pillars { padding: 64px 0; }
  .products { padding: 64px 0 0; }
  .prod-line-content { padding: 28px 20px; gap: 20px; }
  .prod-line-header { flex-direction: column; gap: 12px; }
  .prod-subcat h4 { font-size: 11px; }

  .programa { padding: 64px 0; }
  .programa-features { grid-template-columns: 1fr; }

  .proceso { padding: 64px 0; }
  .proceso-steps { grid-template-columns: 1fr; gap: 32px; max-width: 400px; margin: 0 auto; }

  .stats-section { padding: 64px 0; }
  .stats-numbers { grid-template-columns: repeat(2, 1fr); }

  .diferenciadores { padding: 64px 0; }
  .diff-grid { grid-template-columns: 1fr; }

  .contacto { padding: 64px 0; }
  .contacto-form-wrap { padding: 28px 20px; }

  .footer-links { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-bottom .container { flex-direction: column; text-align: center; }

  .whatsapp-fab { bottom: 20px; right: 20px; width: 50px; height: 50px; }

  .section-title { text-align: left; }
  .section-sub { text-align: left; }
}

@media (max-width: 480px) {
  .hero-stats { flex-direction: column; gap: 16px; }
  .hero-divider { width: 40px; height: 1px; }
  .stats-numbers { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }
  .trust-bar .container { flex-direction: column; align-items: flex-start; gap: 12px; }
}


/* ══════════════════════════════════════════════
   FIX LIMPIO: Logo XERTECH + sección Clientes/Resultados
   Construido desde archivos originales.
══════════════════════════════════════════════ */

/* LOGO HEADER — sin burbuja, más visible, con glow */
.logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 190px;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.logo::before {
  display: none !important;
  content: none !important;
}

.logo::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 44px;
  bottom: -7px;
  height: 2px;
  z-index: -1;
  background: linear-gradient(90deg, rgba(255,22,36,0.95), rgba(255,22,36,0.35), transparent);
  box-shadow: 0 0 18px rgba(255,22,36,0.65);
  opacity: 0.75;
}

.logo-img {
  height: 68px !important;
  width: auto;
  object-fit: contain;
  display: block;
  filter:
    drop-shadow(0 0 1.5px rgba(255,255,255,0.95))
    drop-shadow(0 0 12px rgba(255,255,255,0.16))
    drop-shadow(0 12px 22px rgba(0,0,0,0.78))
    drop-shadow(0 0 28px rgba(255,22,36,0.40));
  transition: transform 0.35s ease, filter 0.35s ease;
}

.logo:hover .logo-img {
  transform: translateY(-2px) scale(1.045);
  filter:
    drop-shadow(0 0 2px rgba(255,255,255,1))
    drop-shadow(0 0 16px rgba(255,255,255,0.22))
    drop-shadow(0 14px 26px rgba(0,0,0,0.84))
    drop-shadow(0 0 38px rgba(255,22,36,0.62));
}

#header.scrolled .logo-img {
  height: 56px !important;
}

#header.scrolled .logo {
  min-width: 165px;
}

@media (prefers-reduced-motion: no-preference) {
  .logo .logo-img {
    animation: xerLogoPulseClean 4.7s ease-in-out infinite;
  }

  .logo::after {
    animation: xerLogoLineClean 3.6s ease-in-out infinite;
  }

  @keyframes xerLogoPulseClean {
    0%, 100% {
      filter:
        drop-shadow(0 0 1.5px rgba(255,255,255,0.88))
        drop-shadow(0 0 11px rgba(255,255,255,0.13))
        drop-shadow(0 12px 22px rgba(0,0,0,0.76))
        drop-shadow(0 0 26px rgba(255,22,36,0.34));
    }
    50% {
      filter:
        drop-shadow(0 0 2px rgba(255,255,255,1))
        drop-shadow(0 0 15px rgba(255,255,255,0.18))
        drop-shadow(0 14px 26px rgba(0,0,0,0.84))
        drop-shadow(0 0 40px rgba(255,22,36,0.58));
    }
  }

  @keyframes xerLogoLineClean {
    0%, 100% { opacity: 0.52; transform: scaleX(0.72); transform-origin: left; }
    50% { opacity: 1; transform: scaleX(1); transform-origin: left; }
  }
}

/* SECCIÓN CLIENTES / RESULTADOS — estilo aprobado, solo en esta sección */
.stats-clientes-premium {
  position: relative;
  padding: 112px 0;
  background:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px),
    radial-gradient(circle at 92% 18%, rgba(255,22,36,0.14), transparent 28%),
    radial-gradient(circle at 8% 88%, rgba(255,22,36,0.12), transparent 25%),
    var(--dark);
  background-size: 64px 64px, 64px 64px, auto, auto, auto;
  overflow: hidden;
}

.stats-clientes-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.stats-clientes-glow {
  position: absolute;
  right: -160px;
  top: 18%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(255,22,36,0.22), transparent 60%);
  filter: blur(18px);
}

.stats-clientes-dots {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -26%;
  height: 48%;
  opacity: 0.72;
  background-image: radial-gradient(circle, rgba(255,22,36,0.82) 1.1px, transparent 1.8px);
  background-size: 18px 18px;
  transform: perspective(720px) rotateX(62deg);
  transform-origin: bottom;
  mask-image: linear-gradient(to top, black, transparent 78%);
  -webkit-mask-image: linear-gradient(to top, black, transparent 78%);
}

.stats-clientes-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  gap: 76px;
  align-items: center;
}

.stats-clientes-label {
  color: #ff1624 !important;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 5px;
  margin-bottom: 28px;
}

.stats-clientes-label::after {
  content: '';
  display: block;
  width: 38px;
  height: 3px;
  margin-top: 14px;
  background: #ff1624;
  box-shadow: 0 0 14px rgba(255,22,36,.8);
}

.stats-clientes-title {
  text-align: left !important;
  font-size: clamp(44px, 5.2vw, 68px) !important;
  line-height: 0.98 !important;
  letter-spacing: -1.2px;
  color: #fff;
  text-shadow: 0 8px 34px rgba(0,0,0,0.65);
}

.stats-clientes-title span {
  color: #ff1624;
  text-shadow: 0 0 22px rgba(255,22,36,0.38);
}

.stats-clientes-sub {
  max-width: 620px;
  margin-top: 26px;
  color: rgba(255,255,255,0.64);
  font-size: 17px;
  line-height: 1.65;
}

.stats-clientes-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 30px;
  max-width: 620px;
}

.stats-cliente-row {
  position: relative;
  display: grid;
  grid-template-columns: 190px 1fr 32px;
  align-items: center;
  min-height: 72px;
  padding: 10px 20px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025)),
    rgba(8,8,8,0.58);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 48px rgba(0,0,0,0.26), inset 0 1px 0 rgba(255,255,255,0.05);
  overflow: hidden;
  transition: transform .32s ease, border-color .32s ease, background .32s ease, box-shadow .32s ease;
}

.stats-cliente-row::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 92% 50%, rgba(255,22,36,0.22), transparent 20%);
  opacity: .72;
  transition: opacity .32s ease;
}

.stats-cliente-row:hover {
  transform: translateX(8px);
  border-color: rgba(255,22,36,0.48);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.09), rgba(255,22,36,0.045)),
    rgba(8,8,8,0.72);
  box-shadow: 0 22px 62px rgba(0,0,0,0.34), 0 0 26px rgba(255,22,36,0.14);
}

.stats-cliente-logo {
  position: relative;
  z-index: 1;
  width: 168px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.stats-cliente-logo img {
  max-width: 160px;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 0 1px rgba(255,255,255,.8))
    drop-shadow(0 8px 16px rgba(0,0,0,.68))
    drop-shadow(0 0 13px rgba(255,255,255,.07));
  transition: transform .35s ease, filter .35s ease;
}

.stats-cliente-row:hover .stats-cliente-logo img {
  transform: translateY(-1px) scale(1.045);
  filter:
    drop-shadow(0 0 1.5px rgba(255,255,255,1))
    drop-shadow(0 10px 20px rgba(0,0,0,.78))
    drop-shadow(0 0 18px rgba(255,255,255,.13));
}

.stats-cliente-row span {
  position: relative;
  z-index: 1;
  font-size: 15px;
  color: rgba(255,255,255,0.86);
  line-height: 1.28;
}

.stats-cliente-row i {
  position: relative;
  z-index: 1;
  font-style: normal;
  color: #ff2634;
  font-size: 32px;
  line-height: 1;
  text-shadow: 0 0 16px rgba(255,22,36,.85);
  transition: transform .32s ease;
}

.stats-cliente-row:hover i {
  transform: translateX(4px);
}

.stats-clientes-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(190px, 1fr));
  gap: 24px;
}

.stats-premium-card {
  min-height: 238px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  padding: 26px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 28%, rgba(255,22,36,0.12), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,0.065), rgba(255,255,255,0.018)),
    rgba(10,10,10,0.62);
  box-shadow: 0 22px 62px rgba(0,0,0,0.32), inset 0 1px 0 rgba(255,255,255,0.05);
  transition: transform .32s ease, border-color .32s ease, box-shadow .32s ease;
}

.stats-premium-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,22,36,0.48);
  box-shadow: 0 26px 70px rgba(0,0,0,0.38), 0 0 36px rgba(255,22,36,0.12);
}

.stats-premium-icon {
  width: 72px;
  height: 72px;
  border: 1px solid rgba(255,22,36,0.48);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff1624;
  font-size: 32px;
  box-shadow: 0 0 22px rgba(255,22,36,0.18), inset 0 0 18px rgba(255,22,36,0.07);
  text-shadow: 0 0 14px rgba(255,22,36,.7);
}

.stats-premium-card strong {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 60px;
  font-weight: 800;
  line-height: .9;
  color: #ff1624;
  text-shadow: 0 0 22px rgba(255,22,36,0.28);
}

.stats-premium-card span {
  color: rgba(255,255,255,0.78);
  font-size: 15px;
  line-height: 1.35;
}

@media (prefers-reduced-motion: no-preference) {
  .stats-cliente-row {
    animation: statsClientFloat 6.8s ease-in-out infinite;
  }
  .stats-cliente-row:nth-child(2) { animation-delay: -1.3s; }
  .stats-cliente-row:nth-child(3) { animation-delay: -2.5s; }
  .stats-cliente-row:nth-child(4) { animation-delay: -3.4s; }

  .stats-premium-card {
    animation: statsCardFloat 7.6s ease-in-out infinite;
  }
  .stats-premium-card:nth-child(2) { animation-delay: -1.7s; }
  .stats-premium-card:nth-child(3) { animation-delay: -2.8s; }
  .stats-premium-card:nth-child(4) { animation-delay: -3.9s; }

  @keyframes statsClientFloat {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
  }

  @keyframes statsCardFloat {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
  }

  .stats-cliente-row:hover,
  .stats-premium-card:hover {
    animation-play-state: paused;
  }
}

@media (max-width: 1100px) {
  .stats-clientes-layout {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .stats-clientes-cards {
    max-width: 620px;
  }
}

@media (max-width: 900px) {
  .logo {
    min-width: 155px;
  }

  .logo-img {
    height: 54px !important;
  }

  #header.scrolled .logo-img {
    height: 48px !important;
  }
}

@media (max-width: 768px) {
  .stats-clientes-premium {
    padding: 82px 0;
  }

  .stats-clientes-title {
    font-size: 42px !important;
  }

  .stats-clientes-sub {
    font-size: 15px;
  }

  .stats-cliente-row {
    grid-template-columns: 138px 1fr 26px;
    min-height: 68px;
    padding: 10px 14px;
  }

  .stats-cliente-logo {
    width: 126px;
  }

  .stats-cliente-logo img {
    max-width: 120px;
    max-height: 42px;
  }

  .stats-cliente-row span {
    font-size: 13px;
  }

  .stats-clientes-cards {
    grid-template-columns: 1fr;
  }

  .stats-premium-card {
    min-height: 200px;
  }
}

@media (max-width: 520px) {
  .stats-cliente-row {
    grid-template-columns: 1fr 24px;
    gap: 5px;
  }

  .stats-cliente-logo {
    grid-column: 1 / 2;
    width: 100%;
    height: 42px;
  }

  .stats-cliente-row span {
    grid-column: 1 / 2;
  }

  .stats-cliente-row i {
    grid-column: 2;
    grid-row: 1 / 3;
  }
}


/* ══════════════════════════════════════════════
   AJUSTE FINAL: logos de clientes sin fondo blanco
   Solo corrige cómo se ven los logos dentro de las filas.
══════════════════════════════════════════════ */
.stats-cliente-logo {
  background: transparent !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

.stats-cliente-logo img {
  background: transparent !important;
  mix-blend-mode: normal;
}

.stats-cliente-row:nth-child(1) .stats-cliente-logo img {
  max-width: 150px;
  max-height: 48px;
}

.stats-cliente-row:nth-child(2) .stats-cliente-logo img {
  max-width: 150px;
  max-height: 52px;
}

.stats-cliente-row:nth-child(3) .stats-cliente-logo img {
  max-width: 170px;
  max-height: 50px;
}

.stats-cliente-row:nth-child(4) .stats-cliente-logo img {
  max-width: 150px;
  max-height: 48px;
}


/* ══════════════════════════════════════════════
   MULTIPÁGINA — Home compacto, Catálogo y Servicios
══════════════════════════════════════════════ */
.page-hero {
  position: relative;
  padding: 170px 0 86px;
  background:
    radial-gradient(circle at 20% 10%, rgba(255,22,36,0.16), transparent 30%),
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px),
    var(--dark);
  background-size: auto, 64px 64px, 64px 64px, auto;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(46px, 6vw, 76px);
  line-height: 0.98;
  font-weight: 800;
  color: var(--white);
  max-width: 780px;
}

.page-hero h1 span {
  color: #ff1624;
  text-shadow: 0 0 24px rgba(255,22,36,0.36);
}

.page-hero p {
  max-width: 620px;
  margin-top: 22px;
  color: rgba(255,255,255,0.66);
  font-size: 18px;
  line-height: 1.65;
}

.home-quick-links {
  padding: 90px 0;
  background: var(--dark);
  position: relative;
}

.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 44px;
}

.quick-link-card {
  position: relative;
  display: block;
  padding: 30px;
  min-height: 230px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 18%, rgba(255,22,36,0.12), transparent 28%),
    rgba(255,255,255,0.035);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  overflow: hidden;
}

.quick-link-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,22,36,0.5);
  box-shadow: 0 22px 60px rgba(0,0,0,0.28), 0 0 28px rgba(255,22,36,0.12);
}

.quick-link-card span {
  font-family: 'Rajdhani', sans-serif;
  font-size: 34px;
  font-weight: 800;
  color: rgba(255,22,36,0.42);
}

.quick-link-card h3 {
  margin-top: 18px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 28px;
  color: var(--white);
}

.quick-link-card p {
  margin-top: 10px;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.6;
}

.quick-link-card strong {
  display: inline-block;
  margin-top: 22px;
  color: #ff1624;
  font-size: 13px;
  letter-spacing: .5px;
}

@media (max-width: 900px) {
  .quick-links-grid {
    grid-template-columns: 1fr;
  }
}


/* ══════════════════════════════════════════════
   FIX: Header fijo en páginas internas
   Evita que el menú/logo se encime con el título en catalogo.html y servicios.html
══════════════════════════════════════════════ */
.page-hero {
  padding-top: 230px !important;
  padding-bottom: 90px !important;
}

@media (max-width: 900px) {
  .page-hero {
    padding-top: 180px !important;
  }
}

@media (max-width: 560px) {
  .page-hero {
    padding-top: 155px !important;
  }
}


/* ══════════════════════════════════════════════
   CATÁLOGO PRO — sistema limpio de categorías
══════════════════════════════════════════════ */
.catalogo-pro {
  padding: 90px 0 110px;
  background:
    radial-gradient(circle at 88% 6%, rgba(255,22,36,0.12), transparent 28%),
    var(--dark);
}

.catalogo-pro-head {
  max-width: 760px;
  margin: 0 auto 62px;
  text-align: center;
}

.catalogo-pro-grid {
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.catalogo-pro-card {
  display: grid;
  grid-template-columns: 42% 58%;
  min-height: 520px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 16%, rgba(255,22,36,0.08), transparent 32%),
    rgba(255,255,255,0.025);
  box-shadow: 0 24px 70px rgba(0,0,0,0.28);
}

.catalogo-pro-card.catalogo-pro-reverse {
  grid-template-columns: 58% 42%;
}

.catalogo-pro-reverse .catalogo-pro-media {
  order: 2;
}

.catalogo-pro-reverse .catalogo-pro-content {
  order: 1;
}

.catalogo-pro-media {
  position: relative;
  min-height: 520px;
  overflow: hidden;
}

.catalogo-pro-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.10), rgba(0,0,0,0.36)),
    radial-gradient(circle at 20% 20%, rgba(255,22,36,0.16), transparent 36%);
}

.catalogo-pro-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.72) contrast(1.08) saturate(.95);
  transition: transform .65s ease, filter .65s ease;
}

.catalogo-pro-card:hover .catalogo-pro-media img {
  transform: scale(1.045);
  filter: brightness(.84) contrast(1.1) saturate(1.05);
}

.catalogo-pro-media span {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 1;
  padding: 7px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff1624, #b70000);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  box-shadow: 0 12px 28px rgba(255,22,36,0.22);
}

.catalogo-pro-content {
  padding: 52px 58px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.catalogo-pro-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff1624;
  font-size: 28px;
  background: rgba(255,22,36,0.10);
  border: 1px solid rgba(255,22,36,0.24);
  box-shadow: inset 0 0 18px rgba(255,22,36,0.05);
}

.catalogo-pro-content h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 1;
  color: #fff;
  margin-bottom: 12px;
}

.catalogo-pro-content > p {
  max-width: 640px;
  color: rgba(255,255,255,0.66);
  font-size: 16px;
  line-height: 1.68;
  margin-bottom: 24px;
}

.catalogo-pro-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.catalogo-pro-highlights span {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.88);
  font-size: 13px;
  font-weight: 600;
}

.catalogo-pro-detail {
  margin-top: 2px;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 18px 0;
}

.catalogo-pro-detail summary {
  cursor: pointer;
  color: #f5c400;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .3px;
  list-style: none;
}

.catalogo-pro-detail summary::-webkit-details-marker {
  display: none;
}

.catalogo-pro-detail summary::after {
  content: ' +';
  color: #ff1624;
}

.catalogo-pro-detail[open] summary::after {
  content: ' −';
}

.catalogo-pro-tags {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.catalogo-pro-tags strong {
  display: block;
  color: rgba(255,255,255,0.54);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  margin-bottom: 8px;
}

.catalogo-pro-tags div div,
.catalogo-pro-tags > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.catalogo-pro-tags span {
  display: inline-flex;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.72);
  font-size: 12px;
}

.catalogo-pro-cta {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 24px;
  color: #ff1624;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .4px;
  transition: transform .3s ease, color .3s ease;
}

.catalogo-pro-cta:hover {
  transform: translateX(6px);
  color: #fff;
}

@media (max-width: 1100px) {
  .catalogo-pro-card,
  .catalogo-pro-card.catalogo-pro-reverse {
    grid-template-columns: 1fr;
  }

  .catalogo-pro-reverse .catalogo-pro-media,
  .catalogo-pro-reverse .catalogo-pro-content {
    order: initial;
  }

  .catalogo-pro-media {
    min-height: 340px;
  }

  .catalogo-pro-content {
    padding: 42px 34px;
  }
}

@media (max-width: 620px) {
  .catalogo-pro {
    padding: 70px 0 90px;
  }

  .catalogo-pro-card {
    border-radius: 18px;
  }

  .catalogo-pro-media {
    min-height: 260px;
  }

  .catalogo-pro-content {
    padding: 32px 22px;
  }
}
