/* ==========================================================================
   ELECTROCLIMA.COM.MX - TEMA CLARO MODERNO Y ARQUITECTÓNICO
   Prioridad: Electroportones (Portones Eléctricos, Motores y Reparación)
   División Especializada: Electriclima (Climatización & Minisplits)
   Cobertura Especializada en Mexicali, B.C. | Tel: 686 163 8376
   ========================================================================== */

/* --- Variables de Diseño y Paletas Claras Dinámicas --- */
:root {
  /* Fuente */
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Fondo y Superficies Claras (Light Architecture) */
  --bg-dark: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  
  /* Textos de Alta Legibilidad */
  --text-main: #1e293b;
  --text-muted: #475569;
  --text-dim: #64748b;
  --text-light: #0f172a;

  /* Bordes y Sombras Suaves */
  --border-subtle: #e2e8f0;
  --border-accent: rgba(37, 99, 235, 0.35);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 24px -4px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 40px -8px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 35px rgba(37, 99, 235, 0.15);

  /* Acentos Dinámicos con Prioridad en Electroportones */
  --accent-porton: #1d4ed8;
  --accent-porton-light: #3b82f6;
  --accent-porton-secondary: #2563eb;
  --accent-porton-gold: #d97706;
  --accent-clima: #0284c7;
  --accent-clima-secondary: #0369a1;
  --accent-clima-warm: #ea580c;
  --accent-whatsapp: #16a34a;
  --accent-whatsapp-hover: #15803d;

  /* Tema Activo Dinámico (Default: Prioridad Portones) */
  --theme-primary: #1d4ed8;
  --theme-secondary: #d97706;
  --theme-glow: rgba(29, 78, 216, 0.14);
  --theme-badge-bg: #eff6ff;
  --theme-badge-text: #1d4ed8;
  --theme-border: #bfdbfe;

  /* Transiciones */
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
}

/* Modos Temáticos Específicos */
body[data-theme="electroportones"] {
  --theme-primary: #1d4ed8;
  --theme-secondary: #d97706;
  --theme-glow: rgba(29, 78, 216, 0.18);
  --theme-badge-bg: #eff6ff;
  --theme-badge-text: #1d4ed8;
  --theme-border: #93c5fd;
}

body[data-theme="electriclima"] {
  --theme-primary: #0284c7;
  --theme-secondary: #ea580c;
  --theme-glow: rgba(2, 132, 199, 0.18);
  --theme-badge-bg: #e0f2fe;
  --theme-badge-text: #0369a1;
  --theme-border: #7dd3fc;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 12%, rgba(29, 78, 216, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 90% 55%, rgba(245, 158, 11, 0.04) 0%, transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(2, 132, 199, 0.04) 0%, transparent 55%);
  background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-light);
  font-weight: 800;
  line-height: 1.2;
}

p {
  color: var(--text-muted);
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}

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

/* --- Barra Superior de Cobertura y Contacto --- */
.top-notice-bar {
  background: #f1f5f9;
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.55rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  position: relative;
  z-index: 101;
}

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

.top-notice-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.top-notice-item strong {
  color: #0f172a;
}

.top-notice-item .pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-whatsapp);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(22, 163, 74, 0.6);
  animation: pulseAnimation 2s infinite;
}

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

.top-notice-social a {
  color: #1d4ed8;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.top-notice-social a:hover {
  color: #1e40af;
  text-decoration: underline;
}

/* --- Header con Logos Adaptados (Prioridad Portones) --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  transition: var(--transition-fast);
}

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

.brand-identity-showcase {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: #ffffff;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.brand-identity-showcase:hover {
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.header-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
}

.header-logo-img.porton-logo {
  max-width: 165px;
  border-radius: 4px;
}

.header-logo-img.clima-logo {
  max-width: 140px;
}

.brand-logos-separator {
  width: 1.5px;
  height: 38px;
  background: #cbd5e1;
}

/* Conmutador y Menú */
.division-mode-switcher {
  display: flex;
  background: #f1f5f9;
  padding: 0.3rem;
  border-radius: var(--radius-full);
  border: 1px solid #cbd5e1;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.mode-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.mode-btn:hover {
  color: #0f172a;
}

.mode-btn.active[data-mode="both"] {
  background: #ffffff;
  color: #1d4ed8;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1);
}

.mode-btn.active[data-mode="electroportones"] {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(29, 78, 216, 0.35);
}

.mode-btn.active[data-mode="electriclima"] {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.3);
}

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

.btn-header-call {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.btn-header-call:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.btn-header-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 800;
  color: #ffffff;
  padding: 0.68rem 1.35rem;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.3);
  transition: var(--transition-smooth);
}

.btn-header-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.45);
}

/* --- Hero Section: Prioridad Electroportones --- */
.hero-dual-section {
  position: relative;
  padding: 4.5rem 0 3.5rem 0;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--border-subtle);
}

.hero-glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.22;
}

.hero-glow-blob.porton {
  top: 5%;
  left: -5%;
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, #3b82f6, transparent 70%);
}

.hero-glow-blob.clima {
  bottom: 5%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #38bdf8, transparent 70%);
}

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

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-badge-capsule {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 800;
  color: #1d4ed8;
  width: fit-content;
}

.hero-title {
  font-size: clamp(2.3rem, 4.6vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.12;
  color: #0f172a;
}

.hero-title .highlight-porton {
  color: #1d4ed8;
}

.hero-title .highlight-clima {
  color: #0284c7;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.65;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 0.5rem;
}

.btn-primary-porton {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 0.95rem 1.8rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 18px rgba(29, 78, 216, 0.35);
  transition: var(--transition-smooth);
}

.btn-primary-porton:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(29, 78, 216, 0.5);
  color: #ffffff;
}

.btn-secondary-clima {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: #f0f9ff;
  border: 1.5px solid #bae6fd;
  color: #0369a1;
  font-weight: 800;
  font-size: 1rem;
  padding: 0.95rem 1.6rem;
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
}

.btn-secondary-clima:hover {
  background: #e0f2fe;
  border-color: #0284c7;
  transform: translateY(-2px);
}

/* Visual Card del Hero */
.hero-visual-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-porton-featured-box {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-subtle);
}

.hero-porton-featured-box img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.hero-porton-featured-box:hover img {
  transform: scale(1.04);
}

.hero-porton-featured-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.9) 100%);
  color: #ffffff;
}

.hero-porton-featured-overlay h4 {
  color: #ffffff;
  font-size: 1.05rem;
}

.hero-porton-featured-overlay p {
  color: #cbd5e1;
  font-size: 0.8rem;
}

/* Sub-tira de beneficios en hero */
.hero-benefits-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.hero-benefit-mini {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #1e293b;
}

.hero-benefit-mini svg {
  color: #1d4ed8;
  flex-shrink: 0;
}

/* --- Tira de Credenciales --- */
.metrics-strip {
  border-bottom: 1px solid var(--border-subtle);
  background: #ffffff;
  padding: 1.85rem 0;
  margin-bottom: 3.5rem;
}

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

.metric-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.metric-icon-box {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.metric-icon-box.porton-box {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
}

.metric-icon-box.mecanica-box {
  background: #fef3c7;
  border: 1px solid #fde68a;
  color: #d97706;
}

.metric-icon-box.urgencias-box {
  background: #fee2e2;
  border: 1px solid #fecaca;
  color: #dc2626;
}

.metric-icon-box.garantia-box {
  background: #dcfce7;
  border: 1px solid #bbf7d0;
  color: #16a34a;
}

.metric-text h4 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
}

.metric-text p {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* --- SECCIÓN PRINCIPAL: ELECTROPORTONES (GRAN ESPACIO Y PRIORIDAD) --- */
.portones-master-section {
  padding: 3rem 0 5rem 0;
  background: #ffffff;
}

.porton-lead-banner {
  background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
  border: 1.5px solid #bfdbfe;
  border-radius: var(--radius-lg);
  padding: 3rem;
  margin-bottom: 4rem;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.porton-lead-content h3 {
  font-size: 2.1rem;
  color: #0f172a;
  margin-bottom: 1rem;
}

.porton-lead-content p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.porton-lead-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.porton-lead-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.98rem;
  color: #1e293b;
  font-weight: 600;
}

.porton-lead-checklist li svg {
  color: #1d4ed8;
  flex-shrink: 0;
  margin-top: 3px;
}

.porton-lead-gallery-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid #cbd5e1;
}

.porton-lead-gallery-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

/* Subsección: Catálogo de Modelos de Portones */
.porton-subblock-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.65rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1.75rem;
}

.porton-subblock-title span.badge {
  font-size: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.porton-models-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 4.5rem;
}

.porton-model-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.porton-model-card:hover {
  transform: translateY(-5px);
  border-color: #93c5fd;
  box-shadow: var(--shadow-md);
}

.porton-model-img-wrap {
  width: 100%;
  height: 220px;
  position: relative;
  overflow: hidden;
  background: #f1f5f9;
}

.porton-model-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.porton-model-card:hover .porton-model-img-wrap img {
  transform: scale(1.06);
}

.porton-model-tag {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.porton-model-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.porton-model-body h4 {
  font-size: 1.25rem;
  color: #0f172a;
  margin-bottom: 0.6rem;
}

.porton-model-body p {
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.porton-model-specs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}

.porton-model-specs li {
  font-size: 0.84rem;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.porton-model-specs li svg {
  color: #1d4ed8;
  flex-shrink: 0;
}

/* Subsección: Motores & Automatizaciones */
.porton-motors-section {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3rem;
  margin-bottom: 4.5rem;
}

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

.motor-card-feature {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.motor-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.motor-text h4 {
  font-size: 1.25rem;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.motor-text p {
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Subsección: Taller Móvil de Reparación Urgente */
.porton-repair-strip {
  background: #ffffff;
  border: 1.5px solid #fed7aa;
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  margin-bottom: 4.5rem;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.porton-repair-content h3 {
  font-size: 1.95rem;
  color: #9a3412;
  margin-bottom: 0.75rem;
}

.porton-repair-content p {
  font-size: 1rem;
  color: #475569;
  margin-bottom: 1.5rem;
}

.repair-chips-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.repair-chip-item {
  background: #fff7ed;
  border: 1px solid #ffedd5;
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #c2410c;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.repair-photo-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid #cbd5e1;
}

.repair-photo-wrap img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

/* Galería Exclusiva de Portones */
.porton-gallery-wrapper {
  margin-bottom: 2rem;
}

.porton-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* --- SEPARADOR ARQUITECTÓNICO CLARO / PUENTE DE DIVISIÓN --- */
.division-separator-bridge {
  background: linear-gradient(135deg, #0f2744 0%, #0c1a2e 100%);
  color: #ffffff;
  padding: 4rem 0;
  margin: 3rem 0;
  position: relative;
  overflow: hidden;
}

.bridge-content {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.bridge-badge {
  display: inline-block;
  background: rgba(56, 189, 248, 0.2);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.bridge-title {
  font-size: clamp(2rem, 3.5vw, 2.7rem);
  color: #ffffff;
  font-weight: 900;
  margin-bottom: 1rem;
}

.bridge-desc {
  font-size: 1.1rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.btn-bridge-explore {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: #0284c7;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 0.95rem 2rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 20px rgba(2, 132, 199, 0.5);
  transition: var(--transition-smooth);
}

.btn-bridge-explore:hover {
  background: #0369a1;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(2, 132, 199, 0.7);
  color: #ffffff;
}

/* --- SECCIÓN ESPECÍFICA: ELECTRICLIMA (CLIMAS & MINISPLITS) --- */
.electriclima-master-section {
  padding: 4rem 0 5rem 0;
  background: #f8fafc;
  border-top: 1px solid var(--border-subtle);
}

.clima-banner-card {
  background: #ffffff;
  border: 1.5px solid #bae6fd;
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  margin-bottom: 3.5rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.75rem;
  align-items: center;
  box-shadow: var(--shadow-md);
}

.clima-banner-content h3 {
  font-size: 1.95rem;
  color: #0f172a;
  margin-bottom: 1rem;
}

.clima-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1.5rem 0;
}

.clima-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #334155;
}

.clima-feature-list li svg {
  color: #0284c7;
  flex-shrink: 0;
  margin-top: 3px;
}

.clima-banner-media {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-subtle);
  position: relative;
}

.clima-banner-media img {
  width: 100%;
  height: 330px;
  object-fit: cover;
}

.clima-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.clima-service-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.clima-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: #0284c7;
}

.clima-service-card:hover {
  transform: translateY(-5px);
  border-color: #7dd3fc;
  box-shadow: var(--shadow-md);
}

.clima-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

/* --- Cotizador Interactivo --- */
.quote-builder-section {
  padding: 5rem 0;
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
}

.quote-builder-wrapper {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
}

.quote-form-side {
  padding: 3rem;
  background: #ffffff;
}

.quote-form-header {
  margin-bottom: 2rem;
}

.quote-form-header h3 {
  font-size: 1.9rem;
  margin-bottom: 0.5rem;
  color: #0f172a;
}

.quote-step-group {
  margin-bottom: 1.75rem;
}

.quote-step-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.75rem;
}

.quote-chips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.65rem;
}

.chip-option {
  position: relative;
}

.chip-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.chip-label {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-sm);
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.chip-option input[type="radio"]:checked + .chip-label {
  background: #eff6ff;
  border-color: #1d4ed8;
  color: #1d4ed8;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(29, 78, 216, 0.15);
}

.quote-select-control {
  width: 100%;
  padding: 0.85rem 1rem;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  color: #0f172a;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  outline: none;
  transition: var(--transition-fast);
}

.quote-select-control:focus {
  border-color: #1d4ed8;
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.15);
}

.quote-summary-side {
  background: #f8fafc;
  border-left: 1px solid var(--border-subtle);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.summary-card-inner {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.summary-badge-title {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #1d4ed8;
  margin-bottom: 1.25rem;
  display: block;
}

.summary-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  border-bottom: 1px dashed #e2e8f0;
  padding-bottom: 0.6rem;
}

.summary-row .label {
  color: var(--text-muted);
}

.summary-row .val {
  color: #0f172a;
  font-weight: 800;
}

.summary-guarantees {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.guarantee-pill {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.84rem;
  color: #334155;
  font-weight: 600;
}

.guarantee-pill svg {
  color: #16a34a;
  flex-shrink: 0;
}

.btn-send-whatsapp-quote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1.15rem;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.08rem;
  box-shadow: 0 4px 18px rgba(22, 163, 74, 0.35);
  transition: var(--transition-smooth);
  margin-top: 2rem;
}

.btn-send-whatsapp-quote:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(22, 163, 74, 0.5);
}

/* --- FAQ & Cobertura --- */
.faq-section {
  padding: 4.5rem 0;
  background: #ffffff;
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.faq-card.open {
  border-color: #94a3b8;
  box-shadow: var(--shadow-md);
}

.faq-question-btn {
  width: 100%;
  padding: 1.35rem 1.65rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
}

.faq-question-btn svg {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  color: #1d4ed8;
}

.faq-card.open .faq-question-btn svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  padding: 0 1.65rem;
}

.faq-card.open .faq-answer {
  max-height: 250px;
  padding-bottom: 1.35rem;
}

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

.coverage-strip-section {
  padding: 3rem 0;
  background: #f1f5f9;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.coverage-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.coverage-zones-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.zone-chip {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-full);
  padding: 0.4rem 0.95rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

/* --- Footer Completo --- */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2.5rem 0;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-dual-logos-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.footer-logos-cards-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-single-logo-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.65rem 1rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-img {
  height: 54px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-logo-img.porton {
  height: 50px;
}

.footer-brand-col p {
  font-size: 0.92rem;
  margin: 1rem 0;
  line-height: 1.65;
  color: var(--text-muted);
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.social-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  transition: var(--transition-fast);
}

.social-icon-btn:hover {
  background: #1877f2;
  border-color: #1877f2;
  color: #ffffff;
  transform: translateY(-2px);
}

.social-icon-btn.wa:hover {
  background: #16a34a;
  border-color: #16a34a;
  color: #ffffff;
}

.footer-col h5 {
  color: #0f172a;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}

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

.footer-links-list li a {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.footer-links-list li a:hover {
  color: #1d4ed8;
  padding-left: 4px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
}

.footer-contact-item svg {
  color: #1d4ed8;
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* Lightbox */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 900px;
  width: 100%;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.lightbox-img-wrapper {
  max-height: 520px;
  overflow: hidden;
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-wrapper img {
  max-height: 520px;
  width: auto;
  object-fit: contain;
}

.lightbox-info {
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
}

.lightbox-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 65px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid #cbd5e1;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.05);
  z-index: 99;
  padding: 0 1rem;
  justify-content: space-around;
  align-items: center;
}

.mobile-bar-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-muted);
}

.mobile-bar-btn svg {
  width: 22px;
  height: 22px;
}

.mobile-bar-btn.active, .mobile-bar-btn:hover {
  color: #1d4ed8;
}

.mobile-bar-btn.highlight {
  color: #16a34a;
}

/* Breakpoints */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .porton-lead-banner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .porton-models-grid {
    grid-template-columns: 1fr;
  }
  .motors-grid {
    grid-template-columns: 1fr;
  }
  .porton-repair-strip {
    grid-template-columns: 1fr;
  }
  .porton-gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .clima-banner-card {
    grid-template-columns: 1fr;
  }
  .clima-services-grid {
    grid-template-columns: 1fr;
  }
  .clima-gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .quote-builder-wrapper {
    grid-template-columns: 1fr;
  }
  .quote-summary-side {
    border-left: none;
    border-top: 1px solid var(--border-subtle);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .top-notice-bar {
    display: none;
  }
  .nav-container {
    height: 76px;
  }
  .division-mode-switcher {
    display: none;
  }
  .btn-header-call {
    display: none;
  }
  .header-logo-img {
    height: 42px;
  }
  .metrics-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .quote-form-side, .quote-summary-side {
    padding: 1.75rem;
  }
  .porton-lead-banner {
    padding: 1.75rem;
  }
  .porton-repair-strip {
    padding: 1.75rem;
  }
  .porton-gallery-grid {
    grid-template-columns: 1fr;
  }
  .clima-gallery-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .mobile-bottom-bar {
    display: flex;
  }
  body {
    padding-bottom: 65px;
  }
}
