/* Clear Fork Heating & Air — sample site by Formidus */

:root {
  --ink: #131517;
  --ink-800: #1D2024;
  --ink-700: #2A2E33;
  --paper: #FBFAF8;
  --stone: #F1EEE9;
  --text: #1A1C1F;
  --muted: #5B6068;
  --line: #E2DED7;
  --white: #FFFFFF;
  --blue: #2B7FD6;
  --blue-soft: #E4EFFA;
  --heat: #F0572E;
  --heat-hover: #D7461F;
  --heat-soft: #FDE9E2;
  --gold: #F5B301;
  --on-dark: #C8CCD2;
  --on-dark-strong: #E6E8EB;
  --grad: linear-gradient(135deg, var(--blue) 0%, var(--heat) 100%);
  --display: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  --body: Barlow, 'Helvetica Neue', Arial, sans-serif;
  --radius: 6px;
  --container: 1344px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--heat); }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); text-transform: uppercase; letter-spacing: 0.01em; line-height: 1; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }

.container { width: min(var(--container), 100% - 48px); margin: 0 auto; }
.icon { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon-sm { width: 18px; height: 18px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 4px; border: 0; cursor: pointer;
  font-weight: 700; font-size: 17px; letter-spacing: 0.02em; text-transform: uppercase;
  transition: background-color 0.15s, color 0.15s, transform 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--heat); color: var(--white); }
.btn-primary:hover { background: var(--heat-hover); color: var(--white); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--ink-700); color: var(--white); }
.btn-blue { background: var(--blue); color: var(--white); height: 44px; padding: 0 18px; font-size: 15px; }
.btn-blue:hover { background: #2168B5; color: var(--white); }
.btn-ghost { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.7); }
.btn-ghost:hover { border-color: var(--white); color: var(--white); }
.btn-outline { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-lg { height: 56px; }
.phone-btn {
  display: inline-flex; align-items: center; gap: 12px; height: 62px; padding: 0 28px; border-radius: 4px;
  background: var(--heat); color: var(--white);
  font-family: var(--display); font-weight: 800; font-size: 32px; letter-spacing: 0.02em;
}
.phone-btn:hover { background: var(--heat-hover); color: var(--white); }
.phone-btn.on-white { background: var(--white); color: var(--ink); height: 56px; font-size: 26px; }
.phone-btn.on-white:hover { background: var(--stone); color: var(--ink); }

.eyebrow { font-weight: 700; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--heat); }
.grad-rule { display: block; width: 72px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--blue) 0%, var(--heat) 100%); }
.section-title { font-size: clamp(38px, 4.2vw, 60px); color: var(--ink); }
.section-head { display: flex; flex-direction: column; gap: 16px; }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars .icon { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.google-mark { width: 20px; height: 20px; flex-shrink: 0; }

/* ---------- top bar + header ---------- */
.topbar { background: var(--ink); color: #D5D8DD; border-bottom: 1px solid var(--ink-700); }
.topbar .container { display: flex; justify-content: flex-end; align-items: center; gap: 36px; height: 46px; }
.topbar-item { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: #D5D8DD; }
.topbar-item:hover { color: var(--white); }
.topbar-phone {
  display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 22px; margin-right: -24px;
  background: var(--heat); color: var(--white); font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: 0.02em;
}
.topbar-phone:hover { background: var(--heat-hover); color: var(--white); }

.site-header { background: var(--ink); color: var(--white); position: sticky; top: 0; z-index: 40; }
.site-header .container { display: flex; justify-content: space-between; align-items: center; height: 88px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; color: var(--white); }
.logo:hover { color: var(--white); }
.logo-mark { width: 48px; height: 48px; border-radius: 8px; background: var(--grad); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.logo-mark svg { width: 30px; height: 30px; fill: none; stroke: var(--white); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: var(--display); font-weight: 800; font-size: 26px; text-transform: uppercase; letter-spacing: 0.02em; }
.logo-sub { font-weight: 600; font-size: 11px; color: #B9BEC6; letter-spacing: 0.22em; text-transform: uppercase; margin-top: 4px; }
.logo-bar { display: block; height: 3px; width: 100%; margin-top: 5px; border-radius: 2px; background: linear-gradient(90deg, var(--blue) 0 50%, var(--heat) 50% 100%); }
.site-footer .logo-name { color: var(--white); }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-weight: 600; font-size: 15px; color: var(--white); }
.nav-links a:hover { color: var(--heat); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-call-icon, .nav-toggle {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 4px; border: 0; cursor: pointer;
}
.nav-call-icon { background: var(--heat); color: var(--white); }
.nav-toggle { background: transparent; color: var(--white); }

.mobile-nav { position: fixed; inset: 0; z-index: 60; background: rgba(19,21,23,0.6); display: none; }
.mobile-nav[data-open="true"] { display: block; }
.mobile-nav-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(340px, 88%); background: var(--ink); color: var(--white); padding: 20px 24px 32px; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; }
.mobile-nav-close { align-self: flex-end; width: 44px; height: 44px; border: 0; background: transparent; color: var(--white); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.mobile-nav-panel a:not(.btn):not(.phone-btn) { display: block; padding: 14px 0; font-family: var(--display); font-weight: 700; font-size: 26px; text-transform: uppercase; color: var(--white); border-bottom: 1px solid var(--ink-700); }
.mobile-nav-panel .phone-btn { margin-top: 20px; justify-content: center; height: 56px; font-size: 28px; }
.mobile-nav-panel .btn { margin-top: 10px; }

/* ---------- promo bar ---------- */
.promo { background: var(--heat); color: var(--white); }
.promo .container { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 12px 0; text-align: center; flex-wrap: wrap; }
.promo span { font-weight: 600; font-size: 15px; }
.promo a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--white); border-bottom: 2px solid rgba(255,255,255,0.7); white-space: nowrap; }
.promo a:hover { color: var(--white); border-color: var(--white); }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--ink-800); color: var(--white); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(19,21,23,0.86) 0%, rgba(19,21,23,0.6) 50%, rgba(19,21,23,0.3) 100%); }
.hero .container { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 64px; align-items: center; padding: 72px 0; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; max-width: 780px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid rgba(255,255,255,0.35); border-radius: 4px; background: rgba(19,21,23,0.45); font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.badge .icon { color: var(--heat); }
.hero h1 { font-size: clamp(56px, 6.7vw, 96px); font-weight: 800; line-height: 0.95; }
.hero-lead { font-size: 21px; color: var(--on-dark-strong); max-width: 640px; }
.hero-call { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hero-call span { font-size: 16px; color: var(--on-dark); }
.proof { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.18); }
.proof-item { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--on-dark); }
.proof-item strong { color: var(--white); font-size: 16px; }
.proof-item .icon { color: var(--heat); }

.form-card { position: relative; background: var(--white); color: var(--text); border-radius: var(--radius); padding: 28px; box-shadow: 0 24px 48px rgba(0,0,0,0.35); }
.form-card h2 { font-size: 30px; color: var(--ink); }
.form-note { font-size: 14px; color: var(--muted); margin-top: 4px; }
.form-grid { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.field input, .field select {
  height: 50px; padding: 0 14px; border: 1px solid var(--line); border-radius: 4px; background: var(--white);
  font: inherit; font-size: 16px; color: var(--text); width: 100%;
}
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6068' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field input:focus, .field select:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.form-card .btn { width: 100%; height: 54px; }
.form-quote { display: flex; flex-direction: column; gap: 6px; padding-top: 12px; border-top: 1px solid var(--line); margin-top: 4px; }
.form-quote-row { display: flex; align-items: center; gap: 8px; }
.form-quote-row .stars .icon { width: 13px; height: 13px; }
.form-quote-row .google-mark { width: 14px; height: 14px; }
.form-quote p { font-size: 13px; color: var(--text); }
.form-quote p span { color: var(--muted); }
.form-success { display: none; flex-direction: column; gap: 12px; text-align: center; padding: 16px 0; }
.form-success .icon { width: 48px; height: 48px; color: var(--heat); margin: 0 auto; }
.form-success h2 { font-size: 30px; }
.form-success p { font-size: 15px; color: var(--muted); }
.form-card[data-state="sent"] .form-body { display: none; }
.form-card[data-state="sent"] .form-success { display: flex; }

/* ---------- service tiles ---------- */
.services { background: var(--ink); border-top: 1px solid var(--ink-700); }
.services .container { width: 100%; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tile { display: flex; flex-direction: column; gap: 18px; padding: 44px 36px; border-right: 1px solid var(--ink-700); color: var(--white); transition: background-color 0.15s; }
.tile:last-child { border-right: 0; }
.tile:hover { background: var(--ink-800); color: var(--white); }
.tile-icon { width: 80px; height: 80px; fill: none; stroke: url(#cf-grad); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.tile h3 { font-size: 30px; letter-spacing: 0.02em; }
.tile p { font-size: 16px; color: #B9BEC6; }
.tile-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--heat); margin-top: auto; }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section-stone { background: var(--stone); }
.section-dark { background: var(--ink); color: var(--white); }
.section-dark .section-title { color: var(--white); }
.lead { font-size: 18px; line-height: 1.55; color: var(--muted); max-width: 620px; }
.section-dark .lead { color: var(--on-dark); }

/* reviews */
.reviews-grid { display: grid; grid-template-columns: 300px repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.rating-card { display: flex; flex-direction: column; gap: 14px; padding: 32px; background: var(--ink); color: var(--white); border-radius: var(--radius); }
.rating-card .label { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; color: var(--on-dark); }
.rating-card .big { display: flex; align-items: baseline; gap: 12px; }
.rating-card .big strong { font-family: var(--display); font-weight: 800; font-size: 88px; line-height: 1; }
.rating-card .big div { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--on-dark); }
.rating-card .big .stars .icon { width: 18px; height: 18px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--heat); }
.text-link:hover { color: var(--heat-hover); }
.review { display: flex; flex-direction: column; gap: 16px; padding: 32px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.review-top { display: flex; justify-content: space-between; align-items: center; }
.review-top .stars .icon { width: 18px; height: 18px; }
.review blockquote { margin: 0; font-size: 17px; line-height: 1.6; }
.review-who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; }
.review-who div { display: flex; flex-direction: column; gap: 2px; }
.review-who strong { font-size: 15px; color: var(--ink); }
.review-who span { font-size: 13px; color: var(--muted); }

/* process */
.split { display: grid; grid-template-columns: minmax(0, 1fr) 600px; gap: 72px; align-items: center; }
.split-narrow { grid-template-columns: minmax(0, 1fr) 520px; }
.split-copy { display: flex; flex-direction: column; gap: 24px; }
.steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; margin-top: 16px; }
.step { display: flex; flex-direction: column; gap: 12px; }
.step-num { font-family: var(--display); font-weight: 800; font-size: 56px; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { font-size: 26px; color: var(--ink); }
.step p { font-size: 16px; line-height: 1.55; color: var(--muted); }
.figure { display: flex; flex-direction: column; gap: 12px; }
.figure img { width: 100%; height: 450px; object-fit: cover; border-radius: var(--radius); }
.figure figcaption { font-size: 14px; color: var(--muted); }

/* comfort club */
.club-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; max-width: 600px; }
.club-list li { display: flex; align-items: center; gap: 10px; font-size: 16px; color: var(--on-dark-strong); }
.club-list .icon { color: var(--heat); width: 18px; height: 18px; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.photo-coupon { position: relative; }
.photo-coupon img { width: 100%; height: 560px; object-fit: cover; object-position: center 30%; border-radius: var(--radius); }
.coupon { position: absolute; left: 24px; right: 24px; bottom: 24px; display: flex; flex-direction: column; gap: 10px; padding: 28px 28px 24px; background: var(--ink); color: var(--white); border: 2px dashed #4A4F56; border-radius: var(--radius); }
.coupon-tag { position: absolute; top: -12px; left: 24px; background: var(--heat); color: var(--white); font-weight: 700; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 10px; border-radius: 3px; }
.coupon strong { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 3vw, 44px); text-transform: uppercase; line-height: 1; }
.coupon span { font-weight: 600; font-size: 17px; color: #D5D8DD; }
.coupon small { font-size: 13px; color: #9BA1A9; }

/* service area */
.area-map { width: 100%; height: auto; display: block; }

/* CTA band */
.cta-band { background: var(--grad); color: var(--white); }
.cta-band .container { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding: 56px 0; flex-wrap: wrap; }
.cta-band h2 { font-size: 48px; }
.cta-band p { font-size: 18px; color: rgba(255,255,255,0.9); margin-top: 10px; }
.cta-band .btn-row { flex-shrink: 0; margin: 0; }

/* footer */
.site-footer { background: var(--ink); color: var(--on-dark); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; padding: 64px 0; }
.footer-brand { display: flex; flex-direction: column; gap: 18px; }
.footer-brand p { font-size: 15px; line-height: 1.6; max-width: 340px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h3 { font-size: 20px; color: var(--white); }
.footer-col a { font-size: 15px; color: var(--on-dark); }
.footer-col a:hover { color: var(--white); }
.footer-col .contact-line { display: flex; gap: 10px; font-size: 15px; color: var(--on-dark); }
.footer-col .contact-line .icon { color: var(--heat); width: 18px; height: 18px; margin-top: 3px; }
.footer-bottom { display: flex; flex-direction: column; gap: 10px; padding: 20px 0 24px; border-top: 1px solid var(--ink-700); font-size: 13px; color: #8A9098; }
.footer-bottom div { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom a { color: var(--white); font-weight: 600; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav-links { gap: 16px; }
  .nav-links a { white-space: nowrap; font-size: 14px; }
  .site-header .btn-blue { white-space: nowrap; }
  .split { grid-template-columns: minmax(0, 1fr) 480px; gap: 48px; }
  .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero .container { grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; }
}
@media (max-width: 1100px) {
  .site-header .btn-blue { display: none; }
}
@media (max-width: 1023px) {
  .topbar { display: none; }
  .nav-links, .site-header .btn-blue { display: none; }
  .nav-call-icon, .nav-toggle { display: flex; }
  .site-header .container { height: 68px; }
  .logo-mark { width: 40px; height: 40px; }
  .logo-name { font-size: 21px; }
  .hero .container { grid-template-columns: 1fr; gap: 28px; padding: 40px 0 36px; }
  .hero::before { background: linear-gradient(180deg, rgba(19,21,23,0.55) 0%, rgba(19,21,23,0.85) 45%, rgba(19,21,23,0.95) 100%); }
  .hero-bg { object-position: 62% 40%; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile { padding: 28px 20px; border-bottom: 1px solid var(--ink-700); }
  .tile:nth-child(2n) { border-right: 0; }
  .tile-icon { width: 56px; height: 56px; }
  .tile h3 { font-size: 24px; }
  .tile p { font-size: 14px; }
  .split, .split-narrow { grid-template-columns: 1fr; gap: 32px; }
  .split .figure { order: -1; }
  .figure img { height: 320px; }
  .photo-coupon img { height: 440px; }
  .section { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .container { width: min(var(--container), 100% - 40px); }
  .hero h1 { font-size: 58px; }
  .hero-lead { font-size: 16px; }
  .phone-btn { width: 100%; justify-content: center; height: 58px; font-size: 28px; }
  .hero-call span { width: 100%; text-align: center; font-size: 13px; }
  .proof { gap: 10px 14px; padding-top: 14px; }
  .proof-item { font-size: 13px; }
  .form-card { padding: 22px; }
  .form-card h2 { font-size: 26px; }
  .field input, .field select { height: 46px; }
  .reviews-grid { grid-template-columns: 1fr; margin-top: 24px; }
  .review:nth-child(n+3) { display: none; }
  .rating-card .big strong { font-size: 64px; }
  .steps { gap: 24px 16px; }
  .step-num { font-size: 40px; }
  .step h3 { font-size: 22px; }
  .step p { font-size: 15px; }
  .figure img { height: 240px; }
  .club-list { grid-template-columns: 1fr; }
  .photo-coupon img { height: 440px; }
  .coupon { left: 12px; right: 12px; bottom: 12px; padding: 24px 20px 20px; }
  .cta-band h2 { font-size: 38px; }
  .cta-band .btn-row { width: 100%; }
  .cta-band .phone-btn { width: 100%; }
  .cta-band .btn-dark { display: none; }
  .btn-row .btn { flex: 1 1 auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding: 40px 0; }
  .promo .container { gap: 10px; }
  .promo span { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .tile { transition: none; }
}
