/* ProStoimost 2026 — isolated prototype layer. No unscoped selectors. */
.v5 {
  --ink: #10262c; --ink-soft: #334b50; --paper: #f5f2ea; --white: #fffdf8;
  --river: #0d5f6b; --river-dark: #0d5f6b; --line: #cbd1cc;
  --v5-gutter: 32px; --v5-section: 64px;
  color: var(--ink); background: var(--white); font-size: 17px; line-height: 27px;
}
.v5 .container { width: min(1200px, calc(100% - var(--v5-gutter) * 2)); max-width: 1200px; }
.v5 :is(h1,h2,h3,p) { overflow-wrap: break-word; }
.v5 h1 { font: 400 56px/60px Georgia, serif; letter-spacing: -.025em; max-width: 960px; margin: 0; }
.v5 :is(h2,.heading,.svc-title) { font: 400 36px/43px Georgia, serif; letter-spacing: -.02em; margin: 0; max-width: 850px; }
.v5 h3 { font: 600 22px/29px 'Segoe UI', Arial, sans-serif; letter-spacing: -.015em; margin: 0 0 12px; }
.v5 :is(p,.svc-copy,.section-copy,.svc-card p,.svc-link-card p,.service-card p,.purpose-card p,.steps p,.proof-item p,.expert-facts,.svc-expert-copy,.svc-panel p,.svc-checklist,.svc-factors) { font-size: 17px; line-height: 27px; color: var(--ink-soft); }
.v5 :is(.eyebrow,.svc-note,.hero-contact-note,.svc-price-term,.brand-note,.breadcrumbs,.service-card-footer,.svc-link-card > span,.expert-role,.svc-expert-role,.reviews-note) { font-size: 14px; line-height: 20px; }
.v5 .eyebrow { color: var(--river); letter-spacing: .045em; margin: 0 0 16px; }
.v5 :is(a,button,summary,[tabindex]) { scroll-margin: 96px 0 100px; }
.v5 :is(a,button,summary,[tabindex]):focus-visible { outline: 3px solid var(--river); outline-offset: 4px; }
.v5 .skip-link { font-size: 16px; background: var(--ink); color: var(--white); z-index: 300; }
.v5 .site-header { background: var(--white); backdrop-filter: none; box-shadow: none; border-bottom: 1px solid var(--line); }
.v5 .header-inner { min-height: 76px; height: 76px; gap: 24px; }
.v5 .brand-mark { width: 40px; height: 40px; flex: 0 0 40px; }
.v5 .brand-name { font-size: 18px; line-height: 22px; }
.v5 .brand-note { font-size: 14px; line-height: 20px; letter-spacing: 0; }
.v5 .site-nav { gap: 20px; }
.v5 .site-nav a { font-size: 14px; line-height: 20px; }
.v5 .header-phone { display: inline; font-size: 14px; white-space: nowrap; }
.v5 .button { min-height: 48px; padding: 12px 20px; border-radius: 8px; font-size: 16px; line-height: 24px; font-weight: 600; box-shadow: none; white-space: normal; text-align: center; }
.v5 .button-primary { background: var(--river); color: var(--white); border: 1px solid var(--river); }
.v5 .button-primary:hover { background: var(--ink); border-color: var(--ink); transform: none; }
.v5 .button-secondary { background: transparent; color: var(--river); border: 1px solid var(--river); }
.v5 .button-secondary:hover { background: #e4eeeb; transform: none; }
.v5 .header-cta { font-size: 14px; min-height: 44px; padding: 10px 16px; }
.v5 .breadcrumbs { padding: 20px 0 0; color: var(--ink-soft); }
.v5 :is(.hero,.svc-hero) { padding: 48px 0 32px; background: var(--white); overflow: visible; }
.v5 .hero { padding-top: 64px; }
.v5 :is(.hero,.svc-hero)::before, .v5 :is(.hero,.svc-hero)::after { display: none; }
.v5 :is(.hero-grid,.svc-hero-grid) { display: block; min-height: 0; }
.v5 :is(.hero-copy,.svc-hero-grid > div) { max-width: 960px; padding: 0; }
.v5 :is(.hero-lead,.svc-lead) { font-size: 20px; line-height: 30px; max-width: 720px; margin: 24px 0 0; color: var(--ink-soft); }
.v5 :is(.hero-actions,.svc-actions,.contact-actions) { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 0; }
.v5 :is(.svc-note,.hero-contact-note) { max-width: 680px; margin: 16px 0 0; color: var(--ink-soft); }
.v5 :is(.trust-strip,.svc-trust) { padding: 0 0 24px; background: var(--white); border: 0; }
.v5 :is(.trust-list,.svc-trust ul) { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 12px 32px; margin: 0; padding: 20px 0 0; border-top: 1px solid var(--line); }
.v5 :is(.trust-item,.svc-trust li) { flex: none; width: auto; padding: 0; border: 0; font-size: 14px; line-height: 20px; color: var(--ink-soft); }
.v5 :is(.trust-item,.svc-trust li)::before { display: none; }
.v5 :is(.section,.svc-section) { padding: var(--v5-section) 0; background: var(--white); }
.v5 :is(.section-muted,.svc-section--muted) { background: var(--paper); }
.v5 :is(.svc-head,.section-header) { display: block; max-width: 720px; margin-bottom: 24px; }
.v5 :is(.svc-head p,.section-header .section-copy) { margin-top: 16px; max-width: 720px; }
.v5 :is(.svc-link-grid,.service-grid) { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.v5 :is(.svc-link-card,.service-card) { display: flex; flex-direction: column; min-height: 0; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); box-shadow: none; }
.v5 :is(.svc-link-card,.service-card):hover { border-color: var(--river); background: #f1f6f2; box-shadow: none; transform: none; }
.v5 :is(.svc-link-card strong,.service-card h3) { font-size: 22px; line-height: 29px; margin: 0 0 12px; }
.v5 :is(.svc-link-card p,.service-card p) { margin: 0 0 16px; }
.v5 :is(.svc-link-card > span,.service-card-footer) { color: var(--river); margin-top: auto; padding-top: 8px; }
.v5 :is(.svc-card-grid,.purpose-grid) { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 48px; }
.v5 :is(.svc-card,.purpose-card) { min-height: 0; padding: 20px 0 0; background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none; }
.v5 :is(.svc-card p,.purpose-card p) { margin: 0; }
.v5 :is(.svc-card-index,.purpose-tag,.service-icon) { display: none; }
.v5 .v5-objects .svc-card { padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.v5 .v5-comparison .svc-card-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px; }
.v5 :is(.v5-process .svc-card-grid,.steps) { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 32px; }
.v5 .steps li { padding: 20px 0 0; border-top: 1px solid var(--line); }
.v5 .steps li > span { width: auto; height: auto; border: 0; background: none; border-radius: 0; font-size: 16px; line-height: 24px; color: var(--river); margin: 0 0 12px; }
.v5 .steps li::before { display: none; }
.v5 .svc-price { grid-template-columns: 280px minmax(0,1fr); gap: 48px; border: 0; border-radius: 0; padding: 0; background: transparent; box-shadow: none; }
.v5 .svc-price-value { display: block; font: 400 44px/50px Georgia,serif; color: var(--ink); letter-spacing: -.02em; }
.v5 .svc-price-term { display: block; margin-top: 16px; color: var(--ink-soft); }
.v5 .svc-price h2 { margin-bottom: 16px; }
.v5 .svc-factors { display: block; padding-left: 20px; margin: 20px 0 0; }
.v5 .svc-factors li { display: list-item; list-style: disc; padding: 0 0 8px; background: none; border: 0; border-radius: 0; font-size: inherit; }
.v5 .svc-factors li::before { display: none; }
.v5 :is(.svc-split,.svc-local,.court-layout) { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 48px; align-items: start; }
.v5 .svc-panel { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.v5 :is(.svc-checklist,.expert-facts ul) { margin: 16px 0 0; padding: 0; }
.v5 :is(.svc-checklist li,.expert-facts li) { padding: 10px 0 10px 24px; border-bottom: 1px solid var(--line); font-size: 17px; line-height: 27px; }
.v5 :is(.svc-checklist li,.expert-facts li)::before { left: 0; top: 10px; color: var(--river); }
.v5 .v5-prose .container { max-width: 1200px; }
.v5 .v5-prose :is(.svc-head,.svc-checklist,.svc-factors) { max-width: 720px; }
.v5 .v5-prose .svc-head { margin-bottom: 0; }
.v5 :is(.svc-expert,.expert-card) { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.25fr); gap: 48px; border: 0; border-top: 3px solid var(--river); border-radius: 0; background: var(--paper); padding: 32px; box-shadow: none; }
.v5 :is(.svc-expert-id,.expert-identity) { display: block; }
.v5 :is(.svc-expert h2,.expert-card h2) { font-size: 32px; line-height: 39px; }
.v5 :is(.svc-expert-role,.expert-role) { margin-top: 16px; color: var(--ink-soft); }
.v5 :is(.expert-facts p,.svc-expert-copy > p) { margin: 0; }
.v5 .text-link { color: var(--river); font-size: 16px; line-height: 24px; text-decoration: underline; text-underline-offset: 4px; }
.v5 :is(.svc-local,.local-layout) { display: block; }
.v5 :is(.svc-local > div,.local-copy) { max-width: 720px; }
.v5 .v5-local { position: relative; border-top: 1px solid var(--line); }
.v5 .v5-local::before { content: ''; display: block; width: 96px; height: 12px; margin: 0 auto 24px; border-top: 2px solid var(--river); border-bottom: 1px solid #7ea6a5; border-radius: 50%; transform: rotate(-6deg); }
.v5 .districts { gap: 8px 20px; margin: 20px 0 0; }
.v5 .districts li { font-size: 14px; line-height: 20px; border: 0; background: transparent; padding: 0; }
.v5 .svc-related { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.v5 .svc-related a { display: inline; padding: 4px 0; border: 0; border-radius: 0; background: none; color: var(--river); font-size: 16px; line-height: 24px; text-decoration: underline; text-underline-offset: 4px; }
.v5 .svc-related a:hover { background: none; color: var(--ink); }
.v5 .faq-layout { grid-template-columns: 320px minmax(0,1fr); gap: 48px; }
.v5 .faq-list details { margin: 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; padding: 0; }
.v5 .faq-list details:first-child { border-top: 1px solid var(--line); }
.v5 .faq-list summary { padding: 20px 40px 20px 0; font-size: 18px; line-height: 27px; color: var(--ink); min-height: 64px; }
.v5 .faq-list summary:hover { color: var(--river); background: #e9eee8; }
.v5 .faq-list summary::after { right: 8px; top: 20px; }
.v5 .faq-list details p { margin: 0; padding: 0 32px 20px 0; font-size: 16px; line-height: 25px; color: var(--ink-soft); }
.v5 :is(.svc-final,.contact-section) { padding: 48px 0; background: var(--ink); color: var(--white); }
.v5 :is(.svc-final h2,.contact-section h2,.svc-final p,.contact-section p,.contact-details dd,.contact-details a) { color: var(--white); opacity: 1; }
.v5 :is(.svc-final p,.contact-section p) { max-width: 720px; font-size: 17px; line-height: 27px; }
.v5 :is(.svc-final-grid,.contact-layout) { grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: 48px; align-items: center; }
.v5 .svc-final .svc-actions { justify-content: flex-start; margin-top: 0; }
.v5 :is(.svc-final,.contact-section) .button-primary { color: var(--ink); background: var(--white); border-color: var(--white); }
.v5 :is(.svc-final,.contact-section) .button-secondary { color: var(--white); border-color: var(--white); background: transparent; }
.v5 :is(.svc-final,.contact-section) .button:hover { color: var(--ink); background: #d8eceb; border-color: #d8eceb; }
.v5 :is(.svc-final,.contact-section,.section-dark,.site-footer,.mobile-cta) :is(a,button,summary):focus-visible { outline-color: #a5d8d5; }
.v5 .contact-section .eyebrow { color: #a5d8d5; }
.v5 .contact-details { gap: 16px; margin-top: 32px; }
.v5 .contact-details dt { color: #a5d8d5; font-size: 14px; line-height: 20px; }
.v5 .contact-details dd { font-size: 16px; line-height: 25px; }
.v5 .office-photo { min-height: 0; border-radius: 12px; overflow: hidden; }
.v5 .office-photo img { min-height: 0; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.v5 .office-photo figcaption { position: static; background: var(--ink); padding: 12px 0 0; font-size: 14px; line-height: 20px; color: var(--white); }
.v5 .site-footer { padding: 40px 0 24px; background: var(--ink); color: var(--white); border-top: 1px solid #4b6265; }
.v5 .footer-grid { grid-template-columns: 1.2fr .8fr 1fr; gap: 48px; }
.v5 :is(.site-footer p,.site-footer a,.site-footer span,.site-footer strong,.footer-bottom) { font-size: 14px; line-height: 22px; color: #e4e8df; }
.v5 .site-footer .brand-name { font-size: 18px; line-height: 24px; color: var(--white); }
.v5 .footer-grid a { min-height: 28px; }
.v5 .footer-bottom { margin-top: 32px; padding-top: 20px; border-color: #4b6265; }
.v5 .section-dark { background: var(--paper); color: var(--ink); }
.v5 .section-dark :is(h2,h3,p,.eyebrow) { color: var(--ink); }
.v5 .proof-grid { gap: 32px; }
.v5 .proof-item { border-top: 1px solid var(--line); padding-top: 20px; }
.v5 .proof-item > strong { font-size: 24px; line-height: 32px; color: var(--river); margin-bottom: 8px; }
.v5 .proof-item:not(:first-child) > strong { display: none; }
.v5 .proof-item h3 { margin: 0 0 12px; }
.v5 .pricing-layout { grid-template-columns: 320px minmax(0,1fr); gap: 48px; }
.v5 .pricing-table-wrap { border: 0; border-radius: 0; box-shadow: none; }
.v5 .pricing-table :is(th,td) { padding: 16px; font-size: 16px; line-height: 25px; }
.v5 .court-links a { padding: 20px 0; border: 0; border-top: 1px solid var(--line); background: transparent; border-radius: 0; }
.v5 .court-links a > span { display: none; }
.v5 .court-links a strong { font-size: 20px; line-height: 27px; }
.v5 .court-links a small { font-size: 14px; line-height: 20px; }
.v5 .reviews-layout { display: block; }
.v5 .reviews-summary { display: grid; grid-template-columns: 96px 1fr 1.5fr; gap: 16px 24px; align-items: center; min-height: 0; padding: 24px 0; background: transparent; color: var(--ink); border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; }
.v5 .reviews-summary p { margin: 0; color: var(--ink-soft); }
.v5 .reviews-score { font: 400 44px/50px Georgia,serif; color: var(--ink); }
.v5 .reviews-summary .reviews-link { grid-column: 2 / -1; justify-self: start; color: var(--river); border: 1px solid var(--river); background: transparent; }
.v5 .mobile-cta { display: none; }
.v5 .service-grid { border: 0; }
.v5 :is(.card-index,.purpose-mark) { display: none; }
.v5 .card-action { font-size: 14px; line-height: 20px; color: var(--river); }
.v5 .purpose-card strong { font-size: 20px; line-height: 27px; }
.v5 .purpose-card small { font-size: 16px; line-height: 25px; }
.v5 a.purpose-card:hover { transform: none; background: transparent; }
.v5 a.service-card:is(:hover,:focus-visible) { color: var(--ink); }
.v5 a.service-card:is(:hover,:focus-visible) p { color: var(--ink-soft); }
.v5 a:is(.service-card,.purpose-card):focus-visible { outline: 3px solid var(--river); outline-offset: 4px; }
.v5 .court-links a { display: block; }
.v5 .court-links a small { display: block; margin-top: 8px; }
@media (max-width: 1150px) {
  .v5 { --v5-gutter: 24px; --v5-section: 48px; }
  .v5 h1 { font-size: 44px; line-height: 49px; }
  .v5 :is(h2,.heading,.svc-title) { font-size: 32px; line-height: 39px; }
  .v5 .header-inner { gap: 20px; }
  .v5 .header-phone { margin-left: auto; }
  .v5 .header-cta { display: none; }
  .v5 .menu-toggle { display: block; width: 44px; height: 44px; margin-left: 0; border-radius: 8px; }
  .v5 .site-nav { position: fixed; top: 76px; left: 0; right: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 16px 24px 24px; max-height: calc(100dvh - 76px); overflow-y: auto; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: none; opacity: 0; visibility: hidden; pointer-events: none; transform: none; }
  .v5 .site-nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
  .v5 .site-nav ul { display: flex; flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .v5 .site-nav a { padding: 12px 0; font-size: 18px; line-height: 27px; }
  .v5 :is(.v5-process .svc-card-grid,.steps) { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .v5 :is(.svc-link-grid,.service-grid) { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .v5 :is(.svc-split,.svc-local,.court-layout,.svc-expert,.expert-card,.svc-final-grid,.contact-layout,.faq-layout,.pricing-layout) { gap: 32px; }
  .v5 .svc-price { grid-template-columns: 240px minmax(0,1fr); gap: 32px; }
  .v5 :is(.faq-layout,.pricing-layout) { grid-template-columns: 280px minmax(0,1fr); }
  .v5 .footer-grid { gap: 32px; }
}
@media (max-width: 700px) {
  .v5 { --v5-gutter: 20px; --v5-section: 40px; font-size: 16px; line-height: 25px; padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .v5 h1 { font-size: 34px; line-height: 39px; }
  .v5 :is(h2,.heading,.svc-title,.expert-card h2,.svc-expert h2) { font-size: 28px; line-height: 34px; }
  .v5 h3 { font-size: 20px; line-height: 27px; }
  .v5 :is(p,.svc-copy,.section-copy,.svc-card p,.svc-link-card p,.service-card p,.purpose-card p,.steps p,.proof-item p,.expert-facts,.svc-expert-copy,.svc-panel p,.svc-checklist,.svc-factors,.svc-checklist li,.expert-facts li) { font-size: 16px; line-height: 25px; }
  .v5 .header-inner { min-height: 64px; height: 64px; gap: 12px; }
  .v5 .brand-mark { width: 36px; height: 36px; flex-basis: 36px; }
  .v5 .brand-name { font-size: 17px; }
  .v5 .brand-note { display: none; }
  .v5 .header-phone { display: none; }
  .v5 .menu-toggle { margin-left: auto; }
  .v5 .site-nav { top: 64px; max-height: calc(100dvh - 64px - 64px - env(safe-area-inset-bottom)); padding: 16px 20px 24px; }
  .v5 .breadcrumbs { padding-top: 16px; font-size: 14px; line-height: 20px; }
  .v5 :is(.hero,.svc-hero) { padding: 32px 0 24px; }
  .v5 :is(.hero-lead,.svc-lead) { margin-top: 20px; font-size: 18px; line-height: 27px; }
  .v5 :is(.hero-actions,.svc-actions,.contact-actions) { gap: 12px; margin-top: 24px; }
  .v5 :is(.hero-actions,.svc-actions,.contact-actions) .button { width: 100%; }
  .v5 :is(.svc-note,.hero-contact-note) { font-size: 14px; line-height: 20px; }
  .v5 :is(.trust-list,.svc-trust ul) { gap: 12px 24px; }
  .v5 :is(.trust-item,.svc-trust li) { font-size: 14px; line-height: 20px; }
  .v5 :is(.svc-head,.section-header) { margin-bottom: 24px; }
  .v5 :is(.svc-link-grid,.service-grid,.svc-card-grid,.purpose-grid,.v5-comparison .svc-card-grid,.v5-process .svc-card-grid,.steps,.svc-split,.svc-price,.court-layout,.svc-expert,.expert-card,.svc-final-grid,.contact-layout,.faq-layout,.pricing-layout,.footer-grid,.proof-grid) { display: grid; grid-template-columns: minmax(0,1fr); gap: 24px; }
  .v5 :is(.svc-link-card,.service-card,.v5-objects .svc-card) { padding: 20px; border-radius: 8px; }
  .v5 :is(.svc-link-card strong,.service-card h3) { font-size: 20px; line-height: 27px; }
  .v5 :is(.svc-card,.purpose-card,.steps li) { padding-top: 16px; }
  .v5 :is(.svc-expert,.expert-card) { padding: 24px 20px; }
  .v5 .svc-price-value { font-size: 36px; line-height: 43px; }
  .v5 .svc-price-term { font-size: 14px; line-height: 20px; }
  .v5 .svc-related { display: grid; gap: 12px; }
  .v5 .faq-list summary { font-size: 17px; line-height: 25px; padding: 16px 36px 16px 0; }
  .v5 .faq-list summary::after { top: 16px; }
  .v5 :is(.svc-final,.contact-section) { padding: 40px 0; }
  .v5 .svc-final p { font-size: 16px; line-height: 25px; }
  .v5 .svc-final .svc-actions { margin-top: 0; }
  .v5 .site-footer { padding: 32px 0 24px; }
  .v5 .footer-grid nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
  .v5 .footer-grid nav strong { grid-column: 1 / -1; }
  .v5 .footer-bottom { gap: 8px; margin-top: 24px; }
  .v5 .reviews-summary { grid-template-columns: 72px minmax(0,1fr); gap: 16px; }
  .v5 .reviews-summary :is(.reviews-note,.reviews-link) { grid-column: 1 / -1; }
  .v5 .reviews-summary .reviews-link { width: 100%; }
  .v5 .mobile-cta { position: fixed; z-index: 120; inset: auto 0 0; display: grid; grid-template-columns: 1fr 1fr; min-height: 64px; padding-bottom: env(safe-area-inset-bottom); background: var(--ink); border-top: 1px solid #4b6265; }
  .v5 .mobile-cta a { display: flex; align-items: center; justify-content: center; min-height: 64px; padding: 16px 12px; font-size: 16px; line-height: 24px; background: var(--ink); color: var(--white); }
  .v5 .mobile-cta a + a { border-left: 1px solid #4b6265; }
  .v5.v5-contact-visible .mobile-cta { opacity: 0; visibility: hidden; pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) {
  .v5 *, .v5 *::before, .v5 *::after { transition: none !important; animation: none !important; }
}
