/* Zilembo's — Southern Maine Paving & Sealcoating */
:root {
  --ink: #16181c;
  --ink-2: #23262c;
  --text: #3b3f47;
  --muted: #6b7079;
  --line: #e4e5e8;
  --bg: #ffffff;
  --bg-alt: #f5f5f3;
  --yellow: #f2c21b;
  --yellow-d: #d9a900;
  --radius: 10px;
  --shadow: 0 10px 30px -12px rgba(16, 18, 22, 0.25);
  --head: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --header-h: 84px;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--head);
  color: var(--ink);
  line-height: 1.05;
  margin: 0 0 0.6em;
  letter-spacing: 0.005em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.75rem); font-weight: 800; text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
h3 { font-size: 1.5rem; font-weight: 700; }
p { margin: 0 0 1.1em; }

.wrap { width: min(1240px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(860px, 100% - 2.5rem); }
.ico { width: 1.4em; height: 1.4em; flex: none; }
.ico.sm { width: 1.05em; height: 1.05em; vertical-align: -0.15em; }
.skip { position: absolute; left: -999px; top: 0; background: var(--yellow); padding: 0.5rem 1rem; z-index: 999; }
.skip:focus { left: 1rem; }
.muted { color: var(--muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--head); font-weight: 700; font-size: 1rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--yellow-d);
  margin-bottom: 0.9rem;
}
.eyebrow::before { content: ''; width: 28px; height: 3px; background: var(--yellow); border-radius: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.8rem 1.4rem; border-radius: 6px; border: 2px solid transparent;
  font-family: var(--head); font-weight: 700; font-size: 1.1rem; letter-spacing: 0.06em;
  text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: transform 0.15s, background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.2rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--yellow); color: var(--ink); box-shadow: 0 6px 18px -8px rgba(242, 194, 27, 0.8); }
.btn-primary:hover { background: #ffd23a; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; color: var(--ink);
  text-decoration: none; border-bottom: 2px solid var(--yellow); padding-bottom: 2px;
}

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; transition: box-shadow 0.25s; }
.site-header.scrolled { box-shadow: 0 4px 20px -8px rgba(0, 0, 0, 0.18); }
.topbar { background: var(--ink); color: #d8d9dc; font-size: 0.85rem; }
.topbar-inner { display: flex; justify-content: space-between; gap: 1rem; padding: 0.45rem 0; }
.topbar .ico { color: var(--yellow); }
.header-inner { display: flex; align-items: center; gap: 2rem; height: var(--header-h); }
.brand img { height: 58px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 0.25rem; margin-left: auto; }
.main-nav + .header-actions { margin-left: 0; }
.main-nav > a, .has-sub > a {
  font-weight: 600; font-size: 0.98rem; text-decoration: none; color: var(--ink);
  padding: 0.6rem 0.85rem; border-radius: 6px; position: relative;
}
.main-nav > a::after, .has-sub > a::after {
  content: ''; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 0.3rem; height: 2px;
  background: var(--yellow); transform: scaleX(0); transition: transform 0.2s; transform-origin: left;
}
.main-nav > a:hover::after, .has-sub > a:hover::after,
.main-nav a[aria-current='page']::after { transform: scaleX(1); }
.has-sub { position: relative; display: flex; align-items: center; }
.sub-toggle { background: none; border: 0; padding: 0.3rem; margin-left: -0.6rem; cursor: pointer; color: var(--ink); }
.sub {
  position: absolute; top: 100%; left: 0; min-width: 250px; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); border: 1px solid var(--line); padding: 0.5rem;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: 0.2s;
}
.sub a { display: block; padding: 0.55rem 0.8rem; border-radius: 6px; text-decoration: none; font-size: 0.95rem; color: var(--ink); }
.sub a:hover { background: var(--bg-alt); }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.header-actions { display: flex; align-items: center; gap: 1rem; margin-left: auto; }
.header-phone { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; text-decoration: none; color: var(--ink); white-space: nowrap; }
.header-phone .ico { color: var(--yellow-d); }
.menu-toggle { display: none; }
.nav-cta-mobile { display: none; }

/* Hero */
.hero {
  position: relative; min-height: min(92vh, 860px); display: flex; align-items: center;
  color: #fff; overflow: hidden; background: #111 url('/assets/img/hero-poster.jpg') center/cover;
}
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10, 11, 13, 0.88) 0%, rgba(10, 11, 13, 0.6) 55%, rgba(10, 11, 13, 0.25) 100%);
}
.hero-content { position: relative; padding: 6rem 0 7rem; max-width: 1240px; }
.hero h1 { color: #fff; max-width: 15ch; }
@media (min-width: 961px) {
  /* Desktop: "Paving Southern Maine," on line one, the tagline on line two */
  .hero h1 { max-width: none; }
  .hero h1 .hl { white-space: nowrap; }
}
.hero .hl { color: var(--yellow); }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 42rem; color: #e7e8ea; }
.hero .eyebrow { color: var(--yellow); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero-road {
  position: absolute; left: 0; right: 0; bottom: 0; height: 14px; background:
    repeating-linear-gradient(90deg, var(--yellow) 0 60px, transparent 60px 100px) center 3px / 100% 4px no-repeat,
    var(--ink);
}

/* Stats */
.stats { background: var(--ink); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 2.2rem 1rem; text-align: center; border-right: 1px solid rgba(255, 255, 255, 0.1); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--head); font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; color: var(--yellow); }
.stat span { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.1em; color: #c9cbcf; }

/* Sections */
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--ink); color: #c9cbcf; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head p:last-child { color: var(--muted); font-size: 1.1rem; }
.section-head-row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.badge-float {
  position: absolute; right: -1rem; bottom: -1.5rem; background: var(--yellow); color: var(--ink);
  padding: 1.1rem 1.4rem; border-radius: var(--radius); display: flex; gap: 0.8rem; align-items: center; box-shadow: var(--shadow);
}
.badge-float strong { font-family: var(--head); font-size: 3rem; line-height: 1; }
.badge-float span { font-weight: 700; font-size: 0.85rem; line-height: 1.3; text-transform: uppercase; letter-spacing: 0.05em; }
.checks { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem 1.5rem; }
.checks li { display: flex; gap: 0.55rem; align-items: flex-start; font-weight: 500; color: var(--ink); }
.checks .ico { color: var(--ink); background: var(--yellow); border-radius: 50%; padding: 3px; width: 1.35em; height: 1.35em; margin-top: 0.15em; }
.checks-col { grid-template-columns: 1fr; }

/* Service cards */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.svc-card {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden;
  text-decoration: none; border: 1px solid var(--line); transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.svc-card-img { aspect-ratio: 16/10; overflow: hidden; }
.svc-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.svc-card:hover .svc-card-img img { transform: scale(1.06); }
.svc-card-body { padding: 1.6rem 1.5rem 1.7rem; position: relative; flex: 1; display: flex; flex-direction: column; }
.svc-icon {
  position: absolute; top: -28px; left: 1.5rem; width: 56px; height: 56px; display: grid; place-items: center;
  background: var(--yellow); color: var(--ink); border-radius: 10px; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, 0.35);
}
.svc-card h3 { margin-top: 1.2rem; margin-bottom: 0.4rem; }
.svc-card p { color: var(--muted); font-size: 0.97rem; flex: 1; }
.svc-card .link-arrow { align-self: flex-start; font-size: 0.95rem; }

/* Why */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.why { padding: 2rem 1.6rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--yellow); }
.why-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: var(--yellow); margin-bottom: 1.1rem; }
.why h3 { font-size: 1.45rem; }
.why p { color: var(--muted); font-size: 0.97rem; margin: 0; }

/* Projects */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.project { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.project:hover img { transform: scale(1.05); }
.project figcaption {
  position: absolute; inset: auto 0 0 0; padding: 3rem 1.3rem 1.2rem; color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85)); display: flex; flex-direction: column; gap: 0.2rem;
}
.project strong { font-family: var(--head); font-size: 1.45rem; line-height: 1.1; }
.project figcaption > span:last-child { font-size: 0.9rem; color: #d6d7da; }
.project-grid-2 { grid-template-columns: repeat(2, 1fr); }

/* Before / after pairs */
.ba-grid { display: grid; gap: 2.5rem; }
.ba { margin: 0; }
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.ba-img { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.ba-img img { width: 100%; height: 100%; object-fit: cover; }
.ba-label {
  position: absolute; top: 0.9rem; left: 0.9rem; background: var(--ink); color: #fff; font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; padding: 0.3rem 0.7rem; border-radius: 4px;
}
.ba-label-after { background: var(--yellow); color: var(--ink); }
.ba figcaption { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-top: 0.9rem; }
.ba figcaption strong { font-family: var(--head); font-size: 1.45rem; line-height: 1.1; }
.ba figcaption span { color: var(--muted); font-size: 0.95rem; }
.tag {
  align-self: flex-start; background: var(--yellow); color: var(--ink); font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; padding: 0.2rem 0.55rem; border-radius: 4px; margin-bottom: 0.3rem;
}

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: s; }
.steps li { position: relative; padding-top: 1.2rem; border-top: 3px solid var(--ink); }
.steps span { font-family: var(--head); font-size: 3rem; font-weight: 800; color: var(--yellow); line-height: 1; display: block; margin-bottom: 0.5rem; }
.steps h3 { font-size: 1.4rem; }
.steps p { color: var(--muted); font-size: 0.97rem; }

/* Areas + reviews */
.split-areas { align-items: start; }
.town-list { list-style: none; padding: 0; margin: 1.2rem 0 1.8rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 0.55rem 1rem; }
.town-list li { display: flex; gap: 0.45rem; align-items: center; font-weight: 500; color: var(--ink); }
.town-list .ico { color: var(--yellow-d); }
.reviews { display: grid; gap: 1.2rem; }
.review { margin: 0; background: #fff; padding: 1.8rem; border-radius: var(--radius); box-shadow: var(--shadow); border-left: 4px solid var(--yellow); }
.review p { font-size: 1.08rem; color: var(--ink); font-style: italic; }
.review cite { font-style: normal; font-weight: 600; color: var(--muted); font-size: 0.95rem; }
.stars { display: flex; gap: 2px; color: var(--yellow); margin-bottom: 0.7rem; }
.stars .ico { fill: var(--yellow); width: 1.1em; height: 1.1em; }
.placeholder-note { outline: 2px dashed #e0b400; outline-offset: -6px; }

/* FAQ */
.faq { display: grid; gap: 0.8rem; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.15rem 3rem 1.15rem 1.4rem; font-weight: 600; color: var(--ink); position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 1.3rem; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--yellow-d); transition: transform 0.2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 1.4rem 1.2rem; margin: 0; color: var(--muted); }

/* CTA band */
.cta-band {
  position: relative; color: #fff; padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  background: linear-gradient(rgba(12, 13, 16, 0.82), rgba(12, 13, 16, 0.82)), url('/assets/img/cta-bg.jpg') center/cover;
}
.cta-band-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { color: #fff; max-width: 18ch; }
.cta-band .eyebrow { color: var(--yellow); }
.cta-band p { color: #d0d2d5; margin: 0; }
.cta-band-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Footer */
.site-footer { background: #0e0f12; color: #a5a8ae; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 3rem; padding: 4.5rem 0 3rem; }
.footer-logo { display: inline-block; background: #fff; padding: 0.9rem 1.2rem; border-radius: var(--radius); margin-bottom: 1.4rem; }
.footer-logo img { width: 200px; height: auto; }
.site-footer h3 { color: #fff; font-size: 1.25rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.footer-contact li { display: flex; gap: 0.6rem; align-items: flex-start; }
.footer-contact .ico { color: var(--yellow); margin-top: 0.3em; }
.social { display: flex; gap: 0.6rem; margin-top: 1.2rem; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: #1d1f24; color: #fff; }
.social a:hover { background: var(--yellow); color: var(--ink); }
.social .ico { width: 1.1em; height: 1.1em; }
.footer-bottom { border-top: 1px solid #22252b; padding: 1.4rem 0 1.6rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.85rem; }
.footer-bottom p { margin: 0; }
.mobile-call { display: none; }

/* Inner page hero */
.page-hero {
  position: relative; color: #fff; padding: clamp(4rem, 9vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
  background: linear-gradient(90deg, rgba(10, 11, 13, 0.9), rgba(10, 11, 13, 0.55)), var(--hero-img) center/cover;
}
.page-hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 4rem); max-width: 20ch; }
.page-hero .eyebrow { color: var(--yellow); }
.page-hero .lead { font-size: 1.15rem; color: #dcdde0; max-width: 40rem; margin: 0; }
.crumbs { display: flex; gap: 0.5rem; flex-wrap: wrap; font-size: 0.85rem; color: #b8bbc0; margin-bottom: 1.6rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--yellow); }

/* Service detail */
.detail { display: grid; grid-template-columns: 1fr 340px; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.detail-main h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-top: 2.5rem; }
.lead-dark { font-size: 1.2rem; color: var(--ink); line-height: 1.6; }
.detail-img { border-radius: var(--radius); margin: 2.5rem 0 0; width: 100%; }
.detail-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.detail-gallery img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.detail-side { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1.2rem; }
.side-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; background: #fff; }
.side-cta { background: var(--ink); color: #c9cbcf; border: 0; }
.side-cta h3 { color: #fff; }
.side-phone { display: flex; justify-content: center; gap: 0.4rem; align-items: center; margin-top: 1rem; color: #fff; font-weight: 700; text-decoration: none; }
.side-links { list-style: none; padding: 0; margin: 0; }
.side-links a { display: flex; justify-content: space-between; align-items: center; padding: 0.6rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 500; }
.side-links li:last-child a { border: 0; }
.side-links a:hover { color: var(--yellow-d); }
.side-trust { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; font-weight: 600; color: var(--ink); }
.side-trust li { display: flex; gap: 0.55rem; align-items: center; }
.side-trust .ico { color: var(--yellow-d); }

/* Service areas page */
.areas-intro { max-width: 760px; font-size: 1.12rem; margin-bottom: 3rem; }
.county-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.county { background: var(--bg-alt); border-radius: var(--radius); padding: 2rem; }
.county h2 { font-size: 2rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.chip { padding: 0.55rem 1.1rem; border-radius: 99px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; color: var(--ink); }
.chip:hover { background: var(--yellow); border-color: var(--yellow); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.contact-form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.8rem); box-shadow: var(--shadow); }
.contact-form { display: grid; gap: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.contact-form label { display: grid; gap: 0.4rem; font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.contact-form input[type='text'], .contact-form input[type='email'], .contact-form input[type='tel'],
.contact-form select, .contact-form textarea {
  font: inherit; font-weight: 400; font-size: 1rem; color: var(--ink); width: 100%;
  padding: 0.8rem 0.95rem; border: 1.5px solid #d3d5d9; border-radius: 6px; background: #fafafa; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form :is(input, select, textarea):focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 3px rgba(242, 194, 27, 0.45); }
.contact-form .invalid { border-color: #c62828 !important; }
.radio-row { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; }
.radio-row legend { font-weight: 600; font-size: 0.92rem; color: var(--ink); margin-bottom: 0.5rem; padding: 0; }
.radio-row label { display: flex !important; align-items: center; gap: 0.45rem; font-weight: 500 !important; }
.radio-row input { accent-color: var(--ink); width: 18px; height: 18px; }
.hp { position: absolute !important; left: -9999px; }
.form-status { font-weight: 600; }
.form-status.ok { color: #1b7a3a; background: #e8f6ec; padding: 1rem; border-radius: 6px; }
.form-status.err { color: #a61b1b; background: #fdecec; padding: 1rem; border-radius: 6px; }
.contact-info { display: grid; gap: 1.2rem; }
.info-card { border-radius: var(--radius); padding: 1.8rem; background: var(--bg-alt); }
.info-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.info-card li { display: flex; gap: 0.9rem; align-items: flex-start; color: var(--ink); }
.info-card li > .ico { color: var(--ink); background: var(--yellow); border-radius: 8px; padding: 8px; width: 38px; height: 38px; }
.info-card li span { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.info-card li a { font-weight: 700; text-decoration: none; }
.info-card-dark { background: var(--ink); }
.info-card-dark h3 { color: #fff; }
.info-card-dark li { color: #fff; }
.info-card .side-trust .ico { background: none; padding: 0; width: 1.1em; height: 1.1em; color: var(--yellow); }
.info-card-dark .side-trust .ico { color: var(--yellow); }
.map-wrap { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: var(--bg-alt); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

.notfound { min-height: 55vh; display: grid; place-items: center; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .header-phone span { display: none; }
  .header-inner { gap: 1rem; }
  .main-nav > a, .has-sub > a { padding: 0.6rem 0.6rem; }
}
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  :root { --header-h: 70px; }
  .brand img { height: 46px; }
  .menu-toggle {
    display: grid; gap: 5px; width: 46px; height: 46px; place-content: center; background: var(--ink);
    border: 0; border-radius: 8px; cursor: pointer;
  }
  .menu-toggle span { display: block; width: 22px; height: 2px; background: #fff; transition: 0.25s; }
  .menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .header-cta { display: none; }
  .main-nav + .header-actions { margin-left: auto; }
  .header-phone { width: 46px; height: 46px; justify-content: center; border: 2px solid var(--ink); border-radius: 8px; }
  .main-nav {
    position: fixed; inset: var(--nav-top, 110px) 0 0 0; background: #fff; flex-direction: column; align-items: stretch;
    gap: 0; padding: 1rem 1.25rem 2rem; overflow-y: auto; transform: translateX(100%); transition: transform 0.3s ease; margin: 0;
  }
  .menu-open .main-nav { transform: none; }
  .main-nav > a, .has-sub > a { font-size: 1.15rem; padding: 1rem 0.2rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav > a::after, .has-sub > a::after { display: none; }
  .has-sub { flex-wrap: wrap; }
  .has-sub > a { flex: 1; }
  .sub-toggle { margin: 0; padding: 1rem; border-bottom: 1px solid var(--line); }
  .sub-toggle[aria-expanded='true'] svg { transform: rotate(180deg); }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; width: 100%; display: none; padding: 0.3rem 0 0.6rem 0.8rem; }
  .has-sub:hover .sub { transform: none; }
  .sub.open { display: block; }
  .nav-cta-mobile { display: flex; margin-top: 1.5rem; }
  .topbar-right { display: none; }
  .split { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr 1fr; }
  .county-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n + 2) { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
}
@media (max-width: 640px) {
  body { font-size: 1rem; padding-bottom: 58px; }
  .hero { min-height: 88vh; }
  .hero-overlay { background: linear-gradient(180deg, rgba(10, 11, 13, 0.7), rgba(10, 11, 13, 0.85)); }
  .page-hero { background: linear-gradient(rgba(10, 11, 13, 0.88), rgba(10, 11, 13, 0.88)), var(--hero-img) center/cover; }
  .hero-content { padding: 4rem 0 5rem; }
  .hero-actions .btn { width: 100%; }
  .why-grid, .steps, .project-grid, .field-row, .checks, .ba-pair { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .badge-float { right: 0.8rem; bottom: -1.2rem; padding: 0.8rem 1rem; }
  .badge-float strong { font-size: 2.2rem; }
  .cta-band-actions, .cta-band-actions .btn { width: 100%; }
  .town-list { grid-template-columns: 1fr 1fr; }
  .mobile-call {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; justify-content: center; align-items: center; gap: 0.5rem;
    height: 58px; background: var(--yellow); color: var(--ink); font-family: var(--head); font-weight: 800; font-size: 1.25rem;
    letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.2);
  }
}
