/* ============================================
   AI HVAC USA - Custom Styles
   Bootstrap 5 + Custom CSS
   ============================================ */

/* ---------- CSS Variables (Brand Colors) ---------- */
:root {
  /* Navy palette */
  --hvac-950: #030B1A;
  --hvac-900: #071832;
  --hvac-800: #0D2952;
  --hvac-700: #143A72;
  --hvac-600: #1B4B92;
  --hvac-500: #2266BB;
  --hvac-400: #3B8BD6;
  --hvac-300: #6AAFE5;
  --hvac-200: #A0D0F5;
  --hvac-100: #D0E8FA;
  --hvac-50: #EBF4FD;

  /* Accent */
  --hvac-gold: #F5A623;
  --hvac-gold-dark: #D4850A;
  --hvac-red: #E53935;

  /* Silver / Gray */
  --hvac-silver: #B8C2D0;
  --hvac-silver-light: #D4D9E2;
  --hvac-silver-dark: #8892A2;
  --hvac-gray-50: #F2F4F7;
  --hvac-gray-100: #E4E7ED;
  --hvac-gray-200: #CDD2DA;

  /* Semantic */
  --foreground: #0a1628;
  --muted: #64748b;
  --border: #e2e8f0;
}

/* ---------- Base Resets ---------- */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--foreground);
  background: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

main { flex: 1; }

/* ---------- Typography ---------- */
.font-heading {
  font-family: 'Space Grotesk', 'Geist', sans-serif;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #f5a623 0%, #ffd700 50%, #f5a623 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Navbar ---------- */
.navbar-hvac {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  padding: 1rem 0;
  transition: all 0.5s ease;
  background: transparent;
}

.navbar-hvac.scrolled {
  background: rgba(7, 24, 50, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
}

.navbar-hvac .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.navbar-hvac .navbar-brand img {
  height: 3.5rem;
  width: auto;
  filter: drop-shadow(0 2px 10px rgba(59, 139, 214, 0.18));
}

.navbar-hvac .brand-text {
  font-weight: 700;
  font-size: 1.875rem;
  letter-spacing: -0.025em;
  line-height: 1;
  color: #fff;
}

.navbar-hvac .nav-link {
  color: rgba(255, 255, 255, 0.6) !important;
  font-weight: 500;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.3s;
  padding: 0.5rem 0 !important;
}

.navbar-hvac .nav-link:hover,
.navbar-hvac .nav-link:focus {
  color: #fff !important;
}

/* Services dropdown */
.navbar-hvac .dropdown-menu {
  background: rgba(7, 24, 50, 0.95);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
  padding: 0.5rem 0;
  min-width: 220px;
  margin-top: 0.75rem;
}

.navbar-hvac .dropdown-menu .dropdown-item {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  padding: 0.625rem 1rem;
  transition: all 0.2s;
}

.navbar-hvac .dropdown-menu .dropdown-item:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.navbar-hvac .dropdown-menu .dropdown-item.text-gold {
  color: var(--hvac-gold);
  font-weight: 600;
}

.navbar-hvac .dropdown-divider {
  border-color: rgba(255, 255, 255, 0.05);
  margin: 0.25rem 0;
}

.navbar-hvac .phone-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s;
}

.navbar-hvac .phone-link:hover { color: #fff; }

.navbar-hvac .phone-link svg { color: var(--hvac-gold); }

/* Mobile offcanvas */
.offcanvas-hvac {
  background: var(--hvac-900) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
  width: 300px !important;
  z-index: 1060 !important; /* Above navbar (1050) */
}

/* Offcanvas backdrop must also be above navbar */
.offcanvas-backdrop {
  z-index: 1055 !important;
  background: var(--hvac-950) !important;
  opacity: 0.95 !important;
}

.offcanvas-hvac .nav-link {
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 1.125rem;
  font-weight: 500;
  padding: 0.5rem 0 !important;
}

.offcanvas-hvac .nav-link:hover { color: #fff !important; }

.offcanvas-hvac .sub-link {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.875rem;
  text-decoration: none;
  display: block;
  padding: 0.3rem 0;
  transition: color 0.2s;
}

.offcanvas-hvac .sub-link:hover { color: #fff; }

.offcanvas-hvac .mobile-sub-links {
  margin-left: 1rem;
  margin-top: 0.75rem;
  padding-left: 1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

/* Navbar toggler */
.navbar-toggler-hvac {
  border: none;
  background: none;
  color: #fff;
  padding: 0.5rem;
  cursor: pointer;
}

.navbar-toggler-hvac:focus { box-shadow: none; }

/* ---------- Buttons ---------- */
.btn-gold {
  background: var(--hvac-gold);
  color: #fff;
  border: none;
  border-radius: 9999px;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.btn-gold:hover {
  background: var(--hvac-gold-dark);
  color: #fff;
  box-shadow: 0 20px 25px -5px rgba(245, 166, 35, 0.25);
}

.btn-gold-lg {
  font-size: 1.125rem;
  padding: 1rem 2rem;
  box-shadow: 0 10px 15px -3px rgba(245, 166, 35, 0.2);
}

.btn-outline-white {
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 9999px;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.btn-outline-white-lg {
  font-size: 1.125rem;
  padding: 1rem 2rem;
}

.btn-white {
  background: #fff;
  color: var(--hvac-950);
  border: none;
  border-radius: 9999px;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
  background: #f1f5f9;
  color: var(--hvac-950);
}

/* ---------- Hero Section ---------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, var(--hvac-900), var(--hvac-800), var(--hvac-700));
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}

.hero-orb-1 {
  top: -8rem; right: -8rem;
  width: 600px; height: 600px;
  background: rgba(34, 102, 187, 0.25);
}

.hero-orb-2 {
  bottom: -8rem; left: -8rem;
  width: 500px; height: 500px;
  background: rgba(59, 139, 214, 0.15);
}

.hero-orb-3 {
  top: 50%; right: 25%;
  width: 300px; height: 300px;
  background: rgba(245, 166, 35, 0.08);
  filter: blur(80px);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image:
    linear-gradient(rgba(59, 139, 214, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 139, 214, 0.3) 1px, transparent 1px);
  background-size: 80px 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.hero-badge .pulse-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse 2s infinite;
}

.hero-headline {
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 0.9;
  color: #fff;
}

@media (min-width: 576px) { .hero-headline { font-size: 3.75rem; } }
@media (min-width: 768px) { .hero-headline { font-size: 4.375rem; } }
@media (min-width: 992px) { .hero-headline { font-size: 5.5rem; } }

.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 32rem;
  line-height: 1.75;
}

@media (min-width: 768px) { .hero-subtitle { font-size: 1.25rem; } }

.hero-trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.875rem;
  font-weight: 500;
}

.hero-mascot-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-mascot-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: linear-gradient(to bottom right, rgba(59, 139, 214, 0.3), rgba(27, 75, 146, 0.2));
  filter: blur(48px);
  animation: glow-pulse 3s ease-in-out infinite;
}

.hero-mascot-img {
  position: relative;
  z-index: 10;
  filter: drop-shadow(0 0 60px rgba(59, 139, 214, 0.35));
  animation: float 6s ease-in-out infinite;
  max-width: 100%;
  height: auto;
}

.hero-bottom-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6rem;
  background: linear-gradient(to top, rgba(245, 166, 35, 0.2), transparent);
}

/* Mobile mascot */
.hero-mascot-mobile {
  position: relative;
  text-align: center;
  margin-top: 1rem;
}

.hero-mascot-mobile .hero-mascot-glow {
  width: 100%; height: 100%;
  inset: 0;
  filter: blur(32px);
  background: linear-gradient(to bottom right, rgba(59, 139, 214, 0.2), rgba(27, 75, 146, 0.1));
}

.hero-mascot-mobile img {
  width: 55%;
  position: relative;
  z-index: 10;
  filter: drop-shadow(0 0 40px rgba(59, 139, 214, 0.3));
  animation: float 6s ease-in-out infinite;
}

@media (min-width: 576px) {
  .hero-mascot-mobile img { width: 45%; }
}

/* ---------- Stats Strip ---------- */
.stats-strip {
  background: var(--hvac-gold);
  position: relative;
  z-index: 10;
}

.stats-strip .stat-number {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
}

.stats-strip .stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  margin-top: 0.125rem;
}

@media (min-width: 768px) {
  .stats-strip .stat-number { font-size: 1.875rem; }
  .stats-strip .stat-label { font-size: 0.875rem; }
}

/* ---------- Section Patterns ---------- */
.section-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--hvac-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.section-heading {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--hvac-900);
  letter-spacing: -0.025em;
}

@media (min-width: 576px) { .section-heading { font-size: 3rem; } }
@media (min-width: 992px) { .section-heading { font-size: 3.75rem; } }

.section-heading-white { color: #fff; }

.section-text {
  color: rgba(20, 58, 114, 0.7);
  font-size: 1.125rem;
  line-height: 1.75;
}

/* Background variants */
.bg-gray { background: var(--hvac-gray-50); }
.bg-navy { background: var(--hvac-900); }
.bg-navy-dark { background: var(--hvac-950); }
.bg-gold { background: var(--hvac-gold); }

/* ---------- Service Cards ---------- */
.service-card {
  background: #fff;
  border-radius: 1rem;
  border: 1px solid var(--hvac-gray-200);
  overflow: hidden;
  transition: all 0.3s;
}

.service-card:hover {
  border-color: var(--hvac-300);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.service-card-dark {
  background: var(--hvac-800);
  border-color: transparent;
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card .card-body {
  padding: 1.5rem;
}

.service-card .aspect-4-3 {
  position: relative;
  padding-bottom: 75%;
  overflow: hidden;
}

.service-card .aspect-4-3 img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Featured service row */
.service-featured-card {
  background: #fff;
  border-radius: 1rem;
  border: 1px solid var(--hvac-gray-200);
  overflow: hidden;
}

.service-featured-card .service-img-wrap {
  position: relative;
  padding-bottom: 75%; /* 4:3 */
  overflow: hidden;
}

.service-featured-card .service-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-featured-card .service-text {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 992px) {
  .service-featured-card .service-text { padding: 3rem; }
}

/* Brand pills */
.brand-pill {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  background: var(--hvac-100);
  color: var(--hvac-700);
  font-size: 0.875rem;
  font-weight: 500;
}

/* ---------- Reason Cards (Why Choose Us) ---------- */
.reason-card {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid var(--hvac-gray-100);
  transition: all 0.3s;
}

.reason-card:hover {
  border-color: var(--hvac-300);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.icon-box {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-box-dark {
  background: var(--hvac-800);
}

.icon-box-gold {
  background: rgba(245, 166, 35, 0.15);
}

.icon-box-gold-alt {
  background: rgba(245, 166, 35, 0.1);
}

.icon-box svg,
.icon-box i {
  color: var(--hvac-gold);
  width: 1.25rem;
  height: 1.25rem;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: var(--hvac-800);
  border-radius: 1.5rem;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

@media (min-width: 992px) { .cta-banner { padding: 4rem; } }

.cta-banner .orb {
  position: absolute;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  filter: blur(48px);
}

.cta-banner .orb-gold {
  top: -6rem; right: -6rem;
  background: rgba(245, 166, 35, 0.1);
}

.cta-banner .orb-blue {
  bottom: -6rem; left: -6rem;
  background: rgba(27, 75, 146, 0.1);
}

/* ---------- Pricing Section ---------- */
.pricing-section {
  background: linear-gradient(135deg, #C8CED8 0%, #D8DCE4 30%, #E4E7ED 60%, #D0D5DE 100%);
  position: relative;
  overflow: hidden;
}

.pricing-section .sheen-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background: linear-gradient(180deg, rgba(255,255,255,0.4) 0%, transparent 40%, rgba(255,255,255,0.2) 100%);
}

/* Brand tab pills */
.brand-tabs {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 9999px;
  padding: 0.375rem;
  border: 1px solid var(--hvac-gray-200);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.brand-tab {
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.875rem;
  border: none;
  background: transparent;
  color: var(--hvac-700);
  cursor: pointer;
  transition: all 0.3s;
}

@media (min-width: 576px) { .brand-tab { padding: 0.75rem 2.5rem; } }

.brand-tab.active {
  background: var(--hvac-800);
  color: #fff;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.brand-tab:hover:not(.active) { color: var(--hvac-900); }

/* Pricing table */
.pricing-table-wrap {
  border-radius: 1rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid var(--hvac-gray-200);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.pricing-table {
  width: 100%;
  min-width: 640px;
}

.pricing-table thead { background: var(--hvac-800); }

.pricing-table th {
  padding: 1.25rem 1rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-table th:first-child {
  text-align: left;
  padding-left: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

.pricing-table th:not(:first-child) {
  text-align: center;
  color: var(--hvac-gold);
  font-weight: 700;
}

.pricing-table td {
  padding: 1.25rem 1rem;
  border-top: 1px solid var(--hvac-gray-100);
}

.pricing-table td:first-child {
  padding-left: 1.5rem;
  font-weight: 700;
  color: var(--hvac-700);
  white-space: nowrap;
}

.pricing-table td:not(:first-child) {
  text-align: center;
  font-weight: 700;
  color: var(--hvac-900);
  font-size: 1.125rem;
}

.pricing-table tbody tr:nth-child(even) { background: rgba(242, 244, 247, 0.5); }
.pricing-table tbody tr:nth-child(odd) { background: #fff; }
.pricing-table tbody tr:hover { background: rgba(235, 244, 253, 0.5); }

/* Pricing add-on cards */
.pricing-addon {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--hvac-gray-200);
  transition: all 0.3s;
}

.pricing-addon:hover {
  border-color: var(--hvac-400);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.pricing-addon .price {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--hvac-800);
}

.pricing-addon .price-gold { color: var(--hvac-gold); }

.pricing-addon .price-unit {
  font-size: 0.875rem;
  color: var(--hvac-gold);
  font-weight: 600;
  margin-top: 0.25rem;
}

.pricing-addon .price-desc {
  font-size: 0.875rem;
  color: var(--hvac-silver-dark);
  margin-top: 0.75rem;
}

/* Sale badge */
.sale-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: var(--hvac-red);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- Project Gallery ---------- */
.gallery-caption {
  margin-top: 1rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border-radius: 0.75rem;
  padding: 1rem;
}

.gallery-caption .title {
  font-weight: 700;
  color: #fff;
}

.gallery-caption .desc {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* ---------- Offer Cards ---------- */
.offer-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  border-radius: 1rem;
  border: 2px solid var(--hvac-gray-200);
  padding: 1.5rem;
  transition: all 0.3s;
}

.offer-card:hover { border-color: rgba(245, 166, 35, 0.4); }

.offer-card.featured {
  border-color: var(--hvac-gold);
  background: rgba(245, 166, 35, 0.05);
}

.offer-card .offer-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.offer-card .big-number {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--hvac-900);
  line-height: 1;
  white-space: nowrap;
}

@media (min-width: 576px) { .offer-card .big-number { font-size: 2.25rem; } }

.offer-card .big-number .suffix {
  font-size: 1.125rem;
  color: var(--hvac-gold);
}

.offer-badge {
  background: var(--hvac-gold);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  padding: 0.125rem 0.625rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- Brands Marquee ---------- */
.brands-section {
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.marquee-track {
  display: flex;
  animation: marquee 25s linear infinite;
  width: max-content;
}

.marquee-track span {
  margin: 0 1.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.15);
  white-space: nowrap;
  flex-shrink: 0;
  user-select: none;
}

@media (min-width: 576px) { .marquee-track span { margin: 0 2rem; font-size: 1.5rem; } }
@media (min-width: 992px) { .marquee-track span { margin: 0 3rem; font-size: 1.875rem; } }

.marquee-fade-left,
.marquee-fade-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 6rem;
  z-index: 10;
}

@media (min-width: 576px) {
  .marquee-fade-left, .marquee-fade-right { width: 10rem; }
}

.marquee-fade-left {
  left: 0;
  background: linear-gradient(to right, var(--hvac-950), transparent);
}

.marquee-fade-right {
  right: 0;
  background: linear-gradient(to left, var(--hvac-950), transparent);
}

/* ---------- Footer ---------- */
.footer-hvac {
  background: var(--hvac-900);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-hvac .footer-heading {
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #fff;
  margin-bottom: 1rem;
}

.footer-hvac a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s;
}

.footer-hvac a:hover { color: var(--hvac-gold); }

.footer-hvac .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.75rem;
  color: #c0bcbc;
}

/* ---------- Review Cards ---------- */
.review-card {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid var(--hvac-gray-100);
  transition: all 0.3s;
}

.review-card:hover {
  border-color: var(--hvac-300);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.review-card .quote-icon {
  color: rgba(245, 166, 35, 0.15);
  position: absolute;
  top: -0.25rem;
  left: -0.25rem;
}

.review-card .review-text {
  color: rgba(20, 58, 114, 0.7);
  line-height: 1.75;
  padding-left: 1rem;
  position: relative;
  z-index: 1;
}

.review-service-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: rgba(245, 166, 35, 0.1);
  color: var(--hvac-gold-dark);
  font-size: 0.75rem;
  font-weight: 600;
}

/* ---------- Contact Form ---------- */
.form-control-hvac {
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  transition: all 0.2s;
  background: transparent;
}

.form-control-hvac:focus {
  border-color: var(--hvac-500);
  box-shadow: 0 0 0 3px rgba(34, 102, 187, 0.15);
  outline: none;
}

.form-select-hvac {
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  transition: all 0.2s;
  background-color: transparent;
}

.form-select-hvac:focus {
  border-color: var(--hvac-500);
  box-shadow: 0 0 0 3px rgba(34, 102, 187, 0.15);
  outline: none;
}

.form-label-hvac {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
}

/* Image upload */
.img-upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  border-radius: 0.75rem;
  border: 2px dashed var(--hvac-gray-200);
  color: rgba(20, 58, 114, 0.5);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  background: transparent;
}

.img-upload-btn:hover {
  border-color: rgba(245, 166, 35, 0.4);
  color: var(--hvac-gold);
}

.img-preview {
  position: relative;
  width: 5rem;
  height: 5rem;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--hvac-gray-200);
}

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

.img-preview .remove-btn {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
  cursor: pointer;
  border: none;
  color: #fff;
}

.img-preview:hover .remove-btn { opacity: 1; }

/* ---------- Estimate Modal ---------- */
.modal-estimate .modal-content {
  border-radius: 1rem;
  border: none;
  overflow: hidden;
}

.modal-estimate .modal-header {
  border-bottom: none;
  padding: 1.5rem 2rem 0;
}

.modal-estimate .modal-body { padding: 1rem 2rem 2rem; }

.modal-estimate .btn-close-white {
  filter: invert(1) grayscale(100%) brightness(200%);
}

/* Success state in modal */
.estimate-success {
  text-align: center;
  padding: 3rem 2rem;
}

.estimate-success .check-icon {
  width: 4rem;
  height: 4rem;
  color: #22c55e;
  margin: 0 auto 1rem;
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom right, var(--hvac-900), var(--hvac-800), var(--hvac-700));
  padding-top: 8rem;
  padding-bottom: 5rem;
}

@media (min-width: 992px) {
  .page-hero { padding-top: 10rem; padding-bottom: 7rem; }
}

.page-hero .orb-1 {
  position: absolute;
  top: -8rem; right: -8rem;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(34, 102, 187, 0.2);
  filter: blur(100px);
}

.page-hero .orb-2 {
  position: absolute;
  bottom: -8rem; left: -8rem;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(59, 139, 214, 0.1);
  filter: blur(100px);
}

/* ---------- Content Sections (Privacy/Terms) ---------- */
.legal-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--hvac-900);
  margin-top: 2.5rem;
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--hvac-800);
  margin-top: 1.5rem;
}

.legal-content p {
  color: rgba(20, 58, 114, 0.7);
  line-height: 1.75;
}

.legal-content ul {
  color: rgba(20, 58, 114, 0.7);
  padding-left: 1.5rem;
}

.legal-content ul li { margin-bottom: 0.5rem; }

.legal-content a {
  color: var(--hvac-600);
  transition: color 0.2s;
}

.legal-content a:hover { color: var(--hvac-800); }

/* ---------- Service Page Template ---------- */
.features-strip {
  background: var(--hvac-gold);
}

.features-strip .feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
}

.faq-card {
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem 2rem;
  border: 1px solid var(--hvac-gray-100);
}

.faq-card h3 {
  font-weight: 700;
  color: var(--hvac-900);
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.faq-card p {
  color: rgba(20, 58, 114, 0.7);
  line-height: 1.75;
  margin-bottom: 0;
}

.other-service-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--hvac-gray-50);
  border-radius: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--hvac-gray-100);
  text-decoration: none;
  transition: all 0.3s;
}

.other-service-link:hover {
  background: var(--hvac-100);
  border-color: var(--hvac-300);
}

.other-service-link .icon-wrap {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: var(--hvac-800);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.other-service-link .icon-wrap svg { color: var(--hvac-gold); }

.other-service-link .service-name {
  font-weight: 700;
  color: var(--hvac-900);
  font-size: 0.875rem;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.other-service-link .chevron {
  color: var(--hvac-400);
  flex-shrink: 0;
}

/* ---------- CTA Section (bottom of pages) ---------- */
.cta-section {
  background: var(--hvac-900);
  position: relative;
  overflow: hidden;
}

.cta-section .orb-1 {
  position: absolute;
  top: -8rem; right: -8rem;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(245, 166, 35, 0.08);
  filter: blur(100px);
}

.cta-section .orb-2 {
  position: absolute;
  bottom: -8rem; left: -8rem;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(34, 102, 187, 0.1);
  filter: blur(100px);
}

/* ---------- Trust Indicators ---------- */
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.875rem;
}

.trust-item svg { width: 1rem; height: 1rem; }

/* ---------- Highlight Badge ---------- */
.highlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 166, 35, 0.1);
  color: var(--hvac-gold-dark);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
}

.highlight-badge-gold {
  background: rgba(245, 166, 35, 0.15);
  color: var(--hvac-gold);
}

/* ---------- Checklist Items ---------- */
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.check-item svg {
  color: var(--hvac-gold);
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.check-item span {
  color: var(--hvac-700);
  font-size: 1.125rem;
}

.check-item-sm span { font-size: 0.875rem; }

/* ---------- Rating Stars ---------- */
.stars {
  display: flex;
  gap: 0.25rem;
}

.stars svg {
  width: 1rem;
  height: 1rem;
  fill: var(--hvac-gold);
  color: var(--hvac-gold);
}

.stars-lg svg { width: 1.25rem; height: 1.25rem; }

/* ---------- Image Aspect Ratios ---------- */
.aspect-4-3 {
  position: relative;
  padding-bottom: 75%;
  overflow: hidden;
}

.aspect-16-9 {
  position: relative;
  padding-bottom: 56.25%;
  overflow: hidden;
}

.aspect-video {
  position: relative;
  padding-bottom: 56.25%;
  overflow: hidden;
}

.aspect-4-3 > img,
.aspect-16-9 > img,
.aspect-video > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Rounded overrides ---------- */
.rounded-2xl { border-radius: 1rem !important; }
.rounded-3xl { border-radius: 1.5rem !important; }
.rounded-pill { border-radius: 9999px !important; }
.rounded-xl { border-radius: 0.75rem !important; }

/* ---------- Utility Classes ---------- */
.text-gold { color: var(--hvac-gold) !important; }
.text-gold-dark { color: var(--hvac-gold-dark) !important; }
.text-hvac-900 { color: var(--hvac-900) !important; }
.text-hvac-800 { color: var(--hvac-800) !important; }
.text-hvac-700 { color: var(--hvac-700) !important; }
.text-hvac-400 { color: var(--hvac-400) !important; }
.text-white-50 { color: rgba(255, 255, 255, 0.5) !important; }
.text-white-40 { color: rgba(255, 255, 255, 0.4) !important; }
.text-white-30 { color: rgba(255, 255, 255, 0.3) !important; }
.text-white-25 { color: rgba(255, 255, 255, 0.25) !important; }
.text-white-20 { color: rgba(255, 255, 255, 0.2) !important; }
.text-muted-custom { color: rgba(20, 58, 114, 0.5) !important; }
.text-muted-light { color: rgba(20, 58, 114, 0.7) !important; }
.text-muted-lighter { color: rgba(20, 58, 114, 0.6) !important; }
.text-silver-dark { color: var(--hvac-silver-dark) !important; }

.bg-hvac-800 { background-color: var(--hvac-800) !important; }
.bg-hvac-900 { background-color: var(--hvac-900) !important; }
.bg-hvac-gray-50 { background-color: var(--hvac-gray-50) !important; }

.border-white-10 { border-color: rgba(255, 255, 255, 0.1) !important; }
.border-white-5 { border-color: rgba(255, 255, 255, 0.05) !important; }

.tracking-widest { letter-spacing: 0.1em; }
.tracking-tight { letter-spacing: -0.025em; }

.lh-tight { line-height: 1.05; }
.lh-none { line-height: 0.9; }

/* ---------- Lucide Icon sizing helpers ---------- */
.icon-sm { width: 1rem; height: 1rem; }
.icon-md { width: 1.25rem; height: 1.25rem; }
.icon-lg { width: 1.5rem; height: 1.5rem; }
.icon-xl { width: 2rem; height: 2rem; }
.icon-2xl { width: 2.5rem; height: 2.5rem; }
.icon-4xl { width: 4rem; height: 4rem; }

/* Service nav strip (services page) */
.service-nav-strip {
  background: var(--hvac-800);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.service-nav-strip .nav-pills .nav-link {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
  padding: 0.75rem 1.25rem;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
}

.service-nav-strip .nav-pills .nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.service-nav-strip .nav-pills .nav-link svg {
  color: var(--hvac-gold);
}

/* Contact info strip */
.contact-info-strip {
  background: var(--hvac-800);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-info-card {
  text-align: center;
  padding: 1.5rem 1rem;
}

.contact-info-card svg {
  color: var(--hvac-gold);
  margin-bottom: 0.75rem;
}

.contact-info-card .label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}

.contact-info-card .value {
  font-weight: 700;
  font-size: 1.125rem;
  color: #fff;
}

.contact-info-card .value a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-info-card .value a:hover { color: var(--hvac-gold); }

.contact-info-card .desc {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 0.25rem;
}

/* Review hero rating box */
.rating-box {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1.5rem 2rem;
}

.rating-box .divider {
  width: 1px;
  height: 3rem;
  background: rgba(255, 255, 255, 0.1);
}

/* Values grid */
.value-card {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid var(--hvac-gray-100);
  transition: all 0.3s;
}

.value-card:hover {
  border-color: var(--hvac-300);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Trust strip (reviews page) */
.trust-strip {
  border-top: 1px solid var(--hvac-gray-200);
  border-bottom: 1px solid var(--hvac-gray-200);
}

/* Brands strip (about page) */
.brands-strip {
  border-top: 1px solid var(--hvac-gray-200);
  border-bottom: 1px solid var(--hvac-gray-200);
}

.brands-strip .brand-chip {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  background: #fff;
  border: 1px solid var(--hvac-gray-200);
  color: var(--hvac-700);
  font-weight: 600;
  font-size: 0.875rem;
}

/* Sidebar cards (contact page) */
.sidebar-card {
  border-radius: 1rem;
  padding: 2rem;
}

.sidebar-card-dark {
  background: var(--hvac-900);
  color: #fff;
}

.sidebar-card-light {
  background: #fff;
  border: 1px solid var(--hvac-gray-200);
}

/* UV card placeholder */
.uv-placeholder {
  position: relative;
  background: var(--hvac-800);
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  text-align: center;
}

.uv-placeholder .uv-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, var(--hvac-800), var(--hvac-900));
}

.uv-placeholder .uv-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(59, 139, 214, 0.1);
  filter: blur(80px);
}

/* ---------- Standardized Utility Classes ---------- */

/* Page hero title (inner pages — NOT index.html which uses .hero-headline) */
.page-hero-title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

/* CTA section heading */
.cta-heading {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.025em;
}

/* CTA section inner wrapper */
.cta-inner {
  max-width: 56rem;
  margin: 0 auto;
}

/* Hero subtitle (inner pages) */
.page-hero-subtitle {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.125rem;
  line-height: 1.75;
  max-width: 38rem;
}

/* Drop shadow utility (used on footer logo) */
.drop-shadow {
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

/* Mobile menu separator */
.mobile-menu-separator {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  margin-top: 0.5rem;
}

/* Standardized modal */
.modal-estimate .modal-dialog {
  max-width: 32rem;
}

.service-nav-strip .nav-link {
  color: #fff;
}
