:root {
  --brand: #0071BC;
  --brand-dark: #00558c;
  --brand-light: #4fa6e0;
  --ink: #10151b;
  --ink-soft: #4a5561;
  --paper: #ffffff;
  --paper-soft: #f5f8fb;
  --border: #e3e9ef;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 40px -20px rgba(16, 21, 27, 0.25);
  --font: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

h1, h2, h3 {
  font-family: var(--font);
  font-weight: 800;
  line-height: 1.15;
  margin: 0;
}

h2 { font-size: clamp(28px, 4vw, 42px); }

p { line-height: 1.6; color: var(--ink-soft); margin: 0; }

.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 12px 24px -8px rgba(0, 113, 188, 0.55);
}
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); }

.btn-white {
  background: #fff;
  color: var(--brand);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); }

/* ---- Nav ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(16, 21, 27, 0.06);
  padding: 12px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo img { height: 42px; width: auto; transition: filter 0.3s ease; }
.nav:not(.scrolled) .nav-logo img { filter: brightness(0) invert(1); }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  padding: 8px 0;
}
.nav.scrolled .nav-links a { color: var(--ink); }
.nav:not(.scrolled) .nav-links a { color: #fff; }
.nav-item { position: relative; }
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 10px;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}
.nav-item:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-dropdown a { display: block; padding: 10px 14px; border-radius: 8px; color: var(--ink) !important; font-size: 14px; }
.nav-dropdown a:hover { background: var(--paper-soft); }
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-phone { font-weight: 700; }
.nav:not(.scrolled) .nav-phone { color: #fff; }
.nav-cta { padding: 12px 24px; font-size: 14px; }
.nav-burger { display: none; }

@media (max-width: 900px) {
  .nav-links, .nav-phone { display: none; }
  .nav-burger {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
  }
  .nav-burger span {
    display: block;
    width: 26px;
    height: 2px;
    background: currentColor;
    margin: 6px 0;
  }
  .nav:not(.scrolled) .nav-burger { color: #fff; }
}

.mobile-menu {
  display: none;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 12px 24px 20px;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 13px 0;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu .mobile-phone { color: var(--brand); font-weight: 800; }
@media (min-width: 901px) {
  .mobile-menu { display: none !important; }
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 15, 20, 0.55) 0%, rgba(10, 15, 20, 0.7) 60%, rgba(10, 15, 20, 0.85) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  padding: 140px 24px 80px;
}
.hero .eyebrow { color: #bfe0f7; }
.hero h1 {
  color: #fff;
  font-size: clamp(38px, 6vw, 64px);
  overflow: hidden;
}
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .word { display: inline-block; will-change: transform; }
.hero-subhead {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(16px, 2vw, 19px);
  max-width: 560px;
  margin: 22px auto 36px;
}
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.hero-phone { color: #fff; font-weight: 700; font-size: 15px; }

/* ---- Photo strip ---- */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.strip-cell { height: 320px; overflow: hidden; display: flex; align-items: center; }
.photo-strip img { width: 100%; height: 124%; object-fit: cover; will-change: transform; }
@media (max-width: 760px) {
  .photo-strip { grid-template-columns: 1fr; }
  .strip-cell { height: 240px; }
}

/* ---- Sections ---- */
section { padding: 100px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }

/* ---- Feature cards ---- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.feature-card {
  flex: 1 1 250px;
  max-width: 280px;
  background: var(--paper-soft);
  border-radius: var(--radius);
  padding: 32px 26px;
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 18px; margin-bottom: 10px; }
.feature-card p { font-size: 14.5px; }

/* ---- Pricing ---- */
.pricing-section {
  background: var(--brand);
  color: #fff;
}
.pricing-section .section-head h2 { color: #fff; }
.pricing-section .section-head p { color: rgba(255, 255, 255, 0.8); }
.pricing-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  align-items: stretch;
}
.tier-card {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  padding: 34px 28px;
  flex: 1 1 220px;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease;
}
.tier-card:hover { transform: translateY(-8px); }
.tier-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffb200;
  color: #10151b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.tier-label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--brand); margin-bottom: 8px; }
.tier-price { font-size: 30px; font-weight: 800; margin-bottom: 18px; }
.tier-price.contact { font-size: 20px; }
.tier-models { list-style: none; margin: 0 0 24px; padding: 0; flex: 1; }
.tier-models li {
  font-size: 13.5px;
  color: var(--ink-soft);
  padding: 7px 0;
  border-top: 1px solid var(--border);
}
.tier-models li:first-child { border-top: none; }
.tier-cta { text-align: center; padding: 10px; border-radius: 999px; font-weight: 700; font-size: 13.5px; background: var(--paper-soft); color: var(--brand); }

/* ---- Install-only callout ---- */
.callout-strip {
  background: var(--ink);
  color: #fff;
  padding: 60px 0;
}
.callout-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.callout-inner h3 { font-size: 26px; margin-bottom: 8px; }
.callout-inner p { color: rgba(255, 255, 255, 0.75); max-width: 480px; }

/* ---- About ---- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-grid img { border-radius: var(--radius); box-shadow: var(--shadow); }
.stat-row { display: flex; gap: 36px; margin-top: 32px; }
.stat-value { font-size: 34px; font-weight: 800; color: var(--brand); }
.stat-label { font-size: 13.5px; color: var(--ink-soft); }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .stat-row { flex-wrap: wrap; gap: 24px; }
}

/* ---- FAQ ---- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); padding: 22px 0; }
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 16.5px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 22px; color: var(--brand); font-weight: 400; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { margin-top: 14px; font-size: 15px; }

/* ---- Bottom CTA ---- */
.bottom-cta {
  background: var(--brand);
  color: #fff;
  text-align: center;
  padding: 90px 0;
}
.bottom-cta h2 { color: #fff; margin-bottom: 30px; }

/* ---- Footer ---- */
footer { background: var(--ink); color: rgba(255, 255, 255, 0.7); padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.footer-logo img { height: 34px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer-col h4 { color: #fff; font-size: 14px; margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; font-size: 14px; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Interior page head band ---- */
.page-head {
  background: linear-gradient(135deg, var(--ink) 0%, #1a2c3d 55%, var(--brand-dark) 130%);
  color: #fff;
  padding: 170px 0 96px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-head h1 { font-size: clamp(32px, 5vw, 52px); color: #fff; }
.page-head .hero-subhead { margin: 18px auto 0; }
.ph-content { position: relative; z-index: 2; }

/* ---- Page-head water fill (Charlie's pick, 2026-07-02, from a 4-way
   review on /products-list) ----
   Two water levels park below the header's bottom edge (220% tall, so
   their bottoms never rise above the header's own bottom - no gap can
   ever appear) and rise on scroll to visibly flood the header. */
.ph-water { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.ph-water-fill {
  position: absolute; left: -12%; right: -12%; top: 100%; height: 220%;
  will-change: transform;
}
.ph-water-back {
  border-radius: 46% 54% 0 0 / 90px 70px 0 0;
  background: linear-gradient(180deg, rgba(79, 166, 224, 0.28) 0%, rgba(0, 113, 188, 0.20) 30%, rgba(0, 85, 140, 0.16) 100%);
}
.ph-water-front {
  border-radius: 55% 45% 0 0 / 70px 95px 0 0;
  background: linear-gradient(180deg, rgba(0, 148, 235, 0.42) 0%, rgba(0, 113, 188, 0.30) 35%, rgba(0, 85, 140, 0.22) 100%);
}

/* ---- Product cards ---- */
.tier-section { padding: 70px 0; }
.tier-section:nth-of-type(even) { background: var(--paper-soft); }
.product-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.product-card {
  flex: 1 1 240px;
  max-width: 280px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-card img { width: 100%; height: 200px; object-fit: cover; }
.product-card-body { padding: 20px 22px 24px; }
.product-card-body h3 { font-size: 17px; margin-bottom: 6px; }
.retail-tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--brand); background: var(--paper-soft); border-radius: 999px; padding: 3px 10px; margin-bottom: 8px; }
.product-price { display: block; font-size: 18px; font-weight: 800; color: var(--ink); }

/* ---- Product detail ---- */
.product-media { border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
/* min-height keeps the unloaded box non-zero so loading="lazy" can trigger
   (zero-area elements never intersect, so lazy images inside would never load) */
.product-photo { display: block; width: 100%; min-height: 220px; object-fit: cover; will-change: transform; }
.retail-note { font-weight: 700; color: var(--brand); margin-top: 10px; }
.feature-list { list-style: none; margin: 22px 0 0; padding: 0; }
.feature-list li { padding: 9px 0 9px 28px; position: relative; color: var(--ink-soft); border-bottom: 1px solid var(--border); }
.feature-list li::before { content: '\2713'; position: absolute; left: 0; color: var(--brand); font-weight: 800; }

/* ---- SEO page bits ---- */
.alt-stripe { padding: 70px 0; }
.alt-stripe:nth-of-type(even) { background: var(--paper-soft); }
.model-list { list-style: none; margin: 24px auto 0; padding: 0; max-width: 560px; }
.model-list li { padding: 12px 0; border-bottom: 1px solid var(--border); color: var(--ink-soft); }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-grid h2 { font-size: clamp(24px, 3vw, 34px); }
.contact-list { list-style: none; margin: 24px 0 0; padding: 0; }
.contact-list li { padding: 10px 0; border-bottom: 1px solid var(--border); color: var(--ink-soft); }
.contact-list a { color: var(--brand); font-weight: 700; }
.contact-form-slot { background: var(--paper-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.contact-form-slot iframe { min-height: 640px; }
.map-embed { margin-top: 28px; border-radius: var(--radius); overflow: hidden; }
.map-embed iframe { width: 100%; height: 320px; display: block; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---- Blog ---- */
.blog-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px; }
.blog-card { display: flex; flex-direction: column; width: 350px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.blog-card img { width: 100%; height: 190px; object-fit: cover; }
.blog-card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.blog-card-body h3 { font-size: 18px; line-height: 1.3; color: var(--ink); }
.blog-card-body p { font-size: 14px; color: var(--ink-soft); flex: 1; }
.blog-read-more { color: var(--brand); font-weight: 700; font-size: 14px; }
.article-body { max-width: 760px; padding-top: 56px; padding-bottom: 30px; }
.article-intro { font-size: 19px; line-height: 1.65; color: var(--ink-soft); }
.article-media { margin: 30px 0 8px; }
.article-section { margin-top: 40px; }
.article-section h2 { font-size: clamp(24px, 3vw, 32px); }
.article-section p { line-height: 1.7; color: var(--ink-soft); }
.article-faq-heading { font-size: 21px; margin-bottom: 14px; }
.article-related { margin-top: 44px; background: var(--paper-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 26px; }
.article-related ul { list-style: none; margin: 0; padding: 0; }
.article-related li { padding: 7px 0; }
.article-related a { color: var(--brand); font-weight: 700; }

/* ---- Reviews section (GHL review widget, every public page) ---- */
.reviews-section { padding: 70px 0; background: var(--paper-soft); }
.reviews-heading { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.1; margin: 6px 0 10px; letter-spacing: -0.02em; }
.reviews-widget-wrap { width: 100%; margin-top: 28px; }
.reviews-widget-wrap .lc_reviews_widget { width: 100%; min-width: 100%; border: none; }

/* ---- Quote popup modal (Sunpeak standard: white box, inline embed) ---- */
.quote-modal { position: fixed; inset: 0; background: rgba(13, 25, 36, 0.62); z-index: 1200; display: none; align-items: center; justify-content: center; padding: 18px; }
.quote-modal.open { display: flex; }
.quote-modal-box { position: relative; background: #fff; border-radius: 18px; width: min(560px, 100%); max-height: 96vh; padding: 28px 26px 18px; box-shadow: 0 30px 80px rgba(0,0,0,0.35); overflow: hidden; display: flex; flex-direction: column; }
.quote-modal-box h3 { font-size: 24px; margin: 0 42px 6px 0; }
.quote-modal-box > p { color: var(--ink-soft); font-size: 14.5px; margin: 0 0 14px; }
.quote-modal-box > p a { color: var(--brand); font-weight: 700; }
.quote-modal-box iframe { height: min(640px, calc(96vh - 150px)) !important; width: 100%; border: none; }
.quote-modal-close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border: none; border-radius: 12px; background: var(--paper-soft); color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; }
.quote-modal-close:hover { background: #e2ebf3; }
body.modal-open { overflow: hidden; }
.btn-hero-secondary { background: rgba(255,255,255,0.14); color: #fff; border: 1px solid rgba(255,255,255,0.45); }
.btn-hero-secondary:hover { background: rgba(255,255,255,0.24); }
.btn-hero-secondary-light { background: transparent; color: var(--brand); border: 1.5px solid var(--brand); }
.btn-hero-secondary-light:hover { background: rgba(0, 113, 188, 0.08); }
.mobile-menu .mobile-quote { color: var(--brand); font-weight: 800; }
.nav-cta { cursor: pointer; }

/* ---- Scroll reveal (hidden state only when animations are active) ---- */
html.anim .reveal { opacity: 0; transform: translateY(28px); }
