/* Fonts are self-hosted (SIL Open Font License), so no visitor data goes to external font services. */
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('../fonts/bricolage-grotesque-latin-opsz-normal.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('../fonts/bricolage-grotesque-latin-ext-opsz-normal.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-latin-ext-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #f4f2ee;
  --paper: #ffffff;
  --stone: #e9e4db;
  --line: #ddd6ca;
  --ink: #151412;
  --ink-soft: #46423c;
  --muted: #6b655c;
  --dark: #141311;
  --dark-2: #1f1d1a;
  --accent: #f3c522;
  --accent-strong: #dcac06;
  --accent-soft: #fbefc4;
  --green: #2e6a4c;
  --error: #b02a1f;
  --radius: 20px;
  --shadow: 0 1px 2px rgb(21 20 18 / 6%), 0 12px 32px rgb(21 20 18 / 10%);
  --display: 'Bricolage Grotesque', 'Arial Narrow', system-ui, sans-serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --header: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 3px; }
button { font: inherit; }
h1, h2, h3 {
  margin: 0 0 0.5em;
  font-family: var(--display);
  font-weight: 750;
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-optical-sizing: auto;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6.2vw, 5rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
main:focus { outline: none; }
mark { padding: 0 0.08em; background: linear-gradient(transparent 58%, var(--accent) 58% 92%, transparent 92%); color: inherit; }

.container { width: min(100% - 32px, 1220px); margin-inline: auto; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; top: -60px; left: 16px; z-index: 200; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; text-decoration: none; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.on-dark :focus-visible, .hero :focus-visible, .site-footer :focus-visible { outline-color: var(--accent); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}
.eyebrow::before { content: ''; width: 22px; height: 3px; border-radius: 2px; background: var(--accent); }
.lead { max-width: 60ch; color: var(--ink-soft); font-size: clamp(1.05rem, 1.6vw, 1.22rem); }
.section { padding-block: clamp(60px, 8vw, 112px); }
.section-tight { padding-top: 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px; margin-bottom: 36px; }
.section-head h2 { margin: 0; }
.section-head p { max-width: 56ch; margin: 10px 0 0; color: var(--ink-soft); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 26px; border: 2px solid transparent; border-radius: 12px;
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 20px; height: 20px; }
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: var(--accent-strong); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-outline { border-color: currentColor; background: transparent; color: inherit; }
.btn-outline:hover { background: rgb(127 127 127 / 12%); }
.btn-block { width: 100%; }
.btn-sm { min-height: 44px; padding: 8px 18px; font-size: 0.95rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

/* Top bar and header */
.topbar { background: var(--accent); color: var(--ink); font-size: 0.84rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 16px; padding-block: 8px; }
.topbar p { margin: 0; }
.topbar-extra { display: none; }
@media (min-width: 860px) { .topbar-extra { display: block; } }

.site-header { position: sticky; top: 0; z-index: 60; border-bottom: 1px solid var(--line); background: rgb(244 242 238 / 94%); backdrop-filter: saturate(1.4) blur(12px); }
.header-inner { position: relative; display: flex; align-items: center; gap: 28px; min-height: var(--header); }
.logo { display: inline-flex; align-items: baseline; font-family: var(--display); font-size: 1.85rem; font-weight: 800; letter-spacing: -0.05em; text-decoration: none; }
.logo .dot { display: inline-block; width: 0.32em; height: 0.32em; margin-left: 0.04em; border-radius: 50%; background: var(--accent); }
.main-nav { display: flex; gap: 26px; margin-left: auto; }
.main-nav a { padding-block: 6px; border-bottom: 3px solid transparent; font-weight: 600; text-decoration: none; }
.main-nav a:hover, .main-nav a[aria-current='page'] { border-bottom-color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone { display: none; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.header-phone svg { width: 20px; height: 20px; }
@media (min-width: 1180px) { .header-phone { display: inline-flex; } }
.menu-toggle { display: none; width: 46px; height: 46px; place-items: center; border: 0; border-radius: 12px; background: var(--ink); color: #fff; cursor: pointer; }
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded='true'] .icon-open { display: none; }
.menu-toggle[aria-expanded='true'] .icon-close { display: block; }
@media (max-width: 959px) {
  .menu-toggle { display: inline-grid; }
  .header-actions { margin-left: auto; }
  .header-actions .btn { display: none; }
  .main-nav {
    position: absolute; top: 100%; left: -16px; right: -16px;
    display: none; flex-direction: column; gap: 0; padding: 4px 16px 20px;
    border-bottom: 1px solid var(--line); background: var(--bg); box-shadow: 0 22px 30px rgb(21 20 18 / 14%);
  }
  .menu-open .main-nav { display: flex; }
  .main-nav a { padding-block: 14px; border-bottom: 1px solid var(--line); font-size: 1.15rem; }
  .main-nav a:hover, .main-nav a[aria-current='page'] { border-bottom-color: var(--line); }
  .main-nav a[aria-current='page'] { box-shadow: inset 4px 0 0 var(--accent); padding-left: 12px; }
  .main-nav .nav-cta { display: flex; margin-top: 16px; }
}
@media (min-width: 960px) { .main-nav .nav-cta { display: none; } }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--dark); color: #fff; }
.hero-grid { display: grid; gap: 36px; padding-block: clamp(48px, 8vw, 104px); }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 56px; } }
.hero h1 { color: #fff; }
.hero h1 mark { background: linear-gradient(transparent 60%, rgb(243 197 34 / 85%) 60% 90%, transparent 90%); }
.hero .lead { color: #d9d4cc; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 30px 34px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 0; padding: 0; list-style: none; color: #e4dfd6; font-size: 0.95rem; }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 18px; height: 18px; color: var(--accent); }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 24px; }
.hero-card {
  position: absolute; left: -18px; bottom: 22px; display: flex; align-items: center; gap: 14px;
  max-width: 300px; padding: 14px 18px; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: var(--shadow);
}
.hero-card strong { display: block; font-family: var(--display); font-size: 1.15rem; line-height: 1.15; }
.hero-card span { color: var(--muted); font-size: 0.86rem; }
.hero-card .badge-round { display: grid; flex: none; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); }
.hero-card .badge-round svg { width: 22px; height: 22px; }
@media (max-width: 959px) { .hero-card { left: 12px; bottom: 12px; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 2px solid var(--ink); }
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 22px 18px 6px 0; }
.stat + .stat { padding-left: 18px; border-left: 1px solid var(--line); }
@media (max-width: 859px) { .stat:nth-child(3) { padding-left: 0; border-left: 0; } .stat:nth-child(n + 3) { border-top: 1px solid var(--line); } }
.stat strong { display: block; font-family: var(--display); font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.stat span { display: block; margin-top: 8px; color: var(--ink-soft); font-size: 0.93rem; line-height: 1.4; }

/* Services */
.services { display: grid; gap: 14px; }
@media (min-width: 640px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .services { grid-template-columns: repeat(3, 1fr); } }
.service { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); transition: transform .25s, box-shadow .25s; }
.service:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.service-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft); }
.service-icon svg { width: 28px; height: 28px; }
.service h3 { margin: 6px 0 0; }
.service p { margin: 0; color: var(--ink-soft); }
.service-price { margin-top: auto !important; padding-top: 12px; border-top: 1px dashed var(--line); color: var(--ink) !important; font-weight: 700; }

/* Calculator */
.calc { display: grid; overflow: hidden; border-radius: 28px; background: var(--paper); box-shadow: var(--shadow); }
@media (min-width: 1000px) { .calc { grid-template-columns: 1.15fr 0.85fr; } }
.calc-form { display: grid; align-content: start; gap: 26px; padding: clamp(22px, 4vw, 44px); }
.calc-result { display: flex; flex-direction: column; gap: 18px; padding: clamp(22px, 4vw, 44px); background: var(--dark); color: #fff; }
.calc-result h3 { color: #c9c2b6; font-family: var(--sans); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.calc-range { margin: 0; font-family: var(--display); font-size: clamp(2.2rem, 4.6vw, 3.4rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.04em; }
.calc-range small { display: block; margin-top: 8px; color: #c9c2b6; font-family: var(--sans); font-size: 0.95rem; font-weight: 500; letter-spacing: 0; }
.calc-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; }
.calc-meta div { padding: 14px; border-radius: 14px; background: var(--dark-2); }
.calc-meta dt { color: #b9b2a6; font-size: 0.82rem; }
.calc-meta dd { margin: 0; font-family: var(--display); font-size: 1.5rem; font-weight: 750; }
.calc-breakdown summary { cursor: pointer; font-weight: 650; }
.calc-breakdown table { margin-top: 12px; color: #e9e4dc; font-size: 0.9rem; }
.calc-breakdown th, .calc-breakdown td { padding: 8px 0; border-bottom: 1px solid rgb(255 255 255 / 10%); background: none; }
.calc-breakdown td:last-child, .calc-breakdown th:last-child { text-align: right; }
.calc-note { margin: 0; color: #b9b2a6; font-size: 0.85rem; }
.calc-empty { color: #d9d4cc; }
.calc-result .btn { margin-top: auto; }

.range-row { display: flex; align-items: center; gap: 16px; }
.range-row input[type='range'] { flex: 1; min-height: 0; padding: 0; border: 0; background: none; accent-color: var(--ink); }
.range-row .unit-input { display: flex; align-items: center; gap: 6px; width: 120px; }
.range-row .unit-input input { text-align: right; }

.toggle-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 640px) { .toggle-cards { grid-template-columns: repeat(3, 1fr); } }
.toggle-card { position: relative; }
.toggle-card input { position: absolute; top: 14px; right: 14px; width: 20px; height: 20px; min-height: 0; margin: 0; accent-color: var(--ink); cursor: pointer; }
.toggle-card span { display: block; height: 100%; padding: 14px 40px 14px 14px; border: 2px solid var(--line); border-radius: 14px; background: var(--bg); cursor: pointer; transition: border-color .15s, background-color .15s; }
.toggle-card strong { display: block; line-height: 1.25; }
.toggle-card small { display: block; margin-top: 2px; color: var(--muted); font-size: 0.82rem; line-height: 1.35; }
.toggle-card input:checked + span { border-color: var(--ink); background: var(--accent-soft); }
.toggle-card input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }

.segmented { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 14px; background: var(--stone); }
.segmented label { position: relative; }
.segmented input { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; margin: 0; opacity: 0; cursor: pointer; }
.segmented span { display: block; padding: 10px 6px; border-radius: 10px; text-align: center; font-weight: 650; font-size: 0.95rem; }
.segmented input:checked + span { background: var(--paper); box-shadow: 0 2px 8px rgb(21 20 18 / 12%); }
.segmented input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 1px; }
.segmented-note { margin: 8px 0 0; }
.calc-qty { color: #a39b8e; }
a.project { text-decoration: none; }

.switch { display: flex; align-items: center; gap: 12px; font-weight: 600; cursor: pointer; }
.switch input { position: relative; flex: none; width: 50px; height: 28px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 999px; background: var(--line); appearance: none; cursor: pointer; transition: background-color .2s; }
.switch input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / 25%); transition: transform .2s; }
.switch input:checked { background: var(--ink); }
.switch input:checked::after { transform: translateX(22px); }
.switch small { display: block; color: var(--muted); font-weight: 450; font-size: 0.85rem; }

/* Area check */
.area-check { display: grid; gap: 24px; padding: clamp(22px, 4vw, 40px); border: 2px solid var(--ink); border-radius: 24px; background: var(--paper); }
@media (min-width: 900px) { .area-check { grid-template-columns: 1fr 1fr; align-items: center; } }
.area-check h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.area-form { display: flex; flex-wrap: wrap; gap: 10px; }
.area-form input { flex: 1 1 160px; }
.area-result { flex-basis: 100%; min-height: 1.6em; margin: 6px 0 0; }
.area-result strong { display: inline-block; margin-right: 6px; padding: 2px 10px; border-radius: 999px; background: var(--accent); }
.area-result[data-status='outside'] strong, .area-result[data-status='invalid'] strong { background: var(--stone); }
.area-zones { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.area-zones li { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.area-zones li span:last-child { font-weight: 700; text-align: right; }

/* Standards */
.standards { display: grid; gap: 14px; }
@media (min-width: 900px) { .standards { grid-template-columns: repeat(3, 1fr); } }
.standard-card { display: flex; flex-direction: column; gap: 12px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.standard-card.featured { border: 2px solid var(--ink); }
.standard-card .tag { align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: var(--accent); font-size: 0.78rem; font-weight: 750; }
.standard-card .price { margin: 0; font-family: var(--display); font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; }
.standard-card .price small { color: var(--muted); font-family: var(--sans); font-size: 0.95rem; font-weight: 500; letter-spacing: 0; }
.standard-card ul { display: grid; gap: 8px; margin: 0 0 8px; padding: 0; list-style: none; }
.standard-card li { display: flex; gap: 10px; }
.standard-card li svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--green); }
.standard-card .btn { margin-top: auto; }

/* Projects */
.projects { display: grid; gap: 16px; }
@media (min-width: 700px) { .projects { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .projects { grid-template-columns: repeat(3, 1fr); } }
.project { position: relative; display: block; overflow: hidden; padding: 0; border: 0; border-radius: var(--radius); background: var(--stone); color: inherit; text-align: left; cursor: pointer; }
.project img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s ease; }
.project:hover img { transform: scale(1.04); }
.project-body { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; padding: 16px 18px 18px; background: var(--paper); }
.project-body h3 { margin: 0; font-size: 1.15rem; }
.project-body p { flex-basis: 100%; margin: 0; color: var(--muted); font-size: 0.9rem; }
.project-tag { position: absolute; top: 14px; left: 14px; padding: 4px 10px; border-radius: 999px; background: #fff; font-size: 0.78rem; font-weight: 750; }
.section-gallery { padding-bottom: 96px; }
.center { text-align: center; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filter-btn { min-height: 44px; padding: 8px 18px; border: 2px solid var(--line); border-radius: 999px; background: var(--paper); font-weight: 650; cursor: pointer; }
.filter-btn[aria-pressed='true'] { border-color: var(--ink); background: var(--ink); color: #fff; }

.lightbox { width: min(100% - 24px, 1100px); max-height: calc(100% - 24px); padding: 0; border: 0; border-radius: 22px; background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px rgb(0 0 0 / 40%); }
.lightbox::backdrop { background: rgb(10 9 8 / 78%); backdrop-filter: blur(3px); }
.lightbox-inner { display: grid; }
@media (min-width: 900px) { .lightbox-inner { grid-template-columns: 1.5fr 1fr; } }
.lightbox img { width: 100%; height: 100%; max-height: 72vh; object-fit: cover; background: var(--stone); }
.lightbox-text { display: flex; flex-direction: column; gap: 10px; padding: 26px; }
.lightbox-text h2 { font-size: 1.9rem; }
.lightbox-nav { display: flex; gap: 8px; margin-top: auto; padding-top: 12px; }
.icon-btn { display: inline-grid; place-items: center; width: 46px; height: 46px; border: 2px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); cursor: pointer; }
.icon-btn:hover { border-color: var(--ink); }
.icon-btn svg { width: 20px; height: 20px; }
.lightbox-close { position: absolute; top: 12px; right: 12px; z-index: 1; }
.spec { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; font-weight: 600; }

/* Process */
.process { display: grid; gap: 32px; }
@media (min-width: 960px) { .process { grid-template-columns: 0.9fr 1.1fr; align-items: start; } }
.process-media { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.process-media img { width: 100%; height: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.process-media img:first-child { margin-top: 48px; }
.timeline { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.timeline li { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding-bottom: 26px; }
.timeline li::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--ink); color: #fff; font-family: var(--display); font-size: 1.3rem; font-weight: 800;
}
.timeline li::after { content: ''; position: absolute; top: 56px; bottom: 4px; left: 25px; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline h3 { margin: 10px 0 4px; }
.timeline p { margin: 0; color: var(--ink-soft); }
.timeline .when { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--accent-soft); font-family: var(--sans); font-size: 0.78rem; font-weight: 700; letter-spacing: 0; vertical-align: middle; }

/* Reviews */
.reviews { display: grid; gap: 14px; }
@media (min-width: 860px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review { margin: 0; padding: 26px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.stars { color: var(--accent-strong); letter-spacing: 2px; }
.review blockquote { margin: 12px 0 18px; font-size: 1.04rem; }
.review figcaption { font-weight: 700; }
.review figcaption span { display: block; color: var(--muted); font-size: 0.86rem; font-weight: 450; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 880px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-weight: 700; font-size: 1.05rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--stone); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: '−'; background: var(--accent); }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--ink-soft); }

/* CTA band */
.cta-band { display: grid; gap: 24px; padding: clamp(28px, 5vw, 60px); border-radius: 28px; background: var(--accent); }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.3fr auto; align-items: center; } }
.cta-band h2 { margin-bottom: 10px; }
.cta-band p { margin: 0; max-width: 56ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Forms */
label, legend { font-weight: 650; font-size: 0.95rem; }
input, select, textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  border: 2px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font: inherit;
}
textarea { min-height: 120px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgb(243 197 34 / 70%); outline-offset: 1px; border-color: var(--ink); }
input[aria-invalid='true'], textarea[aria-invalid='true'] { border-color: var(--error); }
.field { display: grid; gap: 6px; align-content: start; }
.field-error { color: var(--error); font-size: 0.87rem; font-weight: 600; }
.field-error:empty { display: none; }
.hint { color: var(--muted); font-size: 0.86rem; }
.checkbox { display: flex; align-items: flex-start; gap: 10px; font-weight: 450; }
.checkbox input { flex: none; width: 20px; height: 20px; min-height: 0; margin-top: 2px; accent-color: var(--ink); }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { margin-bottom: 10px; padding: 0; }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid.two { grid-template-columns: 1fr 1fr; } .span-2 { grid-column: 1 / -1; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; margin: 0; opacity: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 9px 16px; border: 2px solid var(--line); border-radius: 999px; background: #fff; font-weight: 600; font-size: 0.93rem; }
.chip input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--accent-strong); outline-offset: 2px; }

/* Page head */
.page-head { padding-block: 32px 12px; }
.page-head h1 { margin-bottom: 10px; font-size: clamp(2.4rem, 5.6vw, 4.2rem); }
.page-head p { max-width: 62ch; color: var(--ink-soft); font-size: 1.1rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; padding: 0; list-style: none; color: var(--muted); font-size: 0.88rem; }
.breadcrumbs li + li::before { content: '/'; margin-right: 6px; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* Price list */
.price-groups { display: grid; gap: 18px; }
@media (min-width: 960px) { .price-groups { grid-template-columns: 1fr 1fr; align-items: start; } }
.price-group { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.price-group h2 { margin: 0; padding: 18px 22px; background: var(--stone); font-size: 1.35rem; letter-spacing: -0.01em; }
table { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
th, td { padding: 12px 22px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
td.price-cell { white-space: nowrap; text-align: right; font-weight: 700; }
tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; margin: 16px 0 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.table-wrap th { background: var(--stone); }

/* Contact */
.contact-layout { display: grid; gap: 28px; padding-bottom: 96px; }
@media (min-width: 960px) { .contact-layout { grid-template-columns: 1fr 380px; align-items: start; } }
.panel { padding: clamp(22px, 3.4vw, 36px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.panel h2 { font-size: 1.7rem; }
.contact-aside { display: grid; gap: 16px; }
@media (min-width: 960px) { .contact-aside { position: sticky; top: calc(var(--header) + 20px); } }
.contact-aside .panel { padding: 24px; }
.contact-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.contact-list li { display: flex; gap: 12px; }
.contact-list svg { flex: none; width: 22px; height: 22px; margin-top: 2px; }
.contact-list a { font-weight: 700; }
.estimate-note { display: none; padding: 14px 16px; border-left: 4px solid var(--accent); border-radius: 0 12px 12px 0; background: var(--accent-soft); }
.estimate-note.is-visible { display: block; }
.demo-note { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--stone); color: var(--ink-soft); font-size: 0.88rem; }
.success { padding: clamp(36px, 6vw, 64px) 24px; text-align: center; }
.success-icon { display: grid; place-items: center; width: 70px; height: 70px; margin: 0 auto 18px; border-radius: 50%; background: var(--accent); }
.success-icon svg { width: 34px; height: 34px; }
.success p { max-width: 54ch; margin-inline: auto; color: var(--ink-soft); }

/* Article */
.article { max-width: 780px; padding-bottom: 96px; }
.article h2 { margin-top: 52px; font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
.article ul, .article ol { padding-left: 1.2em; }
.article li { margin-bottom: 8px; }
.article-meta { color: var(--muted); font-size: 0.92rem; }
.article figure { margin: 28px 0; }
.article figure img { width: 100%; border-radius: var(--radius); }
.article figcaption { margin-top: 8px; color: var(--muted); font-size: 0.88rem; }
.tip { margin: 24px 0; padding: 18px 20px; border-left: 4px solid var(--accent); border-radius: 0 14px 14px 0; background: var(--paper); }
.tip strong { display: block; margin-bottom: 4px; }

/* Footer */
.site-footer { padding-block: 60px 28px; background: var(--dark); color: #d6d0c6; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.5fr repeat(3, 1fr); } }
.site-footer .logo { margin-bottom: 14px; color: #fff; }
.site-footer p { max-width: 38ch; color: #b9b2a6; }
.site-footer h2 { margin-bottom: 14px; color: #a39b8e; font-family: var(--sans); font-size: 0.78rem; font-weight: 750; letter-spacing: 0.14em; text-transform: uppercase; }
.site-footer ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.site-footer a { color: #f4efe6; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 44px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / 12%); color: #9f978a; font-size: 0.85rem; }

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