:root {
    --v2-dark: #0c3547;
    --v2-teal: #08747d;
    --v2-line: #d6e5e7;
    --v2-header-height: 68px;
}

html { scroll-padding-top: calc(var(--v2-header-height) + 16px); }
a:focus-visible { outline: 3px solid #16818a; outline-offset: 4px; }
.v2-skip { position: fixed; z-index: 1100; inset: 8px auto auto 8px; padding: 10px; background: white; transform: translateY(-150%); }
.v2-skip:focus { transform: none; }
.v2-header { position: sticky; top: 0; z-index: 1000; background: var(--v2-dark); }
.v2-header.v2-scrolled { box-shadow: 0 2px 12px rgba(12, 55, 70, .24); }
.v2-nav { display: flex; justify-content: space-between; align-items: center; min-height: var(--v2-header-height); gap: 8px; }
.v2-brand { display: inline-flex; align-items: center; flex: 0 1 140px; min-width: 0; min-height: 44px; }
.v2-brand img { width: 100%; height: auto; }
.v2-nav-links { display: flex; align-items: center; gap: clamp(4px, 2.5vw, 30px); }
.v2-nav-links a { display: inline-flex; align-items: center; padding: 0 6px; min-height: 44px; color: white; font-weight: 600; }
.v2-nav-links a:hover, .v2-below:hover { color: white; text-decoration: underline; }

#banner.v2-banner { min-height: 0; }
.v2-banner .v2-hero { min-height: min(640px, 76vh); display: grid; align-items: center; padding: clamp(44px, 8vw, 96px) 0; }
.v2-hero-logo { width: min(160px, 42vw); height: auto; margin-bottom: 18px; }
.v2-hero h1 { max-width: 24ch; margin: 0 auto 18px; font-size: clamp(30px, 5vw, 52px); line-height: 1.12; text-wrap: balance; }
.v2-hero p { color: white; font-size: clamp(16px, 2.4vw, 20px); line-height: 1.5; }
.v2-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin: 24px 0 16px; }
.v2-button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 46px; padding: 10px 16px; border: 1px solid transparent; border-radius: 5px; font-weight: 700; text-align: center; line-height: 1.35; }
.v2-primary { color: var(--v2-dark); background: #64c8d0; }
.v2-primary:hover, .v2-primary:focus { color: var(--v2-dark); background: #8ad9df; }
.v2-phone { color: white; border-color: #a7d6dd; }
.v2-phone:hover, .v2-phone:focus { color: var(--v2-dark); background: white; }
.v2-below, .v2-below:focus { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; color: white; }
.v2-outline { color: var(--v2-teal); border-color: var(--v2-teal); }
.v2-outline:hover { color: white; background: var(--v2-teal); }

.v2-practical { color: var(--v2-dark); background: #f2f8f9; }
.v2-cabinet-grid, .v2-profile { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.v2-cabinet-card { padding: clamp(16px, 3vw, 28px); background: white; border: 1px solid var(--v2-line); border-radius: 6px; }
.v2-cabinet-card h3 { margin-top: 0; }
.v2-cabinet-card address, .v2-cabinet-card dl { line-height: 1.6; }
.v2-cabinet-card dd + dt { margin-top: 8px; }
.v2-map { margin-top: 20px; overflow: hidden; border-radius: 6px; }
.v2-map iframe { display: block; width: 100%; height: clamp(245px, 36vw, 370px); }
.v2-profile { align-items: center; color: var(--v2-dark); }
.v2-profile::before, .v2-profile::after { content: none; }
.v2-profile h2 { color: inherit; margin: 0 0 14px; line-height: 1.2; }
.v2-profile p { line-height: 1.55; }
.v2-profile blockquote { margin: 0; border-left-color: #58bfc8; }
.v2-profile blockquote footer { color: var(--v2-dark); }
.v2-reviews, #rss-articles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding: 0 15px; }
.v2-reviews > .review, #rss-articles > div { float: none; width: auto; padding: 0; }
#rss-articles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
#rss-articles .thumbnail { height: 100%; margin: 0; }

@media (max-width: 991px) {
    #rss-articles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    :root { --v2-header-height: 58px; }
    #banner.v2-banner { background-attachment: scroll; }
    .v2-banner .v2-hero { min-height: 510px; }
    .v2-cabinet-grid, .v2-profile, .v2-reviews, #rss-articles { grid-template-columns: 1fr; }
}
