/* JR Concrete & Design - site styles */
:root {
  --ivory: #F3EFE6;
  --ivory-alt: #EDEAE3;
  --card: #FBF8F2;
  --charcoal: #201F1D;
  --charcoal-deep: #171614;
  --charcoal-card: #2B2926;
  --concrete: #D8D3C8;
  --concrete-2: #A9A399;
  --line: #E2DDD1;
  --muted: #46433E;
  --muted-dark: #C7C2B6;
  --muted-dark-2: #A9A399;
  --muted-dark-3: #8A8579;
  --fine-dark: #6B665E;
  --ink: var(--charcoal);
  --accent: #C4501F;
  --accent-dark: #9C3D18;
  /* Slightly deeper orange for small text and for buttons with light text on them: passes
     the 4.5:1 readability contrast standard on every background here (the brighter
     --accent stays for icons, the logo and the large orange band). */
  --accent-ink: #B4471B;
  --ok: #1c7a3f;
  --err: #b3261e;
  --r: 8px;
  --shadow: 0 14px 34px rgba(23, 22, 20, .16);
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { font-family: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--charcoal); background: var(--ivory); line-height: 1.65; -webkit-font-smoothing: antialiased; font-size: 1.02rem; }
h1, h2, h3, h4, .jr-display { font-family: 'Archivo', 'Arial Narrow', sans-serif; line-height: 1.1; font-weight: 900; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { color: var(--accent-dark); }
img, svg { max-width: 100%; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; top: 8px; background: #fff; padding: 10px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
svg.ic { flex: none; stroke: var(--accent); fill: none; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 15px 26px; border-radius: 4px; font-weight: 700; font-size: 1rem; border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: background .15s, color .15s, border-color .15s, transform .1s; font-family: inherit; line-height: 1.2; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent-ink); color: #FBF8F2; }
.btn-primary:hover { background: var(--accent-dark); color: #FBF8F2; }
.btn-outline { border-color: var(--charcoal); color: var(--charcoal); background: transparent; }
.btn-outline:hover { background: var(--charcoal); color: #fff; }
.btn-outline.light { border-color: #fff; color: #fff; }
.btn-outline.light:hover { background: #fff; color: var(--charcoal); }
.btn-sm { padding: 11px 18px; font-size: .95rem; }
.btn-lg { padding: 17px 30px; font-size: 1.08rem; }
.btn svg.ic { stroke: currentColor; width: 18px; height: 18px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--charcoal); }
.nav { display: grid; grid-template-columns: auto 1fr auto; align-items: center; height: 72px; gap: 28px; }
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; justify-self: start; }
.logo { font-family: 'Archivo', sans-serif; font-weight: 900; font-size: 1.35rem; letter-spacing: .01em; text-transform: uppercase; text-decoration: none; white-space: nowrap; color: #FBF8F2; line-height: 1; flex: none; }
.logo:hover { color: #FBF8F2; }
.logo span { color: var(--accent); }
.nav nav { display: flex; align-items: center; gap: 22px; justify-self: end; }
.nav nav a { text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--ivory-alt); white-space: nowrap; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav nav a:hover, .nav nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 16px; justify-self: end; }
.nav-phone { font-weight: 700; text-decoration: none; white-space: nowrap; display: inline-flex; gap: 8px; align-items: center; color: #FBF8F2; font-size: .95rem; }
.nav-phone svg.ic { width: 17px; height: 17px; }
.menu-btn { display: none; background: none; border: 1px solid var(--muted-dark-3); color: #FBF8F2; border-radius: 4px; padding: 9px 14px; font: inherit; font-weight: 600; cursor: pointer; }
.nav-simple { display: flex; justify-content: space-between; }

/* Services dropdown */
.nav-drop { position: relative; }
.nav-drop-label { display: flex; align-items: center; gap: 3px; }
.nav-drop-toggle { display: inline-flex; align-items: center; justify-content: center; background: none; border: none; color: var(--ivory-alt); padding: 6px 2px; margin: 0; cursor: pointer; }
.nav-drop-toggle svg.ic { width: 13px; height: 13px; stroke: currentColor; stroke-width: 2.4; transition: transform .15s ease; }
.nav-drop:hover .nav-drop-toggle svg.ic, .nav-drop.open .nav-drop-toggle svg.ic, .nav-drop:focus-within .nav-drop-toggle svg.ic { transform: rotate(180deg); }
.nav-drop-panel { position: absolute; top: 100%; left: -14px; margin-top: 0; background: var(--charcoal-card); border: 1px solid rgba(255,255,255,.14); border-radius: 10px; padding: 8px; min-width: 240px; box-shadow: 0 18px 36px rgba(0,0,0,.35); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s ease, transform .15s ease, visibility .15s; z-index: 40; }
.nav-drop-panel::before { content: ''; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.nav-drop-panel { margin-top: 0; }
.nav-drop:hover .nav-drop-panel, .nav-drop:focus-within .nav-drop-panel, .nav-drop.open .nav-drop-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.nav .nav-drop-panel a { display: block; padding: 10px 12px; border-radius: 6px; font-weight: 500; font-size: .9rem; white-space: normal; border-bottom: none; }
.nav-drop-panel a:hover, .nav-drop-panel a:focus-visible { background: rgba(255,255,255,.08); color: #fff; }
.nav-drop-panel .all-link { margin-top: 6px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.14) !important; color: #ff9457; font-weight: 700; }

/* Lead-form CTA band (top of homepage) */
.lead-cta { background: var(--charcoal); padding: 64px 0; }
.lead-cta .grid { display: grid; grid-template-columns: 5fr 7fr; gap: 44px; align-items: start; }
.lead-cta h2 { color: #FBF8F2; font-size: clamp(1.7rem, 3.4vw, 2.2rem); margin-bottom: 16px; }
.lead-cta > .grid > div:first-child > p { color: var(--muted-dark); font-size: 1.02rem; line-height: 1.6; margin-bottom: 20px; }
.lead-cta .checks { margin-bottom: 22px; }
.lead-cta .checks li { color: var(--ivory-alt); }
.lead-cta .call-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; color: #FBF8F2; }
.lead-cta .call-link svg.ic { width: 20px; height: 20px; }
/* .hero-cta is normally used on light backgrounds (dark link text); when it's reused
   inside the dark .lead-cta band, its call link needs to go back to light text. */
.lead-cta .hero-cta .call-link, .lead-cta .hero-cta .call-link svg.ic { color: #FBF8F2; stroke: #FBF8F2; }

/* Checklists with stroke icons */
.checks { list-style: none; padding: 0; display: grid; gap: 10px; font-weight: 600; font-size: .95rem; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks li svg.ic { width: 18px; height: 18px; margin-top: 2px; }

/* Hero */
.hero { padding: 68px 0 76px; background: var(--ivory); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 8px; color: var(--accent-dark); font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.eyebrow svg.ic { width: 15px; height: 15px; }
.eyebrow.light { color: #ff9457; }
.eyebrow.light svg.ic { stroke: #ff9457; }
.lead-cta h1 { color: #FBF8F2; font-size: clamp(2.3rem, 4.6vw, 3.2rem); margin-bottom: 18px; }
.lead-cta .lead { color: var(--muted-dark); font-size: 1.05rem; line-height: 1.6; margin-bottom: 4px; }
/* Homepage hero: phones get a one-line lead and an estimate button (the form sits right
   beside the copy on desktop, so neither is needed there). */
.lead-short, .hero-quote-btn { display: none; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 3.4rem); margin-bottom: 20px; color: var(--charcoal); }
.hero .lead { font-size: 1.13rem; color: var(--muted); max-width: 34em; margin-bottom: 26px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 8px; margin-bottom: 0; }
.hero-cta .call-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1rem; color: var(--charcoal); }
.hero-cta .call-link svg.ic { width: 19px; height: 19px; stroke: var(--charcoal); }
.hero-sub { padding: 44px 0 52px; background: var(--charcoal); }
.hero-sub h1 { font-size: clamp(2.1rem, 4.4vw, 3rem); color: #FBF8F2; }
.hero-sub .lead { color: var(--muted-dark); }
.crumbs { font-size: .86rem; color: var(--muted-dark-2); margin-bottom: 16px; }
.crumbs a { color: var(--muted-dark); text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 3px; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs span[aria-hidden] { margin: 0 7px; opacity: .6; }
.answer { background: var(--charcoal-card); border-left: 4px solid var(--accent); border-radius: 0 var(--r) var(--r) 0; padding: 18px 22px; margin: 4px 0 24px; color: var(--ivory-alt); max-width: 46em; }
.answer strong { color: #fff; }

/* Hero visual panel (used until real photos are added) */
.hero-visual { position: relative; width: 100%; aspect-ratio: 6 / 5; border-radius: var(--r); overflow: hidden; background:
    repeating-linear-gradient(135deg, rgba(32,31,29,.05) 0 2px, transparent 2px 26px),
    linear-gradient(160deg, var(--concrete) 0%, #c7c1b3 100%);
  border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-visual .mark { width: 84px; height: 84px; border-radius: 50%; background: rgba(32,31,29,.9); display: flex; align-items: center; justify-content: center; }
.hero-visual .mark svg.ic { width: 40px; height: 40px; stroke: var(--accent); }

/* Photo carousel (replaces a checklist where a page wants pictures instead) */
.carousel { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10; margin: 22px 0 26px; }
.carousel-track { display: flex; height: 100%; transition: transform .45s ease; }
.carousel-slide { flex: 0 0 100%; height: 100%; position: relative; display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(135deg, rgba(32,31,29,.05) 0 2px, transparent 2px 26px), linear-gradient(160deg, var(--concrete) 0%, #c7c1b3 100%); }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carousel-slide .mark { width: 72px; height: 72px; border-radius: 50%; background: rgba(32,31,29,.9); display: flex; align-items: center; justify-content: center; }
.carousel-slide .mark svg.ic { width: 34px; height: 34px; stroke: var(--accent); }
.carousel-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 18px 14px; background: linear-gradient(0deg, rgba(0,0,0,.6), transparent); color: #fff; font-weight: 700; font-size: .92rem; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; border: none; background: rgba(32,31,29,.55); color: #fff; font-size: 1.2rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.carousel-btn:hover { background: rgba(32,31,29,.85); }
.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }
/* Each dot is a 24px tap target (big enough for a thumb) drawn as a small 8px dot. */
.carousel-dots { position: absolute; bottom: 2px; left: 0; right: 0; display: flex; justify-content: center; gap: 0; }
.carousel-dots .dot { width: 24px; height: 24px; border: none; background: transparent; padding: 0; cursor: pointer; position: relative; }
.carousel-dots .dot::before { content: ''; position: absolute; inset: 8px; border-radius: 50%; background: rgba(255,255,255,.45); }
.carousel-dots .dot.is-active::before { background: #fff; }

/* Form card */
.card { background: var(--card); color: var(--charcoal); border-radius: 10px; padding: 30px; box-shadow: var(--shadow); }
.lead-cta .card { box-shadow: none; }
.card h2 { font-size: 1.7rem; margin-bottom: 4px; color: var(--charcoal); }
.card .sub { color: var(--muted); font-size: .95rem; margin-bottom: 20px; }
.field { margin-bottom: 15px; }
label { display: block; font-size: .82rem; font-weight: 700; margin-bottom: 6px; color: var(--charcoal); }
label .opt { font-weight: 400; color: var(--muted); }
/* 16px minimum: iPhone Safari zooms the page in on any field with smaller text */
input, select, textarea { width: 100%; padding: 13px 14px; font: inherit; font-size: 16px; color: var(--charcoal); background: #fff; border: 1px solid var(--concrete); border-radius: 5px; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(196,80,31,.25); border-color: var(--accent); }
textarea { resize: vertical; min-height: 80px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.card .btn { width: 100%; margin-top: 6px; padding: 16px; }
.fineprint { font-size: .8rem; color: var(--fine-dark); margin-top: 12px; text-align: center; }
.status { margin-top: 12px; font-weight: 600; text-align: center; }
.status.ok { color: var(--ok); }
.status.err { color: var(--err); }
.field-err { color: var(--err); font-size: .85rem; font-weight: 600; margin-top: 6px; line-height: 1.4; }
[aria-invalid="true"] { border-color: var(--err); }
.hp { position: absolute; left: -9999px; }

/* Photo upload on the estimate forms */
.lbl { display: block; font-size: .82rem; font-weight: 700; margin-bottom: 6px; color: var(--charcoal); }
.lbl .opt { font-weight: 400; color: var(--muted); }
.photo-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; padding: 0; border: 0; }
.photo-drop { display: flex; align-items: center; gap: 14px; margin: 0; padding: 14px 16px; border: 1.5px dashed var(--concrete-2); border-radius: 8px; background: #fff; cursor: pointer; font-weight: 400; }
.photo-drop:hover { border-color: var(--accent); }
.photo-input:focus-visible + .photo-drop { outline: 3px solid rgba(196,80,31,.35); border-color: var(--accent); }
.photo-drop svg.ic { width: 28px; height: 28px; stroke-width: 1.8; }
.photo-drop strong { display: block; font-size: .95rem; color: var(--charcoal); }
.photo-drop small { display: block; font-size: .8rem; color: var(--muted); font-weight: 400; line-height: 1.4; }
.photo-list { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; }
.photo-list:empty { display: none; }
.photo-list li { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; font-size: .85rem; }
.photo-list img { width: 40px; height: 40px; object-fit: cover; border-radius: 5px; flex: none; }
.photo-list span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.photo-list button { border: none; background: none; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--muted); padding: 2px 8px; }
.photo-list button:hover { color: var(--err); }

/* Badge ribbon: big icon badge + two-line label. Three looks, picked with `trustStyle`
   in content.mjs: .orange (default), .badges, .float */
.trust ul { list-style: none; padding: 26px 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 24px; }
.trust li { display: flex; gap: 14px; align-items: center; min-width: 0; }
.t-ic { flex: none; width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.t-ic svg.ic { width: 26px; height: 26px; stroke-width: 2.1; }
.t-txt { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.t-big { font-family: 'Archivo', 'Arial Narrow', sans-serif; font-weight: 900; font-size: 1.08rem; }
.t-sub { font-size: .82rem; font-weight: 600; margin-top: 2px; }

.trust.orange { background: var(--accent); }
.trust.orange li { color: #fff; }
.trust.orange .t-ic { background: #fff; }
.trust.orange .t-ic svg.ic { stroke: var(--accent); }
.trust.orange .t-sub { color: #fff; }

.trust.badges { background: var(--charcoal); border-bottom: 1px solid var(--charcoal-card); }
.trust.badges ul { padding: 24px 0; gap: 16px; }
.trust.badges li { background: var(--charcoal-card); border: 1px solid rgba(255,255,255,.12); border-top: 3px solid var(--accent); border-radius: 10px; padding: 14px 16px; color: #fff; }
.trust.badges .t-ic { background: var(--accent); }
.trust.badges .t-ic svg.ic { stroke: #fff; }
.trust.badges .t-sub { color: var(--muted-dark); }

.trust.float { background: transparent; margin-top: -50px; position: relative; z-index: 3; }
/* leave room above the floating card so it never covers the text of the section above it */
.lead-cta:has(+ .trust.float), .hero:has(+ .trust.float), .hero-sub:has(+ .trust.float) { padding-bottom: 110px; }
.trust.float ul { background: var(--card); border-radius: 14px; border-top: 4px solid var(--accent); box-shadow: 0 18px 40px rgba(23,22,20,.28); padding: 22px 28px; }
.trust.float li { color: var(--charcoal); }
.trust.float .t-ic { background: var(--accent); }
.trust.float .t-ic svg.ic { stroke: #fff; }
.trust.float .t-sub { color: var(--muted); }

/* Sections */
section { padding: 80px 0; }
.alt { background: var(--ivory-alt); }
.dark { background: var(--charcoal); color: #fff; }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-eyebrow { color: var(--accent-dark); font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.dark .section-eyebrow { color: #ff9457; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.7rem); margin-bottom: 12px; color: var(--charcoal); }
.dark .section-head h2 { color: #fff; }
.section-head p { color: var(--muted); }
.dark .section-head p { color: var(--muted-dark); }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-top-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.section-top-row .link-more { font-weight: 700; font-size: .95rem; white-space: nowrap; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tile { display: flex; flex-direction: column; gap: 14px; border-radius: var(--r); padding: 30px; background: var(--card); border: 1px solid var(--line); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
a.tile:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.tile svg.ic { width: 32px; height: 32px; stroke-width: 1.8; }
.tile h3 { font-size: 1.4rem; color: var(--charcoal); }
.tile p { color: var(--muted); font-size: .95rem; flex: 1; }
.tile .more { color: var(--accent-ink); font-weight: 700; font-size: .93rem; }
.tile.plain { gap: 10px; }
.tile.plain h3 { font-size: 1.2rem; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.steps.three { grid-template-columns: repeat(3, 1fr); }
.step { display: flex; flex-direction: column; gap: 12px; }
.step .num { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #FBF8F2; display: flex; align-items: center; justify-content: center; font-family: 'Archivo', sans-serif; font-weight: 900; font-size: 1.1rem; }
.step h3 { font-size: 1.15rem; font-weight: 700; color: var(--charcoal); }
.dark .step h3 { color: #fff; }
.step p { color: var(--muted); font-size: .93rem; line-height: 1.5; }
.dark .step p { color: var(--muted-dark); }

.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 12px; justify-content: flex-start; }
.chips li { display: inline-flex; align-items: center; justify-content: center; text-align: center; border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 9px 18px; margin: 0; font-weight: 600; font-size: .93rem; line-height: 1.3; white-space: nowrap; }
.dark .chips li { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); color: var(--ivory-alt); }
.chips li.feat { border-color: var(--accent); color: var(--accent-dark); }
.dark .chips li.feat { border-color: #ff9457; color: #ff9457; background: rgba(196,80,31,.14); }
.region { margin-bottom: 28px; }
.region h3 { font-size: 1.3rem; margin: 0 0 12px; color: var(--charcoal); }
.dark .region h3 { color: #fff; }
.prose .region h3 { margin-top: 0; }
.prose .chips { margin: 0; }
.prose .chips li { padding: 9px 18px; margin-bottom: 0; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gallery-item { display: flex; flex-direction: column; gap: 10px; }
.gallery-item .photo { width: 100%; aspect-ratio: 4 / 3; border-radius: 6px; object-fit: cover; background: var(--concrete); display: block; }
.gallery-item .cap { font-weight: 700; font-size: .92rem; color: var(--charcoal); }

/* Testimonials */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card { background: var(--charcoal-card); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.review-card .stars { display: flex; gap: 4px; }
.review-card .stars svg { width: 16px; height: 16px; fill: var(--accent); }
.review-card p { color: var(--ivory-alt); font-size: .96rem; line-height: 1.6; margin: 0; }
.review-card .who { color: var(--muted-dark-2); font-size: .85rem; font-weight: 700; }

/* Table (kept for any future tabular content) */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .96rem; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--charcoal); color: #fff; font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 1rem; }
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 700; }
.note { font-size: .88rem; color: var(--muted); margin-top: 12px; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; color: var(--charcoal); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--accent); line-height: 1; flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq .a { padding: 0 22px 20px; color: var(--muted); }
.faq .a p + p { margin-top: 10px; }
.faq-group { margin-bottom: 44px; }
.faq-group h2 { font-size: 1.7rem; margin-bottom: 16px; color: var(--charcoal); }

/* Content pages */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: start; }
.prose h2 { font-size: clamp(1.7rem, 3.2vw, 2.2rem); margin: 44px 0 14px; color: var(--charcoal); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.3rem; margin: 26px 0 8px; color: var(--charcoal); }
.prose p { margin-bottom: 14px; color: var(--muted); }
.prose ul, .prose ol { margin: 0 0 16px 1.2em; padding: 0; color: var(--muted); }
.prose li { margin-bottom: 8px; padding-left: 4px; }
.prose a { font-weight: 600; }
.prose .table-wrap { margin: 18px 0 8px; }
.callout { background: var(--ivory-alt); border-left: 4px solid var(--accent); border-radius: 0 var(--r) var(--r) 0; padding: 18px 22px; margin: 20px 0; }
.callout p:last-child { margin-bottom: 0; }
.updated { font-size: .88rem; color: var(--muted); margin-bottom: 22px; }
.aside { position: sticky; top: 92px; }
.aside .card h2 { font-size: 1.5rem; }
.call-box { margin-top: 16px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); text-align: center; }
.call-box a { font-family: 'Archivo', sans-serif; font-size: 1.5rem; font-weight: 900; text-decoration: none; }

/* CTA band */
.cta-band { background: var(--charcoal); color: #fff; text-align: center; }
.cta-band h2 { font-size: clamp(2rem, 4.2vw, 2.8rem); margin-bottom: 10px; color: #fff; }
.cta-band p { color: var(--muted-dark); margin: 0 auto 26px; max-width: 34em; }
.cta-band .hero-cta { justify-content: center; margin: 0; }

/* Thank you */
.thanks { text-align: center; max-width: 660px; margin: 0 auto; }
.thanks h1 { font-size: clamp(2.2rem, 4.6vw, 3.2rem); margin-bottom: 14px; color: var(--charcoal); }
.thanks .steps { text-align: left; margin-top: 36px; }

/* Footer */
footer { background: var(--charcoal-deep); color: var(--muted-dark-3); padding: 56px 0 28px; font-size: .94rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
footer h3 { color: #FBF8F2; font-size: 1rem; letter-spacing: .02em; margin-bottom: 14px; font-family: 'Public Sans', sans-serif; font-weight: 700; }
footer ul { list-style: none; padding: 0; display: grid; gap: 8px; }
footer a { text-decoration: none; color: var(--muted-dark-3); }
footer a:hover { color: #fff; }
footer .logo { color: #FBF8F2; display: inline-block; margin-bottom: 12px; font-size: 1.15rem; }
footer p { margin-bottom: 8px; color: var(--muted-dark-3); line-height: 1.6; }
.foot-bottom { border-top: 1px solid var(--charcoal-card); padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .84rem; color: var(--muted-dark-2); }
.foot-bottom a { color: var(--muted-dark-2); }
.foot-bottom a:hover { color: #fff; }

/* Mobile call bar */
.callbar { display: none; }

.hero-grid > *, .layout > *, .grid-2 > *, .grid-3 > *, .grid-4 > *, .steps > *, .lead-cta .grid > * { min-width: 0; }
html, body { overflow-x: clip; }

/* The header nav collapses to the hamburger menu earlier than the rest of the page
   layout, since six nav links plus the logo need more room than a typical tablet or
   narrow laptop window gives them. */
@media (max-width: 1150px) {
  .menu-btn { display: inline-block; }
  .nav-phone { display: none; }
  .nav-simple .nav-phone { display: inline-flex; }
  .nav nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--charcoal); flex-direction: column; gap: 0; padding: 8px 20px 16px; border-bottom: 1px solid var(--charcoal-card); box-shadow: 0 12px 20px rgba(0,0,0,.25); }
  .nav nav.open { display: flex; }
  .nav nav a { padding: 14px 0; border-bottom: 1px solid var(--charcoal-card); font-size: 1rem; }
  .nav-actions .btn { display: none; }
  .nav-drop-label { justify-content: space-between; }
  .nav-drop-label a { border-bottom: none; flex: 1; }
  .nav-drop-toggle { padding: 14px 6px; }
  .nav-drop-panel { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; background: transparent; padding: 0 0 4px 16px; margin: 0; min-width: 0; display: none; }
  .nav-drop.open .nav-drop-panel { display: block; }
  .nav .nav-drop-panel a { padding: 12px 0; border-bottom: 1px solid var(--charcoal-card) !important; }
  .nav-drop-panel a:last-child { border-bottom: none !important; }
}
@media (max-width: 980px) {
  .layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .aside { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .lead-cta .grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero-quote-btn { display: inline-flex; }
}
/* Phones: get a real photo onto the first screen. Smaller headline, one-line eyebrow and
   lead, and the carousel moved up directly under the headline. */
@media (max-width: 600px) {
  .lead-cta { padding: 28px 0 40px; }
  .lead-cta h1 { font-size: 1.75rem; margin-bottom: 14px; }
  /* needs to beat `.lead-cta > .grid > div:first-child > p`, which styles every paragraph here */
  .lead-cta .grid .hero-copy .eyebrow { font-size: .72rem; letter-spacing: .04em; line-height: 1.3; margin-bottom: 10px; }
  .hero-copy { display: flex; flex-direction: column; }
  .hero-copy .eyebrow { order: 0; }
  .hero-copy h1 { order: 1; }
  .hero-copy .carousel { order: 2; margin: 0 0 16px; }
  .hero-copy .lead { order: 3; margin-bottom: 14px; }
  .hero-copy .hero-cta { order: 4; }
  .lead-long { display: none; }
  .lead-short { display: inline; }
}
@media (max-width: 860px) {
  .hero { padding: 44px 0 48px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .hero-visual { max-width: 420px; margin: 0 auto; }
  .grid-3, .grid-2, .grid-4, .steps, .steps.three, .gallery-grid, .reviews-grid { grid-template-columns: minmax(0, 1fr); }
  .trust ul { grid-template-columns: 1fr 1fr; }
  section { padding: 60px 0; }
  .callbar { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; background: var(--card); border-top: 1px solid var(--line); padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); gap: 10px; box-shadow: 0 -6px 18px rgba(0,0,0,.12); }
  .callbar .btn { flex: 1; padding: 13px 10px; }
  body { padding-bottom: 76px; }
}
@media (max-width: 480px) {
  .logo { font-size: 1.1rem; }
  .nav { gap: 12px; }
  .menu-btn { padding: 8px 12px; }
  .t-ic { width: 42px; height: 42px; }
  .t-ic svg.ic { width: 22px; height: 22px; }
  .trust ul { padding: 20px 0; }
  .row { grid-template-columns: 1fr; }
  .trust ul { grid-template-columns: 1fr; gap: 12px; }
  .foot-grid { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .hero-cta .btn { width: 100%; }
}
@media (max-width: 380px) {
  .logo { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ---------- Ad landing page (/free-quote/) ---------- */
.np-short { display: none; }
.lp-hero { padding: 48px 0 60px; }
.lp-hero .hero-grid { align-items: start; }
.lp-hero h1 { font-size: clamp(2.2rem, 4.2vw, 3.1rem); }
.lp-hero .lead { margin-bottom: 20px; }
.lp-hero-photo { margin: 26px 0 0; border-radius: var(--r); overflow: hidden; position: relative; aspect-ratio: 16 / 10; background: var(--concrete); }
.lp-hero-photo picture { display: block; height: 100%; }
.lp-hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-hero-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 12px; background: linear-gradient(0deg, rgba(0,0,0,.6), transparent); color: #fff; font-weight: 700; font-size: .9rem; }

.lp-card { padding: 26px 28px 22px; }
.lp-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.lp-q { font-family: 'Archivo', 'Arial Narrow', sans-serif; font-weight: 900; font-size: 1.45rem; line-height: 1.15; color: var(--charcoal); margin-bottom: 14px; padding: 0; }
.lp-progress { display: none; align-items: center; gap: 12px; margin-bottom: 14px; font-size: .8rem; font-weight: 700; color: var(--muted); }
.lp-bar { flex: 1; height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.lp-bar i { display: block; height: 100%; width: 50%; background: var(--accent); transition: width .25s; }
.lp-form[data-step-now="2"] .lp-bar i { width: 100%; }
.lp-form.is-stepped .lp-progress { display: flex; }
.lp-form.is-stepped .lp-step { display: none; }
.lp-form.is-stepped .lp-step.is-active { display: block; }
.lp-form .lp-next { display: none; }
.lp-form.is-stepped .lp-next { display: flex; }
.lp-form .lp-back { display: none; }
.lp-form.is-stepped .lp-back { display: block; margin: 10px auto 0; background: none; border: 0; color: var(--muted); font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; padding: 8px 12px; }

.lp-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lp-tile { margin: 0; cursor: pointer; position: relative; }
.lp-tile input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.lp-tile span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 78px; padding: 10px 6px; border: 1.5px solid var(--concrete); border-radius: 8px; background: #fff; font-size: .9rem; font-weight: 700; text-align: center; line-height: 1.2; color: var(--charcoal); transition: border-color .15s, background .15s; }
.lp-tile span svg.ic { width: 24px; height: 24px; stroke: var(--accent); }
.lp-tile:hover span { border-color: var(--accent); }
.lp-tile input:checked + span { border-color: var(--accent); background: #FCEEE6; box-shadow: inset 0 0 0 1px var(--accent); }
.lp-tile input:focus-visible + span { outline: 3px solid rgba(196,80,31,.35); outline-offset: 2px; }
.lp-reassure { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: .85rem; color: var(--muted); margin-top: 10px; }
.lp-reassure svg.ic { width: 15px; height: 15px; stroke: var(--ok); }

.lp-gallery .gallery-item:nth-child(n+7) { display: none; }
/* width/height attributes reserve space while loading; height:auto lets aspect-ratio win */
.lp-gallery .gallery-item .photo { height: auto; }
.lp-reviews { margin-top: 40px; }
.lp-reviews .review-card { background: var(--card); border: 1px solid var(--line); }
.lp-reviews .review-card p { color: var(--charcoal); }
.lp-reviews .review-card .who { color: var(--muted); }

.lp-quote-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.lp-quote-wrap .section-head { margin-bottom: 0; }
.lp-quote-wrap .section-head p + p { margin-top: 12px; }
.lp-sheet { background: #fff; border-radius: 10px; box-shadow: var(--shadow); padding: 24px 26px; border-top: 5px solid var(--accent); }
.lp-sheet-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 2px solid var(--charcoal); margin-bottom: 4px; }
.lp-sheet-head strong { font-family: 'Archivo', 'Arial Narrow', sans-serif; font-size: 1.25rem; }
.lp-sheet-head span { font-size: .8rem; color: var(--muted); font-weight: 600; }
.lp-sheet ol { list-style: none; padding: 0; margin: 0 0 18px; }
.lp-sheet li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.lp-line-t { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .95rem; white-space: nowrap; }
.lp-line-t svg.ic { width: 16px; height: 16px; stroke: var(--ok); flex: none; }
.lp-line-d { color: var(--muted); font-size: .86rem; text-align: right; }
.lp-sheet .btn { width: 100%; }

@media (max-width: 980px) {
  .lp-quote-wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
/* Phones: headline, one short line, then the form's first question on the first screen.
   The project photos follow right after the form. */
@media (max-width: 860px) {
  .lp-hero { padding: 22px 0 36px; }
  .lp-hero h1 { font-size: 1.8rem; margin-bottom: 10px; }
  .lp-hero .eyebrow { font-size: .72rem; letter-spacing: .04em; margin-bottom: 8px; }
  .lp-hero .lead { font-size: 1rem; margin-bottom: 0; }
  .lp-hero .checks, .lp-hero-photo { display: none; }
  .lp-hero .hero-grid { gap: 18px; }
  .lp-gallery { grid-template-columns: 1fr 1fr; gap: 12px; }
  .lp-gallery .gallery-item .cap { font-size: .8rem; }
}
@media (max-width: 480px) {
  .np-num { display: none; }
  .np-short { display: inline; }
  .lp-card { padding: 20px 18px 16px; }
  .lp-q { font-size: 1.25rem; }
  .lp-tiles { gap: 8px; }
  .lp-tile span { min-height: 70px; font-size: .84rem; }
  .lp-sheet { padding: 20px 18px; }
  .lp-sheet li { flex-direction: column; gap: 2px; }
  .lp-line-d { text-align: left; padding-left: 24px; }
  .lp-line-t { white-space: normal; }
}
