/* ==========================================================================
   BDP CLIMA — Modern HVAC Design System
   Palette: Deep Petrol (#0B1F28), Emerald (#00C472), Warm Amber (#FF7A1A),
            Arctic White (#F6FAFC)
   ========================================================================== */

:root {
  --bg-page: #f6fafc;
  --bg-white: #ffffff;
  --bg-dark: #0b1f28;
  --bg-dark-2: #102830;
  --bg-dark-3: #163642;

  --text-main: #0f2530;
  --text-muted: #4b6572;
  --text-light: #e7f1f5;
  --text-light-muted: #9eb7c2;

  --emerald: #06b6d4;
  --emerald-bright: #22d3ee;
  --emerald-dark: #1d4ed8;
  --emerald-soft: rgba(6, 182, 212, 0.12);
  --brand-gradient: linear-gradient(135deg, #06b6d4 0%, #1d4ed8 100%);
  --brand-gradient-hover: linear-gradient(135deg, #22d3ee 0%, #2563eb 100%);

  --sky: #0ea5e9;
  --amber: #ff7a1a;
  --amber-soft: rgba(255, 122, 26, 0.14);

  --border-light: rgba(16, 40, 48, 0.09);
  --border-dark: rgba(255, 255, 255, 0.12);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 14px rgba(11, 31, 40, 0.05);
  --shadow-md: 0 12px 32px rgba(11, 31, 40, 0.08);
  --shadow-lg: 0 24px 56px rgba(11, 31, 40, 0.14);

  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1220px;
  --header-h: 78px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

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

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--emerald-dark);
  background: var(--emerald-soft);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.section-eyebrow--dark {
  color: var(--emerald-bright);
  background: rgba(6, 182, 212, 0.16);
}

.section-title {
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  color: var(--text-main);
  margin-bottom: 14px;
}

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

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
}

.section-subtitle--light {
  color: var(--text-light-muted);
}

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

.section-header--center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--brand-gradient);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(29, 78, 216, 0.28);
}

.btn--primary:hover {
  background: var(--brand-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(6, 182, 212, 0.36);
}

.btn--dark {
  background: var(--bg-dark);
  color: var(--bg-white);
}

.btn--dark:hover {
  background: var(--bg-dark-3);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--bg-white);
  border-color: rgba(255, 255, 255, 0.32);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--bg-white);
}

.btn--outline-dark {
  background: var(--bg-white);
  color: var(--text-main);
  border-color: var(--border-light);
}

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

.btn--sm {
  padding: 9px 16px;
  font-size: 0.86rem;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow 0.25s ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--bg-dark);
  letter-spacing: -0.03em;
}

.brand-logo {
  height: 54px;
  width: auto;
  object-fit: contain;
}

.footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.94);
  padding: 8px 14px;
  border-radius: 14px;
}

.brand-logo--footer {
  height: 56px;
}

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

.nav-links a {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--bg-dark);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: var(--radius-full);
  background: rgba(16, 40, 48, 0.06);
  color: var(--bg-dark);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.phone-pill:hover {
  background: var(--bg-dark);
  color: var(--bg-white);
}

.phone-pill .dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.28);
}

.mobile-toggle {
  display: none;
  background: var(--bg-dark);
  color: var(--bg-white);
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Mobile Drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  padding: 20px 24px 28px;
  box-shadow: var(--shadow-lg);
  z-index: 99;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.mobile-nav a {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--bg-dark);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  background: var(--bg-dark);
  color: var(--bg-white);
  padding: 72px 0 88px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -160px;
  right: -120px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.26) 0%, rgba(29, 78, 216, 0.16) 45%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 20px;
}

.hero-badge strong {
  color: var(--emerald-bright);
}

.hero h1 {
  font-size: clamp(2.4rem, 4.4vw, 3.65rem);
  color: var(--bg-white);
  margin-bottom: 20px;
  line-height: 1.08;
}

.hero h1 .accent {
  background: linear-gradient(95deg, #22d3ee 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--text-light-muted);
  max-width: 540px;
  margin-bottom: 30px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-top: 26px;
  border-top: 1px solid var(--border-dark);
}

.metric-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--bg-white);
}

.metric-item span {
  font-size: 0.84rem;
  color: var(--text-light-muted);
}

.hero-media {
  position: relative;
}

.hero-img-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 11;
  background: var(--bg-dark-3);
}

.hero-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-floating-card {
  position: absolute;
  bottom: -22px;
  left: -22px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  color: var(--bg-dark);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 290px;
}

.floating-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--emerald-soft);
  color: var(--emerald-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-floating-card strong {
  display: block;
  font-size: 0.95rem;
  font-family: var(--font-heading);
}

.hero-floating-card span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   BRANDS STRIP
   ========================================================================== */
.brands-strip {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  padding: 52px 0;
}

.brands-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}

.brands-label {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--emerald-dark);
  background: var(--emerald-soft);
  padding: 7px 18px;
  border-radius: var(--radius-full);
}

.brands-list {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  gap: 24px;
}

.brand-logo-img {
  height: 82px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  padding: 8px 12px;
  transition: transform 0.25s ease;
}

.brand-logo-img:hover {
  transform: scale(1.08);
}

@media (max-width: 900px) {
  .brands-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .brand-logo-img {
    height: 64px;
  }
}

@media (max-width: 560px) {
  .brands-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.section {
  padding: 88px 0;
}

.section--white {
  background: var(--bg-white);
}

.section--solar {
  background: linear-gradient(180deg, #f0f9ff 0%, #f6fafc 100%);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-eyebrow--solar {
  color: #b45309;
  background: var(--amber-soft);
}

.solar-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 48px;
}

.solar-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.solar-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(6, 182, 212, 0.4);
}

.solar-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-gradient);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.solar-card h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
  color: var(--bg-dark);
}

.solar-card p {
  font-size: 0.91rem;
  color: var(--text-muted);
}

.section--dark {
  background: var(--bg-dark);
  color: var(--bg-white);
}

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

.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(6, 182, 212, 0.4);
}

.service-card--featured {
  background: linear-gradient(155deg, var(--bg-dark) 0%, var(--bg-dark-3) 100%);
  color: var(--bg-white);
  border-color: transparent;
}

.service-card--featured p,
.service-card--featured .service-bullets li {
  color: #cbd5e1;
}

.service-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--emerald-soft);
  color: var(--emerald-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-card--featured .service-icon {
  background: rgba(6, 182, 212, 0.18);
  color: var(--emerald-bright);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.94rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.service-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-bullets li {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.service-bullets li::before {
  content: '✓';
  color: var(--emerald);
  font-weight: 700;
  flex-shrink: 0;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--emerald-dark);
}

.service-card--featured .service-link {
  color: var(--emerald-bright);
}

.service-card--wide {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
  border-color: rgba(6, 182, 212, 0.3);
  display: grid;
  grid-template-columns: 1.15fr 1.25fr auto;
  align-items: center;
  gap: 28px;
}

.service-wide-main {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.service-wide-main .service-icon {
  margin-bottom: 0;
  flex-shrink: 0;
}

.service-wide-main p {
  margin-bottom: 0;
}

.service-bullets--wide {
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .service-card--wide {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* ==========================================================================
   SPLIT FEATURE SHOWCASES (Trabajos Verticales & Conductos)
   ========================================================================== */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split-grid--reverse .split-media {
  order: 2;
}

.split-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  background: var(--bg-dark-2);
}

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

.feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 24px 0 30px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 500;
}

.feature-list .check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--emerald-soft);
  color: var(--emerald-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   CATALOG & OFFERS SECTION
   ========================================================================== */
.catalog-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tab-btn {
  padding: 10px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  background: var(--bg-white);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn:hover {
  border-color: var(--bg-dark);
  color: var(--bg-dark);
}

.tab-btn.active {
  background: var(--bg-dark);
  color: var(--bg-white);
  border-color: var(--bg-dark);
}

.catalog-search {
  position: relative;
  min-width: 250px;
}

.catalog-search input {
  width: 100%;
  padding: 10px 16px 10px 40px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  background: var(--bg-white);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.catalog-search input:focus {
  border-color: var(--emerald);
}

.catalog-search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.brand-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.brand-pill {
  padding: 6px 13px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.brand-pill.active,
.brand-pill:hover {
  background: var(--emerald-soft);
  color: var(--emerald-dark);
  border-color: rgba(29, 78, 216, 0.32);
}

.install-banner {
  background: var(--bg-white);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-left: 4px solid var(--emerald-dark);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.install-banner strong {
  color: var(--bg-dark);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.product-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(6, 182, 212, 0.45);
}

.product-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.product-brand {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--emerald-dark);
  background: var(--emerald-soft);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.discount-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: #b45309;
  background: var(--amber-soft);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.product-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #f8fbfd;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(16, 40, 48, 0.05);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.product-card:hover .product-media img {
  transform: scale(1.04);
}

.product-card h3 {
  font-size: 1.08rem;
  margin-bottom: 6px;
  color: var(--bg-dark);
}

.product-spec {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.product-footer {
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.price-block {
  display: flex;
  flex-direction: column;
}

.price-old {
  font-size: 0.82rem;
  color: #8ca0ab;
  text-decoration: line-through;
}

.price-now {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--bg-dark);
  line-height: 1.1;
}

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

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 24px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  color: var(--text-muted);
}

/* ==========================================================================
   WHY BDP CLIMA (6 PILLARS)
   ========================================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.pillar-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 26px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.pillar-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(34, 211, 238, 0.45);
}

.pillar-num {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--emerald-bright);
  margin-bottom: 10px;
}

.pillar-card h3 {
  font-size: 1.15rem;
  color: var(--bg-white);
  margin-bottom: 8px;
}

.pillar-card p {
  font-size: 0.92rem;
  color: var(--text-light-muted);
}

/* ==========================================================================
   URGENCY 24H BANNER
   ========================================================================== */
.urgency-banner {
  background: linear-gradient(115deg, #06b6d4 0%, #0284c7 48%, #1d4ed8 100%);
  border-radius: var(--radius-lg);
  padding: 44px 48px;
  color: var(--bg-white);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: var(--shadow-lg);
}

.urgency-banner h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  margin-bottom: 8px;
}

.urgency-banner p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 560px;
}

.urgency-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn--white {
  background: var(--bg-white);
  color: var(--bg-dark);
}

.btn--white:hover {
  background: #f0f9f5;
  transform: translateY(-2px);
}

/* ==========================================================================
   CONTACT & QUOTE FORM
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
}

.contact-info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.contact-info-card:hover {
  border-color: var(--emerald);
  transform: translateX(4px);
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--emerald-soft);
  color: var(--emerald-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-card span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.contact-info-card strong {
  font-size: 1rem;
  color: var(--bg-dark);
}

.quote-form-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bg-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(16, 40, 48, 0.16);
  background: var(--bg-page);
  font-size: 0.94rem;
  color: var(--text-main);
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--emerald);
  background: var(--bg-white);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.form-feedback {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--emerald-soft);
  color: #1e3a8a;
  font-size: 0.9rem;
  font-weight: 500;
  display: none;
}

.form-feedback.visible {
  display: block;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-light-muted);
  padding: 64px 0 88px;
  border-top: 1px solid var(--border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}

.footer-brand {
  color: var(--bg-white);
  margin-bottom: 14px;
}

.footer-col h4 {
  color: var(--bg-white);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--emerald-bright);
}

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

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

.legal-links button {
  background: none;
  border: none;
  color: var(--text-light-muted);
  cursor: pointer;
  font-size: 0.85rem;
}

.legal-links button:hover {
  color: var(--bg-white);
}

/* Floating WhatsApp */
.whatsapp-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #ffffff;
  padding: 13px 20px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.38);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-fab:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(37, 211, 102, 0.48);
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 31, 40, 0.65);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 100%;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--bg-page);
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--text-main);
}

.modal-card h3 {
  margin-bottom: 12px;
}

.modal-card p {
  font-size: 0.94rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* ==========================================================================
   SUBPAGES (Hero, Steps Timeline & FAQ Accordion)
   ========================================================================== */
.subhero {
  background: var(--bg-dark);
  color: var(--bg-white);
  padding: 64px 0 76px;
  position: relative;
  overflow: hidden;
}

.subhero::before {
  content: '';
  position: absolute;
  top: -140px;
  right: -100px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.24) 0%, rgba(29, 78, 216, 0.14) 45%, transparent 70%);
  pointer-events: none;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-light-muted);
  margin-bottom: 18px;
}

.breadcrumb a:hover {
  color: var(--emerald-bright);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.step-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--brand-gradient);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.step-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--bg-dark);
}

.step-card p {
  font-size: 0.89rem;
  color: var(--text-muted);
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 22px;
}

.faq-item summary {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--bg-dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--emerald-dark);
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  margin-top: 12px;
  font-size: 0.93rem;
  color: var(--text-muted);
}

/* Solar Calculator (Solfy-inspired interactive estimator) */
.calc-wrapper {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  overflow: hidden;
}

.calc-inputs {
  padding: 36px;
}

.calc-zip-badge {
  margin-top: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}

.calc-zip-badge.matched {
  color: var(--emerald-dark);
  background: var(--emerald-soft);
  border-color: rgba(6, 182, 212, 0.35);
}

.calc-slider-group {
  margin-bottom: 24px;
}

.calc-slider-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.calc-slider-head label {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--bg-dark);
}

.calc-slider-val {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--emerald-dark);
  background: var(--emerald-soft);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.calc-range {
  width: 100%;
  accent-color: #1d4ed8;
  cursor: pointer;
}

.calc-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--bg-page);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  margin-top: 8px;
}

.calc-results {
  background: linear-gradient(145deg, var(--bg-dark) 0%, #102f46 60%, #163b6b 100%);
  color: var(--bg-white);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.calc-results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.calc-stat {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 18px;
}

.calc-stat span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-light-muted);
  margin-bottom: 4px;
}

.calc-stat strong {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  color: #ffffff;
}

.calc-stat--highlight {
  background: rgba(6, 182, 212, 0.18);
  border-color: rgba(34, 211, 238, 0.4);
}

.calc-stat--highlight strong {
  color: #22d3ee;
}

.fiscal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.fiscal-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.fiscal-pct {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.steps-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 960px) {
  .calc-wrapper {
    grid-template-columns: 1fr;
  }
  .fiscal-grid,
  .steps-grid--3 {
    grid-template-columns: 1fr;
  }
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid,
  .split-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .split-grid--reverse .split-media {
    order: 0;
  }

  .services-grid,
  .products-grid,
  .pillars-grid,
  .solar-cards-grid,
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-floating-card {
    left: 16px;
    bottom: 16px;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .header-actions .phone-pill,
  .header-actions .btn {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .services-grid,
  .products-grid,
  .pillars-grid,
  .solar-cards-grid,
  .steps-grid,
  .footer-grid,
  .form-grid,
  .feature-list {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 48px 0 64px;
  }

  .hero-metrics {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .urgency-banner {
    padding: 32px 24px;
  }

  .quote-form-card {
    padding: 24px;
  }

  .whatsapp-fab span {
    display: none;
  }

  .whatsapp-fab {
    padding: 14px;
  }
}
