/* ==========================================================================
   Reluciente de Limpio - Estilos Principales
   Tema: Premium, Moderno, Glassmorphism, Laboratorio Clínico
   ========================================================================== */

/* Variables Corporativas y de Tema */
:root {
  /* Paleta Base (Ajustable a los colores exactos del cliente) */
  --primary: #005f73;        /* Azul Profundo / Autoridad */
  --secondary: #0a9396;      /* Cyan / Limpieza Brillante */
  --accent: #94d2bd;         /* Verde Agua / Biodegradable */
  --accent-orange: #ff4a17;  /* Naranja / Detalles minimalistas */
  
  /* Tonos neutros */
  --dark: #001219;
  --light: #f8f9fa;
  --white: #ffffff;
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-shadow: 0 8px 32px 0 rgba(0, 95, 115, 0.1);
  
  --glass-bg-dark: rgba(0, 18, 25, 0.85);
  --glass-border-dark: rgba(10, 147, 150, 0.3);
  --glass-shadow-dark: 0 8px 32px 0 rgba(0, 0, 0, 0.5);

  /* Transiciones */
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  
  /* Fuentes */
  --font-main: 'Inter', sans-serif;
}

/* ==========================================================================
   Reset y Base
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--light);
  color: var(--dark);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ==========================================================================
   Componentes Reutilizables
   ========================================================================== */
/* Glass Panels */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 16px;
}

.glass-panel-dark {
  background: var(--glass-bg-dark);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border-dark);
  box-shadow: var(--glass-shadow-dark);
  border-radius: 16px;
  color: var(--white);
}

/* Botones */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 95, 115, 0.3);
}

.btn-primary:hover {
  background-color: var(--secondary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10, 147, 150, 0.4);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
}

.btn-ghost {
  background-color: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn-ghost:hover {
  background-color: var(--white);
  color: var(--primary);
}

.btn-light {
  background-color: var(--white);
  color: var(--primary);
}

.btn-light:hover {
  background-color: var(--light);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.9rem;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background-color: rgba(10, 147, 150, 0.15);
  color: var(--secondary);
  margin-bottom: 1rem;
}

.badge-dark {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--accent);
}

/* Títulos de Sección */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-header::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background-color: var(--accent-orange);
  margin: 1rem auto 0;
  border-radius: 2px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-weight: 800;
}

.section-header p {
  color: #555;
  font-size: 1.1rem;
}

/* ==========================================================================
   Navegación
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--primary);
}

.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-weight: 600;
  color: var(--dark);
}

.nav-links a:hover {
  color: var(--secondary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-social {
  display: flex;
  gap: 0.8rem;
}

.nav-social a {
  color: var(--primary);
  font-size: 1.1rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 95, 115, 0.05);
}

.nav-social a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('C:/Users/usuario/.gemini/antigravity/brain/237450a8-e649-43cc-a811-63883f7259ec/hero_cleaning_lab_1777336975679.png');
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.4) 100%);
}

.hero-content {
  max-width: 700px;
}

.hero-text-box {
  padding: 3rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.hero-title span {
  color: var(--primary);
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #333;
}

.hero-slogan {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Custom overwrites for hero buttons to match bg */
.hero-actions .btn-ghost {
  border-color: var(--primary);
  color: var(--primary);
}
.hero-actions .btn-ghost:hover {
  background-color: rgba(0, 95, 115, 0.1);
}

.link-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #25D366; /* WhatsApp Color */
  border: 2px solid #25D366;
  padding: 10px 20px;
  border-radius: 8px;
  background-color: transparent;
  transition: var(--transition);
}

.link-contact:hover {
  background-color: #25D366;
  color: white;
}

/* ==========================================================================
   Trust Bar
   ========================================================================== */
.trust-bar {
  background-color: var(--white);
  padding: 2rem 0;
  border-bottom: 1px solid #eee;
}

.trust-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 600;
  color: var(--primary);
  font-size: 1.1rem;
}

.trust-item i {
  font-size: 1.5rem;
  color: var(--secondary);
}

/* ==========================================================================
   Sección Productos
   ========================================================================== */
.products-section {
  padding: 6rem 0;
  background-color: var(--light);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 95, 115, 0.15);
}

.product-img-wrapper {
  background: radial-gradient(circle, #fff 0%, #f0f4f8 100%);
  border-radius: 12px;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.product-img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img {
  transform: scale(1.05);
}

.img-placeholder {
  font-size: 4rem;
  color: var(--secondary);
  opacity: 0.5;
}

.category-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.tag-hogar { background-color: #e0fbfc; color: #005f73; }
.tag-industrial { background-color: #ffe8d6; color: #cb997e; }
.tag-jarcieria { background-color: #e9edc9; color: #606c38; }

.product-info h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.product-info p {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* ==========================================================================
   Sección Distribuidores
   ========================================================================== */
.distributors-section {
  padding: 4rem 0;
}

.distributors-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 4rem;
  align-items: center;
}

.distributors-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.distributors-content p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.steps-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.step-number {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
}

.step-text {
  font-size: 1.1rem;
  font-weight: 600;
}

.calc-box {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 12px;
  color: var(--dark);
}

.calc-box h3 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.calc-box label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.slider {
  width: 100%;
  margin-bottom: 2rem;
  accent-color: var(--secondary);
}

.calc-result {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 1rem;
}

.calc-result span {
  display: block;
  font-size: 0.9rem;
  color: #666;
}

.calc-result strong {
  display: block;
  font-size: 2rem;
  color: #25D366;
}

.small-text {
  font-size: 0.8rem;
  color: #888;
  text-align: center;
}

/* ==========================================================================
   Sección Blog / SEO
   ========================================================================== */
.blog-section {
  padding: 6rem 0;
  background-color: var(--white);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.blog-card {
  padding: 2rem;
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: var(--secondary);
}

.blog-meta {
  color: var(--secondary);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.blog-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.blog-card p {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.read-more {
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}

.read-more i {
  color: var(--accent-orange);
  transition: var(--transition);
}

.read-more:hover {
  gap: 10px;
  color: var(--accent-orange);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-color: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 0 0;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-brand .logo {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  display: inline-flex;
}

.footer-contact h4,
.footer-links-col h4,
.footer-social h4 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.2rem;
  transition: var(--transition);
}

.social-icons a:hover {
  background: var(--secondary);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-contact p {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-links-col ul li {
  margin-bottom: 0.5rem;
}

.footer-links-col a {
  color: rgba(255,255,255,0.7);
}

.footer-links-col a:hover {
  color: var(--secondary);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
}

.mobile-contact {
  display: none;
}

.desktop-contact {
  display: inline-flex;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
  .hero-title { font-size: 2.8rem; }
  .distributors-container {
    grid-template-columns: 1fr;
    padding: 2rem;
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .desktop-contact {
    display: none;
  }
  
  .mobile-contact {
    display: block;
    margin-top: 1rem;
    text-align: center;
  }

  .nav-links { 
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 0;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    max-height: 0;
    overflow: hidden;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-out;
  }

  .nav-links.active {
    max-height: 500px;
    padding: 1.5rem 2rem;
    opacity: 1;
    visibility: visible;
  }
  
  .nav-links a {
    display: block;
    padding: 0.8rem 0;
    font-size: 1.1rem;
    text-align: center;
  }

  .hero-text-box { padding: 1.5rem; }
  .hero-title { font-size: 2.2rem; }
  .hero-actions { justify-content: center; }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .logo span {
    display: none;
  }
  .nav-social { gap: 0.5rem; }
  .nav-social a { width: 32px; height: 32px; font-size: 1rem; }
  .nav-actions { gap: 0.5rem; }
  .hero-title { font-size: 1.8rem; }
  .section-header h2 { font-size: 1.8rem; }
  .distributors-content h2 { font-size: 2rem; }
  .distributors-container { padding: 1.5rem; }
}
