/* ==========================================================================
   EMPALMES DEL SUR - IDENTIDAD CORPORATIVA EXACTA (2026)
   Colores extraídos directamente del Logo Oficial y Tarjeta de Presentación
   #0B1B69 (Azul Empalmes) | #FFD027 (Amarillo Del Sur) | #1D2B74 (Azul Tarjeta)
   ========================================================================== */

:root {
  /* PALETA CORPORATIVA EXACTA */
  --c-navy-brand: #0B1B69;        /* Azul corporativo exacto de "EMPALMES" y emblema */
  --c-navy-deep: #071242;         /* Azul noche de contraste */
  --c-navy-card: #1D2B74;         /* Azul exacto de la tarjeta de presentación */
  --c-navy-light: #253376;        /* Azul medio de acentos */
  
  --c-yellow-brand: #FFD027;      /* Amarillo exacto de "DEL SUR" y rayo */
  --c-yellow-hover: #FFE066;      /* Amarillo cálido interactivo */
  --c-yellow-glow: rgba(255, 208, 39, 0.45);
  --c-yellow-soft: rgba(255, 208, 39, 0.15);

  --c-white: #FFFFFF;
  --c-slate-50: #F8FAFC;
  --c-slate-100: #F1F5F9;
  --c-slate-200: #E2E8F0;
  --c-slate-300: #CBD5E1;
  --c-slate-600: #475569;
  --c-slate-700: #334155;
  --c-slate-800: #1E293B;
  --c-slate-900: #0F172A;

  --c-whatsapp: #25D366;
  --c-whatsapp-hover: #1EBE5B;
  --c-whatsapp-glow: rgba(37, 211, 102, 0.35);

  /* Tipografías */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Sombras y Elevaciones */
  --shadow-sm: 0 2px 8px rgba(11, 27, 105, 0.06);
  --shadow-md: 0 10px 25px -4px rgba(11, 27, 105, 0.12);
  --shadow-lg: 0 20px 40px -6px rgba(11, 27, 105, 0.22);
  --shadow-glow: 0 0 30px var(--c-yellow-glow);

  /* Transiciones */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Bordes */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 9999px;
}

/* ==========================================================================
   RESET Y CONFIGURACIÓN BASE
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: light;
}

body {
  font-family: var(--font-body);
  color: var(--c-slate-800);
  background-color: #FAFCFE;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

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

/* ==========================================================================
   LAYOUT Y CONTENEDORES
   ========================================================================== */

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.max-w-850 {
  max-width: 850px;
}

.section-padding {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}

.text-center {
  text-align: center;
}

.text-yellow {
  color: var(--c-yellow-brand) !important;
}

.text-yellow-bright {
  color: #D97706;
  font-weight: 700;
}

.text-navy {
  color: var(--c-navy-brand) !important;
}

.text-white {
  color: var(--c-white) !important;
}

.text-slate-light {
  color: #94A3B8;
}

/* ==========================================================================
   BARRA SUPERIOR (TOP BAR)
   ========================================================================== */

.top-bar {
  background-color: var(--c-navy-deep);
  border-bottom: 2px solid var(--c-yellow-brand);
  padding: 0.55rem 0;
  font-size: 0.85rem;
  color: #E2E8F0;
}

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

.top-bar-info, .top-bar-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 208, 39, 0.15);
  color: var(--c-yellow-brand);
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.78rem;
  border: 1px solid rgba(255, 208, 39, 0.4);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--c-yellow-brand);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--c-yellow-brand);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.top-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #F1F5F9;
  transition: color var(--transition-fast);
}

.top-link:hover {
  color: var(--c-yellow-brand);
}

.phone-link {
  font-weight: 700;
  color: var(--c-yellow-brand);
}

.executive-tag {
  background: var(--c-yellow-brand);
  color: var(--c-navy-brand);
  font-family: var(--font-heading);
  font-weight: 800;
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
  letter-spacing: 0.03em;
}

.icon-sm {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   CABECERA PRINCIPAL (HEADER IMPECABLE Y NÍTIDO)
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--c-slate-200);
  transition: all var(--transition-normal);
  box-shadow: 0 4px 20px rgba(11, 27, 105, 0.05);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 10px 30px rgba(11, 27, 105, 0.12);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

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

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--c-navy-brand);
  line-height: 1.1;
}

.brand-title .text-yellow {
  color: #D97706 !important; /* Más contraste en fondo blanco */
}

.brand-subtitle {
  display: block;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-slate-600);
  font-weight: 700;
}

.main-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--c-navy-brand);
  position: relative;
  padding: 0.35rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--c-yellow-brand);
  border-radius: 2px;
  transition: width var(--transition-normal);
}

.nav-link:hover {
  color: var(--c-navy-brand);
}

.nav-link:hover::after {
  width: 100%;
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Botón Circular Compacto de WhatsApp para Cabecera Móvil */
.btn-wa-header-mobile {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--c-whatsapp);
  color: var(--c-white);
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px var(--c-whatsapp-glow);
  transition: transform var(--transition-fast), background-color var(--transition-fast);
  flex-shrink: 0;
  text-decoration: none;
}

.btn-wa-header-mobile:hover {
  background-color: var(--c-whatsapp-hover);
  transform: scale(1.06);
}

/* Botón Menú Hamburguesa Elegante */
.mobile-menu-btn {
  display: none;
  background: rgba(11, 27, 105, 0.05);
  border: 1px solid var(--c-slate-200);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  transition: all var(--transition-fast);
}

.mobile-menu-btn:hover {
  background: rgba(11, 27, 105, 0.1);
}

.hamburger-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--c-navy-brand);
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.28s ease;
  transform-origin: center;
}

/* Animación a 'X' del botón hamburguesa */
.mobile-menu-btn.active .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-btn.active .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Telón de fondo (Backdrop) */
.nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(7, 18, 66, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.nav-backdrop.open {
  opacity: 1;
  visibility: visible;
}

/* Elementos exclusivos del menú móvil (ocultos en escritorio) */
.mobile-nav-header,
.mobile-nav-footer,
.nav-link-icon,
.nav-arrow {
  display: none;
}

/* ==========================================================================
   BOTONES Y ELEMENTOS DE ACCIÓN
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 800;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--c-yellow-brand);
  color: var(--c-navy-brand);
  box-shadow: 0 4px 18px rgba(255, 208, 39, 0.4);
  border: 1px solid #E5B800;
}

.btn-primary:hover {
  background: var(--c-yellow-hover);
  color: var(--c-navy-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 208, 39, 0.55);
}

.btn-navy {
  background: var(--c-navy-brand);
  color: var(--c-white);
  box-shadow: 0 4px 16px rgba(11, 27, 105, 0.3);
}

.btn-navy:hover {
  background: #142880;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11, 27, 105, 0.4);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.1);
  color: var(--c-white);
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--c-yellow-brand);
  color: var(--c-yellow-brand);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: var(--c-whatsapp);
  color: var(--c-white);
  box-shadow: 0 4px 16px var(--c-whatsapp-glow);
}

.btn-whatsapp:hover {
  background: var(--c-whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

.btn-sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

.btn-icon {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   HERO SECTION (INSPIRADA EN LA TARJETA CORPORATIVA)
   ========================================================================== */

.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--c-navy-deep) 0%, var(--c-navy-brand) 50%, #15277E 100%);
  color: var(--c-white);
  padding-top: 5rem;
  padding-bottom: 7rem;
  overflow: hidden;
}

/* Onda dinámica decorativa con acento amarillo (como en la tarjeta) */
.hero-wave-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.hero-wave-accent svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 50px;
}

.hero-wave-accent .shape-fill {
  fill: #FAFCFE;
}

.hero-glow {
  position: absolute;
  top: -10%;
  right: 10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(255, 208, 39, 0.2) 0%, transparent 65%);
  filter: blur(70px);
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--c-yellow-brand);
  color: var(--c-navy-brand);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(255, 208, 39, 0.3);
}

.badge-icon {
  width: 18px;
  height: 18px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.4rem;
}

.gradient-text {
  color: var(--c-yellow-brand);
  text-shadow: 0 0 35px rgba(255, 208, 39, 0.4);
}

.hero-description {
  font-size: 1.15rem;
  color: #E2E8F0;
  max-width: 580px;
  margin-bottom: 2.2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin-bottom: 2.5rem;
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #F1F5F9;
  font-weight: 600;
}

.trust-icon {
  width: 20px;
  height: 20px;
  color: var(--c-yellow-brand);
}

/* HERO MEDIA Y TARJETA REPLICA OFICIAL */
.hero-media {
  position: relative;
}

.media-card-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  border: 3px solid rgba(255, 208, 39, 0.4);
}

.media-picture,
.spotlight-picture,
.panel-picture,
.card-showcase-picture {
  display: block;
  width: 100%;
  height: 100%;
}

.logo-picture {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.media-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.media-card-main:hover .media-img {
  transform: scale(1.03);
}

.media-card-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  background: rgba(11, 27, 105, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 208, 39, 0.35);
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.badge-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--c-yellow-brand);
  color: var(--c-navy-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.badge-icon-wrap svg {
  width: 22px;
  height: 22px;
}

.media-card-badge strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.98rem;
  color: var(--c-white);
}

.media-card-badge span {
  font-size: 0.82rem;
  color: var(--c-yellow-brand);
}

/* Tarjeta Corporativa Réplica Estilo Tarjeta de Presentación */
.executive-card {
  position: absolute;
  top: -1.5rem;
  right: -1rem;
  background: var(--c-navy-card);
  padding: 1.1rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border: 2px solid var(--c-yellow-brand);
  z-index: 3;
  min-width: 240px;
}

.executive-badge-pill {
  background: var(--c-yellow-brand);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
}

.executive-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  color: var(--c-navy-brand);
  line-height: 1.2;
}

.executive-role {
  font-size: 0.72rem;
  color: #78350F;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.executive-contacts-mini {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.25rem;
}

.mini-contact-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: #F1F5F9;
  font-weight: 500;
}

.mini-contact-item svg {
  width: 14px;
  height: 14px;
  color: var(--c-yellow-brand);
  flex-shrink: 0;
}

/* ==========================================================================
   PARTNERS & DISTRIBUIDORAS BAR
   ========================================================================== */

.partners-bar {
  background: #FFFFFF;
  border-bottom: 2px solid var(--c-slate-200);
  padding: 2rem 0;
}

.partners-title {
  text-align: center;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-navy-brand);
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.partners-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
}

.partner-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--c-slate-50);
  border: 1px solid var(--c-slate-200);
  transition: all var(--transition-fast);
}

.partner-badge:hover {
  border-color: var(--c-yellow-brand);
  background: #FFFDF0;
  transform: translateY(-2px);
}

.partner-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--c-navy-brand);
}

.partner-sub {
  font-size: 0.72rem;
  color: var(--c-slate-600);
  font-weight: 600;
}

/* ==========================================================================
   SECCIÓN COBERTURA MALLECO (ANGOL, RENAICO, VICTORIA, PURÉN, LOS SAUCES)
   ========================================================================== */

.coverage-section {
  padding: 3.5rem 0 2rem 0;
  background: var(--c-slate-50);
}

.coverage-card {
  background: var(--c-navy-brand);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  color: var(--c-white);
  box-shadow: var(--shadow-md);
  border: 2px solid var(--c-yellow-brand);
}

.coverage-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem auto;
}

.coverage-tag {
  display: inline-block;
  background: var(--c-yellow-brand);
  color: var(--c-navy-brand);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.85rem;
}

.coverage-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.85rem;
  color: var(--c-white);
}

.coverage-desc {
  font-size: 1.05rem;
  color: #CBD5E1;
}

.coverage-cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}

.city-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
  position: relative;
}

.city-box:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--c-yellow-brand);
  transform: translateY(-4px);
}

.city-central {
  background: linear-gradient(180deg, rgba(255, 208, 39, 0.22) 0%, rgba(255, 255, 255, 0.08) 100%);
  border: 2px solid var(--c-yellow-brand);
  box-shadow: 0 0 25px rgba(255, 208, 39, 0.3);
}

.city-badge-star {
  display: inline-block;
  background: var(--c-yellow-brand);
  color: var(--c-navy-brand);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.68rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  width: fit-content;
  margin-bottom: 0.65rem;
}

.city-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--c-white);
  margin-bottom: 0.5rem;
  letter-spacing: 0.03em;
}

.city-central .city-name {
  color: var(--c-yellow-brand);
}

.city-info {
  font-size: 0.84rem;
  color: #CBD5E1;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.city-link {
  margin-top: auto;
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--c-yellow-brand);
  transition: color var(--transition-fast);
}

.city-link:hover {
  color: var(--c-white);
  text-decoration: underline;
}

/* ==========================================================================
   SECCIÓN DE SERVICIOS
   ========================================================================== */

.section-header {
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-navy-brand);
  background: var(--c-yellow-brand);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.85rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  font-weight: 800;
  color: var(--c-navy-brand);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.08rem;
  color: var(--c-slate-600);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* Tabs de Filtro */
.service-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 3rem;
}

.tab-btn {
  background: var(--c-white);
  border: 1px solid var(--c-slate-200);
  color: var(--c-navy-brand);
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab-btn:hover {
  border-color: var(--c-navy-brand);
  background: var(--c-slate-50);
}

.tab-btn.active {
  background: var(--c-navy-brand);
  color: var(--c-yellow-brand);
  border-color: var(--c-navy-brand);
  box-shadow: 0 4px 15px rgba(11, 27, 105, 0.2);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  border: 1px solid var(--c-slate-200);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
  border-top: 4px solid var(--c-navy-brand);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--c-yellow-brand);
}

.service-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.service-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: #EEF2FF;
  color: var(--c-navy-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.service-icon-box svg {
  width: 28px;
  height: 28px;
}

.service-card:hover .service-icon-box {
  background: var(--c-navy-brand);
  color: var(--c-yellow-brand);
}

.service-number {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--c-slate-300);
}

.service-card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--c-navy-brand);
  line-height: 1.3;
  margin-bottom: 0.85rem;
}

.service-card-desc {
  font-size: 0.95rem;
  color: var(--c-slate-600);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-features {
  margin-top: auto;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  border-top: 1px dashed var(--c-slate-200);
  padding-top: 1.25rem;
}

.service-features li {
  font-size: 0.88rem;
  color: var(--c-slate-700);
  position: relative;
  padding-left: 1.25rem;
}

.service-features li::before {
  content: "⚡";
  position: absolute;
  left: 0;
  color: var(--c-yellow-brand);
  font-size: 0.9rem;
}

.service-card-footer {
  margin-top: auto;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--c-navy-brand);
  transition: all var(--transition-fast);
}

.card-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.card-link:hover {
  color: #B45309;
}

.card-link:hover svg {
  transform: translateX(4px);
}

/* Highlight Card */
.highlight-card {
  background: #FFFDF5;
  border: 2px solid var(--c-yellow-brand);
  border-top: 5px solid var(--c-yellow-brand);
  box-shadow: 0 10px 30px rgba(255, 208, 39, 0.2);
}

.highlight-badge {
  position: absolute;
  top: -14px;
  right: 24px;
  background: var(--c-navy-brand);
  color: var(--c-yellow-brand);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.74rem;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 10px rgba(11, 27, 105, 0.25);
  border: 1px solid var(--c-yellow-brand);
}

/* ==========================================================================
   SPOTLIGHT SECTION (SOLAR DESTACADO)
   ========================================================================== */

.spotlight-section {
  background: var(--c-navy-brand);
  color: var(--c-white);
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}

.spotlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.spotlight-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border: 2px solid var(--c-yellow-brand);
}

.spotlight-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.spotlight-badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: var(--c-navy-deep);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  border: 2px solid var(--c-yellow-brand);
  display: flex;
  flex-direction: column;
}

.badge-value {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--c-yellow-brand);
  line-height: 1;
}

.badge-label {
  font-size: 0.76rem;
  color: #E2E8F0;
  font-weight: 600;
}

.spotlight-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.spotlight-desc {
  font-size: 1.08rem;
  color: #E2E8F0;
  margin-bottom: 2rem;
}

.spotlight-features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}

.feat-box {
  display: flex;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1.15rem;
  border-radius: var(--radius-md);
}

.feat-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.feat-box strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--c-yellow-brand);
  margin-bottom: 0.25rem;
}

.feat-box p {
  font-size: 0.9rem;
  color: #CBD5E1;
  line-height: 1.5;
}

.spotlight-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   SECCIÓN: POR QUÉ EMPALMES DEL SUR
   ========================================================================== */

.why-us-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.why-us-lead {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--c-navy-brand);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.why-us-body {
  font-size: 1rem;
  color: var(--c-slate-600);
  margin-bottom: 2rem;
}

.values-checklist {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.value-check {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.check-icon {
  width: 26px;
  height: 26px;
  background: var(--c-yellow-brand);
  color: var(--c-navy-brand);
  font-weight: 800;
  font-size: 0.95rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.value-check strong {
  display: block;
  font-family: var(--font-heading);
  color: var(--c-navy-brand);
  font-size: 0.98rem;
}

.value-check span {
  font-size: 0.9rem;
  color: var(--c-slate-600);
}

.panel-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 1.5rem;
  border: 2px solid var(--c-navy-brand);
}

.panel-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.panel-overlay-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  background: var(--c-navy-brand);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--c-yellow-brand);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.badge-metric {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--c-yellow-brand);
  line-height: 1;
}

.badge-text {
  font-size: 0.88rem;
  color: var(--c-white);
  font-weight: 700;
}

.stat-boxes-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stat-box {
  background: var(--c-white);
  border: 2px solid var(--c-slate-200);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.stat-box:hover {
  border-color: var(--c-yellow-brand);
  transform: translateY(-3px);
}

.stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--c-navy-brand);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--c-slate-600);
  font-weight: 700;
  line-height: 1.3;
  display: block;
}

/* ==========================================================================
   SECCIÓN: ASISTENTE DE COTIZACIÓN
   ========================================================================== */

.quote-section {
  background: linear-gradient(135deg, var(--c-navy-deep) 0%, var(--c-navy-brand) 100%);
  border-top: 4px solid var(--c-yellow-brand);
}

.quote-wrapper {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 208, 39, 0.3);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  backdrop-filter: blur(14px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.quote-header {
  margin-bottom: 2.5rem;
}

.quote-subtitle {
  font-size: 1.05rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0.75rem;
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--c-yellow-brand);
}

.form-control {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--c-white);
  padding: 0.9rem 1.15rem;
  border-radius: var(--radius-md);
  outline: none;
  transition: all var(--transition-fast);
}

.form-control::placeholder {
  color: #94A3B8;
}

.form-control:focus {
  border-color: var(--c-yellow-brand);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 16px var(--c-yellow-glow);
}

select.form-control option {
  background: var(--c-navy-deep);
  color: var(--c-white);
}

.quote-form-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1rem;
}

.quote-note {
  font-size: 0.84rem;
  color: var(--c-yellow-brand);
  font-weight: 600;
}

/* ==========================================================================
   PREGUNTAS FRECUENTES (FAQ ACORDEÓN)
   ========================================================================== */

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--c-white);
  border: 1px solid var(--c-slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--c-navy-brand);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.35rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-navy-brand);
  transition: color var(--transition-fast);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--c-slate-600);
  transition: transform var(--transition-normal);
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: #D97706;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, padding 0.3s ease;
  padding: 0 1.5rem;
  color: var(--c-slate-600);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 1.5rem;
}

/* ==========================================================================
   CONTACTO DIRECTO (REPRODUCCIÓN CORPORATIVA)
   ========================================================================== */

.contact-card {
  background: linear-gradient(135deg, var(--c-navy-brand) 0%, var(--c-navy-deep) 100%);
  border-radius: var(--radius-lg);
  padding: 4rem 3.5rem;
  border: 2px solid var(--c-yellow-brand);
  box-shadow: var(--shadow-lg);
}

.contact-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.contact-desc {
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.05rem;
  margin-top: 0.75rem;
}

.contact-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.contact-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  transition: all var(--transition-normal);
  color: var(--c-white);
}

.contact-box:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--c-yellow-brand);
  transform: translateY(-4px);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--c-yellow-brand);
  color: var(--c-navy-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
}

.contact-box-text {
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-yellow-brand);
  margin-bottom: 0.25rem;
  font-weight: 700;
}

.contact-val {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-white);
}

.contact-sub {
  font-size: 0.78rem;
  color: #CBD5E1;
  margin-top: 0.2rem;
}

/* ==========================================================================
   FOOTER CORPORATIVO
   ========================================================================== */

.site-footer {
  background: var(--c-navy-deep);
  color: #CBD5E1;
  padding-top: 4.5rem;
  border-top: 3px solid var(--c-yellow-brand);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3.5rem;
  padding-bottom: 3.5rem;
}

.footer-logo {
  margin-bottom: 1.25rem;
}

.footer-summary {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #94A3B8;
  max-width: 380px;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--c-yellow-brand);
  margin-bottom: 1.25rem;
  font-weight: 800;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-list a {
  font-size: 0.92rem;
  color: #CBD5E1;
  transition: color var(--transition-fast);
}

.footer-list a:hover {
  color: var(--c-yellow-brand);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: #F1F5F9;
}

.footer-bottom {
  background: #040A26;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.84rem;
}

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

.footer-sec-note {
  color: var(--c-yellow-brand);
  font-weight: 700;
}

/* ==========================================================================
   BOTÓN FLOTANTE DE WHATSAPP
   ========================================================================== */

.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 62px;
  height: 62px;
  background-color: var(--c-whatsapp);
  color: var(--c-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: all var(--transition-bounce);
  animation: gentle-bounce 4s infinite ease-in-out;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: var(--c-whatsapp-hover);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
  width: 34px;
  height: 34px;
}

.whatsapp-float-tooltip {
  position: absolute;
  right: 74px;
  background: var(--c-navy-brand);
  color: var(--c-white);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--c-yellow-brand);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  pointer-events: none;
  opacity: 0;
  transform: translateX(8px);
  transition: all var(--transition-fast);
}

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

.online-indicator {
  width: 8px;
  height: 8px;
  background-color: var(--c-yellow-brand);
  border-radius: 50%;
  display: inline-block;
}

@keyframes gentle-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ==========================================================================
   SHOWCASE TARJETA DE PRESENTACIÓN CORPORATIVA
   ========================================================================== */

.business-card-showcase {
  margin-top: 3.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid var(--c-yellow-brand);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.card-showcase-img-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border: 3px solid rgba(255, 255, 255, 0.2);
}

.card-showcase-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.card-showcase-img:hover {
  transform: scale(1.02);
}

.card-showcase-caption {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.badge-credential {
  display: inline-block;
  background: var(--c-yellow-brand);
  color: var(--c-navy-brand);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  width: fit-content;
}

.card-showcase-caption strong {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--c-white);
  line-height: 1.3;
}

.card-showcase-caption p {
  font-size: 0.95rem;
  color: #CBD5E1;
  line-height: 1.6;
}

/* ==========================================================================
   RESPONSIVIDAD Y ADAPTACIÓN MÓVIL (SISTEMA 2026 PROFESIONAL)
   Garantiza 100% fluidez, cero desbordamiento horizontal y simetría total
   ========================================================================== */

/* Regla global de protección contra desbordamiento */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 992px) {
  /* Cabecera Móvil: Ocultar botón texto ancho y mostrar botón circular WhatsApp */
  .btn-header-desktop {
    display: none !important;
  }

  .btn-wa-header-mobile {
    display: inline-flex !important;
  }

  .mobile-menu-btn {
    display: flex !important;
  }

  /* Cajón de Navegación Lateral (Drawer Elegante) */
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 86vw;
    max-width: 380px;
    height: 100vh;
    height: 100dvh;
    background: var(--c-white);
    z-index: 1001;
    box-shadow: -10px 0 35px rgba(11, 27, 105, 0.28);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  /* Cabecera dentro del Cajón Móvil */
  .mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.25rem 1.15rem 1.25rem;
    background: var(--c-navy-deep);
    border-bottom: 3px solid var(--c-yellow-brand);
    color: var(--c-white);
  }

  .mobile-nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  .mobile-nav-logo {
    width: 38px;
    height: 38px;
    object-fit: contain;
  }

  .mobile-nav-titles {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
  }

  .mobile-nav-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--c-white);
  }

  .mobile-nav-sub {
    font-size: 0.72rem;
    color: var(--c-yellow-brand);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  .mobile-nav-close {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--c-white);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
  }

  .mobile-nav-close:hover {
    background: var(--c-yellow-brand);
    color: var(--c-navy-brand);
  }

  /* Lista de Enlaces en formato de Tarjetas Simétricas */
  .main-nav .nav-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.85rem;
    flex-grow: 1;
    align-items: stretch;
  }

  .main-nav .nav-list li {
    width: 100%;
  }

  .main-nav .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    font-size: 0.93rem;
    font-weight: 700;
    color: var(--c-navy-brand);
    transition: all var(--transition-fast);
    text-decoration: none;
  }

  .main-nav .nav-link::after {
    display: none;
  }

  .main-nav .nav-link:hover, 
  .main-nav .nav-link:active {
    background: #EFF6FF;
    border-color: var(--c-navy-brand);
    color: var(--c-navy-deep);
    transform: translateX(3px);
  }

  .nav-link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    font-size: 1.1rem;
    margin-right: 0.65rem;
    flex-shrink: 0;
  }

  .nav-link-text {
    flex-grow: 1;
    text-align: left;
    color: var(--c-navy-brand);
  }

  .nav-arrow {
    display: inline-block;
    color: #D97706;
    font-weight: 800;
    font-size: 1.05rem;
    transition: transform var(--transition-fast);
  }

  .main-nav .nav-link:hover .nav-arrow {
    transform: translateX(4px);
  }

  /* Footer Directo dentro del Cajón Móvil */
  .mobile-nav-footer {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.15rem;
    background: #F1F5F9;
    border-top: 2px solid var(--c-slate-200);
  }

  .mobile-executive-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--c-navy-card);
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--c-yellow-brand);
  }

  .mobile-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--c-yellow-brand);
    color: var(--c-navy-brand);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .mobile-exec-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
  }

  .mobile-exec-info strong {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    color: var(--c-white);
  }

  .mobile-exec-info span {
    font-size: 0.72rem;
    color: var(--c-yellow-brand);
    font-weight: 600;
  }

  .mobile-dual-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .btn-navy-outline {
    background: var(--c-white);
    color: var(--c-navy-brand);
    border: 1.5px solid var(--c-navy-brand);
    font-size: 0.82rem;
    padding: 0.55rem 0.5rem;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    font-weight: 700;
  }

  .btn-navy-outline:hover {
    background: var(--c-navy-brand);
    color: var(--c-white);
  }

  .w-100 {
    width: 100% !important;
  }

  /* Layout grids en tablets y pantallas intermedias */
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .spotlight-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ==========================================================================
   OPTIMIZACIÓN PROFUNDA PARA CELULARES (<= 768px)
   ========================================================================== */
@media (max-width: 768px) {
  .section-padding {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  /* Barra Superior en Celulares: Centrada y Ordenada */
  .top-bar {
    padding: 0.4rem 0;
  }

  .top-bar-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.35rem;
  }

  .top-bar-info, 
  .top-bar-actions {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .badge-status {
    font-size: 0.72rem;
    padding: 0.2rem 0.55rem;
    white-space: normal;
    text-align: center;
  }

  /* Cabecera Principal */
  .header-content {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .logo-img {
    width: 46px;
    height: 46px;
  }

  .brand-title {
    font-size: 1.2rem;
  }

  .brand-subtitle {
    font-size: 0.68rem;
  }

  /* Hero Section: Proporciones Perfectas */
  .hero-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .hero-title {
    font-size: clamp(1.85rem, 6.5vw, 2.35rem);
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  .hero-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.85rem;
    margin-bottom: 2rem;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
    padding: 0.9rem 1.25rem;
    font-size: 0.95rem;
  }

  .hero-trust-row {
    flex-direction: column;
    gap: 0.65rem;
    align-items: flex-start;
  }

  /* Hero Media:
     CORRECCIÓN CRÍTICA: En celulares pasa a flujo normal relativo, eliminando 
     cualquier desborde a la derecha o choque de capas */
  .media-img {
    height: 250px;
  }

  .media-card-badge {
    bottom: 0.75rem;
    left: 0.75rem;
    right: 0.75rem;
    padding: 0.65rem 0.85rem;
    gap: 0.65rem;
  }

  .badge-icon-wrap {
    width: 34px;
    height: 34px;
  }

  .badge-icon-wrap svg {
    width: 18px;
    height: 18px;
  }

  .media-card-badge strong {
    font-size: 0.88rem;
  }

  .media-card-badge span {
    font-size: 0.75rem;
  }

  .executive-card {
    position: static !important;
    top: auto !important;
    right: auto !important;
    margin-top: 1.25rem;
    width: 100% !important;
    min-width: unset !important;
    box-shadow: var(--shadow-md);
    padding: 1rem 1.15rem;
  }

  /* Sección Cobertura Territorial */
  .coverage-card {
    padding: 1.75rem 1.15rem;
    border-radius: var(--radius-md);
  }

  .coverage-title {
    font-size: 1.65rem;
  }

  .coverage-desc {
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
  }

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

  .city-box {
    padding: 1.15rem 1rem;
  }

  /* Servicios: Pestañas Deslizables Suaves y Tarjetas 1fr */
  .service-tabs {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 0.65rem;
    margin-bottom: 1.75rem;
    justify-content: flex-start;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    gap: 0.5rem;
  }

  .service-tabs::-webkit-scrollbar {
    display: none;
  }

  .tab-btn {
    flex-shrink: 0;
    font-size: 0.84rem;
    padding: 0.55rem 1.1rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .service-card {
    padding: 1.65rem 1.25rem;
  }

  .service-card-title {
    font-size: 1.25rem;
  }

  /* Secciones Spotlight (Empalmes y Solar) */
  .spotlight-section {
    padding: 3.5rem 0;
  }

  .spotlight-grid {
    gap: 2rem;
  }

  .spotlight-img {
    height: 240px;
  }

  .spotlight-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .spotlight-actions .btn {
    width: 100%;
    text-align: center;
  }

  /* Por Qué Nosotros & Estadísticas */
  .why-us-grid {
    gap: 2.25rem;
  }

  .stat-boxes-row {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .stat-box {
    padding: 1rem;
  }

  /* Asistente de Cotización */
  .quote-wrapper {
    padding: 1.75rem 1.15rem;
    border-radius: var(--radius-md);
  }

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

  .form-control {
    font-size: 16px !important; /* Esencial para que iOS no haga zoom involuntario */
    padding: 0.85rem 1rem;
  }

  .quote-actions .btn {
    width: 100%;
  }

  /* Sección de Contacto */
  .contact-card {
    padding: 1.75rem 1.15rem;
    border-radius: var(--radius-md);
  }

  .contact-details-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .contact-box {
    padding: 1.15rem 1rem;
  }

  .contact-val {
    font-size: 0.98rem;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .business-card-showcase {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.15rem;
  }

  .card-showcase-caption strong {
    font-size: 1.15rem;
  }

  .business-card-showcase .btn {
    width: 100%;
  }

  /* Footer */
  .site-footer {
    padding-top: 3.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom-flex {
    flex-direction: column;
    text-align: center;
    gap: 0.6rem;
  }

  /* Botón Flotante de WhatsApp para Celular */
  .whatsapp-float {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 56px;
    height: 56px;
  }

  .whatsapp-float-tooltip {
    display: none !important;
  }
}

/* ==========================================================================
   PANTALLAS EXTRA PEQUEÑAS (<= 480px: iPhone SE, Galaxy Compactos, etc.)
   ========================================================================== */
@media (max-width: 480px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .brand-subtitle {
    display: none; /* Mantiene la cabecera super limpia y en una sola línea */
  }

  .brand-title {
    font-size: 1.15rem;
  }

  .logo-img {
    width: 42px;
    height: 42px;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .badge-status strong {
    color: var(--c-white);
  }
}


/* ==========================================================================
   AJUSTES 2026-09 (copia de trabajo Claude)
   ========================================================================== */
/* El header sticky con z-index 100 y backdrop-filter atrapaba el menú móvil
   bajo el telón (z-index 998): el menú se veía borroso e inutilizable. */
body.menu-open .site-header {
  z-index: 1000;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.hero-title, .section-title, .spotlight-title { text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--c-yellow-brand); color: var(--c-navy-brand); }
:focus-visible { outline: 3px solid var(--c-yellow-brand); outline-offset: 3px; }
.btn:active { transform: scale(0.97); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.mobile-dual-actions { display: grid; grid-template-columns: 1fr; }
.mobile-dual-actions .btn { width: 100%; justify-content: center; }
