@import url("./plomberie-reference.css");

:root {
  --primary: #315b50;
  --primary-dark: #23473e;
  --primary-light: #487466;
  --secondary: #d7e7df;
  --secondary-light: #edf4ef;
  --accent: #d48758;
  --text-dark: #1e302c;
  --text-body: #394944;
  --text-muted: #63716a;
  --bg: #fffefa;
  --bg-light: #f2f5f0;
  --bg-alt: #f5f4ee;
  --bg-gray: #f8f8f4;
  --border: #dce2dc;
  --border-light: #e9ede8;
  --shadow-sm: 0 2px 8px rgba(27, 57, 48, 0.07);
  --shadow-md: 0 10px 28px rgba(20, 48, 40, 0.12);
  --shadow-lg: 0 18px 42px rgba(20, 48, 40, 0.18);
  --container: 1220px;
  --font-main: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

html { scroll-behavior: smooth; }
body { background: var(--bg); }
a { text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid #23473e;
  outline-offset: 3px;
}
.container { width: min(100% - 40px, var(--container)); padding: 0; }
.site-header { position: sticky; top: 0; background: rgba(255, 254, 250, .97); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(35, 71, 62, .09); }
.header-inner { height: 74px; }
#form-title { scroll-margin-top: 78px; }
#communes, #types-projets, #parcours, #zone { scroll-margin-top: 88px; }
[hidden] { display: none !important; }
.logo { gap: 10px; color: var(--primary); font-size: .87rem; font-weight: 800; letter-spacing: .09em; }
.logo svg { width: 36px; height: 36px; }
.logo span { color: var(--text-dark); }
.nav-links { gap: clamp(14px, 2vw, 28px); }
.nav-links a { font-size: .85rem; font-weight: 650; }
.nav-links a:not(.nav-cta) { text-decoration: none; }
.nav-links a:not(.nav-cta):hover { color: var(--primary); text-decoration: underline; text-underline-offset: 6px; }
.nav-cta { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; border-radius: 7px !important; padding: 10px 17px !important; background: var(--accent) !important; color: var(--text-dark) !important; font-weight: 800 !important; }
.nav-cta:hover { background: #e0996e !important; color: var(--text-dark) !important; }
.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px;
  border: 1px solid #87958c;
  border-radius: 8px;
  background: var(--bg);
  color: var(--text-dark);
  cursor: pointer;
}
.hamburger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; }
.hero {
  position: relative;
  padding: 46px 0 50px;
  color: #fff;
  background: linear-gradient(118deg, #173a33 0%, #214b40 60%, #315c4f 100%);
  isolation: isolate;
  overflow: hidden;
}
.hero::before {
  inset: 0 auto 0 0;
  width: 56%;
  height: 100%;
  background: url("/assets/img/topography.svg") left center / cover no-repeat;
  opacity: .2;
  border-radius: 0;
  z-index: -1;
}
.hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(470px, .98fr);
  align-items: start;
  gap: clamp(38px, 5.4vw, 72px);
}
.hero-copy { max-width: 600px; position: relative; padding-top: 15px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin-bottom: 19px;
  color: #f0c19d;
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero-badge::before { content: ""; width: 24px; height: 1px; background: var(--accent); }
.hero h1 { max-width: 620px; font-family: var(--font-heading); font-size: clamp(2.8rem, 4.4vw, 4.2rem); font-weight: 500; line-height: 1.02; letter-spacing: -.035em; margin-bottom: 18px; }
.hero-copy > p { max-width: 550px; margin-bottom: 26px; color: rgba(255,255,255,.88); font-size: 1.02rem; line-height: 1.62; }
.hero-path {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 590px;
  margin-top: 32px;
  color: rgba(255,255,255,.88);
  font-size: .78rem;
}
.hero-path span { display: flex; align-items: flex-start; gap: 9px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.3); line-height: 1.35; }
.hero-path b { color: #f0c19d; font-size: .66rem; letter-spacing: .08em; }
.hero-form-card { width: 100%; max-width: 620px; justify-self: end; }
.hero-note { position: relative; width: 100%; min-height: 240px; padding: 32px; border: 1px solid rgba(255,255,255,.44); border-radius: 14px; background: rgba(255,255,255,.97); box-shadow: var(--shadow-md); color: var(--text-dark); }
.hero-note-mark { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 26px; border-radius: 50%; background: var(--secondary-light); color: var(--primary-dark); font-size: 1.1rem; font-weight: 800; }
.hero-note h2 { max-width: 380px; margin: 0 0 11px; color: var(--text-dark); font-family: var(--font-heading); font-size: 1.75rem; font-weight: 600; line-height: 1.14; }
.hero-note p { max-width: 450px; margin: 0; color: var(--text-body); font-size: .92rem; line-height: 1.6; }
.form-container {
  margin: 0;
  padding: 22px 24px 20px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 15px;
  box-shadow: 0 24px 56px rgba(8, 31, 25, .25);
}
.form-container-header {
  margin: -22px -24px 14px;
  padding: 17px 24px 14px;
  background: #f4f2eb;
  border-bottom: 1px solid var(--border-light);
  border-radius: 15px 15px 0 0;
  color: var(--text-dark);
}
.hero.hero--form .hero-form-card .form-container-header,
.hero.hero--form .hero-form-card .form-container-header * {
  background: #f4f2eb;
  color: var(--text-dark);
}
.form-container-header h2 { color: var(--text-dark); font-family: var(--font-heading); font-size: 1.35rem; font-weight: 600; line-height: 1.15; margin: 0; }
.lead-form { display: grid; gap: 8px; }
.form-fields { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 7px 12px; }
.field { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.field label { color: #253b34; font-size: .78rem; line-height: 1.25; font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 44px; padding: 9px 10px;
  border: 1px solid #87958c; border-radius: 7px; background: #fff;
  color: var(--text-dark); font: 400 .88rem/1.3 var(--font-main);
}
.field textarea { min-height: 54px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-muted); }
.field--commune, .field--format, .form-optional { grid-column: 1 / -1; }
.field--description, .field--email { grid-column: 1 / -1; }
.field--description { display: flex; }
.form-optional { min-width: 0; border-top: 1px solid var(--border); padding-top: 4px; }
.form-optional > summary { display: flex; min-height: 44px; align-items: center; justify-content: space-between; gap: 12px; color: #253b34; font-size: .84rem; line-height: 1.35; font-weight: 700; cursor: pointer; list-style: none; }
.form-optional > summary::-webkit-details-marker { display: none; }
.form-optional > summary::after { content: "+"; display: grid; flex: 0 0 26px; width: 26px; height: 26px; place-items: center; border: 1px solid var(--border); border-radius: 50%; color: var(--primary-dark); font-size: 1rem; }
.form-optional[open] > summary::after { content: "−"; }
.optional-fields { display: grid; gap: 9px; padding: 7px 0 2px; }
.field--website {
  position: absolute !important; width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important; overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important;
}
.privacy-line { margin: 0; color: #56655f; font-size: .76rem; line-height: 1.38; }
.privacy-line a { color: var(--primary-dark); font-weight: 700; text-decoration: underline; }
.form-status { min-height: 18px; margin: -4px 0 0; color: #344a42; font-size: .78rem; line-height: 1.35; }
.form-status:empty { display: none; }
.form-status[data-state="error"] { color: #8b2e27; }
.form-status[data-state="success"] { color: #1c684d; }
.lead-submit {
  display: inline-flex; width: 100%; min-height: 46px; justify-content: center; align-items: center;
  border: 0; border-radius: 8px; background: var(--accent); color: var(--text-dark);
  font: 700 .94rem/1.2 var(--font-main); cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}
.lead-submit:hover:not(:disabled) { background: #e0996e; transform: translateY(-1px); }
.lead-submit:disabled { cursor: not-allowed; background: #ead5c1; color: var(--text-dark); opacity: 1; }
.form-local-note { margin: 7px 0 0; color: #6c7872; font-size: .76rem; line-height: 1.35; }
.section { padding: 78px 0; }
.section--soft { background: var(--bg-alt); }
.section-heading { max-width: 720px; margin: 0 auto 28px; text-align: center; }
.section-heading h2 { margin-bottom: 10px; font-family: var(--font-heading); font-size: clamp(1.9rem, 3vw, 2.55rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.1; }
.section-heading p { margin: 0; color: var(--text-muted); }
.grid-three { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.content-card, .tool-card, .city-card, .notice-card {
  border: 1px solid var(--border); border-radius: 14px; background: #fff;
  box-shadow: var(--shadow-sm);
}
.faq-list { max-width: 850px; margin: 0 auto; display: grid; gap: 9px; }
.faq-list details { border: 1px solid var(--border); border-radius: 10px; background: #fff; padding: 13px 16px; }
.faq-list summary { color: var(--text-dark); font-weight: 700; cursor: pointer; }
.faq-list details p { margin: 10px 0 0; color: var(--text-muted); font-size: .9rem; }
.content-card { padding: 22px; }
.content-card h3, .tool-card h3 { margin: 0 0 8px; font-size: 1.03rem; }
.content-card p, .tool-card p { margin: 0; color: var(--text-muted); font-size: .92rem; }
.step-number { color: #87503c; font-size: .76rem; font-weight: 800; letter-spacing: .08em; }
.two-column { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 24px; align-items: start; }
.prose { max-width: 790px; }
.prose h2 { margin: 28px 0 10px; }
.prose h3 { margin: 22px 0 8px; }
.prose p, .prose li { color: var(--text-body); }
.prose ul { list-style: disc; padding-left: 1.25rem; margin-bottom: 16px; }
.prose li + li { margin-top: 5px; }
.callout, .review-note {
  border: 1px solid #dfc3a7; border-left: 4px solid var(--accent); border-radius: 9px;
  background: #fff8f0; padding: 14px 16px; color: #583c2b;
}
.callout p, .review-note p { margin: 0; font-size: .9rem; }
.city-directory { columns: 4 180px; column-gap: 24px; }
.observatory-directory { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px 24px; }
.city-directory-group { break-inside: avoid; margin: 0 0 20px; }
.city-directory-group h3 { font-size: .95rem; margin: 0 0 6px; }
.city-directory-group ul { display: grid; grid-template-columns: 1fr; gap: 3px; margin: 0; padding: 0; list-style: none; }
.city-directory a { color: #385b50; font-size: .82rem; }
.observatory-directory a { color: #385b50; font-size: .82rem; }
.city-directory a:hover { text-decoration: underline; }
.city-meta { margin: 0 0 14px; color: rgba(255,255,255,.76); font-size: .76rem; }
.breadcrumb { padding-top: 17px; color: var(--text-muted); font-size: .76rem; }
.breadcrumb a { color: inherit; }
.tool-card { display: block; padding: 22px; color: inherit; transition: transform .18s ease, box-shadow .18s ease; }
.tool-card:hover { color: inherit; transform: translateY(-3px); box-shadow: var(--shadow-md); }
.tool-panel { max-width: 820px; padding: 24px; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-sm); }
.tool-panel label { display: block; margin-bottom: 6px; font-weight: 700; font-size: .88rem; }
.tool-panel input, .tool-panel select, .tool-panel textarea { width: 100%; padding: 10px 12px; margin-bottom: 14px; border: 1px solid var(--border); border-radius: 7px; font: inherit; }
.tool-panel button, .tool-button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 9px 15px; border: 0; border-radius: 7px; background: var(--primary); color: white; font: 700 .88rem var(--font-main); cursor: pointer; }
.tool-panel button.secondary { background: #edf2ee; color: var(--primary-dark); border: 1px solid #cbd7d0; }
.tool-panel button:disabled { opacity: .55; cursor: not-allowed; }
.tool-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 20px; }
.tool-output { min-height: 56px; padding: 12px; background: var(--bg-light); border-radius: 8px; white-space: pre-wrap; }
.local-resource-selector { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--border); }
.local-resource-selector h2 { margin: 0 0 9px; font-size: 1.15rem; }
.local-resource-display { display: grid; gap: 12px; }
.local-resource-card { padding: 16px; border: 1px solid var(--border); border-radius: 9px; background: #f8faf7; }
.local-resource-card h3 { margin: 0 0 8px; font-size: 1rem; }
.local-resource-card p { color: var(--text-body); }
.local-resource-card ul { margin: 8px 0 0; padding-left: 1.2rem; }
.local-resource-card a { color: var(--primary-dark); text-decoration: underline; text-underline-offset: 2px; }
.local-resource-templates[hidden] { display: none !important; }
.footer { padding: 48px 0 24px; background: #18332e; color: rgba(255,255,255,.78); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.footer h2, .footer h3 { color: #fff; font-size: .91rem; margin: 0 0 10px; }
.footer p, .footer a { color: rgba(255,255,255,.76); font-size: .81rem; }
.footer ul { display: grid; gap: 7px; }
.footer-bottom { margin-top: 22px; padding-top: 15px; border-top: 1px solid rgba(255,255,255,.16); }
.footer-bottom p { margin: 0; font-size: .76rem; }
.empty-state { padding: 22px; border: 1px dashed #b6c4ba; border-radius: 12px; background: #f8faf7; }
.checklist { display: grid; gap: 10px; }
.checklist label { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; }
.checklist input { width: auto; margin: 4px 0 0; }
.budget-row { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(130px,.65fr) auto; gap: 12px; align-items: end; padding: 12px 0; border-bottom: 1px solid #e3e8e4; }
.budget-remove { white-space: nowrap; }
.budget-total { font-weight: 800; color: var(--primary-dark); font-size: 1.2rem; }
.status-list { display: grid; gap: 8px; margin-top: 14px; }
.status-list div { display: flex; align-items: center; gap: 9px; color: #dbe9e2; font-size: .8rem; }
.status-list span { width: 7px; height: 7px; border-radius: 50%; background: #e1a475; }
.no-script-note { margin: 10px 0 0; color: #7c3c24; font-size: .8rem; }
.visually-hidden {
  position: absolute !important; width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important; overflow: hidden !important;
  clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important;
}
.territory-section :focus-visible, .final-cta :focus-visible, .footer :focus-visible { outline-color: #fff; }
.btn-primary { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 11px 18px; border: 0; border-radius: 7px; background: var(--accent); color: var(--text-dark); font-weight: 800; text-decoration: none; transition: background .18s ease, transform .18s ease; }
.btn-primary:hover { background: #e0996e; color: var(--text-dark); transform: translateY(-1px); }
.btn-secondary { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 10px 17px; border: 1px solid var(--primary); border-radius: 7px; background: transparent; color: var(--primary-dark); font-weight: 750; text-decoration: none; }
.breadcrumb { width: min(100% - 40px, var(--container)); margin: 0 auto; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #8a9690; }
.breadcrumb li[aria-current="page"] { color: var(--text-dark); }
.content-hero .hero-grid { align-items: center; }
.content-hero .hero-copy { padding-top: 0; }
.content-hero .hero-note { min-height: 0; }
.content-hero .hero-note-mark { margin-bottom: 16px; }
.content-hero .hero-note-action { margin-top: 18px; }
.editorial-card-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.editorial-card { display: flex; flex-direction: column; min-width: 0; padding: 22px; color: inherit; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.editorial-card:hover { color: inherit; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.editorial-card .section-kicker { margin-bottom: 8px; }
.editorial-card h2, .editorial-card h3 { margin: 0 0 9px; color: var(--text-dark); font-family: var(--font-heading); font-size: 1.3rem; line-height: 1.2; }
.editorial-card p { flex: 1; margin: 0 0 14px; color: var(--text-muted); line-height: 1.55; }
.editorial-card .text-link { color: var(--primary-dark); font-size: .86rem; font-weight: 750; }
.editorial-section { padding-top: 52px; padding-bottom: 52px; }
.editorial-section:nth-of-type(even) { background: var(--bg-alt); }
.editorial-content { max-width: 840px; margin: 0 auto; }
.editorial-content h2:first-child { margin-top: 0; }
.editorial-content p, .editorial-content li { line-height: 1.72; }
.editorial-content .editorial-table-wrap { margin: 18px 0; }
.editorial-callout { margin: 20px 0; padding: 16px 18px; border-left: 4px solid var(--accent); border-radius: 0 9px 9px 0; background: #fff8f0; color: #583c2b; }
.editorial-callout p { margin: 0; }
.editorial-sources, .editorial-related { margin-top: 20px; padding: 16px 18px; border: 1px solid var(--border); border-radius: 9px; background: #fff; }
.editorial-sources h3, .editorial-related h3 { margin: 0 0 8px; font-family: var(--font-main); font-size: .92rem; }
.editorial-sources ul, .editorial-related ul { margin: 0; padding-left: 1.2rem; }
.editorial-sources a, .editorial-related a { color: var(--primary-dark); }
.editorial-sources .source-note { margin-top: 10px; }
.editorial-table-wrap, .comparison-scroll { width: 100%; max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; border: 1px solid var(--border); border-radius: 9px; background: #fff; }
.table-scroll-hint { margin: 9px 0 6px; color: var(--text-muted); font-size: .78rem; line-height: 1.45; }
.editorial-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: .9rem; }
.editorial-table th, .editorial-table td { padding: 11px 13px; border-bottom: 1px solid var(--border-light); text-align: left; vertical-align: top; }
.editorial-table thead th { background: var(--bg-light); color: var(--text-dark); font-weight: 800; }
.editorial-table tbody th { color: var(--text-dark); font-weight: 700; }
.editorial-table tr:last-child th, .editorial-table tr:last-child td { border-bottom: 0; }
.observatory-cards { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.observatory-cards .content-card { min-width: 0; }
.metric-number { margin: 2px 0 7px !important; color: var(--primary-dark) !important; font-family: var(--font-heading); font-size: clamp(1.65rem, 3vw, 2.2rem) !important; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.metric-bars { display: grid; gap: 18px; max-width: 850px; margin: 0 auto 16px; }
.metric-bar-row { display: grid; gap: 8px; }
.metric-bar-row > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 14px; color: var(--text-body); font-size: .9rem; }
.metric-bar-row > div span { color: var(--text-muted); font-variant-numeric: tabular-nums; }
.metric-bar-track { display: block; height: 13px; overflow: hidden; border-radius: 99px; background: #e9eeea; }
.metric-bar-track i { display: block; height: 100%; border-radius: inherit; background: var(--primary); }
.metric-bars figcaption { margin-top: 3px; }
.budget-row { grid-template-columns: minmax(0,1.15fr) minmax(120px,.65fr) minmax(110px,.45fr) auto; }
.budget-row-summary { display: grid; gap: 4px; padding-bottom: 14px; color: var(--text-muted); font-size: .78rem; }
.budget-row-summary output { color: var(--primary-dark); font-size: .88rem; font-weight: 750; font-variant-numeric: tabular-nums; }
.budget-available, .budget-reserve { max-width: 390px; margin: 20px 0; padding: 16px; border: 1px solid var(--border); border-radius: 9px; background: var(--bg-light); }
.budget-available p, .budget-reserve p { margin: 0; color: var(--text-muted); font-size: .82rem; line-height: 1.5; }
.budget-envelope-result { padding-top: 8px; border-top: 1px solid var(--border); font-weight: 700; }
.budget-totals { max-width: 550px; margin: 20px 0; padding: 14px 17px; border-left: 4px solid var(--primary); background: var(--bg-light); }
.budget-totals p { margin: 3px 0; }
.budget-totals output { font-variant-numeric: tabular-nums; font-weight: 700; }
.budget-print-recap { display: none; }
.budget-print-table { width: 100%; margin: 18px 0; border-collapse: collapse; text-align: left; }
.budget-print-table caption { margin-bottom: 8px; text-align: left; font-weight: 800; }
.budget-print-table th, .budget-print-table td { padding: 8px 10px; border: 1px solid #cbd5ce; }
.budget-print-summary { display: grid; grid-template-columns: minmax(200px,.45fr) 1fr; gap: 8px 14px; margin: 18px 0 0; }
.budget-print-summary dt { font-weight: 800; }
.budget-print-summary dd { margin: 0; overflow-wrap: anywhere; }
.comparison-scroll { margin: 18px 0; }
.comparison-table { width: 100%; min-width: 1000px; border-collapse: collapse; font-size: .82rem; }
.comparison-table th, .comparison-table td { width: 23%; padding: 12px; border-right: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); text-align: left; vertical-align: top; }
.comparison-table th:first-child { width: 22%; min-width: 210px; }
.comparison-table thead th { background: var(--bg-light); color: var(--text-dark); }
.comparison-table thead th > span { display: block; margin-top: 4px; color: var(--primary-dark); font-size: .76rem; line-height: 1.5; font-variant-numeric: tabular-nums; }
.comparison-table tbody th { background: #fbfcfa; }
.comparison-table label { font-size: .78rem; }
.comparison-table button { min-height: 34px; padding: 6px 9px; font-size: .75rem; }
.comparison-feedback { margin: 12px 0; padding: 12px 14px; border-radius: 8px; background: var(--bg-light); color: var(--text-body); }
.prep-memo-output h3 { margin: 0 0 12px; font-family: var(--font-heading); }
.prep-memo-output dl { display: grid; grid-template-columns: minmax(130px,.3fr) 1fr; gap: 8px 14px; margin: 0; white-space: normal; }
.prep-memo-output dt { font-weight: 800; }
.prep-memo-output dd { margin: 0; overflow-wrap: anywhere; }
.print-project-memo .site-header, .print-project-memo main > :not(.section), .print-project-memo .section > .container > :not(.tool-panel), .print-project-memo .tool-panel > :not([data-print-region]), .print-project-memo .footer { display: none !important; }
.print-budget-recap > :not(main) { display: none !important; }
.print-budget-recap .site-header, .print-budget-recap main > :not(.section), .print-budget-recap .section > .container > :not(.tool-panel), .print-budget-recap .tool-panel > :not([data-budget-print-region]), .print-budget-recap .footer { display: none !important; }
@media print {
  body.print-project-memo * { visibility: hidden !important; }
  body.print-project-memo [data-print-region], body.print-project-memo [data-print-region] * { visibility: visible !important; }
  body.print-project-memo [data-print-region] { position: absolute; inset: 0; width: 100%; padding: 24px; background: #fff; }
  body.print-budget-recap * { visibility: hidden !important; }
  body.print-budget-recap [data-budget-print-region], body.print-budget-recap [data-budget-print-region] * { visibility: visible !important; }
  body.print-budget-recap main, body.print-budget-recap main > .section, body.print-budget-recap .section > .container, body.print-budget-recap .tool-panel { display: block !important; width: auto; max-width: none; margin: 0; padding: 0; border: 0; background: #fff; box-shadow: none; }
  body.print-budget-recap [data-budget-print-region] { display: block !important; position: static; width: auto; margin: 0; padding: 0; background: #fff; color: #111; }
  body.print-budget-recap .budget-print-summary { grid-template-columns: minmax(200px,.45fr) 1fr; }
}
.section-kicker { display: block; margin-bottom: 14px; color: #87503c; font-size: .69rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.section--projects .section-heading { margin-left: 0; text-align: left; }
.project-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.project-card { display: flex; min-height: 202px; flex-direction: column; padding: 20px; border: 1px solid var(--border); border-radius: 12px; background: #fff; color: inherit; text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.project-card:hover { transform: translateY(-3px); border-color: #9bafa4; box-shadow: var(--shadow-md); }
.project-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-color: #9bafa4; }
.project-icon { display: grid; place-items: center; width: 45px; height: 45px; margin-bottom: 17px; border: 1px solid #d5e2db; border-radius: 11px; background: #f0f5f1; color: var(--primary-dark); }
.project-icon svg { display: block; width: 31px; height: 31px; }
.project-card h3 { min-height: 2.7em; margin: 0 0 11px; color: var(--text-dark); font-family: var(--font-heading); font-size: 1.14rem; font-weight: 650; line-height: 1.18; }
.project-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.project-tags span { padding: 4px 7px; border-radius: 4px; background: #f4f2eb; color: #52615b; font-size: .68rem; font-weight: 650; line-height: 1.2; }
.project-card-action { display: flex; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; color: var(--primary-dark); font-size: .76rem; font-weight: 800; }
.reassurance-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.reassurance-grid article { padding: 8px 20px 8px 0; border-top: 1px solid #cbd5ce; }
.reassurance-mark { display: block; margin: 15px 0 24px; color: #87503c; font-size: .7rem; font-weight: 850; letter-spacing: .12em; }
.reassurance-grid h3 { margin: 0 0 8px; color: var(--text-dark); font-family: var(--font-heading); font-size: 1.35rem; font-weight: 650; }
.reassurance-grid p { max-width: 330px; margin: 0; color: var(--text-muted); font-size: .9rem; line-height: 1.55; }
.territory-section { position: relative; overflow: hidden; padding: 72px 0; background: #1d463c; color: #fff; isolation: isolate; }
.territory-section::before { position: absolute; inset: 0 0 0 auto; width: 47%; content: ""; background: url("/assets/img/topography.svg") center / cover no-repeat; opacity: .22; z-index: -1; }
.territory-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); align-items: center; gap: 56px; }
.territory-layout h2 { max-width: 680px; margin: 0 0 18px; color: #fff; font-family: var(--font-heading); font-size: clamp(2.1rem, 4vw, 3.4rem); font-weight: 500; line-height: 1.05; letter-spacing: -.025em; }
.territory-layout p { max-width: 600px; margin: 0 0 23px; color: rgba(255,255,255,.84); line-height: 1.6; }
.territory-section .section-kicker { color: #f0c19d; }
.text-link { font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.text-link--light { color: #fff; }
.territory-stamp { display: grid; gap: 13px; max-width: 360px; justify-self: center; padding: 26px 30px; border: 1px solid rgba(255,255,255,.5); border-radius: 2px; background: rgba(255,255,255,.04); color: #fff; text-align: center; letter-spacing: .13em; font-size: .77rem; font-weight: 800; }
.territory-stamp i { display: block; width: 1px; height: 34px; justify-self: center; background: #e1a475; }
.territory-stamp small { color: #eac6a8; font-size: .62rem; letter-spacing: .2em; }
.faq-list details { padding: 17px 20px; border-radius: 7px; }
.faq-list summary { padding-right: 26px; font-size: .94rem; line-height: 1.45; }
.faq-list details p { line-height: 1.6; }
.final-cta { padding: 76px 0; background: #18332e; color: #fff; }
.final-cta-copy { max-width: 780px; }
.final-cta-copy .section-kicker { color: #f0c19d; }
.final-cta-copy h2 { margin: 0 0 13px; color: #fff; font-family: var(--font-heading); font-size: clamp(2.1rem, 3.8vw, 3.2rem); font-weight: 500; line-height: 1.08; }
.final-cta-copy p { max-width: 620px; margin: 0 0 23px; color: rgba(255,255,255,.82); line-height: 1.6; }
.territory-section .text-link:focus-visible { outline-color: #fff; }
.limits-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.limits-grid p { margin: 0; padding: 18px; border: 1px solid var(--border); border-radius: 10px; background: #fff; color: var(--text-body); font-size: .91rem; line-height: 1.55; }
.limits-grid strong { color: var(--text-dark); }
.directory-note { max-width: 850px; margin: 0 auto 24px; color: var(--text-muted); text-align: center; line-height: 1.6; }
.city-directory { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px 18px; margin: 0; padding: 0; list-style: none; }
.city-directory li { min-width: 0; }
.city-directory a { display: inline-flex; min-height: 34px; align-items: center; color: var(--primary-dark); font-size: .84rem; text-underline-offset: 4px; }
.city-directory a:hover { color: #87503c; }
.local-fact-card, .coverage-card, .process-note { padding: 24px; border: 1px solid var(--border); border-radius: 10px; background: #fff; }
.local-fact-copy { margin: 0 0 12px; color: var(--text-dark); font-size: 1.1rem; line-height: 1.6; }
.source-note { margin: 8px 0 0; color: var(--text-muted); font-size: .83rem; line-height: 1.5; }
.coverage-card p { margin: 0 0 8px; color: var(--text-body); line-height: 1.6; }
.coverage-card p:last-child { margin-bottom: 0; }
.process-note { border-left: 4px solid var(--accent); background: #f7f3ea; }
.process-note p { margin: 0; color: var(--text-body); line-height: 1.65; }
.process-cta { margin: 28px 0 0; }
.legal-alert { margin: 0 0 28px; padding: 18px 20px; border-left: 4px solid var(--accent); background: #fff7ed; color: #4b3a2d; line-height: 1.6; }
.legal-alert strong { display: block; margin-bottom: 4px; color: #392b20; }
.legal-alert + .prose { max-width: 900px; }
.confirmation-hero .hero-copy { padding-top: 20px; }
.confirmation-hero .hero-note { align-self: start; }
@media (max-width: 900px) {
  .container { width: min(100% - 32px, var(--container)); }
  .header-inner { height: 66px; gap: 8px; }
  .nav-links { display: flex; flex: 0 0 auto; gap: 11px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: calc(100% + 1px);
    left: 14px;
    right: 14px;
    padding: 10px 12px 12px;
    gap: 4px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    z-index: 99;
  }
  .nav-links.open a:not(.nav-cta) { display: flex; align-items: center; min-height: 44px; padding: 10px 8px; border-bottom: 1px solid var(--border); color: var(--text-dark); }
  .nav-links.open .nav-cta { width: 100%; text-align: center; }
  .hero { padding: 34px 0 36px; }
  .hero::before { width: 100%; opacity: .13; }
  .hero-grid { grid-template-columns: minmax(0,1fr); gap: 23px; }
  .hero-copy { max-width: 700px; padding-top: 0; }
  .hero h1 { max-width: 650px; font-size: clamp(2.3rem, 6vw, 3.2rem); margin-bottom: 11px; }
  .hero-copy > p { max-width: 680px; margin-bottom: 13px; font-size: .95rem; line-height: 1.52; }
  .hero-path { max-width: 620px; margin-top: 18px; font-size: .76rem; }
  .hero-form-card { justify-self: stretch; max-width: none; }
  .hero-note { min-height: 0; padding: 25px; }
  .hero-note-mark { margin-bottom: 18px; }
  .grid-three { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .two-column { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .project-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .reassurance-grid { grid-template-columns: 1fr; gap: 12px; }
  .reassurance-grid article { padding-right: 0; }
  .reassurance-mark { margin: 12px 0 14px; }
  .territory-layout { grid-template-columns: 1fr; gap: 28px; }
  .territory-stamp { justify-self: start; width: min(100%,360px); }
  .limits-grid { grid-template-columns: 1fr; }
  .city-directory { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .observatory-directory { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .editorial-card-grid, .observatory-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .budget-row { grid-template-columns: minmax(0,1fr) minmax(120px,.7fr); }
  .budget-row-summary { grid-column: 1; }
  .budget-remove { grid-column: 2; justify-self: start; }
}
@media (max-width: 480px) {
  .container { width: min(100% - 28px, var(--container)); }
  .header-inner { height: 60px; }
  .logo { flex: 0 0 auto; gap: 6px; font-size: .72rem; white-space: nowrap; }
  .logo svg { width: 28px; height: 28px; }
  .logo span { max-width: none; overflow: visible; text-overflow: clip; white-space: nowrap; font-size: .72rem; }
  .nav-links { gap: 8px; }
  .nav-links { display: none; }
  .nav-links .nav-cta { padding: 8px 10px !important; font-size: .72rem !important; white-space: nowrap; }
  .hero { padding: 27px 0 29px; }
  .hero--form { padding: 18px 0 20px; }
  .hero--form .hero-grid { gap: 10px; }
  .hero-badge { margin-bottom: 13px; font-size: .63rem; letter-spacing: .12em; }
  .hero-badge::before { width: 17px; }
  .hero h1 { max-width: 390px; font-size: clamp(2.15rem, 9.2vw, 2.55rem); letter-spacing: -.035em; }
  .hero-copy > p { font-size: .9rem; line-height: 1.5; margin-bottom: 8px; }
  .hero-path { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin-top: 16px; font-size: .68rem; }
  .hero-path span { gap: 6px; padding-top: 8px; }
  .hero-path b { font-size: .6rem; }
  .hero--form .hero-path { display: none; }
  .form-container { padding: 17px 14px 15px; border-radius: 13px; }
  .form-container-header { margin: -17px -14px 13px; padding: 13px 14px 11px; border-radius: 13px 13px 0 0; }
  .form-container-header h2 { font-size: 1.18rem; }
  .lead-form { gap: 5px; }
  .form-fields { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px; }
  .field--work-type { grid-column: 1 / -1; }
  .grid-three { grid-template-columns: 1fr; }
  .field label { font-size: .79rem; }
  .field input, .field select { min-height: 46px; padding: 9px 10px; font-size: .88rem; }
  .field textarea { min-height: 72px; font-size: .88rem; }
  .privacy-line { font-size: .75rem; line-height: 1.45; }
  .form-status { font-size: .76rem; min-height: 16px; }
  .lead-submit { min-height: 48px; font-size: .9rem; }
  .section { padding: 48px 0; }
  .section-heading { margin-bottom: 21px; }
  .section--projects .section-heading { margin-bottom: 23px; }
  .project-grid { grid-template-columns: 1fr; gap: 10px; }
  .project-card { min-height: 0; display: grid; grid-template-columns: 46px 1fr; column-gap: 14px; align-items: start; padding: 15px; }
  .project-icon { grid-row: span 2; width: 42px; height: 42px; margin: 0; }
  .project-icon svg { width: 28px; height: 28px; }
  .project-card h3 { min-height: 0; margin: 1px 0 8px; font-size: 1.05rem; }
  .project-tags { grid-column: 2; }
  .project-card-action { grid-column: 2; margin-top: 10px; padding-top: 9px; border-top: 1px solid #e7e9e5; }
  .territory-section { padding: 49px 0; }
  .territory-layout { gap: 25px; }
  .territory-layout h2 { font-size: 2.25rem; }
  .territory-stamp { max-width: none; padding: 20px; }
  .final-cta { padding: 52px 0; }
  .city-directory { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px 12px; }
  .observatory-directory { grid-template-columns: 1fr; gap: 6px; }
  .city-directory a { min-height: 38px; font-size: .78rem; line-height: 1.35; }
  .directory-note { text-align: left; }
  .footer-grid { grid-template-columns: 1fr; gap: 15px; }
  .editorial-card-grid, .observatory-cards { grid-template-columns: 1fr; }
  .tool-panel { padding: 17px; }
  .budget-row { grid-template-columns: minmax(0,1fr) 105px; gap: 8px; }
  .budget-row-summary, .budget-remove { grid-column: 1 / -1; justify-self: start; }
  .budget-row-summary { display: flex; gap: 9px; padding-bottom: 0; }
  .prep-memo-output dl { grid-template-columns: 1fr; gap: 3px; }
  .prep-memo-output dd { margin-bottom: 8px; }
  .budget-print-summary { grid-template-columns: 1fr; gap: 3px; }
  .budget-print-summary dd { margin-bottom: 8px; }
  .hero-note { padding: 21px; }
  .hero-note h2 { font-size: 1.5rem; }
  .local-fact-card, .coverage-card, .process-note { padding: 18px; }
}
@media (min-width: 481px) {
  .table-scroll-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
.project-evidence-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.project-evidence-photo { margin: 0; overflow: hidden; border-radius: 12px; background: #fff; box-shadow: 0 8px 28px rgba(24, 60, 53, .08); }
.project-evidence-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.project-evidence-photo figcaption { padding: 12px 15px; color: #53615c; font-size: .88rem; line-height: 1.5; }
.source-list { display: grid; gap: 8px; padding-left: 22px; }

/* Editorial visual refresh: warmer paper, clearer accents and more depth. */
.hero {
  background:
    radial-gradient(ellipse at 78% 0%, rgba(66, 133, 112, .55), transparent 36%),
    linear-gradient(122deg, #14332f 0%, #19483f 54%, #286555 100%);
}
.hero::before { opacity: .26; mix-blend-mode: screen; }
.hero-badge { color: #f5c872; }
.hero-badge::before { background: #f5c872; }
.hero-path span { border-color: rgba(255,255,255,.35); }
.hero-path b { color: #f5c872; }
.hero-visual {
  display: block;
  max-width: 610px;
  margin: 23px 0 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 14px;
  background: rgba(255,255,255,.09);
  box-shadow: 0 12px 30px rgba(8, 28, 24, .14);
}
.hero-visual img { display: block; width: 100%; height: clamp(180px, 20vw, 250px); object-fit: cover; object-position: center; }
.hero-form-card { max-width: 630px; }
.form-container { border-color: rgba(255,255,255,.95); border-radius: 18px; box-shadow: 0 25px 58px rgba(8, 30, 25, .3); }
.form-container-header { background: #f7efe1; border-color: #e7ddcb; }
.hero.hero--form .hero-form-card .form-container-header,
.hero.hero--form .hero-form-card .form-container-header * { background: #f7efe1; }
.lead-form { gap: 6px; }
.form-fields { gap: 6px 11px; }
.privacy-line { color: #4d5f58; }
.lead-submit, .btn-primary, body:not(:has(.budget-rows)) .nav-cta { background: #edaa4f !important; }
.lead-submit:hover:not(:disabled), .btn-primary:hover, body:not(:has(.budget-rows)) .nav-cta:hover { background: #f2bb68 !important; }
.lead-submit:disabled { background: #edd8b5 !important; }
.content-card, .tool-card, .city-card, .notice-card { border-radius: 16px; }
.section--soft { background: linear-gradient(135deg, #f7f1e8 0%, #f1f5ef 100%); }
.project-card {
  min-height: 218px;
  border-color: #d8ddd4;
  border-radius: 17px;
  background: linear-gradient(155deg, #fff 0%, #fbfaf5 100%);
  box-shadow: 0 6px 18px rgba(26, 57, 47, .08);
}
.project-card:hover { border-color: #6e9b8d; box-shadow: 0 16px 34px rgba(24, 65, 53, .16); }
.project-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border: 1px solid #d7e6dd;
  border-radius: 15px;
  background: linear-gradient(145deg, #e8f2eb, #dcebe2);
  color: #1e6255;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}
.project-card:nth-child(3n + 2) .project-icon { border-color: #f0d5ad; background: linear-gradient(145deg, #fff1d8, #f7e2bd); color: #87551d; }
.project-card:nth-child(3n) .project-icon { border-color: #d5dfee; background: linear-gradient(145deg, #e9eff8, #dce5f2); color: #385d83; }
.project-icon svg { width: 33px; height: 33px; }
.project-tags span { border-radius: 999px; background: #f1eee6; color: #4d5b55; }
.project-card-action { color: #1c5a4e; }
.editorial-card-grid { gap: 20px; }
.editorial-card { border-radius: 17px; box-shadow: 0 6px 18px rgba(26, 57, 47, .07); }
.editorial-card:hover { border-color: #94afa0; }
.hero-note { border-color: rgba(255,255,255,.68); border-radius: 18px; box-shadow: 0 16px 38px rgba(13, 43, 35, .14); }
.hero-note-mark { background: #fff0d4; color: #765022; }
.content-hero .hero-note { background: linear-gradient(145deg, #fffefa, #f5efe5); }
.content-hero .hero-note h2 { font-size: clamp(1.45rem, 2.2vw, 1.8rem); }
.content-hero .hero-note-action { min-height: 48px; }
.visual-feature { position: relative; padding: 58px 0; overflow: hidden; background: linear-gradient(118deg, #f7efe2 0%, #f4f5ef 100%); }
.visual-feature::before { position: absolute; top: -90px; right: -50px; width: 260px; height: 260px; border: 1px solid rgba(40,100,90,.12); border-radius: 50%; content: ""; box-shadow: 0 0 0 26px rgba(40,100,90,.035), 0 0 0 54px rgba(40,100,90,.025); }
.visual-feature-grid { position: relative; display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); align-items: center; gap: clamp(28px, 5vw, 66px); }
.visual-feature-copy { max-width: 500px; }
.visual-feature-copy .section-kicker { display: inline-block; margin-bottom: 13px; color: #9c5c31; font-size: .73rem; font-weight: 800; letter-spacing: .13em; }
.visual-feature-copy h2 { margin: 0 0 13px; color: #1b3933; font-family: var(--font-heading); font-size: clamp(1.9rem, 3.1vw, 2.65rem); line-height: 1.08; }
.visual-feature-copy p { margin: 0 0 17px; color: #43554e; line-height: 1.65; }
.visual-feature-copy .text-link { color: #1e5e51; font-weight: 800; }
.visual-feature-image { margin: 0; padding: 9px; border: 1px solid rgba(255,255,255,.8); border-radius: 22px; background: rgba(255,255,255,.72); box-shadow: 0 18px 44px rgba(42, 57, 46, .16); transform: rotate(.7deg); }
.visual-feature-image img { display: block; width: 100%; aspect-ratio: 1.5 / 1; border-radius: 15px; object-fit: cover; }
.visual-feature-image figcaption { padding: 9px 5px 2px; color: #65736c; font-size: .72rem; line-height: 1.35; }
.process-infographic { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.process-step { position: relative; min-width: 0; padding: 24px 22px 22px; border: 1px solid #e1e1d7; border-radius: 18px; background: rgba(255,255,255,.9); box-shadow: 0 8px 22px rgba(35, 62, 52, .08); }
.process-step:not(:last-child)::after { position: absolute; top: 45px; right: -24px; z-index: 2; width: 26px; border-top: 2px dashed #9aad9f; content: ""; }
.process-step-icon { display: grid; width: 54px; height: 54px; place-items: center; margin-bottom: 16px; border: 1px solid #cfdfd5; border-radius: 16px; background: #edf4ee; color: #1f6557; }
.process-step:nth-child(2) .process-step-icon { border-color: #f0d7b0; background: #fff3de; color: #8c5d20; }
.process-step:nth-child(3) .process-step-icon { border-color: #d8deeb; background: #eef1f8; color: #435f8a; }
.process-step-icon svg { width: 28px; height: 28px; }
.process-step-number { display: block; margin-bottom: 7px; color: #9b5d32; font-size: .7rem; font-weight: 850; letter-spacing: .12em; }
.process-step h3 { margin: 0 0 9px; color: #203a34; font-family: var(--font-heading); font-size: 1.25rem; line-height: 1.18; }
.process-step p { margin: 0; color: #53635c; font-size: .9rem; line-height: 1.55; }
.final-cta { background: linear-gradient(120deg, #183d37 0%, #286354 100%); }
.territory-section { background: linear-gradient(120deg, #183a35 0%, #286052 100%); }
.territory-stamp { border-radius: 18px; background: rgba(255,255,255,.07); box-shadow: 0 14px 35px rgba(5, 29, 23, .15); }

@media (max-width: 900px) {
  .hero-visual { display: none; }
  .visual-feature { padding: 44px 0; }
  .visual-feature-grid { grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); gap: 24px; }
  .process-infographic { gap: 14px; }
  .process-step { padding: 20px 17px; }
  .process-step:not(:last-child)::after { right: -16px; width: 18px; }
}
@media (max-width: 620px) {
  .visual-feature { padding: 38px 0; }
  .visual-feature-grid { grid-template-columns: 1fr; gap: 22px; }
  .visual-feature-copy { max-width: none; }
  .visual-feature-image { transform: none; }
  .process-infographic { grid-template-columns: 1fr; gap: 12px; }
  .process-step { display: grid; grid-template-columns: 48px minmax(0,1fr); column-gap: 13px; padding: 16px; }
  .process-step-icon { grid-column: 1; grid-row: 1 / span 3; width: 46px; height: 46px; margin: 0; border-radius: 14px; }
  .process-step-number, .process-step h3, .process-step p { grid-column: 2; }
  .process-step-number { margin: 0 0 4px; }
  .process-step h3 { margin-bottom: 5px; font-size: 1.13rem; }
  .process-step p { font-size: .86rem; }
  .process-step:not(:last-child)::after { top: auto; right: auto; bottom: -14px; left: 37px; width: 0; height: 14px; border-top: 0; border-left: 2px dashed #9aad9f; }
  .project-card { min-height: 0; grid-template-columns: 54px minmax(0,1fr); }
  .project-icon { width: 46px; height: 46px; margin: 0; }
}

/* A shared editorial visual system for service, local and guide pages. */

.hero--illustrated .hero-visual { border-color: rgba(245, 200, 114, .38); background: rgba(255,255,255,.12); }
.project-card { position: relative; overflow: hidden; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.project-card::after { position: absolute; inset: auto 18px 0; height: 3px; border-radius: 3px 3px 0 0; background: linear-gradient(90deg, #c7784b, #efc16d); content: ""; transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
.project-card:hover { transform: translateY(-3px); }

/* Keep the hero's two columns inside the container at intermediate desktop widths. */
.hero-grid > * { min-width: 0; }
.hero-visual { max-width: 100%; }
@media (min-width: 901px) and (max-width: 1080px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(24px, 3vw, 34px); }
  .hero-copy { max-width: none; }
  .hero-form-card { max-width: none; }
  .hero h1 { font-size: clamp(2.45rem, 4vw, 3.2rem); }
}
.project-card:hover::after, .project-card:focus-visible::after { transform: scaleX(1); }
.content-hero-note { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 17px; }
.content-hero-note--with-art { grid-template-columns: minmax(112px, .72fr) minmax(0, 1.28fr); }
.content-hero-art { min-width: 0; margin: 0; }
.content-hero-art img { display: block; width: 100%; aspect-ratio: 1 / 1.05; border-radius: 13px; object-fit: cover; box-shadow: 0 7px 18px rgba(34, 54, 45, .13); }
.content-hero-art figcaption { margin-top: 6px; color: #6e756d; font-size: .62rem; line-height: 1.25; }
.content-hero-note-copy { min-width: 0; }
.content-hero-note-copy .hero-note-mark { width: 34px; height: 34px; margin-bottom: 12px; font-size: .95rem; }
.content-hero-note-copy h2 { font-size: clamp(1.28rem, 1.9vw, 1.65rem); }
.content-hero-note-copy p { font-size: .86rem; }
.content-hero-note-copy .hero-note-action { min-height: 44px; padding-inline: 14px; font-size: .84rem; }
.preparation-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.preparation-card { min-width: 0; padding: 22px 20px 20px; border: 1px solid #dce2d8; border-radius: 16px; background: linear-gradient(150deg, #fffefa 0%, #f7f4ea 100%); box-shadow: 0 8px 22px rgba(32, 57, 47, .07); }
.preparation-card-icon { display: grid; width: 48px; height: 48px; place-items: center; margin-bottom: 14px; border: 1px solid #d7e5dc; border-radius: 15px; background: #edf4ee; color: #235e51; }
.preparation-card:nth-child(3n + 2) .preparation-card-icon { border-color: #efd8b4; background: #fff1d8; color: #845a2b; }
.preparation-card:nth-child(3n) .preparation-card-icon { border-color: #d9e0ec; background: #edf1f8; color: #466181; }
.preparation-card-icon svg { width: 27px; height: 27px; }
.preparation-card-number { display: block; margin-bottom: 6px; color: #9a5b34; font-size: .64rem; font-weight: 850; letter-spacing: .14em; }
.preparation-card h3 { margin: 0 0 8px; color: #203a34; font-family: var(--font-heading); font-size: 1.2rem; line-height: 1.18; }
.preparation-card p { margin: 0; color: #53615a; font-size: .9rem; line-height: 1.55; }
.guide-visual-section { padding-top: 22px; padding-bottom: 34px; }
.guide-infographic { overflow: hidden; margin: 0; padding: clamp(20px, 3.2vw, 36px); border: 1px solid #e1dfd1; border-radius: 23px; background: radial-gradient(circle at 100% 0, rgba(224, 171, 101, .16), transparent 31%), linear-gradient(130deg, #f7f1e7 0%, #f4f5ef 62%, #eef3ed 100%); box-shadow: 0 12px 32px rgba(34, 55, 46, .08); }
.guide-infographic-heading { max-width: 760px; margin: 0 0 22px; }
.guide-infographic-heading .section-kicker { display: inline-block; margin-bottom: 7px; color: #965934; font-size: .68rem; font-weight: 850; letter-spacing: .15em; }
.guide-infographic-heading h2 { margin: 0; color: #203a34; font-family: var(--font-heading); font-size: clamp(1.6rem, 2.8vw, 2.25rem); font-weight: 600; line-height: 1.12; }
.guide-infographic figcaption { margin-top: 16px; color: #5c6962; font-size: .77rem; line-height: 1.45; }
.guide-infographic--purchase .preparation-card { background: rgba(255,255,255,.82); }
.guide-infographic--interfaces { background: radial-gradient(circle at 85% 15%, rgba(76, 132, 112, .15), transparent 33%), linear-gradient(135deg, #f5efe3, #eef4ef); }
.interface-map { display: grid; grid-template-columns: minmax(0, 1fr) 46px minmax(0, 1fr) 46px minmax(0, 1fr); align-items: center; gap: 8px; }
.interface-node { display: grid; min-height: 160px; align-content: center; justify-items: center; gap: 7px; padding: 18px 12px; border: 1px solid #d7e1d8; border-radius: 17px; background: rgba(255,255,255,.86); text-align: center; box-shadow: 0 8px 20px rgba(36, 63, 51, .07); }
.interface-node--focus { border-color: #e8c58c; background: #fff7e9; }
.interface-node-icon { display: grid; width: 45px; height: 45px; place-items: center; border-radius: 14px; background: #edf4ef; color: #255d51; }
.interface-node--focus .interface-node-icon { background: #f7e5c4; color: #87551e; }
.interface-node-icon svg { width: 26px; height: 26px; }
.interface-node strong { color: #203a34; font-family: var(--font-heading); font-size: 1.15rem; }
.interface-node small { color: #5b6961; font-size: .78rem; line-height: 1.35; }
.interface-link { display: block; height: 2px; background: repeating-linear-gradient(90deg, #99a99e 0 5px, transparent 5px 9px); }
.interface-link i { display: block; float: right; width: 8px; height: 8px; margin-top: -3px; border-top: 2px solid #718b7b; border-right: 2px solid #718b7b; transform: rotate(45deg); }
.guide-infographic--quotes { background: radial-gradient(circle at 0 100%, rgba(80, 125, 108, .13), transparent 35%), linear-gradient(130deg, #f8f1e5, #f2f4ee); }
.preparation-card-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.preparation-card-grid--four .preparation-card { padding: 19px 16px; }
.preparation-card-grid--four .preparation-card h3 { font-size: 1.05rem; }
.preparation-card-grid--four .preparation-card p { font-size: .82rem; }

@media (max-width: 900px) {
  .content-hero-note--with-art { grid-template-columns: 100px minmax(0, 1fr); gap: 14px; }
  .preparation-card-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .content-hero-note { gap: 12px; padding: 17px; }
  .content-hero-note--with-art { grid-template-columns: 86px minmax(0, 1fr); }
  .content-hero-art img { aspect-ratio: 1 / 1; }
  .content-hero-art figcaption { font-size: .6rem; }
  .content-hero-note-copy .hero-note-mark { width: 28px; height: 28px; margin-bottom: 8px; }
  .content-hero-note-copy h2 { margin-bottom: 7px; font-size: 1.25rem; }
  .content-hero-note-copy p { font-size: .8rem; line-height: 1.45; }
  .content-hero-note-copy .hero-note-action { min-height: 42px; margin-top: 10px; padding-inline: 11px; font-size: .78rem; }
  .preparation-card-grid, .preparation-card-grid--four { grid-template-columns: 1fr; gap: 10px; }
  .preparation-card { display: grid; grid-template-columns: 42px minmax(0, 1fr); column-gap: 12px; padding: 14px; }
  .preparation-card-icon { grid-column: 1; grid-row: 1 / span 3; width: 40px; height: 40px; margin: 0; border-radius: 13px; }
  .preparation-card-icon svg { width: 23px; height: 23px; }
  .preparation-card-number, .preparation-card h3, .preparation-card p { grid-column: 2; }
  .preparation-card-number { margin: 0 0 3px; }
  .preparation-card h3 { margin-bottom: 4px; font-size: 1.05rem; }
  .preparation-card p { font-size: .84rem; }
  .interface-map { grid-template-columns: 1fr; gap: 6px; }
  .interface-node { min-height: 0; grid-template-columns: 42px minmax(0,1fr); justify-items: start; align-items: center; column-gap: 11px; padding: 12px 14px; text-align: left; }
  .interface-node-icon { grid-column: 1; grid-row: 1 / span 2; width: 40px; height: 40px; }
  .interface-node strong, .interface-node small { grid-column: 2; }
  .interface-node strong { align-self: end; font-size: 1.02rem; }
  .interface-node small { align-self: start; }
  .interface-link { width: 2px; height: 13px; justify-self: center; background: repeating-linear-gradient(180deg, #99a99e 0 4px, transparent 4px 7px); }
  .interface-link i { float: none; width: 7px; height: 7px; margin-top: 5px; margin-left: -3px; transform: rotate(135deg); }
}
