/* 4 Seasons Heating & Cooling - shared design system (owned by orchestrator).
   Tokens + shared header/nav/footer + buttons + sections + motion.
   Fonts are loaded per page via a fonts.googleapis.com <link> in each head.
   Page subagents may only APPEND rules below under a banner comment reading
   page: followed by the page slug. They must not edit this shared block. */

:root {
  --gold: #d3982e;
  --gold-soft: #e0a838;
  --red: #df3131;
  --maroon: #8a1c1c;
  --maroon-dark: #6f1414;
  --teal: #136c8d;
  --teal-dark: #005f86;
  --teal-mid: #17789b;
  --ink: #14181c;
  --body: #2c3138;
  --muted: #646464;
  --near-black: #050607;
  --band-black: #0a0c0e;
  --white: #ffffff;
  --paper: #f4f5f6;
  --line: #e2e4e6;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1200px;
  --radius: 6px;
  --radius-lg: 14px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.08);
  --shadow-md: 0 10px 30px rgba(0,0,0,.12);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5, h6 { font-family: var(--serif); margin: 0; color: var(--ink); }

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

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--maroon); color: #fff; padding: 10px 16px; z-index: 999;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  padding: 13px 22px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-maroon { background: var(--maroon); color: #fff; }
.btn-maroon:hover { background: var(--maroon-dark); color: #fff; }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-dark); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 200; background: var(--white); box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.hdr-inner {
  max-width: 1320px; margin: 0 auto; padding: 10px 24px;
  display: flex; align-items: center; gap: 20px;
}
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand-logo { height: 62px; width: auto; }
.bbb-badge {
  display: inline-flex; align-items: stretch; overflow: hidden;
  border-radius: 4px; border: 1px solid #d9dde1; height: 46px; flex: 0 0 auto;
}
.bbb-badge .bbb-mark {
  background: #005a9c; color: #fff; font-family: var(--serif); font-style: italic;
  font-weight: 700; font-size: 20px; display: flex; align-items: center; padding: 0 10px;
}
.bbb-badge .bbb-txt {
  background: #0a6cbf; color: #fff; font-family: var(--sans); font-weight: 700;
  font-size: 11px; line-height: 1.05; letter-spacing: .04em; display: flex;
  flex-direction: column; justify-content: center; padding: 0 12px;
}
.hdr-contact { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.hdr-ci { display: flex; align-items: center; gap: 10px; }
.hdr-ci .ci-ico {
  width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--teal);
  display: flex; align-items: center; justify-content: center; color: var(--teal); flex: 0 0 auto;
}
.hdr-ci .ci-ico svg { width: 20px; height: 20px; }
.hdr-ci .ci-lbl { display: block; color: var(--maroon); font-weight: 600; font-size: 13px; }
.hdr-ci a, .hdr-ci .ci-val { color: var(--ink); font-size: 14px; text-decoration: underline; }
.hdr-cta { flex: 0 0 auto; }

.site-nav { background: var(--gold); }
.nav-inner {
  max-width: 1320px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.nav-a {
  display: block; font-family: var(--serif); font-weight: 700; font-size: 15px;
  color: #1c1c1c; padding: 12px 20px; transition: color .18s ease, background-color .18s ease;
}
.nav-a:hover { color: var(--maroon); }
.nav-a.is-active { color: var(--red); background: rgba(255,255,255,.28); }
.nav-follow { display: flex; align-items: center; gap: 8px; color: #1c1c1c; font-size: 13px; }
.nav-follow img { width: 20px; height: 20px; }

/* ---------- Inner-page hero band ---------- */
.page-hero {
  position: relative; background-size: cover; background-position: center;
  min-height: 460px; display: flex; align-items: center; justify-content: center; text-align: center;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(3,4,5,.94) 46%, #030405 100%);
}
.page-hero .wrap { position: relative; z-index: 2; padding-top: 40px; padding-bottom: 40px; }
.page-hero .crumb {
  display: inline-block; color: #fff; font-family: var(--serif); font-weight: 700;
  letter-spacing: .18em; font-size: 15px; padding-bottom: 6px; border-bottom: 3px solid var(--gold);
}
.page-hero h1 {
  color: #fff; font-size: clamp(48px, 8vw, 92px); font-weight: 800; margin-top: 26px; line-height: 1.02;
}
.page-hero h1 .accent { color: var(--gold); }

/* ---------- Generic sections ---------- */
.section { padding: 74px 0; }
.section.paper { background: var(--paper); }
.eyebrow {
  font-family: var(--serif); font-style: italic; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; text-align: center; font-size: 20px; margin: 0 0 6px;
}
.eyebrow.red { color: var(--red); }
.eyebrow.blue { color: var(--teal); }
.eyebrow.white { color: #fff; }
.eyebrow-rule { width: 54px; height: 3px; background: var(--gold); margin: 0 auto 22px; }
.section-title {
  text-align: center; font-size: clamp(30px, 4.4vw, 46px); font-weight: 800; line-height: 1.12;
  margin: 0 auto 8px; max-width: 760px; color: var(--ink);
}
.section-title .t { color: var(--teal); }

/* ---------- Service cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.svc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.svc-media { position: relative; }
.svc-media > img { width: 100%; height: 150px; object-fit: cover; }
.svc-ico {
  position: absolute; right: 12px; bottom: -22px; width: 52px; height: 52px; border-radius: 12px;
  background: #fff; box-shadow: var(--shadow-sm); display: flex; align-items: center; justify-content: center;
}
.svc-ico img { width: 34px; height: 34px; }
.svc-body { padding: 30px 20px 24px; text-align: center; display: flex; flex-direction: column; flex: 1; }
.svc-body h3 { font-size: 20px; font-weight: 800; margin-bottom: 12px; }
.svc-body p { font-size: 14.5px; margin: 0 0 20px; }
.svc-body .btn { margin-top: auto; align-self: center; }

/* ---------- Info / contact chips ---------- */
.contact-chip { display: flex; align-items: center; gap: 12px; }
.contact-chip .cc-ico {
  width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid currentColor;
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.contact-chip .cc-ico svg { width: 20px; height: 20px; }
.contact-chip .cc-lbl { font-weight: 700; font-size: 14px; }

/* ---------- Testimonials band ---------- */
.testimonials { background: var(--teal); color: #fff; padding: 70px 0 80px; }
.testimonials .eyebrow-rule { background: var(--gold); }
.mirror-band { width: 100%; height: 150px; object-fit: cover; display: block; }

/* ---------- Contact + form ---------- */
.contact-split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.contact-info .eyebrow { text-align: left; }
.contact-info .eyebrow-rule { margin: 0 0 20px; }
.contact-lead { font-weight: 700; color: var(--ink); font-family: var(--serif); font-size: 17px; max-width: 380px; }
.info-rows { display: flex; flex-direction: column; gap: 16px; margin-top: 22px; }
.info-rows .contact-chip { color: var(--teal); }
.info-rows .cc-lbl { color: var(--red); }
.info-rows .cc-val, .info-rows a { color: var(--ink); font-weight: 700; font-size: 14px; }

.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.lead-form .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13px; color: var(--teal); margin-bottom: 6px; font-weight: 600; }
.field label .req { color: var(--red); }
.field input, .field textarea {
  width: 100%; border: 1px solid #dfe3e6; background: #eef1f2; border-radius: 4px;
  padding: 12px 14px; font-family: var(--sans); font-size: 15px; color: var(--ink);
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--teal); background: #fff; }
.field textarea { min-height: 118px; resize: vertical; }
.hp-field { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.lead-form .submit-wrap { grid-column: 1 / -1; }
.lead-form .btn-teal { width: 100%; padding: 15px; }

/* ---------- Leaflet map ---------- */
/* position+z-index makes this a stacking context so Leaflet's internal
   z-indexes (panes 400, controls 800/1000) stay below the sticky header. */
.map-embed { position: relative; z-index: 0; width: 100%; height: 380px; border-radius: 6px; overflow: hidden; margin-top: 8px; }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 940px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.faq-item { position: relative; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.faq-item::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 104px; background: var(--maroon); }
.faq-num { position: absolute; left: 0; top: 0; width: 104px; text-align: center; color: #fff; font-size: 22px; letter-spacing: .05em; padding-top: 26px; z-index: 1; }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 24px 26px 24px 132px; font-size: 19px; color: var(--ink); font-family: var(--sans); font-weight: 500;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { flex: 1; }
.faq-item .chev { transition: transform .25s ease; color: #444; flex: 0 0 auto; }
.faq-item[open] .chev { transform: rotate(180deg); }
.faq-answer { padding: 0 26px 26px 132px; font-size: 15px; color: var(--body); }
.faq-answer strong { color: var(--ink); }

/* ---------- Home hero ---------- */
.home-hero { position: relative; background-size: cover; background-position: center; color: #fff; text-align: center; }
.home-hero::before { content: ""; position: absolute; inset: 0; background: rgba(6,10,14,.5); }
.home-hero .wrap { position: relative; z-index: 2; padding: 120px 24px 130px; }
.home-hero h1 {
  color: #fff; font-style: italic; font-weight: 700; letter-spacing: .06em;
  font-size: clamp(26px, 3.6vw, 40px); max-width: 900px; margin: 0 auto; line-height: 1.3;
}
.home-hero .hero-rule { width: 70px; height: 2px; background: var(--gold); margin: 22px auto; }
.home-hero p { max-width: 560px; margin: 0 auto 30px; font-size: 16px; }
.home-hero .hero-cta { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* ---------- About split (home + about page) ---------- */
.about-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.about-images { position: relative; display: flex; gap: 18px; align-items: flex-start; }
.about-images .img-tall { width: 46%; border-radius: 8px; object-fit: cover; }
.about-images .col-right { width: 54%; }
.about-images .img-wide { width: 100%; border-radius: 8px; object-fit: cover; }
.about-card {
  background: var(--maroon); color: #fff; border-radius: 8px; padding: 18px 20px;
  margin-top: 16px; display: flex; flex-direction: column; gap: 12px;
}
.about-card .contact-chip { color: var(--gold-soft); }
.about-card .cc-lbl { color: #fff; }
.about-card a, .about-card .cc-val { color: #fff; text-decoration: underline; font-size: 14px; }
.about-copy .eyebrow { text-align: left; color: var(--red); }
.about-copy h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; margin: 8px 0 18px; }
.about-copy h2 .t { color: var(--teal); }
.about-copy p { margin: 0 0 16px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--near-black); color: #cfd3d6; }
.ftr-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 64px 24px 40px;
  display: grid; grid-template-columns: 1fr 1.2fr 1fr 1.2fr; gap: 40px;
}
.ftr-logo { background: #fff; border-radius: 6px; padding: 6px; width: 200px; height: auto; }
.ftr-follow { display: block; margin: 16px 0 8px; color: #e7eaec; }
.ftr-brand .follow-g { width: 26px; height: 26px; margin-bottom: 14px; }
.ftr-col h4 { color: var(--teal-mid); font-style: italic; font-size: 24px; margin-bottom: 16px; }
.ftr-col p { font-size: 14px; color: #b9bec2; margin: 0; }
.ftr-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ftr-links a { color: #cfd3d6; font-size: 15px; transition: color .18s ease; }
.ftr-links a:hover { color: #fff; }
.ftr-contact { font-size: 14px; color: #cfd3d6; line-height: 1.9; }
.ftr-contact a { text-decoration: underline; }
.ftr-bottom { background: var(--teal); color: #eaf4f8; text-align: center; font-size: 13px; padding: 12px; }

/* ---------- Motion (always-on, ends visible) ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }

.reveal { animation: fadeUp .7s ease both; }
.reveal-2 { animation: fadeUp .7s ease .12s both; }
.reveal-3 { animation: fadeUp .7s ease .24s both; }
.fade-in { animation: fadeIn 1s ease both; }
.svc-card { animation: pop .6s ease both; }
.svc-card:nth-child(2) { animation-delay: .1s; }
.svc-card:nth-child(3) { animation-delay: .2s; }
.svc-card:nth-child(4) { animation-delay: .3s; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .ftr-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hdr-inner { flex-wrap: wrap; justify-content: center; }
  .hdr-contact { margin-left: 0; }
  .contact-split, .about-split { grid-template-columns: 1fr; gap: 34px; }
  .nav-inner { flex-direction: column; }
  .nav-list { justify-content: center; }
}
@media (max-width: 640px) {
  .svc-grid { grid-template-columns: 1fr; }
  .ftr-inner { grid-template-columns: 1fr; }
  .lead-form { grid-template-columns: 1fr; }
  .bbb-badge { display: none; }
  .section { padding: 52px 0; }
}

/* page: contact-us */
.contact-center { max-width: 940px; margin: 0 auto; }
.contact-center .eyebrow-rule { margin: 0 auto 22px; }
.contact-lead.center { text-align: center; margin: 0 auto 30px; max-width: 660px; font-size: 18px; }
.info-inline { display: flex; justify-content: center; gap: 20px 52px; flex-wrap: wrap; margin-bottom: 40px; }
.info-inline .contact-chip { color: var(--teal); }
.info-inline .cc-lbl { color: var(--red); }
.info-inline .cc-val, .info-inline a { color: var(--ink); font-weight: 700; font-size: 14px; }
.contact-center .lead-form { max-width: 720px; margin: 0 auto; }

/* page: about-us */
/* Lighter hero scrim so the photo reads through; still dark enough for
   white text + gold accent. Shared .page-hero default is much heavier. */
.about-us-hero::before {
  background: linear-gradient(180deg, rgba(0,0,0,.42) 0%, rgba(3,4,5,.58) 55%, rgba(3,4,5,.68) 100%);
}
.about-us-copy p { font-size: 15.5px; }
.about-us-images .img-tall { width: 44%; }
.about-us-images .col-right { width: 56%; }

/* page: services */
.services-intro { margin-bottom: 8px; }

/* page: faqs */
.faq-section { padding: 74px 0 90px; }
