/* House Repair Services — palette taken from the logo: orange + graphite + white */
:root {
  --orange: #ec5824;
  --orange-btn: #d4460f;
  --orange-btn-hover: #b93a09;
  --ink: #2c2c2c;
  --ink-2: #1f1f1f;
  --text: #2c2c2c;
  --muted: #5d5d5d;
  --bg: #ffffff;
  --soft: #fff5ef;
  --line: #e9e3de;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(44, 44, 44, 0.1);
  --wrap: 1160px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-btn); }
a:hover { color: var(--orange-btn-hover); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; color: var(--ink); font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 5.2vw, 3.2rem); }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

.ic { width: 24px; height: 24px; flex: none; }
.ic-sm { width: 18px; height: 18px; }
.ic-lg { width: 30px; height: 30px; }
.ic-xl { width: 44px; height: 44px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2;
  padding: 13px 22px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.1s;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 16px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--orange-btn); color: #fff; }
.btn-primary:hover { background: var(--orange-btn-hover); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #f1f1f1; color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.4em 0 0; }
.cta-center { justify-content: center; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { display: block; flex: none; }
.brand img { width: 114px; height: 52px; }
.site-nav { margin-left: auto; }
.site-nav > ul { display: flex; align-items: center; gap: 4px; }
.site-nav a { display: block; padding: 10px 14px; color: var(--ink); font-weight: 600; text-decoration: none; border-radius: 10px; }
.site-nav a:hover, .site-nav a.active { color: var(--orange-btn); }
.has-sub { position: relative; }
.sub {
  display: none; position: absolute; left: 0; top: 100%; min-width: 220px; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
}
.has-sub:hover > .sub, .has-sub:focus-within > .sub { display: block; }
.sub a { padding: 9px 12px; font-weight: 500; }
.sub a:hover { background: var(--soft); }
.sub-toggle { display: none; }
.header-call {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  background: var(--ink); color: #fff; text-decoration: none; font-weight: 700;
  padding: 11px 18px; border-radius: 999px;
}
.header-call:hover { background: var(--orange-btn); color: #fff; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line); background: #fff; border-radius: 12px; cursor: pointer; position: relative; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
  content: ""; position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.2s, top 0.2s, opacity 0.2s;
}
.nav-toggle .bars { top: 22px; }
.nav-toggle .bars::before { left: 0; right: 0; top: -7px; }
.nav-toggle .bars::after { left: 0; right: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero, .page-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--soft) 100%); }
.hero { padding: 56px 0 64px; }
.page-hero { padding: 40px 0 48px; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; background: var(--orange); border-radius: 110px; }
.blob::after { content: ""; position: absolute; background: var(--ink); border-radius: 90px; }
.b1 { top: -70px; right: -90px; width: 420px; height: 210px; transform: rotate(-14deg); }
.b1::after { inset: 26px 46px 26px 70px; }
.b2 { bottom: -90px; left: -110px; width: 380px; height: 200px; transform: rotate(-14deg); }
.b2::after { inset: 24px 60px 24px 50px; }
.dot { position: absolute; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); border: 7px solid var(--orange); }
.d1 { top: 120px; right: 360px; }
.d2 { bottom: 90px; left: 210px; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.page-hero > .wrap { position: relative; z-index: 1; }
.eyebrow { display: inline-block; margin: 0 0 14px; padding: 6px 14px; background: var(--ink); color: #fff; border-radius: 999px; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.lead { font-size: 1.2rem; color: #3d3d3d; max-width: 36em; }
.hero-stars { margin: 22px 0 0; font-weight: 600; color: var(--muted); }
.stars { color: var(--orange); letter-spacing: 2px; margin-right: 6px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.9rem; color: var(--muted); margin-bottom: 14px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #b5aaa3; }
.crumbs a { color: var(--muted); }

/* ---------- trust strip ---------- */
.trust { background: var(--ink); color: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.trust-grid li { display: flex; align-items: center; gap: 14px; padding: 20px 8px; }
.trust-grid .ic { color: var(--orange); }
.trust-grid strong { display: block; font-size: 1rem; line-height: 1.25; }
.trust-grid small { display: block; color: #c9c2bd; font-size: 0.85rem; }

/* ---------- sections ---------- */
.section { padding: 72px 0; }
.section.soft { background: var(--soft); }
.section-head { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.about-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: start; }

/* cards */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 24px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--text); transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--orange); color: var(--text); }
.card-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--soft); color: var(--orange-btn); margin-bottom: 8px; }
.card-title { font-size: 1.15rem; font-weight: 800; color: var(--ink); }
.card-text { color: var(--muted); font-size: 0.97rem; flex: 1; }
.card-more { margin-top: 8px; font-weight: 700; color: var(--orange-btn); font-size: 0.95rem; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.two-col .steps { grid-template-columns: 1fr; gap: 14px; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.step-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--orange-btn); color: #fff; font-weight: 800; margin-bottom: 12px; }
.steps h3 { margin-bottom: 4px; }
.steps p { margin: 0; color: var(--muted); font-size: 0.97rem; }

/* checks / why */
.checks { display: grid; gap: 12px; margin: 0 0 1.2em; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .ic { color: #fff; background: var(--orange-btn); border-radius: 50%; padding: 3px; margin-top: 3px; width: 24px; height: 24px; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-grid.why-3 { grid-template-columns: repeat(3, 1fr); }
.why-grid li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.why-grid .ic { color: var(--orange-btn); margin-bottom: 10px; }
.why-grid p { margin: 0; color: var(--muted); font-size: 0.97rem; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 1em; }
.chips-center { justify-content: center; }
.chips a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; background: #fff; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; }
.chips a:hover { border-color: var(--orange); color: var(--orange-btn); }
.chips .ic { color: var(--orange-btn); }

/* reviews */
.review-row { display: flex; gap: 18px; overflow-x: auto; padding: 4px 4px 18px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.review-row .review-card { flex: 0 0 min(340px, 82vw); scroll-snap-align: start; }
.review-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; align-items: stretch; }
.review-card { margin: 0; display: flex; flex-direction: column; gap: 12px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.review-card .stars { margin: 0; font-size: 1.15rem; }
.review-card blockquote { margin: 0; flex: 1; }
.review-card blockquote p { margin: 0; font-size: 1.02rem; line-height: 1.6; color: var(--ink); }
.review-card figcaption { display: flex; flex-direction: column; gap: 2px; padding-top: 12px; border-top: 1px solid var(--line); }
.review-card figcaption strong { color: var(--ink); }
.review-card figcaption span { font-size: 0.9rem; color: var(--muted); }

/* license card */
.license-card { background: var(--ink); color: #fff; border-radius: 20px; padding: 28px; }
.license-card .ic { color: var(--orange); margin-bottom: 10px; }
.license-card h3 { color: #fff; }
.license-card dl { margin: 0 0 14px; }
.license-card dt { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: #bdb5af; margin-top: 12px; }
.license-card dd { margin: 2px 0 0; font-weight: 700; }
.license-card a { color: #ffb08f; }
.license-card p { margin: 0; }

/* faq */
.faq { display: grid; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.faq-item summary { cursor: pointer; padding: 18px 22px; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--orange-btn); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 0; padding: 0 22px 20px; color: var(--muted); }

/* cta band */
.cta-band { background: var(--orange-btn); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 44px; padding-bottom: 44px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 4px; }
.cta-band p { margin: 0; font-size: 1.1rem; }
.cta-band .cta-row { margin: 0; }
.cta-band .btn-light { color: var(--ink); }

/* ---------- forms ---------- */
.hero-form { background: #fff; border-radius: 22px; padding: 26px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-title { font-size: 1.45rem; margin-bottom: 4px; }
.form-sub { color: var(--muted); font-size: 0.97rem; margin-bottom: 16px; }
.field { margin-bottom: 14px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field label { display: block; font-weight: 700; font-size: 0.92rem; margin-bottom: 5px; color: var(--ink); }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; color: var(--text);
  background: #fff; border: 1.5px solid #cfc7c1; border-radius: 12px;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--orange-btn); outline: 3px solid rgba(236, 88, 36, 0.25); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: #c0261c; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.4em; margin: 12px 0 0; font-weight: 600; }
.form-status.error { color: #b3261e; }
.form-status.ok { color: #1b6e3c; }
.form-note { margin: 6px 0 0; font-size: 0.82rem; color: var(--muted); }
.alert { background: #fdecea; color: #8a1c14; border: 1px solid #f3b9b4; border-radius: 12px; padding: 12px 16px; margin-bottom: 16px; font-weight: 600; }

.big-phone { display: inline-flex; align-items: center; gap: 12px; font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800; text-decoration: none; color: var(--ink); }
.big-phone .ic { color: var(--orange-btn); }
.ok-badge { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--orange-btn); color: #fff; margin-bottom: 18px; }
.prose h2 { font-size: 1.35rem; margin-top: 1.6em; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink-2); color: #d8d2cd; padding-top: 56px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 32px; }
.site-footer h3 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.06em; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #d8d2cd; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.logo-plate { display: inline-block; background: #fff; border-radius: 14px; padding: 8px 12px; margin-bottom: 14px; }
.logo-plate img { width: 171px; height: 78px; }
.foot-phone { font-size: 1.25rem; font-weight: 800; color: #fff !important; }
.license { font-size: 0.93rem; line-height: 1.7; margin-top: 16px; }
.footer-bottom { border-top: 1px solid #3a3a3a; margin-top: 40px; padding-top: 20px; padding-bottom: 28px; font-size: 0.9rem; color: #a7a09b; }
.footer-bottom p { margin: 0; }

/* sticky call bar (mobile) */
.mbar { display: none; }


/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .steps, .why-grid, .review-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .d1 { display: none; }
}

@media (max-width: 900px) {
  body { font-size: 16.5px; padding-bottom: 74px; }
  .header-call { display: none; }
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); max-height: calc(100vh - 72px); overflow-y: auto; margin: 0; }
  .site-header.open .site-nav { display: block; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 96px; }
  .site-nav a { padding: 13px 4px; }
  .has-sub > a { padding-right: 56px; }
  .sub-toggle {
    display: block; position: absolute; right: 0; top: 4px; width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer; border-radius: 10px;
  }
  .sub-toggle::after { content: ""; position: absolute; left: 17px; top: 14px; width: 10px; height: 10px; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(45deg); transition: transform 0.2s, top 0.2s; }
  .has-sub.open > .sub-toggle::after { transform: rotate(-135deg); top: 19px; }
  .has-sub:hover > .sub, .has-sub:focus-within > .sub { display: none; }
  .has-sub.open > .sub { display: block; }
  .sub { display: none; position: static; border: 0; box-shadow: none; padding: 0 0 6px 14px; min-width: 0; }
  .sub a { font-weight: 500; padding: 9px 4px; color: var(--muted); }
  .hero { padding: 36px 0 44px; }
  .hero-grid, .two-col, .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 52px 0; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .b1 { width: 210px; height: 104px; top: -34px; right: -80px; border-radius: 70px; }
  .b1::after { inset: 14px 26px 14px 38px; border-radius: 56px; }
  .b2 { display: none; }
  .d2 { display: none; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .mbar {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: var(--ink-2); box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.25);
  }
  .mbar .btn { flex: 1; padding: 13px 10px; }
}

@media (max-width: 560px) {
  .card-grid, .steps, .why-grid, .why-grid.why-3, .footer-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .hero-form { padding: 20px; }
  .btn-lg { width: 100%; }
  .cta-row .btn { flex: 1 1 auto; }
  .trust-grid li { padding: 14px 4px; gap: 10px; }
  .trust-grid strong { font-size: 0.93rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
