/* =========================================
   1. VARIABLES & AESTHETIC RESET
   ========================================= */
:root {
  --bg-main: #f8f9fc;
  --bg-white: #ffffff;
  --bg-light: #f1f5f9;
  
  --text-main: #1e293b;
  --text-soft: #64748b;
  
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --accent: #e11d48;
  --whatsapp: #10b981;
  
  --radius: 20px;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Roboto', sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  max-width: 100% !important;
}

html { scroll-behavior: smooth; }

ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }

.container { max-width: 1200px; margin: auto; padding: 0 24px; }
.container-fluid { width: 100%; overflow: hidden; }
.text-center { text-align: center; }

/* =========================================
   2. TOP BAR & HEADER
   ========================================= */
.top-bar {
  background: var(--text-main); color: #fff; font-size: 0.8rem;
  padding: 10px 0; text-align: center; font-weight: 500; letter-spacing: 0.5px;
}
.bar-flex { display: flex; justify-content: center; gap: 20px; }

.site-header {
  position: sticky; top: 0; background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px); z-index: 1000;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  min-height: 70px; /* Reserva de espacio para evitar CLS al cargar el header dinámico */
}
.header-flex { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; }
.logo a { font-family: 'Syne', sans-serif; font-size: 1.6rem; color: var(--text-main); font-weight: 800; letter-spacing: -0.5px; }
.logo span { color: var(--accent); }

/* NAVEGACIÓN */
.menu-toggle { display: none; background: none; border: none; color: var(--text-main); cursor: pointer; }
.nav-list { display: flex; gap: 32px; align-items: center; }
.nav-list > li > a { font-size: 0.95rem; font-weight: 500; color: var(--text-main); }
.nav-list > li > a:hover, .nav-list > li > a.active { color: var(--primary); }

.nav-phone {
  background: var(--text-main); color: #fff !important; padding: 10px 24px;
  border-radius: 50px; font-weight: 600 !important; font-size: 0.9rem !important;
  box-shadow: var(--shadow-sm);
}
.nav-phone:hover { background: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* DROPDOWNS */
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: 100%; left: 0; background: var(--bg-white);
  min-width: 220px; border-radius: 12px; padding: 8px;
  box-shadow: var(--shadow-md); opacity: 0; visibility: hidden;
  transform: translateY(10px); transition: all 0.2s ease; z-index: 1100;
  border: 1px solid rgba(0,0,0,0.03);
}
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu li a { display: block; padding: 10px 16px; border-radius: 8px; font-size: 0.9rem; color: var(--text-soft); }
.dropdown-menu li a:hover { background: var(--bg-light); color: var(--primary); }

/* VARIANTES DE DROPDOWN */
.dropdown-menu.cols-2 { min-width: 380px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.dropdown-menu.scrollable { max-height: 400px; overflow-y: auto; }

/* =========================================
   3. HERO HOME (OPTIMIZADO PARA CORE WEB VITALS)
   ========================================= */
.hero-home {
  position: relative;
  background-image: url('../img/hero-back.webp'); /* Cambio a WebP */
  background-size: cover;
  background-position: center center;
  background-color: #0f172a; /* Color de fondo sólido para evitar CLS cromático */
  min-height: 80vh; /* Altura más estable que 90vh */
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: #ffffff;
  padding: 140px 0 100px;
  margin-top: -80px;
  contain: layout; /* Mejora rendimiento de renderizado */
}

.hero-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.7) 100%);
  z-index: 1;
}

.hero-content {
  position: relative; z-index: 2; 
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
  display: flex; 
  flex-direction: column; 
  align-items: flex-start;
}

.hero-badge-glass {
  background: rgba(37, 99, 235, 0.2); 
  border: 1px solid rgba(59, 130, 246, 0.5); 
  color: #fff;
  padding: 8px 16px; border-radius: 4px; 
  font-weight: 700; font-size: 0.8rem;
  letter-spacing: 1px; text-transform: uppercase; 
  margin-bottom: 20px; display: inline-block;
  min-height: 32px; /* Reserva altura */
}

.hero-home h1 {
  font-family: 'Syne', sans-serif; 
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 1.1; 
  margin-bottom: 10px; 
  font-weight: 800;
  color: #fff;
  text-shadow: 0 4px 10px rgba(0,0,0,0.5);
  max-width: 900px;
}

.hero-home h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--accent);
  margin-bottom: 30px;
  font-weight: 600;
  line-height: 1.3;
  max-width: 900px;
}

.hero-text-block {
  max-width: 800px;
  margin-bottom: 35px;
  min-height: 100px; /* Reserva espacio para evitar CLS si el texto tarda en renderizar */
}

.hero-home p {
  font-size: 1.1rem; 
  line-height: 1.7; 
  color: #e2e8f0;
  margin-bottom: 20px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}

.hero-home strong { color: #fff; font-weight: 600; }

.hero-actions {
  display: flex; 
  gap: 16px; 
  justify-content: flex-start;
  margin-bottom: 40px;
  flex-wrap: wrap;
  min-height: 60px;
}

.hero-trust-badges.left-align {
  display: flex; 
  gap: 25px; 
  justify-content: flex-start;
  flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 8px; font-size: 0.95rem; font-weight: 600;
  background: rgba(255,255,255,0.1); padding: 8px 16px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2); color: #fff;
}
.trust-item .icon { font-size: 1.1rem; }

/* Responsive adjustments */
@media (max-width: 900px) {
  .hero-home {
    padding: 120px 20px 60px;
    align-items: flex-start;
    min-height: 600px; /* Altura mínima fija en móvil para evitar CLS masivo */
  }
  .hero-content {
    align-items: flex-start;
    text-align: left;
  }
}

/* =========================================
   RESTO DE SECCIONES (Sin cambios innecesarios)
   ========================================= */

/* 3.1 HERO SERVICE (PÁGINAS INTERNAS) */
.hero-service {
  position: relative; background: url('../img/hero-llaves.webp') center/cover no-repeat;
  background-color: #0f172a; padding: 140px 0 100px; text-align: center; color: #fff;
}
.hero-overlay-dark {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.7)); z-index: 1;
}
.hero-service-content { position: relative; z-index: 2; max-width: 900px; margin: auto; }
.hero-service h1 { font-family: 'Syne', sans-serif; font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.1; margin-bottom: 20px; color: #fff; }
.hero-service p { font-size: 1.2rem; margin-bottom: 40px; color: #e2e8f0; max-width: 700px; margin-left: auto; margin-right: auto; }

.service-badge {
  background: var(--primary); color: #fff; padding: 6px 14px; border-radius: 4px;
  font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px;
  display: inline-block; margin-bottom: 20px;
}

/* 4. ELEMENTOS UI GLOBALES (BOTONES, ETC) */
.btn-main, .btn-wa, .btn-outline {
  padding: 16px 36px; border-radius: 50px; font-weight: 600; font-size: 1rem;
  transition: all 0.25s ease; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.btn-main { background: var(--text-main); color: #fff; box-shadow: 0 10px 20px rgba(30, 41, 59, 0.15); }
.btn-main:hover { background: var(--accent); transform: translateY(-3px); box-shadow: 0 15px 30px rgba(225, 29, 72, 0.25); }
.btn-wa { background: var(--bg-white); color: var(--text-main); border: 1px solid rgba(0,0,0,0.1); }
.btn-wa:hover { border-color: var(--whatsapp); color: var(--whatsapp); background: #fff; transform: translateY(-3px); }
.btn-outline { background: transparent; border: 1px solid var(--text-main); color: var(--text-main); }
.btn-outline:hover { background: var(--text-main); color: #fff; }
.btn-outline.small { padding: 10px 20px; font-size: 0.9rem; width: 100%; }

.centered { justify-content: center; }
.full { width: 100%; }
.gold { background: #d97706; color: #fff; }

/* 5. SECCIONES COMUNES */
.section-info, .services-grid, .testimonials, .pricing-section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-title { font-family: 'Syne', sans-serif; font-size: 2.4rem; color: var(--text-main); margin-bottom: 12px; }
.section-subtitle { color: var(--text-soft); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
.bg-light { background: var(--bg-light); }

/* 6. BENTO GRID (LAYOUTS) */
.bento-container {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; width: 100%; margin: 0 auto;
}
.bento-item {
  background: var(--bg-white); padding: 40px; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); border: 1px solid #e2e8f0;
  display: flex; flex-direction: column; justify-content: space-between; text-align: left;
  transition: all 0.3s ease; min-height: 320px;
}
.bento-item:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-color: rgba(37,99,235,0.1); }
.bento-item h3 { font-family: 'Syne', sans-serif; font-size: 1.6rem; margin-bottom: 18px; color: var(--text-main); letter-spacing: -0.5px; font-weight: 700; }
.bento-item p { color: var(--text-soft); font-size: 1.05rem; line-height: 1.6; margin-bottom: 30px; }

.bento-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.price-tag-sm {
  display: inline-block; font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1rem;
  background: var(--bg-light); color: var(--text-main); padding: 10px 18px; border-radius: 12px; letter-spacing: -0.5px;
}
.link-arrow { display: inline-block; font-weight: 600; font-size: 0.95rem; color: var(--primary); border-bottom: 2px solid transparent; }
.bento-item:hover .link-arrow { border-bottom-color: var(--primary); }

/* GRID 3 COLUMNAS */
.three-cols { grid-template-columns: repeat(3, 1fr); }

/* 7. TARIFAS Y PRECIOS */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; justify-content: center; }
.pricing-card {
  background: var(--bg-white); border-radius: var(--radius); padding: 40px 30px;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,0.03);
  position: relative; transition: all 0.3s ease; display: flex; flex-direction: column;
}
.pricing-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.pricing-card.featured { border: 2px solid var(--primary); background: #fff; }
.badge-pop {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff; font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; padding: 6px 16px; border-radius: 50px; letter-spacing: 0.5px;
}
.card-header { text-align: center; margin-bottom: 30px; border-bottom: 1px solid var(--bg-light); padding-bottom: 25px; }
.card-header h3 { font-size: 1.1rem; color: var(--text-soft); margin-bottom: 10px; font-weight: 500; }
.card-header .price {
  font-size: 3.2rem; font-weight: 700; font-family: 'Syne', sans-serif; color: var(--text-main);
  line-height: 1; display: block; letter-spacing: -1.5px;
}
.card-header .price small { font-size: 1.5rem; vertical-align: super; letter-spacing: normal; }
.card-header .period { display: block; font-size: 0.85rem; color: var(--text-soft); margin-top: 8px; }
.pricing-card ul { margin-bottom: 30px; flex-grow: 1; }
.pricing-card ul li { margin-bottom: 14px; font-size: 0.95rem; color: var(--text-soft); display: flex; align-items: center; gap: 8px; }

/* TABLAS RESPONSIVE */
.table-responsive { overflow-x: auto; margin: 30px 0; border-radius: 12px; box-shadow: var(--shadow-sm); border: 1px solid #e2e8f0; }
.price-table { width: 100%; border-collapse: collapse; background: #fff; text-align: left; min-width: 600px; }
.price-table th { background: #1e293b; color: #fff; padding: 18px; font-family: 'Syne', sans-serif; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.5px; }
.price-table td { padding: 16px 18px; border-bottom: 1px solid #e2e8f0; color: var(--text-main); font-size: 0.95rem; }
.price-table tr:last-child td { border-bottom: none; }
.price-table tr:hover { background: #f8fafc; }

/* PRECIOS SPLIT (PÁGINA PÉRDIDA LLAVES) */
.pricing-container-split { display: grid; grid-template-columns: 1fr 1.3fr; gap: 30px; align-items: stretch; }
.price-box-main {
  background: #fff; border: 1px solid var(--bg-light); border-radius: var(--radius);
  padding: 40px; text-align: center; display: flex; flex-direction: column;
  justify-content: center; align-items: center; box-shadow: var(--shadow-sm);
}
.price-box-main h3 { font-family: 'Syne', sans-serif; font-size: 1.4rem; color: var(--text-main); margin-bottom: 10px; }
.big-price { font-family: 'Syne', sans-serif; font-size: 3rem; font-weight: 700; color: var(--text-main); line-height: 1; margin: 10px 0; }

.offer-box-gold {
  background: linear-gradient(135deg, #fffbeb 0%, #fff 100%);
  border: 2px solid #fbbf24; border-radius: var(--radius);
  padding: 40px; text-align: center; position: relative; overflow: hidden;
  box-shadow: 0 10px 30px rgba(251, 191, 36, 0.15);
}
.offer-box-gold::before {
  content: ''; position: absolute; top: -50px; right: -50px; width: 100px; height: 100px;
  background: rgba(251, 191, 36, 0.2); border-radius: 50%; filter: blur(20px);
}
.offer-header { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 15px; }
.offer-box-gold h3 { font-family: 'Syne', sans-serif; font-size: 1.5rem; color: #b45309; text-transform: uppercase; letter-spacing: 1px; }
.offer-highlight {
  background: #fff; border: 2px dashed #fbbf24; padding: 15px; border-radius: 12px;
  font-size: 1.2rem; color: var(--text-main); margin-bottom: 20px;
}
.offer-highlight strong { color: #d97706; font-size: 1.4rem; display: block; font-family: 'Syne', sans-serif; }

/* 8. MARCAS */
.brands-grid { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 950px; margin: 30px auto 0; }
.brands-grid .brand-tag {
  background: #fff; border: 1px solid #e2e8f0; padding: 12px 24px;
  font-size: 0.95rem; color: var(--text-main); font-weight: 500; border-radius: 50px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02); transition: all 0.2s ease; flex-grow: 0; text-decoration: none;
}
.brands-grid .brand-tag:hover {
  border-color: var(--primary); color: #fff; background: var(--primary);
  transform: translateY(-3px); box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

/* TARJETAS MARCAS (IMAGENES) */
.brand-card-wrapper {
  position: relative; height: 300px; overflow: hidden; border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1); background: #000;
}
.brand-card-wrapper img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transition: transform 0.5s ease; opacity: 0.9;
}
.brand-card-wrapper:hover img { transform: scale(1.05); opacity: 1; }
.brand-label {
  position: absolute; bottom: 20px; left: 20px; background: #fff; color: var(--text-main);
  padding: 8px 18px; border-radius: 50px; font-weight: 700; font-family: 'Syne', sans-serif; font-size: 0.9rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2); z-index: 2;
}

/* 9. TESTIMONIOS (MARQUEE) */
.testimonials { overflow: hidden; background: var(--bg-white); padding: 100px 0; }
.marquee-wrapper { width: 100%; overflow: hidden; mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); }
.marquee-track { display: flex; gap: 24px; width: max-content; animation: scroll 80s linear infinite; padding: 10px 0; }
.marquee-track:hover { animation-play-state: paused; }
.testi-card { width: 360px; background: var(--bg-light); padding: 30px; border-radius: var(--radius); flex-shrink: 0; border: 1px solid rgba(0,0,0,0.03); }
.testi-header { display: flex; gap: 15px; align-items: center; margin-bottom: 15px; }
.avatar { width: 44px; height: 44px; background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--primary); font-size: 0.95rem; border: 1px solid rgba(0,0,0,0.05); box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.stars { color: #fbbf24; font-size: 0.9rem; letter-spacing: 1px; }
.client { font-weight: 700; font-size: 0.9rem; color: var(--text-main); display: block; }
.testi-card p { font-size: 0.95rem; color: var(--text-soft); font-style: italic; line-height: 1.6; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* 10. ELEMENTOS DE CONTENIDO SEO */
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-layout.reverse .split-content { order: 2; }
.split-layout.reverse .split-image { order: 1; }
.split-image img { width: 100%; height: auto; border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.15); object-fit: cover; }
.img-cover { width: 100%; height: 100%; min-height: 400px; object-fit: cover; }
.split-content h2 { font-family: 'Syne', sans-serif; font-size: 2.5rem; color: var(--text-main); margin-bottom: 20px; line-height: 1.2; }
.lead-text { font-size: 1.1rem; font-weight: 600; color: var(--text-main); margin-bottom: 20px; }

/* FAQ DESPLEGABLES */
.faq-grid { display: flex; flex-direction: column; gap: 15px; }
.faq-item { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; transition: all 0.3s; }
.faq-item[open] { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.faq-item summary { padding: 20px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::after { content: '+'; font-size: 1.5rem; color: var(--primary); font-weight: 300; }
.faq-item[open] summary::after { content: '-'; }
.faq-item p { padding: 0 20px 20px; color: var(--text-soft); font-size: 0.95rem; line-height: 1.7; border-top: 1px solid #f1f5f9; margin-top: 10px; padding-top: 15px; }

/* CAJAS CTA */
.cta-box { background: var(--text-main); color: #fff; padding: 60px; border-radius: var(--radius); text-align: center; }
.cta-box h2 { color: #fff; font-family: 'Syne', sans-serif; margin-bottom: 15px; font-size: 2.2rem; }
.cta-box p { color: rgba(255,255,255,0.8); margin-bottom: 30px; font-size: 1.1rem; }

/* SERVICIO DESTACADO (HOME) */
.service-highlight {
  background: #fff; padding: 40px; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,0.03);
  margin-bottom: 50px; align-items: center; display: grid; grid-template-columns: 1fr 1fr; gap: 50px;
}
.service-tag {
  font-size: 0.75rem; font-weight: 700; color: var(--primary);
  background: rgba(37, 99, 235, 0.1); padding: 4px 10px; border-radius: 4px;
  margin-bottom: 15px; display: inline-block; text-transform: uppercase; letter-spacing: 0.5px;
}
.shadow-lg { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }
.two-col-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.rounded-img, .rounded { border-radius: var(--radius); }

/* AVISO SEGURIDAD */
.security-notice {
  display: flex; align-items: flex-start; gap: 15px; background: #fff;
  border-left: 4px solid var(--accent); padding: 20px; border-radius: 8px;
  margin-top: 30px; box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.notice-icon { font-size: 1.5rem; line-height: 1; }
.notice-text strong { display: block; color: var(--text-main); font-size: 1rem; margin-bottom: 5px; }
.notice-text p { margin: 0; font-size: 0.9rem; color: var(--text-soft); line-height: 1.5; }
.emergency-box { background: #fff; border: 1px solid var(--bg-light); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-md); margin-bottom: 40px; }

/* =========================================
   11. FOOTER
   ========================================= */
.site-footer {
  background: #0f172a; color: #94a3b8; padding: 80px 0 30px;
  font-size: 0.95rem; border-top: 4px solid var(--primary);
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 60px; }
.footer-col h4 { color: #fff; font-family: 'Syne', sans-serif; font-size: 1.1rem; margin-bottom: 25px; letter-spacing: 0.5px; text-transform: uppercase; }
.footer-logo { font-family: 'Syne', sans-serif; font-size: 1.8rem; font-weight: 800; color: #fff; margin-bottom: 20px; display: inline-block; }
.footer-logo span { color: var(--primary); }
.footer-desc { line-height: 1.7; margin-bottom: 25px; max-width: 300px; }
.footer-badges span { display: block; color: #e2e8f0; font-weight: 600; margin-bottom: 8px; font-size: 0.9rem; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #94a3b8; transition: 0.2s; }
.footer-links a:hover { color: var(--primary); padding-left: 5px; }
.footer-contact li { margin-bottom: 18px; }
.footer-contact strong { display: block; color: #fff; font-size: 0.85rem; margin-bottom: 4px; }
.phone-highlight { color: var(--whatsapp) !important; font-weight: 700; font-size: 1.1rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.legal-links { display: flex; gap: 20px; }
.legal-links a { font-size: 0.85rem; }
.legal-links a:hover { text-decoration: underline; color: #fff; }
.copyright { font-size: 0.85rem; opacity: 0.7; }

/* =========================================
   12. MOBILE STICKY BUTTON & RESPONSIVE
   ========================================= */
.mobile-sticky-btn {
  display: none; position: fixed; bottom: 20px; left: 20px; right: 20px;
  background: var(--accent); color: white; text-align: center; padding: 18px;
  border-radius: 50px; font-weight: 700; box-shadow: 0 10px 25px rgba(225, 29, 72, 0.4);
  z-index: 2000; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px; backdrop-filter: blur(4px);
}

@media (max-width: 900px) {
  .hero-home {
    padding: 120px 20px 60px;
    background-position: center top; 
    min-height: 550px; /* Reserva fija en móvil para evitar CLS masivo */
  }
  .hero-home h1 { font-size: 2.2rem; }
  .hero-trust-badges { gap: 15px; }

  .split-layout { grid-template-columns: 1fr; gap: 40px; }
  .split-layout.reverse .split-content { order: 1; }
  .split-layout.reverse .split-image { order: 2; }
  .pricing-container-split { grid-template-columns: 1fr; gap: 30px; }
  .service-highlight { padding: 20px; flex-direction: column-reverse; display: flex; }
  .image-col { width: 100%; margin-bottom: 20px; }
  .brands-grid .brand-tag { padding: 10px 16px; font-size: 0.85rem; }
  .two-col-grid { grid-template-columns: 1fr; }
  .table-responsive { width: 100%; }
  .security-notice { flex-direction: column; gap: 10px; }
}

/* ESTILOS BOTÓN WHATSAPP (SOLO DESKTOP) */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 2px 2px 15px rgba(0,0,0,0.3);
}

@media (max-width: 900px) {
  .whatsapp-float { display: none; }
}

/* =========================================
   ESTILOS BANNER DE COOKIES
   ========================================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #1e293b;
  color: #fff;
  padding: 20px;
  z-index: 9999;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
  display: flex;
  justify-content: center;
  animation: slideUp 0.5s ease-out;
}

.cookie-content {
  max-width: 1200px;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-content p { margin: 0; font-size: 0.9rem; line-height: 1.5; color: #e2e8f0; }
.cookie-content a { color: var(--primary); text-decoration: underline; }
.cookie-buttons { display: flex; gap: 10px; flex-shrink: 0; }

.btn-cookie {
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.btn-cookie.accept { background: var(--whatsapp); color: #fff; }
.btn-cookie.accept:hover { filter: brightness(1.1); }
.btn-cookie.reject { background: transparent; border: 1px solid #fff; color: #fff; }

@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }

@media (max-width: 768px) {
  .cookie-content { flex-direction: column; text-align: center; }
  .cookie-buttons { width: 100%; justify-content: center; }
  .btn-cookie { width: 100%; }
  .cookie-banner { bottom: 0; padding-bottom: 25px; }
}