:root {
  --ink: #182021; --ink-deep: #111718; --paper: #f6f5f1; --white: #ffffff;
  --gold: #d6bb8b; --gold-dark: #765b30; --text: #202829; --muted: #555e5a;
  --light-muted: #c0cac5; --line: #d6d9d1; --soft: #eaece5; --focus: #99702c;
  --serif: 'EB Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 16px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
body.dialog-open { overflow: hidden; }
::selection { background: var(--gold); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button, input, summary { font: inherit; color: inherit; }
button { cursor: pointer; }
a, button, summary { touch-action: manipulation; -webkit-tap-highlight-color: #d6bb8b30; }
a, button { transition: color .18s, background-color .18s, border-color .18s; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
.hero :focus-visible, .site-header :focus-visible, .contacts :focus-visible, .site-footer :focus-visible, .aside-contact :focus-visible { outline-color: var(--gold); }
button, input { border-radius: 0; }
[hidden] { display: none !important; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, h4 { text-wrap: balance; }
h1, h2 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -.025em; }
h2 { font-size: clamp(38px,4vw,56px); }
img { display: block; max-width: 100%; height: auto; }
.icon { width: 24px; height: 24px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.container { width: calc(100% - 96px); max-width: 1200px; margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; background: var(--gold); color: var(--ink); padding: 14px 20px; }
.skip-link:focus { top: 12px; }
.section { padding-block: 96px; }
.label { font-size: 14px; font-weight: 600; line-height: 1.6; color: var(--gold-dark); margin-bottom: 18px; }
.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 1.7; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 48px; margin-bottom: 48px; }
.section-heading > p { max-width: 355px; color: var(--muted); font-size: 16px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; padding: 15px 22px; min-height: 56px; border: 1px solid transparent; font: 600 14px/1.6 var(--sans); text-align: center; }
.button .icon { width: 21px; height: 21px; }
.button-gold { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.button-gold:hover { background: #e6cfaa; border-color: #e6cfaa; }
.button-dark { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.button-dark:hover { background: #2a3936; border-color: #2a3936; }
.button-outline { background: transparent; color: var(--ink); border-color: #89958d; }
.button-outline:hover { background: var(--soft); border-color: var(--ink); }
.button-light-outline { border-color: #9ca993; color: var(--paper); background: transparent; }
.button-light-outline:hover { border-color: var(--gold); background: #263130; }
.button:active { filter: brightness(.94); }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 44px; font-size: 14px; font-weight: 600; background: transparent; border: 0; padding: 4px 0; }
.text-link .icon { width: 21px; height: 21px; }
.text-link:hover { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 5px; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; min-width: 44px; border: 0; background: transparent; padding: 10px; }
.icon-button:hover { background: #d6bb8b26; }
.topbar { background: var(--ink-deep); color: var(--light-muted); font-size: 12px; }
.topbar .container { min-height: 38px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.topbar span { display: flex; align-items: center; gap: 8px; }
.topbar .icon { width: 15px; height: 15px; color: var(--gold); }
.site-header { position: sticky; top: 0; z-index: 30; background: var(--ink); color: var(--paper); border-bottom: 1px solid #ffffff24; padding-top: env(safe-area-inset-top,0px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; }
.brand { display: inline-flex; align-items: center; gap: 13px; flex-shrink: 0; min-height: 44px; }
.brand-mark { width: 39px; height: 39px; color: var(--gold); stroke-width: 1.3; }
.brand > span { font-family: var(--serif); font-size: 26px; line-height: 1.06; }
.brand small { display: block; font-family: var(--sans); font-size: 12px; font-weight: 400; line-height: 1.5; margin-top: 5px; color: var(--light-muted); }
.desktop-nav { display: flex; align-items: center; gap: 24px; }
.desktop-nav a { font-size: 14px; min-height: 44px; display: inline-flex; align-items: center; }
.desktop-nav a:hover, .header-phone:hover { color: var(--gold); }
.header-phone { display: flex; align-items: center; gap: 9px; min-height: 44px; white-space: nowrap; font-size: 14px; font-weight: 600; }
.header-phone .icon { color: var(--gold); width: 18px; height: 18px; }
.mobile-menu { display: none; }
.hero { background: var(--ink); color: var(--paper); }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,.85fr); gap: 64px; align-items: center; padding-block: 56px 60px; }
.hero-intro { font-size: 14px; color: var(--gold); margin-bottom: 24px; }
.hero-name { display: block; max-width: 8.5ch; font-size: clamp(70px,7.4vw,102px); font-weight: 400; line-height: .95; letter-spacing: -.025em; }
.hero-profession { display: block; font-family: var(--sans); font-weight: 500; font-size: 23px; letter-spacing: -.02em; line-height: 1.4; margin-top: 25px; }
.hero-description { max-width: 500px; font-size: 18px; line-height: 1.75; color: var(--light-muted); margin-top: 26px; }
.hero-promise { color: var(--light-muted); font-size: 14px; line-height: 1.7; max-width: 400px; margin-top: 12px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 28px; margin-top: 30px; }
.hero-actions .text-link:hover { color: var(--gold); }
.hero-assurance { display: flex; align-items: center; gap: 9px; font-size: 12px; color: var(--light-muted); margin-top: 23px; }
.hero-assurance .icon { width: 17px; height: 17px; color: var(--gold); }
.portrait { width: 100%; max-width: 400px; justify-self: end; }
.portrait img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 12%; filter: saturate(.7); }
.portrait figcaption { background: #222c2c; border-bottom: 1px solid #d6bb8b77; padding: 20px 24px; }
.portrait figcaption span { display: block; font-size: 16px; font-weight: 500; }
.portrait figcaption small { display: block; font-size: 12px; line-height: 1.7; color: var(--light-muted); margin-top: 6px; }
.hero-bottom { display: grid; grid-template-columns: 1fr 1fr 1.3fr; border-top: 1px solid #ffffff2e; }
.hero-bottom a { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 28px; min-height: 86px; font-size: 14px; line-height: 1.5; }
.hero-bottom a:first-child { padding-left: 0; }
.hero-bottom a:last-child { padding-right: 0; }
.hero-bottom a + a { border-left: 1px solid #ffffff1a; }
.hero-bottom .icon { color: var(--gold); width: 20px; height: 20px; }
.hero-bottom a:hover { color: var(--gold); }
.urgent { background: #e7e1d4; }
.urgent-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-block: 32px; }
.urgent-status { display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 600; color: #485344; margin-bottom: 8px; }
.urgent-status i { width: 7px; height: 7px; background: #536346; border-radius: 50%; }
.urgent h2 { font-family: var(--sans); font-size: 20px; font-weight: 600; line-height: 1.4; letter-spacing: -.02em; }
.urgent p { font-size: 14px; color: #50564f; margin-top: 4px; }
.urgent-phone { display: flex; align-items: center; gap: 15px; min-height: 60px; font-size: 23px; font-family: var(--serif); white-space: nowrap; }
.urgent-phone small { display: block; font-family: var(--sans); font-size: 12px; color: #50564f; margin-top: 4px; text-align: right; }
.urgent-phone:hover { color: var(--gold-dark); }
.practice-tabs { display: flex; border-bottom: 1px solid var(--line); margin-bottom: 32px; gap: 36px; }
.practice-tabs button { background: none; border: 0; border-bottom: 3px solid transparent; font-size: 17px; font-weight: 500; padding: 16px 0; display: flex; align-items: center; gap: 12px; min-height: 60px; color: var(--muted); }
.practice-tabs button[aria-selected=true] { color: var(--ink); border-bottom-color: var(--ink); }
.practice-tabs button span { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 25px; border-radius: 20px; font-size: 12px; color: var(--muted); background: var(--soft); }
.practice-tabs button[aria-selected=true] span { background: var(--ink); color: var(--paper); }
.practice-panel-heading { font-size: 28px; font-family: var(--serif); font-weight: 500; margin-bottom: 24px; }
.practice-panel + .practice-panel { margin-top: 40px; }
.practice-enhanced .practice-panel + .practice-panel { margin-top: 0; }
.service-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.service-item { display: flex; align-items: start; gap: 16px; border-top: 1px solid var(--line); padding: 25px 0; min-width: 0; }
.service-item > div { min-width: 0; flex: 1; }
.service-item h4 { font-family: var(--serif); font-size: 28px; line-height: 1.16; font-weight: 500; margin-bottom: 12px; }
.service-item h4 a:hover { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.service-item p { color: var(--muted); font-size: 16px; line-height: 1.75; }
.service-arrow { border: 1px solid #9fa89d; color: var(--gold-dark); margin-top: 1px; }
.more-services { display: flex; margin: 30px auto 0; gap: 30px; }
.practice-help { text-align: center; font-size: 14px; color: var(--muted); margin-top: 28px; }
.practice-help a { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
.about { background: var(--soft); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.about-lead { font-size: 18px; line-height: 1.85; margin-top: 24px; max-width: 475px; color: var(--muted); }
.credentials { border-left: 2px solid #8f774b; padding-left: 23px; margin-block: 32px 23px; }
.credentials h3 { font-size: 17px; font-weight: 600; margin-bottom: 9px; }
.credentials p { color: var(--muted); font-size: 14px; line-height: 1.8; margin-top: 8px; }
.principles { align-self: center; }
.principles article { padding: 30px 0; border-top: 1px solid #b8c0b3; }
.principles article:first-child { padding-top: 0; border-top: 0; }
.principles article:last-child { padding-bottom: 0; }
.principles h3 { font-family: var(--serif); font-size: 32px; font-weight: 500; line-height: 1.2; margin-bottom: 13px; }
.principles p { color: var(--muted); font-size: 16px; line-height: 1.85; }
.process-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; }
.process-list li { border-top: 1px solid var(--line); padding-top: 20px; }
.process-list li > span { font-family: var(--serif); color: var(--gold-dark); font-size: 36px; line-height: 1; }
.process-list h3 { font-size: 17px; font-weight: 600; line-height: 1.5; margin: 20px 0 12px; }
.process-list p { font-size: 16px; color: var(--muted); line-height: 1.8; }
.prices { background: white; }
.price-list article { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 60px; padding: 32px 0; border-top: 1px solid var(--line); }
.price-list article:last-child { border-bottom: 1px solid var(--line); }
.price-list h3 { font-family: var(--serif); font-size: 34px; line-height: 1.2; font-weight: 500; margin-bottom: 10px; }
.price-list article > div > p { color: var(--muted); max-width: 610px; }
.price-action { display: flex; align-items: center; gap: 25px; }
.price-action > p { font-size: 14px; white-space: nowrap; }
.price-action .button { min-width: 218px; }
.price-note { margin-top: 24px; font-size: 14px; color: var(--muted); }
.news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.news-cover { height: 210px; background: #263232; color: var(--gold); position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.news-cover > .icon { width: 82px; height: 82px; stroke-width: .85; }
.news-cover > span { position: absolute; left: 20px; bottom: 15px; font-size: 12px; color: var(--light-muted); }
.news-cover::after { content: ''; width: 190px; height: 190px; border: 1px solid #d6bb8b33; position: absolute; border-radius: 50%; }
.cover-1 { background: #ded7c9; color: #655438; }
.cover-1::after { border-color: #65543844; border-radius: 0; width: 170px; height: 150px; }
.cover-1 > span { color: #52544c; }
.cover-2 { background: #333d43; }
.cover-2::after { border-radius: 0; width: 126px; height: 155px; transform: rotate(-13deg); }
.news-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 10px; font-size: 12px; color: var(--muted); margin-top: 20px; }
.news-card h3 { font-family: var(--serif); font-size: 30px; font-weight: 500; line-height: 1.2; margin-top: 12px; }
.news-card h3 a:hover { color: var(--gold-dark); }
.news-card > .text-link { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 16px; width: 100%; }
.faq { padding-top: 16px; }
.faq-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; font-size: 17px; font-weight: 600; padding: 22px 35px 22px 0; position: relative; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; top: 17px; right: 5px; font-size: 25px; font-weight: 400; color: var(--gold-dark); }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details > p { color: var(--muted); padding: 0 24px 25px 0; font-size: 16px; line-height: 1.85; }
.faq-list a { text-decoration: underline; text-underline-offset: 4px; }
.contacts { background: var(--ink); color: var(--paper); }
.contacts-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 90px; align-items: start; }
.contacts .label { color: var(--gold); }
.contacts h2 { font-size: 64px; }
.contact-intro { color: var(--light-muted); font-size: 18px; margin: 23px 0 32px; }
.main-phone { display: flex; align-items: center; gap: 20px; font-size: clamp(25px,3vw,38px); font-family: var(--serif); line-height: 1.35; min-height: 52px; width: fit-content; }
.main-phone .icon { color: var(--gold); }
.main-phone:hover { color: var(--gold); }
.contacts .small { color: var(--light-muted); margin-top: 6px; }
.contact-details { border-top: 1px solid #ffffff35; display: flex; flex-direction: column; gap: 22px; margin-top: 30px; padding-top: 24px; }
.contact-details > div > span { display: block; color: var(--light-muted); font-size: 12px; margin-bottom: 7px; }
.contact-details a { font-size: 17px; overflow-wrap: anywhere; }
.contact-details a:hover { color: var(--gold); }
.email-row { display: flex; align-items: center; gap: 12px; }
.email-row a { min-width: 0; }
.email-row .icon-button { color: var(--gold); }
.office { background: #222d2d; padding: 34px; border-top: 1px solid var(--gold); }
.office-symbol { color: var(--gold); margin-bottom: 28px; }
.office-symbol .icon { width: 30px; height: 30px; }
.office h3 { font-family: var(--serif); font-size: 36px; font-weight: 400; line-height: 1.2; margin-bottom: 19px; }
.office-address { font-size: 20px; line-height: 1.6; }
.office > p:not(.office-address) { color: var(--light-muted); font-size: 14px; line-height: 1.85; margin-top: 10px; }
.office p.office-note { margin-block: 25px; }
.office .button { width: 100%; }
.save-contact { display: flex; align-items: center; justify-content: center; min-height: 48px; gap: 12px; font-size: 14px; color: var(--light-muted); margin-top: 12px; }
.save-contact:hover { color: var(--gold); }
.save-contact .icon { width: 19px; height: 19px; }
.site-footer { background: var(--ink-deep); color: var(--light-muted); padding-block: 35px 24px; }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-bottom: 29px; border-bottom: 1px solid #ffffff25; }
.footer-main > p { font-size: 12px; line-height: 1.9; }
.footer-main .brand { color: var(--paper); }
.back-top { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; white-space: nowrap; }
.back-top:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 23px; font-size: 12px; }
.mobile-contact { display: none; }
.contact-dialog { width: min(580px,calc(100% - 32px)); max-height: calc(100dvh - 40px); border: 1px solid var(--line); padding: 44px; background: var(--paper); color: var(--ink); overflow: auto; overscroll-behavior: contain; box-shadow: 0 24px 100px #0004; }
.contact-dialog::backdrop { background: #101817cc; backdrop-filter: blur(3px); }
.dialog-close { position: absolute; top: 8px; right: 8px; }
.contact-dialog .label { margin-right: 28px; }
.contact-dialog h2 { font-size: 40px; margin-bottom: 22px; }
#dialog-topic { padding: 12px 16px; background: var(--soft); margin-bottom: 18px; font-size: 14px; }
.dialog-phone { display: flex; align-items: center; gap: 16px; font-family: var(--serif); font-size: 30px; padding: 22px 0; margin-top: 8px; border-bottom: 1px solid var(--line); }
.dialog-email { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-block: 20px; font-size: 16px; overflow-wrap: anywhere; }
.contact-dialog .small { margin-top: 12px; }
.toast { position: fixed; bottom: 28px; left: 50%; transform: translate(-50%,16px); max-width: calc(100% - 32px); width: max-content; background: var(--ink-deep); color: var(--paper); border: 1px solid var(--gold); padding: 14px 22px; font-size: 14px; line-height: 1.7; text-align: center; z-index: 50; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.visible { opacity: 1; transform: translate(-50%,0); }
/* Страницы услуг и материалов. */
.detail-wrap { padding-block: 32px 80px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px 12px; color: var(--muted); font-size: 12px; margin-bottom: 48px; }
.breadcrumbs a { text-decoration: underline; text-underline-offset: 3px; }
.breadcrumbs [aria-current] { overflow-wrap: anywhere; }
.detail-layout { display: grid; grid-template-columns: minmax(0,1fr) 310px; gap: 72px; align-items: start; }
.detail-content { min-width: 0; }
.detail-content h1 { font-size: clamp(38px,4.4vw,62px); line-height: 1.08; margin-bottom: 26px; }
.detail-lead { font-size: 20px; line-height: 1.8; color: var(--muted); margin-bottom: 34px; }
.prose { font-size: 18px; line-height: 1.85; }
.prose h2 { font-size: 34px; line-height: 1.2; margin: 38px 0 19px; }
.prose p { color: var(--muted); margin: 17px 0; }
.prose section { scroll-margin-top: 115px; }
.help-list { list-style: none; padding: 0; margin: 24px 0; }
.help-list li { display: flex; align-items: start; gap: 15px; margin: 15px 0; color: var(--muted); }
.help-list .icon { color: var(--gold-dark); margin-top: 7px; width: 19px; height: 19px; }
.detail-note { background: var(--soft); border-left: 2px solid #8f774b; padding: 25px 28px; margin-block: 32px; font-size: 16px; line-height: 1.85; }
.detail-note h2 { margin: 0 0 12px; font-size: 28px; }
.detail-note p { margin: 0; color: var(--muted); }
.detail-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 28px; margin-top: 35px; }
.detail-aside { position: sticky; top: 120px; }
.aside-contact { background: var(--ink); color: var(--paper); padding: 28px; }
.aside-contact .label { color: var(--gold); font-size: 12px; }
.aside-contact h2 { font-size: 31px; line-height: 1.2; margin-bottom: 18px; }
.aside-contact > p:not(.label) { color: var(--light-muted); font-size: 14px; }
.aside-contact .button { margin-top: 24px; width: 100%; }
.aside-phone { display: block; font-size: 17px; font-weight: 600; margin-block: 17px 9px; }
.aside-contact .text-link { margin-top: 18px; font-size: 14px; color: var(--gold); width: 100%; }
.aside-contact .text-link:hover { color: #ecd6b0; }
.aside-address { display: flex; gap: 12px; font-size: 14px; line-height: 1.7; color: var(--muted); padding: 22px 10px; }
.aside-address .icon { color: var(--gold-dark); }
.related-section { border-top: 1px solid var(--line); padding-top: 42px; margin-top: 70px; }
.related-section > h2 { font-size: 38px; margin-bottom: 28px; }
.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-bottom: 22px; }
.related-grid a { display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 17px; line-height: 1.6; padding: 20px; border: 1px solid #a6b09f; min-height: 90px; }
.related-grid a:hover { background: var(--soft); }
.related-grid .icon { width: 20px; height: 20px; color: var(--gold-dark); }
.reading-time { color: var(--muted); font-size: 14px; margin-top: -10px; margin-bottom: 22px; }
.article-contents { padding: 24px 28px; background: var(--soft); margin-bottom: 35px; }
.article-contents > p { font-weight: 600; font-size: 16px; margin-bottom: 13px; }
.article-contents ul { padding-left: 22px; margin: 0; font-size: 16px; }
.article-contents li + li { margin-top: 8px; }
.article-contents a { text-decoration: underline; text-underline-offset: 4px; }
.article-contents a:hover { color: var(--gold-dark); }
@media (min-width:1450px) { .hero-grid { padding-block: 72px; } }
@media (max-width:1150px) {
  .container { width: calc(100% - 64px); }
  .header-inner { gap: 18px; } .desktop-nav { gap: 17px; }
  .desktop-nav a, .header-phone { font-size: 12px; } .brand > span { font-size: 24px; } .brand-mark { width: 34px; height: 34px; }
  .hero-grid { gap: 45px; } .hero-actions { gap: 16px 20px; } .hero-actions .button { padding-inline: 18px; }
  .about-grid { gap: 64px; } .price-list article { gap: 35px; }
  .price-action { flex-direction: column; align-items: end; gap: 12px; }
  .contacts-grid { gap: 60px; }
  .detail-layout { gap: 45px; grid-template-columns: minmax(0,1fr) 290px; } .aside-contact { padding: 24px; }
}
@media (max-width:960px) {
  .desktop-nav { display: none; } .header-inner { min-height: 80px; } .header-phone { margin-left: auto; font-size: 14px; }
  .mobile-menu { display: block; }
  .mobile-menu > summary { display: flex; align-items: center; justify-content: center; gap: 9px; min-width: 44px; min-height: 44px; cursor: pointer; list-style: none; font-size: 12px; }
  .mobile-menu > summary::-webkit-details-marker { display: none; }
  .mobile-menu > nav { position: absolute; top: 100%; left: 0; right: 0; padding: 15px 32px 25px; background: var(--ink); border-bottom: 1px solid #ffffff35; max-height: calc(100dvh - 95px); overflow: auto; overscroll-behavior: contain; box-shadow: 0 16px 22px #0002; }
  .mobile-menu nav a { display: flex; align-items: center; padding-block: 12px; min-height: 48px; font-size: 16px; border-top: 1px solid #ffffff18; }
  .mobile-menu nav a:hover { color: var(--gold); }
  .section { padding-block: 75px; }
  .hero-grid { gap: 35px; grid-template-columns: 1.2fr .9fr; padding-block: 45px; }
  .hero-name { font-size: 82px; } .hero-profession { font-size: 19px; margin-top: 20px; }
  .hero-description { font-size: 16px; margin-top: 22px; } .hero-intro { font-size: 12px; }
  .hero-actions { gap: 12px; flex-direction: column; align-items: start; margin-top: 25px; }
  .hero-assurance { max-width: 280px; align-items: start; } .hero-assurance .icon { margin-top: 3px; }
  .portrait figcaption { padding: 18px; } .portrait figcaption span { font-size: 14px; }
  .hero-bottom a { padding: 23px 18px; font-size: 12px; gap: 12px; }
  .urgent-inner { gap: 28px; } .urgent h2 { font-size: 18px; } .urgent-phone { font-size: 21px; }
  .section-heading { gap: 35px; } .section-heading > p { max-width: 300px; }
  .service-list { gap: 0 30px; } .service-item { gap: 12px; } .service-item h4 { font-size: 25px; }
  .about-grid { gap: 40px; } .about-lead { font-size: 16px; } .principles h3 { font-size: 29px; }
  .process-list { grid-template-columns: 1fr 1fr; gap: 30px 40px; } .process-list h3 { margin-top: 17px; }
  .news-grid { gap: 22px; } .news-cover { height: 180px; } .news-card h3 { font-size: 26px; }
  .faq { padding-top: 16px; } .faq-grid { grid-template-columns: .85fr 1.15fr; gap: 40px; }
  .contacts-grid { grid-template-columns: 1.15fr 1fr; gap: 32px; } .contacts h2 { font-size: 54px; }
  .office { padding: 26px; } .office-address { font-size: 18px; } .contact-details a { font-size: 15px; }
  .main-phone { font-size: 31px; gap: 10px; } .footer-main { flex-wrap: wrap; } .footer-main > p { max-width: 320px; }
  .detail-layout { grid-template-columns: minmax(0,1fr) 260px; gap: 30px; }
  .detail-content h1 { font-size: 46px; } .detail-lead { font-size: 18px; }
  .aside-contact { padding: 22px; } .aside-contact h2 { font-size: 27px; } .aside-phone { font-size: 15px; }
  .related-grid { gap: 16px; } .related-grid a { padding: 18px; font-size: 15px; }
}
@media (max-width:700px) {
  html { scroll-padding-top: calc(90px + env(safe-area-inset-top,0px)); scroll-padding-bottom: calc(110px + env(safe-area-inset-bottom,0px)); }
  body { padding-bottom: calc(82px + env(safe-area-inset-bottom,0px)); }
  .container { width: calc(100% - 40px); } .topbar { display: none; }
  .header-inner { min-height: 76px; gap: 12px; } .brand { gap: 10px; } .brand > span { font-size: 23px; }
  .brand small { margin-top: 3px; } .brand-mark { width: 32px; height: 32px; }
  .header-phone { width: 44px; height: 44px; justify-content: center; }
  .header-phone > span { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
  .header-phone .icon { width: 21px; height: 21px; }
  .mobile-menu > summary > span { display: none; } .mobile-menu > nav { padding-inline: 20px; }
  .section { padding-block: 60px; } .section-heading { display: block; margin-bottom: 32px; }
  .section-heading > p { margin-top: 22px; max-width: 100%; } h2 { font-size: 42px; } .label { margin-bottom: 16px; }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; padding-top: 34px; padding-bottom: 35px; }
  .hero-intro { margin-bottom: 20px; max-width: 100%; }
  .hero-name { font-size: clamp(68px,15vw,92px); max-width: 100%; line-height: 1; }
  .hero-profession { font-size: 20px; line-height: 1.45; margin-top: 18px; }
  .hero-description { font-size: 17px; line-height: 1.8; margin-top: 23px; }
  .hero-promise { max-width: 100%; line-height: 1.85; }
  .hero-actions { margin-top: 25px; flex-direction: row; align-items: center; gap: 12px 20px; }
  .hero-actions .button { padding: 16px 20px; } .hero-assurance { margin-top: 20px; max-width: 100%; }
  .portrait { justify-self: center; max-width: 360px; } .portrait img { aspect-ratio: 4/4.7; object-position: center 6%; }
  .portrait figcaption { padding: 20px; } .portrait figcaption span { font-size: 16px; }
  .hero-bottom { grid-template-columns: 1fr; } .hero-bottom a { padding: 20px 0; min-height: 64px; font-size: 14px; }
  .hero-bottom a + a { border-left: 0; border-top: 1px solid #ffffff24; }
  .urgent-inner { display: block; padding-block: 27px; } .urgent h2 { font-size: 20px; line-height: 1.5; }
  .urgent p { line-height: 1.8; margin-top: 8px; } .urgent-phone { margin-top: 18px; font-size: 26px; width: fit-content; }
  .urgent-phone small { text-align: left; }
  .practice-tabs { gap: 20px; margin-bottom: 24px; }
  .practice-tabs button { font-size: 14px; line-height: 1.6; gap: 7px; text-align: left; flex: 1; padding: 13px 0; }
  .practice-tabs button span { min-width: 25px; flex-shrink: 0; }
  .service-list { grid-template-columns: 1fr; } .service-item { padding-block: 23px; gap: 16px; }
  .service-item h4 { font-size: 29px; } .service-item p { line-height: 1.8; } .service-arrow { margin-top: 3px; }
  .more-services { width: 100%; margin-top: 18px; } .practice-help { line-height: 1.9; margin-top: 24px; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; } .about-lead { font-size: 17px; margin-top: 23px; }
  .principles { border-top: 1px solid #b8c0b3; padding-top: 30px; } .principles h3 { font-size: 31px; } .principles article { padding-block: 25px; }
  .process-list { gap: 28px 24px; } .process-list li { padding-top: 17px; } .process-list li > span { font-size: 34px; }
  .process-list h3 { font-size: 16px; margin: 15px 0 10px; } .process-list p { font-size: 14px; line-height: 1.85; }
  .price-list article { grid-template-columns: 1fr; gap: 20px; padding-block: 28px; }
  .price-action { flex-direction: row; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
  .price-action .button { min-width: 0; padding-inline: 17px; } .price-note { line-height: 1.85; }
  .news-grid { grid-template-columns: 1fr; gap: 37px; } .news-cover { height: 220px; }
  .news-cover > .icon { width: 86px; height: 86px; } .news-meta { margin-top: 19px; }
  .news-card h3 { font-size: 34px; } .news-card > .text-link { margin-top: 16px; }
  .faq { padding-top: 8px; } .faq-grid { grid-template-columns: 1fr; gap: 30px; }
  .faq-list summary { font-size: 16px; padding-block: 21px; } .faq-list details > p { padding-right: 0; }
  .contacts-grid { grid-template-columns: 1fr; gap: 38px; } .contacts h2 { font-size: 55px; } .contacts .label { font-size: 12px; }
  .contact-intro { font-size: 17px; margin-bottom: 25px; } .main-phone { font-size: clamp(29px,7.7vw,38px); gap: 12px; }
  .main-phone .icon { width: 22px; height: 22px; } .contact-details a { font-size: 16px; } .email-row { gap: 6px; }
  .office { padding: 28px; } .office h3 { font-size: 38px; } .office-address { font-size: 20px; }
  .footer-main { display: grid; grid-template-columns: 1fr auto; gap: 24px; }
  .footer-main > p { grid-row: 2; grid-column: 1/-1; max-width: 100%; } .footer-main .brand > span { font-size: 23px; }
  .footer-bottom { flex-direction: column; gap: 10px; }
  .mobile-contact { display: block; position: fixed; bottom: 0; left: 0; right: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom,0px)); background: var(--paper); border-top: 1px solid #c8cbbb; z-index: 35; }
  .mobile-contact a { display: flex; justify-content: center; align-items: center; gap: 12px; min-height: 54px; background: var(--ink); color: var(--paper); font-size: 14px; font-weight: 600; }
  .mobile-contact a > span { color: var(--gold); margin-left: 9px; font-size: 12px; } .mobile-contact .icon { width: 19px; height: 19px; color: var(--gold); }
  body.dialog-open .mobile-contact { visibility: hidden; }
  .toast { bottom: calc(100px + env(safe-area-inset-bottom,0px)); padding: 12px 18px; }
  .contact-dialog { padding: 43px 24px 28px; } .contact-dialog h2 { font-size: 36px; } .contact-dialog > .label { font-size: 12px; }
  .dialog-phone { font-size: clamp(24px,6.8vw,30px); gap: 12px; } .dialog-phone > .icon { width: 20px; height: 20px; }
  .dialog-email { font-size: 14px; gap: 8px; } .dialog-email > .icon { width: 18px; height: 18px; }
  .detail-wrap { padding-block: 23px 55px; } .breadcrumbs { margin-bottom: 30px; gap: 7px 9px; }
  .breadcrumbs > [aria-current] { flex-basis: 100%; }
  .detail-layout { grid-template-columns: 1fr; gap: 40px; }
  .detail-content h1 { font-size: clamp(36px,10vw,48px); line-height: 1.1; margin-bottom: 23px; } .detail-content > .label { font-size: 12px; }
  .detail-lead { font-size: 18px; line-height: 1.8; margin-bottom: 26px; } .prose { font-size: 17px; line-height: 1.85; }
  .prose h2 { font-size: 31px; margin-top: 32px; margin-bottom: 15px; } .prose section { scroll-margin-top: 98px; }
  .help-list li { gap: 12px; } .help-list .icon { width: 17px; height: 17px; }
  .detail-note { padding: 22px; } .detail-note h2 { font-size: 29px; margin-top: 0; }
  .detail-actions { align-items: stretch; gap: 15px; flex-direction: column; } .detail-actions .copy-link { align-self: start; }
  .detail-aside { position: static; } .aside-contact { padding: 28px; } .aside-contact h2 { font-size: 34px; }
  .aside-contact > p:not(.label) { font-size: 16px; } .aside-contact .aside-phone { font-size: 20px; } .aside-address { padding-bottom: 0; }
  .related-section { margin-top: 45px; padding-top: 30px; } .related-section > h2 { font-size: 34px; }
  .related-grid { grid-template-columns: 1fr; gap: 12px; } .related-grid a { font-size: 16px; min-height: 78px; padding: 20px; }
  .article-contents { padding: 22px; } .article-contents ul { line-height: 1.85; }
}
@media (max-width:370px) {
  .container { width: calc(100% - 32px); } .header-inner { gap: 5px; }
  .brand > span { font-size: 21px; } .brand-mark { width: 29px; height: 29px; }
  .hero-name { font-size: 66px; max-width: 8.5ch; } .hero-profession { font-size: 18px; } .hero-actions .button { width: 100%; }
  .practice-tabs { gap: 14px; } .practice-tabs button { gap: 5px; }
  .service-item { gap: 12px; } .service-item h4 { font-size: 27px; }
  .process-list { grid-template-columns: 1fr; } .process-list p { font-size: 16px; }
  .office { padding: 24px; } .main-phone { font-size: 29px; gap: 9px; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (max-height:700px) { .detail-aside { position: static; } }
@media print {
  body { background: white; color: black; padding: 0; font-size: 12pt; }
  .site-header, .topbar, .site-footer, .mobile-contact, .contact-dialog, .toast, .detail-aside, .detail-actions, .related-section, .article-contents, .skip-link { display: none !important; }
  .container { width: 100%; max-width: none; } .detail-layout { display: block; }
  .detail-content h1 { font-size: 28pt; } .prose h2 { font-size: 19pt; break-after: avoid; }
  .prose p, .help-list li { break-inside: avoid; } .prose, .detail-lead { font-size: 12pt; }
}
