/* ================================================================
   Bucca Fix, LLC — WickedFastWeb Redesign
   Palette: deep HVAC-blue charcoal + cool blue (cooling) + warm orange (heating)
   Fonts: Space Grotesk (headings) + Inter (body)
================================================================ */

:root {
  --navy:      #0F2130;
  --navy-2:    #16324A;
  --navy-3:    #0B1922;
  --blue:      #3E8FCC;
  --blue-dark: #1F5C8C;
  --orange:    #E8611F;
  --orange-dark: #C2490F;
  --cream:     #F6F4EF;
  --white:     #FFFFFF;
  --text:      #1C2A33;
  --muted:     #5E7181;
  --border:    #E4E9ED;
  --radius:    12px;
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  margin: 0;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', Arial, sans-serif;
  font-weight: 600;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container-xl { max-width: 1200px; }

/* ================================================================
   NAVBAR
================================================================ */
#mainNav {
  background: var(--navy-3);
  padding: 0.65rem 0;
  box-shadow: 0 2px 18px rgba(0,0,0,0.35);
}
.nav-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
}
.brand-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.01em;
}
.navbar-dark .navbar-nav .nav-link {
  color: rgba(255,255,255,0.82);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 0.7rem;
  transition: color 0.2s;
}
.navbar-dark .navbar-nav .nav-link:hover { color: var(--blue); }

.btn-cta-nav {
  background: var(--orange);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.5rem 1.1rem;
  border-radius: 7px;
  white-space: nowrap;
  transition: background 0.2s;
}
.btn-cta-nav:hover { background: var(--orange-dark); }

.btn-cta-nav-outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.5rem 1.1rem;
  border-radius: 7px;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s;
}
.btn-cta-nav-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--blue); }

@media (max-width: 991.98px) {
  .navbar-nav { padding-top: 0.75rem; }
  .btn-cta-nav, .btn-cta-nav-outline { display: inline-flex; margin-top: 0.5rem; width: 100%; justify-content: center; }
}

/* ================================================================
   HERO
================================================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('img/hero.webp') center/cover no-repeat;
  padding: 6rem 1rem 4rem;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 50% 48%, rgba(6,16,24,0.40) 0%, rgba(6,16,24,0.05) 100%),
    linear-gradient(to bottom, rgba(6,16,24,0.35) 0%, rgba(6,16,24,0.10) 45%, rgba(6,16,24,0.55) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  background: rgba(6,16,24,0.20);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  padding: 2.5rem 1.75rem;
  border-radius: var(--radius);
}
.hero-eyebrow {
  color: #B9DCF5;
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  text-transform: uppercase;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.8);
}
.hero-title {
  color: #fff;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0.75rem 0 1.1rem;
  text-shadow: 0 0 4px rgba(0,0,0,1), 0 2px 20px rgba(0,0,0,0.95), 0 0 60px rgba(0,0,0,0.8);
}
.hero-subtitle {
  color: #EDF3F7;
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 620px;
  margin: 0 auto;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 2px 16px rgba(0,0,0,0.95), 0 0 40px rgba(0,0,0,0.85);
}
.hero-tagline { text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.9); }

.btn-hero-primary {
  background: var(--orange);
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border-radius: 8px;
  transition: background 0.2s, transform 0.15s;
}
.btn-hero-primary:hover { background: var(--orange-dark); color: #fff; transform: translateY(-1px); }

.btn-hero-outline {
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.65);
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border-radius: 8px;
  transition: background 0.2s;
}
.btn-hero-outline:hover { background: rgba(255,255,255,0.18); color: #fff; }

/* ================================================================
   STATS STRIP
================================================================ */
.stats-strip {
  background: var(--navy);
  padding: 2.25rem 0;
}
.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--blue);
}
.stat-num .stat-plus { font-size: 1.2rem; color: var(--orange); }
.stat-num i { color: var(--orange); font-size: 1.8rem; }
.stat-label {
  color: rgba(255,255,255,0.75);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

/* ================================================================
   SECTION HEADERS (shared)
================================================================ */
.section-kicker {
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.section-kicker-light { color: var(--blue); }
.section-title {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  color: var(--navy);
  margin-bottom: 1rem;
}
.section-title-light { color: #fff; }
.section-lead { color: var(--muted); font-size: 1.05rem; line-height: 1.65; }

/* ================================================================
   ABOUT
================================================================ */
.section-about { padding: 6rem 0; background: var(--white); }
.section-about p { color: var(--text); line-height: 1.7; }
.section-about .section-lead { color: var(--text); font-weight: 500; }

.pill-badge {
  display: inline-flex;
  align-items: center;
  background: var(--cream);
  border: 1px solid var(--border);
  color: var(--navy-2);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: 30px;
}
.pill-badge i { color: var(--orange); }

.about-panel {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.about-panel-row {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.about-panel-row:last-child { border-bottom: none; padding-bottom: 0; }
.about-panel-row i {
  font-size: 1.6rem;
  color: var(--blue);
  width: 44px;
  flex-shrink: 0;
}
.about-panel-num {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: #fff;
  font-size: 1.15rem;
}
.about-panel-label {
  color: rgba(255,255,255,0.68);
  font-size: 0.85rem;
  margin-top: 0.15rem;
}

/* ================================================================
   SERVICES
================================================================ */
.section-services { padding: 6rem 0; background: var(--cream); }
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  height: 100%;
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(15,33,48,0.12); }
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 1.1rem;
}
.icon-blue { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); }
.icon-orange { background: linear-gradient(135deg, var(--orange), var(--orange-dark)); }
.service-card h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.6rem;
}
.service-card p { color: var(--muted); font-size: 0.94rem; line-height: 1.6; margin: 0; }

/* ================================================================
   ON THE JOB GALLERY
================================================================ */
.section-gallery { padding: 6rem 0; background: var(--navy-3); }
.gallery-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.gallery-frame img { width: 100%; height: 100%; object-fit: cover; }
.gallery-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(6,16,24,0.88), rgba(6,16,24,0));
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 2.5rem 1.25rem 1rem;
}

/* ================================================================
   MASS SAVE REBATES
================================================================ */
.section-rebates {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
}
.rebate-list { list-style: none; padding: 0; margin: 1.5rem 0; }
.rebate-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.88);
  line-height: 1.55;
}
.rebate-list li:last-child { border-bottom: none; }
.rebate-list li i { color: var(--orange); font-size: 1.3rem; margin-top: 0.15rem; flex-shrink: 0; }
.rebate-list li strong { color: #fff; }

.link-light-underline {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.link-light-underline:hover { color: #fff; }

.badge-panel {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 2.25rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  align-items: center;
}
.badge-panel img { width: 100%; height: auto; max-height: 92px; object-fit: contain; margin: 0 auto; }

/* ================================================================
   TESTIMONIALS
================================================================ */
.section-testimonials { padding: 6rem 0; background: var(--white); }
.testimonial-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.85rem;
  height: 100%;
  border: 1px solid var(--border);
}
.stars { color: var(--orange); font-size: 0.9rem; margin-bottom: 0.75rem; letter-spacing: 0.15em; }
.testimonial-card p {
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.6;
  min-height: 4.8em;
}
.reviewer { font-weight: 700; color: var(--navy); font-size: 0.9rem; }
.reviewer span { font-weight: 400; color: var(--muted); }

/* ================================================================
   QUOTE FORM + CONTACT
================================================================ */
.section-quote { padding: 6rem 0; background: var(--cream); }
.quote-form { margin-top: 1.75rem; }
.form-label { font-weight: 600; color: var(--navy); font-size: 0.88rem; }
.bf-input {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 0.65rem 0.9rem;
  font-size: 0.95rem;
}
.bf-input:focus { border-color: var(--blue); box-shadow: 0 0 0 0.2rem rgba(62,143,204,0.18); }
.form-check-input:checked { background-color: var(--orange); border-color: var(--orange); }

.contact-info-box {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 2rem;
}
.contact-info-box h4 { color: #fff; font-family: 'Space Grotesk', sans-serif; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.contact-item:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.contact-item i { color: var(--blue); font-size: 1.25rem; margin-top: 0.2rem; width: 22px; flex-shrink: 0; }
.contact-item div { color: rgba(255,255,255,0.85); font-size: 0.92rem; line-height: 1.55; }
.contact-item strong { color: #fff; }
.contact-item a { color: rgba(255,255,255,0.85); }
.contact-item a:hover { color: var(--blue); }

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  line-height: 0;
}

.link-orange { color: var(--orange); font-weight: 600; }
.link-orange:hover { color: var(--orange-dark); }

/* ================================================================
   FOOTER
================================================================ */
.site-footer {
  background: var(--navy-3);
  padding: 4.5rem 0 2rem;
}
.footer-logo { height: 46px; width: auto; }
.footer-tag { color: rgba(255,255,255,0.6); font-size: 0.9rem; line-height: 1.6; margin-bottom: 1rem; max-width: 320px; }
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 1.05rem;
  transition: background 0.2s;
}
.social-icon:hover { background: var(--blue); }
.footer-heading {
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  margin-bottom: 1.1rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.7rem; }
.footer-links a { color: rgba(255,255,255,0.62); font-size: 0.9rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--blue); }
.footer-links li:not(:has(a)) { color: rgba(255,255,255,0.62); font-size: 0.9rem; }
.footer-divider { border-color: rgba(255,255,255,0.14); margin: 2.5rem 0 1.5rem; }
.footer-copy { color: rgba(255,255,255,0.5); font-size: 0.85rem; }
.powered-by {
  display: inline-flex;
  align-items: center;
  background: var(--orange);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  border-radius: 7px;
  transition: background 0.2s;
}
.powered-by:hover { background: var(--orange-dark); color: #fff; }

/* ================================================================
   RESPONSIVE TWEAKS
================================================================ */
@media (max-width: 767.98px) {
  .hero-content { padding: 1.75rem 1.25rem; }
  .section-about, .section-services, .section-gallery, .section-rebates, .section-testimonials, .section-quote {
    padding: 4rem 0;
  }
  .badge-panel { grid-template-columns: 1fr 1fr; padding: 1.5rem; gap: 1.25rem; }
}
