:root {
   --ink: #182022;
  --muted: #556468;
  --paper: #f7f6f2;
  --white: #ffffff;
  --line: #dce2e4;
  --accent: #2aa8de;
  --accent-deep: #1d85b2;
  --accent-soft: #d6f0fb;
  --sun: #f6b845;
  --shadow-lg: 0 26px 58px rgba(14, 26, 32, 0.16);
  --shadow-md: 0 14px 30px rgba(14, 26, 32, 0.1);
  --radius-xl: 28px;
  --radius-lg: 18px;
  --max: 1220px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Sora", "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% -8%, rgba(42, 168, 222, 0.18), transparent 30%),
    radial-gradient(circle at 92% 7%, rgba(246, 184, 69, 0.14), transparent 22%),
    linear-gradient(180deg, #fff 0%, var(--paper) 100%);
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.section-frame { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }

.skip-link { position: absolute; left: -9999px; top: 12px; z-index: 2000; padding: 10px 14px; border-radius: 8px; background: var(--accent-deep); color: #fff; font-weight: 700; }
.skip-link:focus { left: 12px; }

header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); border-bottom: 1px solid #e5e5e5; box-shadow: 0 6px 24px rgba(0,0,0,.08); }
.header-inner { max-width: 1280px; margin: 0 auto; padding: 0 32px; height: 96px; display: flex; align-items: center; gap: 40px; }
nav { display: flex; gap: 32px; flex: 1; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link, nav a { font-size: .95rem; font-weight: 600; color: var(--ink); }
.nav-link { display: inline-flex; align-items: center; gap: 8px; }
nav a:hover, .nav-link:hover { opacity: .7; }
.dropdown-menu { position: absolute; top: 100%; left: 0; width: min(430px, calc(100vw - 64px)); padding: 12px; background: #fff; border: 1.5px solid var(--accent); border-radius: 18px; box-shadow: 0 20px 44px rgba(0,0,0,.12), 0 0 18px rgba(41,171,226,.18); opacity: 0; visibility: hidden; transform: translateY(10px); pointer-events: none; transition: opacity .18s ease, transform .18s ease, visibility .18s ease; }
.dropdown-heading { padding: 10px 12px 14px; margin-bottom: 4px; border-bottom: 1px solid #efe9e2; }
.dropdown-kicker { display: block; margin-bottom: 4px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #7a746d; }
.dropdown-title { display: block; font-size: 1rem; font-weight: 800; }
.dropdown-menu a { display: flex; align-items: center; gap: 14px; padding: 14px 12px; border-radius: 12px; white-space: normal; transition: background .15s ease; }
.dropdown-menu a + a { border-top: 1px solid #f1ece4; }
.dropdown-menu a:hover { background: var(--paper); opacity: 1; }
.dropdown-label { font-size: .98rem; font-weight: 700; }
.dropdown-thumb { width: 72px; height: 72px; border-radius: 12px; background-position: center; background-repeat: no-repeat; background-size: cover; border: 1px solid #d8d8d8; flex-shrink: 0; }
.dropdown-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dropdown-copy { font-size: .82rem; line-height: 1.45; color: var(--muted); }
.thumb-roof { background-image: image-set(url("../../images/thumbs/roof-thumb.webp") type('image/webp'), url("../../images/thumbs/roof-thumb.jpg") type('image/jpeg')); }
.thumb-gutter { background-image: image-set(url("../../images/thumbs/gutter-thumb.webp") type('image/webp'), url("../../images/thumbs/gutter-thumb.jpg") type('image/jpeg')); }
.thumb-facade { background-image: image-set(url("../../images/thumbs/facade-thumb.webp") type('image/webp'), url("../../images/thumbs/facade-thumb.jpg") type('image/jpeg')); }
.thumb-stone { background-image: image-set(url("../../images/thumbs/stone-thumb.webp") type('image/webp'), url("../../images/thumbs/stone-thumb.jpg") type('image/jpeg')); }
.thumb-stone-color { background-image: image-set(url("../../images/thumbs/stone-color-thumb.webp") type('image/webp'), url("../../images/thumbs/stone-color-thumb.jpg") type('image/jpeg')); }
.thumb-about { background-image: image-set(url("../../images/thumbs/about-thumb.webp") type('image/webp'), url("../../images/thumbs/about-thumb.jpg") type('image/jpeg')); }
.thumb-before-after { background-image: image-set(url("../../images/thumbs/before-after-thumb.webp") type('image/webp'), url("../../images/thumbs/before-after-thumb.jpg") type('image/jpeg')); }
.nav-item:hover .dropdown-menu, .nav-item:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.header-actions { display: flex; gap: 12px; align-items: center; margin-left: auto; }

.btn, .btn-outline, .text-link { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-weight: 750; }
.btn, .btn-outline { border-radius: 999px; padding: 12px 22px; font-size: .92rem; }
.btn { background: linear-gradient(135deg, var(--accent), var(--accent-deep)); color: #fff; box-shadow: 0 12px 24px rgba(29,133,178,.28); }
.btn:hover { transform: translateY(-2px); }
.btn-outline { border: 1.5px solid var(--ink); background: rgba(255,255,255,.78); }
.header-actions .btn-outline { padding: 8px 20px; border: 2px solid var(--ink); border-radius: 8px; }
.text-link { color: var(--accent-deep); font-size: .9rem; }
.text-link::after { content: "→"; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--accent-deep); font-size: .76rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 30px; height: 2px; background: currentColor; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; color: rgba(255,255,255,.72); font-size: .82rem; }
.breadcrumb a { color: rgba(255,255,255,.72); }
.breadcrumb a:hover { color: #fff; }

.detail-hero { padding: 44px 0 30px; }
.hero-shell { overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(390px, .98fr); min-height: 570px; border-radius: 34px; background: linear-gradient(135deg, #0f2a36 0%, #154a60 62%, #1e718e 100%); box-shadow: var(--shadow-lg); }
.hero-copy { position: relative; z-index: 1; padding: clamp(32px, 5vw, 64px); color: #fff; }
.hero-copy .eyebrow { color: #bfeeff; }
.hero-copy h1 { max-width: 12ch; margin: 16px 0 18px; font-size: clamp(2.6rem, 6vw, 5.2rem); line-height: .94; letter-spacing: -.055em; }
.hero-copy h1.overview-title { max-width: 100%; font-size: clamp(2.6rem, 4.4vw, 4rem); letter-spacing: -.045em; }
.hero-copy > p { max-width: 620px; margin: 0 0 26px; color: rgba(255,255,255,.86); font-size: 1.05rem; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .btn-outline { color: #fff; border-color: rgba(255,255,255,.65); background: rgba(255,255,255,.08); }
.hero-media { min-height: 420px; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

.quick-strip { padding: 0 0 44px; }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.quick-card { padding: 20px; border: 1px solid #d9e5e9; border-radius: var(--radius-lg); background: rgba(255,255,255,.9); box-shadow: var(--shadow-md); }
.quick-card strong { display: block; margin-bottom: 6px; color: var(--accent-deep); }
.quick-card span { color: var(--muted); font-size: .9rem; }

.content-section { padding: 74px 0; }
.content-section.alt { background: rgba(255,255,255,.62); border-block: 1px solid rgba(220,226,228,.8); }
.section-heading { max-width: 760px; margin-bottom: 28px; }
.section-heading h2 { margin: 12px 0 12px; font-size: clamp(2rem, 4.2vw, 3.35rem); line-height: 1.03; letter-spacing: -.04em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.8; }
.intro-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr); gap: 24px; align-items: start; }
.story-card, .aside-card { padding: clamp(24px, 4vw, 38px); border: 1px solid #dbe5e8; border-radius: var(--radius-xl); background: #fff; box-shadow: var(--shadow-md); }
.story-card p { margin: 0 0 16px; color: var(--muted); font-size: 1rem; line-height: 1.85; }
.story-card p:last-child { margin-bottom: 0; }
.aside-card { background: linear-gradient(145deg, #eaf7fc, #fff); }
.aside-card h3 { margin: 0 0 14px; font-size: 1.35rem; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.check-list li { position: relative; padding-left: 28px; color: var(--muted); }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent-deep); font-weight: 900; }

.scope-grid, .overview-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.scope-card, .overview-card, .related-card { overflow: hidden; border: 1px solid #dce5e8; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-md); transition: transform .25s ease, box-shadow .25s ease; }
.scope-card:hover, .overview-card:hover, .related-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.scope-card { padding: 24px; }
.scope-no { display: inline-grid; place-items: center; width: 38px; height: 38px; margin-bottom: 16px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-deep); font-weight: 850; }
.scope-card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.scope-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.overview-card img, .related-card img { width: 100%; height: 210px; object-fit: cover; }
.overview-copy, .related-copy { padding: 22px; }
.overview-copy h3, .related-copy h3 { margin: 0 0 8px; font-size: 1.15rem; }
.overview-copy p, .related-copy p { margin: 0 0 14px; color: var(--muted); font-size: .9rem; }

.fit-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.fit-card { padding: 22px; border-radius: var(--radius-lg); background: linear-gradient(145deg, #103140, #1b617d); color: #fff; }
.fit-card strong { display: block; margin-bottom: 7px; }
.fit-card span { color: rgba(255,255,255,.78); font-size: .88rem; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 28px; border: 1px solid #dbe5e8; border-radius: var(--radius-xl); background: #fff; box-shadow: var(--shadow-md); counter-increment: step; }
.step::before { content: "0" counter(step); display: block; margin-bottom: 24px; color: var(--accent); font-size: 2.15rem; font-weight: 850; line-height: 1; }
.step h3 { margin: 0 0 9px; }
.step p { margin: 0; color: var(--muted); font-size: .92rem; }

.faq-layout { display: grid; grid-template-columns: 340px minmax(0,1fr); gap: 24px; align-items: start; }
.faq-intro { padding: 28px; border-radius: var(--radius-xl); background: linear-gradient(145deg, #0f2a36, #1d6580); color: #fff; }
.faq-intro h3 { margin: 0 0 12px; font-size: 1.45rem; }
.faq-intro p { color: rgba(255,255,255,.82); }
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid #dbe5e8; border-radius: var(--radius-lg); background: #fff; overflow: hidden; }
.faq-toggle { width: 100%; display: flex; justify-content: space-between; gap: 18px; padding: 20px 22px; border: 0; background: transparent; color: var(--ink); text-align: left; font: inherit; font-weight: 750; cursor: pointer; }
.faq-icon { color: var(--accent-deep); font-size: 1.3rem; transition: transform .2s ease; }
.faq-item.is-open .faq-icon { transform: rotate(45deg); }
.faq-content { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq-content-inner { padding: 0 22px 22px; color: var(--muted); font-size: .92rem; }

.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.related-card img { height: 150px; }
.cta-section { padding: 22px 0 86px; }
.cta-shell { position: relative; overflow: hidden; display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; padding: clamp(28px, 5vw, 48px); border-radius: 32px; background: linear-gradient(126deg, #0f2a36, #143d4f 50%, #1f5f78); color: #fff; box-shadow: var(--shadow-lg); }
.cta-copy { max-width: 760px; }
.cta-copy h2 { max-width: 20ch; margin: 10px 0 12px; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.04; }
.cta-copy p { margin: 0; color: rgba(255,255,255,.82); }
.cta-actions { display: flex; flex-direction: column; gap: 10px; min-width: 200px; }
.cta-actions .btn { background: #fff; color: #103140; box-shadow: none; }

footer { background: #f6f4f0; border-top: 1px solid var(--line); }
.footer-top { max-width: 1280px; margin: 0 auto; padding: 70px 32px 28px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; align-items: start; }
.footer-brand p, .footer-col li, .footer-bottom-wrap, .nl-note { color: #4c4944; }
.footer-brand p { max-width: 340px; margin-bottom: 16px; font-size: .95rem; }
.nl-row { display: flex; gap: 10px; margin-bottom: 12px; }
.nl-row input { flex: 1; min-width: 0; padding: 13px 14px; border: 1px solid #d6d2cb; border-radius: 10px; background: #fff; font-size: .95rem; }
.nl-row button { padding: 0 18px; border: 0; border-radius: 10px; background: var(--accent); color: #fff; font-weight: 700; }
.nl-note { max-width: 360px; font-size: .8rem; }
.footer-col h4 { margin: 0 0 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a:hover { opacity: .7; }
.footer-bottom-wrap { max-width: 1280px; margin: 0 auto; padding: 22px 32px 34px; border-top: 1px solid #e1dbd4; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.footer-legal { display: grid; gap: 10px; text-align: right; }
.footer-legal-row { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }

@media (max-width: 980px) {
  .hero-shell, .intro-layout, .faq-layout { grid-template-columns: 1fr; }
  .hero-media { min-height: 390px; order: -1; }
  .hero-copy h1 { max-width: none; }
  .hero-copy h1.overview-title { font-size: clamp(2.4rem, 9vw, 3.35rem); }
  .scope-grid, .overview-grid, .related-grid, .steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .fit-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .faq-intro { position: static; }
}

@media (max-width: 860px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom-wrap, .cta-shell { flex-direction: column; align-items: flex-start; }
  .footer-legal, .footer-legal-row { text-align: left; justify-content: flex-start; }
}

@media (max-width: 620px) {
  .section-frame { width: calc(100% - 28px); }
  .detail-hero { padding-top: 22px; }
  .hero-shell { border-radius: 22px; }
  .hero-media { min-height: 260px; }
  .hero-copy { padding: 26px 22px 30px; }
  .hero-copy h1 { font-size: clamp(2.25rem, 12vw, 3.5rem); }
  .quick-grid, .scope-grid, .overview-grid, .related-grid, .steps, .fit-grid { grid-template-columns: 1fr; }
  .content-section { padding: 58px 0; }
  .footer-top, .footer-bottom-wrap { padding-left: 20px; padding-right: 20px; }
  .overview-card img { height: 190px; }
  .cta-actions { width: 100%; }
}
