@font-face {
  font-family: "TT Firs Neue";
  src: url("../fonts/TTFirsNeue-VarRoman.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --yellow: #f2b705;
  --yellow-strong: #dfa500;
  --yellow-pale: #fff6cf;
  --ink: #121311;
  --ink-2: #292b27;
  --muted: #62665f;
  --line: #dedfd9;
  --paper: #ffffff;
  --soft: #f6f6f1;
  --green: #174d35;
  --green-pale: #e9f3ed;
  --max: 1240px;
  --header: 76px;
  --radius: 18px;
  --shadow: 0 18px 60px rgba(18, 19, 17, .11);
  --font: "TT Firs Neue", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open, body.modal-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { touch-action: manipulation; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { overflow-wrap: anywhere; hyphens: auto; }

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  transform: translateY(-140%);
  padding: .7rem 1rem;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link:focus { transform: none; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 820px); margin-inline: auto; }

.topbar {
  min-height: 34px;
  display: flex;
  align-items: center;
  background: var(--ink);
  color: rgba(255,255,255,.78);
  font-size: .78rem;
  letter-spacing: .02em;
}
.topbar__inner { display: flex; justify-content: space-between; gap: 1rem; }
.topbar strong { color: var(--yellow); font-weight: 650; }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px rgba(0,0,0,.06); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 208px; height: auto; }
.desktop-nav { display: flex; align-items: center; gap: 1.6rem; }
.desktop-nav a { font-size: .91rem; font-weight: 570; color: var(--ink-2); }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: #9b7300; }
.header-actions { display: flex; align-items: center; gap: .8rem; }

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  place-items: center;
}
.menu-button__lines { display: grid; gap: 5px; }
.menu-button__lines span { width: 20px; height: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.menu-button[aria-expanded="true"] .menu-button__lines span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-button__lines span:nth-child(2) { opacity: 0; }
.menu-button[aria-expanded="true"] .menu-button__lines span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none;
  position: fixed;
  z-index: 99;
  inset: calc(34px + var(--header)) 0 0;
  padding: 1rem 20px 2rem;
  background: #fff;
  overflow-y: auto;
  transform: translateX(102%);
  visibility: hidden;
  transition: transform .25s ease, visibility 0s linear .25s;
}
.mobile-menu.is-open { transform: none; visibility: visible; transition-delay: 0s; }
.mobile-menu a { display: block; padding: 1rem .2rem; border-bottom: 1px solid var(--line); font-size: 1.08rem; font-weight: 590; }
.mobile-menu .btn { margin-top: 1.2rem; border: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 46px;
  padding: .78rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 690;
  font-size: .88rem;
  line-height: 1.15;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { color: var(--ink); background: var(--yellow); box-shadow: 0 9px 26px rgba(242,183,5,.24); }
.btn--primary:hover { background: #ffc400; box-shadow: 0 12px 34px rgba(242,183,5,.32); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--ghost { border-color: var(--line); background: #fff; }
.btn--on-dark { border-color: rgba(255,255,255,.34); background: transparent; color: #fff; }
.btn--on-dark:hover { border-color: var(--yellow); background: var(--yellow); color: var(--ink); }
.btn--light { border-color: rgba(255,255,255,.35); color: #fff; background: transparent; }
.btn--large { min-height: 54px; padding: 1rem 1.45rem; font-size: .98rem; }
.text-link { color: #765800; font-weight: 650; text-decoration: underline; text-underline-offset: 4px; }

.breadcrumbs { padding: 1rem 0; font-size: .78rem; color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li:not(:last-child)::after { content: "›"; margin-left: .4rem; color: #a5a79f; }
.breadcrumbs a:hover { color: var(--ink); }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 14%, rgba(242,183,5,.19), transparent 28%),
    linear-gradient(135deg, #fff 0%, #f7f7f1 100%);
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -160px;
  bottom: -230px;
  border: 70px solid rgba(242,183,5,.18);
  border-radius: 50%;
}
.hero-grid { min-height: 660px; padding: 4.4rem 0; display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(2rem, 5vw, 5.2rem); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.2rem; color: #735700; font-size: .76rem; font-weight: 760; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--yellow); border-radius: 99px; }
.hero h1, .page-hero h1 { max-width: 830px; font-size: clamp(2.6rem, 5.7vw, 5.3rem); line-height: .99; letter-spacing: -.055em; margin-bottom: 1.45rem; }
.hero h1 em { color: #9a7300; font-style: normal; }
.hero-lead { max-width: 650px; margin-bottom: 1.8rem; color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.24rem); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.8rem; }
.micro-proof { display: flex; flex-wrap: wrap; gap: .65rem 1.2rem; color: var(--muted); font-size: .82rem; }
.micro-proof span::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: .35rem; }

.hero-visual { position: relative; min-height: 540px; }
.hero-photo { position: absolute; inset: 0 5% 4% 7%; overflow: hidden; border-radius: 28px; box-shadow: var(--shadow); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 72% center; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.3), transparent 50%); }
.floating-card { position: absolute; z-index: 2; padding: 1.1rem 1.2rem; background: rgba(255,255,255,.96); border: 1px solid rgba(255,255,255,.75); border-radius: 14px; box-shadow: 0 14px 40px rgba(0,0,0,.15); }
.floating-card strong { display: block; font-size: 1.35rem; letter-spacing: -.03em; }
.floating-card small { color: var(--muted); }
.floating-card--top { top: 8%; right: -1%; }
.floating-card--bottom { bottom: 0; left: 0; }
.solar-score { display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: .75rem; }
.solar-score__ring { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--yellow) 88%, #e4e4de 0); font-size: .72rem; font-weight: 750; }
.solar-score__ring::before { content: "A"; display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: #fff; }

.trust-row { border-bottom: 1px solid var(--line); background: #fff; }
.trust-row__inner { display: grid; grid-template-columns: 1.25fr repeat(3, 1fr); align-items: center; gap: 1rem; padding: 1.1rem 0; }
.trust-row p { margin: 0; color: var(--muted); font-size: .8rem; }
.trust-item { display: flex; align-items: center; gap: .65rem; font-size: .8rem; font-weight: 650; }
.trust-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--yellow-pale); color: #715400; font-weight: 800; }

.panel-calculator-section { background: linear-gradient(180deg, #fff 0%, var(--soft) 100%); }
.panel-calculator { overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: #fff; box-shadow: var(--shadow); }
.panel-calculator__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; padding: clamp(2rem, 4vw, 3.5rem); border-bottom: 1px solid var(--line); }
.panel-calculator__head h2 { max-width: 760px; margin-bottom: .7rem; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.02; letter-spacing: -.04em; overflow-wrap: normal; hyphens: none; }
.panel-calculator__head p { max-width: 700px; margin: 0; color: var(--muted); }
.panel-calculator__badge { flex: 0 0 auto; padding: .8rem 1rem; border: 1px solid #e8d16c; border-radius: 14px; background: var(--yellow-pale); text-align: right; }
.panel-calculator__badge span, .panel-calculator__badge strong { display: block; }
.panel-calculator__badge span { color: #765800; font-size: .7rem; font-weight: 750; text-transform: uppercase; letter-spacing: .1em; }
.panel-calculator__badge strong { color: var(--ink); font-size: .86rem; }
.panel-calculator__layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr); }
.panel-calculator__controls { padding: clamp(2rem, 5vw, 4rem); }
.panel-count { display: flex; align-items: baseline; gap: .55rem; }
.panel-count > span { margin-right: auto; color: var(--ink-2); font-weight: 650; }
.panel-count output { color: var(--ink); font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 780; line-height: .85; letter-spacing: -.06em; }
.panel-count small { color: var(--muted); font-weight: 650; }
.panel-range { --range-progress: 0%; width: 100%; height: 42px; margin: 2.2rem 0 .25rem; appearance: none; background: transparent; cursor: pointer; }
.panel-range::-webkit-slider-runnable-track { height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--yellow) 0 var(--range-progress), #e3e4df var(--range-progress) 100%); }
.panel-range::-moz-range-track { height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--yellow) 0 var(--range-progress), #e3e4df var(--range-progress) 100%); }
.panel-range::-webkit-slider-thumb { width: 30px; height: 30px; margin-top: -11px; appearance: none; border: 5px solid #fff; border-radius: 50%; background: var(--yellow-strong); box-shadow: 0 2px 0 1px #c79200, 0 7px 18px rgba(18,19,17,.2); }
.panel-range::-moz-range-thumb { width: 22px; height: 22px; border: 5px solid #fff; border-radius: 50%; background: var(--yellow-strong); box-shadow: 0 2px 0 1px #c79200, 0 7px 18px rgba(18,19,17,.2); }
.panel-range:focus-visible { outline: 3px solid var(--yellow); outline-offset: 5px; border-radius: 999px; }
.panel-range__marks { display: flex; justify-content: space-between; color: var(--muted); font-size: .75rem; font-weight: 650; }
.panel-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-top: 2.2rem; }
.panel-metric { min-width: 0; padding: 1.25rem; border: 1px solid var(--line); border-radius: 16px; background: var(--soft); }
.panel-metric > span, .panel-metric strong, .panel-metric small { display: block; }
.panel-metric > span { color: var(--muted); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.panel-metric strong { margin: .35rem 0 .15rem; color: var(--ink); font-size: clamp(1.25rem, 2.6vw, 1.8rem); line-height: 1.1; }
.panel-metric small { color: var(--muted); font-size: .72rem; }
.panel-summary { display: flex; flex-direction: column; padding: clamp(2rem, 4vw, 3.2rem); background: var(--yellow); color: var(--ink); }
.panel-summary__label { align-self: flex-start; margin-bottom: 1.1rem; padding: .35rem .65rem; border-radius: 999px; background: rgba(255,255,255,.7); font-size: .7rem; font-weight: 780; text-transform: uppercase; letter-spacing: .08em; }
.panel-summary h3 { margin-bottom: 1.5rem; font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.05; letter-spacing: -.03em; }
.panel-summary dl { display: grid; gap: 0; margin: 0 0 1.8rem; }
.panel-summary dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid rgba(18,19,17,.18); }
.panel-summary dt { max-width: 58%; color: rgba(18,19,17,.7); font-size: .78rem; }
.panel-summary dd { margin: 0; text-align: right; font-weight: 760; }
.panel-summary .btn { width: 100%; margin-top: auto; }
.panel-calculator__note { margin: 0; padding: 1.1rem clamp(2rem, 5vw, 4rem); border-top: 1px solid var(--line); background: #fbfbf8; color: var(--muted); font-size: .72rem; }
.panel-calculator__note strong { color: var(--ink-2); }

.section { padding: clamp(4.2rem, 8vw, 7.2rem) 0; }
.section--compact { padding: 3rem 0; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--ink); color: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2.4rem; }
.section-head__copy { max-width: 720px; }
.section-head h2, .content-block h2 { margin-bottom: .8rem; font-size: clamp(2rem, 3.8vw, 3.5rem); line-height: 1.08; letter-spacing: -.045em; }
.section-head p, .content-block > p { margin-bottom: 0; color: var(--muted); font-size: 1.04rem; }
.section--dark .section-head p { color: rgba(255,255,255,.68); }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.info-card { position: relative; padding: 1.55rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.info-card:hover { transform: translateY(-3px); box-shadow: 0 16px 44px rgba(0,0,0,.08); }
.info-card__icon { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 1.2rem; border-radius: 13px; background: var(--yellow-pale); color: #725400; font-size: 1.12rem; font-weight: 800; }
.info-card h3 { margin-bottom: .55rem; font-size: 1.2rem; letter-spacing: -.02em; }
.info-card p { margin-bottom: 1rem; color: var(--muted); font-size: .92rem; }
.info-card__link { display: inline-flex; align-items: center; gap: .35rem; color: #765800; font-weight: 700; font-size: .86rem; }
.info-card__link::after { content: "→"; transition: transform .2s; }
.info-card:hover .info-card__link::after { transform: translateX(4px); }

.image-card { position: relative; min-height: 380px; display: flex; align-items: end; padding: 1.6rem; overflow: hidden; border-radius: 22px; color: #fff; }
.image-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.image-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.8), rgba(0,0,0,.08) 70%); }
.image-card:hover img { transform: scale(1.035); }
.image-card__copy { position: relative; z-index: 1; }
.image-card h3 { margin-bottom: .35rem; font-size: 1.45rem; }
.image-card p { margin: 0; color: rgba(255,255,255,.78); }
.image-card--compact { min-height: 310px; }
.image-card--guide { min-height: 330px; }
.editorial-guide-grid { grid-template-columns: repeat(3, 1fr); }
.editorial-guide-grid .image-card:last-child { grid-column: 2; }

.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); }
.process-step { position: relative; padding: 2rem; background: #fff; }
.process-step__number { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 2.4rem; border-radius: 50%; background: var(--ink); color: var(--yellow); font-weight: 800; }
.process-step h3 { margin-bottom: .55rem; }
.process-step p { margin: 0; color: var(--muted); font-size: .91rem; }

.metric-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.metric { min-width: 0; padding: 1.6rem; border-left: 3px solid var(--yellow); background: #fff; border-radius: 0 14px 14px 0; }
.metric strong { display: block; margin-bottom: .3rem; font-size: 2rem; letter-spacing: -.04em; }
.metric span { color: var(--muted); font-size: .84rem; overflow-wrap: anywhere; hyphens: auto; }

.compare-band { position: relative; overflow: hidden; padding: clamp(2rem, 5vw, 4rem); border-radius: 26px; background: var(--yellow); }
.compare-band::after { content: "3"; position: absolute; right: -1rem; bottom: -6rem; color: rgba(255,255,255,.28); font-size: 20rem; font-weight: 850; line-height: 1; }
.compare-band__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.compare-band h2 { max-width: 720px; margin-bottom: .7rem; font-size: clamp(2rem, 4vw, 3.7rem); line-height: 1.05; letter-spacing: -.045em; }
.compare-band p { max-width: 640px; margin: 0; color: rgba(18,19,17,.72); }

.page-hero { position: relative; overflow: hidden; padding: 3.8rem 0 4.5rem; background: var(--soft); border-bottom: 1px solid var(--line); }
.page-hero::after { content: ""; position: absolute; width: 320px; height: 320px; border: 70px solid var(--yellow-pale); border-radius: 50%; right: -120px; top: -130px; }
.page-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 4rem; }
.page-hero h1 { font-size: clamp(2.45rem, 5vw, 4.7rem); }
.page-hero__lead { max-width: 740px; margin-bottom: 1.6rem; color: var(--muted); font-size: 1.12rem; }
.page-hero__visual { min-height: 340px; overflow: hidden; border-radius: 22px; box-shadow: var(--shadow); }
.page-hero__visual img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; }
.editorial-hero .page-hero__visual { position: relative; margin: 0; }
.editorial-hero .page-hero__visual figcaption { position: absolute; right: .75rem; bottom: .7rem; padding: .35rem .55rem; border-radius: 7px; background: rgba(18,19,17,.76); color: rgba(255,255,255,.86); font-size: .68rem; backdrop-filter: blur(6px); }

.guide-shell { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 3.5rem; align-items: start; }
.guide-main { min-width: 0; }
.content-block { margin-bottom: 3.8rem; scroll-margin-top: calc(var(--header) + 1rem); }
.content-block h2 { font-size: clamp(1.8rem, 3vw, 2.65rem); }
.content-block h3 { margin-top: 2rem; margin-bottom: .55rem; font-size: 1.25rem; }
.content-block p, .content-block li { color: var(--muted); }
.content-block ul { display: grid; gap: .65rem; margin: 1.25rem 0; }
.content-block li { position: relative; padding-left: 1.5rem; }
.content-block li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.content-block .note { padding: 1.2rem 1.3rem; border-left: 4px solid var(--yellow); background: var(--yellow-pale); border-radius: 0 12px 12px 0; color: var(--ink-2); }
.editorial-note { display: grid; gap: .2rem; margin-bottom: 1.2rem; padding: 1rem 1.15rem; border: 1px solid #d7e6dc; border-radius: 12px; background: var(--green-pale); color: #315442; font-size: .82rem; }
.editorial-note strong { color: var(--green); }
.editorial-section > p + p { margin-top: 1rem; }
.editorial-image { margin: 2rem 0 0; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 16px 44px rgba(18,19,17,.08); }
.editorial-image img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.editorial-image figcaption { padding: .8rem 1rem; color: var(--muted); font-size: .78rem; line-height: 1.45; }
.side-card { position: sticky; top: calc(var(--header) + 24px); padding: 1.5rem; border-radius: var(--radius); background: var(--ink); color: #fff; box-shadow: var(--shadow); }
.side-card__label { color: var(--yellow); font-size: .72rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.side-card h2 { margin: .6rem 0; font-size: 1.65rem; line-height: 1.12; }
.side-card p { color: rgba(255,255,255,.7); font-size: .88rem; }
.side-card .btn { width: 100%; }
.side-card ul { display: grid; gap: .6rem; margin: 1rem 0 1.2rem; color: rgba(255,255,255,.78); font-size: .82rem; }
.side-card li::before { content: "✓"; color: var(--yellow); margin-right: .4rem; }

.toc { margin-bottom: 2.5rem; padding: 1.25rem 1.4rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.toc strong { display: block; margin-bottom: .65rem; }
.toc ol, .toc ul { display: grid; gap: .4rem; margin: 0; color: var(--muted); font-size: .87rem; }
.toc ol { padding-left: 1.2rem; }
.toc ul { padding: 0; }
.toc a:hover { color: var(--ink); text-decoration: underline; }

.data-table { width: 100%; border-collapse: collapse; margin: 1.3rem 0; overflow: hidden; border-radius: 12px; font-size: .9rem; }
.data-table th, .data-table td { padding: .9rem 1rem; border-bottom: 1px solid var(--line); text-align: left; }
.data-table th { background: var(--ink); color: #fff; }
.data-table tr:nth-child(even) td { background: var(--soft); }

.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 1.4rem 0; }
.check-box { padding: 1.2rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.check-box strong { display: block; margin-bottom: .3rem; }
.check-box p { margin: 0; font-size: .86rem; }

.canton-map { display: grid; grid-template-columns: repeat(6, 1fr); gap: .55rem; }
.canton-chip { min-height: 70px; display: flex; flex-direction: column; justify-content: center; padding: .7rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: background .2s, transform .2s; }
.canton-chip:hover { transform: translateY(-2px); background: var(--yellow-pale); }
.canton-chip strong { font-size: .95rem; }
.canton-chip small { color: var(--muted); font-size: .72rem; }

.provider-list { display: grid; gap: .8rem; }
.provider-row { display: grid; grid-template-columns: 70px 1fr auto; gap: 1rem; align-items: center; padding: 1.1rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.provider-row__mark { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 14px; background: var(--ink); color: var(--yellow); font-weight: 800; }
.provider-row h3 { margin: 0 0 .2rem; }
.provider-row p { margin: 0; color: var(--muted); font-size: .84rem; }

.disclosure { display: flex; align-items: flex-start; gap: .8rem; margin: 1.3rem 0; padding: 1rem 1.1rem; border: 1px solid #d7e6dc; border-radius: 12px; background: var(--green-pale); font-size: .83rem; color: #315442; }
.disclosure strong { color: var(--green); }

.source-list { display: grid; gap: .65rem; }
.source-list a { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-weight: 600; }
.source-list a::after { content: "↗"; color: #765800; }

.faq-list { display: grid; gap: .7rem; }
.faq-item { border: 1px solid var(--line); border-radius: 13px; background: #fff; overflow: hidden; }
.faq-question { width: 100%; display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.2rem; border: 0; background: transparent; text-align: left; font-weight: 680; cursor: pointer; }
.faq-question::after { content: "+"; font-size: 1.25rem; }
.faq-question[aria-expanded="true"]::after { content: "−"; }
.faq-answer { padding: 0 1.2rem 1.1rem; color: var(--muted); font-size: .92rem; }
.faq-answer p { margin: 0; }

.estimate-card { padding: 1.5rem; border-radius: var(--radius); background: var(--ink); color: #fff; }
.estimate-card__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.estimate-card label { display: grid; gap: .4rem; color: rgba(255,255,255,.7); font-size: .8rem; }
.estimate-card input, .estimate-card select { width: 100%; padding: .8rem; border: 1px solid rgba(255,255,255,.25); border-radius: 9px; background: #252724; color: #fff; }
.estimate-result { margin: 1.25rem 0 .3rem; color: var(--yellow); font-size: 2.2rem; font-weight: 800; letter-spacing: -.04em; }
.estimate-card small { color: rgba(255,255,255,.55); }

.lead-modal[hidden] { display: none; }
.lead-modal { position: fixed; z-index: 500; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(0,0,0,.64); opacity: 0; transition: opacity .18s ease; }
.lead-modal.is-open { opacity: 1; }
.lead-modal__dialog { position: relative; width: min(100%, 620px); max-height: calc(100vh - 40px); overflow-y: auto; padding: clamp(1.4rem, 4vw, 2.4rem); border-radius: 20px; background: #fff; box-shadow: 0 30px 100px rgba(0,0,0,.35); transform: translateY(12px); transition: transform .18s ease; }
.lead-modal.is-open .lead-modal__dialog { transform: none; }
.lead-modal__close { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer; font-size: 1.35rem; }
.lead-modal h2 { max-width: 470px; margin-bottom: .45rem; font-size: clamp(1.75rem, 4vw, 2.6rem); line-height: 1.08; letter-spacing: -.035em; }
.lead-modal__intro { color: var(--muted); }
.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; margin-top: 1.3rem; }
.form-field { display: grid; gap: .35rem; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { color: var(--ink-2); font-size: .78rem; font-weight: 620; }
.form-field input, .form-field select { width: 100%; min-height: 48px; padding: .75rem .85rem; border: 1px solid #cfd1ca; border-radius: 9px; background: #fff; color: var(--ink); font-size: 1rem; }
.consent { display: flex; gap: .55rem; align-items: flex-start; color: var(--muted); font-size: .75rem; }
.consent input { margin-top: .2rem; accent-color: var(--yellow); }
.consent a { color: #765800; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.form-status { min-height: 1.2em; margin: 0; color: var(--green); font-size: .78rem; }

.site-footer { padding: 4rem 0 2rem; background: var(--ink); color: rgba(255,255,255,.72); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; }
.site-footer .brand img { width: 188px; height: auto; }
.footer-about { max-width: 300px; margin-top: 1rem; color: rgba(255,255,255,.52); font-size: .86rem; }
.footer-col h2 { margin-bottom: 1rem; color: #fff; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.footer-col ul { display: grid; gap: .55rem; }
.footer-col a { font-size: .85rem; color: rgba(255,255,255,.6); }
.footer-col a:hover { color: var(--yellow); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .75rem; color: rgba(255,255,255,.42); }

@media (max-width: 1100px) {
  .desktop-nav, .header-actions .btn { display: none; }
  .menu-button { display: grid; }
  .mobile-menu { display: block; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 2.2rem; }
  .hero h1 { font-size: clamp(2.55rem, 6vw, 4.3rem); }
  .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .editorial-guide-grid { grid-template-columns: repeat(2, 1fr); }
  .editorial-guide-grid .image-card:last-child { grid-column: auto; }
  .canton-map { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 860px) {
  :root { --header: 68px; }
  .brand img { width: 170px; height: auto; }
  .topbar__inner span:last-child { display: none; }
  .hero-grid, .page-hero__grid, .guide-shell { grid-template-columns: 1fr; }
  .hero-grid { padding: 3.4rem 0 4.5rem; }
  .hero-visual { min-height: 440px; }
  .page-hero__visual { display: block; min-height: 300px; }
  .page-hero__visual img { min-height: 300px; }
  .side-card { position: relative; top: auto; }
  .card-grid, .process { grid-template-columns: 1fr 1fr; }
  .trust-row__inner { grid-template-columns: 1fr 1fr; }
  .panel-calculator__head { display: grid; }
  .panel-calculator__badge { justify-self: start; text-align: left; }
  .panel-calculator__layout { grid-template-columns: 1fr; }
  .metric-strip { grid-template-columns: 1fr 1fr; }
  .compare-band__inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .container, .narrow { width: min(calc(100% - 28px), var(--max)); }
  .topbar { min-height: 30px; }
  .mobile-menu { inset: calc(30px + var(--header)) 0 0; padding-inline: 14px; }
  .hero-grid { min-height: auto; padding-top: 2.8rem; }
  .hero h1, .page-hero h1 { font-size: clamp(2.3rem, 12vw, 3.55rem); }
  .hero-visual { min-height: 365px; }
  .hero-photo { inset: 0 0 5% 0; }
  .page-hero__visual, .page-hero__visual img { min-height: 240px; }
  .floating-card { padding: .85rem 1rem; }
  .floating-card--top { right: -3%; }
  .floating-card--bottom { left: -2%; }
  .trust-row__inner, .card-grid, .card-grid--2, .card-grid--4,
  .process, .check-grid, .estimate-card__fields, .lead-form { grid-template-columns: 1fr; }
  .form-field--full { grid-column: auto; }
  .section-head { display: block; }
  .section-head .btn { margin-top: 1rem; }
  .image-card { min-height: 300px; }
  .image-card--compact, .image-card--guide { min-height: 270px; }
  .process-step__number { margin-bottom: 1.2rem; }
  .metric-strip { gap: .65rem; }
  .metric { padding: 1.1rem; }
  .metric strong { font-size: 1.5rem; }
  .canton-map { grid-template-columns: repeat(2, 1fr); }
  .provider-row { grid-template-columns: 54px 1fr; }
  .provider-row .btn { grid-column: 1 / -1; }
  .data-table { width: 100%; table-layout: fixed; font-size: .76rem; }
  .data-table th, .data-table td {
    padding: .65rem .5rem;
    vertical-align: top;
    overflow-wrap: anywhere;
    hyphens: auto;
  }
  .data-table th:first-child, .data-table td:first-child { width: 52px; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { display: grid; }
  .panel-calculator { border-radius: 20px; }
  .panel-calculator__head, .panel-calculator__controls, .panel-summary { padding: 1.5rem; }
  .panel-calculator__head h2 { font-size: 2rem; }
  .panel-count { flex-wrap: wrap; }
  .panel-count > span { flex: 0 0 100%; margin-bottom: .6rem; }
  .panel-metrics { grid-template-columns: 1fr; }
  .panel-calculator__note { padding: 1rem 1.5rem; }
  .compare-band { padding: 1.6rem; }
  .lead-modal { padding: 8px; }
  .lead-modal__dialog { max-height: calc(100vh - 16px); border-radius: 14px; }
  .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
