/* ==========================================================================
   DELTA NOVA - ESTILOS PRINCIPALES
   Ingeniería Mecatrónica, Eléctrica y Sistemas Fotovoltaicos
   Tepic, Nayarit | WhatsApp: 33 4466 3205
   ========================================================================== */

:root {
  /* Paleta Corporativa Delta Nova */
  --primary-blue: #0284c7;
  --primary-blue-dark: #0369a1;
  --primary-blue-light: #38bdf8;
  --primary-blue-glow: rgba(14, 165, 233, 0.25);
  
  --accent-green: #16a34a;
  --accent-green-light: #22c55e;
  --accent-green-glow: rgba(34, 197, 94, 0.25);
  
  --dark-bg: #090e17;
  --dark-surface: #0f172a;
  --dark-card: #182234;
  --dark-border: rgba(255, 255, 255, 0.08);
  
  --light-bg: #f8fafc;
  --light-surface: #ffffff;
  --light-border: #e2e8f0;
  
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  --text-light-muted: #94a3b8;
  
  --metal-gray: #475569;
  --metal-silver: #94a3b8;
  
  --whatsapp-green: #25d366;
  --whatsapp-hover: #1ebd57;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.12);
  --shadow-blue: 0 10px 25px rgba(2, 132, 199, 0.3);
  --shadow-green: 0 10px 25px rgba(22, 163, 74, 0.3);
  
  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-main);
  background-color: var(--light-bg);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

svg {
  max-width: 100%;
  flex-shrink: 0;
}

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

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   TOP BAR DE CONTACTO Y UBICACIÓN
   ========================================================================== */
.top-bar {
  background: #060911;
  color: #94a3b8;
  font-size: 0.82rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.top-bar-item svg {
  width: 15px;
  height: 15px;
  color: var(--primary-blue-light);
}

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

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.badge-tagline {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.75rem;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

/* ==========================================================================
   HEADER Y NAVBAR FLOTANTE
   ========================================================================== */
.navbar-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 78px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  min-width: max-content;
}

.brand-logo-img {
  width: 50px;
  height: 50px;
  max-width: 50px;
  max-height: 50px;
  border-radius: var(--radius-sm);
  object-fit: contain;
  background: #ffffff;
  padding: 3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.brand-text-block {
  display: flex;
  flex-direction: column;
  min-width: max-content;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  line-height: 1.1;
  white-space: nowrap;
}

.brand-name span {
  color: var(--primary-blue);
}

.brand-subtext {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-green);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  flex-shrink: 0;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: #334155;
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  display: inline-block;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-blue);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-green));
  transition: width 0.25s ease;
  border-radius: 2px;
}

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

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

/* Selector de Idioma (ES | EN) */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-full);
  padding: 3px 8px;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
  color: #64748b;
  flex-shrink: 0;
  user-select: none;
}

.lang-switch .lang-btn {
  display: inline-block;
  padding: 3px 6px;
  border-radius: var(--radius-full);
  color: #64748b;
  text-decoration: none;
  transition: var(--transition);
}

.lang-switch .lang-btn:hover {
  color: var(--primary-blue-dark);
}

.lang-switch .lang-btn.active {
  background: #ffffff;
  color: var(--primary-blue-dark);
  font-weight: 800;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.lang-switch .lang-divider {
  color: #94a3b8;
  font-size: 0.75rem;
  padding: 0 1px;
}

.mobile-lang-item {
  display: none !important;
}

.mobile-lang-item a {
  color: var(--primary-blue);
  text-decoration: underline;
  font-weight: 700;
}

.btn-nav-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--whatsapp-green);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: var(--transition);
}

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

.btn-nav-whatsapp svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

/* Botón Hamburguesa Móvil */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #0f172a;
}

.mobile-toggle svg {
  width: 26px;
  height: 26px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #070d18 0%, #0d1a2d 60%, #081220 100%);
  color: #ffffff;
  padding: 80px 0 100px;
  overflow: hidden;
}

.hero-glow-1 {
  position: absolute;
  top: -120px;
  left: 10%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.25) 0%, rgba(14, 165, 233, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  bottom: -150px;
  right: 5%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.18) 0%, rgba(34, 197, 94, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  color: #7dd3fc;
  margin-bottom: 22px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 10px #22c55e;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
  100% { transform: scale(1); opacity: 1; }
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}

.hero-title .highlight-blue {
  background: linear-gradient(90deg, #38bdf8, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title .highlight-green {
  background: linear-gradient(90deg, #4ade80, #22c55e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.12rem;
  line-height: 1.7;
  color: #cbd5e1;
  margin-bottom: 34px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 700;
  box-shadow: var(--shadow-blue);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(2, 132, 199, 0.45);
}

.btn-primary svg {
  width: 20px;
  height: 20px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  padding: 15px 28px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-3px);
}

.btn-secondary svg {
  width: 20px;
  height: 20px;
  color: var(--whatsapp-green);
}

/* Trust Pill list */
.hero-trust-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: #94a3b8;
  font-weight: 500;
}

.hero-trust-item svg {
  width: 18px;
  height: 18px;
  color: #22c55e;
  flex-shrink: 0;
}

/* Hero Visual Card & Crossfade Carousel */
.hero-visual-card.hero-carousel {
  position: relative;
  height: 440px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.14);
  user-select: none;
}

.hero-carousel-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.65s;
  z-index: 1;
}

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

.hero-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.hero-carousel-slide.active .hero-visual-img {
  transform: scale(1.02);
}

.hero-carousel-btn {
  position: absolute;
  top: 44%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
  padding: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.hero-carousel-btn svg {
  width: 18px;
  height: 18px;
}

.hero-carousel-btn:hover {
  background: var(--primary-blue);
  transform: translateY(-50%) scale(1.12);
}

.hero-carousel-prev {
  left: 14px;
}

.hero-carousel-next {
  right: 14px;
}

.hero-carousel-top-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 20;
  pointer-events: none;
}

.hero-verified-pill {
  background: rgba(16, 185, 129, 0.95);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.hero-carousel-counter {
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-carousel-dots {
  position: absolute;
  bottom: 96px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 20;
}

.hero-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: width 0.25s, background-color 0.25s, border-radius 0.25s;
}

.hero-carousel-dot.active {
  width: 22px;
  border-radius: 4px;
  background: var(--accent-green);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.7);
}

.hero-floating-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  z-index: 10;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.floating-badge-info h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.floating-badge-info p {
  font-size: 0.8rem;
  color: #94a3b8;
}

.floating-badge-tag {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(34, 197, 94, 0.4);
  white-space: nowrap;
}

/* ==========================================================================
   METRICS BAR (ESTADÍSTICAS RÁPIDAS)
   ========================================================================== */
.metrics-section {
  background: #ffffff;
  padding: 40px 0;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.metric-item {
  padding: 12px 16px;
  border-right: 1px solid #e2e8f0;
}

.metric-item:last-child {
  border-right: none;
}

.metric-number {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--primary-blue-dark);
  line-height: 1;
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.metric-number .metric-accent {
  color: var(--accent-green);
}

.metric-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 4px;
}

.metric-sub {
  font-size: 0.8rem;
  color: #64748b;
}

/* ==========================================================================
   CALCULADORA DE AHORRO CFE INTERACTIVA
   ========================================================================== */
.calculator-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #edf4fc 100%);
  position: relative;
}

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

.section-pill {
  display: inline-block;
  background: rgba(2, 132, 199, 0.1);
  color: var(--primary-blue);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.05rem;
  color: #64748b;
  line-height: 1.6;
}

.calculator-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.8);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* Columna de Controles */
.calc-controls {
  padding: 48px;
  border-right: 1px solid #e2e8f0;
}

.calc-group {
  margin-bottom: 32px;
}

.calc-label {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 10px;
}

/* Selector de Región en Calculadora (Nayarit / Jalisco) */
.region-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.region-btn {
  background: #ffffff;
  border: 2px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.region-btn:hover {
  border-color: #93c5fd;
  background: #f8fafc;
}

.region-btn.active {
  background: #eff6ff;
  border-color: var(--primary-blue);
  color: var(--primary-blue-dark);
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.15);
}

/* Selector de Tarifa */
.tariff-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.tariff-btn {
  background: #f1f5f9;
  border: 2px solid transparent;
  padding: 12px 10px;
  border-radius: var(--radius-md);
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.tariff-btn.active {
  background: #eff6ff;
  border-color: var(--primary-blue);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.15);
}

.tariff-btn-title {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f172a;
}

.tariff-btn.active .tariff-btn-title {
  color: var(--primary-blue-dark);
}

.tariff-btn-sub {
  display: block;
  font-size: 0.74rem;
  color: #64748b;
  margin-top: 2px;
}

/* Input y Slider de Recibo */
.bill-display-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 2px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 14px 20px;
  margin-bottom: 16px;
  transition: var(--transition);
}

.bill-display-box:focus-within {
  border-color: var(--primary-blue);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.12);
}

.bill-currency {
  font-size: 1.6rem;
  font-weight: 800;
  color: #64748b;
}

.bill-input-field {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 1.8rem;
  font-weight: 800;
  color: #0f172a;
  text-align: right;
  outline: none;
}

.calc-slider {
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: #e2e8f0;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary-blue);
  cursor: pointer;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.4);
  transition: transform 0.15s ease;
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.slider-markers {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 8px;
}

/* Columna de Resultados */
.calc-results {
  background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.results-header h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: #ffffff;
}

.results-header p {
  font-size: 0.88rem;
  color: #94a3b8;
  margin-bottom: 24px;
}

.comparison-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

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

.comparison-item.current {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.comp-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  margin-bottom: 4px;
}

.comp-value.red {
  font-size: 1.4rem;
  font-weight: 800;
  color: #f87171;
  text-decoration: line-through;
}

.comp-value.green {
  font-size: 1.7rem;
  font-weight: 800;
  color: #4ade80;
}

.key-metric-banner {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  text-align: center;
  margin-bottom: 24px;
}

.banner-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: #86efac;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.banner-amount {
  font-size: 2.2rem;
  font-weight: 900;
  color: #ffffff;
  margin: 4px 0;
}

.banner-sub {
  font-size: 0.82rem;
  color: #cbd5e1;
}

/* Mini Especificaciones Técnicas Calculadas */
.tech-spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.tech-spec-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 12px 10px;
  text-align: center;
}

.tech-spec-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: #38bdf8;
}

.tech-spec-lbl {
  font-size: 0.72rem;
  color: #94a3b8;
  margin-top: 2px;
}

.btn-calc-whatsapp,
.btn-calc-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--whatsapp-green);
  color: #ffffff;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 800;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
  transition: var(--transition);
  text-align: center;
}

.btn-calc-whatsapp:hover,
.btn-calc-cta:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.5);
}

.btn-calc-whatsapp svg,
.btn-calc-cta svg {
  width: 22px !important;
  height: 22px !important;
  max-width: 22px !important;
  max-height: 22px !important;
  min-width: 22px !important;
  min-height: 22px !important;
  fill: currentColor !important;
  flex-shrink: 0 !important;
}

.calc-guarantee-note {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f1f5f9;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  color: #475569;
  margin-top: 16px;
}

.calc-guarantee-note svg {
  width: 20px !important;
  height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  flex-shrink: 0 !important;
  color: var(--primary-blue);
}

.calculator-card svg,
.calc-card svg {
  max-width: 24px;
  max-height: 24px;
}

.calc-disclaimer {
  font-size: 0.74rem;
  color: #94a3b8;
  text-align: center;
  line-height: 1.5;
  margin-top: 14px;
  opacity: 0.85;
}

/* ==========================================================================
   SERVICIOS DE INGENIERÍA
   ========================================================================== */
.services-section {
  padding: 100px 0;
  background: #ffffff;
}

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

.service-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-green));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon-box {
  width: 62px;
  height: 62px;
  border-radius: var(--radius-md);
  background: rgba(2, 132, 199, 0.1);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition);
}

.service-card:hover .service-icon-box {
  background: var(--primary-blue);
  color: #ffffff;
}

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

.service-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.94rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-features {
  list-style: none;
  margin-bottom: 24px;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 8px;
}

.service-features li svg {
  width: 16px;
  height: 16px;
  color: var(--accent-green);
  flex-shrink: 0;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-blue);
}

.service-link:hover {
  gap: 10px;
  color: var(--primary-blue-dark);
}

/* Banner Especial de Electromovilidad / Cargadores EV */
.ev-charger-banner {
  margin-top: 48px;
  background: linear-gradient(135deg, #091320 0%, #0c2340 100%);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: 0 12px 30px rgba(12, 35, 64, 0.25);
  position: relative;
  overflow: hidden;
}

.ev-charger-banner::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.ev-charger-content {
  flex: 1;
}

.ev-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(34, 197, 94, 0.18);
  color: #4ade80;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(34, 197, 94, 0.35);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ev-charger-content h3 {
  color: #ffffff;
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.3;
}

.ev-charger-content p {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 780px;
  margin: 0;
}

.btn-ev-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  padding: 14px 26px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 700;
  transition: var(--transition);
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.35);
  flex-shrink: 0;
}

.btn-ev-cta:hover {
  background: #38bdf8;
  color: #091320;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(56, 189, 248, 0.45);
}

/* ==========================================================================
   TECNOLOGÍA Y COMPONENTES DE PRIMERA LÍNEA
   ========================================================================== */
.tech-section {
  padding: 100px 0;
  background: #090e17;
  color: #ffffff;
  position: relative;
}

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

.tech-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
}

.tech-content p {
  font-size: 1.05rem;
  color: #94a3b8;
  margin-bottom: 32px;
  line-height: 1.7;
}

.tech-pillars {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tech-pillar-item {
  display: flex;
  gap: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.tech-pillar-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(56, 189, 248, 0.3);
  transform: translateX(6px);
}

.tech-pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(14, 165, 233, 0.15);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tech-pillar-icon svg {
  width: 24px;
  height: 24px;
}

.tech-pillar-text h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.tech-pillar-text p {
  font-size: 0.88rem;
  color: #94a3b8;
  margin-bottom: 0;
  line-height: 1.5;
}

.tech-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.tech-visual img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.tech-badge-overlay {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.tech-badge-overlay svg {
  width: 28px;
  height: 28px;
  color: #38bdf8;
}

.tech-badge-overlay div h5 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
}

.tech-badge-overlay div span {
  font-size: 0.76rem;
  color: #94a3b8;
}

/* ==========================================================================
   PROCESO DE 5 PASOS HACIA TU AHORRO
   ========================================================================== */
.process-section {
  padding: 100px 0;
  background: #f8fafc;
}

.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
}

.process-card {
  background: #ffffff;
  padding: 30px 22px;
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
  position: relative;
  text-align: center;
  transition: var(--transition);
}

.process-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-blue);
}

.step-number {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-blue);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3);
}

.process-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: #eff6ff;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px auto 18px;
}

.process-icon-wrap svg {
  width: 24px;
  height: 24px;
}

.process-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.process-desc {
  font-size: 0.84rem;
  color: #64748b;
  line-height: 1.5;
}

/* ==========================================================================
   PROYECTOS Y CASOS DE ÉXITO EN NAYARIT
   ========================================================================== */
.projects-section {
  padding: 100px 0;
  background: #ffffff;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.project-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.project-img-box {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.project-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-img-box:not(.project-carousel) img {
  transform: scale(1.06);
}

.project-body {
  padding: 24px;
}

.project-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.project-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  color: #64748b;
  margin-bottom: 16px;
}

.project-location svg {
  width: 14px;
  height: 14px;
  color: var(--primary-blue);
}

.project-stats-row {
  display: flex;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}

.p-stat h5 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--accent-green);
}

.p-stat span {
  font-size: 0.74rem;
  color: #94a3b8;
}

.project-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  z-index: 12;
}

.project-img-note {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #cbd5e1;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 12;
}

.project-img-note.verified {
  background: rgba(16, 185, 129, 0.92);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

.project-img-top {
  object-position: top center !important;
}

.project-img-center {
  object-position: center center !important;
}

/* ==========================================================================
   CARRUSEL DE PROYECTO (CASOS DE ÉXITO)
   ========================================================================== */
.project-carousel {
  position: relative;
  height: 240px;
  overflow: hidden;
  user-select: none;
  touch-action: pan-y;
}

.carousel-track {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-slide {
  flex: 0 0 100%;
  min-width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.project-card:hover .carousel-slide img {
  transform: scale(1.04);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 15;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  padding: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.carousel-btn svg {
  width: 16px;
  height: 16px;
}

.carousel-btn:hover {
  background: var(--primary-blue);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-50%) scale(1.12);
}

.carousel-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-prev {
  left: 10px;
}

.carousel-next {
  right: 10px;
}

.carousel-counter {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 12;
  letter-spacing: 0.4px;
}

.carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 12;
}

.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: width 0.25s ease, background-color 0.25s ease, border-radius 0.25s ease;
}

.carousel-dot:hover {
  background: rgba(255, 255, 255, 0.85);
}

.carousel-dot.active {
  width: 18px;
  border-radius: 4px;
  background: var(--accent-green);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

.projects-disclaimer-note {
  font-size: 0.78rem;
  color: #64748b;
  text-align: center;
  max-width: 860px;
  margin: 32px auto 0;
  line-height: 1.55;
}

/* ==========================================================================
   PREGUNTAS FRECUENTES (FAQ)
   ========================================================================== */
.faq-section {
  padding: 100px 0;
  background: #f8fafc;
}

.faq-wrapper {
  max-width: 840px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--primary-blue);
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.1);
}

.faq-question {
  width: 100%;
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--primary-blue);
}

.faq-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--primary-blue);
  color: #ffffff;
}

.faq-icon svg {
  width: 14px;
  height: 14px;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 22px;
}

.faq-answer p {
  font-size: 0.94rem;
  color: #64748b;
  line-height: 1.6;
}

/* ==========================================================================
   CONTACTO Y FORMULARIO DE COTIZACIÓN
   ========================================================================== */
.contact-section {
  padding: 100px 0;
  background: #ffffff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
}

.contact-info-card {
  background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 44px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info-card h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.contact-info-card p {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 32px;
}

.contact-points {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 40px;
}

.contact-point {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.point-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(2, 132, 199, 0.2);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.point-text h5 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
  margin-bottom: 3px;
}

.point-text a, .point-text span {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
}

.point-text a:hover {
  color: #38bdf8;
}

.social-links-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.social-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}

.social-btn svg {
  width: 18px;
  height: 18px;
}

/* Formulario */
.contact-form-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 44px;
}

.contact-form-card h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}

.contact-form-card p {
  font-size: 0.92rem;
  color: #64748b;
  margin-bottom: 28px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 6px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-md);
  background: #ffffff;
  font-size: 0.95rem;
  color: #0f172a;
  outline: none;
  transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
}

.btn-form-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
  color: #ffffff;
  padding: 16px;
  border-radius: var(--radius-md);
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-blue);
  transition: var(--transition);
}

.btn-form-submit:hover {
  background: linear-gradient(135deg, #0ea5e9 0%, var(--primary-blue) 100%);
  transform: translateY(-2px);
}

.btn-form-submit svg {
  width: 20px;
  height: 20px;
}

.form-privacy-note {
  font-size: 0.78rem;
  color: #94a3b8;
  text-align: center;
  margin-top: 14px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #060a12;
  color: #94a3b8;
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 1.1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 18px 0 24px;
  color: #94a3b8;
}

.footer-col-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.88rem;
  color: #94a3b8;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  margin-bottom: 14px;
  color: #cbd5e1;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--primary-blue-light);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a:hover {
  color: #ffffff;
}

/* ==========================================================================
   BOTÓN FLOTANTE DE WHATSAPP
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--whatsapp-green);
  color: #ffffff;
  padding: 14px 22px;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
  animation: float-pulse 3s infinite;
}

.floating-whatsapp:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 14px 35px rgba(37, 211, 102, 0.6);
}

.floating-whatsapp svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

@keyframes float-pulse {
  0% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45); }
  50% { box-shadow: 0 10px 45px rgba(37, 211, 102, 0.7); }
  100% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45); }
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES MEJORADO PARA MÓVILES)
   ========================================================================== */

/* 1. Laptops Medianas (1141px - 1280px) */
@media (min-width: 1141px) and (max-width: 1280px) {
  .navbar-inner {
    gap: 12px;
  }
  .nav-links {
    gap: 12px;
  }
  .nav-link {
    font-size: 0.84rem;
  }
  .btn-nav-whatsapp {
    padding: 9px 14px;
    font-size: 0.82rem;
  }
}

/* 2. Tablets y Pantallas Medianas (<= 1140px) */
@media (max-width: 1140px) {
  .nav-links {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px 24px 28px;
    gap: 6px;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
    max-height: calc(100dvh - 78px);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    pointer-events: none;
    z-index: 999;
  }
  
  .nav-links.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-link {
    display: block;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    transition: background 0.2s, color 0.2s, transform 0.2s;
  }

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

  .nav-link:hover, .nav-link.active {
    background: #eff6ff;
    color: var(--primary-blue);
    transform: translateX(4px);
  }

  .mobile-lang-item {
    display: flex !important;
    align-items: center;
    gap: 8px;
    padding: 14px 14px 8px;
    border-top: 1px solid #e2e8f0;
    margin-top: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #475569;
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
    padding: 7px 9px;
    color: #0f172a;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
  }

  .mobile-toggle.active {
    background: #eff6ff;
    border-color: var(--primary-blue);
    color: var(--primary-blue);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-description {
    margin: 0 auto 30px;
  }
  
  .hero-cta-group {
    justify-content: center;
  }
  
  .hero-trust-list {
    max-width: 520px;
    margin: 0 auto;
  }
  
  .calculator-card {
    grid-template-columns: 1fr;
  }
  
  .calc-controls {
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
  }
  
  .services-grid, .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .tech-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .process-steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 3. Móviles y Tablets Pequeñas (<= 768px) */
@media (max-width: 768px) {
  .container {
    padding: 0 18px;
  }

  .top-bar {
    padding: 6px 0;
    font-size: 0.76rem;
  }

  .top-bar-inner {
    justify-content: center;
  }

  .top-bar-left {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    text-align: center;
  }

  .top-bar-right {
    display: none;
  }

  .navbar-inner {
    height: 72px;
  }

  .hero-section {
    padding: 44px 0 54px;
  }

  .hero-badge {
    font-size: 0.74rem;
    padding: 5px 12px;
    margin-bottom: 14px;
    line-height: 1.35;
    text-align: center;
  }

  .hero-title {
    font-size: clamp(1.7rem, 6vw, 2.2rem);
    line-height: 1.25;
    margin-bottom: 16px;
  }

  .hero-description {
    font-size: 0.94rem;
    line-height: 1.6;
    margin-bottom: 24px;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-bottom: 28px;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 0.95rem;
  }

  .hero-trust-list {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-top: 18px;
    text-align: left;
    max-width: 100%;
  }

  .hero-trust-item {
    font-size: 0.84rem;
    justify-content: flex-start;
  }

  /* Hero Visual Carrusel en Móvil */
  .hero-visual-card.hero-carousel {
    height: 330px;
    border-radius: var(--radius-md);
  }

  .hero-floating-badge {
    bottom: 10px;
    left: 10px;
    right: 10px;
    padding: 10px 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    border-radius: var(--radius-sm);
  }

  .floating-badge-info h4 {
    font-size: 0.86rem;
    line-height: 1.2;
    margin-bottom: 2px;
  }

  .floating-badge-info p {
    font-size: 0.74rem;
    line-height: 1.35;
  }

  .floating-badge-tag {
    font-size: 0.68rem;
    padding: 3px 8px;
  }

  .hero-carousel-dots {
    bottom: 96px;
    right: 14px;
  }

  .hero-carousel-btn {
    width: 32px;
    height: 32px;
  }

  .hero-carousel-btn svg {
    width: 15px;
    height: 15px;
  }

  .hero-carousel-prev {
    left: 8px;
  }

  .hero-carousel-next {
    right: 8px;
  }

  .hero-carousel-top-badge {
    top: 10px;
    left: 10px;
    right: 10px;
  }

  /* Secciones Espaciado */
  .metrics-section {
    padding: 28px 0;
  }

  .calculator-section,
  .services-section,
  .tech-section,
  .process-section,
  .projects-section,
  .faq-section,
  .contact-section {
    padding: 50px 0;
  }

  .section-header {
    margin-bottom: 30px;
  }

  .section-title {
    font-size: clamp(1.6rem, 5.5vw, 2.1rem);
    margin-bottom: 10px;
    line-height: 1.25;
  }

  .section-subtitle {
    font-size: 0.92rem;
    line-height: 1.5;
  }

  /* Métricas */
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 12px;
  }

  .metric-item {
    border-right: none;
    padding: 8px 4px;
  }

  .metric-number {
    font-size: 1.85rem;
    line-height: 1.1;
  }

  .metric-label {
    font-size: 0.84rem;
    line-height: 1.25;
  }

  .metric-sub {
    font-size: 0.72rem;
    line-height: 1.3;
  }

  /* Calculadora Móvil */
  .calc-controls {
    padding: 22px 16px;
  }

  .calc-group {
    margin-bottom: 20px;
  }

  .tariff-options {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .tariff-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    text-align: left;
  }

  .tariff-btn-title {
    font-size: 0.88rem;
  }

  .tariff-btn-sub {
    font-size: 0.74rem;
    margin-top: 0;
  }

  .bill-display-box {
    padding: 10px 14px;
    margin-bottom: 12px;
  }

  .bill-currency {
    font-size: 1.3rem;
  }

  .bill-input-field {
    font-size: 1.5rem;
  }

  .calc-results {
    padding: 24px 16px;
  }

  .results-header h3 {
    font-size: 1.25rem;
  }

  .results-header p {
    font-size: 0.82rem;
    margin-bottom: 18px;
  }

  .comparison-box {
    padding: 14px 12px;
    gap: 10px;
    margin-bottom: 18px;
  }

  .comp-label {
    font-size: 0.72rem;
  }

  .comp-value.red {
    font-size: 1.2rem;
  }

  .comp-value.green {
    font-size: 1.45rem;
  }

  .key-metric-banner {
    padding: 14px 12px;
    margin-bottom: 18px;
  }

  .banner-amount {
    font-size: 1.85rem;
  }

  .banner-sub {
    font-size: 0.76rem;
  }

  .tech-spec-grid {
    gap: 8px;
    margin-bottom: 20px;
  }

  .tech-spec-box {
    padding: 8px 4px;
  }

  .tech-spec-val {
    font-size: 0.96rem;
  }

  .tech-spec-lbl {
    font-size: 0.65rem;
  }

  .btn-calc-whatsapp {
    padding: 14px 16px;
    font-size: 0.92rem;
    width: 100%;
  }

  .calc-disclaimer {
    font-size: 0.7rem;
    line-height: 1.45;
  }

  /* Servicios & Tecnología */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card {
    padding: 24px 18px;
  }

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

  .service-desc {
    font-size: 0.88rem;
    margin-bottom: 16px;
  }

  .ev-charger-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
    gap: 20px;
    margin-top: 32px;
  }

  .ev-charger-content h3 {
    font-size: 1.25rem;
  }

  .ev-charger-content p {
    font-size: 0.88rem;
  }

  .btn-ev-cta {
    width: 100%;
    text-align: center;
  }

  .tech-content h2 {
    font-size: clamp(1.6rem, 5.5vw, 2.1rem);
  }

  .tech-content p {
    font-size: 0.9rem;
    margin-bottom: 22px;
  }

  .tech-pillar-item {
    padding: 14px 14px;
    gap: 12px;
  }

  .tech-pillar-icon {
    width: 40px;
    height: 40px;
  }

  .tech-pillar-icon svg {
    width: 20px;
    height: 20px;
  }

  .tech-pillar-text h4 {
    font-size: 0.98rem;
  }

  .tech-pillar-text p {
    font-size: 0.82rem;
  }

  .tech-visual img {
    height: 260px;
  }

  .tech-badge-overlay {
    bottom: 10px;
    left: 10px;
    right: 10px;
    justify-content: center;
    padding: 8px 12px;
  }

  .tech-badge-overlay svg {
    width: 22px;
    height: 22px;
  }

  .tech-badge-overlay div h5 {
    font-size: 0.82rem;
  }

  .tech-badge-overlay div span {
    font-size: 0.7rem;
  }

  /* Proceso en 5 Pasos */
  .process-steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .process-card {
    padding: 26px 18px 18px;
  }

  .process-title {
    font-size: 1.02rem;
  }

  .process-desc {
    font-size: 0.84rem;
  }

  /* Proyectos */
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .project-img-box, .project-carousel {
    height: 210px;
  }

  .project-body {
    padding: 18px 16px;
  }

  .project-title {
    font-size: 1.1rem;
  }

  .p-stat h5 {
    font-size: 0.96rem;
  }

  .p-stat span {
    font-size: 0.7rem;
  }

  /* FAQ Accordion */
  .faq-question {
    padding: 16px 16px;
    font-size: 0.94rem;
    gap: 10px;
  }

  .faq-item.active .faq-answer {
    padding: 0 16px 16px;
  }

  .faq-answer p {
    font-size: 0.86rem;
  }

  /* Contacto */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-info-card {
    padding: 24px 18px;
  }

  .contact-info-card h3 {
    font-size: 1.45rem;
  }

  .contact-info-card p {
    font-size: 0.88rem;
    margin-bottom: 20px;
  }

  .contact-points {
    gap: 14px;
    margin-bottom: 24px;
  }

  .point-icon {
    width: 38px;
    height: 38px;
  }

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

  .point-text a, .point-text span {
    font-size: 0.92rem;
  }

  .social-links-bar {
    padding-top: 18px;
  }

  .social-btn {
    padding: 8px 14px;
    font-size: 0.82rem;
  }

  .contact-form-card {
    padding: 24px 18px;
  }

  .contact-form-card h3 {
    font-size: 1.35rem;
  }

  .contact-form-card p {
    font-size: 0.86rem;
    margin-bottom: 20px;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-input, .form-select, .form-textarea {
    padding: 11px 14px;
    font-size: 0.9rem;
  }

  .btn-form-submit {
    padding: 14px;
    font-size: 0.96rem;
  }

  /* Footer */
  .site-footer {
    padding: 44px 0 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    padding-top: 20px;
  }

  .footer-bottom-links {
    justify-content: center;
  }

  /* Botón Flotante WhatsApp */
  .floating-whatsapp {
    bottom: 18px;
    right: 18px;
    width: 52px;
    height: 52px;
    padding: 0;
    justify-content: center;
  }

  .floating-whatsapp span {
    display: none;
  }

  .floating-whatsapp svg {
    width: 26px;
    height: 26px;
  }
}

/* 4. Teléfonos Pequeños (<= 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 14px;
  }

  .top-bar-info {
    display: none;
  }

  .brand-subtext {
    display: none;
  }

  .brand-name {
    font-size: 1.12rem;
  }

  .brand-logo-img {
    width: 40px;
    height: 40px;
    max-width: 40px;
    max-height: 40px;
  }

  .navbar-actions {
    gap: 8px;
  }

  .lang-switch {
    padding: 2px 5px;
    font-size: 0.72rem;
  }

  .lang-switch .lang-btn {
    padding: 2px 4px;
  }

  .btn-nav-whatsapp {
    padding: 8px 12px;
    font-size: 0.78rem;
    gap: 5px;
  }

  .btn-nav-whatsapp svg {
    width: 15px;
    height: 15px;
  }

  .hero-visual-card.hero-carousel {
    height: 290px;
  }

  .hero-carousel-dots {
    bottom: 84px;
  }
}

/* 5. Teléfonos Muy Pequeños (<= 360px) */
@media (max-width: 360px) {
  .btn-nav-whatsapp span {
    display: none;
  }

  .btn-nav-whatsapp {
    padding: 8px;
    border-radius: 50%;
  }

  .btn-nav-whatsapp svg {
    width: 16px;
    height: 16px;
  }

  .floating-whatsapp {
    bottom: 14px;
    right: 14px;
    width: 48px;
    height: 48px;
  }
}
