:root {
  --navy-950: #0c1420;
  --navy-900: #101c2e;
  --navy-800: #1a2d47;
  --navy-700: #2a4265;
  --slate-500: #5c6b82;
  --slate-300: #a9b4c4;
  --paper: #f6f5f1;
  --paper-dim: #ece9e1;
  --white: #ffffff;
  --amber-500: #e8790f;
  --amber-600: #cc6607;
  --line: rgba(16,28,46,0.12);

  --text: var(--navy-900);
  --text-muted: var(--slate-500);
  --bg: var(--paper);
  --surface: var(--white);
  --accent: var(--amber-500);
  --accent-ink: #ffffff;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: "Archivo", "Public Sans", sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
}

.num { font-variant-numeric: tabular-nums; }

a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding-inline: 20px;
}

/* ---------- Header ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--navy-900);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 16px;
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  padding: 8px 16px;
  border-radius: 10px;
  text-decoration: none;
}
.logo-mark { height: 36px; width: auto; display: block; }
.logo-text {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
}
.logo-text .t-black { color: var(--navy-900); }
.logo-text .t-red { color: #b11530; }

nav.top-nav { display: flex; align-items: center; gap: 20px; }
nav.top-nav a.nav-link {
  color: var(--slate-300);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}
nav.top-nav a.nav-link:hover { color: #fff; }

/* ---------- Service Area nav dropdown ---------- */
.nav-item.dropdown { position: relative; }
.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--slate-300);
  cursor: pointer;
}
.dropdown-toggle:hover, .dropdown-toggle[aria-expanded="true"] { color: #fff; }
.dropdown-toggle .caret { transition: transform 0.15s ease; flex-shrink: 0; }
.dropdown-toggle[aria-expanded="true"] .caret { transform: rotate(180deg); }

.dropdown-panel {
  display: none;
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%);
  width: 640px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(12,20,32,0.22);
  padding: 24px 26px;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px 28px;
  z-index: 60;
}
.dropdown-panel.dropdown-panel-narrow {
  width: 300px;
  grid-template-columns: 1fr;
}
.faq-jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 4px;
}
.faq-jump-nav a {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
}
.faq-jump-nav a:hover { border-color: var(--accent); color: var(--accent); }
.faq-category-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.faq-category-head .service-learn-link { white-space: nowrap; }
.dropdown-panel::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}
.dropdown-panel.open { display: grid; }
@media (hover: hover) {
  .nav-item.dropdown:hover .dropdown-panel { display: grid; }
}
.dropdown-col { display: flex; flex-direction: column; }
.dropdown-heading {
  color: var(--amber-600);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin: 14px 0 6px;
}
.dropdown-col .dropdown-heading:first-child { margin-top: 0; }
.dropdown-panel a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.87rem;
  font-weight: 500;
  padding: 4px 0;
}
.dropdown-panel a:hover { color: var(--amber-600); text-decoration: underline; }
.dropdown-viewall {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-weight: 700 !important;
  color: var(--amber-600) !important;
}

.call-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.92rem;
  white-space: nowrap;
}
.call-pill:hover { background: var(--amber-600); }

.quote-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.35);
  padding: 9px 17px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
  cursor: pointer;
  font-family: inherit;
}
.quote-pill:hover { border-color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px;
  color: #fff;
  font-size: 1.1rem;
  padding: 8px 12px;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 60%, var(--navy-800) 100%);
  color: #fff;
  padding-top: 64px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  padding-bottom: 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffd9a8;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 16px; height: 2px;
  background: var(--accent);
  display: inline-block;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  line-height: 1.06;
  margin: 0 0 20px;
  color: #fff;
}
.hero h1 .accent { color: var(--accent); }

.hero .lede {
  color: #c3cee2;
  font-size: 1.08rem;
  max-width: 480px;
  margin-bottom: 30px;
}

.hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-ctas .btn { padding: 14px 18px; font-size: 0.92rem; white-space: nowrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 26px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.98rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: var(--amber-600); }
.btn-ghost { background: #fff; color: var(--navy-900); border: 1.5px solid #fff; }
.btn-ghost:hover { background: rgba(255,255,255,0.88); }

.hero-callout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  background: rgba(232,121,15,0.12);
  border: 1px solid rgba(232,121,15,0.4);
  border-radius: 999px;
  padding: 10px 18px;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: #ffd9ad;
}
.hero-callout b { color: var(--accent); }
.hero-callout .divider { color: rgba(232,121,15,0.5); }

.hero-microtrust {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #9fb0cc;
}
.hero-microtrust span { display: flex; align-items: center; gap: 7px; }
.hero-microtrust b { color: #fff; }
.trust-note { color: var(--text-muted); font-size: 0.76rem; margin-top: 8px; }

/* photo placeholder block — swap for a real <img> once photos are picked (see SETUP.md) */
.photo-block {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 10px, transparent 10px, transparent 20px),
    linear-gradient(155deg, #2a4265, #16233a 70%);
  display: flex;
  align-items: flex-end;
  color: #cfe0ff;
  min-height: 160px;
}
.photo-block img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.photo-block .tag {
  background: rgba(12,20,32,0.72);
  backdrop-filter: blur(2px);
  padding: 9px 12px;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-weight: 600;
  position: relative;
  z-index: 1;
}
.photo-block .tag .file { color: #ffd9a8; font-family: "Archivo", monospace; }

.hero-photo { aspect-ratio: 4/3; }

/* ---------- Stats band ---------- */
.stats-band {
  background: var(--navy-800);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-block: 26px;
}
.stat { text-align: center; padding-inline: 12px; border-left: 1px solid rgba(255,255,255,0.09); }
.stat:first-child { border-left: none; }
.stat .figure {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 1.7rem;
  color: #fff;
}
.stat .figure .accent { color: var(--accent); }
.stat .label { color: #9fb0cc; font-size: 0.8rem; margin-top: 4px; }

/* ---------- Roofline divider ---------- */
.roofline {
  height: 46px;
  background: var(--bg);
  clip-path: polygon(0 100%, 0 40%, 8% 0, 16% 40%, 24% 0, 32% 40%, 40% 0, 48% 40%, 56% 0, 64% 40%, 72% 0, 80% 40%, 88% 0, 96% 40%, 100% 0, 100% 100%);
}
.roofline.flip {
  transform: scaleY(-1);
}

/* ---------- Section shell ---------- */
section.block { padding-block: 64px; }
.block.alt { background: var(--paper-dim); }

.section-head {
  max-width: 620px;
  margin-bottom: 40px;
}
.block .section-head .eyebrow { color: var(--amber-600); }
.block.alt .section-head .eyebrow { color: var(--amber-600); }
.section-head .eyebrow::before { background: var(--accent); }
.about-copy .eyebrow { color: var(--amber-600); }
.section-head h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 0 0 12px; }
.section-head p { color: var(--text-muted); font-size: 1.02rem; margin: 0; }

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px 24px;
}
.service-card .icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(232,121,15,0.12);
  color: var(--amber-600);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-family: "Archivo", sans-serif;
  margin-bottom: 16px;
  font-size: 1.1rem;
}
.service-card h3 { font-size: 1.12rem; margin: 0 0 8px; }
.service-card p { color: var(--text-muted); font-size: 0.92rem; margin: 0; }
.service-card .faq-quote-link,
.service-card .service-learn-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--amber-600);
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}
.service-card .faq-quote-link:hover,
.service-card .service-learn-link:hover { text-decoration: underline; }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 150px;
  gap: 14px;
}
.gallery-grid .photo-block:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-grid .photo-block:nth-child(4) { grid-column: span 2; }
.gallery-grid .photo-block:nth-child(5) { grid-column: span 2; grid-row: span 2; }
.gallery-grid .photo-block:nth-child(8) { grid-column: span 2; }

.gallery-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery-grid-3 .photo-block { aspect-ratio: 16 / 9; min-height: 0; }

.gallery-single { display: flex; justify-content: center; }
.gallery-single .photo-block { aspect-ratio: 4 / 3; width: 100%; max-width: 560px; min-height: 0; }

/* About / story */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-copy .tagline {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  margin: 0 0 14px;
  line-height: 1.25;
}
.about-copy .tagline .accent { color: var(--amber-600); }
.about-copy p.story { color: var(--text-muted); font-size: 1rem; margin: 0 0 22px; }
.credential-list { display: flex; flex-direction: column; gap: 14px; }
.credential-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
}
.credential-row .check {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: rgba(232,121,15,0.14);
  color: var(--amber-600);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-weight: 800;
  font-size: 0.78rem;
  margin-top: 1px;
}
.credential-row b { display: block; }
.credential-row span.sub { color: var(--text-muted); font-size: 0.86rem; }

/* Warranty strip */
.warranty-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.warranty-card {
  background: var(--navy-900);
  color: #fff;
  border-radius: 12px;
  padding: 22px 20px;
}
.warranty-card .term {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: 6px;
}
.warranty-card .what { font-size: 0.88rem; color: #c3cee2; }
.warranty-transfer-note { margin-top: 14px; text-align: center; }

/* Service area */
.area-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.area-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
}
.area-card .county {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--amber-600);
  margin-bottom: 8px;
}
.area-card .towns { font-size: 0.86rem; color: var(--text-muted); }
.area-card .towns a { color: var(--text-muted); text-decoration: underline; text-underline-offset: 2px; }
.area-card .towns a:hover { color: var(--amber-600); }
.area-note {
  margin-top: 22px;
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  gap: 8px;
  align-items: center;
}

/* Process */
.process-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  position: relative;
}
.process-row::before {
  content: "";
  position: absolute;
  top: 21px; left: 10%; right: 10%;
  height: 2px;
  background: var(--line);
}
.step { position: relative; text-align: left; }
.step .step-num {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--navy-900);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  margin-bottom: 14px;
  position: relative;
  z-index: 2;
}
.step h3 { font-size: 1rem; margin: 0 0 6px; }
.step p { color: var(--text-muted); font-size: 0.88rem; margin: 0; }

/* Testimonials */
.testimonial-carousel {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.testimonial-track::-webkit-scrollbar { display: none; }
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  flex: 0 0 calc((100% - 44px) / 3);
  scroll-snap-align: start;
}
.carousel-arrow {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--navy-900);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-arrow:hover { background: var(--paper-dim); }
.stars { color: var(--amber-500); letter-spacing: 2px; margin-bottom: 12px; }
.testimonial-card p.quote { font-size: 1.02rem; margin: 0 0 16px; }
.testimonial-card .who { font-weight: 700; font-size: 0.9rem; }
.testimonial-card .where { color: var(--text-muted); font-size: 0.82rem; }

/* Quote / contact form */
.quote-section {
  background: var(--navy-950);
  color: #fff;
}
.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.quote-copy .lede { color: #c3cee2; font-size: 1.02rem; max-width: 420px; }
.quote-form {
  background: var(--surface);
  color: var(--text);
  border-radius: 14px;
  padding: 30px;
}
.quote-form h3 { margin: 0 0 6px; font-size: 1.2rem; }
.quote-form .sub { color: var(--text-muted); font-size: 0.88rem; margin: 0 0 20px; }
.quote-form label { display: block; font-size: 0.84rem; font-weight: 700; margin-bottom: 6px; }
.field { margin-bottom: 16px; }
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  background: #fff;
  color: var(--text);
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--amber-500); outline-offset: 1px; }
.quote-form .fine-print { font-size: 0.76rem; color: var(--text-muted); margin: 10px 0 0; }
.hp-field { position: absolute; left: -9999px; }

/* CTA band */
.cta-band {
  background: var(--navy-950);
  color: #fff;
  text-align: center;
  padding-block: 64px;
}
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 12px; color: #fff; }
.cta-band p { color: #a9b4c4; margin: 0 0 28px; font-size: 1.02rem; }
.cta-band-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.pricing-cta { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.pricing-note { color: var(--text-muted); font-size: 0.88rem; }

/* Footer */
footer.site {
  background: var(--navy-950);
  color: #8794ab;
  padding-block: 36px;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-row a { text-decoration: none; color: #8794ab; }
.footer-row a:hover { color: #fff; }

/* ---------- Blog listing cards ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}
.blog-card .thumb { aspect-ratio: 16 / 9; position: relative; }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card .content { padding: 20px 22px 24px; }
.blog-card .cat {
  color: var(--amber-600);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.blog-card h3 { font-size: 1.1rem; margin: 0 0 10px; line-height: 1.3; }
.blog-card p { color: var(--text-muted); font-size: 0.92rem; margin: 0; }
.blog-card .date { color: var(--text-muted); font-size: 0.78rem; margin-top: 16px; }

/* ---------- Blog article ---------- */
.post-meta {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.post-title { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: 0 0 20px; line-height: 1.1; max-width: 780px; }
.post-lede { color: var(--text-muted); font-size: 1.08rem; max-width: 700px; }
.post-featured-image { border-radius: 14px; overflow: hidden; margin-top: 28px; }
.post-featured-image img { width: 100%; display: block; }

.article-wrap { max-width: 740px; margin: 0 auto; padding-inline: 20px; }
.article-body h2 { font-size: 1.5rem; margin: 44px 0 14px; }
.article-body h2:first-child { margin-top: 0; }
.article-body p { margin: 0 0 18px; font-size: 1.03rem; }
.article-body ul, .article-body ol { margin: 0 0 20px; padding-left: 22px; }
.article-body li { margin-bottom: 12px; font-size: 1.03rem; }
.article-body li strong { color: var(--text); }
.article-body .callout {
  background: var(--paper-dim);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  padding: 20px 24px;
  margin: 32px 0;
  font-size: 1.02rem;
}
.article-body .callout p { margin: 0; }
.article-body .callout p + p { margin-top: 12px; }
.article-cta {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px;
  margin: 44px 0 0;
  text-align: center;
}
.article-cta h3 { margin: 0 0 10px; }
.article-cta p { color: var(--text-muted); margin: 0 0 20px; }
.article-cta .btn { margin: 0 6px; }
.post-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--amber-600);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 40px;
}
.post-back-link:hover { text-decoration: underline; }

/* Header/nav switches to the mobile menu earlier than other breakpoints:
   the full nav (Services, About, Our Work, Service Area, Blog, Reviews,
   FAQ, Gallery, Instant Quote, phone number) is too wide to fit next to
   the logo on tablets, so it would otherwise overlap/smoosh together. */
@media (max-width: 1100px) {
  nav.top-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-900);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  nav.top-nav.open { display: flex; }
  nav.top-nav a.nav-link { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  nav.top-nav .quote-pill { margin-top: 12px; justify-content: center; }
  nav.top-nav .call-pill { margin-top: 10px; justify-content: center; }
  header.site { position: sticky; }
  .nav-toggle { display: block; }
  .dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .dropdown-panel {
    position: static;
    transform: none;
    width: auto;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: transparent;
    padding: 4px 0 10px 14px;
    grid-template-columns: 1fr;
    gap: 0;
  }
  .dropdown-panel::before { display: none; }
  .dropdown-heading { color: #ffd9a8; }
  .dropdown-panel a {
    color: var(--slate-300);
    padding: 9px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .dropdown-panel a:hover { color: #fff; }
  .dropdown-viewall { border-top: 1px solid rgba(255,255,255,0.12); color: var(--accent) !important; }
}

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .process-row { grid-template-columns: repeat(2, 1fr); }
  .process-row::before { display: none; }
  .testimonial-card { flex-basis: 86%; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid .photo-block:nth-child(1) { grid-column: span 2; }
  .gallery-grid .photo-block:nth-child(5) { grid-column: span 2; }
  .gallery-grid-3 { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .article-wrap { padding-inline: 20px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .stat:nth-child(3) { border-left: none; }
  .footer-row { flex-direction: column; align-items: flex-start; }
  .about-grid { grid-template-columns: 1fr; }
  .warranty-strip { grid-template-columns: 1fr; }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-grid { grid-template-columns: 1fr; }
}
