/* ==========================================================================
   SOLARITY PANELES SOLARES - ESTILOS PRINCIPALES
   Colores Corporativos:
   - Pantone 3005 CP: #0088ce (RGB: 0, 136, 206)
   - Cool Gray 6 CP:  #a4a7a9 (RGB: 164, 167, 169)
   - Accent Gold:     #d4af37 (Sello Garantía Solarity)
   ========================================================================== */

:root {
  --primary: #0088ce;
  --primary-hover: #0073b0;
  --primary-light: #e6f4fc;
  --primary-dark: #005a8b;
  --cool-gray: #a4a7a9;
  --cool-gray-light: #f1f3f5;
  --cool-gray-dark: #6c757d;
  --dark-bg: #091524;
  --dark-surface: #0f223a;
  --dark-card: #152d4c;
  --gold-primary: #d4af37;
  --gold-light: #f7e7a9;
  --gold-dark: #997c1d;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  --white: #ffffff;
  --border-light: #e2e8f0;
  --border-dark: #1e3a5f;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 40px -10px rgba(0, 136, 206, 0.18);
  --shadow-dark: 0 20px 45px -10px rgba(0, 0, 0, 0.45);
  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base & Reset */
*, *::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-family);
  color: var(--text-main);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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;
}

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

/* Typography Helpers */
.text-primary { color: var(--primary) !important; }
.text-gold { color: var(--gold-primary) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-light { color: var(--text-light) !important; }
.text-center { text-align: center; }

/* Section Badges */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(0, 136, 206, 0.1);
  color: var(--primary);
  border: 1px solid rgba(0, 136, 206, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.badge-pill.badge-dark {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.badge-pill.badge-gold {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-primary);
  border-color: rgba(212, 175, 55, 0.35);
}

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

.section-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-title.title-white {
  color: var(--white);
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.section-desc.desc-light {
  color: #94a3b8;
}

/* Buttons matching ShineM5 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 136, 206, 0.35);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 136, 206, 0.45);
}

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

.btn-outline-white:hover {
  background-color: var(--white);
  border-color: var(--white);
  color: var(--dark-bg);
  transform: translateY(-2px);
}

.btn-outline-primary {
  background-color: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: #25d366;
  color: var(--white);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background-color: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* ==========================================================================
   NAVBAR (Glassmorphism ShineM5 style)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 12px 0;
  transition: var(--transition);
}

.site-header.scrolled {
  padding: 8px 0;
  background: rgba(9, 21, 36, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-dark);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo img {
  height: 94px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35));
}

.site-header.scrolled .brand-logo img {
  height: 68px;
}

.social-links-bar {
  display: none;
  align-items: center;
  gap: 10px;
}

@media (min-width: 1200px) {
  .social-links-bar {
    display: flex;
  }
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 136, 206, 0.4);
}

.social-btn svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.nav-menu-wrapper {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2px;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 4px 6px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.12);
  white-space: nowrap;
}

.nav-link {
  color: rgba(255, 255, 255, 0.9);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hamburger-btn {
  display: none;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  padding: 10px;
  border-radius: var(--radius-md);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* Mobile Nav Drawer */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 380px;
  height: 100vh;
  background: var(--dark-bg);
  z-index: 1100;
  padding: 32px 24px;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  overflow-y: auto;
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.close-btn {
  background: none;
  border: none;
  color: var(--white);
  font-size: 28px;
  cursor: pointer;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.mobile-nav-link {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  display: block;
  background: rgba(255, 255, 255, 0.04);
}

.mobile-nav-link:hover {
  background: var(--primary);
}

/* ==========================================================================
   HERO SECTION (Mobirise ShineM5 Style)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px 0;
  background-color: var(--dark-bg);
  overflow: hidden;
}

.hero-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.42);
  transform: scale(1.03);
  animation: subtleZoom 25s alternate infinite ease-in-out;
}

@keyframes subtleZoom {
  from { transform: scale(1.0); }
  to { transform: scale(1.08); }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 75% 25%, rgba(0, 136, 206, 0.35) 0%, transparent 60%),
              linear-gradient(180deg, rgba(9, 21, 36, 0.7) 0%, rgba(9, 21, 36, 0.95) 100%);
}

/* ==========================================================================
   HERO AMBIENT SOLAR GLOW (Opción A: Resplandor Eléctrico al Cursor)
   ========================================================================== */
.hero-cursor-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 760px;
  height: 760px;
  margin-top: -380px;
  margin-left: -380px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(
    circle closest-side,
    rgba(0, 212, 255, 0.24) 0%,
    rgba(0, 136, 206, 0.13) 38%,
    rgba(255, 184, 0, 0.04) 62%,
    transparent 100%
  );
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.hero-cursor-glow.active {
  opacity: 1;
}

@media (hover: none) or (max-width: 768px) {
  .hero-cursor-glow {
    display: none !important;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 920px;
  text-align: left;
}

/* ==========================================================================
   HERO BRAND LOGO CENTERED (Gran Logotipo Centrado de Solarity)
   ========================================================================== */
.hero-brand-logo-center {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 36px;
  width: 100%;
}

.hero-logo-large {
  height: clamp(84px, 12vw, 130px);
  width: auto;
  max-width: 95%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 26px rgba(0, 136, 206, 0.65)) drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}

.hero-logo-large:hover {
  transform: scale(1.03);
  filter: drop-shadow(0 6px 36px rgba(56, 189, 248, 0.9)) drop-shadow(0 2px 14px rgba(0, 0, 0, 0.6));
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  text-align: left;
}

.hero-title span {
  color: #38bdf8;
  background: linear-gradient(135deg, #38bdf8 0%, #0088ce 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.6;
  color: #cbd5e1;
  max-width: 780px;
  margin-bottom: 36px;
  text-align: left;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-trust-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  width: 100%;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition);
}

.trust-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 136, 206, 0.5);
  transform: translateY(-2px);
}

.trust-badge-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 136, 206, 0.3) 0%, rgba(56, 189, 248, 0.15) 100%);
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 50%;
  color: #38bdf8;
  font-size: 1.15rem;
}

.trust-item-text {
  font-size: 0.96rem;
  color: #cbd5e1;
  line-height: 1.35;
}

.trust-item-text strong {
  color: var(--white);
  font-weight: 700;
}

/* ==========================================================================
   METRICS COUNTER SECTION (Direct Data from Solarity PDF)
   ========================================================================== */
.metrics-section {
  position: relative;
  z-index: 3;
  margin-top: -50px;
  padding-bottom: 60px;
}

.metrics-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.12);
  padding: 40px 32px;
  border: 1px solid var(--border-light);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
}

.metric-item {
  text-align: center;
  padding: 0 16px;
  position: relative;
}

.metric-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: var(--border-light);
}

.metric-value {
  font-size: clamp(2.2rem, 3.2vw, 2.9rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.metric-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

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

/* ==========================================================================
   ABOUT / QUIÉNES SOMOS (PDF Page 4 & 5)
   ========================================================================== */
.about-section {
  padding: 100px 0;
  background-color: var(--white);
}

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

.about-visual {
  position: relative;
}

.about-img-main {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  aspect-ratio: 4/3;
}

.about-floating-card {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--dark-surface);
  color: var(--white);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-dark);
  border: 1px solid var(--border-dark);
  max-width: 260px;
}

.about-floating-card .num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold-primary);
  line-height: 1;
  margin-bottom: 6px;
}

.about-floating-card .txt {
  font-size: 0.85rem;
  color: #cbd5e1;
  line-height: 1.4;
}

.about-content h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.about-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.features-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.feature-point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.feature-icon-check {
  width: 24px;
  height: 24px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 800;
  font-size: 0.8rem;
  margin-top: 2px;
}

.feature-point span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}

/* ==========================================================================
   SOLUTIONS & SPECIALIZED SERVICES (PDF Page 8, 9, 12, 13)
   ========================================================================== */
.solutions-section {
  padding: 110px 0;
  background-color: #f8fafc;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

.solution-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.solution-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 136, 206, 0.4);
}

.solution-card.featured-card {
  background: linear-gradient(180deg, #0f223a 0%, #091524 100%);
  color: var(--white);
  border-color: #0088ce;
  position: relative;
}

.featured-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gold-primary);
  color: #000;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  z-index: 5;
}

.solution-card-img {
  height: 200px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.solution-card:hover .solution-card-img {
  transform: scale(1.05);
}

.solution-img-wrapper {
  overflow: hidden;
  height: 200px;
  position: relative;
}

.solution-body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.solution-icon-box {
  width: 52px;
  height: 52px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.solution-card.featured-card .solution-icon-box {
  background: rgba(0, 136, 206, 0.2);
  color: #38bdf8;
}

.solution-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.3;
}

.solution-card.featured-card .solution-title {
  color: var(--white);
}

.solution-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.solution-card.featured-card .solution-desc {
  color: #94a3b8;
}

.solution-bullets {
  list-style: none;
  margin-bottom: 24px;
}

.solution-bullets li {
  font-size: 0.88rem;
  color: var(--text-main);
  padding: 6px 0;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 8px;
}

.solution-card.featured-card .solution-bullets li {
  color: #e2e8f0;
  border-top-color: rgba(255, 255, 255, 0.08);
}

.solution-bullets li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 800;
}

.solution-card.featured-card .solution-bullets li::before {
  color: #38bdf8;
}

/* ==========================================================================
   PPA SPOTLIGHT ($0 Inversión Inicial)
   ========================================================================== */
.ppa-section {
  padding: 100px 0;
  background: var(--dark-bg);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.ppa-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 136, 206, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.ppa-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.ppa-content h2 {
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.ppa-content p {
  color: #94a3b8;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.ppa-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.ppa-step {
  display: flex;
  gap: 20px;
  background: rgba(255, 255, 255, 0.04);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.step-num {
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.step-info h4,
.step-info .step-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--white);
}

.step-info p {
  font-size: 0.9rem;
  color: #94a3b8;
  margin-bottom: 0;
}

.ppa-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-dark);
  border: 1px solid var(--border-dark);
}

.ppa-image-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.ppa-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  background: linear-gradient(0deg, rgba(9, 21, 36, 0.95) 0%, transparent 100%);
}

.ppa-card-stat {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold-primary);
  margin-bottom: 4px;
}

.ppa-card-desc {
  font-size: 0.9rem;
  color: #e2e8f0;
}

/* ==========================================================================
   FISCAL & FINANCIAL BENEFITS (PDF Page 7)
   ========================================================================== */
.fiscal-section {
  padding: 100px 0;
  background-color: var(--white);
}

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

.fiscal-box {
  background: #f0fdf4;
  border: 2px dashed #86efac;
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
}

.fiscal-highlight {
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  font-weight: 900;
  color: #15803d;
  line-height: 1;
  margin-bottom: 12px;
}

.fiscal-article {
  font-size: 1.15rem;
  font-weight: 700;
  color: #166534;
  margin-bottom: 16px;
}

.fiscal-text {
  font-size: 0.95rem;
  color: #374151;
  line-height: 1.7;
}

.fiscal-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.benefit-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 20px;
  transition: var(--transition);
}

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

.benefit-card-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.benefit-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.benefit-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   SOLARITY TOTALCARE & GUARANTEE (PDF Page 11 & Badge)
   ========================================================================== */
.guarantee-section {
  padding: 110px 0;
  background: linear-gradient(180deg, #091524 0%, #0d1e34 100%);
  color: var(--white);
  position: relative;
}

.guarantee-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: center;
}

.guarantee-badge-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: radial-gradient(circle at center 35%, rgba(212, 175, 55, 0.14) 0%, rgba(15, 34, 58, 0.75) 60%, rgba(9, 21, 36, 0.95) 100%);
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 48px 32px;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(14px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 35px rgba(212, 175, 55, 0.15);
  position: relative;
  overflow: hidden;
}

.guarantee-badge-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.guarantee-seal-img {
  width: 210px;
  max-width: 85%;
  height: auto;
  filter: drop-shadow(0 14px 28px rgba(212, 175, 55, 0.5));
  margin-bottom: 22px;
  animation: floatSeal 4s ease-in-out infinite;
  display: block;
}

@keyframes floatSeal {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.guarantee-seal-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--gold-primary);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.guarantee-seal-subtitle {
  font-size: 0.92rem;
  color: #cbd5e1;
  max-width: 300px;
  line-height: 1.5;
}

.guarantee-cards-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.g-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: var(--transition);
}

.g-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(212, 175, 55, 0.5);
  transform: translateX(8px);
}

.g-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.g-card-icon {
  width: 44px;
  height: 44px;
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.g-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
}

.g-card-text {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.6;
}

.g-card-bullets {
  margin-top: 10px;
  padding-left: 20px;
  font-size: 0.88rem;
  color: #94a3b8;
}

.g-card-bullets li {
  margin-bottom: 4px;
}

/* ==========================================================================
   INTERACTIVE SAVINGS CALCULATOR
   ========================================================================== */
.calculator-section {
  padding: 110px 0;
  background-color: #f8fafc;
}

.calc-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
}

.calc-inputs {
  padding: 48px;
}

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

.calc-label {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

.calc-pill-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.calc-pill {
  padding: 10px 20px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  background: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-main);
}

.calc-pill.active, .calc-pill:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.range-slider-wrapper {
  margin-top: 14px;
}

.range-display {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}

.range-current-val {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.range-input {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #e2e8f0;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 136, 206, 0.4);
  transition: transform 0.1s ease;
}

.range-input::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.range-bounds {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.calc-results {
  background: linear-gradient(135deg, #091524 0%, #0f223a 100%);
  color: var(--white);
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.res-header h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.res-header p {
  color: #94a3b8;
  font-size: 0.9rem;
}

.res-subtitle-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8 !important;
  font-size: 0.92rem !important;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-top: 8px;
}

.res-metric-big {
  margin: 28px 0;
  padding: 24px 20px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 25px rgba(0, 136, 206, 0.2);
  text-align: center;
}

.res-metric-big .label {
  font-size: 1.18rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.res-metric-big .val {
  font-size: clamp(2.4rem, 3.8vw, 3.2rem);
  font-weight: 900;
  color: #38bdf8;
  line-height: 1.1;
  text-shadow: 0 0 24px rgba(56, 189, 248, 0.45);
}

.res-metric-big .sub {
  font-size: 0.9rem;
  color: #86efac;
  margin-top: 8px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.res-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.res-mini-box {
  background: rgba(255, 255, 255, 0.06);
  padding: 18px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(56, 189, 248, 0.22);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.res-mini-box:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 189, 248, 0.55);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 8px 24px rgba(0, 136, 206, 0.2);
}

.res-mini-box .label {
  font-size: 0.85rem;
  color: #38bdf8;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.res-mini-box .val {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
}

/* ==========================================================================
   CALCULATOR METHODOLOGY ACCORDION (Desplegable Técnico Solarity)
   ========================================================================== */
.calc-methodology-box {
  margin: 0 0 22px 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.calc-methodology-box:hover {
  border-color: rgba(56, 189, 248, 0.45);
}

.calc-methodology-box[open],
.calc-methodology-box.is-open {
  background: rgba(10, 23, 40, 0.85);
  border-color: rgba(0, 136, 206, 0.55);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.calc-methodology-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: transparent;
  border: none;
  color: #f1f5f9;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  user-select: none;
  list-style: none !important;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.calc-methodology-toggle::-webkit-details-marker {
  display: none !important;
}

.calc-methodology-toggle::marker {
  display: none !important;
  content: "";
}

.calc-methodology-toggle:hover {
  color: #38bdf8;
  background: rgba(255, 255, 255, 0.03);
}

.calc-methodology-arrow {
  display: inline-block;
  font-size: 0.72rem;
  color: #38bdf8;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  line-height: 1;
}

.calc-methodology-box[open] .calc-methodology-arrow,
.calc-methodology-box.is-open .calc-methodology-arrow {
  transform: rotate(90deg);
}

.calc-methodology-body {
  display: none;
  padding: 0 16px 16px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.84rem;
  line-height: 1.6;
  color: #cbd5e1;
  animation: fadeInMethod 0.25s ease;
}

.calc-methodology-box[open] .calc-methodology-body,
.calc-methodology-box.is-open .calc-methodology-body {
  display: block;
}

@keyframes fadeInMethod {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.calc-methodology-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 12px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calc-methodology-list li {
  position: relative;
  padding-left: 16px;
}

.calc-methodology-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #38bdf8;
  font-size: 1.1rem;
  line-height: 1.2;
}

.calc-methodology-list strong {
  color: #ffffff;
  font-weight: 700;
}

.calc-methodology-disclaimer {
  margin: 12px 0 0 0;
  padding-top: 10px;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.5;
}

.calc-disclaimer-link {
  color: #38bdf8;
  text-decoration: underline;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease;
}

.calc-disclaimer-link:hover {
  color: #7dd3fc;
  text-decoration: underline;
}

/* ==========================================================================
   PORTFOLIO & PROJECTS (PDF Pages 14-16, 22-31)
   ========================================================================== */
.projects-section {
  padding: 110px 0;
  background-color: var(--white);
}

.project-filter-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: var(--radius-full);
  background: var(--cool-gray-light);
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
  background: var(--primary);
  color: var(--white);
}

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

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.project-thumb {
  height: 230px;
  position: relative;
  overflow: hidden;
}

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

.project-card:hover .project-thumb img {
  transform: scale(1.06);
}

.project-badge-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 14px;
  background: rgba(9, 21, 36, 0.85);
  backdrop-filter: blur(8px);
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.project-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-capacity {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}

.project-name {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-main);
}

.project-specs {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

.project-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: #64748b;
  border-top: 1px solid #f1f5f9;
  padding-top: 12px;
}

/* ==========================================================================
   ACCREDITATIONS & RECOGNITIONS (PDF Page 18, 19, 20)
   ========================================================================== */
.accreditations-section {
  padding: 90px 0;
  background-color: #f8fafc;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.awards-banner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.award-box {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.award-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 136, 206, 0.4);
}

.award-box-img {
  width: 84px;
  height: 84px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border-light);
}

.award-box-logo {
  width: 84px;
  height: 84px;
  border-radius: var(--radius-sm);
  object-fit: contain;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  padding: 8px;
  flex-shrink: 0;
}

.award-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.award-box-content h4,
.award-box-content .award-box-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--text-main);
  line-height: 1.3;
}

.award-box-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.cert-pill {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  text-align: left;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.cert-pill:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.cert-pill.cert-pill-featured {
  background: linear-gradient(135deg, rgba(0, 136, 206, 0.04) 0%, #ffffff 100%);
  border-color: rgba(0, 136, 206, 0.35);
  box-shadow: 0 4px 16px rgba(0, 136, 206, 0.07);
}

.cert-pill .badge-code {
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cert-pill.cert-pill-featured .badge-code {
  color: #0284c7;
  font-weight: 900;
}

.cert-pill .title {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 8px;
}

.cert-pill .issuer {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px dashed rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   CLIENTS / PARTNERS LOGO STRIP
   ========================================================================== */
.clients-section {
  padding: 60px 0;
  background-color: var(--white);
  overflow: hidden;
}

.clients-title {
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--cool-gray-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 36px;
}

.clients-slider-track {
  display: flex;
  gap: 50px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.client-logo-item {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.75;
  filter: grayscale(100%);
  transition: var(--transition);
}

.client-logo-item:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.08);
}

.client-logo-item img {
  max-height: 42px;
  width: auto;
  object-fit: contain;
}

/* ==========================================================================
   WORKFLOW / 5 STEPS (PDF Page 8 & 10)
   ========================================================================== */
.workflow-section {
  padding: 100px 0;
  background-color: var(--white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  position: relative;
}

.step-card {
  text-align: center;
  padding: 30px 20px;
  background: #f8fafc;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  position: relative;
  transition: var(--transition);
}

.step-card:hover {
  background: var(--white);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.step-card-num {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  margin: 0 auto 16px auto;
  box-shadow: 0 4px 12px rgba(0, 136, 206, 0.3);
}

.step-card h4,
.step-card .step-title {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 8px;
}

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

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-section {
  padding: 100px 0;
  background-color: #f8fafc;
}

.faq-container {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(0, 136, 206, 0.4);
}

.faq-question {
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
  user-select: none;
}

.faq-toggle-icon {
  width: 28px;
  height: 28px;
  background: var(--cool-gray-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
  background: var(--primary);
  color: var(--white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
  padding: 0 28px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

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

/* ==========================================================================
   CONTACT / COTIZADOR & FOOTER (PDF Page 32 & 33)
   ========================================================================== */
.contact-section {
  padding: 110px 0 70px 0;
  background: var(--dark-bg);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
}

.contact-info-side h2 {
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.contact-info-side p {
  color: #94a3b8;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 36px;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 136, 206, 0.15);
  border: 1px solid rgba(0, 136, 206, 0.3);
  color: #38bdf8;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-text h5,
.contact-text .contact-subheading {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.contact-text a, .contact-text p {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0;
}

.contact-form-side {
  background: var(--dark-surface);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-dark);
}

.contact-form-side h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--white);
}

.contact-form-side p {
  color: #94a3b8;
  font-size: 0.9rem;
  margin-bottom: 28px;
}

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

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 13px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(0, 136, 206, 0.25);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Site Footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copy {
  font-size: 0.85rem;
  color: #64748b;
}

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

.footer-link {
  color: #94a3b8;
  font-size: 0.85rem;
}

.footer-link:hover {
  color: var(--white);
}

/* Floating WhatsApp button */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
  transition: var(--transition);
  color: var(--white);
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.65);
}

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

/* Toast Notification */
.toast-notice {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background: var(--dark-surface);
  color: var(--white);
  border: 1px solid var(--border-dark);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-dark);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(120%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notice.show {
  transform: translateY(0);
}

/* Modal Dialog */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 100%;
  padding: 36px;
  box-shadow: var(--shadow-dark);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.94);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open .modal-container {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-muted);
  cursor: pointer;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .nav-menu-wrapper {
    display: none;
  }
  .hamburger-btn {
    display: flex;
  }
  .about-grid, .ppa-grid, .fiscal-grid, .guarantee-layout, .calc-wrapper, .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .calc-results {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .awards-banner {
    grid-template-columns: 1fr;
  }
  .hero-trust-bar {
    grid-template-columns: 1fr;
  }
}

.footer-logo-img {
  height: 72px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  margin-bottom: 16px;
  display: block;
  transition: var(--transition);
}

.footer-logo-img:hover {
  transform: scale(1.03);
}

@media (max-width: 640px) {
  .hero-brand-logo-center {
    margin-bottom: 24px;
  }
  .hero-logo-large {
    height: clamp(64px, 15vw, 88px);
  }
  .brand-logo img {
    height: 74px;
  }
  .site-header.scrolled .brand-logo img {
    height: 58px;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .metrics-card {
    grid-template-columns: 1fr 1fr;
    padding: 24px 16px;
    gap: 20px;
  }
  .metric-item:not(:last-child)::after {
    display: none;
  }
  .features-list {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .calc-inputs, .calc-results {
    padding: 28px 20px;
  }
}

@media (max-width: 480px) {
  .res-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .res-metric-big .val {
    font-size: 2.1rem;
  }
  .section-title {
    font-size: 1.85rem;
  }
}

/* ==========================================================================
   ESQUEMAS DE FINANCIAMIENTO (Múltiples opciones: Contado, Crédito, Leasing, Fondos, PPA)
   ========================================================================== */
.financing-section {
  padding: 110px 0;
  background-color: #f1f5f9;
}

.financing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.finance-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.finance-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.finance-card.featured {
  background: linear-gradient(180deg, #0f223a 0%, #091524 100%);
  color: var(--white);
  border-color: #0088ce;
  box-shadow: 0 15px 35px rgba(0, 136, 206, 0.2);
}

.finance-card.featured .finance-title {
  color: var(--white);
}

.finance-card.featured .finance-desc {
  color: #94a3b8;
}

.finance-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 16px;
  background: var(--primary-light);
  color: var(--primary);
}

.finance-card.featured .finance-badge {
  background: var(--gold-primary);
  color: #000;
}

.finance-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.finance-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-main);
  line-height: 1.25;
}

.finance-rate {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}

.finance-card.featured .finance-rate {
  color: #38bdf8;
}

.finance-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 20px;
  flex-grow: 1;
}

.finance-features {
  list-style: none;
  margin-bottom: 28px;
}

.finance-features li {
  font-size: 0.88rem;
  padding: 8px 0;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 8px;
}

.finance-card.featured .finance-features li {
  border-top-color: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
}

.finance-features li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 800;
}

.finance-card.featured .finance-features li::before {
  color: #38bdf8;
}

/* ==========================================================================
   AUTOCONSUMO SOLAR (Generación in situ & Resiliencia)
   ========================================================================== */
.autoconsumo-section {
  padding: 110px 0;
  background-color: var(--white);
}

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

.autoconsumo-card {
  background: #f8fafc;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.autoconsumo-card:hover {
  background: var(--white);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.autoconsumo-img-wrapper {
  overflow: hidden;
  height: 210px;
  position: relative;
  background: #e2e8f0;
}

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

.autoconsumo-card:hover .autoconsumo-card-img {
  transform: scale(1.06);
}

.autoconsumo-body {
  padding: 28px 24px 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.autoconsumo-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 12px;
}

.autoconsumo-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.autoconsumo-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.autoconsumo-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-main);
  line-height: 1.35;
}

.autoconsumo-card p {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.autoconsumo-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(0, 136, 206, 0.08);
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

@media (max-width: 992px) {
  .autoconsumo-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   ACCESSIBILITY & SKIP TO CONTENT
   ========================================================================== */
.skip-to-content {
  position: absolute;
  top: -80px;
  left: 20px;
  background: var(--primary);
  color: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  z-index: 99999;
  box-shadow: var(--shadow-md);
  transition: top 0.25s ease;
  text-decoration: none;
}
.skip-to-content:focus {
  top: 20px;
}

/* ==========================================================================
   COBERTURA REGIONAL & PARQUES INDUSTRIALES (SEO Local & Bajío)
   ========================================================================== */
.coverage-section {
  padding: 110px 0;
  background-color: var(--white);
  border-top: 1px solid var(--border-light);
}

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

.coverage-card {
  background: #f8fafc;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.coverage-card:hover {
  background: var(--white);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.coverage-card.highlight {
  border-color: var(--primary);
  background: linear-gradient(180deg, #f0f9ff 0%, #f8fafc 100%);
  box-shadow: var(--shadow-sm);
}

.coverage-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.coverage-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(0, 136, 206, 0.08);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  align-self: flex-start;
}

.coverage-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.25;
}

.coverage-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.coverage-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.coverage-tag-cloud span {
  font-size: 0.8rem;
  font-weight: 600;
  color: #334155;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 5px 11px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.coverage-card.highlight .coverage-tag-cloud span {
  background: #e0f2fe;
  border-color: #bae6fd;
  color: #0369a1;
}

.coverage-points {
  list-style: none;
  margin-top: auto;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
}

.coverage-points li {
  font-size: 0.86rem;
  color: #475569;
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.coverage-points li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 800;
}

.coverage-cta-banner {
  margin-top: 56px;
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-surface) 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  border: 1px solid var(--border-dark);
}

.coverage-cta-banner h4,
.coverage-cta-banner .cov-banner-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--white);
}

.coverage-cta-banner p {
  font-size: 0.95rem;
  color: #94a3b8;
  max-width: 650px;
}

@media (max-width: 992px) {
  .coverage-grid {
    grid-template-columns: 1fr;
  }
  .coverage-cta-banner {
    flex-direction: column;
    text-align: center;
  }
  .coverage-cta-banner p {
    margin: 0 auto;
  }
}

/* ==========================================================================
   TABLA COMPARATIVA DE BENEFICIOS (Solarity vs Otras Opciones)
   Estilo fiel a la referencia ilustrativa del usuario (Pideliver)
   ========================================================================== */
.comparison-section {
  padding: 110px 0;
  background-color: #f8fafc;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.comparison-scroll-wrapper {
  width: 100%;
  overflow-x: auto;
  padding-bottom: 20px;
  -webkit-overflow-scrolling: touch;
}

.comparison-scroll-hint {
  display: none;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 16px;
}

@media (max-width: 1200px) {
  .comparison-scroll-hint {
    display: block;
  }
}

.comparison-table-grid {
  display: grid;
  grid-template-columns: 240px 290px 220px 220px 220px;
  gap: 16px;
  min-width: 1190px;
  margin: 0 auto;
  align-items: stretch;
}

.comp-col {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Columna de Características (Izquierda) */
.comp-col-features {
  background: #ffffff;
}

.comp-col-features .comp-header {
  display: flex;
  align-items: flex-end;
  padding: 24px 20px;
  min-height: 124px;
  border-bottom: 1px dashed #e2e8f0;
}

.comp-col-features .comp-header-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
}

.comp-col-features .comp-cell {
  padding: 0 18px;
  justify-content: flex-start;
  text-align: left;
  font-weight: 700;
  color: #1e293b;
  font-size: 0.9rem;
  gap: 12px;
}

.comp-feature-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.05rem;
}

/* Columna Destacada: SOLARITY (Estilo Pideliver con tinte verde suave / azul corporativo) */
.comp-col-solarity {
  background: #f0fdf4;
  border: 2px solid #22c55e;
  box-shadow: 0 14px 35px -5px rgba(34, 197, 94, 0.16);
  position: relative;
  transform: translateY(-4px);
}

.comp-col-solarity .comp-header {
  background: #f0fdf4;
  border-bottom: 1px dashed #86efac;
}

.comp-col-solarity .comp-cell {
  border-bottom: 1px dashed #bbf7d0;
  font-weight: 700;
  color: #14532d;
  font-size: 0.86rem;
  padding: 0 12px;
}

/* Columnas de Competidores */
.comp-col-competitor .comp-header {
  background: #ffffff;
  border-bottom: 1px dashed #e2e8f0;
}

.comp-col-competitor .comp-cell {
  border-bottom: 1px dashed #e2e8f0;
  font-size: 0.84rem;
  color: #475569;
  padding: 0 12px;
}

/* Encabezados de Columna */
.comp-header {
  padding: 24px 16px 20px 16px;
  min-height: 124px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
}

.comp-brand-img {
  height: 34px;
  max-width: 140px;
  object-fit: contain;
}

.comp-col-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin: 0;
}

.comp-badge-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  line-height: 1.2;
}

.comp-badge-winner {
  background: #0f223a;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(15, 34, 58, 0.2);
}

.comp-badge-sub {
  background: #e0f2fe;
  color: #0369a1;
}

.comp-badge-gray {
  background: #f1f5f9;
  color: #475569;
}

/* Celdas / Filas */
.comp-cell {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.35;
}

.comp-cell:last-child {
  border-bottom: none;
}

/* Estados e Íconos */
.comp-status-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  line-height: 1.2;
}

.comp-icon-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.comp-icon-circle.check {
  background: #22c55e;
  color: #ffffff;
}

.comp-icon-circle.cross {
  background: #ef4444;
  color: #ffffff;
}

.comp-icon-circle.warn {
  background: #f59e0b;
  color: #ffffff;
}

.comp-icon-circle svg {
  width: 13px;
  height: 13px;
}

/* Banner CTA inferior de la tabla comparativa */
.comparison-footer-banner {
  margin-top: 48px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
}

.comparison-footer-banner h4,
.comparison-footer-banner .comp-banner-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.comparison-footer-banner p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0;
}

/* ==========================================================================
   AVISO DE PRIVACIDAD MODAL & ESTILOS LEGALES
   ========================================================================== */
.modal-container-lg {
  max-width: 840px;
  max-height: 88vh;
  padding: 40px;
  display: flex;
  flex-direction: column;
}

.privacy-modal-header {
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 18px;
  margin-bottom: 20px;
}

.privacy-modal-header h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}

.privacy-modal-header p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}

.privacy-modal-body {
  overflow-y: auto;
  padding-right: 14px;
  font-size: 0.93rem;
  line-height: 1.7;
  color: #334155;
  flex-grow: 1;
}

.privacy-modal-body h4,
.privacy-modal-body .privacy-section-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin-top: 24px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.privacy-modal-body p {
  margin-bottom: 14px;
}

.privacy-modal-body ul {
  margin-bottom: 16px;
  padding-left: 24px;
}

.privacy-modal-body li {
  margin-bottom: 8px;
}

.privacy-modal-body strong {
  color: #0f172a;
}

.privacy-legal-box {
  background: #f1f5f9;
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  border-radius: 8px;
  margin: 20px 0;
  font-size: 0.88rem;
}

.privacy-modal-footer {
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.form-privacy-disclaimer {
  font-size: 0.82rem;
  color: #64748b;
  margin-top: 14px;
  margin-bottom: 2px;
  text-align: center;
  line-height: 1.45;
}

.form-privacy-disclaimer a {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 700;
  cursor: pointer;
}

.form-privacy-disclaimer a:hover {
  color: var(--primary-dark);
}

/* ==========================================================================
   OPCIONES DE FINANCIAMIENTO Y FONDOS ALIADOS (LOGOS & CARRUSEL)
   ========================================================================== */
.finance-allies-strip {
  margin-top: 60px;
  padding: 45px 0 15px 0;
  border-top: 1px solid #e2e8f0;
  text-align: center;
  overflow: hidden;
}

.finance-allies-title {
  text-align: center;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--cool-gray-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 36px;
}

.finance-carousel-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 16px 0;
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.finance-carousel-track {
  display: flex;
  gap: 40px;
  align-items: center;
  width: max-content;
  animation: financeMarquee 40s linear infinite;
  will-change: transform;
}

.finance-carousel-wrapper:hover .finance-carousel-track {
  animation-play-state: paused;
}

.finance-logo-box {
  height: 84px;
  min-width: 180px;
  max-width: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  user-select: none;
}

.finance-logo-box:hover {
  transform: translateY(-4px) scale(1.05);
  border-color: var(--primary);
  box-shadow: 0 10px 24px rgba(0, 136, 206, 0.14);
}

.finance-logo-box img {
  max-height: 56px;
  max-width: 170px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

@keyframes financeMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 20px));
  }
}

@media (max-width: 768px) {
  .solutions-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .finance-allies-strip {
    margin-top: 40px;
    padding: 30px 0 10px 0;
  }
  .finance-allies-title {
    font-size: 0.85rem;
    margin-bottom: 24px;
  }
  .finance-logo-box {
    height: 72px;
    min-width: 150px;
    padding: 10px 18px;
  }
  .finance-logo-box img {
    max-height: 46px;
    max-width: 140px;
  }
  .finance-carousel-track {
    gap: 24px;
  }
  @keyframes financeMarquee {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-50% - 12px));
    }
  }
}

/* ==========================================================================
   SVG VECTOR ICONS SYSTEM (Replacement for Emojis/Emoticons)
   ========================================================================== */
.btn-icon-svg {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: -3px;
  display: inline-block;
  flex-shrink: 0;
}

.loc-icon-svg {
  width: 14px;
  height: 14px;
  margin-right: 5px;
  vertical-align: -2px;
  display: inline-block;
  flex-shrink: 0;
  stroke: var(--primary);
}

.calc-note-icon-svg {
  width: 18px;
  height: 18px;
  margin-right: 6px;
  vertical-align: -3px;
  display: inline-block;
  flex-shrink: 0;
  stroke: var(--primary);
}

.swipe-hint-svg {
  width: 16px;
  height: 16px;
  margin-right: 6px;
  vertical-align: -2px;
  display: inline-block;
  flex-shrink: 0;
  stroke: var(--primary);
}

.solution-icon-box svg,
.autoconsumo-icon svg,
.benefit-card-icon svg,
.g-card-icon svg,
.coverage-icon svg,
.contact-icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

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

.comp-feature-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.finance-icon {
  width: 54px;
  height: 54px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.finance-card.featured .finance-icon {
  background: rgba(0, 136, 206, 0.2);
  color: #38bdf8;
}

.finance-icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ==========================================================================
   TALENT & CAREERS SECTION (Captación de Talento Solarity)
   ========================================================================== */
.talent-section {
  padding: 55px 0;
  background: linear-gradient(135deg, #09131f 0%, #0d1e34 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.talent-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 136, 206, 0.35);
  border-radius: var(--radius-lg);
  padding: 36px 42px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
}

.talent-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary) 0%, #38bdf8 100%);
}

.talent-content {
  flex: 1;
  max-width: 740px;
}

.talent-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 136, 206, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 14px;
}

.talent-badge-icon {
  width: 16px;
  height: 16px;
}

.talent-title {
  color: var(--white);
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.talent-desc {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.talent-desc strong {
  color: var(--white);
  font-weight: 700;
}

.talent-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.talent-tag {
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  transition: var(--transition);
}

.talent-tag:hover {
  background: rgba(0, 136, 206, 0.12);
  color: #e0f2fe;
  border-color: rgba(56, 189, 248, 0.4);
}

.talent-cta-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 250px;
  align-items: stretch;
}

.talent-btn {
  width: 100%;
  justify-content: center;
  font-size: 0.88rem;
  padding: 12px 18px;
}

.talent-note {
  font-size: 0.76rem;
  color: #94a3b8;
  text-align: center;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .talent-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
    gap: 24px;
  }
  .talent-cta-side {
    width: 100%;
    min-width: unset;
  }
}

/* ==========================================================================
   LANGUAGE SELECTOR (i18n: ES, EN, DE, JA)
   ========================================================================== */
.lang-selector-wrapper {
  position: relative;
  display: inline-block;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(56, 189, 248, 0.5);
  color: #38bdf8;
}

.lang-chevron {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  transition: transform 0.25s ease;
}

.lang-btn[aria-expanded="true"] .lang-chevron {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #0b1727;
  border: 1px solid rgba(0, 136, 206, 0.35);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  min-width: 150px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  z-index: 1000;
}

.lang-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: transparent;
  color: #cbd5e1;
  border: none;
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: background 0.15s ease, color 0.15s ease;
}

.lang-opt:hover {
  background: rgba(0, 136, 206, 0.2);
  color: #ffffff;
}

.lang-opt.active {
  background: rgba(0, 136, 206, 0.3);
  color: #38bdf8;
  font-weight: 800;
}

.opt-badge {
  font-size: 0.7rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  color: #94a3b8;
}

.lang-opt.active .opt-badge {
  background: #0088ce;
  color: #ffffff;
}

/* Selector en Menú Móvil */
.mobile-lang-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 12px 18px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-lang-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  color: #cbd5e1;
  padding: 8px 4px;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
}

.mobile-lang-btn.active {
  background: var(--primary);
  border-color: #38bdf8;
  color: #ffffff;
}

