/* MDJ Roofing and Construction. Hand-written, no framework. */
:root {
  /* Palette from MDJ's logo: navy #102A6B, royal blue #0054A6, sky #00A8E8, red #D7191F, yellow #FFE600. */
  --slate: #102A6B;        /* ink: headings, dark sections */
  --slate-2: #1E3A96;
  --text: #334155;
  --muted: #64748B;
  --paper: #FFFFFF;
  --surface: #FFFFFF;
  --stone: #F3F7FC;        /* alt section background */
  --line: #E2E8F0;
  --copper: #D7191F;       /* MDJ logo red: CTAs (blue theme 2026-10-08; gold theme archived) */
  --copper-hover: #B31318;
  --copper-text: #0054A6;  /* MDJ royal blue for small accent text on white */
  --copper-bright: #FFE600;
  --copper-tint: #E8F2FC;
  --sky: #0054A6;
  --on-dark: #F8FAFC;
  --on-dark-muted: #CBD5E1;
  --ok: #16A34A;
  --font-display: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius-sm: 8px; --radius: 14px; --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(12,30,82,.05), 0 2px 8px rgba(12,30,82,.04);
  --shadow: 0 2px 4px rgba(12,30,82,.05), 0 14px 34px rgba(12,30,82,.10);
  --wrap: 1180px; --gutter: 20px; --header-h: 72px; --bar-h: 68px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--font-body); font-size: 1.04rem; line-height: 1.65; padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky); text-underline-offset: 3px; }
a:hover { color: var(--slate); }
:focus-visible { outline: 3px solid var(--copper-bright); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--slate); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.02em; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 7vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 4.6vw, 2.5rem); }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 820px; margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--slate); color: #fff; padding: 10px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); backdrop-filter: saturate(1.4) blur(6px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--slate); }
.brand svg, .brand img { width: 48px; height: 48px; flex: none; }
.brand b { font-family: var(--font-display); font-weight: 800; font-size: 1.12rem; line-height: 1; letter-spacing: -.01em; display: block; }
.brand small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--copper); margin-top: 3px; }
.nav { display: none; }
.brand span, .nav a, .header-tel { white-space: nowrap; }
.nav a { font-size: .98rem; color: var(--slate); text-decoration: none; font-weight: 600; padding: 8px 12px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--stone); }
.header-cta { display: none; align-items: center; gap: 14px; }
.header-cta .btn { white-space: nowrap; min-height: 46px; padding: 10px 18px; }
.header-tel { font-weight: 700; color: var(--slate); text-decoration: none; white-space: nowrap; }
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--slate); cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: #fff; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: flex; align-items: center; min-height: 48px; padding: 0 var(--gutter); color: var(--slate); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--stone); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 13px 24px; border-radius: 10px; font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; line-height: 1.2; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background-color .15s, border-color .15s; width: 100%; text-align: center; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--copper); color: #fff; box-shadow: 0 8px 20px -10px rgba(215,25,31,.7); }
.btn-primary:hover { background: var(--copper-hover); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--slate); border-color: var(--slate); }
.btn-ghost:hover { background: var(--slate); color: #fff; }
.on-dark .btn-ghost { color: #fff; border-color: rgba(255,255,255,.7); }
.on-dark .btn-ghost:hover { background: #fff; color: var(--slate); }
.btn-row { display: flex; flex-direction: column; gap: 12px; margin: 24px 0 10px; }
.btn-note { font-size: .95rem; color: var(--muted); margin: 0; }
.on-dark .btn-note { color: var(--on-dark-muted); }
.on-dark .btn-note a { color: #fff; }

/* Hero */
.hero { position: relative; color: var(--on-dark); background: var(--slate); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,30,82,.96) 0%, rgba(12,30,82,.88) 45%, rgba(12,30,82,.55) 100%); }
.hero-in { position: relative; padding: 44px 0 52px; max-width: 700px; }
.hero h1 { color: #fff; }
.hero h1 .eyebrow { display: block; font-family: var(--font-body); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--copper-bright); margin-bottom: 14px; line-height: 1.3; }
.hero .lead { font-size: 1.18rem; color: var(--on-dark-muted); max-width: 600px; }
.proof { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; padding: 0; margin: 22px 0 0; }
.proof li { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .98rem; color: #fff; }
.proof svg { width: 18px; height: 18px; color: var(--copper-bright); flex: none; }
.stars { color: #F2B544; letter-spacing: 1px; }
.crumbs { font-size: .9rem; margin-bottom: 16px; color: var(--on-dark-muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { color: var(--on-dark-muted); }

/* Sections */
.section { padding: 56px 0; }
.section-stone { background: var(--stone); }
.section-dark { background: var(--slate); color: var(--on-dark); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: var(--on-dark-muted); }
.head { max-width: 720px; margin: 0 auto 32px; text-align: center; }
.head p { color: var(--muted); font-size: 1.1rem; }
.kicker { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--copper-text); margin-bottom: 10px; }
.section-dark .kicker { color: var(--copper-bright); }
.grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.card h3 { margin-bottom: .35em; }
.card p:last-child { margin-bottom: 0; }
.card .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--copper-tint); color: var(--copper); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.card .ico svg { width: 24px; height: 24px; }
.card-link { display: block; text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
.card-link:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: inherit; }
.card-link .more { display: inline-flex; margin-top: 10px; color: var(--copper); font-weight: 700; }
.photo-card { padding: 0; overflow: hidden; }
.photo-card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.photo-card .body { padding: 18px 20px 20px; }
.split { display: grid; gap: 28px; align-items: center; }
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { position: relative; padding: 6px 0 6px 32px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 11px; width: 20px; height: 20px; border-radius: 50%; background: var(--copper-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230054A6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; }
.steps { counter-reset: s; display: grid; gap: 18px; }
.steps .card { position: relative; padding-top: 30px; }
.steps .card::before { counter-increment: s; content: counter(s); position: absolute; top: -16px; left: 24px; width: 36px; height: 36px; border-radius: 50%; background: var(--copper); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); }
.rating-box { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; justify-content: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.rating-box .big { font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; color: var(--slate); line-height: 1; }
.rating-box .stars { font-size: 1.4rem; }
.areas { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; list-style: none; padding: 0; margin: 0; }
.areas a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--slate); font-weight: 600; text-decoration: none; }
.areas a:hover { border-color: var(--copper); color: var(--copper); }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 18px; font-weight: 700; color: var(--slate); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--copper); }
.faq details[open] summary::after { content: "\2212"; }
.faq .a { padding: 0 18px 16px; color: var(--text); }
.cta-band { background: linear-gradient(135deg, var(--slate) 0%, var(--slate-2) 100%); color: #fff; border-radius: var(--radius-lg); padding: 34px 24px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--on-dark-muted); max-width: 620px; margin-left: auto; margin-right: auto; }
.cta-band .btn-row { max-width: 560px; margin-left: auto; margin-right: auto; }
.prose { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 20px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose .short { font-size: 1.15rem; font-weight: 600; color: var(--slate); background: var(--copper-tint); border-left: 4px solid var(--copper); padding: 14px 18px; border-radius: 0 10px 10px 0; }
.links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.links a { font-weight: 600; }
.booking-frame { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; min-height: 720px; }
.booking-frame iframe { width: 100%; min-height: 720px; border: 0; }
.notice { font-size: .95rem; color: var(--muted); }

/* Legal */
.legal-section { padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.legal-section:last-child { border-bottom: 0; }
.legal-section h2 { display: flex; align-items: center; gap: 12px; font-size: 1.25rem; }
.sec-num { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: 32px; border-radius: 8px; background: var(--copper-tint); color: var(--copper); font-size: .82rem; font-weight: 800; flex: none; }
.legal-section h3 { font-family: var(--font-body); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sky); margin: 18px 0 6px; }
.highlight-box { background: var(--copper-tint); border-left: 3px solid var(--copper); border-radius: 0 10px 10px 0; padding: 12px 16px; margin: 12px 0; font-weight: 600; color: var(--slate); }
.highlight-box p { margin: 0; }

/* Footer */
.site-footer { background: #0C1F54; color: var(--on-dark-muted); padding: 48px 0 32px; font-size: .98rem; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.site-footer a { color: var(--on-dark); text-decoration: none; display: inline-flex; min-height: 40px; align-items: center; }
.site-footer a:hover { color: var(--copper-bright); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.foot-grid { display: grid; gap: 28px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 32px; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 4px 18px; justify-content: space-between; align-items: center; font-size: .85rem; line-height: 1.5; }
.foot-bottom > span { display: inline-flex; align-items: center; gap: 6px; }
.foot-bottom a { min-height: 32px; }
.foot-brand .brand { color: #fff; }

/* Mobile call / book bar */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.98); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(12,30,82,.08); }
.mobile-bar .btn { min-height: 48px; padding: 10px 10px; font-size: .95rem; white-space: nowrap; gap: 8px; }

@media (min-width: 640px) {
  .btn-row { flex-direction: row; flex-wrap: wrap; }
  .btn { width: auto; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .prose { padding: 40px 44px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .mobile-bar { display: none; }
  .section { padding: 84px 0; }
  .hero-in { padding: 88px 0 96px; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .header-cta { display: flex; margin-left: auto; }
  .split.flip > :first-child { order: 2; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .cta-band { padding: 52px 40px; }
}
@media (min-width: 1100px) {
  .nav { display: flex; gap: 2px; margin-left: auto; }
  .header-cta { margin-left: 18px; }
  .menu-btn, .mobile-nav, .mobile-nav.open { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Lead form */
.lead-form { padding: 26px 22px; }
.fgrid { display: grid; gap: 12px; grid-template-columns: 1fr; margin: 16px 0; }
.fgrid label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; color: var(--slate); font-size: .98rem; }
.fgrid input, .fgrid select, .fgrid textarea { font: inherit; font-weight: 400; color: var(--text); min-height: 48px; padding: 10px 12px; border: 1px solid #B9B2A6; border-radius: 8px; background: #fff; }
.fgrid textarea { min-height: 90px; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: .88rem; color: var(--muted); line-height: 1.5; margin: 0 0 12px; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--copper); }
.form-msg { min-height: 1.4em; margin: 10px 0 0; font-weight: 600; color: var(--slate); }
@media (min-width: 640px) { .fgrid { grid-template-columns: 1fr 1fr; } .fgrid .full { grid-column: 1 / -1; } }

/* Legal layout (modeled on propello.ventures/privacy) */
.legal-tag { display: inline-flex; background: rgba(255,230,0,.16); border: 1px solid rgba(255,230,0,.45); color: var(--copper-bright); border-radius: 999px; padding: 5px 14px; font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: .92rem; color: var(--on-dark-muted); }
.legal-meta span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--copper-bright); margin-right: 8px; vertical-align: middle; }
.legal-layout { display: grid; gap: 28px; align-items: start; }
.legal-toc { display: none; }
.legal-contact { background: var(--slate); color: var(--on-dark-muted); border-radius: var(--radius); padding: 20px 22px; }
.legal-contact p { margin: 0 0 6px; color: var(--on-dark-muted); }
.legal-contact a { color: #fff; }
.legal-contact .legal-contact-name { color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; }
@media (min-width: 960px) {
  .legal-layout { grid-template-columns: 240px 1fr; gap: 44px; }
  .legal-toc { display: block; position: sticky; top: calc(var(--header-h) + 20px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 12px; }
  .legal-toc-h { font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--copper); margin: 0 0 8px 10px; }
  .legal-toc ol { list-style: none; padding: 0; margin: 0; }
  .legal-toc a { display: flex; gap: 10px; padding: 6px 10px; border-radius: 8px; font-size: .9rem; color: var(--muted); text-decoration: none; }
  .legal-toc a span { color: var(--copper); font-weight: 800; min-width: 16px; }
  .legal-toc a:hover { background: var(--stone); color: var(--slate); }
}

/* ---------- Home, modeled on MDJ's previous site ---------- */
.brand svg { border-radius: 10px; } .brand img { border-radius: 50%; }
.header-call { display: none; flex-direction: column; line-height: 1.15; text-decoration: none; white-space: nowrap; }
.header-call small { font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ok); }
.header-call small::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); margin-right: 5px; vertical-align: middle; }
.header-call b { color: var(--slate); font-size: 1.08rem; }
.home-hero { position: relative; color: #fff; text-align: center; overflow: hidden; background: var(--slate); }
.home-hero .hero-bg::after { background: linear-gradient(180deg, rgba(12,30,82,.62) 0%, rgba(12,30,82,.72) 60%, rgba(12,30,82,.85) 100%); }
.home-hero .hero-in { max-width: 860px; margin: 0 auto; padding: 46px 0 40px; }
.home-hero h1 { color: #fff; font-size: clamp(2.1rem, 7.4vw, 3.9rem); margin: 14px 0 16px; }
.home-hero .lead { color: #E2E8F0; font-size: 1.12rem; max-width: 640px; margin: 0 auto; }
.pill-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(12,30,82,.72); border: 1px solid rgba(255,255,255,.18); font-size: .86rem; font-weight: 600; color: #fff; }
.pill .tag { background: var(--ok); color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 5px; }
.pill .stars { color: #F2B544; }
.pill svg { width: 16px; height: 16px; color: #4ADE80; flex: none; }
.pill-sub { background: rgba(255,255,255,.1); }
.home-hero .btn-row { justify-content: center; max-width: 520px; margin: 26px auto 22px; }
.home-hero .btn-ghost { background: rgba(12,30,82,.6); }
.trust-strip { background: #fff; border-bottom: 1px solid var(--line); }
.trust-strip .grid { padding: 24px 0; gap: 16px; }
.trust { display: flex; gap: 12px; align-items: flex-start; }
.trust .ico { width: 40px; height: 40px; flex: none; border-radius: 10px; background: var(--copper-tint); color: var(--copper-text); display: flex; align-items: center; justify-content: center; }
.trust .ico svg { width: 22px; height: 22px; }
.trust b { display: block; color: var(--slate); font-size: 1rem; }
.trust span { font-size: .9rem; color: var(--muted); }
.svc-card { display: flex; flex-direction: column; }
.svc-card h3 a { color: inherit; text-decoration: none; }
.svc-card p { color: var(--muted); font-size: .97rem; flex: 1; }
.svc-card .more, .gal-card .more { color: var(--copper-text); font-weight: 700; text-decoration: none; font-size: .95rem; }
.gal-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.gal-card .ph { position: relative; }
.gal-card .ph img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.gal-card .ph .badge { position: absolute; top: 12px; right: 12px; background: rgba(12,30,82,.88); color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 6px; }
.gal-card .body { padding: 18px 20px 16px; display: flex; flex-direction: column; flex: 1; }
.gal-card .cat { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--copper-text); margin-bottom: 6px; }
.gal-card h3 { font-size: 1.12rem; }
.gal-card p { font-size: .94rem; color: var(--muted); flex: 1; }
.gal-card .foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 12px; font-size: .86rem; color: var(--muted); font-weight: 600; }
.why-grid { display: grid; gap: 28px; align-items: start; }
.num-steps { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 22px; }
.num-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.num-steps .n { width: 44px; height: 44px; border-radius: 50%; background: var(--copper); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.num-steps b { display: block; color: var(--slate); font-size: 1.08rem; margin-bottom: 2px; }
.num-steps p { margin: 0; color: var(--muted); font-size: .97rem; }
.commit h3 { font-size: 1.3rem; margin-bottom: 14px; }
.commit .checks li::before { top: 9px; }
.commit .checks b { display: block; color: var(--slate); }
.commit .checks span { color: var(--muted); font-size: .95rem; }
.g-summary { display: grid; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); margin-bottom: 22px; text-align: center; }
.g-summary .gname { display: flex; align-items: center; justify-content: center; gap: 12px; }
.g-summary .gname svg { width: 34px; height: 34px; flex: none; }
.g-summary .verified { display: inline-flex; gap: 6px; align-items: center; background: #DCFCE7; color: #166534; font-size: .74rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.g-summary .gname b { display: block; color: var(--slate); font-size: 1.1rem; }
.g-summary .score { display: flex; align-items: center; justify-content: center; gap: 12px; }
.g-summary .score .big { font-size: 2.8rem; font-weight: 800; color: var(--slate); line-height: 1; }
.g-summary .score .stars { font-size: 1.4rem; }
.g-summary .score small { display: block; color: var(--muted); font-size: .9rem; }
.g-summary .facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .94rem; color: var(--text); }
.rev-grid { columns: 1; column-gap: 18px; }
.rev { break-inside: avoid; margin-bottom: 18px; display: flex; flex-direction: column; }
.rev-top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.rev-top img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; }
.rev-top b { display: block; color: var(--slate); line-height: 1.2; }
.rev-top small { color: var(--muted); font-size: .84rem; }
.rev-top .gpill { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; font-size: .76rem; font-weight: 700; color: var(--slate); white-space: nowrap; }
.rev-top .gpill svg { width: 14px; height: 14px; }
.rev-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; }
.rev-meta .stars { font-size: 1.05rem; }
.rev-meta .job { background: #DCFCE7; color: #166534; font-size: .74rem; font-weight: 700; padding: 3px 9px; border-radius: 6px; }
.rev-meta .when { color: var(--muted); font-size: .84rem; }
.rev q { quotes: none; font-style: italic; color: var(--text); font-size: .98rem; }
.rev .clamp { display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.rev.open .clamp { -webkit-line-clamp: unset; display: block; }
.rev .more-btn { background: none; border: 0; padding: 6px 0 0; color: var(--copper-text); font: inherit; font-weight: 700; cursor: pointer; align-self: flex-start; min-height: 32px; }
.rev-foot { display: flex; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 12px; padding-top: 10px; font-size: .8rem; color: var(--muted); }
.rev-foot b { color: #0054A6; }
.area-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 20px; text-align: center; box-shadow: var(--shadow-sm); }
.area-box .areas a::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #EF4444; margin-right: 8px; }
.contact-side .phone-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin: 22px 0; }
.contact-side .phone-card small { display: block; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-side .phone-card a { font-size: 1.9rem; font-weight: 800; color: var(--copper-text); text-decoration: none; }
.contact-side .facts { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; color: var(--text); }
.contact-side .info { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: grid; gap: 14px; }
.contact-side .info b { display: block; color: var(--slate); }
.contact-side .info span { color: var(--muted); font-size: .94rem; }
@media (max-width: 959px) { .home-hero .hero-in, .head, .why-grid > div:first-child, .contact-side { text-align: center; } .num-steps li { text-align: left; } }
@media (min-width: 640px) { .rev-grid { columns: 2; } .g-summary { grid-template-columns: 1fr auto; text-align: left; } .g-summary .gname, .g-summary .score { justify-content: flex-start; } }
@media (min-width: 960px) {
  .header-call { display: flex; }
  .home-hero .hero-in { padding: 96px 0 84px; }
  .trust-strip .grid { grid-template-columns: repeat(4, 1fr); }
  .why-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
  .rev-grid { columns: 3; }
  .g-summary { grid-template-columns: 1.2fr 1fr 1fr; }
  .area-box { padding: 44px 40px; }
}
@media (max-width: 639px) { .hide-sm { display: none; } }

/* Review filters, photos, commercial spotlight */
.rev-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 14px; margin-bottom: 4px; scrollbar-width: none; }
.rev-tabs button { flex: none; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--slate); font: inherit; font-weight: 700; font-size: .95rem; cursor: pointer; }
.rev-tabs button span { color: var(--muted); font-weight: 600; margin-left: 4px; }
.rev-tabs button[aria-selected="true"] { background: var(--slate); color: #fff; border-color: var(--slate); }
.rev-tabs button[aria-selected="true"] span { color: #CBD5E1; }
.rev[hidden] { display: none; }
.rev-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.rev-tags .cat { font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; }
.cat-commercial { background: #E0F2FE; color: #075985; }
.cat-investor { background: #EDE9FE; color: #5B21B6; }
.cat-residential { background: var(--copper-tint); color: var(--copper-text); }
.rev-tags .job { background: #DCFCE7; color: #166534; font-size: .74rem; font-weight: 700; padding: 3px 9px; border-radius: 6px; }
.rev-commercial { border-color: #BAE6FD; }
.letter-av { width: 46px; height: 46px; border-radius: 50%; background: #5C6BC0; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.2rem; flex: none; }
.rev-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 12px; }
.rev-photos img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: 8px; }
.rev-photos a { display: block; }
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(12,30,82,.92); display: flex; align-items: center; justify-content: center; padding: 20px; }
.lb[hidden] { display: none; }
.lb img { max-width: 100%; max-height: 88vh; border-radius: 10px; }
.lb-x { position: absolute; top: 14px; right: 14px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--slate); font-size: 1.8rem; cursor: pointer; }
.commercial-spot { background: var(--slate); color: var(--on-dark); }
.commercial-spot h2 { color: #fff; }
.commercial-spot p { color: var(--on-dark-muted); }
.commercial-spot .kicker { color: var(--copper-bright); }
.spot-quote { margin: 20px 0 6px; padding: 16px 18px; border-left: 4px solid var(--copper); background: rgba(255,255,255,.06); border-radius: 0 12px 12px 0; }
.spot-quote p { color: #fff; font-style: italic; margin: 0 0 8px; }
.spot-quote footer { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--on-dark-muted); }
.spot-quote footer svg { width: 16px; height: 16px; }
.spot-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.spot-photos img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; box-shadow: none; }
.spot-photos .big { grid-column: 1 / -1; }
.spot-cap { grid-column: 1 / -1; font-size: .82rem; text-align: center; margin: 0; }
@media (max-width: 959px) { .commercial-spot .split > div:first-child { text-align: center; } .commercial-spot .btn-row { justify-content: center; } .spot-quote { text-align: left; } }

/* Legal pages: plain header, desktop TOC with scroll highlight, no TOC on mobile */
.legal-page { padding-top: 36px; }
.legal-head { padding-bottom: 18px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.legal-head h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); margin-bottom: 8px; }
.legal-head .legal-meta { color: var(--muted); margin: 0 0 12px; }
.legal-head .legal-meta span::before { background: var(--copper); }
.legal-body { max-width: 780px; }
@media (min-width: 960px) { .legal-toc a.active { background: var(--copper-tint); color: var(--slate); font-weight: 700; } }

/* Emoji icons, carried over from MDJ's previous site */
.emo { font-size: 2rem; line-height: 1; flex: none; width: 44px; text-align: center; font-family: "Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif; }
.trust .emo { margin-top: 2px; font-size: 2rem; color: inherit; }
.svc-card .emo { font-size: 2.2rem; text-align: left; margin-bottom: 14px; }

/* Mobile: centered footer bottom, swipe carousels for home gallery and reviews */
.swipe-hint { display: none; }
@media (max-width: 639px) {
  .foot-bottom { flex-direction: column; align-items: center; text-align: center; }
  .swipe-hint { display: block; text-align: center; font-size: .88rem; font-weight: 700; color: var(--copper-text); margin: -8px 0 10px; }
  #work .gal-grid, #reviews .rev-grid { display: flex; columns: auto; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 16px; scroll-padding: 0 var(--gutter); scrollbar-width: none; }
  #work .gal-grid::-webkit-scrollbar, #reviews .rev-grid::-webkit-scrollbar { display: none; }
  #work .gal-card, #reviews .rev { flex: 0 0 86%; scroll-snap-align: start; margin: 0; }
  #reviews .rev-tabs { margin: 0 calc(-1 * var(--gutter)); padding-left: var(--gutter); padding-right: var(--gutter); }
}
@media (max-width: 639px) { .rev-top .gpill { font-size: 0; gap: 0; padding: 6px; } .rev-top .gpill svg { width: 16px; height: 16px; } }
.step-1 .fgrid { grid-template-columns: 1fr 1fr; }
.step-1 .fgrid .full, .step-1 .fgrid .m-full { grid-column: 1 / -1; }
@media (min-width: 640px) { .step-1 .fgrid .m-full { grid-column: auto; } }
.step[hidden] { display: none; }
/* Keep grid columns inside the page width (form fields were forcing the estimate section wider on phones) */
.split > *, .why-grid > * { min-width: 0; }
.fgrid input, .fgrid select, .fgrid textarea { width: 100%; min-width: 0; }
.consent { font-size: .86rem; margin-bottom: 8px; align-items: center; }
.consent-note { font-size: .74rem; color: var(--muted); margin: 0 0 14px 32px; line-height: 1.4; }
.consent { font-size: .78rem; line-height: 1.45; align-items: start; margin-bottom: 10px; }
.consent input { margin-top: 1px; }
/* Leave room for the GHL chat bubble (bottom right) on phones */
@media (max-width: 959px) { .mobile-bar { padding-right: 84px; } }
