* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: #202b3b; font-family: Inter, "Segoe UI", sans-serif; }
.shell { width: min(100% - 48px, 1040px); margin: auto; }
header, footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
header { padding: 20px 0; border-bottom: 1px solid #d9e1eb; }
header img { display: block; width: 106px; height: auto; }
nav { display: flex; gap: 2px; }
a { color: inherit; }
nav a { text-decoration: none; font-size: .82rem; padding: 10px 8px; border-radius: 4px; }
nav a[aria-current], nav a:hover { background: #eaf0f8; }
nav a[aria-current] { font-weight: 700; }


h1 { margin: 0; font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 600; line-height: 1.07; letter-spacing: -.045em; text-wrap: balance; }
p { max-width: 34em; font-size: clamp(1.05rem, 1.8vw, 1.3rem); line-height: 1.6; margin: 22px 0 30px; color: #526174; }
.contact { display: inline-flex; gap: 20px; align-items: center; background: #17365d; color: white; border-radius: 5px; text-decoration: none; padding: 13px 19px; font-weight: 600; }
.contact:hover { background: #102743; }
a:focus-visible { outline: 3px solid #3267aa; outline-offset: 3px; }
footer { align-items: flex-start; border-top: 1px solid #d9e1eb; padding: 24px 0; font-size: .875rem; color: #566477; line-height: 1.65; }
footer a { text-underline-offset: 4px; overflow-wrap: anywhere; }
@media (max-width: 600px) {
    .shell { width: calc(100% - 36px); }
    header img { width: 84px; }
    footer { flex-direction: column; }
}
.brand { text-decoration: none; display: flex; align-items: center; gap: 12px; font-size: clamp(1rem, 2.5vw, 1.45rem); letter-spacing: -.04em; }
.brand img { width: clamp(48px, 7vw, 80px); }
main { padding: 0; }
.intro { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 6vw, 84px); align-items: start; padding: clamp(48px, 8vw, 100px) 0; }
.intro p { margin: 0; font-size: 1.14rem; align-self: center; }
.about { border-top: 2px solid #28568c; }
@media (max-width: 760px) { .intro { grid-template-columns: 1fr; } }
h1 { color: #142e50; }
h1:focus { outline: none; }
.contact { background: #17365d; }
.about { display: grid; grid-template-columns: 1fr 2fr; gap: 20px; padding: 30px 0 44px; }
.about h2 { font-size: 1.35rem; margin: 0; }
.about p { font-size: 1rem; margin: 0 0 12px; }
.about a { color: #214f88; text-underline-offset: 4px; }
@media (max-width: 640px) {
    header { flex-wrap: wrap; }
    .about { grid-template-columns: 1fr; gap: 12px; }
}

.practice { background: #eff4fa; padding: clamp(24px, 4vw, 48px); border-radius: 8px; }
.practice h2 { margin: 0 0 26px; color: #17365d; font-size: 1.4rem; }
.practice dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.practice dt { padding-top: 14px; border-top: 2px solid #91abc9; font-weight: 650; font-size: 1.12rem; }
.practice dd { margin: 9px 0 0; color: #43566e; line-height: 1.6; }
.about { border: 0; margin-top: 16px; }
@media (max-width: 760px) { .practice dl { grid-template-columns: 1fr; gap: 22px; } }
.sections { margin-inline-start: auto; flex-wrap: wrap; }
@media (max-width: 760px) {
    header { flex-wrap: wrap; }
    .sections { order: 1; width: 100%; margin: 0; }
}
.editorial-photo { display: block; width: 100%; height: auto; border-radius: 6px; }
.intro { align-items: center; }
.intro p { margin-top: 22px; }

header { position: sticky; top: 0; z-index: 10; background: white; }
html { scroll-padding-top: 104px; }
.language-picker { position: relative; }
.language-picker button { display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; border: 0; border-radius: 20px; background: #eaf0f8; color: #17365d; font-size: .86rem; line-height: 1.4; font-family: inherit; font-weight: 600; cursor: pointer; }
.language-picker button:focus-visible { outline: 3px solid #3267aa; }
.language-picker svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.chevron { width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); }
#languages { position: fixed; inset: 76px max(24px, calc((100vw - 1040px)/2)) auto auto; margin: 0; min-width: 10rem; padding: 6px; border: 1px solid #d5dfed; border-radius: 12px; background: white; box-shadow: 0 8px 28px #17365d20; }
#languages:not(:popover-open) { display: none; }
#languages:popover-open { display: grid; }
#languages a { display: flex; justify-content: space-between; gap: 20px; padding: 10px 12px; }
#languages a[aria-current]::after { content: "✓"; color: #28568c; }
@media (max-width: 760px) { html { scroll-padding-top: 150px; } #languages { top: 62px; } }
.service-icon { display: block; width: 26px; height: 26px; fill: none; stroke: #28568c; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; margin-bottom: 10px; }
.about-detail { display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: start; }

.contact-section { display: grid; grid-template-columns: 1fr 2fr; gap: 20px; padding: 32px 0 40px; border-top: 1px solid #d5dfed; }
.contact-section h2 { margin: 0; font-size: 1.35rem; }
.contact-section a { font-size: clamp(1rem, 2vw, 1.35rem); color: #214f88; text-underline-offset: 4px; overflow-wrap: anywhere; }
.contact-section address { margin-top: 16px; font-style: normal; line-height: 1.65; }
@media (max-width: 640px) { .contact-section { grid-template-columns: 1fr; } }


:root {
    color-scheme: light;
    --page: #ffffff;
    --text: #202b3b;
    --muted: #526174;
    --heading: #142e50;
    --panel: #eff4fa;
    --line: #ccd9e9;
    --link: #214f88;
    --icon: #28568c;
}
:root[data-theme="dark"] {
    color-scheme: dark;
    --page: #101824;
    --text: #e2e9f3;
    --muted: #b6c4d6;
    --heading: #e4edfc;
    --panel: #192639;
    --line: #354b66;
    --link: #a6caff;
    --icon: #96bdea;
}
body { background: var(--page); color: var(--text); }
header { background: var(--page); padding: 20px 0; border-color: var(--line); }
h1, .practice h2 { color: var(--heading); }
p, .practice dd, footer { color: var(--muted); }
.practice { background: var(--panel); }
.practice dt, footer, .contact-section { border-color: var(--line); }
.about a, .contact-section a { color: var(--link); }
.service-icon { stroke: var(--icon); }
nav a:hover, nav a[aria-current] { background: var(--panel); }
.language-picker button { background: var(--panel); color: var(--heading); }
#languages { background: var(--page); color: var(--text); border-color: var(--line); }
#languages a[aria-current]::after { color: var(--link); }
:root[data-theme="dark"] .brand img { filter: invert(1); mix-blend-mode: screen; }
:root[data-theme="dark"] .editorial-photo { filter: brightness(.72); }
@media (max-width: 1000px) {
    header { flex-wrap: wrap; }
    .sections { order: 1; width: 100%; margin: 0; }
    .language-picker { margin-left: auto; }
    html { scroll-padding-top: 160px; }
}
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.theme-switch { display: flex; flex-shrink: 0; gap: 2px; margin: 0; padding: 3px; border: 1px solid var(--line); border-radius: 24px; background: var(--panel); }
.theme-switch label { position: relative; cursor: pointer; }
.theme-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.theme-switch span { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; color: var(--muted); }
.theme-switch input:checked + span { background: var(--heading); color: var(--page); box-shadow: 0 1px 3px #0002; }
.theme-switch input:focus-visible + span { outline: 2px solid #6499db; outline-offset: 2px; }
.theme-switch svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.auto-symbol { font-size: .82rem; font-weight: 700; }
