/* Brand: change these to restyle the whole theme */
:root {
  --cool: #2b7de9;
  --cool-dark: #1c5fbd;
  --cool-soft: #e7f1fe;
  --warm: #f05a28;
  --warm-dark: #cf4416;
  --warm-soft: #fff0ea;
  --bg: #ffffff;
  --soft: #f5f8fb;
  --text: #0e1c2f;
  --muted: #586a80;
  --line: #e1e8f0;
  --success: #138a5e;
  --radius: 20px;
  --font-display: "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  /* The season switch swaps the accent */
  --accent: var(--cool);
  --accent-dark: var(--cool-dark);
  --accent-soft: var(--cool-soft);
}
body[data-season="heating"] { --accent: var(--warm); --accent-dark: var(--warm-dark); --accent-soft: var(--warm-soft); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 18px; line-height: 1.65; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.1; margin: 0 0 16px; letter-spacing: -0.02em; }
h1 { font-size: clamp(42px, 6vw, 72px); }
h2 { font-size: clamp(32px, 4.2vw, 48px); }
h3 { font-size: 21px; }
p { margin: 0 0 16px; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(780px, calc(100% - 40px)); }
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: var(--accent); color: #fff; padding: 10px 14px; }
.eyebrow { font-weight: 800; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; transition: color 0.4s; }
.section-head { max-width: 700px; margin-bottom: 44px; }
.muted { color: var(--muted); }
section { padding: 92px 0; }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; border: 0; border-radius: 14px; background: var(--accent); color: #fff; font: 800 16px var(--font-body); padding: 14px 26px; text-decoration: none; cursor: pointer; transition: background 0.4s, transform 0.2s; }
.button:hover { background: var(--accent-dark); transform: translateY(-1px); }
.button-small { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.button-wide { width: 100%; }
.button-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 2px var(--line); }
.button-ghost:hover { background: var(--soft); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; font: 800 25px var(--font-display); text-decoration: none; min-height: 44px; letter-spacing: -0.02em; }
.brand b { color: var(--accent); transition: color 0.4s; }
.primary-nav { display: flex; align-items: center; gap: 26px; font-weight: 700; font-size: 16px; }
.primary-nav a { text-decoration: none; }
.primary-nav a:not(.button):hover { color: var(--accent); }
.phone-link { color: var(--accent); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.menu-toggle span { width: 20px; height: 2px; background: var(--text); }

/* Hero */
.hero { padding: 72px 0 96px; background: linear-gradient(180deg, var(--accent-soft), #fff); transition: background 0.4s; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 48px; align-items: center; }
.hero h1 span { color: var(--accent); display: block; transition: color 0.4s; }
.lead { font-size: 20px; color: var(--muted); max-width: 580px; }
.season-switch { display: inline-flex; padding: 5px; background: #fff; border: 1px solid var(--line); border-radius: 999px; margin-bottom: 26px; box-shadow: 0 6px 16px rgba(14, 28, 47, 0.06); }
.season-switch button { min-height: 44px; border: 0; border-radius: 999px; background: transparent; padding: 8px 20px; font: 800 16px var(--font-body); color: var(--muted); cursor: pointer; transition: background 0.3s, color 0.3s; }
.season-switch button[aria-pressed="true"] { background: var(--accent); color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 30px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-weight: 700; font-size: 16px; }
.hero-points li::before { content: "✓"; color: var(--accent); margin-right: 8px; }
.thermostat { display: grid; place-items: center; }
.dial { width: min(340px, 100%); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #fff 0 55%, var(--soft) 56%); box-shadow: 0 0 0 14px #fff, 0 0 0 16px var(--line), 0 0 0 30px var(--accent-soft), 0 30px 60px rgba(14, 28, 47, 0.14); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; transition: box-shadow 0.4s; }
.dial-mode { margin: 0; font-weight: 800; font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.dial-temp { margin: 0; font: 800 110px var(--font-display); line-height: 1; letter-spacing: -0.04em; }
.dial-sub { margin: 6px 0 0; color: var(--muted); font-size: 15px; }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service-card { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; position: relative; overflow: hidden; }
.service-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; }
.service-card.cool::before { background: var(--cool); }
.service-card.warm::before { background: var(--warm); }
.service-card p { color: var(--muted); margin: 0; font-size: 17px; }

/* Plans */
.plans { background: var(--soft); }
.plan-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 44px; align-items: start; }
.builder { margin-top: 28px; display: grid; gap: 26px; }
.builder-label { font-weight: 800; margin-bottom: 10px; }
.builder-hint { color: var(--muted); font-size: 15px; margin: 10px 0 0; }
.stepper { display: inline-flex; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.stepper button { width: 52px; height: 52px; border: 0; background: transparent; font-size: 24px; font-weight: 800; color: var(--accent); cursor: pointer; }
.stepper button:disabled { color: var(--line); cursor: not-allowed; }
.stepper output { min-width: 48px; text-align: center; font: 800 24px var(--font-display); }
.tier-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tier { text-align: left; background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 16px; font: inherit; color: var(--text); cursor: pointer; transition: border-color 0.2s; min-height: 44px; }
.tier strong { display: block; font-size: 18px; }
.tier span { display: block; color: var(--muted); font-size: 15px; }
.tier[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.plan-summary { position: sticky; top: 100px; background: var(--text); color: #fff; border-radius: var(--radius); padding: 30px; }
.summary-label { font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.7; font-weight: 800; margin-bottom: 4px; }
.summary-name { font: 800 26px var(--font-display); margin-bottom: 6px; }
.summary-price { font-size: 18px; margin-bottom: 0; }
.summary-price span { font: 800 54px var(--font-display); letter-spacing: -0.03em; }
.summary-year { opacity: 0.7; font-size: 16px; }
.summary-list { list-style: none; padding: 0; margin: 0 0 16px; }
.summary-list li { padding: 7px 0 7px 26px; position: relative; font-size: 16px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.summary-list li::before { content: "✓"; position: absolute; left: 0; color: #7fd4a8; font-weight: 800; }
.summary-save { background: rgba(255, 255, 255, 0.08); border-radius: 12px; padding: 10px 14px; font-size: 15px; font-weight: 700; color: #ffd27a; }

/* Systems */
.systems-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; }
.ticks li { padding: 6px 0 6px 30px; position: relative; font-weight: 700; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); }
.age-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: 0 20px 50px rgba(14, 28, 47, 0.08); }
.age-title { font-weight: 800; font-size: 20px; }
input[type="range"] { width: 100%; accent-color: var(--accent); height: 44px; }
.age-value { margin: 4px 0 12px; }
.age-value strong { font: 800 44px var(--font-display); }
.age-advice { color: var(--muted); margin: 0; padding: 14px; border-radius: 12px; background: var(--accent-soft); }

/* Reviews */
.reviews { background: var(--soft); }
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
blockquote { margin: 0; background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
blockquote p::before { content: "★★★★★"; display: block; color: #f5a623; letter-spacing: 0.1em; margin-bottom: 10px; }
cite { font-style: normal; font-weight: 800; color: var(--muted); font-size: 16px; }

/* Booking */
.book-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.book-form { display: grid; gap: 18px; background: var(--soft); border-radius: var(--radius); padding: 32px; }
label { display: block; font-weight: 800; font-size: 16px; }
input:not([type="range"]), select { width: 100%; min-height: 52px; margin-top: 6px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--text); font: 600 17px var(--font-body); padding: 12px 14px; }
input:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-note { margin: 0; font-weight: 800; color: var(--success); }

/* FAQ */
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; font-weight: 800; font-size: 19px; padding: 20px 40px 20px 0; position: relative; min-height: 44px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 26px; color: var(--accent); }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); }

/* Footer */
.site-footer { background: var(--text); color: rgba(255, 255, 255, 0.8); padding: 64px 0 28px; font-size: 16px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.site-footer h3 { color: #fff; font-size: 17px; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer a { text-decoration: none; }
.site-footer p a { display: inline-block; padding: 4px 0; }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 40px; padding-top: 24px; font-size: 15px; }
.footer-bottom p { margin: 0; }

@media (max-width: 1000px) {
  .hero-grid, .plan-grid, .systems-grid, .book-grid { grid-template-columns: minmax(0, 1fr); }
  .thermostat { order: -1; }
  .dial { width: 240px; }
  .dial-temp { font-size: 76px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review-grid { grid-template-columns: minmax(0, 1fr); max-width: 620px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-summary { position: static; }
}

@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .primary-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 16px 20px 24px; background: #fff; border-bottom: 1px solid var(--line); }
  .primary-nav.open { display: flex; }
  .primary-nav a:not(.button) { padding: 12px 0; }
}

@media (max-width: 600px) {
  body { font-size: 17px; }
  section { padding: 64px 0; }
  .hero { padding: 40px 0 64px; }
  .dial { width: 200px; box-shadow: 0 0 0 10px #fff, 0 0 0 12px var(--line), 0 0 0 22px var(--accent-soft); }
  .dial-temp { font-size: 64px; }
  .service-grid, .footer-grid, .form-row, .tier-row { grid-template-columns: minmax(0, 1fr); }
  .book-form, .plan-summary, .age-card { padding: 22px; }
  .footer-bottom { flex-direction: column; }
}
