/* HH Brothers Garage Doors — "Curb Appeal" design
   Light, photo-led, rounded. Brand red used sparingly for calls to action. */

:root {
  --paper: #fbfaf8;
  --white: #ffffff;
  --stone: #f0ece6;
  --stone-2: #e5dfd6;
  --ink: #1f2124;
  --ink-2: #3b3e43;
  --dim: #63666c;
  --line: #e4dfd7;
  --red: #c41e28;
  --red-dark: #a1161f;
  --star: #e8a317;

  --display: "Familjen Grotesk", "Helvetica Neue", Arial, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 10px;
  --radius-sm: 8px;
  /* Layered shadows: a tight contact shadow plus a soft ambient one */
  --shadow-1: 0 1px 2px rgba(20,22,25,.06), 0 4px 12px -2px rgba(20,22,25,.08);
  --shadow-2: 0 2px 4px rgba(20,22,25,.06), 0 14px 32px -8px rgba(20,22,25,.18);
  --shadow-3: 0 4px 8px rgba(20,22,25,.08), 0 28px 60px -16px rgba(20,22,25,.32);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--body); }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }
.i { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }
.i--stroke { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.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: 8px; padding: 14px 22px; border-radius: 8px; font: 600 16px/1 var(--body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--stone); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--ghost-light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); }
.btn--sm { padding: 10px 16px; font-size: 15px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--ink); }
.link-arrow .i { transition: transform .15s; }
.link-arrow:hover .i { transform: translateX(3px); }

/* ───────── Header ───────── */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(251,250,248,.92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 8px 24px -18px rgba(0,0,0,.25); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: var(--paper); z-index: 60; }
.header-bar { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.brand { display: block; flex: none; }
.brand img { height: 50px; width: auto; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ink-2); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--red); }
.header-call { flex: none; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 8px; background: var(--stone); cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, top .2s; }
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.mobile-nav { display: none; }

@media (max-width: 980px) {
  .nav, .header-call { display: none; }
  .menu-btn { display: block; }
  .brand img { height: 42px; }
  .mobile-nav { display: grid; gap: 4px; padding: 8px var(--gutter-r) 20px var(--gutter); border-top: 1px solid var(--line); background: var(--paper); }
  .mobile-nav[hidden] { display: none; }
  .mobile-nav a:not(.btn) { text-decoration: none; font: 600 20px/1 var(--display); padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .mobile-nav .btn { margin-top: 12px; }
}

/* ───────── Sections ───────── */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section--stone { background: var(--stone); }
.section-head { display: grid; gap: 12px; max-width: 680px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; }
.section-head--row > div:not(.chips) { display: grid; gap: 12px; max-width: 640px; }
.kicker { font: 600 13px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.h2 { font-size: clamp(30px, 4.2vw, 46px); }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--dim); max-width: 62ch; }

/* ───────── Home hero ───────── */
.hero { padding-top: 8px; }
.hero-frame { position: relative; border-radius: 14px; overflow: hidden; min-height: clamp(480px, 72vh, 660px); display: grid; isolation: isolate; background: var(--ink); }
.hero-frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; z-index: -2; }
.hero-frame::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(18,18,20,.78) 0%, rgba(18,18,20,.5) 42%, rgba(18,18,20,0) 74%), linear-gradient(0deg, rgba(18,18,20,.45) 0%, rgba(18,18,20,0) 40%); }
.hero-copy { align-self: end; padding: clamp(24px, 5vw, 56px); display: grid; gap: 18px; max-width: 640px; color: #fff; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 14px/1 var(--body); letter-spacing: .04em; color: rgba(255,255,255,.88); }
.hero-eyebrow .i { color: #ff8a8f; }
.hero-sub { font-size: clamp(17px, 1.7vw, 20px); color: rgba(255,255,255,.88); max-width: 46ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }
.rating-badge { position: absolute; top: clamp(14px, 2.5vw, 28px); right: clamp(14px, 2.5vw, 28px); background: #fff; color: var(--ink); border-radius: 10px; padding: 12px 16px; display: grid; grid-template-columns: auto auto; gap: 2px 12px; align-items: center; text-decoration: none; box-shadow: 0 12px 30px -12px rgba(0,0,0,.4); }
.rating-badge .g-mark { width: 28px; height: 28px; grid-row: span 2; }
.rating-badge b { font: 700 22px/1 var(--display); }
.rating-badge b .stars { font-size: 15px; margin-left: 6px; vertical-align: 2px; }
.rating-badge span { font-size: 13px; color: var(--dim); }
.stars { color: var(--star); letter-spacing: 1px; }
@media (max-width: 640px) {
  .hero-frame { min-height: 560px; border-radius: 12px; }
  .hero-frame::before { background: linear-gradient(0deg, rgba(18,18,20,.85) 0%, rgba(18,18,20,.55) 45%, rgba(18,18,20,.05) 75%); }
  .hero-ctas .btn { flex: 1 1 auto; }
}

/* ───────── Trust bar ───────── */
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.trust li { list-style: none; padding: 20px 24px; display: grid; gap: 4px; border-right: 1px solid var(--line); }
.trust li:last-child { border-right: 0; }
.trust strong { font: 700 28px/1 var(--display); letter-spacing: -.02em; }
.trust span { font-size: 14px; color: var(--dim); }
@media (max-width: 760px) {
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust li:nth-child(2) { border-right: 0; }
  .trust li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .trust li { padding: 16px 18px; }
  .trust strong { font-size: 24px; }
}

/* ───────── Service cards ───────── */
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service-card { display: grid; grid-template-rows: auto 1fr; background: var(--white); border-radius: var(--radius); overflow: hidden; text-decoration: none; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.service-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(0,0,0,.35); }
.service-card .ph { aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone); }
.service-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.service-card:hover .ph img { transform: scale(1.04); }
.service-card .body { padding: 22px 22px 24px; display: grid; gap: 10px; align-content: start; }
.service-card h3 { font-size: 24px; }
.service-card p { color: var(--dim); font-size: 16px; }
.service-card .link-arrow { margin-top: 6px; }
@media (max-width: 900px) { .service-grid { grid-template-columns: minmax(0, 1fr); } .service-card { grid-template-columns: 40% 1fr; grid-template-rows: none; } .service-card .ph { aspect-ratio: auto; min-height: 100%; } }
@media (max-width: 520px) { .service-card { grid-template-columns: minmax(0, 1fr); } .service-card .ph { aspect-ratio: 16 / 10; } }

/* ───────── Projects grid ───────── */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 0; background: var(--stone); color: var(--ink); padding: 9px 16px; border-radius: 6px; font: 500 15px/1 var(--body); cursor: pointer; transition: background .15s, color .15s; }
.chip:hover { background: var(--stone-2); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.chip .count { opacity: .6; margin-left: 4px; font-variant-numeric: tabular-nums; }
.photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.photo-grid--feature > :first-child { grid-column: span 2; grid-row: span 2; }
.photo { position: relative; display: block; border: 0; padding: 0; border-radius: var(--radius-sm); overflow: hidden; background: var(--stone); aspect-ratio: 4 / 3; cursor: zoom-in; width: 100%; }
.photo img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s, transform .4s; }
.photo img.is-loaded { opacity: 1; }
.photo:hover img { transform: scale(1.04); }
.photo-tag { position: absolute; left: 10px; bottom: 10px; background: rgba(255,255,255,.94); color: var(--ink); font: 600 12px/1 var(--body); padding: 6px 10px; border-radius: 4px; }
.grid-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; color: var(--dim); font-size: 15px; }
@media (max-width: 900px) { .photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }

/* ───────── Repairs list ───────── */
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.split-intro { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 24px); }
.split-intro .btn { justify-self: start; margin-top: 6px; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } .split-intro { position: static; } }
.fix-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; list-style: none; }
.fix { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px; display: grid; gap: 8px; align-content: start; }
.fix-icon { width: 44px; height: 44px; border-radius: 8px; background: var(--stone); display: grid; place-items: center; color: var(--red); }
.fix-icon .i { width: 24px; height: 24px; }
.fix h3 { font-size: 19px; }
.fix p { color: var(--dim); font-size: 15px; }
.fix a { font-size: 15px; }
@media (max-width: 560px) { .fix-list { grid-template-columns: minmax(0, 1fr); } }

/* ───────── Steps ───────── */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: 10px; align-content: start; padding: 24px 22px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.steps li::before { content: counter(step); width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font: 700 16px/1 var(--display); }
.steps h3 { font-size: 20px; }
.steps p { color: var(--dim); font-size: 15px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ───────── Reviews ───────── */
.rating-row { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; text-decoration: none; background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 10px 18px; }
.rating-row .g-mark { width: 22px; height: 22px; }
.rating-row b { font: 700 20px/1 var(--display); }
.rating-row span { color: var(--dim); font-size: 15px; }
.reviews { columns: 3 320px; column-gap: 16px; }
.review { break-inside: avoid; margin: 0 0 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 14px; }
.review-top { display: flex; align-items: center; justify-content: space-between; }
.review-top .g-mark { width: 20px; height: 20px; }
.review blockquote { margin: 0; display: grid; gap: 10px; font-size: 16px; color: var(--ink-2); }
.review footer { display: flex; align-items: center; gap: 12px; }
.initials { width: 40px; height: 40px; border-radius: 50%; background: var(--stone); display: grid; place-items: center; font: 700 14px/1 var(--display); color: var(--ink-2); flex: none; }
.author { display: grid; line-height: 1.3; }
.author strong { font-weight: 600; font-size: 15px; }
.author span { font-size: 13px; color: var(--dim); }

/* ───────── Areas ───────── */
.area-links { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.area-links a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; background: var(--white); border: 1px solid var(--line); padding: 12px 18px; border-radius: 8px; font-weight: 600; transition: border-color .15s, background .15s; }
.area-links a:hover { border-color: var(--ink); }
.area-links a[aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.area-links .i { color: var(--red); }
.area-links a[aria-current="page"] .i { color: #ff8a8f; }

/* ───────── FAQ ───────── */
.faq-list { display: grid; gap: 10px; max-width: 860px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font: 600 18px/1.35 var(--display); position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-answer { padding: 0 22px 22px; color: var(--dim); max-width: 70ch; }
.faq-answer a { color: var(--ink); font-weight: 600; }

/* ───────── CTA band ───────── */
.cta-band { background: var(--ink); color: #fff; border-radius: 14px; padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 24px 40px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(255,255,255,.04); }
.cta-band h2 { font-size: clamp(28px, 3.6vw, 42px); }
.cta-band p { color: rgba(255,255,255,.75); margin-top: 10px; max-width: 52ch; }
.cta-phone { display: grid; gap: 10px; justify-items: start; position: relative; z-index: 1; }
.cta-phone .num { font: 700 clamp(28px, 3.4vw, 40px)/1 var(--display); letter-spacing: -.01em; text-decoration: none; color: #fff; }
@media (max-width: 760px) { .cta-band { grid-template-columns: minmax(0, 1fr); } .cta-phone .btn { width: 100%; } }

/* ───────── Inner page hero ───────── */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--dim); list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--stone-2); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-hero { padding-block: 24px clamp(48px, 6vw, 72px); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.page-hero-copy { display: grid; gap: 18px; }
.page-hero h1 { font-size: clamp(36px, 5vw, 60px); letter-spacing: -.03em; }
.page-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.mini-trust { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; color: var(--dim); list-style: none; }
.mini-trust li { display: inline-flex; align-items: center; gap: 6px; }
.mini-trust .i { color: var(--red); }
.page-hero-photo { border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3.2; background: var(--stone); }
.page-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: minmax(0, 1fr); } .page-hero-photo { order: -1; aspect-ratio: 16 / 10; } }

/* ───────── Prose + aside ───────── */
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 5vw, 64px); align-items: start; }
.prose { display: grid; gap: 18px; max-width: 70ch; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); margin-top: 18px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 21px; margin-top: 6px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 0; list-style: none; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 30px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 16px; height: 9px; border-left: 2.5px solid var(--red); border-bottom: 2.5px solid var(--red); transform: rotate(-45deg); }
.prose a { color: var(--ink); font-weight: 600; text-decoration-color: var(--red); text-underline-offset: 3px; }
.prose .fix { padding: 20px; }
.prose .fix::before { display: none; }
.prose .fix-list { gap: 14px; }
.callout {background: var(--stone); border-radius: var(--radius-sm); padding: 20px 22px; display: grid; gap: 8px; border-left: 4px solid var(--red); }
.callout strong { font: 700 18px/1.3 var(--display); }
.aside-card { position: sticky; top: calc(var(--header-h) + 24px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 14px; }
.aside-card h2 { font-size: 24px; }
.aside-card p { color: var(--dim); font-size: 15px; }
.aside-card .phone-big { font: 700 30px/1 var(--display); text-decoration: none; letter-spacing: -.01em; }
.aside-card .btn { width: 100%; }
.aside-card ul { list-style: none; display: grid; gap: 8px; font-size: 15px; padding-top: 6px; border-top: 1px solid var(--line); }
.aside-card ul li { display: flex; gap: 8px; align-items: center; padding-top: 8px; }
.aside-card ul .i { color: var(--red); }
@media (max-width: 980px) { .content-grid { grid-template-columns: minmax(0, 1fr); } .aside-card { position: static; } }

.signs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; list-style: none; padding: 0 !important; }
.signs li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px !important; font-weight: 500; }
.signs li::before { display: none; }
@media (max-width: 560px) { .signs { grid-template-columns: minmax(0, 1fr); } }

.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.related a { text-decoration: none; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px; display: grid; gap: 6px; transition: border-color .15s; }
.related a:hover { border-color: var(--ink); }
.related strong { font: 700 19px/1.2 var(--display); }
.related span { color: var(--dim); font-size: 15px; }
@media (max-width: 760px) { .related { grid-template-columns: minmax(0, 1fr); } }

/* ───────── Footer ───────── */
.site-footer { background: var(--ink); color: rgba(255,255,255,.78); padding-block: 64px 32px; margin-top: clamp(56px, 8vw, 96px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand { display: grid; gap: 14px; align-content: start; }
.footer-brand img { width: 150px; background: #fff; border-radius: 12px; padding: 8px 10px; }
.footer-brand .num { font: 700 26px/1 var(--display); color: #fff; text-decoration: none; }
.footer-col h2 { font: 600 13px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 14px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { text-decoration: none; color: rgba(255,255,255,.85); font-size: 15px; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-base { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: rgba(255,255,255,.55); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }


/* ───────── Lightbox ───────── */
.lightbox { border: 0; padding: 0; margin: 0; width: 100%; height: 100%; max-width: none; max-height: none; background: rgba(14,14,16,.94); color: #fff; }
.lightbox::backdrop { background: rgba(14,14,16,.6); }
.lightbox[open] { display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; align-items: center; }
.lb-figure { margin: 0; display: grid; gap: 12px; justify-items: center; padding: 64px 0 24px; height: 100%; grid-template-rows: minmax(0, 1fr) auto; }
.lb-figure img { max-height: 100%; max-width: 100%; object-fit: contain; border-radius: 10px; }
.lb-figure figcaption { font-size: 15px; color: rgba(255,255,255,.75); font-variant-numeric: tabular-nums; }
.icon-btn { width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; cursor: pointer; }
.icon-btn:hover { background: rgba(255,255,255,.22); }
.icon-btn .i { width: 22px; height: 22px; }
.lb-close { position: absolute; top: calc(14px + env(safe-area-inset-top, 0px)); right: calc(14px + env(safe-area-inset-right, 0px)); }
.lb-prev, .lb-next { justify-self: center; }
@media (max-width: 640px) {
  .lightbox[open] { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; }
  .lb-figure { padding: 70px 8px 8px; }
  .lb-prev, .lb-next { position: absolute; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); }
  .lb-prev { left: 24px; } .lb-next { right: 24px; }
  .lb-figure figcaption { padding-bottom: 70px; }
}

/* ───────── 404 ───────── */
.not-found { padding-block: 96px; display: grid; gap: 18px; justify-items: start; }
.not-found h1 { font-size: clamp(40px, 6vw, 64px); }

/* ───────── Today's additions (kept from the SEO pass) ───────── */
a[href^="tel:"] { white-space: nowrap; }
.area-group + .area-group { margin-top: 24px; }
.area-group h3 { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); margin-bottom: 12px; }
.hero-title { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(38px, 6vw, 72px); line-height: 1; letter-spacing: -.03em; text-wrap: balance; }
h1.hero-eyebrow { letter-spacing: .04em; }

/* ───────── Depth: shadows on every surface, deeper on hover ───────── */
.trust, .service-card, .fix, .steps li, .review, .faq-item, .aside-card, .related a, .signs li, .area-links a, .rating-row { border-color: transparent; box-shadow: var(--shadow-1); }
.hero-frame, .page-hero-photo, .cta-band { box-shadow: var(--shadow-3); }
.photo { box-shadow: var(--shadow-1); transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.photo:hover { box-shadow: var(--shadow-2); transform: translateY(-3px); }
.photo img { transition: transform .8s var(--ease); }
.photo:hover img { transform: scale(1.04); }
.service-card, .fix, .steps li, .review, .related a, .area-links a, .faq-item { transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.service-card:hover, .fix:hover, .steps li:hover, .related a:hover, .area-links a:hover { box-shadow: var(--shadow-2); transform: translateY(-4px); }
.service-card .ph img { transition: transform .8s var(--ease); }
.service-card:hover .ph img { transform: scale(1.05); }
.btn { box-shadow: var(--shadow-1); transition: background .15s, color .15s, border-color .15s, transform .2s var(--ease), box-shadow .2s var(--ease); }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-2); }
.btn:active { transform: translateY(1px); box-shadow: var(--shadow-1); }
.btn--outline { box-shadow: none; }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line), var(--shadow-2); }

/* ───────── Reviews: one horizontal strip that rolls, paused on hover or focus ───────── */
.reviews.is-rolling { columns: auto; display: block; overflow: hidden; padding-block: 12px 20px; margin-inline: calc(var(--gutter) * -1); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.roll { display: flex; gap: 18px; width: max-content; padding-inline: var(--gutter); animation: roll var(--roll-dur, 70s) linear infinite; }
.roll .review { width: 380px; margin: 0; flex: none; align-content: start; }
.roll .review blockquote { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
#reviews:hover .roll, #reviews:focus-within .roll { animation-play-state: paused; }
.reviews .review { cursor: pointer; }
.reviews .review:hover { box-shadow: var(--shadow-2); transform: translateY(-3px); }
.review-box { border: 0; padding: 0; background: transparent; width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 48px); overflow: visible; overscroll-behavior: contain; }
.review-box::backdrop { background: rgba(20,22,25,.55); backdrop-filter: blur(4px); }
.review-box[open] { animation: reviewIn .35s var(--ease); }
@keyframes reviewIn { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
.review-full .review { box-shadow: var(--shadow-3); max-height: calc(100dvh - 48px); overflow-y: auto; padding: 32px 28px 26px; }
.review-close { position: absolute; top: -18px; right: -18px; z-index: 1; background: var(--ink); box-shadow: var(--shadow-2); }
.review-close:hover { background: var(--red); }
@media (max-width: 640px) { .review-close { top: -14px; right: -6px; } }
@media (prefers-reduced-motion: reduce) { .review-box[open] { animation: none; } }
@keyframes roll { to { transform: translateX(calc(-50% - 9px)); } }
@media (max-width: 640px) { .roll .review { width: 300px; } }

/* ───────── Motion: hero intro and scroll reveals (only with JS) ───────── */
.js .hero-frame > img { opacity: 0; transform: scale(1.08); transition: opacity 1.2s var(--ease), transform 2.2s var(--ease); }
.js.is-loaded .hero-frame > img { opacity: 1; transform: scale(1); }
.js .hero-copy > *, .js .rating-badge { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js.is-loaded .hero-copy > *, .js.is-loaded .rating-badge { opacity: 1; transform: none; }
.js.is-loaded .hero-copy > :nth-child(1) { transition-delay: .35s; }
.js.is-loaded .hero-copy > :nth-child(2) { transition-delay: .5s; }
.js.is-loaded .hero-copy > :nth-child(3) { transition-delay: .65s; }
.js.is-loaded .hero-copy > :nth-child(4) { transition-delay: .8s; }
.js.is-loaded .rating-badge { transition-delay: 1s; }
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .hero-frame > img, .js .hero-copy > *, .js .rating-badge, .js .rv { opacity: 1 !important; transform: none !important; transition: none !important; }
  .roll { animation: none; }
  .reviews.is-rolling { overflow-x: auto; }
}

/* ───────── The original site's floating header and hero, kept by request ───────── */
:root { --title: "Bricolage Grotesque", var(--display); --shadow-red: 0 2px 6px -1px rgba(196,30,40,.35), 0 12px 28px -8px rgba(196,30,40,.5); }
.site-header { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 14px var(--gutter) 0; pointer-events: none; box-shadow: none !important; }
.header-bar { pointer-events: auto; max-width: 1176px; margin: 0 auto; height: 68px; display: flex; align-items: center; gap: 24px; padding: 0 11px 0 18px; background: rgba(255,255,255,.82); backdrop-filter: saturate(1.8) blur(18px); -webkit-backdrop-filter: saturate(1.8) blur(18px); border: 1px solid rgba(228,230,235,.9); border-radius: 999px; box-shadow: var(--shadow-1); transition: box-shadow .3s, background-color .3s; }
.site-header.is-scrolled .header-bar { box-shadow: var(--shadow-3); background: rgba(255,255,255,.94); }
.brand img { height: 46px; width: auto; }
.nav { display: flex; gap: 4px; margin: 0 auto; }
.nav a { padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--ink-2); text-decoration: none; transition: background-color .2s, color .2s, box-shadow .2s; }
.nav a:hover { background: var(--stone); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.header-call, .site-header .btn--red { border-radius: 999px; box-shadow: var(--shadow-red); }
.mobile-nav { pointer-events: auto; max-width: 1176px; margin: 10px auto 0; background: #fff; border-radius: 18px; box-shadow: var(--shadow-3); }

.hero { padding-top: clamp(28px, 5vw, 64px); background: radial-gradient(ellipse 70% 45% at 50% 0%, rgba(196,30,40,.07), transparent 70%), var(--paper); }
.hero-intro { text-align: center; display: flex; flex-direction: column; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 12px; background: #fff; color: var(--red-dark); border: 1px solid #f6d5d3; border-radius: 999px; box-shadow: var(--shadow-1); font-size: .85rem; font-weight: 700; letter-spacing: .02em; }
.pill .i { width: 16px; height: 16px; color: var(--red); }
.hero .hero-title { font-family: var(--title); font-weight: 800; font-size: clamp(2.7rem, 8vw, 6.8rem); line-height: .98; letter-spacing: -.045em; margin: 20px 0 30px; max-width: 13ch; text-wrap: balance; color: var(--ink); }
.hero .hero-title span { color: var(--red); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero-actions .btn { min-height: 56px; padding: 0 28px; border-radius: 999px; font-weight: 700; }
.hero-actions .btn--red { box-shadow: var(--shadow-red); }
.btn--light { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.hero-photo { position: relative; margin-top: clamp(36px, 6vw, 64px); border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 8; background: var(--stone); box-shadow: 0 8px 16px rgba(16,24,40,.06), 0 40px 80px -24px rgba(16,24,40,.32); isolation: isolate; }
.hero-photo > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(0,0,0,.22), transparent 35%); }
.float-card { position: absolute; z-index: 1; bottom: clamp(14px, 2.4vw, 28px); background: rgba(255,255,255,.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.7); border-radius: 10px; box-shadow: var(--shadow-3); padding: 16px 22px; }
.float-card--stat { left: clamp(14px, 2.4vw, 28px); }
.float-card--estimate { right: clamp(14px, 2.4vw, 28px); display: flex; align-items: center; gap: 14px; }
.stat-num { font-family: var(--title); font-weight: 800; font-size: 2.6rem; line-height: 1; letter-spacing: -.04em; color: var(--ink); }
.stat-num span { color: var(--red); }
.stat-label { font-size: .82rem; font-weight: 600; color: var(--dim); margin-top: 4px; }
.estimate-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: #fff; flex-shrink: 0; box-shadow: var(--shadow-red); }
.estimate-text { display: flex; flex-direction: column; line-height: 1.3; }
.estimate-text strong { font-family: var(--title); font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; color: var(--ink); }
.estimate-text span { font-size: .85rem; color: var(--dim); font-weight: 500; }
.chip .count { display: none; }
.footer-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
@media (max-width: 980px) { .site-header .nav, .site-header .header-call { display: none; } .header-bar { padding: 0 8px 0 14px; } }
@media (max-width: 640px) { .hero-photo { aspect-ratio: 4 / 3.4; } .float-card { padding: 12px 14px; } .stat-num { font-size: 2rem; } .float-card--estimate { display: none; } }

/* Intro motion for the old hero */
.js .hero-intro > *, .js .hero-photo, .js .float-card { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .hero-photo { transform: translateY(30px) scale(.97); transition-duration: 1.2s; }
.js.is-loaded .hero-intro > *, .js.is-loaded .hero-photo, .js.is-loaded .float-card { opacity: 1; transform: none; }
.js.is-loaded .hero-intro > :nth-child(2) { transition-delay: .08s; }
.js.is-loaded .hero-intro > :nth-child(3) { transition-delay: .16s; }
.js.is-loaded .hero-photo { transition-delay: .25s; }
.js.is-loaded .float-card--stat { transition-delay: .9s; }
.js.is-loaded .float-card--estimate { transition-delay: 1.05s; }
@media (prefers-reduced-motion: reduce) { .js .hero-intro > *, .js .hero-photo, .js .float-card { opacity: 1 !important; transform: none !important; transition: none !important; } }
