/* =====================================================================
   Roofing Lead Authority — Design System
   Brand: Orange + Charcoal. Modern, conversion-focused, SEO agency.
   ===================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand */
  --brand: #f15a24;
  --brand-600: #e04d18;
  --brand-700: #c23f12;
  --brand-soft: #fff1ea;
  --brand-glow: rgba(241, 90, 36, .35);

  /* Ink / Neutrals */
  --ink: #14161c;
  --ink-2: #1d2027;
  --ink-3: #2b2f3a;
  --slate: #4a5160;
  --muted: #6b7280;
  --line: #e7e9ef;
  --line-2: #eef0f5;
  --bg: #ffffff;
  --bg-soft: #f7f8fb;
  --bg-soft-2: #f2f4f8;

  /* Accents */
  --gold: #ffb703;
  --green: #16a34a;
  --green-soft: #e9f8ef;

  /* Type */
  --font-head: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Radius / Shadow */
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(20, 22, 28, .06), 0 2px 6px rgba(20, 22, 28, .05);
  --shadow: 0 10px 30px rgba(20, 22, 28, .08);
  --shadow-lg: 0 24px 60px rgba(20, 22, 28, .14);
  --shadow-brand: 0 14px 30px var(--brand-glow);

  /* Layout */
  --container: 1200px;
  --gap: clamp(1rem, 3vw, 2rem);
  --section-y: clamp(3.5rem, 8vw, 7rem);
  --header-h: 80px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: var(--font-body);
  color: var(--ink-2);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
svg { max-width: 100%; overflow: visible; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 { font-family: var(--font-head); color: var(--ink); line-height: 1.12; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
h4 { font-size: 1.15rem; font-weight: 700; }
/* h3 in compact contexts keeps h4-like sizing */
.step h3, .feature h3, .hero-card h3, .mega-feature h3,
.city-sidebar h3, .price h3 { font-size: 1.15rem; }
.mega-feature h3 { color: #fff; font-size: 1.05rem; }
p { color: var(--slate); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--slate); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.section { padding-block: var(--section-y); }
.section--soft { background: var(--bg-soft); }
.section--ink { background: var(--ink); color: #cfd3dc; }
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }
.center { text-align: center; }
.grid { display: grid; gap: var(--gap); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.flow > * + * { margin-top: 1rem; }

/* ---------- Eyebrow / Section head ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 700; font-size: .8rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--brand);
  background: var(--brand-soft); padding: .4rem .8rem; border-radius: 100px;
}
.section--ink .eyebrow { background: rgba(241,90,36,.16); }
.section-head { max-width: 720px; margin-inline: auto; }
.section-head.left { margin-inline: 0; }
.section-head p { margin-top: .9rem; }
.section-head .eyebrow { margin-bottom: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  padding: .9rem 1.5rem; border-radius: 100px; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap; border: 2px solid transparent;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn-primary:hover { background: var(--brand-600); transform: translateY(-2px); box-shadow: 0 18px 38px var(--brand-glow); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-lg { padding: 1.05rem 1.9rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn svg { width: 1.1em; height: 1.1em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.88); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line-2);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); background: rgba(255,255,255,.96); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; flex-shrink: 0; }
.brand svg, .brand img { height: 46px; width: auto; }
.brand-name { font-family: var(--font-head); font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.brand-name b { display: block; font-size: 1.18rem; color: var(--ink); }
.brand-name span { display: block; font-size: .62rem; letter-spacing: .28em; color: var(--brand); font-weight: 700; }

.nav-menu { display: flex; align-items: center; gap: .3rem; list-style: none; }
.nav-menu > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: .35rem;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: .65rem .85rem; border-radius: 10px; color: var(--ink-2);
  transition: color .15s, background .15s;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--brand); background: var(--brand-soft); }
.nav-link .chev { width: 1em; height: 1em; transition: transform .2s; }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-actions { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.nav-phone { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.nav-phone svg { width: 1.05em; height: 1.05em; color: var(--brand); }

/* Mega menu */
.mega {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  width: min(980px, 92vw); background: #fff; border: 1px solid var(--line-2);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 1.4rem;
  padding-top: 14px; /* creates hover bridge over the nav-item gap */
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s ease .3s, transform .2s ease .3s, visibility 0s linear .5s;
}
.nav-menu > li:hover .mega,
.nav-menu > li:focus-within .mega {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear;
}
.mega-grid { display: grid; grid-template-columns: 2.6fr 1fr; gap: 1.2rem; }
.mega-services { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .3rem; }
.mega-item { display: flex; gap: .8rem; padding: .7rem; border-radius: var(--r); transition: background .15s; }
.mega-item:hover { background: var(--bg-soft); }
.mega-ico { flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.mega-ico svg { width: 20px; height: 20px; }
.mega-item b { display: block; font-family: var(--font-head); color: var(--ink); font-size: .95rem; }
.mega-item small { color: var(--muted); font-size: .82rem; line-height: 1.45; }
.mega-feature { background: linear-gradient(160deg, var(--ink), var(--ink-3)); color: #fff; border-radius: var(--r); padding: 1.3rem; display: flex; flex-direction: column; }
.mega-feature h3, .mega-feature h4 { display: none; }
.mega-feature p { color: #b9bdc9; font-size: .9rem; margin: .5rem 0 1rem; }
.mega-feature .btn { margin-top: auto; }

/* Hamburger */
.hamburger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; position: relative; }
.hamburger span, .hamburger span::before, .hamburger span::after { content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
.hamburger span { transform: translate(-50%, -50%); }
.hamburger span::before { transform: translate(-50%, -50%) translateY(-6px); }
.hamburger span::after { transform: translate(-50%, -50%) translateY(6px); }
.hamburger.open span { background: transparent; }
.hamburger.open span::before { transform: translate(-50%, -50%) rotate(45deg); }
.hamburger.open span::after { transform: translate(-50%, -50%) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(1000px 500px at 85% -10%, rgba(241,90,36,.28), transparent 60%),
  radial-gradient(800px 500px at 5% 110%, rgba(241,90,36,.14), transparent 55%); }
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; padding-block: clamp(3rem, 7vw, 5.5rem); }
.hero h1 { color: #fff; }
.hero h1 .hl { color: var(--brand); }
.hero p { color: #c4c8d2; max-width: 56ch; }
.hero .eyebrow { background: rgba(241,90,36,.16); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 2.2rem; color: #aeb3c0; font-size: .9rem; }
.hero-trust div { display: flex; align-items: center; gap: .5rem; }
.hero-trust svg { color: var(--brand); width: 1.1em; height: 1.1em; }

/* Hero visual card */
.hero-visual { position: relative; }
.hero-card { background: #fff; color: var(--ink); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 1.4rem; }
.hero-card h4 { display: flex; align-items: center; justify-content: space-between; }
.hero-card .badge { background: var(--green-soft); color: var(--green); font-size: .78rem; font-weight: 700; padding: .25rem .6rem; border-radius: 100px; }
.bars { display: flex; align-items: flex-end; gap: .6rem; height: 150px; margin: 1.1rem 0; }
.bars i { flex: 1; background: var(--line-2); border-radius: 8px 8px 0 0; position: relative; transition: height .8s cubic-bezier(.2,.8,.2,1); }
.bars i.up { background: linear-gradient(180deg, var(--brand), var(--brand-600)); }
.hero-stat-row { display: grid; grid-template-columns: repeat(3,1fr); gap: .8rem; }
.hero-stat-row div { background: var(--bg-soft); border-radius: var(--r); padding: .8rem; text-align: center; }
.hero-stat-row b { display: block; font-family: var(--font-head); font-size: 1.4rem; color: var(--ink); }
.hero-stat-row small { color: var(--muted); font-size: .72rem; }
.hero-float { position: absolute; background: #fff; border-radius: var(--r); box-shadow: var(--shadow-lg); padding: .8rem 1rem; display: flex; align-items: center; gap: .7rem; }
.hero-float svg { width: 34px; height: 34px; color: var(--brand); }
.hero-float b { font-family: var(--font-head); color: var(--ink); display: block; font-size: 1rem; }
.hero-float small { color: var(--muted); font-size: .76rem; }
.hero-float.f1 { top: -18px; right: -10px; }
.hero-float.f2 { bottom: -22px; left: -18px; }

/* ---------- Logos strip ---------- */
.logos { padding-block: 2.2rem; border-bottom: 1px solid var(--line-2); }
.logos p { text-align: center; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.2rem; font-weight: 600; }
.logos-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(1.5rem, 5vw, 3.5rem); opacity: .65; }
.logos-row span { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: var(--slate); letter-spacing: -.02em; }

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 1.6rem; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s; height: 100%; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card .ico { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 1.1rem; flex-shrink: 0; }
.card .ico svg { width: 26px; height: 26px; display: block; }
.card h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.card p { font-size: .96rem; flex: 1; }
.card .more { display: inline-flex; align-items: center; gap: .4rem; margin-top: auto; padding-top: 1rem; color: var(--brand); font-weight: 700; font-family: var(--font-head); font-size: .92rem; }
.card .more svg { width: 16px !important; height: 16px !important; display: block; flex-shrink: 0; transition: transform .2s; }
.more svg, a.more svg { width: 16px !important; height: 16px !important; max-height: 16px; display: inline-block; flex-shrink: 0; vertical-align: middle; }
.card:hover .more svg { transform: translateX(4px); }
.card-list { margin-top: 1rem; display: grid; gap: .5rem; }
.card-list li { display: flex; gap: .55rem; font-size: .92rem; color: var(--slate); }
.card-list svg { color: var(--green); width: 1.1em; height: 1.1em; flex-shrink: 0; margin-top: .25em; }

/* Feature row */
.feature { display: flex; gap: 1rem; }
.feature .ico { flex-shrink: 0; width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.feature .ico svg { width: 24px; height: 24px; }
.feature h4 { margin-bottom: .3rem; }
.feature p { font-size: .94rem; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--gap); }
.stat { text-align: center; }
.stat b { font-family: var(--font-head); font-size: clamp(2.2rem, 5vw, 3.2rem); color: var(--brand); display: block; line-height: 1; }
.section--ink .stat b { color: var(--brand); }
.stat span { color: var(--muted); font-weight: 600; font-size: .95rem; }
.section--ink .stat span { color: #aeb3c0; }

/* ---------- Process / Steps ---------- */
.steps { counter-reset: step; display: grid; gap: var(--gap); }
.step { position: relative; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 1.6rem 1.4rem 1.4rem; }
.step::before { counter-increment: step; content: "0" counter(step); position: absolute; top: -16px; left: 1.4rem; font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; color: #fff; background: var(--brand); width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; box-shadow: var(--shadow-brand); }
.step h4 { margin: 1rem 0 .4rem; }
.step p { font-size: .93rem; }

/* ---------- Split / media ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.split.reverse > :first-child { order: 2; }
.media-card { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); background: linear-gradient(160deg, var(--ink), var(--ink-3)); aspect-ratio: 4/3; position: relative; display: grid; place-items: center; color: #fff; padding: 2rem; }
.media-card .glow { position: absolute; inset: 0; background: radial-gradient(420px 320px at 70% 20%, var(--brand-glow), transparent 60%); }
.checklist { display: grid; gap: .8rem; margin-top: 1.4rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; }
.checklist svg { flex-shrink: 0; color: var(--green); width: 1.35em; height: 1.35em; margin-top: .15em; }
.checklist b { color: var(--ink); font-family: var(--font-head); }

/* ---------- Testimonials ---------- */
.quote { background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 1.6rem; box-shadow: var(--shadow-sm); height: 100%; display: flex; flex-direction: column; }
.quote .stars { color: var(--gold); display: flex; gap: 2px; margin-bottom: .8rem; }
.quote .stars svg { width: 1.05em; height: 1.05em; }
.quote p { color: var(--ink-2); font-size: 1.02rem; }
.quote .who { display: flex; align-items: center; gap: .8rem; margin-top: 1.2rem; }
.quote .av { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--brand-700)); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; flex-shrink: 0; }
.quote .who b { display: block; color: var(--ink); font-family: var(--font-head); font-size: .95rem; }
.quote .who small { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: .8rem; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r); background: #fff; overflow: hidden; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.3rem; text-align: left; font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.faq-q .pm { flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; transition: transform .25s; }
.faq-item.open .faq-q .pm { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 1.3rem 1.2rem; font-size: .97rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--brand), var(--brand-700)); color: #fff; border-radius: var(--r-xl); padding: clamp(2.4rem,5vw,3.6rem); text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 300px at 90% 10%, rgba(255,255,255,.18), transparent 60%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 620px; margin: 1rem auto 1.8rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--ink); color: #fff; position: relative; overflow: hidden; padding-block: clamp(3rem, 7vw, 4.5rem); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 400px at 80% -20%, rgba(241,90,36,.25), transparent 60%); }
.page-hero .container { position: relative; z-index: 1; max-width: 860px; }
.page-hero h1 { color: #fff; margin-top: 1rem; }
.page-hero p { color: #c4c8d2; margin-top: 1rem; font-size: 1.1rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; font-size: .88rem; color: #9aa0ad; }
.crumbs a:hover { color: var(--brand); }
.crumbs .sep { opacity: .5; }
.crumbs [aria-current] { color: var(--brand); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,4vw,3rem); align-items: start; }
.form { display: grid; gap: 1rem; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: .4rem; }
.field input, .field textarea, .field select { width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.field textarea { min-height: 130px; resize: vertical; }
.field.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field .err { color: #dc2626; font-size: .82rem; margin-top: .3rem; display: none; }
.field.invalid input, .field.invalid textarea { border-color: #dc2626; }
.field.invalid .err { display: block; }
.form-note { font-size: .82rem; color: var(--muted); }
.form-success { display: none; background: var(--green-soft); color: #14532d; border: 1px solid #bbf7d0; border-radius: var(--r); padding: 1rem 1.2rem; font-weight: 600; }
.form-success.show { display: block; }
.contact-info { display: grid; gap: 1.2rem; }
.contact-info .feature .ico { background: var(--ink); color: #fff; }
.contact-card { background: var(--bg-soft); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 1.6rem; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--gap); align-items: stretch; }
.price { background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 1.8rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.price.featured { border: 2px solid var(--brand); box-shadow: var(--shadow); position: relative; }
.price.featured .tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .78rem; padding: .35rem .9rem; border-radius: 100px; }
.price h3 { font-size: 1.3rem; }
.price .amt { font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; color: var(--ink); margin: .6rem 0; line-height: 1; }
.price .amt small { font-size: .95rem; color: var(--muted); font-weight: 600; }
.price ul { display: grid; gap: .7rem; margin: 1.2rem 0; }
.price li { display: flex; gap: .6rem; font-size: .94rem; color: var(--slate); }
.price li svg { color: var(--green); width: 1.1em; height: 1.1em; flex-shrink: 0; margin-top: .25em; }
.price .btn { margin-top: auto; }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--gap); }
.post-card { background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-thumb { aspect-ratio: 16/10; background: linear-gradient(140deg, var(--ink), var(--ink-3)); position: relative; display: grid; place-items: center; color: #fff; }
.post-thumb .glow { position: absolute; inset: 0; background: radial-gradient(300px 200px at 70% 30%, var(--brand-glow), transparent 60%); }
.post-thumb svg { width: 54px; height: 54px; opacity: .9; position: relative; }
.post-body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; gap: .8rem; font-size: .8rem; color: var(--muted); margin-bottom: .7rem; }
.post-cat { color: var(--brand); font-weight: 700; }
.post-body h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.post-body h3 a:hover { color: var(--brand); }
.post-body p { font-size: .93rem; }
.post-body .more { margin-top: auto; padding-top: 1rem; color: var(--brand); font-weight: 700; font-family: var(--font-head); font-size: .9rem; display: inline-flex; align-items: center; gap: .4rem; }
.post-body .more svg { width: 16px !important; height: 16px !important; display: block; flex-shrink: 0; transition: transform .2s; }
.post-card:hover .more svg { transform: translateX(4px); }

/* ---------- Article ---------- */
.article { max-width: 760px; margin-inline: auto; }
.article > * + * { margin-top: 1.3rem; }
.article h2 { font-size: 1.7rem; margin-top: 2.4rem; }
.article h3 { font-size: 1.3rem; margin-top: 1.8rem; }
.article p, .article li { color: var(--ink-2); font-size: 1.08rem; line-height: 1.8; }
.article ul, .article ol { padding-left: 1.3rem; display: grid; gap: .6rem; }
.article ul li { list-style: disc; }
.article ol li { list-style: decimal; }
.article blockquote { border-left: 4px solid var(--brand); background: var(--brand-soft); padding: 1.1rem 1.4rem; border-radius: 0 var(--r) var(--r) 0; font-size: 1.1rem; color: var(--ink); font-style: italic; }
.article img { border-radius: var(--r-lg); }
.article a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #aeb3c0; padding-top: clamp(3rem,6vw,4.5rem); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 2rem; }
.footer-brand .brand-name b { color: #fff; }
.site-footer h5 { color: #fff; font-family: var(--font-head); font-size: 1rem; margin-bottom: 1.1rem; letter-spacing: .02em; }
.footer-links { display: grid; gap: .6rem; }
.footer-links a { font-size: .94rem; transition: color .15s, padding .15s; }
.footer-links a:hover { color: var(--brand); padding-left: 4px; }
.site-footer .footer-brand p { color: #9aa0ad; font-size: .94rem; margin: 1rem 0; max-width: 34ch; }
.social { display: flex; gap: .6rem; }
.social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.07); display: grid; place-items: center; color: #cfd3dc; transition: background .15s, color .15s, transform .15s; }
.social a:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.social svg { width: 18px; height: 18px; }
.footer-contact li { display: flex; gap: .7rem; margin-bottom: .8rem; font-size: .94rem; }
.footer-contact svg { color: var(--brand); width: 1.1em; height: 1.1em; flex-shrink: 0; margin-top: .3em; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 2.6rem; padding-block: 1.4rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .86rem; }
.footer-bottom a:hover { color: var(--brand); }
.footer-legal { display: flex; gap: 1.2rem; flex-wrap: wrap; }

/* ---------- Utility ---------- */
.tag-pill { display: inline-block; background: var(--bg-soft-2); color: var(--slate); font-size: .78rem; font-weight: 700; font-family: var(--font-head); padding: .3rem .7rem; border-radius: 100px; }
.text-brand { color: var(--brand); }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mb-0 { margin-bottom: 0; }
.maxw-60 { max-width: 60ch; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Mobile nav drawer ---------- */
.nav-overlay { position: fixed; inset: 0; background: rgba(20,22,28,.5); opacity: 0; visibility: hidden; transition: opacity .25s; z-index: 1100; }
.nav-overlay.show { opacity: 1; visibility: visible; }
.mobile-nav { position: fixed; top: 0; right: 0; height: 100dvh; width: min(360px, 88vw); background: #fff; z-index: 1200; transform: translateX(100%); transition: transform .3s ease; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
.mobile-nav.open { transform: none; }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.3rem; border-bottom: 1px solid var(--line-2); }
.mobile-nav-close { width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); font-size: 1.5rem; color: var(--ink); display: grid; place-items: center; }
.mobile-nav-body { overflow-y: auto; padding: 1rem 1.3rem 2rem; flex: 1; }
.m-item { border-bottom: 1px solid var(--line-2); }
.m-link { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 1rem 0; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.m-link .chev { transition: transform .2s; width: 1.1em; }
.m-item.open .m-link .chev { transform: rotate(180deg); }
.m-sub { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.m-sub a { display: block; padding: .55rem 0 .55rem .3rem; color: var(--slate); font-size: .98rem; }
.m-sub a:hover { color: var(--brand); }
.mobile-cta { padding: 1.3rem; border-top: 1px solid var(--line-2); display: grid; gap: .7rem; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; }
  .cols-4 { grid-template-columns: repeat(2,1fr); }
  .stats { grid-template-columns: repeat(2,1fr); row-gap: 2rem; }
  .price-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .post-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 900px) {
  .nav-menu, .nav-phone { display: none; }
  .hamburger { display: block; }
  .nav-actions .btn:not(.always) { display: none; }
}
@media (max-width: 760px) {
  :root { --header-h: 70px; }
  .cols-2, .cols-3, .split, .contact-grid { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .post-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-float { display: none; }
}
@media (max-width: 480px) {
  .cols-4, .mega-services { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .field.row { grid-template-columns: 1fr; }
  .hero-cta .btn, .cta-actions .btn { width: 100%; }
  /* Hide desktop Free Audit button on tiny phones — mobile nav has its own CTA */
  .nav-actions .btn.always { display: none; }
  /* Keep hamburger prominent */
  .hamburger { width: 42px; height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- WhatsApp Floating Button ---------- */
.wa-btn {
  position: fixed; bottom: 24px; right: 24px; z-index: 990;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-btn:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(37,211,102,.6); }
.wa-btn svg { width: 32px; height: 32px; }
.wa-btn::before {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid rgba(37,211,102,.5);
  animation: wa-pulse 2s infinite;
}
@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: .7; }
  70%  { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}
@media (max-width: 480px) {
  .wa-btn { width: 52px; height: 52px; bottom: 16px; right: 16px; }
  .wa-btn svg { width: 28px; height: 28px; }
}

/* ---------- Locations Mega Menu ---------- */
.mega--loc { width: min(860px, 92vw); }
.mega-loc-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1.15fr; gap: 1.2rem; }
.mega-loc-head { font-family: var(--font-head); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .45rem; font-weight: 700; }
.mega-loc-list { display: grid; gap: .1rem; }
.mega-loc-list a { font-size: .9rem; color: var(--ink-2); padding: .3rem .55rem; border-radius: 6px; transition: color .15s, background .15s; display: block; }
.mega-loc-list a:hover { color: var(--brand); background: var(--brand-soft); }
@media (max-width: 900px) { .mega--loc .mega-loc-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Locations Hub Page ---------- */
.loc-region { margin-bottom: 2.5rem; }
.loc-region h3 { font-size: 1.3rem; margin-bottom: 1.2rem; padding-bottom: .6rem; border-bottom: 2px solid var(--brand); display: inline-block; }
.loc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .55rem; }
.loc-link { display: flex; align-items: center; gap: .5rem; padding: .65rem .9rem; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-sm); font-family: var(--font-head); font-weight: 600; font-size: .93rem; color: var(--ink-2); transition: color .15s, border-color .15s, background .15s, transform .15s; }
.loc-link:hover { color: var(--brand); border-color: var(--brand); background: var(--brand-soft); transform: translateY(-2px); }
.loc-link svg { width: 16px; height: 16px; color: var(--brand); flex-shrink: 0; }

/* ---------- Team member photo ---------- */
.team-photo { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; margin: 0 auto 1rem; display: block; }
.team-av { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 1rem; background: linear-gradient(135deg, var(--brand), var(--brand-700)); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; }

/* ---------- Testimonial carousel ---------- */
.review-carousel { overflow: hidden; position: relative; }
.review-track { display: flex; gap: var(--gap); transition: transform .4s ease; }
.review-track .quote { min-width: calc(33.33% - var(--gap) * 2/3); flex-shrink: 0; }
.carousel-dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1.5rem; }
.carousel-dots button { width: 8px; height: 8px; border-radius: 50%; background: var(--line); border: none; cursor: pointer; transition: background .2s, transform .2s; padding: 0; }
.carousel-dots button.active { background: var(--brand); transform: scale(1.3); }
@media (max-width: 760px) { .review-track .quote { min-width: 100%; } }
@media (max-width: 1024px) { .review-track .quote { min-width: calc(50% - var(--gap) / 2); } }

/* ---------- Static reviews grid ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--gap); }

/* ---------- City / Location Page ---------- */
.city-intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
@media (max-width: 760px) { .city-intro { grid-template-columns: 1fr; } }
.city-sidebar { background: var(--ink); color: #cfd3dc; border-radius: var(--r-xl); padding: 2rem; }
.city-sidebar h4 { color: #fff; margin-bottom: .5rem; }
.city-sidebar p { color: #9aa0ad; font-size: .93rem; margin-bottom: 1.2rem; }
.city-services { display: grid; gap: .5rem; margin: 1rem 0; }
.city-services a { display: flex; align-items: center; gap: .6rem; color: #cfd3dc; font-size: .93rem; padding: .55rem .7rem; border-radius: 8px; transition: background .15s, color .15s; }
.city-services a:hover { background: rgba(255,255,255,.07); color: #fff; }
.city-services svg { width: 16px; height: 16px; color: var(--brand); flex-shrink: 0; }
