/* ==========================================================================
   OZ BREEZE — Design tokens
   Palette: Royal Blue #0C1F7A · Vivid Blue #2A8CF0 · Red #E8232B · Ice #F7FAFC · Slate #4B5A6B
   Sampled directly from the OZ Breeze logo (deep blue outline, vivid blue fill, red thermometer)
   Display: 'Space Grotesk' · Body: 'Inter'
   ========================================================================== */

:root {
  --navy: #0C1F7A;
  --navy-deep: #071350;
  --sky: #2A8CF0;
  --sky-light: #7DB8F5;
  --sky-tint: #E9F3FD;
  --ember: #E8232B;
  --ember-dark: #B81620;
  --ember-tint: #FBE4E5;
  --ice: #F7FAFC;
  --white: #FFFFFF;
  --slate: #4B5A6B;
  --charcoal: #121A2E;
  --line: #DCE6F0;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  --max-w: 1180px;
  --radius: 6px;
  --transition: 240ms cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: smooth; color-scheme: light; }

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

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
}
.btn:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }
.btn:hover { transform: translateY(-1px); }

.btn-primary { background: var(--sky); color: var(--white); position: relative; overflow: hidden; }
.btn-primary:hover { background: #1E7BD9; }
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left 550ms ease;
}
.btn-primary:hover::after { left: 130%; }

/* ---------- Breeze divider (drifting wind-line strip) ---------- */
.breeze-divider {
  position: relative;
  height: 56px;
  overflow: hidden;
  background: var(--ice);
}
.breeze-divider svg {
  position: absolute;
  top: 0; left: 0;
  width: 220%;
  height: 100%;
  animation: breezeDrift 22s linear infinite;
}
.breeze-divider.reverse svg { animation-duration: 28s; animation-direction: reverse; }
@keyframes breezeDrift {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .breeze-divider svg { animation: none; }
}

.btn-outline { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--sky); color: var(--sky); }

.btn-ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-ghost-light:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 28px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy);
}
.brand-mark {
  width: 34px; height: 34px;
  flex-shrink: 0;
}
.brand-logo {
  height: 128px;
  width: auto;
  display: block;
  object-fit: contain;
}
.footer-logo {
  height: 110px;
  width: auto;
  display: block;
  margin-bottom: 14px;
  object-fit: contain;
}
.nav-links {
  display: flex;
  gap: 34px;
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-links a { position: relative; color: var(--slate); transition: color var(--transition); padding: 4px 0; }
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-links a.active::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -4px;
  height: 2px; background: var(--sky); border-radius: 2px;
}
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-phone { font-weight: 600; font-size: 0.92rem; color: var(--navy); transition: color var(--transition); }
.nav-phone:hover { color: var(--sky); }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav { padding: 10px 22px; }
  .brand-logo { height: 46px; }
  .footer-logo { height: 64px; }
  .nav-links { position: fixed; top: var(--header-h, 76px); left: 0; right: 0; height: calc(100vh - var(--header-h, 76px)); background: var(--white); flex-direction: column; padding: 32px 28px; gap: 22px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity var(--transition), transform var(--transition); overflow-y: auto; }
  .nav-links.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-toggle { display: block; background: none; border: none; cursor: pointer; }
  .nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px 0; transition: var(--transition); }
  .nav-cta { display: none; }
}
@media (max-width: 480px) {
  .brand-logo { height: 38px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 55%, #123a54 100%);
  color: var(--white);
  overflow: hidden;
  padding: 100px 0 120px;
}
.hero-glow {
  position: absolute;
  top: -140px;
  right: -120px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,35,43,0.28) 0%, rgba(232,35,43,0) 70%);
  z-index: 1;
  pointer-events: none;
}
.hero-flow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin-bottom: 22px;
}
.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.78);
  max-width: 540px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 48px;
  margin-top: 72px;
  flex-wrap: wrap;
}
.hero-stat .num { font-family: var(--font-display); font-size: 2.1rem; font-weight: 700; color: var(--sky-light); }
.hero-stat:nth-child(2) .num { color: #FF7A82; }
.hero-stat .lbl { font-size: 0.85rem; color: rgba(255,255,255,0.65); margin-top: 2px; }

/* ---------- Section scaffolding ---------- */
section { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--slate); font-size: 1.05rem; }
.section-alt { background: var(--ice); }

.divider-flow { display: block; width: 100%; height: auto; margin: 0; }

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(15,42,61,0.08); border-color: transparent; }
.card:hover .card-icon { color: var(--ember); }
.card-icon { width: 44px; height: 44px; margin-bottom: 20px; color: var(--sky); transition: color var(--transition); }
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { color: var(--slate); font-size: 0.96rem; }

.placeholder-photo {
  background: linear-gradient(135deg, var(--sky-tint) 0%, #DCEFFA 100%);
  border: 1px dashed #B9DDF0;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sky);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-align: center;
  min-height: 220px;
  padding: 20px;
}

/* ---------- Feature strip (Residential Installs teaser) ---------- */
.feature-band {
  background: var(--navy);
  color: var(--white);
  border-radius: 10px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.feature-band h2 { color: var(--white); }
.feature-band p { color: rgba(255,255,255,0.75); }
@media (max-width: 900px) { .feature-band { grid-template-columns: 1fr; padding: 36px 26px; } }

/* ---------- Testimonials ---------- */
.testimonial {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
}
.testimonial p { color: var(--charcoal); font-size: 1rem; margin-bottom: 18px; }
.testimonial .who { font-weight: 600; font-size: 0.9rem; color: var(--navy); }
.testimonial .stars { color: var(--sky); font-size: 0.85rem; margin-bottom: 14px; letter-spacing: 2px; }
.sample-tag { margin-top: 10px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.03em; color: var(--ember); text-transform: uppercase; }

/* ---------- Pricing ---------- */
.price-card { text-align: center; }
.price-card .amount { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: var(--navy); margin: 14px 0; }
.price-card .amount span { font-size: 1rem; color: var(--slate); font-weight: 500; }
.price-card ul { text-align: left; margin: 22px 0 28px; }
.price-card ul li { padding: 8px 0; color: var(--slate); font-size: 0.92rem; border-bottom: 1px solid var(--line); }
.price-card.featured { border-color: var(--sky); box-shadow: 0 20px 50px rgba(42,140,240,0.18); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--sky-tint);
  border-radius: 10px;
  padding: 60px;
  text-align: center;
}
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { color: var(--slate); margin-bottom: 28px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.65); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 48px; }
.footer-grid h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 16px; }
.footer-grid ul li { margin-bottom: 10px; font-size: 0.9rem; }
.footer-grid ul li a:hover { color: var(--sky-light); }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; color: var(--white); font-size: 1.15rem; margin-bottom: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 24px; font-size: 0.82rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 2.8rem); }
.page-hero p { color: rgba(255,255,255,0.75); max-width: 560px; margin-top: 14px; }
.breadcrumb { font-size: 0.82rem; color: var(--sky-light); margin-bottom: 16px; letter-spacing: 0.04em; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-grid .placeholder-photo { min-height: 200px; }
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform var(--transition), box-shadow var(--transition);
}
.gallery-item:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(15,42,61,0.1); }
.gallery-item img { width: 100%; height: 240px; object-fit: cover; display: block; }
.gallery-item figcaption { padding: 14px 16px; font-size: 0.85rem; font-weight: 600; color: var(--navy); line-height: 1.4; }
@media (max-width: 760px) { .gallery-grid { grid-template-columns: 1fr 1fr; } .gallery-item img { height: 160px; } }
@media (max-width: 480px) { .gallery-grid { grid-template-columns: 1fr; } }

.filter-row { display: flex; gap: 10px; margin-bottom: 40px; flex-wrap: wrap; }
.filter-pill { padding: 9px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.85rem; font-weight: 600; color: var(--slate); cursor: pointer; transition: var(--transition); background: var(--white); }
.filter-pill.active, .filter-pill:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.95rem; color: var(--charcoal); background: var(--white);
  transition: border-color var(--transition);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-color: var(--sky); }
.contact-info-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-info-item .ic { color: var(--sky); flex-shrink: 0; width: 22px; margin-top: 3px; }
.contact-info-item h4 { font-size: 0.95rem; margin-bottom: 4px; }
.contact-info-item p { color: var(--slate); font-size: 0.92rem; }
.contact-info-item p a { transition: color var(--transition); }
.contact-info-item p a:hover { color: var(--sky); }
.map-embed { border-radius: var(--radius); overflow: hidden; margin-top: 28px; height: 280px; border: 1px solid var(--line); }
.map-embed iframe { display: block; }

/* ---------- Service detail list (Services page) ---------- */
.service-row { display: grid; grid-template-columns: 90px 1fr; gap: 26px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.service-row:first-child { padding-top: 0; }
.service-row .ic { width: 50px; height: 50px; color: var(--sky); }
.service-row h3 { margin-bottom: 8px; }
.service-row p { color: var(--slate); }
@media (max-width: 640px) { .service-row { grid-template-columns: 1fr; } }

/* ---------- Process steps (Residential Installs) ---------- */
.process-list { display: flex; flex-direction: column; }
.process-item { display: grid; grid-template-columns: 64px 1fr; gap: 24px; padding: 28px 0; position: relative; }
.process-item:not(:last-child)::after {
  content: ''; position: absolute; left: 31px; top: 60px; bottom: -4px; width: 1px; background: var(--line);
}
.process-num {
  width: 64px; height: 64px; border-radius: 50%; background: var(--sky-tint); color: var(--sky);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  z-index: 1;
}
.process-item h3 { margin-bottom: 8px; }
.process-item p { color: var(--slate); }

/* ---------- Instant Estimate calculator ---------- */
.estimator {
  background: var(--navy);
  border-radius: 14px;
  padding: 52px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.estimator::before {
  content: '';
  position: absolute;
  bottom: -100px; left: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(42,140,240,0.22) 0%, rgba(42,140,240,0) 70%);
  border-radius: 50%;
}
.estimator-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; position: relative; z-index: 1; }
@media (max-width: 900px) { .estimator-grid { grid-template-columns: 1fr; } }

.estimator h2 { color: var(--white); margin-bottom: 10px; }
.estimator > .estimator-grid > div:first-child > p { color: rgba(255,255,255,0.72); margin-bottom: 32px; }

.opt-group { margin-bottom: 26px; }
.opt-group label.group-label { display: block; font-size: 0.85rem; font-weight: 600; color: rgba(255,255,255,0.85); margin-bottom: 12px; }
.pill-row { display: flex; gap: 10px; flex-wrap: wrap; }
.opt-pill {
  padding: 10px 20px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,0.25);
  background: transparent; color: rgba(255,255,255,0.85); font-size: 0.88rem; font-weight: 600;
  cursor: pointer; transition: var(--transition);
}
.opt-pill.active { background: var(--ember); border-color: var(--ember); color: var(--white); }
.opt-pill:hover:not(.active) { border-color: var(--sky-light); color: var(--white); }
.opt-pill:focus-visible { outline: 2px solid var(--sky-light); outline-offset: 2px; }

.range-row { display: flex; align-items: center; gap: 16px; }
.range-row input[type="range"] {
  flex: 1;
  -webkit-appearance: none;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.25);
  outline: none;
}
.range-row input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--ember);
  cursor: pointer;
  border: 3px solid var(--white);
}
.range-row input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--ember);
  cursor: pointer;
  border: 3px solid var(--white);
}
.range-val { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; min-width: 88px; text-align: right; color: var(--sky-light); }

.estimate-output {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  align-self: start;
}
.estimate-output .eyebrow { color: var(--sky-light); }
.estimate-output .price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.3rem;
  color: var(--white);
  margin: 10px 0 6px;
  transition: opacity 200ms ease;
}
.estimate-output .price .accent { color: var(--ember); }
.estimate-output .note { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-bottom: 24px; }

/* count-up hero numbers */
.hero-stat .num { transition: opacity 300ms ease; }

/* ---------- Ducted vs Split comparison ---------- */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 40px; }
@media (max-width: 860px) { .compare-grid { grid-template-columns: 1fr; } }
.compare-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px;
}
.compare-illustration {
  background: var(--ice);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 24px;
}
.compare-illustration svg { width: 100%; height: auto; display: block; }
.compare-card h3 { margin-bottom: 8px; }
.compare-best { font-size: 0.88rem; font-weight: 600; color: var(--sky); margin-bottom: 18px; }
.compare-list { display: flex; flex-direction: column; gap: 12px; }
.compare-list li {
  position: relative;
  padding-left: 26px;
  font-size: 0.92rem;
  color: var(--slate);
  line-height: 1.5;
}
.compare-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--sky-tint);
  border: 1.5px solid var(--sky);
}
.compare-cta { text-align: center; }
.compare-cta p { color: var(--slate); margin-bottom: 16px; font-weight: 600; }

/* ---------- Finance available badge ---------- */
.finance-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--sky-tint);
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 0.85rem;
  font-weight: 600;
}
.finance-badge svg { width: 18px; height: 18px; color: var(--sky); flex-shrink: 0; }
.finance-badge.on-dark { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.22); color: var(--white); }
.finance-badge.on-dark svg { color: var(--sky-light); }

.finance-callout {
  background: var(--sky-tint);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.finance-callout .icon-wrap {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--white); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.finance-callout .icon-wrap svg { width: 26px; height: 26px; color: var(--sky); }
.finance-callout h3 { margin-bottom: 6px; }
.finance-callout p { color: var(--slate); }
.finance-callout-text { display: flex; align-items: center; gap: 20px; flex: 1; min-width: 260px; }
@media (max-width: 640px) {
  .finance-callout { padding: 28px; flex-direction: column; align-items: flex-start; }
  .finance-callout-text { min-width: 0; }
}

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
