/* ============================================================
   Lumen Heating & Cooling — Design System
   Brand: warm orange + cream + charcoal (Lumen = light)
   ============================================================ */

:root {
  /* Brand colors */
  --orange: #ff7a33;
  --orange-600: #f2641a;
  --orange-glow: #fe9361;
  --cream: #fef6ed;
  --cream-2: #fdeedd;
  --charcoal: #211f1e;
  --charcoal-soft: #3a3735;
  --muted: #6c6663;
  --red: #df3131;
  --teal: #15a8c6;
  --teal-600: #0e8195;
  --teal-50: #e4f5f9;
  --line: #ece3d7;
  --white: #ffffff;

  /* Effects */
  --shadow-sm: 0 1px 3px rgba(33, 31, 30, .08), 0 1px 2px rgba(33, 31, 30, .06);
  --shadow-md: 0 8px 24px rgba(33, 31, 30, .10);
  --shadow-lg: 0 20px 50px rgba(33, 31, 30, .16);
  --radius: 14px;
  --radius-lg: 22px;
  --gradient: linear-gradient(135deg, #ff8a3d 0%, #f2641a 100%);
  --maxw: 1180px;

  --font: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 84px 0; }
.section--cream { background: var(--cream); }
.section--charcoal { background: var(--charcoal); color: #f4efe9; }
.center { text-align: center; }
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: .14em;
  font-size: 13px; font-weight: 700; color: var(--orange-600); margin-bottom: 14px;
}
.section--charcoal .eyebrow { color: var(--orange-glow); }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.25rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 620px; }
.center .lead { margin-left: auto; margin-right: auto; }
.section--charcoal .lead { color: #c9c2ba; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 700; font-size: 1.02rem; padding: 15px 28px;
  border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--gradient); color: #fff; box-shadow: 0 8px 22px rgba(242,100,26,.35); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(242,100,26,.45); }
.btn--ghost { background: transparent; color: var(--charcoal); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--orange); color: var(--orange-600); }
.btn--white { background: #fff; color: var(--charcoal); }
.btn--white:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 8px 22px rgba(223,49,49,.32); }
.btn--red:hover { transform: translateY(-2px); }
.btn--lg { padding: 17px 34px; font-size: 1.08rem; }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--charcoal); color: #efe9e2; font-size: .9rem;
  padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.topbar a { color: #efe9e2; }
.topbar a:hover { color: var(--orange-glow); }
.topbar__left { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; }

/* ---------- Header / nav ---------- */
.header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97);
  backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.header.scrolled { box-shadow: 0 6px 24px rgba(33,31,30,.10); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 92px; gap: 20px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 70px; width: auto; display: block; }
.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a { font-weight: 600; font-size: 1rem; color: var(--charcoal-soft); position: relative; padding: 6px 0; white-space: nowrap; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--gradient); transform: scaleX(0); transform-origin: left; transition: transform .22s ease; }
.nav__links a:hover { color: var(--orange-600); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { display: flex; align-items: center; gap: 22px; flex: none; }
.nav__phone { display: inline-flex; align-items: center; gap: 11px; white-space: nowrap; color: var(--charcoal); }
.nav__phone-ic { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--cream-2); color: var(--orange-600); font-size: 1.05rem; }
.nav__phone-txt { display: flex; flex-direction: column; line-height: 1.12; }
.nav__phone-txt small { font-size: .72rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.nav__phone-txt b { font-size: 1.18rem; font-weight: 800; letter-spacing: -.01em; }
.nav__phone:hover .nav__phone-txt b { color: var(--orange-600); }
.nav__phone:hover .nav__phone-ic { background: var(--orange); color: #fff; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 26px; height: 3px; background: var(--charcoal); border-radius: 3px; margin: 5px 0; transition: .25s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(115deg, rgba(20,18,17,.86) 0%, rgba(20,18,17,.55) 55%, rgba(20,18,17,.30) 100%),
              url("../assets/hero.svg") center/cover no-repeat, var(--charcoal);
}
.hero__inner { padding: 96px 0 104px; max-width: 680px; }
.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--orange-glow); }
.hero p { font-size: 1.22rem; color: #ecE4dc; margin: 20px 0 30px; max-width: 560px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__badges { display: flex; gap: 26px; margin-top: 34px; flex-wrap: wrap; }
.hero__badge { display: flex; align-items: center; gap: 10px; font-size: .96rem; color: #f3ece4; }
.hero__badge svg { flex: none; }

/* ---------- Stat strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; }
.stat__num { font-size: 2.6rem; font-weight: 800; color: var(--orange-600); letter-spacing: -.03em; }
.stat__label { color: var(--muted); font-weight: 600; font-size: .98rem; }

/* ---------- Cards / services ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #f3d8c2; }
.card__icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--cream-2); color: var(--orange-600); margin-bottom: 16px; font-size: 1.5rem;
}
.card__icon--cool { background: var(--teal-50); color: var(--teal-600); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .98rem; }
.card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 700; color: var(--orange-600); font-size: .95rem; }
.card__link:hover { gap: 10px; }

/* ---------- Why us / features ---------- */
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature__icon { flex: none; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--gradient); color: #fff; }
.feature h3 { font-size: 1.1rem; margin-bottom: 5px; }
.feature p { color: var(--muted); font-size: .97rem; }
.section--charcoal .feature p { color: #c2bbb3; }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; background: var(--cream-2); }
.checklist li { display: flex; gap: 11px; align-items: flex-start; margin: 12px 0; font-weight: 500; }
.checklist svg { flex: none; color: var(--orange-600); margin-top: 3px; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.stars { color: #f5a623; letter-spacing: 2px; font-size: 1.05rem; margin-bottom: 12px; }
.review p { font-style: italic; color: var(--charcoal-soft); }
.review__by { margin-top: 16px; font-weight: 700; font-size: .95rem; }
.review__by span { display: block; font-weight: 500; color: var(--muted); font-size: .86rem; }
.rating-summary { display: inline-flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 22px; box-shadow: var(--shadow-sm); font-weight: 600; }
.rating-summary .big { font-size: 1.5rem; font-weight: 800; color: var(--orange-600); }

/* ---------- Service area ---------- */
.area-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.area-list span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: .92rem; font-weight: 600; color: var(--charcoal-soft); }

/* ---------- Financing / CTA band ---------- */
.band { background: var(--gradient); color: #fff; border-radius: var(--radius-lg); padding: 50px; text-align: center; }
.band h2 { color: #fff; }
.band p { color: #fff5ee; max-width: 560px; margin: 14px auto 26px; }

/* ---------- FAQ ---------- */
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 22px 0; font-size: 1.1rem; font-weight: 700; color: var(--charcoal); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq__q svg { flex: none; transition: transform .25s; color: var(--orange-600); }
.faq__item.open .faq__q svg { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; color: var(--muted); }
.faq__a p { padding-bottom: 22px; }

/* ---------- Contact / form ---------- */
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-md); }
.form .field { margin-bottom: 16px; }
.form label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.form input, .form select, .form textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 1rem; background: var(--cream); color: var(--charcoal);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--orange); background: #fff; box-shadow: 0 0 0 3px rgba(255,122,51,.15); }
.form textarea { resize: vertical; min-height: 110px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__note { font-size: .85rem; color: var(--muted); margin-top: 10px; text-align: center; }

/* ---------- Footer ---------- */
.footer { background: var(--charcoal); color: #c8c1b9; padding: 64px 0 28px; font-size: .95rem; }
.footer a { color: #c8c1b9; }
.footer a:hover { color: var(--orange-glow); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 44px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; letter-spacing: .02em; }
.footer li { margin: 9px 0; }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__bottom { border-top: 1px solid #3a3735; padding-top: 22px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .86rem; color: #948d85; }
.social { display: flex; gap: 12px; margin-top: 16px; }
.social a { width: 40px; height: 40px; border-radius: 10px; background: #322f2d; display: grid; place-items: center; transition: background .2s; }
.social a:hover { background: var(--orange-600); }

/* ---------- Floating mobile call bar ---------- */
.callbar { display: none; }

/* ---------- Page hero (interior pages) ---------- */
.pagehead { background: var(--charcoal); color: #fff; padding: 64px 0; }
.pagehead h1 { color: #fff; }
.pagehead p { color: #c9c2ba; margin-top: 12px; max-width: 600px; }
.breadcrumb { font-size: .86rem; color: #998f86; margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--orange-glow); }

.prose h2 { margin: 34px 0 14px; }
.prose h3 { margin: 26px 0 10px; }
.prose p { margin-bottom: 16px; color: var(--charcoal-soft); }
.prose ul { margin: 0 0 16px 0; }
.prose ul li { display: flex; gap: 10px; margin: 9px 0; }
.prose ul li::before { content: "✓"; color: var(--orange-600); font-weight: 800; }

/* ---------- Brands strip ---------- */
.brands { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 40px; }
.brands span { font-weight: 800; font-size: 1.35rem; letter-spacing: .04em; color: var(--charcoal-soft); opacity: .8; }

/* ---------- Work gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery figure { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); margin: 0; aspect-ratio: 4/5; background: var(--cream-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 14px;
  color: #fff; font-weight: 700; font-size: .95rem;
  background: linear-gradient(to top, rgba(20,18,17,.85), rgba(20,18,17,0));
}
.gallery--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Offers ---------- */
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.offer { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--orange); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.offer--cool { border-left-color: var(--teal); }
.offer h3 { font-size: 1.12rem; margin-bottom: 6px; }
.offer p { color: var(--muted); font-size: .96rem; }
.offer .tag { display: inline-block; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--orange-600); margin-bottom: 8px; }

/* ---------- Trust badges ---------- */
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.badge {
  display: inline-flex; align-items: center; gap: 9px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 14px 20px; font-weight: 700; font-size: .95rem; box-shadow: var(--shadow-sm);
}
.badge .ic { font-size: 1.3rem; }

/* ---------- Technician feature ---------- */
.tech-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.tech-photo img { width: 100%; height: 100%; max-height: 540px; object-fit: cover; object-position: center; display: block; }
.tech-stat { display: inline-flex; align-items: baseline; gap: 10px; margin-top: 6px; }
.tech-stat b { font-size: 2.6rem; font-weight: 800; color: var(--orange-glow); letter-spacing: -.03em; }

/* ---------- Mascot in why-us media ---------- */
.mascot-media { background: radial-gradient(circle at 50% 35%, #2c2724, #141211); display: grid; place-items: center; padding: 18px; }
.mascot-media img { height: 100%; width: 100%; object-fit: contain; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3, .reviews, .offers { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}
@media (max-width: 1040px) {
  .nav__links { position: fixed; inset: 92px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 22px 22px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); transform: translateY(-130%); transition: transform .28s ease; }
  .nav__links a::after { display: none; }
  .nav__links.open { transform: translateY(0); }
  .nav__links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__toggle { display: block; }
  .nav__cta .nav__phone { display: none; }
  .topbar { font-size: .8rem; }
  .topbar__left { gap: 14px; }
  .grid--4, .grid--2, .form .row { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .band { padding: 36px 22px; }
  .footer__grid { grid-template-columns: 1fr; }
  body { padding-bottom: 64px; }
  .callbar {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
    box-shadow: 0 -4px 16px rgba(0,0,0,.14);
  }
  .callbar a { flex: 1; text-align: center; padding: 16px; font-weight: 800; color: #fff; display: flex; align-items: center; justify-content: center; gap: 8px; }
  .callbar a.call { background: var(--orange-600); }
  .callbar a.quote { background: var(--charcoal); }
}
