/* ==========================================================================
   NOVOAQUA - SISTEMA DE DISEÑO CORPORATIVO & ULTRA MODERNO
   Inspirado en la estructura de acsangasfiteros.com con diseño responsive,
   Modo Claro / Oscuro, Portada Slider Revolution, Comparador Interactivo,
   Simulador de Geófono con Audio Real y Calculadoras.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VARIABLES DE TEMA & DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root,
:root[data-theme="light"],
html[data-theme="light"],
body[data-theme="light"] {
  /* Paleta Primaria NovoAqua (Azul Real & Océano) */
  --primary: #044da2;
  --primary-hover: #033c7e;
  --primary-light: #e0edfb;
  --primary-glow: rgba(4, 77, 162, 0.35);

  /* Acentos Tecnológicos y Ecológicos */
  --accent-cyan: #06b6d4;
  --accent-cyan-glow: rgba(6, 182, 212, 0.4);
  --accent-eco: #10b981;
  --accent-eco-dark: #059669;
  --accent-amber: #f59e0b;
  --accent-danger: #ef4444;

  /* Colores de Marca y Acciones */
  --whatsapp-green: #25d366;
  --whatsapp-hover: #1ebd59;
  --call-blue: #0284c7;

  /* Modo Claro (iOS Frosted Pearl Glass) */
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.82);
  --bg-card-hover: rgba(255, 255, 255, 0.95);
  --bg-section-alt: rgba(241, 245, 249, 0.7);
  --bg-header: rgba(255, 255, 255, 0.75);
  --bg-topbar: #031e3d;

  /* Tokens de Liquid Glass iOS */
  --liquid-glass-bg: rgba(255, 255, 255, 0.78);
  --liquid-glass-bg-subtle: rgba(255, 255, 255, 0.52);
  --liquid-glass-border: rgba(255, 255, 255, 0.65);
  --liquid-glass-border-subtle: rgba(226, 232, 240, 0.8);
  --liquid-glass-shadow: 0 10px 30px -5px rgba(4, 77, 162, 0.08), 0 2px 6px 0 rgba(0, 0, 0, 0.03), inset 0 1px 1px 0 rgba(255, 255, 255, 0.9);
  --liquid-glass-shadow-hover: 0 20px 45px -10px rgba(4, 77, 162, 0.18), 0 0 25px rgba(6, 182, 212, 0.2), inset 0 1px 2px rgba(255, 255, 255, 1);
  --liquid-glass-blur: blur(20px) saturate(190%);

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #64748b;
  --text-white: #ffffff;

  --border-color: rgba(226, 232, 240, 0.8);
  --border-color-subtle: rgba(203, 213, 225, 0.6);

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04), inset 0 1px 0 rgba(255,255,255,0.8);
  --shadow-md: 0 6px 16px -2px rgba(4, 77, 162, 0.08), inset 0 1px 1px rgba(255,255,255,0.8);
  --shadow-lg: 0 12px 28px -4px rgba(4, 77, 162, 0.12), inset 0 1px 1px rgba(255,255,255,0.9);
  --shadow-xl: 0 24px 48px -12px rgba(4, 77, 162, 0.15), inset 0 1px 2px rgba(255,255,255,0.95);
  --shadow-glow: 0 0 30px rgba(4, 77, 162, 0.25);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --radius-2xl: 32px;
  --radius-pill: 9999px;

  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Modo Noche / Oscuro (iOS Deep Obsidian Glass) */
:root[data-theme="dark"],
html[data-theme="dark"],
body[data-theme="dark"],
[data-theme="dark"] {
  --bg-body: #080d16;
  --bg-surface: #0f172a;
  --bg-card: rgba(19, 28, 49, 0.78);
  --bg-card-hover: rgba(30, 41, 59, 0.9);
  --bg-section-alt: rgba(12, 19, 34, 0.75);
  --bg-header: rgba(15, 23, 42, 0.88);
  --bg-topbar: #030a14;

  /* Tokens de Liquid Glass iOS Dark */
  --liquid-glass-bg: rgba(19, 28, 49, 0.78);
  --liquid-glass-bg-subtle: rgba(15, 23, 42, 0.7);
  --liquid-glass-border: rgba(255, 255, 255, 0.14);
  --liquid-glass-border-subtle: rgba(255, 255, 255, 0.08);
  --liquid-glass-shadow: 0 16px 40px 0 rgba(0, 0, 0, 0.6), 0 2px 8px 0 rgba(0, 0, 0, 0.4), inset 0 1px 1px 0 rgba(255, 255, 255, 0.16);
  --liquid-glass-shadow-hover: 0 24px 55px -10px rgba(0, 0, 0, 0.85), 0 0 35px rgba(6, 182, 212, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.25);
  --liquid-glass-blur: blur(24px) saturate(200%);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-light: #cbd5e1;

  --border-color: rgba(255, 255, 255, 0.12);
  --border-color-subtle: rgba(255, 255, 255, 0.08);

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1);
  --shadow-md: 0 8px 20px rgba(0,0,0,0.6), inset 0 1px 1px rgba(255,255,255,0.12);
  --shadow-lg: 0 16px 36px rgba(0,0,0,0.7), inset 0 1px 1px rgba(255,255,255,0.15);
  --shadow-xl: 0 28px 56px rgba(0,0,0,0.85), inset 0 1px 2px rgba(255,255,255,0.2);
  --shadow-glow: 0 0 35px rgba(6, 182, 212, 0.35);
}

/* --------------------------------------------------------------------------
   2. RESET Y ESTILOS BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14.5px;
  color: var(--text-main);
  background-color: var(--bg-body);
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

@media (max-width: 1366px) {
  html { font-size: 14px; }
}

@media (max-width: 1024px) {
  html { font-size: 13.5px; }
}

@media (max-width: 600px) {
  html { font-size: 13px; }
}

body {
  background-color: var(--bg-body);
  background-image: 
    radial-gradient(at 0% 0%, rgba(6, 182, 212, 0.07) 0px, transparent 50%),
    radial-gradient(at 100% 15%, rgba(4, 77, 162, 0.08) 0px, transparent 50%),
    radial-gradient(at 50% 50%, rgba(16, 185, 129, 0.05) 0px, transparent 50%),
    radial-gradient(at 90% 85%, rgba(6, 182, 212, 0.07) 0px, transparent 50%);
  background-attachment: fixed;
  line-height: 1.55;
  overflow-x: clip;
  max-width: 100%;
  width: 100%;
  position: relative;
}

[data-theme="dark"] body {
  background-image: 
    radial-gradient(at 0% 0%, rgba(6, 182, 212, 0.12) 0px, transparent 45%),
    radial-gradient(at 100% 20%, rgba(4, 77, 162, 0.16) 0px, transparent 45%),
    radial-gradient(at 50% 65%, rgba(16, 185, 129, 0.08) 0px, transparent 45%),
    radial-gradient(at 85% 95%, rgba(6, 182, 212, 0.1) 0px, transparent 45%);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-main);
  line-height: 1.25;
  font-weight: 700;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(0.75rem, 2vw, 1.25rem);
  padding-right: clamp(0.75rem, 2vw, 1.25rem);
}

/* --------------------------------------------------------------------------
   3. BARRA SUPERIOR CORPORATIVA (TOP BAR)
   -------------------------------------------------------------------------- */
.top-bar {
  background-color: var(--bg-topbar);
  color: #e2e8f0;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1010;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.emergency-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.75rem;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background-color: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 8px #ef4444;
  animation: pulseAnimation 1.5s infinite;
}

@keyframes pulseAnimation {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #cbd5e1;
}

.top-bar-item a {
  color: #ffffff;
}

.top-bar-item a:hover {
  color: var(--accent-cyan);
}

.phones-group strong {
  color: #38bdf8;
}

.phones-group .sep {
  color: rgba(255,255,255,0.3);
  margin: 0 0.15rem;
}

.top-bar-socials {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  padding-left: 0.75rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  transition: all var(--transition-fast);
}

.social-icon:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   4. BARRA DE NAVEGACIÓN Y MEGA DROPDOWN MENU (iOS LIQUID GLASS)
   -------------------------------------------------------------------------- */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--liquid-glass-bg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  border-bottom: 1px solid var(--liquid-glass-border);
  z-index: 1100;
  backdrop-filter: var(--liquid-glass-blur);
  -webkit-backdrop-filter: var(--liquid-glass-blur);
  transition: all 0.25s ease;
}

.navbar.scrolled-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1100;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.05);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(0.75rem, 2vw, 1.75rem);
  box-sizing: border-box;
}

.logo-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: clamp(0.35rem, 1vw, 0.75rem);
}

.nav-brand-logo {
  height: clamp(34px, 3.2vw, 42px);
  max-height: 42px;
  width: auto;
  max-width: 185px;
  object-fit: contain;
  display: block;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.nav-brand-logo:hover {
  transform: scale(1.02);
}

[data-theme="dark"] .nav-brand-logo {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  filter: brightness(1.2) contrast(1.1) drop-shadow(0 0 1px rgba(255, 255, 255, 0.45));
}

.footer-brand-logo {
  height: 44px;
  max-height: 44px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  filter: brightness(1.2) contrast(1.1) drop-shadow(0 0 1px rgba(255, 255, 255, 0.4));
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: clamp(0.1rem, 0.35vw, 0.3rem);
  flex-wrap: nowrap;
  flex-shrink: 1;
  min-width: 0;
}

.nav-link {
  padding: 0.38rem clamp(0.35rem, 0.52vw, 0.65rem);
  font-weight: 700;
  font-size: clamp(0.82rem, 0.92vw, 0.89rem);
  color: var(--text-main);
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  white-space: nowrap;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

/* Efecto Liquid Glass al pasar sobre los botones (Hover) */
.nav-link:hover {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(4, 77, 162, 0.25);
  backdrop-filter: blur(14px) saturate(190%);
  -webkit-backdrop-filter: blur(14px) saturate(190%);
  box-shadow: 0 4px 14px -2px rgba(4, 77, 162, 0.12), inset 0 1px 1px rgba(255, 255, 255, 0.9);
  transform: translateY(-1.5px);
}

/* Efecto Liquid Glass al seleccionar los botones (Active / Selected) */
.nav-link.active {
  color: var(--primary) !important;
  background: linear-gradient(135deg, rgba(224, 237, 251, 0.85) 0%, rgba(255, 255, 255, 0.9) 100%) !important;
  border: 1px solid rgba(4, 77, 162, 0.35) !important;
  box-shadow: 0 4px 15px -2px rgba(4, 77, 162, 0.18), inset 0 1px 1.5px rgba(255, 255, 255, 1), 0 0 10px rgba(6, 182, 212, 0.2);
  backdrop-filter: blur(18px) saturate(200%);
  -webkit-backdrop-filter: blur(18px) saturate(200%);
  font-weight: 700;
  transform: translateY(-0.5px);
}

/* Efectos Liquid Glass en MODO OSCURO (Obsidian Crystal Glass) */
[data-theme="dark"] .nav-link:hover {
  color: #38bdf8;
  background: rgba(6, 182, 212, 0.16);
  border-color: rgba(56, 189, 248, 0.45);
  backdrop-filter: blur(14px) saturate(200%);
  -webkit-backdrop-filter: blur(14px) saturate(200%);
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.22), inset 0 1px 1px rgba(255, 255, 255, 0.3);
  transform: translateY(-1.5px);
}

[data-theme="dark"] .nav-link.active {
  color: #38bdf8 !important;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.28) 0%, rgba(14, 165, 233, 0.18) 100%) !important;
  border-color: rgba(56, 189, 248, 0.65) !important;
  box-shadow: 0 6px 18px rgba(6, 182, 212, 0.3), 0 0 14px rgba(56, 189, 248, 0.3), inset 0 1px 1.5px rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(18px) saturate(220%);
  -webkit-backdrop-filter: blur(18px) saturate(220%);
  font-weight: 700;
  transform: translateY(-0.5px);
}

/* Mega Menú Desplegable (Liquid Glass Sheet) */
.nav-item-dropdown {
  position: relative;
}

.nav-item-dropdown .arrow-down {
  font-size: 0.75rem;
  transition: transform var(--transition-fast);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(14px) scale(0.98);
  width: min(760px, 94vw);
  max-width: 760px;
  background: #ffffff;
  border: 1.5px solid rgba(4, 77, 162, 0.18);
  border-radius: 20px;
  box-shadow: 0 30px 70px -5px rgba(2, 20, 50, 0.25), 0 10px 25px rgba(0, 0, 0, 0.1), inset 0 1px 2px 0 #ffffff;
  backdrop-filter: blur(50px) saturate(220%);
  -webkit-backdrop-filter: blur(50px) saturate(220%);
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 9999;
}

[data-theme="dark"] .dropdown-menu {
  background: #091322;
  border: 1.5px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 30px 80px -5px rgba(0, 0, 0, 0.95), 0 0 35px rgba(6, 182, 212, 0.25), inset 0 1px 2px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(50px) saturate(220%);
  -webkit-backdrop-filter: blur(50px) saturate(220%);
}

.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}

.nav-item-dropdown:hover .arrow-down {
  transform: rotate(180deg);
}

.dropdown-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.dropdown-header {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--primary);
  display: block;
  margin-bottom: 0.6rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .dropdown-header {
  color: var(--accent-cyan);
}

.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  margin-bottom: 0.25rem;
}

.dropdown-item:hover {
  background: rgba(4, 77, 162, 0.07);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-color: rgba(4, 77, 162, 0.12);
  transform: translateX(4px);
}

[data-theme="dark"] .dropdown-item:hover {
  background: rgba(6, 182, 212, 0.16);
  border-color: rgba(6, 182, 212, 0.35);
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.15);
  transform: translateX(5px);
}

.dropdown-item .d-icon {
  font-size: 1.1rem;
  line-height: 1.2;
}

.dropdown-item strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-main);
  line-height: 1.2;
}

.dropdown-item small {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.2;
  margin-top: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: clamp(0.35rem, 0.5vw, 0.65rem);
  flex-shrink: 0;
  margin-left: clamp(0.35rem, 1vw, 0.75rem);
}

/* Botón COTIZA AQUÍ en Header */
.btn-cotiza-header {
  background: linear-gradient(135deg, #0284c7 0%, #044da2 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: clamp(0.78rem, 0.85vw, 0.85rem);
  letter-spacing: 0.3px;
  padding: 0.5rem clamp(0.6rem, 0.8vw, 0.95rem);
  border-radius: 10px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.btn-cotiza-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.5);
}

.nav-actions .btn-whatsapp {
  padding: 0.5rem clamp(0.6rem, 0.8vw, 0.95rem);
  font-size: clamp(0.78rem, 0.85vw, 0.85rem);
  font-weight: 700;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

/* Selector Día / Noche (Botón Dinámico) */
.theme-switch-container {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.theme-switch-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  outline: none;
  user-select: none;
}

.theme-switch-btn .switch-track {
  position: relative;
  width: 48px;
  height: 26px;
  background-color: #cbd5e1;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 30px;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5px;
  overflow: hidden;
}

.switch-icon-sun, .switch-icon-moon {
  font-size: 10px;
  line-height: 1;
  user-select: none;
}

.theme-switch-btn .switch-thumb {
  position: absolute;
  left: 3px;
  bottom: 2px;
  height: 20px;
  width: 20px;
  background-color: #ffffff;
  border-radius: 50%;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.25s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

[data-theme="dark"] .theme-switch-btn .switch-track {
  background-color: #0f172a;
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.2);
}

[data-theme="dark"] .theme-switch-btn .switch-thumb {
  transform: translateX(22px);
  background-color: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  font-size: 1.4rem;
  color: var(--text-main);
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   5. PORTADA SLIDER REVOLUTION FULL-WIDTH (ESTILO EXACTO ACSAN)
   -------------------------------------------------------------------------- */
.acsan-hero-slider,
.acsan-hero-slider-section {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: 420px;
  background-color: #031427;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.acsan-slider-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: 380px;
  flex-grow: 1;
  background-color: #031427;
  overflow: hidden;
}

.acsan-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
  display: flex;
  align-items: center;
  z-index: 1;
  background-color: #031427;
}

.acsan-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.slide-backdrop-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center right;
  transform: scale(1.04);
  transition: transform 6s ease-out;
}

.acsan-slide.active .slide-backdrop-img {
  transform: scale(1);
}

.slide-overlay-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(180deg, rgba(3, 20, 39, 0.25) 0%, transparent 45%, rgba(3, 20, 39, 0.92) 88%, #031427 100%),
    linear-gradient(90deg, rgba(3, 20, 39, 0.95) 0%, rgba(3, 20, 39, 0.85) 45%, rgba(3, 20, 39, 0.35) 100%);
  z-index: 2;
  pointer-events: none;
}

.slide-content-wrap {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
  padding-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.slide-left-caption {
  max-width: 560px;
  color: #ffffff;
}

.slide-sub-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(4, 77, 162, 0.35);
  border: 1px solid rgba(4, 77, 162, 0.6);
  padding: 0.18rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #38bdf8;
  margin-bottom: 0.6rem;
}

.slide-tagline {
  font-size: clamp(0.9rem, 1.5vw, 1.02rem);
  font-weight: 500;
  color: #e2e8f0;
  margin-bottom: 0.25rem;
  letter-spacing: -0.2px;
}

.slide-main-headline {
  font-family: 'Montserrat', 'Outfit', sans-serif;
  font-size: clamp(1.6rem, 3.2vw, 2.35rem);
  font-weight: 900;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.slide-main-headline .text-highlight {
  color: #38bdf8;
  text-shadow: 0 0 25px rgba(56, 189, 248, 0.4);
}

.slide-description {
  font-size: clamp(0.85rem, 1.2vw, 0.92rem);
  line-height: 1.5;
  color: #cbd5e1;
  margin-bottom: 1.25rem;
}

.slide-actions-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-slide-cta {
  padding: 0.7rem 1.35rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.4px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
}

.btn-cta-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(4, 77, 162, 0.4);
}

.btn-cta-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(4, 77, 162, 0.6);
}

.btn-cta-quote {
  background: #f59e0b;
  color: #000000;
  font-weight: 900;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.btn-cta-quote:hover {
  background: #d97706;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-cta-whatsapp {
  background: var(--whatsapp-green);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

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

.slide-right-graphics {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.slide-badge-stamp {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(56, 189, 248, 0.6);
  border-radius: var(--radius-lg);
  padding: 0.6rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-xl);
}

.slide-logo-badge {
  height: 46px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  display: block;
}

/* Flechas de Navegación Grandes */
.acsan-nav-arrow {
  position: absolute;
  bottom: 1.5rem;
  top: auto;
  transform: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(3, 20, 39, 0.75);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.acsan-nav-arrow svg {
  width: 22px;
  height: 22px;
  display: block;
  pointer-events: none;
  transition: transform var(--transition-fast);
}

.acsan-nav-arrow:hover {
  background: var(--primary);
  border-color: var(--accent-cyan);
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 102, 204, 0.45);
}

.acsan-nav-arrow.arrow-prev:hover svg {
  transform: translateX(-2px);
}

.acsan-nav-arrow.arrow-next:hover svg {
  transform: translateX(2px);
}

.arrow-prev {
  right: 5rem;
  left: auto;
}

.arrow-next {
  right: 1.5rem;
}

/* Puntos de paginación */
.acsan-pagination-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 10;
}

.dot-btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.dot-btn.active {
  background: var(--accent-cyan);
  width: 28px;
  border-radius: 12px;
}

/* Ticker / Running Ribbon Marquee */
.hero-marquee-ribbon {
  position: relative;
  width: 100%;
  background-color: #021020;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  white-space: nowrap;
  padding: 0.65rem 0;
  z-index: 5;
  margin-top: -1px;
}

.marquee-inner-track {
  display: inline-block;
  animation: marqueeScroll 35s linear infinite;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #94a3b8;
  text-transform: uppercase;
}

.marquee-inner-track span {
  display: inline-block;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   6. SECCIÓN SOBRE NOSOTROS Y MÉTRICAS
   -------------------------------------------------------------------------- */
.section-about {
  padding: clamp(2.25rem, 3.5vw, 3.25rem) 0;
  background-color: var(--bg-surface);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.25rem;
  align-items: center;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.75rem;
}

.tag-blue { background: rgba(4, 77, 162, 0.12); color: var(--primary); }
.tag-eco { background: rgba(16, 185, 129, 0.12); color: var(--accent-eco-dark); }
.tag-amber { background: rgba(245, 158, 11, 0.15); color: #d97706; }

[data-theme="dark"] .tag-blue { background: rgba(6, 182, 212, 0.15); color: var(--accent-cyan); }
[data-theme="dark"] .tag-eco { background: rgba(16, 185, 129, 0.2); color: var(--accent-eco); }

.about-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 1rem;
}

.lead-text {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 0.85rem;
}

.about-values-grid, .about-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.val-item, .pillar-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background-color: var(--bg-card);
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.val-item::before, .pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary);
  opacity: 0;
  transition: opacity 0.3s ease, width 0.3s ease;
}

.val-item:hover, .pillar-card:hover {
  transform: translateY(-3px) translateX(4px);
  border-color: var(--primary);
  box-shadow: 0 10px 25px rgba(2, 132, 199, 0.14);
}

.val-item:hover::before, .pillar-card:hover::before {
  opacity: 1;
  width: 5px;
}

[data-theme="dark"] .val-item, [data-theme="dark"] .pillar-card {
  background-color: #091c36;
  border-color: rgba(56, 189, 248, 0.18);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .val-item:hover, [data-theme="dark"] .pillar-card:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.22);
}

.val-icon, .pillar-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: rgba(2, 132, 199, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.val-item:hover .val-icon, .pillar-card:hover .pillar-icon {
  transform: scale(1.15) rotate(6deg);
  background: rgba(2, 132, 199, 0.18);
}

.val-item h4, .pillar-card h4 {
  font-size: 0.96rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
  color: var(--text-main);
}

.val-item p, .pillar-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

.stats-card-highlight {
  background: linear-gradient(145deg, #061a35 0%, #032d5e 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-xl);
  color: white;
}

.stats-counters-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
  margin-bottom: 1.5rem;
}

.stat-counter-box {
  background: rgba(255, 255, 255, 0.06);
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.counter-val {
  font-family: 'Outfit', sans-serif;
  font-size: 2.1rem;
  font-weight: 900;
  color: #38bdf8;
  line-height: 1;
}

.plus {
  font-size: 1.5rem;
  font-weight: 800;
  color: #38bdf8;
}

.counter-label {
  display: block;
  font-size: 0.78rem;
  color: #cbd5e1;
  margin-top: 0.25rem;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   7. SECCIÓN MULTIMEDIA: COMPARADOR INTERACTIVO ANTES & DESPUÉS
   -------------------------------------------------------------------------- */
.section-before-after {
  padding: clamp(2.25rem, 3.5vw, 3.25rem) 0;
  background-color: var(--bg-section-alt);
}

.before-after-wrapper {
  max-width: 900px;
  margin: 1.5rem auto 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 2px solid var(--border-color);
}

.before-after-container {
  position: relative;
  width: 100%;
  height: clamp(260px, 35vw, 380px);
  overflow: hidden;
  user-select: none;
}

.img-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.img-after {
  clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
  transition: clip-path 0.05s linear;
}

.ba-badge {
  position: absolute;
  top: 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.78rem;
  color: #ffffff;
  backdrop-filter: blur(8px);
  z-index: 3;
}

.badge-before {
  left: 1rem;
  background: rgba(239, 68, 68, 0.85);
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.4);
}

.badge-after {
  right: 1rem;
  background: rgba(16, 185, 129, 0.85);
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.4);
}

.ba-slider-handle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 10;
}

.ba-divider-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: #ffffff;
  box-shadow: 0 0 12px rgba(0,0,0,0.5);
  pointer-events: none;
  z-index: 5;
  transform: translateX(-50%);
}

.ba-handle-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
  border: 2px solid rgba(255, 255, 255, 0.9);
  pointer-events: none;
}

.ba-handle-button svg {
  width: 18px;
  height: 18px;
  display: block;
}

/* --------------------------------------------------------------------------
   8. CATÁLOGO DE 12 SERVICIOS ESPECIALIZADOS
   -------------------------------------------------------------------------- */
.section-services {
  padding: clamp(2.25rem, 3.5vw, 3.25rem) 0;
  background-color: var(--bg-surface);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2rem;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 0.6rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.services-filter-tabs {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
  padding: 0.4rem;
  background: var(--liquid-glass-bg-subtle);
  border: 1px solid var(--liquid-glass-border);
  border-radius: 12px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  backdrop-filter: var(--liquid-glass-blur);
  -webkit-backdrop-filter: var(--liquid-glass-blur);
  box-shadow: var(--shadow-sm);
}

.tab-btn {
  padding: 0.65rem 1.5rem;
  border-radius: 9px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab-btn:hover {
  color: var(--primary);
  background: rgba(4, 77, 162, 0.08);
}

.tab-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 16px rgba(4, 77, 162, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

[data-theme="dark"] .tab-btn:hover {
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.12);
}

[data-theme="dark"] .tab-btn.active {
  background: var(--accent-cyan);
  color: #031427;
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 18px rgba(6, 182, 212, 0.4);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.85rem;
}

.service-card {
  background: var(--liquid-glass-bg);
  border: 1px solid var(--liquid-glass-border);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--liquid-glass-shadow);
  backdrop-filter: var(--liquid-glass-blur);
  -webkit-backdrop-filter: var(--liquid-glass-blur);
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--liquid-glass-shadow-hover);
  border-color: rgba(6, 182, 212, 0.5);
}

.service-card-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-card-image img {
  transform: scale(1.07);
}

.service-card-image-tag {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: rgba(3, 20, 39, 0.78);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.28rem 0.7rem;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  z-index: 4;
}

/* Álbum / Mini Slider en Tarjetas de Servicios */
.card-album-slider {
  position: relative;
  height: 275px;
  overflow: hidden;
  user-select: none;
}

.card-album-slider .album-slides-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.card-album-slider .album-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s ease, transform 0.55s ease;
  transform: scale(1.02);
}

.card-album-slider .album-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 1;
}

.card-album-slider .album-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}

.album-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(3, 20, 39, 0.82);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 6;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
  padding: 0 0 2px 0;
  box-shadow: 0 4px 14px rgba(0,0,0,0.4), inset 0 1px 1px rgba(255,255,255,0.4);
}

.card-album-slider:hover .album-nav-btn,
.card-album-slider:focus-within .album-nav-btn {
  opacity: 1;
}

.album-nav-btn:hover {
  background: var(--primary);
  border-color: var(--accent-cyan);
  transform: translateY(-50%) scale(1.12);
}

.album-nav-btn.prev-btn {
  left: 0.65rem;
}

.album-nav-btn.next-btn {
  right: 0.65rem;
}

.album-dots-container {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  display: flex;
  gap: 6px;
  z-index: 6;
  background: rgba(3, 20, 39, 0.72);
  padding: 5px 9px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.album-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.album-dot.active {
  width: 18px;
  border-radius: var(--radius-pill);
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
}

.service-icon-wrap {
  position: absolute;
  top: 216px;
  left: 1.25rem;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--liquid-glass-bg);
  border: 1px solid var(--liquid-glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: var(--liquid-glass-shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 5;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-icon-wrap {
  transform: scale(1.1) rotate(6deg);
}

.service-card:has(.card-album-slider) .service-icon-wrap,
#srv-geofono .service-icon-wrap,
#srv-desatoros .service-icon-wrap,
#srv-camara-cctv .service-icon-wrap,
#srv-biodigestores .service-icon-wrap,
#srv-bombas-tableros .service-icon-wrap {
  top: 251px;
}

.service-badge-client {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.badge-both { background: rgba(4, 77, 162, 0.85); color: white; }
.badge-empresa { background: rgba(245, 158, 11, 0.9); color: black; }

.service-card h3 {
  font-size: 1.15rem;
  padding: 1.5rem 1.25rem 0.5rem;
  line-height: 1.3;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 0 1.25rem 0.85rem;
  flex-grow: 1;
}

.service-features-list {
  list-style: none;
  padding: 0 1.25rem 1.25rem;
  font-size: 0.82rem;
  color: var(--text-light);
  border-bottom: 1px solid var(--border-color);
}

.service-features-list li {
  margin-bottom: 0.35rem;
}

.service-card-footer {
  padding: 1rem 1.25rem;
  background-color: var(--bg-section-alt);
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

/* --------------------------------------------------------------------------
   9. SECCIÓN GEÓFONO Y SIMULADOR ACÚSTICO
   -------------------------------------------------------------------------- */
.section-geofono {
  background: linear-gradient(180deg, #020f1f 0%, #061933 100%);
  padding: clamp(2.25rem, 3.5vw, 3.25rem) 0;
  color: #ffffff;
}

.section-geofono .section-header h2 {
  color: #ffffff !important;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
}

.section-geofono .section-header p {
  color: #cbd5e1 !important;
  font-size: 0.95rem;
}

.geofono-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.geofono-card-tech {
  background: #081d38;
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-xl);
  padding: 1.6rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.geofono-card-tech h3 {
  color: #ffffff !important;
  margin: 0.5rem 0;
  font-size: 1.3rem;
  font-weight: 800;
}

.tech-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.tech-feature-item {
  display: flex;
  gap: 0.75rem;
}

.tech-feature-icon {
  font-size: 1.25rem;
}

.tech-feature-item h4 {
  color: #38bdf8;
  font-size: 0.92rem;
  margin-bottom: 0.15rem;
  font-weight: 700;
}

.tech-feature-item p {
  color: #cbd5e1;
  font-size: 0.82rem;
}

.comparison-box {
  background: #081d38;
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-xl);
  padding: 1.6rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.comparison-box h3 {
  color: #ffffff !important;
  margin-bottom: 1rem;
  text-align: center;
  font-size: 1.3rem;
  font-weight: 800;
}

.comparison-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.comp-card {
  padding: 1rem;
  border-radius: var(--radius-lg);
  font-size: 0.85rem;
  line-height: 1.45;
}

.comp-card h4 {
  margin-bottom: 0.6rem;
}

.comp-bad {
  background: rgba(220, 38, 38, 0.18);
  border: 1.5px solid #ef4444;
  color: #ffffff;
}

.comp-bad h4 {
  color: #fca5a5 !important;
  font-size: 1.05rem;
  font-weight: 800;
}

.comp-bad ul {
  list-style: none;
}

.comp-bad li {
  color: #fee2e2 !important;
  font-size: 0.88rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.comp-good {
  background: rgba(16, 185, 129, 0.18);
  border: 1.5px solid #10b981;
  color: #ffffff;
}

.comp-good h4 {
  color: #6ee7b7 !important;
  font-size: 1.05rem;
  font-weight: 800;
}

.comp-good ul {
  list-style: none;
}

.comp-good li {
  color: #d1fae5 !important;
  font-size: 0.88rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

/* Simulador Virtual de Geófono */
.leak-simulator-container {
  background: #061527;
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: 0 0 35px rgba(6, 182, 212, 0.2);
}

.sim-header-box {
  text-align: center;
  margin-bottom: 2rem;
}

.sim-header-box h3 {
  color: white;
  font-size: 1.6rem;
  margin: 0.5rem 0;
}

.sim-header-box p {
  color: #94a3b8;
  font-size: 0.95rem;
}

.audio-control-wrap {
  margin-top: 0.75rem;
}

.sim-radar-screen {
  background: #020912;
  border: 2px solid #0e3a64;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
}

.radar-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #1e293b;
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
}

.radar-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
}

.radar-status-pill.normal { background: rgba(6, 182, 212, 0.2); color: #22d3ee; }
.radar-status-pill.warning { background: rgba(245, 158, 11, 0.2); color: #fcd34d; }
.radar-status-pill.leak { background: rgba(239, 68, 68, 0.3); color: #f87171; animation: pulseAnimation 1s infinite; }

.radar-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.radar-freq {
  font-family: monospace;
  font-size: 0.9rem;
  color: #38bdf8;
}

.radar-main-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 1.5rem;
  align-items: center;
}

.radar-db-value {
  font-family: 'Outfit', sans-serif;
  font-size: 2.8rem;
  font-weight: 900;
  color: #38bdf8;
  line-height: 1;
}

.radar-meter-track {
  width: 100%;
  height: 10px;
  background: #1e293b;
  border-radius: 5px;
  overflow: hidden;
  margin-top: 0.5rem;
}

.radar-meter-fill {
  height: 100%;
  width: 15%;
  background: var(--accent-cyan);
  transition: width 0.3s ease, background-color 0.3s ease;
}

.radar-msg-title {
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.radar-msg-desc {
  font-size: 0.85rem;
  color: #94a3b8;
}

.radar-audio-waves {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 40px;
  justify-content: center;
}

.wave-bar {
  width: 6px;
  height: 8px;
  background: var(--accent-cyan);
  border-radius: 3px;
  transition: height 0.15s ease;
}

/* Tubería de simulación */
.simulator-pipeline-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2.5rem 0 1.5rem;
}

.pipe-label-left, .pipe-label-right {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #64748b;
  white-space: nowrap;
}

.simulator-pipeline {
  position: relative;
  flex-grow: 1;
  height: 24px;
  background: #1e293b;
  border-radius: 12px;
  border: 2px solid #334155;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.pipe-water-flow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, #0284c7, #06b6d4, #0284c7);
  background-size: 200% 100%;
  animation: waterFlow 3s linear infinite;
  opacity: 0.6;
  border-radius: 10px;
}

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

.sim-point {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #0f172a;
  border: 3px solid #38bdf8;
  color: #38bdf8;
  font-weight: 900;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: all var(--transition-fast);
}

.sim-point:hover, .sim-point.active-scan {
  transform: scale(1.2);
  background: #38bdf8;
  color: #0f172a;
  box-shadow: 0 0 20px #38bdf8;
}

.sim-point.found-leak {
  background: #ef4444 !important;
  border-color: #f87171 !important;
  color: white !important;
  box-shadow: 0 0 25px #ef4444 !important;
}

.sim-footer-note {
  display: flex;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  color: #cbd5e1;
}

/* --------------------------------------------------------------------------
   10. SECCIÓN BIODIGESTORES & CALCULADORA
   -------------------------------------------------------------------------- */
.section-biodigestores {
  padding: clamp(2.25rem, 3.5vw, 3.25rem) 0;
  background-color: var(--bg-surface);
}

.biodigestor-hero-intro {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2.25rem;
}

.biodigestor-steps {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 1.25rem;
}

.bio-step {
  display: flex;
  gap: 0.85rem;
}

.bio-step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-eco);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.88rem;
}

.bio-step-info h4 {
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.bio-step-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.biodigestor-diagram {
  background: var(--bg-section-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 1.4rem;
}

.bio-calculator-box {
  background: linear-gradient(135deg, rgba(3, 30, 60, 0.85) 0%, rgba(4, 78, 59, 0.85) 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  color: white;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  margin-bottom: 2.25rem;
}

.bio-calculator-box h3 {
  color: #ffffff !important;
  font-size: clamp(1.4rem, 2.5vw, 1.7rem);
  font-weight: 800;
  margin-bottom: 0.4rem;
  text-align: center;
}

.bio-calculator-box p {
  color: #d1fae5 !important;
  font-size: 1rem;
}

.bio-calculator-box label {
  color: #ffffff !important;
  font-weight: 700;
}

.bio-calculator-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}

.range-slider-wrapper {
  margin-bottom: 1.5rem;
}

.range-slider-wrapper label {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.range-slider-wrapper input[type="range"] {
  width: 100%;
  height: 8px;
  background: rgba(255,255,255,0.25);
  border-radius: 4px;
  outline: none;
  cursor: pointer;
}

.calc-result-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 22px;
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

.calc-result-card h4 {
  color: #ffffff !important;
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.calc-capacity-value {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  color: #34d399;
  line-height: 1.1;
}

.calc-model-badge {
  display: inline-block;
  background: rgba(52, 211, 153, 0.25);
  color: #a7f3d0;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.85rem;
  margin: 0.5rem 0 1rem;
  border: 1px solid rgba(52, 211, 153, 0.4);
  backdrop-filter: blur(8px);
}

.biodigestores-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem;
}

.bio-card {
  background: var(--liquid-glass-bg);
  border: 1px solid var(--liquid-glass-border);
  border-radius: 24px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--liquid-glass-shadow);
  backdrop-filter: var(--liquid-glass-blur);
  -webkit-backdrop-filter: var(--liquid-glass-blur);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.bio-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: var(--liquid-glass-shadow-hover);
}

.bio-card:hover {
  transform: translateY(-4px);
}

.bio-card.featured {
  border: 2px solid var(--accent-eco);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.bio-card-tag {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent-eco-dark);
  margin-bottom: 0.4rem;
}

.bio-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.bio-card-specs {
  list-style: none;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 1rem 0 1.5rem;
}

.bio-card-specs li {
  margin-bottom: 0.35rem;
}

/* --------------------------------------------------------------------------
   11. SECCIÓN COBERTURA NACIONAL CON MAPA
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   11. SECCIÓN COBERTURA NACIONAL CON MAPA INTERACTIVO & TARJETAS ANIMADAS
   -------------------------------------------------------------------------- */
.section-coverage {
  padding: 5.5rem 0;
  background-color: var(--bg-section-alt);
  position: relative;
  overflow: hidden;
}

.section-coverage .container {
  max-width: 1200px;
  width: 100%;
}

.coverage-interactive-grid {
  display: grid;
  grid-template-columns: 1.12fr 1.08fr;
  gap: 2rem;
  align-items: stretch;
}

.coverage-zones-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  height: 100%;
}

.cov-zone-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: 14px;
  padding: 0.95rem 1.1rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.cov-zone-card.full-width {
  grid-column: span 2;
}

.cov-zone-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--primary);
  opacity: 0;
  transition: opacity 0.3s ease, width 0.3s ease;
}

.cov-zone-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: 0 8px 22px rgba(2, 132, 199, 0.14);
}

.cov-zone-card:hover::before {
  opacity: 1;
  width: 4px;
}

.cov-zone-card.highlighted {
  border: 1.5px solid #0284c7;
  background: linear-gradient(145deg, var(--bg-card) 0%, rgba(2, 132, 199, 0.05) 100%);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.1);
}

[data-theme="dark"] .cov-zone-card {
  background: #091c36;
  border-color: rgba(56, 189, 248, 0.18);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .cov-zone-card:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.22);
}

[data-theme="dark"] .cov-zone-card.highlighted {
  background: linear-gradient(145deg, #091c36 0%, rgba(6, 182, 212, 0.12) 100%);
  border-color: var(--accent-cyan);
}

.cov-card-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.cov-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(2, 132, 199, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.cov-zone-card:hover .cov-icon-box {
  transform: scale(1.1) rotate(6deg);
  background: rgba(2, 132, 199, 0.18);
}

.cov-card-header h4 {
  font-size: 0.88rem;
  font-weight: 800;
  margin-bottom: 0.1rem;
  color: var(--text-main);
  line-height: 1.2;
}

.cov-badge-eta {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: #16a34a;
  background: rgba(22, 163, 74, 0.12);
  padding: 0.1rem 0.45rem;
  border-radius: var(--radius-pill);
}

[data-theme="dark"] .cov-badge-eta {
  color: #4ade80;
  background: rgba(34, 197, 94, 0.2);
}

.cov-badge-sub {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
}

.cov-badge-national {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  color: #0284c7;
  background: rgba(2, 132, 199, 0.12);
  padding: 0.1rem 0.45rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

[data-theme="dark"] .cov-badge-national {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.2);
}

.cov-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.cov-tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.18rem 0.48rem;
  border-radius: 6px;
  background: rgba(2, 132, 199, 0.06);
  border: 1px solid rgba(2, 132, 199, 0.12);
  color: var(--text-main);
  transition: all 0.2s ease;
  cursor: default;
}

.cov-tag:hover {
  background: #e0f2fe;
  color: #0284c7;
  border-color: #0284c7;
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(2, 132, 199, 0.15);
}

[data-theme="dark"] .cov-tag {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .cov-tag:hover {
  background: rgba(6, 182, 212, 0.22);
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
}

.cov-card-header-national {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.5rem;
  width: 100%;
}

.cov-header-text-national {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.cov-header-text-national h4 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-main);
}

.cov-provinces-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-top: 0.35rem;
}

.cov-region-block {
  font-size: 0.76rem;
  line-height: 1.35;
  background: rgba(2, 132, 199, 0.05);
  border: 1px solid rgba(2, 132, 199, 0.12);
  border-radius: 8px;
  padding: 0.45rem 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

[data-theme="dark"] .cov-region-block {
  background: rgba(56, 189, 248, 0.06);
  border-color: rgba(56, 189, 248, 0.16);
}

.cov-region-name {
  font-weight: 800;
  color: #0284c7;
  font-size: 0.8rem;
}

[data-theme="dark"] .cov-region-name {
  color: #38bdf8;
}

.cov-region-cities {
  color: var(--text-muted);
  font-size: 0.74rem;
}

/* ==========================================================================
   SECCIÓN COBERTURA: ESTILO IOS LIQUID GLASS & MAPA 16:9
   ========================================================================== */
.section-coverage {
  position: relative;
  padding: 5rem 0;
  background: radial-gradient(circle at 50% 20%, rgba(2, 132, 199, 0.08) 0%, transparent 70%), var(--bg-main);
  overflow: hidden;
}

.coverage-map-visual.full-width-map {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 1.5rem auto 0;
}

.map-container-box.map-panoramic {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35), 0 0 30px rgba(2, 132, 199, 0.18), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  border: 1.5px solid rgba(56, 189, 248, 0.35);
  background: #021327;
  display: block;
}

.map-container-box.map-panoramic .peru-map-image {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
  border-radius: 26px;
  user-select: none;
  pointer-events: none;
}

/* Barra Superior de Control: FUERA Y ARRIBA DEL MAPA (100% Despejado) */
.map-controls-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  max-width: 1200px;
  margin: 1.5rem auto 1rem;
  flex-wrap: wrap;
}

/* Switcher de Vistas iOS Liquid Glass */
.map-view-switcher {
  display: inline-flex;
  background: rgba(3, 20, 39, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  padding: 0.35rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37), inset 0 1px 1px rgba(255, 255, 255, 0.25);
  gap: 0.35rem;
}

.map-tab-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.map-tab-btn:hover {
  color: #ffffff;
}

.map-tab-btn.active {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.9) 0%, rgba(6, 182, 212, 0.9) 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

/* Botón GPS iOS Liquid Glass */
.btn-geo-detect-map {
  background: rgba(3, 20, 39, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-geo-detect-map:hover {
  background: rgba(2, 132, 199, 0.85);
  color: #ffffff;
  border-color: #38bdf8;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(6, 182, 212, 0.5);
}

/* ==========================================================================
   CAPA DE PINES INTERACTIVOS HOLOGRÁFICOS (CALIBRACIÓN EXACTA DE COORDENADAS)
   ========================================================================== */
.map-hotspots-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
}

.hotspots-group {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  pointer-events: none;
}

.hotspots-group.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.map-pin-btn {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 11;
  pointer-events: auto;
  outline: none;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.map-pin-btn:hover,
.map-pin-btn.active {
  transform: translate(-50%, -50%) scale(1.25);
  z-index: 30;
}

.map-pin-btn .pin-sonar {
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.35);
  animation: pinSonarPulse 2.2s infinite cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}

.map-pin-btn .pin-dot {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #38bdf8;
  border: 2px solid #ffffff;
  box-shadow: 0 0 10px #38bdf8, 0 0 18px rgba(56, 189, 248, 0.9);
  z-index: 2;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.map-pin-btn .pin-label {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 3px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.58rem;
  font-weight: 800;
  color: #ffffff;
  background: rgba(3, 20, 39, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.12rem 0.4rem;
  border-radius: 5px;
  border: 1px solid rgba(56, 189, 248, 0.45);
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  letter-spacing: 0.2px;
  pointer-events: none;
  transition: all 0.25s ease;
}

.map-pin-btn:hover .pin-dot,
.map-pin-btn.active .pin-dot {
  background: #22c55e;
  border-color: #ffffff;
  box-shadow: 0 0 14px #22c55e, 0 0 22px rgba(34, 197, 94, 0.95);
}

.map-pin-btn:hover .pin-label,
.map-pin-btn.active .pin-label {
  background: #0284c7;
  border-color: #38bdf8;
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.6);
  color: #ffffff;
}

/* PIN ESPECIAL: BASE CENTRAL LOS OLIVOS */
.map-pin-btn.pin-base-hq {
  width: 28px;
  height: 28px;
  z-index: 20;
}

.map-pin-btn.pin-base-hq .pin-sonar {
  width: 36px;
  height: 36px;
  background: rgba(251, 191, 36, 0.45);
  animation: pinSonarHqPulse 1.8s infinite ease-out;
}

.map-pin-btn.pin-base-hq .pin-dot {
  width: 13px;
  height: 13px;
  background: #fbbf24;
  border: 2.5px solid #ffffff;
  box-shadow: 0 0 14px #fbbf24, 0 0 24px rgba(251, 191, 36, 0.95);
}

.map-pin-btn.pin-base-hq .pin-label {
  background: linear-gradient(135deg, #b45309 0%, #d97706 100%);
  border-color: #fbbf24;
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 2px 10px rgba(217, 119, 6, 0.6);
}

@keyframes pinSonarPulse {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(2.2); opacity: 0; }
}

@keyframes pinSonarHqPulse {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(2.5); opacity: 0; }
}

/* Tarjetas de Zonas Interactivas (Lado Izquierdo) */
.cov-zone-card.interactive-zone-card {
  cursor: pointer;
}

.cov-zone-card.interactive-zone-card:hover {
  border-color: #0284c7;
  background: rgba(2, 132, 199, 0.08);
}

[data-theme="dark"] .cov-zone-card.interactive-zone-card:hover {
  background: rgba(6, 182, 212, 0.12);
  border-color: #38bdf8;
}

.cov-zone-card.interactive-zone-card.selected-zone {
  border-color: #06b6d4 !important;
  background: rgba(6, 182, 212, 0.15) !important;
  box-shadow: 0 0 22px rgba(6, 182, 212, 0.35) !important;
  transform: translateY(-3px) scale(1.01);
}

.interactive-region-btn {
  cursor: pointer;
  transition: all 0.2s ease;
}

.interactive-region-btn:hover,
.interactive-region-btn.selected-zone {
  background: rgba(2, 132, 199, 0.18) !important;
  border-color: #0284c7 !important;
  transform: translateY(-2px);
}

/* Panel Interactivo Modal / Desplegable sobre el Mapa */
.map-interactive-modal {
  position: absolute;
  bottom: 0.85rem;
  left: 0.85rem;
  right: 0.85rem;
  background: rgba(2, 16, 34, 0.95);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1.5px solid rgba(56, 189, 248, 0.45);
  border-radius: 20px;
  padding: 1.15rem;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.55), 0 0 25px rgba(2, 132, 199, 0.25);
  z-index: 12;
  transform: translateY(115%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.map-interactive-modal.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.map-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.map-modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.map-modal-icon {
  font-size: 1.35rem;
}

.map-modal-title-wrap h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
}

.map-modal-status {
  font-size: 0.7rem;
  font-weight: 700;
  color: #4ade80;
  display: block;
}

.map-modal-close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #94a3b8;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.map-modal-close:hover {
  background: rgba(239, 68, 68, 0.25);
  color: #ef4444;
}

/* Barra de Tiempo Estimado (ETA) */
.map-modal-eta-bar {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.2) 0%, rgba(6, 182, 212, 0.15) 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 12px;
  padding: 0.6rem 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.eta-icon-wrap {
  font-size: 1.3rem;
  margin-right: 0.5rem;
}

.eta-text-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.eta-sub {
  font-size: 0.68rem;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
}

.eta-time {
  font-size: 1.1rem;
  color: #38bdf8;
  font-weight: 900;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.3px;
}

.eta-badge-live {
  font-size: 0.7rem;
  font-weight: 800;
  color: #ffffff;
  background: #16a34a;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
  animation: pulse-green 1.8s infinite;
}

@keyframes pulse-green {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.85; }
}

.map-dest-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}

.map-dest-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: #cbd5e1;
}

.map-dest-count {
  font-size: 0.68rem;
  font-weight: 700;
  color: #38bdf8;
}

.map-dest-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  max-height: 100px;
  overflow-y: auto;
  padding-right: 0.2rem;
  margin-bottom: 0.85rem;
  scrollbar-width: thin;
}

.map-dest-chip {
  font-size: 0.68rem;
  font-weight: 600;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
}

.map-dest-chip:hover {
  background: rgba(6, 182, 212, 0.25);
  border-color: #38bdf8;
  color: #ffffff;
}

/* Barra de Estadísticas y Base Operativa: FUERA DEL MAPA (Debajo del mapa) */
.map-floating-stats.map-stats-below {
  position: relative;
  inset: auto;
  margin-top: 1.25rem;
  width: 100%;
  background: rgba(3, 20, 39, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 20px;
  padding: 1rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.m-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.m-stat-item strong {
  font-family: 'Outfit', sans-serif;
  color: #38bdf8;
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.15;
}

.m-stat-item span {
  font-size: 0.72rem;
  color: #cbd5e1;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 0.2rem;
  letter-spacing: 0.3px;
}

/* Inputs con botón de Acción GPS (Botón externo al lado derecho) */
.input-gps-group {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
}

.input-gps-group .form-control {
  flex: 1;
}

.btn-gps-standalone {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  background: rgba(2, 132, 199, 0.1);
  border: 1.5px solid rgba(2, 132, 199, 0.28);
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .btn-gps-standalone {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.btn-gps-standalone:hover {
  background: #0284c7;
  border-color: #0284c7;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.38);
}

[data-theme="dark"] .btn-gps-standalone:hover {
  background: #06b6d4;
  border-color: #38bdf8;
  color: #031427;
  box-shadow: 0 4px 18px rgba(6, 182, 212, 0.45);
}

.btn-gps-standalone svg {
  display: block;
  transition: transform 0.3s ease;
}

.btn-gps-standalone:hover svg {
  transform: scale(1.15) rotate(15deg);
}

.btn-gps-standalone.gps-loading {
  opacity: 0.75;
  pointer-events: none;
  border-color: #06b6d4;
}

.btn-gps-standalone.gps-loading svg {
  animation: geo-spin 1s infinite linear;
}

.btn-gps-standalone.gps-success {
  background: #16a34a !important;
  border-color: #22c55e !important;
  color: #ffffff !important;
}

/* --------------------------------------------------------------------------
   12. SECCIÓN GALERÍA DE PROYECTOS (SLIDER)
   -------------------------------------------------------------------------- */
.section-gallery-slider {
  padding: clamp(2.25rem, 3.5vw, 3.25rem) 0;
  background-color: var(--bg-surface);
}

.gallery-carousel-wrapper {
  overflow-x: auto;
  padding-bottom: 1rem;
  scrollbar-width: thin;
}

.gallery-carousel-track {
  display: flex;
  gap: 1.25rem;
}

.gallery-card-slide {
  flex: 0 0 320px;
  background: var(--liquid-glass-bg);
  border: 1px solid var(--liquid-glass-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--liquid-glass-shadow);
  backdrop-filter: var(--liquid-glass-blur);
  -webkit-backdrop-filter: var(--liquid-glass-blur);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-card-slide:hover {
  transform: translateY(-6px);
  box-shadow: var(--liquid-glass-shadow-hover);
  border-color: rgba(6, 182, 212, 0.4);
}

.gallery-card-media {
  position: relative;
  height: 180px;
}

.gallery-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-card-badge {
  position: absolute;
  bottom: 0.65rem;
  left: 0.65rem;
  background: rgba(3, 20, 39, 0.78);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.22rem 0.6rem;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.gallery-card-body {
  padding: 1.1rem;
}

.gallery-card-body h4 {
  font-size: 0.98rem;
  margin-bottom: 0.35rem;
}

.gallery-card-body p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.gallery-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-top: 1px solid var(--border-color);
  padding-top: 0.65rem;
}

.gallery-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  background: rgba(4, 77, 162, 0.08);
  color: var(--primary);
}

[data-theme="dark"] .gallery-card-meta span {
  background: rgba(6, 182, 212, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

/* --------------------------------------------------------------------------
   13. COTIZADOR MAESTRO EN 3 PASOS (iOS LIQUID GLASS)
   -------------------------------------------------------------------------- */
.section-calculator {
  padding: clamp(2.25rem, 3.5vw, 3.25rem) 0;
  background: linear-gradient(145deg, #031c38 0%, #053b75 100%);
  color: white;
}

.calculator-wrapper {
  background: var(--liquid-glass-bg);
  color: var(--text-main);
  border-radius: 24px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--liquid-glass-shadow-hover);
  border: 1px solid var(--liquid-glass-border);
  backdrop-filter: var(--liquid-glass-blur);
  -webkit-backdrop-filter: var(--liquid-glass-blur);
}

.calc-steps-indicator {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.calc-step-bullet {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.calc-step-bullet.active {
  color: var(--primary);
}

[data-theme="dark"] .calc-step-bullet.active {
  color: var(--accent-cyan);
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  box-shadow: 0 2px 8px rgba(4, 77, 162, 0.3);
}

.calc-step-heading {
  font-size: 1.05rem;
  margin-bottom: 0.85rem;
}

.calc-grid-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.calc-option-card {
  background: var(--liquid-glass-bg-subtle);
  border: 1px solid var(--liquid-glass-border);
  border-radius: 18px;
  padding: 1.15rem 0.85rem;
  text-align: center;
  cursor: pointer;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03), inset 0 1px 1px rgba(255, 255, 255, 0.6);
}

.calc-option-card:hover, .calc-option-card.selected {
  border-color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.12);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 24px rgba(6, 182, 212, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .calc-option-card.selected {
  background: rgba(6, 182, 212, 0.18);
  border-color: var(--accent-cyan);
}

.opt-icon {
  font-size: 1.6rem;
  margin-bottom: 0.35rem;
  display: block;
}

.calc-option-card h4 {
  font-size: 0.9rem;
  margin-bottom: 0.15rem;
}

.calc-option-card p {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.calc-estimate-summary {
  margin-top: 1.75rem;
  background: var(--liquid-glass-bg-subtle);
  border: 1px solid var(--liquid-glass-border);
  border-radius: 20px;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04), inset 0 1px 1px rgba(255, 255, 255, 0.6);
}

.price-tag {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
}

[data-theme="dark"] .price-tag {
  color: var(--accent-cyan);
}

.price-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   14. TRABAJA CON NOSOTROS (INSPIRADO EN ACSAN)
   -------------------------------------------------------------------------- */
.section-careers {
  padding: clamp(2.25rem, 3.5vw, 3.25rem) 0;
  background-color: var(--bg-section-alt);
}

.careers-banner-card {
  background: linear-gradient(135deg, #021a38 0%, #044da2 100%);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  color: white;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2rem;
  align-items: center;
  box-shadow: var(--shadow-xl);
}

.careers-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.22rem 0.7rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #38bdf8;
  margin-bottom: 0.6rem;
}

.careers-content h2 {
  color: white;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.85rem;
}

.gradient-text-light {
  color: #38bdf8;
}

.careers-content p {
  color: #cbd5e1;
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
}

.careers-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 1.75rem;
}

.benefit-badge {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-careers-cta {
  background: #ffffff;
  color: var(--primary);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.75rem 1.6rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: all var(--transition-fast);
}

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

.careers-mini-box {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
}

.careers-mini-box h4 {
  color: white;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}

.careers-mini-box ul {
  list-style: none;
  font-size: 0.82rem;
  color: #cbd5e1;
  margin-bottom: 1rem;
}

.careers-mini-box li {
  margin-bottom: 0.35rem;
}

.careers-contact-note {
  font-size: 0.78rem;
  color: #94a3b8;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 0.65rem;
}

/* --------------------------------------------------------------------------
   15. TESTIMONIOS Y PREGUNTAS FRECUENTES
   -------------------------------------------------------------------------- */
.section-testimonials {
  padding: clamp(2.25rem, 3.5vw, 3.25rem) 0;
  background-color: var(--bg-surface);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.testimonial-card {
  background: var(--liquid-glass-bg);
  border: 1px solid var(--liquid-glass-border);
  border-radius: 20px;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--liquid-glass-shadow);
  backdrop-filter: var(--liquid-glass-blur);
  -webkit-backdrop-filter: var(--liquid-glass-blur);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--liquid-glass-shadow-hover);
  border-color: rgba(6, 182, 212, 0.4);
}

.test-stars {
  color: #f59e0b;
  font-size: 1rem;
  margin-bottom: 0.6rem;
}

.test-quote {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
  font-style: italic;
}

.test-author {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.test-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.test-info h4 {
  font-size: 0.88rem;
  line-height: 1.2;
}

.test-info p {
  font-size: 0.72rem;
  color: var(--text-light);
}

/* FAQ */
.section-faq {
  padding: clamp(2.25rem, 3.5vw, 3.25rem) 0;
  background-color: var(--bg-section-alt);
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--liquid-glass-bg);
  border: 1px solid var(--liquid-glass-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--liquid-glass-shadow);
  backdrop-filter: var(--liquid-glass-blur);
  -webkit-backdrop-filter: var(--liquid-glass-blur);
  transition: all 0.25s ease;
}

.faq-item:hover {
  border-color: rgba(6, 182, 212, 0.35);
}

.faq-question {
  width: 100%;
  padding: 1.15rem 1.45rem;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--text-main);
  cursor: pointer;
}

.faq-icon {
  font-size: 0.72rem;
  transition: transform var(--transition-fast);
}

.faq-item.active {
  border-color: rgba(6, 182, 212, 0.5);
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.15);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--accent-cyan, #06b6d4);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, padding 0.35s ease, opacity 0.3s ease;
  padding: 0 1.45rem;
  background-color: transparent;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  opacity: 1;
  padding: 0 1.45rem 1.15rem;
}

.faq-answer p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   16. SECCIÓN CONTACTO & FORMULARIO
   -------------------------------------------------------------------------- */
.section-contact {
  padding: clamp(2.25rem, 3.5vw, 3.25rem) 0;
  background-color: var(--bg-surface);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2rem;
}

.contact-info-panel {
  background: linear-gradient(145deg, #031c38 0%, #053b75 100%);
  border-radius: 24px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-info-panel h3 {
  color: white;
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 1.75rem 0;
}

.channel-item {
  display: flex;
  gap: 0.85rem;
  align-items: center;
}

.channel-icon {
  font-size: 1.3rem;
}

.channel-details h4 {
  color: #38bdf8;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.channel-details p {
  font-size: 0.95rem;
}

.contact-form-card {
  background: var(--liquid-glass-bg);
  border: 1px solid var(--liquid-glass-border);
  border-radius: 28px;
  padding: 2.75rem;
  box-shadow: var(--liquid-glass-shadow);
  backdrop-filter: var(--liquid-glass-blur);
  -webkit-backdrop-filter: var(--liquid-glass-blur);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 0.8rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background-color: var(--bg-surface);
  color: var(--text-main);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(4, 77, 162, 0.15);
}

[data-theme="dark"] .form-control:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2);
}

/* --------------------------------------------------------------------------
   17. MODALES POPUP (COTIZAR & EMPLEO) (iOS LIQUID SHEET)
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 14, 28, 0.65);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  padding: 1rem;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: var(--liquid-glass-bg);
  border: 1px solid var(--liquid-glass-border);
  border-radius: 24px;
  max-width: 500px;
  width: min(500px, 94vw);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  transform: translateY(24px) scale(0.96);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-backdrop.active .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 1.75rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.modal-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.35rem;
}

[data-theme="dark"] .modal-tag {
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.15);
}

.modal-close {
  background: rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.08);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.1rem;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.modal-body {
  padding: 1.75rem;
}

/* --------------------------------------------------------------------------
   18. FOOTER CORPORATIVO
   -------------------------------------------------------------------------- */
.footer {
  background-color: #031427;
  color: #94a3b8;
  padding: 4.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-wrap {
  display: inline-block;
  background: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.footer-brand-logo {
  height: 48px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 1.2rem;
}

.footer-links {
  list-style: none;
  font-size: 0.85rem;
}

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

.footer-links a:hover {
  color: #38bdf8;
}

.footer-badges-list {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.f-badge {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  color: #cbd5e1;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: #94a3b8;
}

.footer-credit {
  color: #94a3b8;
}

.footer-credit strong {
  color: #f1f5f9;
}

.footer-credit a {
  color: #38bdf8;
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.footer-credit a:hover {
  color: #7dd3fc;
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   19. BOTONES FLOTANTES DE ACCIÓN RÁPIDA (iOS GLASS CAPSULES)
   -------------------------------------------------------------------------- */
.floating-actions-container {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 1500;
}

.float-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28), inset 0 1px 2px rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.float-btn:hover {
  transform: scale(1.14) translateY(-3px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), 0 0 25px rgba(37, 211, 102, 0.45);
}

.float-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.float-call {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
}

.float-tooltip {
  position: absolute;
  right: 70px;
  background: var(--liquid-glass-bg);
  border: 1px solid var(--liquid-glass-border);
  color: var(--text-main);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  box-shadow: var(--liquid-glass-shadow);
  backdrop-filter: var(--liquid-glass-blur);
  -webkit-backdrop-filter: var(--liquid-glass-blur);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(10px);
  pointer-events: none;
}

.float-btn:hover .float-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* --------------------------------------------------------------------------
   20. BOTONES Y UTILIDADES GENERALES (iOS SPECULAR SHINE)
   -------------------------------------------------------------------------- */
.btn {
  padding: 0.75rem 1.45rem;
  border-radius: 9px;
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: skewX(-20deg);
  transition: left 0.65s ease;
  pointer-events: none;
}

.btn:hover::after {
  left: 160%;
}

.btn-primary {
  background: linear-gradient(135deg, #044da2 0%, #033c7e 100%);
  color: white;
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 14px rgba(4, 77, 162, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0558b8 0%, #044da2 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(4, 77, 162, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.5);
}

.btn-eco {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.35);
}

.btn-eco:hover {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(16, 185, 129, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.5);
}

.btn-outline {
  background: var(--liquid-glass-bg-subtle);
  border: 1px solid var(--liquid-glass-border);
  color: var(--text-main);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(4, 77, 162, 0.08);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #34d399 0%, #1ebe5d 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
}

.btn-sm { padding: 0.48rem 1rem; font-size: 0.82rem; }
.btn-lg { padding: 0.95rem 1.9rem; font-size: 1rem; }

/* --------------------------------------------------------------------------
   21. MEDIA QUERIES RESPONSIVAS (SISTEMA FLUIDO & ADAPTABLE)
   -------------------------------------------------------------------------- */
@media (max-width: 1220px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    height: calc(100vh - 72px);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(35px) saturate(200%);
    -webkit-backdrop-filter: blur(35px) saturate(200%);
    flex-direction: column;
    padding: 2rem 1.5rem;
    overflow-y: auto;
    display: none;
    border-bottom: 1px solid var(--border-color);
  }

  [data-theme="dark"] .nav-links {
    background: rgba(10, 16, 30, 0.97);
    backdrop-filter: blur(35px) saturate(200%);
    -webkit-backdrop-filter: blur(35px) saturate(200%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links.mobile-open {
    display: flex;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0.5rem 0;
    display: none;
    width: 100%;
    max-width: 100%;
  }

  .nav-item-dropdown.show-mobile-dropdown .dropdown-menu {
    display: block;
  }

  .dropdown-grid {
    grid-template-columns: 1fr;
  }

  .hidden-sm {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .biodigestores-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid, 
  .geofono-grid, 
  .biodigestor-hero-intro, 
  .bio-calculator-grid,
  .careers-banner-card, 
  .coverage-interactive-grid, 
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .calc-grid-options {
    grid-template-columns: repeat(2, 1fr);
  }
  .slide-main-headline {
    font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  }
}

@media (max-width: 768px) {
  .services-grid, 
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .radar-main-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .radar-meter-track {
    margin: 0.5rem auto;
  }

  .coverage-interactive-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .coverage-zones-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .about-values-grid, .about-pillars {
    grid-template-columns: 1fr;
  }

  .comparison-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .top-bar-content {
    justify-content: center;
    text-align: center;
  }
  .top-bar-left, .top-bar-right {
    justify-content: center;
  }
  .coverage-zones-list {
    grid-template-columns: 1fr;
  }
  .cov-zone-card.full-width {
    grid-column: span 1;
  }
  .cov-provinces-grid {
    grid-template-columns: 1fr;
  }
  .cov-header-text-national {
    flex-direction: column;
    align-items: flex-start;
  }
  .map-controls-header-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
    margin: 1rem auto 0.75rem;
  }
  .map-view-switcher {
    width: 100%;
    justify-content: center;
  }
  .map-tab-btn {
    flex: 1;
    justify-content: center;
    padding: 0.45rem 0.6rem;
    font-size: 0.78rem;
  }
  .btn-geo-detect-map {
    width: 100%;
    justify-content: center;
    padding: 0.45rem 0.6rem;
    font-size: 0.78rem;
  }
  .map-interactive-modal {
    padding: 0.85rem;
    border-radius: 16px;
  }
  .map-floating-stats.map-stats-below {
    grid-template-columns: repeat(2, 1fr);
    padding: 0.85rem;
    gap: 0.75rem;
  }
  .eta-time {
    font-size: 0.95rem;
  }
  .map-pin-btn .pin-label {
    font-size: 0.48rem;
    padding: 0.08rem 0.28rem;
  }
  .map-pin-btn .pin-dot {
    width: 8px;
    height: 8px;
  }
  .map-pin-btn.pin-base-hq .pin-dot {
    width: 11px;
    height: 11px;
  }
  .biodigestores-cards-grid, 
  .calc-grid-options {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .before-after-container {
    height: 280px;
  }
  .card-album-slider {
    height: 290px;
  }
  .service-card:has(.card-album-slider) .service-icon-wrap,
  #srv-geofono .service-icon-wrap,
  #srv-desatoros .service-icon-wrap,
  #srv-camara-cctv .service-icon-wrap,
  #srv-biodigestores .service-icon-wrap,
  #srv-bombas-tableros .service-icon-wrap {
    top: 268px;
  }
  .acsan-nav-arrow {
    width: 36px;
    height: 36px;
    bottom: 0.85rem;
    top: auto;
    transform: none;
  }
  .acsan-nav-arrow svg {
    width: 18px;
    height: 18px;
  }
  .arrow-prev { right: 3.8rem; left: auto; }
  .arrow-next { right: 0.85rem; }
  .slide-actions-row {
    flex-direction: column;
    align-items: stretch;
  }
  .slide-actions-row .btn-slide-cta {
    width: 100%;
    justify-content: center;
  }
  .floating-actions-container {
    bottom: 1rem;
    right: 1rem;
    gap: 0.65rem;
  }
  .float-btn {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }
  .top-bar {
    font-size: 0.76rem;
  }
  .emergency-pill {
    font-size: 0.7rem;
    padding: 0.15rem 0.5rem;
  }
  .phones-group {
    font-size: 0.76rem;
  }
  .modal-dialog {
    border-radius: 18px;
  }
  .modal-header, .modal-body {
    padding: 1.1rem;
  }
}

/* ==========================================================================
   ESTILOS ESPECÍFICOS PARA PÁGINAS INTERNAS (MULTI-PAGE ARCHITECTURE)
   ========================================================================== */

.page-header-banner {
  position: relative;
  background: linear-gradient(135deg, #061a35 0%, #0c2d5e 50%, #0369a1 100%);
  padding: 4.5rem 0 3.5rem;
  color: #ffffff;
  overflow: hidden;
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
}

.page-header-banner::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(14, 165, 233, 0.25) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(6, 182, 212, 0.2) 0%, transparent 50%),
    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: 100% 100%, 100% 100%, 30px 30px, 30px 30px;
  pointer-events: none;
}

[data-theme="dark"] .page-header-banner {
  background: linear-gradient(135deg, #030c1a 0%, #071933 50%, #0284c7 100%);
}

.page-header-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: #93c5fd;
}

.breadcrumbs a {
  color: #bae6fd;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.breadcrumbs .sep {
  opacity: 0.6;
  font-size: 0.8rem;
}

.breadcrumbs .current {
  color: #ffffff;
  font-weight: 700;
}

.page-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
  color: #ffffff;
}

.page-title .text-highlight {
  color: #38bdf8;
}

.page-subtitle {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #e0f2fe;
  margin-bottom: 1.75rem;
}

.page-header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* Pasos de Proceso en Cuadrícula */
.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

@media (max-width: 1024px) {
  .process-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .process-steps-grid {
    grid-template-columns: 1fr;
  }
}

.process-step-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.process-step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}

.step-badge-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}

.process-step-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.process-step-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Bloque CTA Destacado para Páginas Internas */
.page-cta-banner {
  background: linear-gradient(135deg, #0c2d5e 0%, #0369a1 100%);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 3.5rem 0;
  box-shadow: 0 20px 40px rgba(3, 105, 161, 0.25);
}

.page-cta-banner h3 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800;
  margin-bottom: 0.8rem;
  color: #ffffff;
}

.page-cta-banner p {
  max-width: 650px;
  margin: 0 auto 1.8rem;
  font-size: 1.05rem;
  color: #e0f2fe;
}

.page-cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}
