/* =====================================================
   ADICIONES Y CORRECCIONES AL style.css EXISTENTE
   Pega esto AL FINAL de tu style.css
   ===================================================== */

/* ---- RESET BODY (reemplaza las 3 definiciones de body) ---- */
body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #0a0a0f;
  color: white;
  overflow-x: hidden;
  /* QUITAR position:relative, padding-bottom, display:flex */
}

/* ---- HAMBURGER ---- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

@media (max-width: 900px) {
  .hamburger { display: flex; }
  .nav-3d {
    position: fixed;
    top: 0; right: -100%;
    width: 75vw; max-width: 300px;
    height: 100vh;
    background: rgba(5, 10, 20, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 90px 24px 32px;
    transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
    border-left: 1px solid rgba(0,86,247,0.3);
    z-index: 999;
  }
  .nav-3d.nav-open { right: 0; }
  .nav-3d ul { flex-direction: column; gap: 10px; }
  .nav-3d ul li { width: 100%; }
  .nav-link, .btn-registrarse { width: 100%; justify-content: flex-start; }
}

/* ---- GRID 6 TARJETAS ---- */
.grid-6 {
  grid-template-columns: repeat(3, 1fr) !important;
}
@media (max-width: 992px) {
  .grid-6 { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 600px) {
  .grid-6 { grid-template-columns: 1fr !important; }
}

/* Imágenes para tarjetas nuevas */
.servicio-5 {
  background-image: url('Img/5.jpg') !important;
  background-color: #001a1a;
}
.servicio-6 {
  background-image: url('Img/6.png') !important;
  background-color: #001a00;
}

/* ---- SECCIÓN MATERIAL PARTICULADO ---- */
.seccion-particulado {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(135deg, #020c1a 0%, #000d1f 50%, #020c1a 100%);
  overflow: hidden;
}

.seccion-particulado::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(0,86,247,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.seccion-particulado::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #0056f7, #00b4ff, transparent);
}

.particulado-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
}

@media (max-width: 1100px) {
  .particulado-inner { grid-template-columns: 1fr; gap: 48px; }
}

.particulado-titulo {
  font-family: 'Oswald', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.15;
  margin: 12px 0 20px;
}

.particulado-desc {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
}

.particulado-lista {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.part-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 18px 20px;
  background: rgba(0,86,247,0.07);
  border: 1px solid rgba(0,86,247,0.18);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.part-item:hover {
  background: rgba(0,86,247,0.13);
  border-color: rgba(0,86,247,0.35);
  transform: translateX(6px);
}

.part-item-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(0,86,247,0.25), rgba(0,180,255,0.2));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #00b4ff;
}

.part-item h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 4px;
  color: white;
}

.part-item p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  margin: 0;
  line-height: 1.5;
}

.btn-particulado {
  background: linear-gradient(135deg, #0056f7, #00b4ff) !important;
  min-width: auto !important;
  padding: 14px 28px !important;
  font-size: 1rem !important;
}

/* TARJETA DIAGNÓSTICO GRATIS */
.particulado-card-gratis {
  background: rgba(5,15,35,0.9);
  border: 1.5px solid rgba(0,180,255,0.35);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,86,247,0.2), inset 0 0 60px rgba(0,86,247,0.04);
  transition: all 0.4s ease;
}

.particulado-card-gratis:hover {
  border-color: rgba(0,180,255,0.6);
  box-shadow: 0 30px 80px rgba(0,86,247,0.3);
  transform: translateY(-6px);
}

.particulado-card-gratis::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0056f7, #00b4ff, #0056f7);
  background-size: 200%;
  animation: gradShift 3s linear infinite;
}

@keyframes gradShift {
  0% { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}

.gratis-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: .1em;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 24px;
  box-shadow: 0 4px 15px rgba(245,158,11,0.4);
}

.gratis-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #0056f7, #00b4ff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  margin: 0 auto 20px;
  box-shadow: 0 10px 30px rgba(0,86,247,0.4);
}

.particulado-card-gratis h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.8rem;
  color: white;
  margin-bottom: 14px;
}

.particulado-card-gratis p {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

.gratis-lista {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  text-align: left;
}

.gratis-lista li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  color: rgba(255,255,255,0.85);
  font-size: 0.93rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.gratis-lista li:last-child { border-bottom: none; }

.gratis-lista i { color: #00b4ff; font-size: 0.95rem; }

.btn-gratis-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #0056f7, #00b4ff);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0,86,247,0.4);
}

.btn-gratis-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(0,86,247,0.55);
}

/* ---- MODO CLARO - PARTICULADO ---- */
body[data-theme="light"] .seccion-particulado {
  background: linear-gradient(135deg, #eef2ff 0%, #f0f7ff 50%, #eef2ff 100%) !important;
}
body[data-theme="light"] .seccion-particulado::after {
  background: linear-gradient(90deg, transparent, #0056f7, transparent);
}
body[data-theme="light"] .particulado-titulo,
body[data-theme="light"] .particulado-card-gratis h3 {
  color: #1a1a2e !important;
}
body[data-theme="light"] .particulado-desc,
body[data-theme="light"] .particulado-card-gratis p {
  color: #444 !important;
}
body[data-theme="light"] .part-item {
  background: rgba(0,86,247,0.05) !important;
  border-color: rgba(0,86,247,0.15) !important;
}
body[data-theme="light"] .part-item h4 { color: #111 !important; }
body[data-theme="light"] .part-item p { color: #555 !important; }
body[data-theme="light"] .particulado-card-gratis {
  background: white !important;
  border-color: rgba(0,86,247,0.25) !important;
  box-shadow: 0 20px 60px rgba(0,86,247,0.1) !important;
}
body[data-theme="light"] .gratis-lista li {
  color: #444 !important;
  border-color: rgba(0,0,0,0.07) !important;
}

/* ---- FOOTER FIJO (reemplaza las versiones duplicadas) ---- */
.footer-3d {
  padding: 60px 0 0;
  background: rgba(5, 10, 20, 1);
  position: relative;
  overflow: hidden;
  /* Eliminar position:absolute y bottom:0 anteriores */
}

.footer-3d::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #0056f7 0%, #00b4ff 50%, #0056f7 100%);
  background-size: 200% 100%;
  animation: gradientMove 4s linear infinite;
}

@keyframes gradientMove {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ---- MODO CLARO HEADER ---- */
body[data-theme="light"] .header-3d {
  background: rgba(255,255,255,0.97) !important;
  border-bottom: 1px solid rgba(0,0,0,0.1) !important;
}
body[data-theme="light"] .hamburger span { background: #333 !important; }

/* ---- MODO CLARO FOOTER ---- */
body[data-theme="light"] .footer-3d {
  background: #f1f3f5 !important;
  border-top: 1px solid rgba(0,0,0,0.1) !important;
}
body[data-theme="light"] .footer-titulo { color: #111 !important; }
body[data-theme="light"] .footer-descripcion { color: #555 !important; }
body[data-theme="light"] .certificado,
body[data-theme="light"] .footer-info p,
body[data-theme="light"] .red-social span { color: #444 !important; }
body[data-theme="light"] .footer-col {
  background: rgba(255,255,255,0.85) !important;
  border: 1px solid rgba(0,0,0,0.1) !important;
}
body[data-theme="light"] .footer-bottom-section {
  background: rgba(0,0,0,0.05) !important;
  border-top: 1px solid rgba(0,0,0,0.1) !important;
}
body[data-theme="light"] .footer-copyright { color: #666 !important; }
body[data-theme="light"] .footer-slogan { color: #0056f7 !important; }

/* ---- CORRECCIÓN SERVICIOS 6 TARJETAS EN MODO CLARO ---- */
body[data-theme="light"] .seccion-servicios {
  background: #ffffff !important;
}

/* ═══════════════════════════════════════════════════════
   SECCIÓN CLIENTES
════════════════════════════════════════════════════════ */
.seccion-clientes {
  padding: 100px 0;
  background: linear-gradient(135deg, #020c1a 0%, #000d1f 60%, #020c1a 100%);
  position: relative;
  overflow: hidden;
}
.seccion-clientes::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #0056f7, #00b4ff, transparent);
}

/* Logos */
.clientes-logos {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin: 56px 0 48px;
}
.cliente-logo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 40px 48px;
  background: rgba(255,255,255,0.03);
  border: 1.5px solid rgba(0,86,247,0.25);
  border-radius: 20px;
  min-width: 220px;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}
.cliente-logo-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,86,247,0.06), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.cliente-logo-card:hover {
  border-color: rgba(0,180,255,0.55);
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,86,247,0.2);
}
.cliente-logo-card:hover::after { opacity: 1; }
.cliente-logo-icon {
  width: 68px;
  height: 68px;
  background: linear-gradient(135deg, #0056f7, #00b4ff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  color: white;
  box-shadow: 0 8px 25px rgba(0,86,247,0.4);
}
.cliente-logo-nombre {
  font-family: 'Oswald', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: white;
  text-align: center;
}
.cliente-logo-sector {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* Mensaje otros clientes */
.clientes-mensaje {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 40px 48px;
  background: rgba(0,86,247,0.07);
  border: 1.5px solid rgba(0,86,247,0.2);
  border-radius: 20px;
  margin-top: 16px;
}
.clientes-msg-icon {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(0,86,247,0.25), rgba(0,180,255,0.2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #00b4ff;
}
.clientes-msg-contenido h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  color: white;
  margin: 0 0 10px;
}
.clientes-msg-contenido p {
  color: rgba(255,255,255,0.75);
  font-size: 0.98rem;
  line-height: 1.7;
  margin: 0 0 20px;
}
.btn-clientes-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: auto !important;
  padding: 12px 26px !important;
  font-size: 0.95rem !important;
}
@media (max-width: 768px) {
  .clientes-mensaje {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }
  .cliente-logo-card { min-width: 160px; padding: 28px 32px; }
}

/* Modo claro */
body[data-theme="light"] .seccion-clientes {
  background: linear-gradient(135deg, #f0f4ff 0%, #eef2ff 60%, #f0f4ff 100%) !important;
}
body[data-theme="light"] .cliente-logo-card {
  background: white !important;
  border-color: rgba(0,86,247,0.15) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
body[data-theme="light"] .cliente-logo-nombre { color: #111 !important; }
body[data-theme="light"] .cliente-logo-sector { color: #888 !important; }
body[data-theme="light"] .clientes-mensaje {
  background: white !important;
  border-color: rgba(0,86,247,0.15) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
body[data-theme="light"] .clientes-msg-contenido h3 { color: #111 !important; }
body[data-theme="light"] .clientes-msg-contenido p { color: #555 !important; }

/* ═══════════════════════════════════════════════════════
   TEMA CLARO — SECCIÓN CLIENTES (inline styles override)
════════════════════════════════════════════════════════ */
body[data-theme="light"] #seccion-clientes {
  background: linear-gradient(135deg, #f0f4ff 0%, #eef2ff 60%, #f0f4ff 100%) !important;
}
body[data-theme="light"] #seccion-clientes::before {
  display: none;
}
/* Tarjetas logos */
body[data-theme="light"] #clientes-logos-wrap > div {
  background: #ffffff !important;
  border-color: rgba(220, 223, 228, 0.18) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}
body[data-theme="light"] #clientes-logos-wrap div[style*="font-family:'Oswald'"] {
  color: #111 !important;
}
body[data-theme="light"] #clientes-logos-wrap div[style*="letter-spacing"] {
  color: #888 !important;
}
/* Bloque mensaje */
body[data-theme="light"] #clientes-msg-wrap {
  background: #ffffff !important;
  border-color: rgba(0,86,247,0.15) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}
body[data-theme="light"] #clientes-msg-wrap h3 {
  color: #111 !important;
}
body[data-theme="light"] #clientes-msg-wrap p {
  color: #555 !important;
}
body[data-theme="light"] #clientes-msg-wrap > div:first-child {
  background: linear-gradient(135deg, rgba(0,86,247,0.12), rgba(0,180,255,0.08)) !important;
}
.recaptcha-wrapper {
  margin: 20px 0;
  display: flex;
  justify-content: center;
}
/* reCAPTCHA */
.recaptcha-group {
  margin: 20px 0;
  display: flex;
  justify-content: center;
}
.recaptcha-container {
  transform: scale(0.92);
  transform-origin: center;
}
.recaptcha-legal {
  font-size: 0.7rem;
  margin-top: 10px;
  color: var(--text-dim);
  text-align: center;
}
.recaptcha-legal a {
  color: var(--blue-light);
  text-decoration: none;
}
.recaptcha-legal a:hover {
  text-decoration: underline;
}

/* Botón flotante WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 999;
  transition: all 0.3s;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  background-color: #128C7E;
}
[data-theme="light"] .whatsapp-float {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}