/* Benchline Roofing & Renovation — demo by Prospera */
:root {
  --ink: #0f1c2e;
  --slate: #1c2f45;
  --slate-2: #2a4260;
  --accent: #f0a83c;
  --accent-dark: #d98c1c;
  --paper: #ffffff;
  --tint: #f5f2ec;
  --text: #1b2430;
  --muted: #55606e;
  --line: #e2ddd3;
  --light: #e9eef4;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(15, 28, 46, .10);
  --banner-h: 36px;
  --header-h: 72px;
  --font-head: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--banner-h) + var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  padding-top: var(--banner-h);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--slate-2); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.08; margin: 0 0 .5em; color: var(--ink); letter-spacing: .005em; }
h1 { font-size: clamp(2.6rem, 6.5vw, 4.6rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 700; }
h3 { font-size: 1.45rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { padding: 0; margin: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -100px; z-index: 200; background: var(--accent); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: calc(var(--banner-h) + 8px); }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 28px; } }

/* Demo banner */
.demo-banner {
  position: fixed; inset: 0 0 auto 0; z-index: 120;
  min-height: var(--banner-h);
  display: flex; align-items: center; justify-content: center;
  background: #fff7e8; color: #3b2a0e;
  border-bottom: 1px solid #f1d9ad;
  font-size: .8125rem; line-height: 1.3; text-align: center;
  padding: 6px 16px;
}
.demo-banner p { margin: 0; }
@media (max-width: 640px) { :root { --banner-h: 50px; } .demo-banner { font-size: .78rem; } }
.demo-banner a { color: #7a4b00; font-weight: 700; white-space: nowrap; }
.demo-banner a:hover { color: var(--ink); }

/* Header */
.site-header {
  position: sticky; top: var(--banner-h); z-index: 100;
  background: var(--ink); color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.logo-text { font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; line-height: 1; letter-spacing: .01em; }
.logo-text small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: #b9c6d6; margin-top: 3px; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav a { display: block; padding: 8px 12px; color: #dfe6ef; text-decoration: none; font-weight: 500; font-size: .95rem; border-radius: 6px; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.08); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: 6px; color: #fff; text-decoration: none; font-weight: 700; white-space: nowrap; }
.header-phone svg { color: var(--accent); }
.nav-toggle { display: none; }

@media (max-width: 960px) {
  .header-inner { gap: 12px; min-height: 64px; }
  :root { --header-h: 64px; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--ink); border-top: 1px solid rgba(255,255,255,.08); display: none; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 8px 16px 16px; }
  .main-nav a { padding: 14px 8px; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,.06); border-radius: 0; }
  .header-cta { margin-left: auto; }
  .header-phone span { display: none; }
  .header-phone { width: 44px; height: 44px; justify-content: center; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: transparent; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; cursor: pointer; }
  .bars, .bars::before, .bars::after { display: block; width: 20px; height: 2px; background: #fff; position: relative; transition: transform .2s; }
  .bars::before, .bars::after { content: ""; position: absolute; left: 0; }
  .bars::before { top: -6px; } .bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }
}
@media (max-width: 420px) {
  .logo-text { font-size: 1.35rem; }
  .logo-text small { font-size: .58rem; letter-spacing: .1em; }
  .logo-mark { width: 30px; height: 30px; }
  .header-cta .btn-sm { display: none; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  font: 700 1rem/1.2 var(--font-body);
  border-radius: 8px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, transform .15s, border-color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: #f6b955; }
.btn-ghost { background: rgba(15,28,46,.35); color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-sm { min-height: 42px; padding: 8px 16px; font-size: .95rem; }
.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.text-link { font-weight: 700; color: var(--slate-2); text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* Eyebrows */
.eyebrow { font-weight: 700; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: .9em; }
.eyebrow-dark { color: #9a5d00; }

/* Hero */
.hero { position: relative; color: #fff; isolation: isolate; min-height: min(86vh, 760px); display: flex; align-items: center; background: var(--ink); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15,28,46,.92) 0%, rgba(15,28,46,.78) 45%, rgba(15,28,46,.35) 100%); }
.hero-content { padding-top: 72px; padding-bottom: 72px; }
.hero h1 { color: #fff; max-width: 13ch; }
.hero-lede { font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 40rem; color: #e6ecf3; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 32px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: .95rem; color: #dbe3ec; }
.hero-trust li { display: flex; align-items: center; gap: 6px; }
.hero-trust li + li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: 6px; }
.stars { color: var(--accent); letter-spacing: 2px; }
@media (max-width: 640px) {
  .hero { min-height: auto; }
  .hero::after { background: linear-gradient(180deg, rgba(15,28,46,.8) 0%, rgba(15,28,46,.9) 100%); }
  .hero-content { padding-top: 48px; padding-bottom: 48px; }
  .hero-actions .btn { width: 100%; }
  .hero-trust { flex-direction: column; gap: 6px; }
  .hero-trust li + li::before { display: none; }
}

/* Trust strip */
.trust-strip { background: var(--accent); color: var(--ink); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.trust-item { display: flex; flex-direction: column; align-items: center; text-align: center; }
.trust-num { font-family: var(--font-head); font-weight: 700; font-size: 2.1rem; line-height: 1; }
.trust-label { font-size: .85rem; font-weight: 600; margin-top: 4px; }
@media (max-width: 720px) { .trust-grid { grid-template-columns: repeat(2, 1fr); row-gap: 20px; } }

/* Sections */
.section { padding: 88px 0; }
@media (max-width: 640px) { .section { padding: 60px 0; } }
.section-tint { background: var(--tint); }
.section-dark { background: var(--ink); color: #dfe6ef; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 46rem; margin-bottom: 44px; }
.section-head p:last-child { color: var(--muted); margin-bottom: 0; }
.lede-light { color: #c9d4e1; font-size: 1.1rem; }
.muted { color: var(--muted); }
.muted-light { color: #aebccc; font-size: .9rem; }
.small { font-size: .9rem; }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.service-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.service-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--light); }
.service-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.service-body p { color: var(--muted); font-size: .98rem; flex: 1; }

/* Why */
.why-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.why-list { display: grid; gap: 14px; }
.why-list li { display: flex; gap: 16px; align-items: flex-start; background: var(--slate); border: 1px solid rgba(255,255,255,.07); border-radius: var(--radius); padding: 20px 22px; }
.why-list svg { flex: none; color: var(--accent); margin-top: 2px; }
.why-list h3 { font-size: 1.3rem; margin-bottom: .2em; }
.why-list p { margin: 0; color: #c2cedb; font-size: .97rem; }
@media (max-width: 880px) { .why-grid { grid-template-columns: 1fr; gap: 36px; } }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 14px; }
.g-item { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--light); }
.g-wide { grid-column: span 2; grid-row: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.g-item:hover img { transform: scale(1.04); }
.g-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 16px 14px; color: #e8edf3; font-size: .88rem; background: linear-gradient(transparent, rgba(15,28,46,.88)); }
.g-item figcaption strong { display: block; color: #fff; font-size: 1rem; }
@media (max-width: 880px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; grid-auto-rows: auto; } .g-wide { grid-column: auto; grid-row: auto; } .g-item img { aspect-ratio: 4 / 3; height: auto; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: none; }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px 24px; }
.step-num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--accent); font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; margin-bottom: 16px; }
.steps p { color: var(--muted); margin: 0; font-size: .97rem; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Reviews */
.rating-line { font-size: 1.05rem; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 22px; }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.review blockquote { margin: 0; flex: 1; }
.review blockquote p { margin: 0; font-size: 1.02rem; }
.review figcaption { font-size: .9rem; color: var(--muted); }
.review figcaption strong { display: block; color: var(--ink); font-size: 1rem; }

/* Area */
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.area-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 22px 0; }
.area-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; }
.area-list li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(240,168,60,.25); flex: none; }
.area-map svg { width: 100%; height: auto; }
.map-pins circle { fill: var(--ink); stroke: var(--accent); stroke-width: 3; }
.map-pins text, .map-water { font: 600 13px var(--font-body); fill: var(--ink); text-anchor: middle; }
.map-water { fill: #4c6580; font-style: italic; }
@media (max-width: 880px) { .area-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Quote */
.quote-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.check-list { display: grid; gap: 10px; margin: 24px 0 32px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; color: #e1e8f0; }
.check-list li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12l4 4 8-8' fill='none' stroke='%230f1c2e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.quote-call { display: flex; flex-direction: column; gap: 2px; border-left: 3px solid var(--accent); padding-left: 16px; }
.quote-call a { color: #fff; font-family: var(--font-head); font-size: 2rem; font-weight: 700; text-decoration: none; }
.quote-call a:hover { color: var(--accent); }
.quote-form { background: #fff; color: var(--text); border-radius: 16px; padding: 32px; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; margin-bottom: 18px; }
.field label { font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--ink); }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--text);
  width: 100%; min-height: 48px; padding: 11px 14px;
  border: 1.5px solid #b8c0cb; border-radius: 8px; background: #fff;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--slate-2); box-shadow: 0 0 0 3px rgba(240,168,60,.45); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .82rem; color: var(--muted); margin: 14px 0 0; text-align: center; }
@media (max-width: 880px) { .quote-grid { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; gap: 0; } .quote-form { padding: 22px 18px; } }

/* Footer */
.site-footer { background: #0a1422; color: #b7c3d1; padding: 56px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.footer-blurb { margin-top: 14px; max-width: 26rem; }
.footer-h { font-family: var(--font-body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.site-footer ul { display: grid; gap: 8px; }
.site-footer a { color: #dbe3ec; text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 40px; padding-top: 20px; padding-bottom: 24px; font-size: .85rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Mobile action bar */
.mobile-bar { display: none; }
@media (max-width: 720px) {
  body { padding-bottom: 68px; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 110;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: rgba(10,20,34,.97); box-shadow: 0 -4px 20px rgba(0,0,0,.2);
  }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; min-height: 50px; border-radius: 8px; font-weight: 700; text-decoration: none; }
  .mobile-bar-call { color: #fff; border: 2px solid rgba(255,255,255,.6); }
  .mobile-bar-quote { background: var(--accent); color: var(--ink); }
}

/* Services page */
.page-hero { background: var(--ink); color: #dfe6ef; padding: 72px 0 64px; }
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 5.5vw, 3.8rem); }
.page-hero p { max-width: 42rem; font-size: 1.1rem; color: #c9d4e1; }
.crumbs { font-size: .88rem; margin-bottom: 18px; color: #aebccc; }
.crumbs a { color: #dfe6ef; }
.jump-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.jump-links a { color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 8px 16px; font-size: .92rem; font-weight: 600; }
.jump-links a:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.svc-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 64px 0; border-bottom: 1px solid var(--line); }
.svc-detail:last-child { border-bottom: 0; }
.svc-detail:nth-child(even) .svc-media { order: 2; }
.svc-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--light); }
.svc-list { display: grid; gap: 8px; margin: 18px 0 22px; }
.svc-list li { display: flex; gap: 10px; }
.svc-list li::before { content: "\2713"; color: #9a5d00; font-weight: 700; }
.price-tag { display: inline-block; background: var(--tint); border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; font-size: .95rem; margin-bottom: 20px; }
.price-tag strong { color: var(--ink); }
@media (max-width: 880px) { .svc-detail { grid-template-columns: 1fr; gap: 24px; padding: 48px 0; } .svc-detail:nth-child(even) .svc-media { order: 0; } }

.faq { max-width: 52rem; }
.faq details { border: 1px solid var(--line); border-radius: 10px; background: #fff; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 700; color: var(--ink); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: #9a5d00; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--muted); }
.cta-band { background: var(--accent); color: var(--ink); padding: 56px 0; }
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta-band h2 { margin: 0; font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
.cta-band .btn-dark { background: var(--ink); color: #fff; }
.cta-band .btn-dark:hover { background: var(--slate); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-outline-dark { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline-dark:hover { background: var(--ink); color: #fff; }
