/* РемонтЗабора — light, responsive design system */
/* Golos Text (SIL OFL) — хранится на нашем сервере, а не у Google: быстрее и без передачи данных посетителей за границу */
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/golos-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/golos-latin.woff2) format('woff2'); 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: 'Golos Text'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/golos-latin-ext.woff2) format('woff2'); 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 {
  --ink: #0f172a;
  --muted: #67726d;
  --green: #2563eb;
  --green-hover: #2563eb;
  --lime: #a8c7f8;
  --paper: #fff;
  --soft: #f0f5fb;
  --line: #dbe6f5;
  --text-body: 1.125rem;
  --text-lead: 1.25rem;
  --text-ui: 1rem;
  --text-small: .9375rem;
  --text-caption: .8125rem;
  --text-card-title: 1.5rem;
  --text-step-title: 1.5rem;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'Golos Text', Arial, sans-serif; font-size: var(--text-body); line-height: 1.6; -webkit-font-smoothing: antialiased; }
::selection { background: var(--lime); color: var(--ink); }
button, input, textarea, select { font: inherit; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
button { color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--green); outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 550; }
h1 { font-size: clamp(48px, 5.35vw, 80px); line-height: 1.045; letter-spacing: -.065em; }
h2 { font-size: clamp(32px, 3.5vw, 50px); line-height: 1.12; letter-spacing: -.055em; }
h3 { font-size: 23px; line-height: 1.25; letter-spacing: -.035em; }
p { color: var(--muted); }
.container { width: min(100% - 96px, 1320px); margin-inline: auto; }
.icon { flex: none; width: 22px; height: 22px; vertical-align: middle; }
[hidden], .hidden { display: none !important; }
.skip { position: fixed; top: -100px; left: 16px; z-index: 100; padding: 12px 20px; border-radius: 10px; background: white; color: var(--green); }
.skip:focus { top: 12px; }
.header { position: sticky; top: 0; z-index: 50; background: #ffffffed; border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.header-inner { height: 96px; display: flex; align-items: center; gap: 32px; }
.logo { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.logo-icon { display: block; flex: none; width: 43px; height: 45px; border-radius: 12px; background: var(--green); overflow: hidden; }
.logo-icon svg { display: block; width: 100%; height: 100%; }
.brand { display: block; font-size: 21px; font-weight: 650; letter-spacing: -1px; line-height: 1.1; }
.brand > span { color: var(--green); }
.brand small { display: block; margin-top: 7px; font-size: .6875rem; font-weight: 450; letter-spacing: 1.05px; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 25px; margin-left: auto; font-size: var(--text-ui); font-weight: 450; }
.nav > a { padding-block: 14px; position: relative; white-space: nowrap; }
.nav > a:hover, .nav > a.active { color: var(--green); }
.nav > a.active::after { content: ''; position: absolute; bottom: 4px; left: 0; width: 16px; height: 3px; background: var(--green); border-radius: 2px; }
.nav .nav-request { display: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 25px; min-height: 56px; padding: 16px 24px; border: 1px solid transparent; border-radius: 12px; background: var(--green); color: #fff; font-size: var(--text-ui); font-weight: 500; line-height: 1.4; transition: background .2s, transform .2s, border-color .2s; }
.btn:hover { background: var(--green-hover); transform: translateY(-2px); }
.btn .icon { width: 20px; height: 20px; }
.btn.light { color: var(--ink); background: #fff; border-color: #d6dde8; }
.btn.light:hover { background: var(--soft); border-color: #95a9c5; }
.btn.dark { background: var(--ink); color: #fff; }
.btn.dark:hover { background: var(--green-hover); }
.btn.small { min-height: 46px; padding: 12px 18px; gap: 16px; font-size: var(--text-ui); }
.menu-toggle { display: none; }
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; gap: 42px; padding-block: 48px 44px; }
.hero-copy { padding-block: 42px 28px; display: flex; flex-direction: column; align-items: flex-start; }
.eyebrow, .section-kicker { display: block; color: var(--green); font-size: var(--text-caption); line-height: 1.6; font-weight: 500; letter-spacing: 1.6px; text-transform: uppercase; }
.eyebrow { margin-bottom: 28px; }
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--green); margin-right: 8px; vertical-align: 1px; }
.hero h1 { font-size: clamp(50px, 5.5vw, 82px); }
.hero h1 span, .page-intro h1 > span { color: var(--green); }
.hero-copy > p { margin-top: 25px; font-size: var(--text-lead); line-height: 1.85; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-caption { display: flex; align-items: center; gap: 9px; margin-top: 36px; color: var(--muted); font-size: var(--text-small); }
.mini-icon { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; background: #e2ecfd; color: var(--green); }
.mini-icon .icon { width: 14px; height: 14px; }
.hero-image { position: relative; min-height: 510px; border-radius: 26px; background: #e1ebf8; overflow: hidden; }
.hero-image > img { width: 100%; height: 100%; position: absolute; object-fit: cover; object-position: 33% center; }
.photo-label { display: inline-flex; align-items: center; position: absolute; top: 22px; left: 22px; padding: 9px 12px; background: #ffffffed; color: #3c4d65; border-radius: 7px; font-size: var(--text-caption); line-height: 1.5; letter-spacing: .8px; backdrop-filter: blur(12px); }
.photo-label .dot { width: 5px; height: 5px; margin-right: 6px; }
.hero-image-mark { display: grid; place-items: center; position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; background: var(--lime); border-radius: 50%; color: #212d3f; }
.floating-card { display: flex; align-items: flex-start; gap: 16px; position: absolute; left: 24px; right: 24px; bottom: 24px; padding: 23px; border-radius: 16px; background: #fffffff2; backdrop-filter: blur(16px); }
.floating-icon { display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid #d9e0eb; border-radius: 11px; color: var(--green); flex: none; }
.floating-card strong { display: block; font-size: 20px; line-height: 1.2; font-weight: 500; letter-spacing: -.6px; }
.floating-card div > span { display: block; margin-top: 9px; color: var(--muted); font-size: var(--text-ui); }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); padding: 25px 0 30px; border-bottom: 1px solid var(--line); gap: 28px; }
.principle { display: flex; align-items: center; gap: 15px; }
.line-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--soft); color: var(--green); flex: none; }
.principle strong { display: block; font-size: var(--text-body); font-weight: 550; }
.principle div > span { display: block; font-size: var(--text-ui); color: var(--muted); margin-top: 4px; }
.section { margin-top: 104px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 34px; }
.section-kicker { margin-bottom: 19px; }
.section-head p { max-width: 450px; font-size: var(--text-body); margin-top: 20px; }
.text-link { display: inline-flex; align-items: center; gap: 18px; color: var(--green); font-size: var(--text-ui); font-weight: 500; }
.text-link .icon { width: 20px; height: 20px; transition: transform .2s; }
.text-link:hover .icon { transform: translateX(4px); }
.section-link { padding: 14px 0 8px; flex: none; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.chip { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 10px 19px; border: 1px solid var(--line); border-radius: 9px; background: #fff; font-size: var(--text-ui); transition: background .2s, color .2s, border-color .2s; }
.chip span { opacity: .65; font-size: var(--text-caption); }
.chip:hover { border-color: var(--green); }
.chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.service-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: 20px; background: white; overflow: hidden; transition: transform .25s, border-color .25s, box-shadow .25s; }
.service-card:hover { transform: translateY(-5px); border-color: #b2c2d8; box-shadow: 0 14px 30px #212d3f0a; }
.service-visual { position: relative; height: 220px; background: #e7eff9; overflow: hidden; }
.service-visual svg { width: 100%; height: 100%; transition: transform .35s; }
.service-card:hover .service-visual svg { transform: scale(1.035); }
.visual-picket { background: #f3f1e9; }
.visual-posts { background: #e5eef9; }
.visual-gate { background: #edf0f4; }
.visual-mesh { background: #e5eef9; }
.visual-paint { background: #f4efe8; }
.visual-tag { position: absolute; top: 16px; left: 18px; font-size: var(--text-caption); color: #4a5f7d; z-index: 1; }
.card-body { padding: 24px; display: flex; flex: 1; flex-direction: column; }
.card-index { color: #6c809c; font-size: var(--text-caption); letter-spacing: 1.3px; margin-bottom: 11px; }
.card-body h3 { font-size: var(--text-card-title); max-width: 310px; }
.card-body p { font-size: var(--text-body); line-height: 1.8; margin: 13px 0 24px; }
.card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 17px; border-top: 1px solid var(--line); font-size: var(--text-small); color: var(--muted); }
.circle-arrow { display: grid; place-items: center; width: 32px; height: 32px; background: var(--soft); border-radius: 50%; color: var(--green); transition: background .2s, color .2s; }
.circle-arrow .icon { width: 17px; height: 17px; }
.service-card:hover .circle-arrow { background: var(--green); color: white; }
.help-strip { margin-top: 24px; padding: 24px 28px; display: flex; align-items: center; gap: 18px; border-radius: 16px; background: var(--soft); }
.help-symbol { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #abbcd3; border-radius: 50%; color: var(--green); font-size: 19px; flex: none; }
.help-strip h3 { font-size: 1.25rem; }
.help-strip p { font-size: var(--text-body); margin-top: 4px; }
.help-strip .text-link { margin-left: auto; flex: none; }
.process { padding: 58px; background: var(--soft); border-radius: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.intro-copy > p { max-width: 350px; font-size: var(--text-body); line-height: 1.85; margin: 24px 0; }
.intro-copy .text-link { margin-top: 2px; }
.process-note { display: flex; gap: 13px; align-items: center; margin-top: 39px; font-size: var(--text-small); color: var(--muted); line-height: 1.6; }
.process-note > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: var(--green); background: #d7e4f5; }
.process-note .icon { width: 17px; height: 17px; }
.steps { display: grid; align-content: start; }
.step { display: flex; gap: 23px; padding: 29px 0; border-bottom: 1px solid #d7dfea; }
.step:first-child { padding-top: 3px; }
.step-number { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid #c2cfe0; font-size: .875rem; color: var(--green); }
.step h3 { font-size: var(--text-step-title); line-height: 1.3; padding-top: 5px; }
.step p { font-size: var(--text-body); line-height: 1.85; margin-top: 12px; }
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.case { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: 18px; transition: background .2s, border-color .2s; }
.case:hover { background: var(--soft); border-color: #b1c1d7; }
.case-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 37px; }
.case-top > span { font-size: var(--text-caption); color: #617592; }
.case-top .icon { width: 20px; height: 20px; color: var(--green); }
.case h3 { font-size: 24px; }
.case p { margin-top: 16px; margin-bottom: 30px; font-size: var(--text-body); line-height: 1.85; }
.case .text-link { margin-top: auto; font-size: var(--text-ui); }
.faq-section { display: grid; grid-template-columns: .85fr 1.35fr; gap: 70px; }
.faq-section > div:first-child > p { margin-top: 19px; font-size: var(--text-body); }
.faq-section > div:first-child > .text-link { margin-top: 27px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 23px 0; font-size: var(--text-body); letter-spacing: -.3px; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary > span { display: grid; place-items: center; flex: none; width: 29px; height: 29px; border-radius: 50%; background: var(--soft); color: var(--green); }
.faq summary .icon { width: 17px; height: 17px; transition: transform .2s; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { font-size: var(--text-body); line-height: 1.85; padding: 0 40px 25px 0; }
.cta { position: relative; isolation: isolate; display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 40px; background: var(--lime); border-radius: 28px; padding: 58px; margin-top: 104px; overflow: hidden; }
.cta .section-kicker { color: #30435d; margin-bottom: 21px; }
.cta h2 { font-size: clamp(36px, 3.4vw, 50px); }
.cta p { margin-top: 20px; color: #3b5273; font-size: var(--text-body); line-height: 1.85; }
.cta-action { justify-self: end; display: flex; flex-direction: column; align-items: center; gap: 16px; position: relative; z-index: 1; }
.cta-action .btn { min-width: 220px; }
.cta-action > span { display: flex; align-items: center; gap: 7px; color: #384e6c; font-size: var(--text-small); }
.cta-action > span .icon { width: 15px; height: 15px; }
.cta-fence { position: absolute; display: flex; gap: 22px; right: -30px; bottom: -25px; transform: rotate(-15deg); z-index: -1; opacity: .09; }
.cta-fence i { width: 24px; height: 280px; border: 1px solid #2563eb; border-radius: 10px 10px 0 0; }
.footer { margin-top: 88px; padding-top: 46px; border-top: 1px solid var(--line); }
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 36px; padding-bottom: 44px; }
.footer-top > div > p { font-size: var(--text-ui); line-height: 1.8; margin-top: 20px; }
.footer-links { display: grid; grid-template-columns: auto auto; gap: 14px 45px; padding-top: 4px; font-size: var(--text-ui); }
.footer-links a:hover { color: var(--green); }
.footer-request { display: flex; gap: 28px; font-size: 24px; font-weight: 500; letter-spacing: -1px; line-height: 1.25; color: var(--green); }
.footer-request .icon { width: 30px; height: 30px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-block: 24px; font-size: var(--text-caption); color: var(--muted); }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; margin: 32px 0; font-size: var(--text-small); color: #738177; }
.breadcrumb > span:last-child { display: inline-flex; flex-wrap: wrap; gap: 11px; }
.breadcrumb a:hover { color: var(--green); }
.page-intro { padding-block: 32px 46px; }
.page-intro h1 { font-size: clamp(40px, 4.9vw, 70px); }
.page-intro > p { max-width: 610px; font-size: var(--text-lead); line-height: 1.85; margin-top: 24px; }
.page-intro .eyebrow { margin-bottom: 22px; }
.detail-hero { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 55px; margin-top: 45px; }
.detail-hero h1 { font-size: clamp(40px, 4.5vw, 66px); }
.detail-hero p { margin: 25px 0 28px; font-size: var(--text-lead); line-height: 1.85; max-width: 500px; }
.detail-hero .service-visual { height: 400px; border-radius: 26px; }
.detail-note { display: flex; align-items: center; gap: 8px; font-size: var(--text-small); color: var(--muted); margin-top: 22px; }
.detail-note .icon { width: 16px; height: 16px; color: var(--green); }
.detail-body { display: grid; grid-template-columns: 1.4fr .7fr; gap: 85px; margin-top: 90px; }
.detail-body h2 { font-size: 34px; margin-bottom: 26px; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { display: flex; gap: 16px; align-items: flex-start; font-size: var(--text-body); padding-block: 20px; border-bottom: 1px solid var(--line); }
.check-list .icon { width: 19px; height: 19px; color: var(--green); margin-top: 2px; }
.body-block { margin-top: 56px; }
.detail-body .step h3 { font-size: 1.25rem; }
.info-panel { position: sticky; top: 125px; align-self: start; border-radius: 22px; padding: 32px; background: var(--soft); }
.info-panel h3 { font-size: 28px; }
.info-panel p { font-size: var(--text-ui); line-height: 1.85; margin-block: 20px; }
.panel-divider { height: 1px; background: #d6deea; }
.info-panel .btn { width: 100%; font-size: var(--text-ui); padding-inline: 16px; gap: 12px; }
.preparation { display: flex; gap: 20px; padding: 25px; background: var(--soft); border-radius: 16px; }
.preparation .line-icon { background: white; }
.preparation h3 { font-size: 1.25rem; }
.preparation p { font-size: var(--text-ui); margin-top: 12px; line-height: 1.85; }
.note { display: flex; align-items: flex-start; gap: 12px; background: var(--soft); border: 1px solid var(--line); color: var(--muted); font-size: var(--text-small); padding: 18px 22px; margin: 0 0 28px; border-radius: 12px; line-height: 1.75; }
.note > .icon { color: var(--green); width: 19px; height: 19px; margin-top: 1px; }
.table-wrap { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; }
.price-table { width: 100%; border-collapse: collapse; font-size: var(--text-ui); }
.price-table th { background: var(--soft); font-size: var(--text-caption); letter-spacing: 1px; text-transform: uppercase; color: var(--muted); font-weight: 450; text-align: left; }
.price-table th, .price-table td { padding: 23px 27px; border-bottom: 1px solid var(--line); }
.price-table tr:last-child td { border-bottom: 0; }
.price-table td:nth-child(2) { color: var(--muted); font-size: var(--text-ui); }
.price-table td a { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.price-table td a:hover { color: var(--green); }
.price-table td a .icon { width: 16px; height: 16px; color: var(--green); }
.price-badge { display: inline-block; background: #e7eff9; color: #384e6c; border-radius: 6px; padding: 7px 11px; white-space: nowrap; font-size: var(--text-small); }
.estimate-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.estimate-item { padding-top: 22px; border-top: 1px solid #c2cfe0; }
.estimate-item > span { color: var(--green); font-size: var(--text-caption); }
.estimate-item h3 { font-size: 20px; margin-top: 23px; }
.estimate-item p { font-size: var(--text-ui); margin-top: 12px; line-height: 1.85; }
.about-image { position: relative; border-radius: 26px; overflow: hidden; }
.about-hero { width: 100%; height: 440px; object-fit: cover; object-position: center 57%; }
.split-section { display: grid; grid-template-columns: 1fr 1.2fr; gap: 70px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-card { padding: 40px; border: 1px solid var(--line); border-radius: 22px; }
.contact-card h2 { font-size: 38px; }
.contact-card > p { font-size: var(--text-body); line-height: 1.85; margin: 22px 0 30px; max-width: 400px; }
.contact-line { border-top: 1px solid var(--line); padding: 17px 0; display: flex; justify-content: space-between; align-items: start; gap: 20px; font-size: var(--text-ui); }
.contact-line span { color: var(--muted); }
.contact-line b { font-weight: 450; }
.contact-action { background: var(--soft); border-color: var(--soft); }
.contact-action > .line-icon { background: #d7e4f5; margin-bottom: 27px; }
.contact-action > small { display: block; color: var(--muted); font-size: var(--text-small); line-height: 1.8; margin-top: 24px; }
.request-intro { padding-top: 20px; }
.wizard { display: grid; grid-template-columns: .72fr 1.4fr; gap: 28px; align-items: start; }
.wizard-aside { border-radius: 22px; padding: 34px; background: var(--soft); }
.wizard-aside-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: #d6e3f5; color: var(--green); margin-bottom: 23px; }
.wizard-aside h2 { font-size: 29px; }
.wizard-aside > p { font-size: var(--text-body); line-height: 1.85; margin-top: 17px; }
.wizard-progress { display: grid; list-style: none; margin: 30px 0; padding: 0; }
.wizard-progress li { position: relative; display: flex; align-items: center; gap: 14px; padding-bottom: 25px; font-size: var(--text-small); color: #617590; }
.wizard-progress li:last-child { padding-bottom: 0; }
.wizard-progress li:not(:last-child)::after { position: absolute; content: ''; width: 1px; height: 25px; top: 32px; left: 15px; background: #cad4e3; }
.wizard-progress b { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid #c0ccdd; border-radius: 50%; font-size: .875rem; font-weight: 450; }
.wizard-progress b .icon { width: 16px; height: 16px; }
.wizard-progress .active { color: var(--green); font-weight: 550; }
.wizard-progress .active b { background: var(--green); border-color: var(--green); color: white; }
.wizard-progress .complete { color: var(--green); }
.wizard-progress .complete b { border-color: #acbdd5; background: #cedffb; }
.wizard-tip { display: flex; gap: 12px; padding-top: 24px; border-top: 1px solid #d5deea; color: var(--muted); font-size: var(--text-small); line-height: 1.8; }
.wizard-tip .icon { color: var(--green); width: 20px; height: 20px; }
.wizard-content { border: 1px solid var(--line); border-radius: 22px; padding: 38px; min-height: 510px; scroll-margin-top: 116px; }
.wizard-content h2 { font-size: 32px; }
#wizard-title:focus { outline: none; }
.wizard-content > p { font-size: var(--text-body); margin: 15px 0 27px; }
.option-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.option { position: relative; display: flex; align-items: center; gap: 10px; min-height: 65px; padding: 16px; border: 1px solid var(--line); border-radius: 11px; font-size: var(--text-ui); cursor: pointer; transition: border-color .2s, background .2s; }
.option:hover { border-color: #90a7c6; }
.option:has(input:checked) { border-color: var(--green); background: #e6effd; }
.option input { width: 17px; height: 17px; margin: 0; flex: none; accent-color: var(--green); }
.wizard-buttons { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-top: 29px; padding-top: 25px; border-top: 1px solid var(--line); }
.wizard-step-label { color: var(--muted); font-size: var(--text-small); }
.wizard-buttons .btn { min-height: 48px; padding: 13px 21px; font-size: var(--text-ui); gap: 15px; }
.field { display: block; font-size: var(--text-ui); font-weight: 500; margin-bottom: 20px; }
.field > span { color: var(--green); }
.field input, .field textarea { display: block; width: 100%; border: 1px solid #d7dee9; border-radius: 10px; background: #f9fbfe; color: var(--ink); padding: 14px; margin-top: 9px; font-size: var(--text-ui); outline-offset: 2px; }
.field input::placeholder, .field textarea::placeholder { color: #7c8780; opacity: 1; font-size: var(--text-ui); }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { background: white; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.upload { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 25px 16px; border: 1px dashed #9db1cc; border-radius: 12px; background: #f8fafd; text-align: center; cursor: pointer; }
.upload > .icon { color: var(--green); width: 26px; height: 26px; margin-bottom: 4px; }
.upload strong { font-size: var(--text-small); font-weight: 500; }
.upload > span { color: var(--muted); font-size: var(--text-small); }
.upload input { display: block; max-width: 100%; margin-top: 10px; font-size: var(--text-small); }
.upload input::file-selector-button { border: 1px solid #cdd7e5; border-radius: 5px; padding: 6px 10px; background: white; color: var(--green); margin-right: 10px; cursor: pointer; }
.previews { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.previews img { width: 64px; height: 64px; border-radius: 9px; object-fit: cover; }
.error { color: #ab3e2f; font-size: var(--text-small); margin-top: 13px; }
.summary-box { background: var(--soft); border-radius: 12px; padding: 24px; font-size: var(--text-ui); line-height: 1.9; white-space: pre-line; overflow-wrap: anywhere; }
.wizard-content .caption { font-size: var(--text-small); margin-block: 15px 0; line-height: 1.8; }
.wizard-disclaimer { margin-top: 25px; }
#download-status .note { margin-top: 20px; margin-bottom: 0; }
.mobile-cta { display: none; }

@media (min-width: 1550px) {
  .hero { gap: 65px; padding-block: 60px 48px; }
  .hero-copy { padding-block: 46px; }
  .hero-image { min-height: 550px; }
}
@media (max-width: 1220px) {
  .container { width: calc(100% - 64px); }
  .header-inner { gap: 22px; }
  .nav { gap: 18px; font-size: var(--text-ui); }
  .brand { font-size: 19px; }
  .brand small { font-size: .6875rem; }
  .hero { gap: 30px; }
  .hero h1 { font-size: 64px; }
  .hero-copy { padding-top: 30px; }
  .hero-copy > p { font-size: var(--text-lead); }
  .actions { gap: 10px; }
  .actions .btn { font-size: var(--text-ui); gap: 16px; padding-inline: 19px; }
  .hero-image { min-height: 490px; }
  .process { gap: 50px; padding: 44px; }
  .detail-body { gap: 45px; }
}
@media (max-width: 1280px) {
  .header-inner { height: 82px; }
  .header-cta { margin-left: auto; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: white; flex: none; }
  .menu-toggle span { width: 18px; height: 1.5px; background: var(--ink); transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .nav { display: none; position: absolute; top: 82px; left: 0; right: 0; padding: 20px 32px 28px; background: white; border-bottom: 1px solid var(--line); box-shadow: 0 20px 25px #212d3f08; font-size: var(--text-ui); }
  .nav.open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .nav > a { padding: 14px 8px; }
  .nav > a.active::after { display: none; }
  .nav > a.active { background: var(--soft); border-radius: 8px; }
  .nav .nav-request { display: flex; justify-content: space-between; margin-top: 10px; color: var(--green); border-top: 1px solid var(--line); padding-top: 22px; }
}
@media (max-width: 1120px) {
  .hero h1 { font-size: 58px; }
  .hero { gap: 24px; padding-top: 32px; }
  .hero-copy { padding-top: 26px; }
  .hero-image { min-height: 465px; }
  .hero-caption { font-size: var(--text-small); }
  .hero-image-mark { display: none; }
  .hero .actions .btn { font-size: var(--text-ui); padding-inline: 15px; gap: 12px; }
  .principles { gap: 15px; }
  .principle { gap: 11px; }
  .principle div > span { font-size: var(--text-ui); }
  .principle strong { font-size: var(--text-body); }
  .line-icon { width: 40px; height: 40px; }
  .cards { gap: 16px; }
  .card-body { padding: 22px 19px; }
  .card-body h3 { font-size: var(--text-card-title); }
  .service-visual { height: 190px; }
  .process { padding: 38px; gap: 36px; }
  .case { padding: 24px; }
  .case h3 { font-size: 21px; }
  .faq-section { gap: 45px; }
  .cta { padding: 44px; }
  .detail-hero { gap: 35px; }
  .detail-hero .service-visual { height: 350px; }
  .detail-body { grid-template-columns: 1.35fr .8fr; gap: 35px; }
  .info-panel { padding: 25px; }
  .info-panel h3 { font-size: 25px; }
  .wizard { gap: 20px; grid-template-columns: .7fr 1.3fr; }
  .wizard-aside { padding: 27px; }
  .wizard-content { padding: 28px; }
  .wizard-content h2 { font-size: 28px; }
  .option { padding: 13px; font-size: var(--text-ui); }
  .wizard-step-label { display: none; }
  .wizard-buttons:has(.wizard-step-label) { justify-content: flex-end; }
}
@media (max-width: 860px) {
  .hero { gap: 20px; }
  .hero h1 { font-size: 52px; }
  .hero-copy > p { font-size: var(--text-lead); }
  .desktop-break { display: none; }
  .hero .actions { flex-direction: column; align-items: stretch; width: 100%; }
  .hero .actions .btn { min-height: 46px; justify-content: space-between; }
  .hero-caption { margin-top: 23px; }
  .hero-image { min-height: 490px; }
  .floating-card { left: 16px; right: 16px; bottom: 16px; padding: 18px; gap: 11px; }
  .floating-card strong { font-size: 17px; }
  .floating-card div > span { font-size: var(--text-ui); }
  .floating-icon { width: 34px; height: 34px; }
  .floating-icon .icon { width: 19px; height: 19px; }
  .principles { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .principle { align-items: flex-start; }
  .principle .line-icon { width: 30px; height: 30px; border-radius: 8px; }
  .principle .icon { width: 18px; height: 18px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-visual { height: 205px; }
  .section { margin-top: 80px; }
  .process { gap: 38px; }
  .process h2 { font-size: 36px; }
  .step { gap: 16px; }
  .step h3 { font-size: var(--text-step-title); }
  .step-number { width: 30px; height: 30px; font-size: .875rem; }
  .case-grid { gap: 14px; }
  .case { padding: 23px 19px; }
  .case h3 { font-size: 20px; }
  .case-top > span { font-size: var(--text-caption); }
  .case p { font-size: var(--text-body); }
  .cta { padding: 36px; gap: 25px; }
  .cta h2 { font-size: 36px; }
  .cta p { font-size: var(--text-body); }
  .cta-action .btn { min-width: 0; }
  .cta-action > span { font-size: var(--text-small); }
  .footer-links { gap: 12px 26px; }
  .footer-request { font-size: 21px; gap: 12px; }
  .footer .brand { font-size: 17px; }
  .footer .brand small { font-size: .6875rem; }
  .detail-body { grid-template-columns: 1fr; }
  .info-panel { position: static; }
  .info-panel .btn { width: auto; }
  .estimate-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
  .contact-card { padding: 28px; }
  .contact-card h2 { font-size: 32px; }
  .wizard { grid-template-columns: 1fr; }
  .wizard-aside { display: grid; grid-template-columns: 1fr 1.2fr; gap: 5px 30px; }
  .wizard-aside-icon, .wizard-tip { display: none; }
  .wizard-aside h2 { font-size: 25px; }
  .wizard-aside > p { grid-row: 2; margin: 5px 0 0; }
  .wizard-progress { grid-column: 2; grid-row: 1 / 3; margin: 0; }
  .wizard-progress li { padding-bottom: 12px; }
  .wizard-progress li:not(:last-child)::after { height: 12px; }
  .wizard-content { min-height: 0; padding: 34px; }
}
@media (max-width: 640px) {
  :root { --text-body: 1.0625rem; --text-lead: 1.125rem; --text-step-title: 1.375rem; }
  html { scroll-padding-top: 90px; }
  .container { width: calc(100% - 40px); }
  .header-inner { height: 74px; gap: 12px; }
  .logo { gap: 10px; }
  .logo-icon { width: 35px; height: 38px; border-radius: 9px; }
  .brand { font-size: 19px; letter-spacing: -.9px; }
  .brand small { font-size: .6875rem; letter-spacing: .8px; margin-top: 5px; }
  .header-cta { display: none; }
  .menu-toggle { margin-left: auto; width: 40px; height: 40px; border-radius: 9px; }
  .nav { top: 74px; padding: 15px 20px 24px; }
  .hero { grid-template-columns: 1fr; gap: 29px; padding-top: 25px; padding-bottom: 26px; }
  .hero-copy { padding: 14px 0 0; }
  .hero .eyebrow { margin-bottom: 23px; font-size: var(--text-caption); letter-spacing: 1.2px; }
  .hero h1 { font-size: clamp(46px, 10.4vw, 65px); line-height: 1.055; letter-spacing: -.06em; }
  .hero-copy > p { max-width: 390px; font-size: var(--text-lead); line-height: 1.8; margin-top: 21px; }
  .hero .actions { flex-direction: row; flex-wrap: nowrap; width: 100%; margin-top: 25px; gap: 9px; }
  .hero .actions .btn { min-height: 50px; font-size: var(--text-ui); justify-content: center; gap: 10px; flex: 1; padding: 13px 12px; border-radius: 10px; }
  .hero .actions .btn .icon { width: 17px; height: 17px; }
  .hero-caption { font-size: var(--text-small); margin-top: 20px; }
  .hero-image { min-height: 350px; border-radius: 20px; }
  .hero-image > img { object-position: center 56%; }
  .photo-label { top: 17px; left: 17px; font-size: var(--text-caption); padding: 7px 10px; }
  .hero-image-mark { display: grid; top: 16px; right: 16px; width: 33px; height: 33px; }
  .hero-image-mark .icon { width: 19px; height: 19px; }
  .floating-card { left: 16px; right: 16px; bottom: 16px; padding: 18px; border-radius: 13px; gap: 13px; align-items: center; }
  .floating-card strong { font-size: 18px; }
  .floating-card strong br { display: none; }
  .floating-card div > span { font-size: var(--text-ui); margin-top: 6px; }
  .floating-icon { width: 37px; height: 37px; }
  .principles { grid-template-columns: 1fr; gap: 21px; padding-block: 11px 29px; }
  .principle { align-items: center; gap: 13px; }
  .principle .line-icon { width: 38px; height: 38px; border-radius: 10px; }
  .principle .icon { width: 21px; height: 21px; }
  .principle strong { font-size: var(--text-body); }
  .principle div > span { font-size: var(--text-ui); margin-top: 2px; }
  h2 { font-size: 34px; }
  .section { margin-top: 62px; }
  .section-kicker { font-size: var(--text-caption); letter-spacing: 1.4px; margin-bottom: 16px; }
  .section-head { display: block; margin-bottom: 25px; }
  .section-head h2 { font-size: 35px; }
  .section-head p { font-size: var(--text-body); line-height: 1.85; margin-top: 17px; }
  .section-link { margin-top: 13px; padding-bottom: 0; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-right: -20px; padding: 4px 20px 12px 4px; margin-left: -4px; margin-bottom: 15px; scrollbar-width: thin; scrollbar-color: #d0dae7 transparent; }
  .chip { flex: none; min-height: 43px; padding: 10px 16px; font-size: var(--text-ui); border-radius: 8px; }
  .cards { grid-template-columns: 1fr; gap: 18px; }
  .service-card { border-radius: 18px; }
  .service-visual { height: 210px; }
  .visual-tag { top: 17px; left: 21px; font-size: var(--text-caption); }
  .card-body { padding: 23px; }
  .card-index { font-size: var(--text-caption); }
  .card-body h3 { font-size: var(--text-card-title); max-width: none; }
  .card-body p { font-size: var(--text-body); margin-block: 13px 20px; }
  .card-bottom { font-size: var(--text-small); padding-top: 15px; }
  .circle-arrow { width: 35px; height: 35px; }
  .help-strip { padding: 23px; flex-wrap: wrap; gap: 15px; margin-top: 19px; }
  .help-symbol { width: 31px; height: 31px; font-size: 16px; }
  .help-strip > div { flex: 1; }
  .help-strip h3 { font-size: 1.25rem; }
  .help-strip p { font-size: var(--text-body); line-height: 1.7; }
  .help-strip .text-link { width: 100%; margin-left: 46px; font-size: var(--text-ui); justify-content: space-between; }
  .process { grid-template-columns: 1fr; border-radius: 20px; padding: 29px 24px; gap: 35px; }
  .process h2 { font-size: 35px; }
  .intro-copy > p { margin-top: 18px; margin-bottom: 20px; font-size: var(--text-body); }
  .process-note { display: none; }
  .step { padding: 24px 0; gap: 16px; }
  .step h3 { font-size: var(--text-step-title); padding-top: 3px; }
  .step p { font-size: var(--text-body); line-height: 1.8; margin-top: 11px; }
  .step-number { width: 32px; height: 32px; font-size: .875rem; }
  .case-grid { grid-template-columns: 1fr; gap: 15px; }
  .case { padding: 25px; border-radius: 16px; }
  .case-top { margin-bottom: 25px; }
  .case-top > span { font-size: var(--text-caption); }
  .case h3 { font-size: 25px; }
  .case p { font-size: var(--text-body); margin-top: 13px; margin-bottom: 23px; }
  .case .text-link { font-size: var(--text-ui); }
  .faq-section { grid-template-columns: 1fr; gap: 28px; }
  .faq-section h2 br { display: none; }
  .faq-section > div:first-child > p { font-size: var(--text-body); margin-top: 15px; }
  .faq-section > div:first-child > .text-link { margin-top: 18px; }
  .faq summary { font-size: var(--text-body); line-height: 1.5; padding-block: 20px; gap: 15px; }
  .faq details p { font-size: var(--text-body); padding-right: 10px; }
  .cta { grid-template-columns: 1fr; padding: 31px 25px; margin-top: 62px; gap: 29px; border-radius: 20px; }
  .cta h2 { font-size: 35px; }
  .cta .section-kicker { font-size: var(--text-caption); margin-bottom: 20px; }
  .cta p { font-size: var(--text-body); margin-top: 18px; }
  .cta p br { display: none; }
  .cta-action { justify-self: stretch; gap: 13px; align-items: stretch; }
  .cta-action .btn { width: 100%; font-size: 12px; min-height: 52px; justify-content: space-between; }
  .cta-action > span { font-size: var(--text-small); justify-content: center; }
  .cta-fence { right: -100px; bottom: 10px; }
  .footer { margin-top: 60px; padding-top: 30px; padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
  .footer-top { flex-wrap: wrap; gap: 30px 20px; padding-bottom: 30px; }
  .footer-top > div:first-child { width: 100%; }
  .footer .brand { font-size: 19px; }
  .footer .brand small { font-size: .6875rem; }
  .footer-top > div > p { margin-top: 16px; font-size: var(--text-ui); }
  .footer-links { grid-template-columns: 1fr; gap: 13px; font-size: var(--text-ui); }
  .footer-request { margin-left: auto; font-size: 22px; gap: 13px; }
  .footer-request .icon { width: 23px; height: 23px; }
  .footer-bottom { flex-wrap: wrap; gap: 12px; font-size: var(--text-caption); padding-block: 21px 0; }
  .footer-bottom > span:nth-child(2) { order: 3; width: 100%; max-width: 285px; line-height: 1.8; }
  .footer-bottom > a { margin-left: auto; }
  .breadcrumb { margin-block: 23px; font-size: var(--text-small); gap: 8px; }
  .breadcrumb > span:last-child { gap: 8px; }
  .page-intro { padding-block: 18px 30px; }
  .page-intro .eyebrow { font-size: var(--text-caption); letter-spacing: 1.3px; margin-bottom: 20px; }
  .page-intro h1 { font-size: clamp(37px, 9.2vw, 52px); line-height: 1.1; }
  .page-intro > p { font-size: var(--text-lead); margin-top: 21px; }
  .detail-hero { grid-template-columns: 1fr; gap: 28px; margin-top: 30px; }
  .detail-hero .eyebrow { font-size: var(--text-caption); margin-bottom: 20px; }
  .detail-hero h1 { font-size: 44px; }
  .detail-hero p { font-size: var(--text-lead); margin-top: 21px; }
  .detail-hero .btn { font-size: 12px; min-height: 51px; }
  .detail-note { font-size: var(--text-small); margin-top: 18px; }
  .detail-hero .service-visual { height: 280px; border-radius: 20px; }
  .detail-body { margin-top: 48px; gap: 30px; }
  .detail-body h2 { font-size: 30px; margin-bottom: 22px; }
  .check-list li { font-size: var(--text-body); gap: 13px; padding-block: 18px; }
  .body-block { margin-top: 38px; }
  .detail-body .step h3 { font-size: 1.25rem; }
  .info-panel { padding: 27px; border-radius: 18px; }
  .info-panel .btn { width: 100%; }
  .preparation { padding: 23px; gap: 14px; }
  .preparation .line-icon { width: 32px; height: 32px; }
  .preparation .line-icon .icon { width: 18px; height: 18px; }
  .preparation h3 { font-size: 1.25rem; }
  .preparation p { font-size: var(--text-ui); }
  .note { font-size: var(--text-small); padding: 16px; gap: 10px; margin-bottom: 23px; }
  .note > .icon { width: 17px; height: 17px; }
  .price-table th, .price-table td { padding: 20px 15px; }
  .price-table th { font-size: var(--text-caption); }
  .price-table th:nth-child(2), .price-table td:nth-child(2) { display: none; }
  .price-table td:first-child { font-size: var(--text-ui); }
  .price-table td a { gap: 7px; line-height: 1.6; }
  .price-table td a .icon { display: none; }
  .price-badge { font-size: var(--text-small); padding: 6px 8px; }
  .estimate-grid { gap: 27px 20px; }
  .estimate-item h3 { font-size: 18px; margin-top: 17px; }
  .estimate-item p { font-size: var(--text-ui); }
  .about-image { border-radius: 20px; }
  .about-hero { height: 290px; }
  .split-section { grid-template-columns: 1fr; gap: 24px; }
  .contact-grid { grid-template-columns: 1fr; gap: 18px; }
  .contact-card { padding: 27px; border-radius: 19px; }
  .contact-card h2 { font-size: 33px; }
  .contact-card > p { font-size: var(--text-body); margin-top: 18px; }
  .contact-line { font-size: var(--text-ui); gap: 12px; }
  .contact-action .btn { width: 100%; font-size: var(--text-ui); }
  .wizard { gap: 18px; }
  .wizard-aside { display: block; padding: 23px; border-radius: 17px; }
  .wizard-aside h2 { font-size: 24px; }
  .wizard-aside > p { margin-top: 12px; font-size: var(--text-body); }
  .wizard-progress { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-top: 23px; }
  .wizard-progress li { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; font-size: var(--text-small); padding: 0; }
  .wizard-progress li:not(:last-child)::after { display: none; }
  .wizard-progress b { width: 28px; height: 28px; font-size: .875rem; }
  .wizard-content { padding: 25px 21px; border-radius: 17px; scroll-margin-top: 91px; }
  .wizard-content h2 { font-size: 27px; }
  .wizard-content > p { font-size: var(--text-body); margin-bottom: 24px; }
  .option-grid { grid-template-columns: 1fr; gap: 9px; }
  .option { padding: 16px; min-height: 54px; font-size: var(--text-ui); }
  .wizard-buttons { gap: 10px; padding-top: 21px; margin-top: 24px; }
  .wizard-buttons .btn { font-size: var(--text-ui); padding-inline: 15px; gap: 10px; }
  .wizard-buttons .btn .icon { width: 17px; height: 17px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .field { font-size: var(--text-ui); }
  .field input, .field textarea { font-size: var(--text-ui); padding: 13px; }
  .field input::placeholder, .field textarea::placeholder { font-size: var(--text-ui); }
  .summary-box { padding: 18px; font-size: var(--text-ui); }
  .wizard-disclaimer { margin-top: 20px; }
  .mobile-cta { display: block; position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; background: #fffffff2; backdrop-filter: blur(18px); border-top: 1px solid var(--line); padding: 11px 20px calc(11px + env(safe-area-inset-bottom, 0px)); }
  .mobile-cta .btn { display: flex; justify-content: space-between; width: 100%; min-height: 48px; padding: 12px 19px; font-size: var(--text-ui); border-radius: 10px; }
}
@media (max-width: 360px) {
  .container { width: calc(100% - 32px); }
  .brand { font-size: 17px; }
  .brand small { font-size: .6875rem; letter-spacing: .65px; }
  .hero h1 { font-size: 43px; }
  .hero .actions { flex-direction: column; }
  .hero .actions .btn { justify-content: space-between; }
  .hero-image { min-height: 320px; }
  .floating-card { padding: 14px; gap: 10px; }
  .floating-card strong { font-size: 16px; }
  .floating-card div > span { font-size: var(--text-ui); }
  .cta h2 { font-size: 31px; }
  .page-intro h1 { font-size: 34px; }
  .detail-hero h1 { font-size: 38px; }
  .wizard-content { padding-inline: 18px; }
  .wizard-buttons .btn { padding-inline: 12px; font-size: var(--text-ui); }
}

/* Space for the larger type at narrow and intermediate widths. */
.hero, .detail-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.hero-copy, .intro-copy, .steps, .cta-copy, .wizard-content, .wizard-aside { min-width: 0; }
.hero-copy > p, .section-head p, .intro-copy > p { line-height: 1.7; }
.brand small { letter-spacing: .45px; }
.photo-label { max-width: calc(100% - 88px); letter-spacing: .3px; }
.floating-card div > span { line-height: 1.55; }
.card-body p, .step p, .case p, .faq details p { line-height: 1.7; }
.case-top { align-items: flex-start; }
.cta-action > span { line-height: 1.6; }
.footer-top { flex-wrap: wrap; }
.footer-bottom { flex-wrap: wrap; line-height: 1.7; }
.contact-line { flex-wrap: wrap; }
.wizard-progress b { flex-shrink: 0; }
.option { min-height: 72px; }
.wizard-buttons { flex-wrap: wrap; }
.summary-box { line-height: 1.75; }
@media (max-width: 900px) {
  .cta { grid-template-columns: 1fr; }
  .cta-action { justify-self: start; align-items: flex-start; }
  .principles { grid-template-columns: 1fr; }
  .principle { align-items: center; }
  .hero .actions { flex-direction: column; align-items: stretch; width: 100%; }
  .hero .actions .btn { justify-content: space-between; }
}
@media (max-width: 640px) {
  .hero, .detail-hero { grid-template-columns: minmax(0, 1fr); }
  .brand small { display: none; }
  .brand { font-size: 20px; }
  .hero .actions { flex-direction: column; flex-wrap: wrap; }
  .hero .actions .btn { flex: none; width: 100%; min-height: 54px; padding: 15px 18px; }
  .hero-image { min-height: 400px; }
  .floating-card { padding: 18px 16px; }
  .floating-card strong { font-size: 20px; }
  .floating-card strong br { display: initial; }
  .floating-card div > span { font-size: var(--text-small); }
  .principle .line-icon { width: 42px; height: 42px; }
  .principle div > span { line-height: 1.6; }
  .help-strip { padding: 23px 20px; }
  .help-strip .text-link { width: auto; flex: 1 0 100%; margin-left: 0; }
  .cta-action { justify-self: stretch; align-items: stretch; }
  .footer-links { grid-template-columns: 1fr; }
  .footer-bottom > span:nth-child(2) { max-width: none; }
  .price-table th, .price-table td { padding-inline: 12px; }
  .price-badge { white-space: normal; }
  .wizard-content { padding-inline: 20px; }
  .wizard-progress li { font-size: .8125rem; }
  .wizard-buttons .btn { padding-inline: 14px; gap: 8px; }
  .wizard-buttons:has(#download) .btn { width: 100%; justify-content: space-between; }
  .upload input { width: 100%; }
  .mobile-cta .btn { min-height: 52px; }
}
@media (max-width: 360px) {
  .brand { font-size: 18px; }
  .wizard-progress li { font-size: .75rem; }
  .floating-card { gap: 10px; }
  .floating-icon { display: none; }
}
@media (max-width: 480px) {
  .estimate-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Detailed service guides: readable HTML content, prices and estimates. */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.hero-price strong { display: block; font-size: 28px; color: var(--green); letter-spacing: -.7px; }
.hero-price span { display: block; max-width: 460px; color: var(--muted); font-size: var(--text-small); margin-top: 5px; line-height: 1.6; }
.card-bottom > span:first-child { min-width: 0; }
.card-bottom strong { display: block; font-weight: 550; color: var(--green); font-size: 19px; }
.card-bottom small { display: block; margin-top: 4px; font-size: var(--text-caption); line-height: 1.5; }
.page-toc { display: flex; flex-wrap: wrap; gap: 9px; padding-block: 28px; margin-top: 25px; border-block: 1px solid var(--line); }
.page-toc a { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 15px; border: 1px solid var(--line); border-radius: 9px; color: var(--green); font-size: var(--text-small); background: white; }
.page-toc a:hover { background: var(--soft); border-color: #9bafcb; }
.service-content { margin-top: 48px; }
.content-section { margin-top: 76px; padding-top: 8px; scroll-margin-top: 115px; }
.content-section:first-child { margin-top: 0; }
.content-section > h2 { max-width: 1000px; margin-bottom: 28px; font-size: clamp(30px, 3vw, 44px); line-height: 1.18; }
.content-section > h2, .detail-hero h1 { overflow-wrap: anywhere; hyphens: auto; }
.content-section h3 { font-size: 25px; line-height: 1.3; margin-block: 28px 15px; }
.content-section > p, .content-section > .content-list, .cost-factors { max-width: 900px; }
.content-section p, .content-list, .material-list { font-size: var(--text-body); line-height: 1.8; }
.content-section p + p { margin-top: 20px; }
.content-section > p + .work-price-wrap { margin-top: 26px; }
.content-section p a:not(.text-link), .content-list a { color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
.content-section > .text-link, .cost-factors .text-link { margin-top: 24px; }
.section-description { margin-bottom: 28px; }
.content-list { padding-left: 23px; margin-block: 20px; }
.content-list li { padding-left: 6px; margin-block: 14px; color: var(--muted); }
.content-list li::marker { color: var(--green); }
.work-scope-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.scope-item { min-width: 0; border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.scope-item .step-number { margin-bottom: 20px; }
.scope-item h3 { margin-top: 0; font-size: 24px; }
.scope-item p { margin-top: 14px; }
.material-list { margin: 0; }
.material-list > div { display: grid; grid-template-columns: minmax(0, .45fr) minmax(0, 1fr); gap: 34px; padding: 24px 0; border-top: 1px solid var(--line); }
.material-list dt { font-weight: 500; color: var(--ink); }
.material-list dd { margin: 0; color: var(--muted); }
.reference-note { display: flex; align-items: flex-start; gap: 13px; padding: 22px 25px; background: var(--soft); border-radius: 13px; color: #455770; font-size: var(--text-small) !important; line-height: 1.7; margin-bottom: 25px; max-width: none !important; }
.reference-note .icon { margin-top: 3px; color: var(--green); }
.work-price-wrap { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin-block: 24px; }
.work-price-table { width: 100%; border-collapse: collapse; font-size: var(--text-ui); }
.work-price-table thead { background: var(--soft); }
.work-price-table th, .work-price-table td { padding: 23px 26px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.work-price-table thead th { font-size: var(--text-small); font-weight: 500; color: var(--muted); }
.work-price-table tbody th { font-weight: 500; width: 72%; }
.work-price-table tr:last-child th, .work-price-table tr:last-child td { border-bottom: 0; }
.work-price-table td strong { display: block; color: var(--green); font-size: 20px; font-weight: 550; line-height: 1.5; }
.row-description { display: block; color: var(--muted); font-weight: 400; font-size: var(--text-small); line-height: 1.75; margin-top: 10px; max-width: 650px; }
.price-unit { display: block; color: var(--muted); font-size: var(--text-small); margin-top: 5px; }
.cost-factors { margin-top: 30px; }
.example-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.work-example { min-width: 0; border: 1px solid var(--line); border-radius: 20px; padding: 29px; display: flex; flex-direction: column; }
.work-example .section-kicker { font-size: var(--text-caption); letter-spacing: .5px; }
.work-example h3 { margin-block: 2px 21px; }
.work-example p, .work-example ol { font-size: var(--text-ui); line-height: 1.8; }
.work-example h4 { font-size: var(--text-ui); margin: 22px 0 9px; font-weight: 500; }
.work-example ol { padding-left: 22px; margin-block: 0 24px; color: var(--muted); }
.work-example li { padding-left: 4px; margin-top: 9px; }
.example-total { background: var(--soft); border-radius: 12px; padding: 18px; margin-top: auto; }
.example-total > span { display: block; font-size: var(--text-small); line-height: 1.7; color: var(--muted); }
.example-total > strong { display: block; font-size: 25px; line-height: 1.5; color: var(--green); margin-top: 9px; font-weight: 550; }
.work-example .example-exclusions { margin-top: 18px; font-size: var(--text-small); }
.decision-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 35px; }
.decision-grid article { padding-top: 25px; border-top: 1px solid #b6c5d9; min-width: 0; }
.decision-grid h3 { margin-top: 0; }
.service-faq { max-width: 1000px; }
.service-faq details p { font-size: var(--text-body); }
.related-links { display: grid; gap: 0; }
.related-links > div { border-top: 1px solid var(--line); padding-block: 25px; }
.related-links a { display: inline-flex; align-items: center; gap: 18px; font-size: 21px; line-height: 1.5; color: var(--green); }
.related-links p { margin-top: 13px; max-width: 950px; }
.content-section > p > a:has(.icon) { display: inline-flex; align-items: center; gap: 15px; }
.budget-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-block: 30px; }
.budget-grid > a { display: flex; flex-direction: column; gap: 18px; padding: 25px; border: 1px solid var(--line); border-radius: 16px; }
.budget-grid > a:hover { border-color: var(--green); }
.budget-grid a > span { font-size: var(--text-ui); }
.budget-grid strong { color: var(--green); font-size: 23px; font-weight: 550; margin-top: auto; }
.budget-grid small { display: block; color: var(--muted); font-size: var(--text-small); font-weight: 400; margin-top: 7px; line-height: 1.6; }
.price-example-group { margin-top: 35px; }
.price-example-group .example-grid { grid-template-columns: minmax(0, 1fr); max-width: 900px; }
@media (max-width: 900px) {
  .budget-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .example-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .page-toc { margin-top: 28px; padding-block: 20px; gap: 8px; }
  .page-toc a { padding: 9px 12px; font-size: 14px; }
  .service-content { margin-top: 38px; }
  .content-section { margin-top: 53px; scroll-margin-top: 90px; }
  .content-section > h2 { font-size: 30px; margin-bottom: 22px; }
  .content-section h3 { font-size: 23px; }
  .content-section p, .content-list, .material-list { line-height: 1.75; }
  .work-scope-grid, .decision-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .scope-item { padding: 23px; }
  .material-list > div { grid-template-columns: minmax(0, 1fr); gap: 10px; padding-block: 21px; }
  .reference-note { padding: 19px 16px; gap: 10px; }
  .reference-note .icon { width: 19px; height: 19px; }
  .work-price-table th, .work-price-table td { padding: 17px 13px; }
  .work-price-table { font-size: 16px; }
  .work-price-table thead th { font-size: 14px; }
  .work-price-table tbody th { width: 63%; }
  .work-price-table td strong { font-size: 17px; }
  .row-description { font-size: 15px; }
  .price-unit { font-size: 14px; }
  .work-example { padding: 23px 20px; }
  .work-example .section-kicker { font-size: 12px; }
  .example-total { padding: 16px; }
  .example-total > strong { font-size: 24px; }
  .budget-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .related-links a { font-size: 20px; }
  .hero-price strong { font-size: 26px; }
  .hero-price span { font-size: 15px; }
}
/* Single price list shared by the catalogue and home page */
.page-intro.rate-intro { padding-block: 4px 20px; }
.rate-intro h1 { font-size: clamp(36px, 4vw, 56px); letter-spacing: -.045em; }
.rate-intro > p { max-width: 780px; margin-top: 16px; line-height: 1.5; }
.rate-notice { padding: 15px 20px; margin-bottom: 22px; border-left: 3px solid var(--green); background: var(--soft); border-radius: 0 10px 10px 0; font-size: 16px; line-height: 1.55; }
.rate-notice strong { color: var(--ink); }
.flat-price-list { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.flat-price-list table { width: 100%; border-collapse: collapse; text-align: left; }
.flat-price-list thead { background: var(--soft); }
.flat-price-list th, .flat-price-list td { padding: 20px 26px; }
.flat-price-list thead th { font-size: 16px; font-weight: 500; color: var(--muted); }
.flat-price-list tbody th { font-weight: 500; font-size: 20px; line-height: 1.4; }
.flat-price-list tbody tr + tr { border-top: 1px solid var(--line); }
.flat-price-list tbody tr:hover { background: #f5f9fd; }
.flat-price-list tbody a:hover { color: var(--green); }
.flat-price-list a .icon { width: 16px; height: 16px; margin-left: 6px; color: var(--green); }
.flat-price-list td, .flat-price-list thead th:last-child { text-align: right; width: 240px; }
.flat-price-list td strong { display: block; white-space: nowrap; font-size: 26px; font-weight: 600; line-height: 1.3; color: var(--green); font-variant-numeric: tabular-nums; }
.flat-price-list td span, .flat-price-context { display: block; color: var(--muted); font-size: 16px; font-weight: 400; margin-top: 5px; }
.rate-disclosure { margin-top: 26px; }
.rate-disclosure .reference-note { margin-bottom: 12px; }
@media (max-width: 640px) {
  .page-intro.rate-intro { padding-block: 0 18px; }
  .rate-intro h1 { font-size: clamp(32px, 8.6vw, 44px); }
  .rate-intro > p { font-size: 17px; margin-top: 14px; }
  .rate-notice { font-size: 16px; padding: 12px 14px; margin-bottom: 14px; }
  .flat-price-list thead { display: none; }
  .flat-price-list table, .flat-price-list tbody { display: block; }
  .flat-price-list tr { display: block; padding: 20px; }
  .flat-price-list th, .flat-price-list td { display: block; width: auto; padding: 0; text-align: left; }
  .flat-price-list tbody th { font-size: 18px; }
  .flat-price-list td { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
  .flat-price-list td strong { font-size: 26px; }
  .flat-price-list td span { margin: 0; }
}

.hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}

.hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}

/* ═══ Тема «доверие»: белый фон, глубокий зелёный, чёткие рамки, комфортные контрасты ═══ */
:root {
  --ink: #0f172a;
  --muted: #384961;
  --green: #2563eb;
  --green-hover: #1d4ed8;
  --lime: #2563eb;
  --soft: #edf3fa;
  --line: #cdd7e5;
  --line-strong: #9cb0cc;
  --tint: #e0eaf7;
  --focus: #ea580c;
  --shadow: 0 1px 2px #0f172a10, 0 4px 14px #0f172a0a;
}
body { font-weight: 420; color: var(--ink); }
p { color: var(--muted); }
h1, h2, h3 { font-weight: 650; }
h1 { letter-spacing: -.035em; line-height: 1.08; }
h2 { letter-spacing: -.03em; line-height: 1.15; }
h3 { letter-spacing: -.015em; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

/* шапка */
.header { background: #fffffff7; border-bottom: 1.5px solid var(--line); }
.header-inner { height: 84px; }
.nav > a { font-weight: 500; }
.nav > a.active::after { height: 3px; width: 100%; }
.brand small { color: #42546e; }

/* кнопки */
.btn { border: 1.5px solid var(--green); font-weight: 600; box-shadow: none; }
.btn:hover { transform: translateY(-1px); }
.btn.light { color: var(--green); background: #fff; border: 1.5px solid var(--green); box-shadow: none; }
.btn.light:hover { background: var(--tint); border-color: var(--green-hover); }
.btn.dark { background: var(--ink); border-color: var(--ink); }

/* главный экран */
.hero-copy > p { color: var(--muted); }
.hero-image { border: 1.5px solid var(--line-strong); border-radius: 22px; box-shadow: var(--shadow); }
.hero-image-mark { background: #fff; border: 1.5px solid var(--green); color: var(--green); }
.floating-card { background: #fff; border: 1.5px solid var(--line-strong); border-radius: 14px; backdrop-filter: none; }
.floating-icon { border: 1.5px solid var(--green); background: var(--tint); }
.photo-label { background: #fff; color: var(--ink); border: 1.5px solid var(--line-strong); font-weight: 500; }
.principles { border: 1.5px solid var(--line); border-radius: 16px; padding: 22px 26px; margin-top: 8px; background: #fff; box-shadow: var(--shadow); }
.line-icon { background: var(--tint); border: 1.5px solid var(--line-strong); color: var(--green); }
.mini-icon { background: var(--tint); border: 1.5px solid var(--line-strong); }
.dot { background: var(--green); }

/* ритм страниц */
.section { margin-top: 80px; }
.section-head { margin-bottom: 28px; }
.section-kicker, .eyebrow { color: var(--green); font-weight: 600; letter-spacing: .12em; }

/* карточки */
.service-card, .work-example, .work-price-wrap, .case, .step { background: #fff; border: 1.5px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.service-card { border-top: 5px solid var(--green); }
.service-card:hover { border-color: var(--green); box-shadow: 0 10px 28px #0f172a1f; }
.card-index { color: #42546e; font-weight: 500; }
.card-bottom { border-top: 1.5px solid var(--line); }
.card-bottom strong { color: var(--green); font-weight: 650; }
.circle-arrow { border: 1.5px solid var(--green); color: var(--green); }
.service-card:hover .circle-arrow { background: var(--green); color: #fff; }

/* таблицы цен */
.price-table, .work-price-table { background: #fff; }
.work-price-wrap { overflow: hidden; }
.price-table th, .work-price-table thead th { background: var(--tint); color: var(--ink); font-weight: 600; border-bottom: 1.5px solid var(--line-strong); }
.price-table th, .price-table td, .work-price-table th, .work-price-table td { border-bottom: 1px solid var(--line); }
.work-price-table td strong, .price-table td strong { color: var(--green); font-weight: 650; }
.price-badge { background: var(--tint); color: var(--green-hover); border: 1.5px solid var(--line-strong); font-weight: 600; border-radius: 8px; }

/* пояснения, подсказки */
.note { background: var(--soft); border: 1.5px solid var(--line); border-left: 5px solid var(--green); color: var(--ink); border-radius: 12px; }
.reference-note { border-left-color: #b7791f; background: #fff8ea; border-color: #ecd8ae; }
.reference-note > .icon { color: #8a5a0a; }

/* частые вопросы */
.faq details { border-bottom: 1.5px solid var(--line); }
.faq details:first-child { border-top: 1.5px solid var(--line); }
.faq summary { font-weight: 600; }
.faq summary > span { background: var(--tint); border: 1.5px solid var(--line-strong); color: var(--green); }

/* блок призыва: глубокий зелёный вместо яркого салатового */
.cta { background: var(--green); color: #fff; border: 1.5px solid var(--green-hover); box-shadow: var(--shadow); margin-top: 80px; }
.cta h2, .cta .section-kicker { color: #fff; }
.cta p, .cta-action > span { color: #dde8f7; }
.cta .btn { background: #fff; color: var(--green); border-color: #fff; }
.cta .btn:hover { background: var(--tint); }
.cta-fence i { border-color: #ffffff40; }

/* подвал */
.footer { border-top: 1.5px solid var(--line-strong); margin-top: 72px; background: var(--soft); padding-bottom: 8px; }
.footer-bottom { border-top: 1.5px solid var(--line); }
.footer-links a { font-weight: 500; }

/* форма заявки: поля и выбор видны, нажимаются легко */
.option { border: 1.5px solid var(--line); background: #fff; min-height: 64px; font-weight: 500; }
.option:hover { border-color: var(--green); }
.option:has(input:checked) { border-color: var(--green); background: var(--tint); box-shadow: inset 0 0 0 1px var(--green); }
.option input { width: 22px; height: 22px; }
.field { font-weight: 600; }
.field input, .field textarea { border: 1.5px solid var(--line-strong); background: #fff; padding: 14px 16px; font-weight: 420; }
.field input:focus, .field textarea:focus { border-color: var(--green); }
.field input::placeholder, .field textarea::placeholder { color: #50647f; }
.upload { border: 1.5px dashed var(--green); background: var(--soft); }
.summary-box { background: var(--soft); border: 1.5px solid var(--line); }
.error { color: #a1281f; font-weight: 500; }

/* кнопка «Оставить заявку» внизу экрана на телефоне и планшете (.mobile-cta создаётся в шаблоне) */
@media (min-width: 641px) and (max-width: 1024px) {
  .mobile-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fffffff7; padding: 11px 28px calc(11px + env(safe-area-inset-bottom)); }
  .mobile-cta .btn { display: flex; justify-content: space-between; width: 100%; max-width: 560px; margin-inline: auto; }
  body { padding-bottom: 84px; }
}
.mobile-cta { border-top: 1.5px solid var(--line-strong); box-shadow: 0 -6px 18px #0f172a14; }
@media (max-width: 640px) { body { padding-bottom: 80px; } }
@media (max-width: 1024px) { .section { margin-top: 64px; } .cta { margin-top: 64px; } }

/* планшет */
@media (min-width: 641px) and (max-width: 1024px) {
  .container { width: min(100% - 56px, 960px); }
  .hero { gap: 28px; }
  .btn, .nav > a { min-height: 52px; }
}

/* телефон: крупный текст, большие зоны нажатия, спокойные отступы */
@media (max-width: 640px) {
  :root { --text-body: 1.0625rem; --text-small: 1rem; --text-ui: 1.0625rem; --text-caption: .875rem; }
  h1 { font-size: clamp(34px, 9.4vw, 42px); }
  h2 { font-size: clamp(27px, 7.4vw, 32px); }
  .header-inner { height: 70px; }
  .section, .cta { margin-top: 52px; }
  .btn { width: 100%; min-height: 54px; }
  .actions { flex-direction: column; }
  .principles { padding: 18px; }
  .service-card { border-radius: 16px; }
  .cta { padding: 32px 22px; border-radius: 20px; }
  .option-grid { grid-template-columns: 1fr; }
  .field input, .field textarea { font-size: 1rem; }
  .footer { margin-top: 56px; }
  .price-table th, .price-table td, .work-price-table th, .work-price-table td { padding: 16px 14px; }
}
@media (prefers-reduced-motion: reduce) { .btn:hover, .service-card:hover { transform: none; } }

.table-wrap { border: 1.5px solid var(--line-strong); box-shadow: var(--shadow); }
.price-table td a { font-weight: 550; }
.price-table td a:hover { text-decoration: underline; text-underline-offset: 3px; }

.wizard-aside, .wizard-content { border: 1.5px solid var(--line-strong); box-shadow: var(--shadow); }
.wizard-aside { background: var(--tint); }

/* юридические страницы */
.legal { max-width: 820px; padding-bottom: 24px; }
.legal h2 { font-size: 22px; margin: 34px 0 10px; letter-spacing: -.01em; }
.legal p, .legal li { font-size: var(--text-body); line-height: 1.75; color: var(--ink); }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 22px; }
.legal a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 4px 0 28px; font-size: var(--text-small); }
.footer-legal a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.footer-legal a:hover { color: var(--green); }
.consent { display: flex; align-items: flex-start; gap: 12px; margin: 4px 0 18px; font-size: var(--text-small); line-height: 1.55; color: var(--ink); cursor: pointer; }
.consent input { width: 24px; height: 24px; flex: none; margin: 1px 0 0; accent-color: var(--green); }
.consent a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }

/* шаги «Как это работает»: аккуратные карточки с зазором и отступами */
.steps { gap: 14px; }
.step, .step:first-child { align-items: flex-start; gap: 18px; padding: 24px 26px; border-bottom: 1.5px solid var(--line); }
.step-number { width: 40px; height: 40px; border: 1.5px solid var(--green); background: var(--tint); color: var(--green); font-weight: 600; }
.step > div { min-width: 0; }
.step h3 { padding-top: 6px; }
.step p { margin-top: 10px; line-height: 1.65; }
@media (max-width: 640px) {
  .steps { gap: 12px; }
  .step, .step:first-child { padding: 18px 16px; gap: 14px; }
  .step-number { width: 36px; height: 36px; }
  .step h3 { padding-top: 4px; }
}

@media (max-width: 640px) { .process { padding: 24px 14px; } }

.video-chip { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border: 1.5px solid var(--line-strong); border-radius: 10px; background: var(--soft); font-size: var(--text-small); }

/* заявка на одной странице */
.field-group { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.field-group legend { padding: 0; margin-bottom: 12px; font-size: var(--text-ui); font-weight: 600; }
.request-intro + .wizard { margin-top: 4px; }
#request-form .upload { margin-bottom: 0; }
#request-form .previews { margin-bottom: 18px; }
#request-form .field { margin-top: 20px; }
#request-form .consent { margin-top: 6px; }
#request-form #send { width: 100%; min-height: 58px; font-size: 1.0625rem; margin-top: 4px; }
#request-form #send[disabled] { opacity: .65; cursor: wait; }
.wizard-content { min-height: 0; }

@media (max-width: 900px) {
  .wizard { display: flex; flex-direction: column; }
  .wizard-content { order: 1; }
  .wizard-aside { order: 2; }
  #request-form .option-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) { #request-form .option-grid { grid-template-columns: 1fr; } .wizard-content { padding: 22px 18px; } }

/* компактный выбор и нажимаемая зона загрузки */
@media (max-width: 900px) {
  #request-form .option-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  #request-form .option { min-height: 56px; padding: 10px 12px; gap: 8px; font-size: .9375rem; line-height: 1.25; }
  #request-form .option input { width: 20px; height: 20px; }
}
@media (max-width: 420px) { #request-form .option-grid { grid-template-columns: 1fr 1fr; } }
#request-form .upload { position: relative; cursor: pointer; }
#request-form .upload input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
#request-form .upload:hover { background: var(--tint); }
#request-form .upload:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }

#request-form .option-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#request-form .option span { min-width: 0; overflow-wrap: anywhere; }
#request-form, #request-form > * { max-width: 100%; }
.wizard > * { min-width: 0; }

/* варианты как плитки: без кружочков, выбранная подсвечена */
#request-form .option { justify-content: center; text-align: center; padding: 12px 10px; min-height: 56px; }
#request-form .option input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
#request-form .option span { overflow-wrap: normal; hyphens: manual; font-weight: 500; }
#request-form .option:has(input:checked) { border-color: var(--green); background: var(--tint); box-shadow: inset 0 0 0 1px var(--green); }
#request-form .option:has(input:checked) span { color: var(--green); font-weight: 650; }
#request-form .option:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }

/* определение места */
.mapfield .fieldlabel { display: block; font-weight: 600; margin-bottom: 10px; }
.mapfield em { font-style: normal; font-weight: 400; color: var(--muted); font-size: var(--text-small); margin-left: 6px; }
.mapactions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.mapactions .btn { min-height: 52px; padding: 10px 18px; font-size: var(--text-ui); justify-content: center; }
.mapstate { margin: 10px 0 0; font-size: var(--text-small); color: var(--muted); font-weight: 400; }
.mapstate.ok { color: var(--green); font-weight: 600; }
.geohint { margin: 8px 0 0; font-size: var(--text-small); color: var(--muted); font-weight: 400; }
.linkbtn { background: none; border: 0; padding: 4px 0; color: var(--green); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: inherit; }


.mapfield .fieldlabel { color: var(--ink); }

/* карта выбора места (Яндекс) */
.mapbox { margin-top: 12px; }
.addrsearch { display: flex; gap: 10px; margin-bottom: 10px; }
.addrsearch input { flex: 1; min-width: 0; margin: 0; }
.addrsearch .btn { min-height: 48px; padding: 10px 18px; }
.pickmap { height: 320px; border: 1.5px solid var(--line-strong); border-radius: 12px; overflow: hidden; background: var(--soft); }
@media (max-width: 640px) { .pickmap { height: 280px; } .addrsearch .btn { padding: 10px 14px; } }

/* поиск адреса: широкое поле и компактная кнопка рядом */
.addrsearch { display: flex; flex-wrap: nowrap; align-items: stretch; gap: 8px; margin-bottom: 10px; }
.mapfield .addrsearch input { flex: 1 1 0; width: auto; min-width: 0; margin: 0; padding: 12px 14px; font-size: 1rem; }
.mapfield .addrsearch .btn { flex: 0 0 auto; width: auto; min-width: 84px; min-height: 48px; padding: 10px 16px; }

/* геометрическая иллюстрация вместо фото */
.hero-image > svg { width: 100%; height: 100%; position: absolute; inset: 0; display: block; }
.about-image svg.about-hero { width: 100%; height: 440px; display: block; }
