/* Маркова & Панчовска — the site's only stylesheet (fonts + layout).
   Sections: 0 fonts · 1 tokens · 2 base · 3 header/nav · 4 layout · 5 components · 6 footer · 7 responsive */

/* ---------- 0. fonts ----------
   Self-hosted, Cyrillic + Latin only: every character the site's text uses
   is in these four files (checked across all 20 pages). Characters outside
   them (e.g. accented Latin letters) fall back to the system font. */
@font-face {
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: block;
  src: url(merriweather-normal-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: block;
  src: url(merriweather-normal-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: 'Merriweather';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: block;
  src: url(merriweather-normal-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: block;
  src: url(merriweather-normal-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: 'Merriweather';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: block;
  src: url(merriweather-normal-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: block;
  src: url(merriweather-normal-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: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url(source-sans-3-normal-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url(source-sans-3-normal-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: 'Source Sans 3';
  font-style: normal;
  font-weight: 500;
  font-display: block;
  src: url(source-sans-3-normal-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 500;
  font-display: block;
  src: url(source-sans-3-normal-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: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: block;
  src: url(source-sans-3-normal-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: block;
  src: url(source-sans-3-normal-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: 'Source Sans 3';
  font-style: normal;
  font-weight: 700;
  font-display: block;
  src: url(source-sans-3-normal-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 700;
  font-display: block;
  src: url(source-sans-3-normal-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;
}

/* ---------- 1. tokens ---------- */
:root{
  --bg:oklch(98% 0.006 75);
  --bg-alt:oklch(95.5% 0.008 75);
  --ink:oklch(23% 0.018 258);
  --ink-soft:oklch(38% 0.02 258);
  --ink-mute:oklch(45% 0.02 258);
  --accent:#9B692C;               /* the logo's bronze */
  --accent-dark:oklch(42% 0.09 68);
  --accent-soft:oklch(0.68 0.09 69.14);
  --line:oklch(90% 0.008 75);
  --line-soft:oklch(88% 0.008 75);
  --dark:oklch(23% 0.018 258);
  --on-dark:oklch(98% 0.006 75);
  --on-dark-mute:oklch(75% 0.02 258);
  --serif:'Merriweather',Georgia,serif;
  --sans:'Source Sans 3',system-ui,sans-serif;
  --wrap:1200px;
  --wrap-header:1480px;          /* wider than the content so the 8-item nav fits */
  --radius:10px;                 /* buttons, fields, chips */
  --radius-lg:22px;              /* photos, form panel */
  --logo-h:76px;                 /* header logo; the firm name is ~11% of this */
  --header-h:105px;              /* header height at rest: logo + 2x14px padding + border */
  --gutter:clamp(20px,5vw,32px);
}

/* ---------- 2. base ---------- */
*{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;scroll-padding-top:calc(var(--header-h) + 20px);}
body{
  margin:0;font-family:var(--sans);color:var(--ink);
  background-color:var(--bg);
  background-image:
    radial-gradient(60vw 50vh at 8% -8%, oklch(80% 0.07 68 / .18), transparent 65%),
    radial-gradient(50vw 55vh at 106% 12%, oklch(78% 0.03 250 / .14), transparent 60%);
  background-repeat:no-repeat;
  background-attachment:fixed;
  -webkit-font-smoothing:antialiased;line-height:1.6;
}
img{max-width:100%;display:block;}
a{color:var(--accent);text-decoration:none;}
a:hover{color:var(--accent-dark);}
a:focus-visible,button:focus-visible,summary:focus-visible,
input:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:2px;}
h1,h2,h3{font-family:var(--serif);font-weight:700;text-wrap:pretty;margin:0;}
p{margin:0;}
.container{max-width:var(--wrap);margin:0 auto;padding-inline:var(--gutter);}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;}
.skip-link{position:absolute;left:-9999px;top:0;z-index:100;background:var(--ink);color:var(--on-dark);padding:10px 16px;}
.skip-link:focus{left:8px;top:8px;color:var(--on-dark);}
@view-transition{navigation:auto;}
::view-transition-old(root),::view-transition-new(root){animation-duration:.3s;}

/* ---------- 3. header / nav ---------- */
.site-header{
  position:sticky;top:0;z-index:50;
  background:oklch(98% 0.006 75 / .92);backdrop-filter:blur(6px);
  border-bottom:1px solid var(--line);
}
.header-inner{
  max-width:var(--wrap-header);margin:0 auto;padding:14px var(--gutter);
  display:flex;align-items:center;justify-content:space-between;gap:clamp(16px,1.8vw,24px);
}
/* the extra right margin keeps the logo off the first nav item */
.brand{display:block;flex-shrink:0;margin-right:clamp(0px,1.5vw,24px);}
.brand-logo{height:var(--logo-h);width:auto;transition:height .25s ease;}
/* site.js adds .is-scrolled once the page moves, so the tall logo
   doesn't keep eating screen height while reading */
.site-header.is-scrolled{--logo-h:54px;}
.nav{flex:1;}
/* .nav is flex:1, so centring the list shares the header's spare width evenly
   between the logo and the phone instead of pooling it all on the right */
.nav-list{
  list-style:none;margin:0;padding:0;
  display:flex;align-items:center;justify-content:center;gap:clamp(14px,1.7vw,22px);
  font-size:14.5px;font-weight:500;
}
.nav-list a{color:var(--ink);white-space:nowrap;display:inline-flex;flex-direction:column;align-items:center;}
.nav-list a:hover{color:var(--accent-dark);}
/* invisible bold copy of the label reserves the bold width, so the
   active item can turn bold without shifting its neighbours */
.nav-list a::after{content:attr(data-label);font-weight:700;height:0;overflow:hidden;visibility:hidden;pointer-events:none;}
.nav-list a[aria-current="page"]{color:var(--accent);font-weight:700;}
.header-aside{display:flex;align-items:center;gap:16px;flex-shrink:0;}
.header-phone{font-size:14px;font-weight:600;color:var(--ink);white-space:nowrap;}
.lang{
  font-size:12px;letter-spacing:1px;color:var(--ink-mute);
  border:1px solid var(--line);border-radius:var(--radius);padding:4px 10px;white-space:nowrap;
}
.lang a{color:var(--ink-mute);}
.lang [aria-current]{color:var(--ink);font-weight:700;}
.nav-toggle{
  display:none;background:none;border:1px solid var(--line);border-radius:var(--radius);
  padding:9px 11px;cursor:pointer;color:var(--ink);
}
.nav-toggle span{display:block;width:20px;height:2px;background:currentColor;margin:4px 0;}

/* ---------- 4. layout ---------- */
main{display:block;}
.section{padding-block:clamp(52px,8vw,96px);}
.section--tight{padding-block:clamp(40px,6vw,72px);}
.section--alt{background:var(--bg-alt);}
.section--dark{background:var(--dark);color:var(--on-dark-mute);}
/* full-bleed banner — sets the three values apart from the hero above it */
.band{padding-block:clamp(46px,6.5vw,76px);}
/* light band with a faded colour Sofia skyline rising out of the bottom edge;
   the bottom padding (~0.38 of the photo height) leaves the city visible below the text */
.band--city{
  position:relative;overflow:hidden;isolation:isolate;
  margin-top:clamp(28px,4.5vw,56px);
  padding-block:clamp(64px,8vw,96px) 198px;
  background:oklch(98% 0.006 75 / .6);
}
.band-photo{
  position:absolute;left:0;right:0;bottom:0;z-index:-1;width:100%;height:520px;
  object-fit:cover;object-position:center 30%;
  filter:saturate(.85);opacity:.3;
  -webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 75%);
  mask-image:linear-gradient(to bottom,transparent 0%,#000 75%);
}
.band--city .grid--3{gap:clamp(32px,4.5vw,56px);}
.band--city .grid--3>div{
  display:flex;flex-direction:column;gap:14px;
  border-top:2px solid var(--accent-soft);padding:26px 24px 28px;
}
.band--city h3{font-size:clamp(19px,2vw,22px);font-weight:700;color:var(--ink);}
.band--city p{font-size:16px;line-height:1.8;color:var(--ink-soft);}
.page-head{padding-block:clamp(44px,7vw,72px) clamp(24px,4vw,40px);}
.eyebrow{
  font-size:13px;letter-spacing:3px;text-transform:uppercase;
  color:var(--accent);font-weight:600;margin-bottom:14px;
}
h1{font-size:clamp(30px,5.2vw,52px);line-height:1.15;}
.h-page{font-size:clamp(28px,4.6vw,44px);}
h2{font-size:clamp(24px,3.4vw,34px);}
.h-sec{margin-bottom:clamp(32px,5vw,56px);}
.h-sec--center{text-align:center;}
h3{font-size:clamp(18px,2vw,21px);font-weight:600;}
.lead{font-size:clamp(16.5px,1.9vw,19px);line-height:1.7;color:var(--ink-soft);max-width:62ch;}
.prose p{font-size:16px;line-height:1.8;color:var(--ink-soft);margin-bottom:22px;}
.prose p:last-child{margin-bottom:0;}
.prose--rail{max-width:960px;margin-inline:auto;}
.prose--rail .prose-inner{border-inline:1px solid var(--line-soft);padding-inline:clamp(20px,8vw,100px);}
.grid{display:grid;gap:clamp(28px,4vw,48px);}
.grid--2{grid-template-columns:repeat(2,1fr);}
.grid--3{grid-template-columns:repeat(3,1fr);}
.hero{display:grid;grid-template-columns:1fr 1fr;gap:clamp(32px,5vw,64px);align-items:center;}
/* only the hero lead needs this — elsewhere .lead is the first thing in its
   column and carries its own spacing */
.hero .lead{margin-top:clamp(16px,2vw,24px);}
.split{display:grid;grid-template-columns:1fr 1fr;gap:clamp(32px,5vw,64px);align-items:center;}

/* ---------- 5. components ---------- */
.btn{
  display:inline-block;padding:14px 30px;border-radius:var(--radius);
  font-family:inherit;font-weight:600;font-size:15px;border:1px solid transparent;cursor:pointer;
  transition:background-color .2s,border-color .2s,color .2s;
}
.btn--solid{background:var(--ink);color:var(--on-dark);}
.btn--ghost{background:transparent;border-color:var(--ink);color:var(--ink);}
/* hover: both buttons turn the logo bronze used by the active menu item */
.btn--solid:hover,.btn--ghost:hover,
.btn--solid:focus-visible,.btn--ghost:focus-visible{
  background:var(--accent);border-color:var(--accent);color:var(--on-dark);
}
.btn-row{display:flex;gap:16px;flex-wrap:wrap;margin-top:clamp(24px,4vw,36px);}
.media{
  aspect-ratio:4/5;overflow:hidden;border-radius:var(--radius-lg);
  background:var(--bg-alt);border:1px solid var(--line);
}
.media img{width:100%;height:100%;object-fit:cover;}
.media--wide{aspect-ratio:4/3;border:0;}
.media--portrait{aspect-ratio:3/4;border:0;}
.media--landscape{aspect-ratio:3/2;border:0;}
.media--hero{aspect-ratio:4/3;border:0;}
.placeholder{
  display:flex;align-items:center;justify-content:center;text-align:center;
  padding:24px;font-family:ui-monospace,monospace;font-size:13px;color:var(--ink-mute);
  background:repeating-linear-gradient(135deg,oklch(94% .006 75) 0 14px,oklch(97% .006 75) 14px 28px);
}
/* practice tiles — frameless, centred, icon above the name.
   flex rather than grid so the short trailing row centres itself */
.practice-grid{
  --pg-gap:clamp(18px,2.4vw,28px);
  display:flex;flex-wrap:wrap;justify-content:center;gap:var(--pg-gap);
}
.practice-tile{
  flex:0 1 calc((100% - 2*var(--pg-gap))/3);
  display:flex;flex-direction:column;align-items:center;text-align:center;
  padding:26px 18px;color:var(--ink);
  border-top:2px solid var(--line);transition:border-color .2s,transform .2s;
}
.practice-icon{width:30px;height:30px;color:var(--accent);margin-bottom:14px;}
.practice-tile h3{margin:0;font-size:18px;}
.practice-tile:hover{border-top-color:var(--accent);color:var(--ink);transform:translateY(-3px);}
.service-block{border-top:2px solid var(--accent);padding-top:22px;}
/* arriving from a homepage tile: a brief tint marks the area that was clicked */
.service-block:target{
  border-top-width:4px;padding:20px 18px 18px;margin-inline:-18px;
  border-radius:0 0 var(--radius) var(--radius);
  animation:target-tint 2.8s ease-out forwards;
}
@keyframes target-tint{from{background:oklch(93% .035 68);}to{background:transparent;}}
.service-block h2{font-size:clamp(20px,2.4vw,24px);margin-bottom:10px;}
.service-block h3{margin-bottom:10px;}
.service-block p{font-size:15.5px;line-height:1.7;color:var(--ink-soft);}
.person{display:block;text-decoration:none;}
.person h3{margin:0 0 4px;color:var(--ink);}
.person .role{font-size:14px;color:var(--ink-mute);}
.person .media{margin-bottom:18px;}
.people-grid{max-width:860px;margin-inline:auto;}
.case{border-top:2px solid var(--accent);padding-top:22px;}
.case h3{font-size:18px;margin-bottom:10px;}
.case p{font-size:15px;line-height:1.7;color:var(--ink-soft);}
.contact-links{display:flex;gap:14px;flex-wrap:wrap;align-items:center;margin-top:20px;}
.chip{
  display:inline-flex;align-items:center;gap:8px;
  border:1px solid var(--line);border-radius:var(--radius);padding:9px 14px;
  font-size:14px;font-weight:600;color:var(--ink);background:var(--bg);
}
.chip:hover{border-color:var(--accent);color:var(--accent-dark);}
.chip svg{width:16px;height:16px;fill:currentColor;flex-shrink:0;}
.cta-photo{
  position:relative;overflow:hidden;isolation:isolate;
  min-height:clamp(320px,36vw,420px);
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;
  text-align:center;padding:64px var(--gutter);
}
.cta-photo-img{
  position:absolute;inset:0;z-index:-2;width:100%;height:100%;
  /* keep the Palace of Justice and the surrounding blocks in frame
     rather than the sky and Vitosha */
  object-fit:cover;object-position:64% 62%;
}
.cta-photo::before{content:"";position:absolute;inset:0;z-index:-1;background:rgba(18,22,34,.62);}
.cta-photo h2{font-size:clamp(26px,3.6vw,36px);color:var(--on-dark);}
.cta-photo a{font-size:clamp(17px,2.2vw,20px);font-weight:600;color:var(--accent-soft);}
.cta-photo a:hover{color:oklch(85% .08 74);}
.detail{border-top:1px solid var(--line);padding-top:22px;}
.detail .label{
  font-size:13px;letter-spacing:1px;text-transform:uppercase;
  color:var(--accent);font-weight:600;margin-bottom:10px;
}
.detail p,.detail a{font-size:17px;line-height:1.6;color:var(--ink);font-weight:600;}
.detail p{font-weight:400;}
.stack{display:flex;flex-direction:column;gap:28px;}
/* contact page — form first and wide, details in a narrow column beside it,
   map below; sized so both columns fit above the fold on a laptop */
.page-head--compact{padding-block:clamp(20px,3vw,32px) clamp(14px,2vw,20px);}
.contact-layout{
  display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);
  gap:clamp(32px,5vw,72px);align-items:start;
}
.contact-form{background:var(--bg-alt);border-radius:var(--radius-lg);padding:clamp(22px,3vw,32px);}
.contact-form-title{
  font-family:var(--sans);font-size:13px;letter-spacing:2px;text-transform:uppercase;
  color:var(--accent);font-weight:600;margin-bottom:16px;
}
.contact-form .form{gap:14px;}
.contact-form .field textarea{min-height:96px;}
.form-actions{display:flex;align-items:center;gap:20px;}
/* reCAPTCHA: Google's floating badge is replaced by the required text notice
   under the form (.recaptcha-note), as Google's terms allow */
.grecaptcha-badge{visibility:hidden;}
.recaptcha-note{margin-top:2px;}
[data-recaptcha-prompt] .notice{margin:0;}
[data-recaptcha-prompt] .btn{margin-top:12px;}
.form-actions .btn{flex-shrink:0;}
.contact-form .notice{margin-bottom:14px;}
.field-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:16px;}
.contact-aside.stack{gap:20px;}
.contact-aside .detail{padding-top:16px;}
.contact-aside .detail p,.contact-aside .detail a{font-size:16px;}
.contact-map{padding-block:clamp(40px,6vw,64px) clamp(52px,8vw,96px);}
/* forms */
.form{display:flex;flex-direction:column;gap:16px;}
.field label{display:block;font-size:14px;font-weight:600;margin-bottom:6px;}
.field input,.field textarea{
  width:100%;font:inherit;font-size:15px;color:var(--ink);
  padding:11px 13px;border:1px solid var(--line);border-radius:var(--radius);background:var(--bg);
}
.field textarea{min-height:140px;resize:vertical;}
.form .hp{position:absolute;left:-9999px;}
.form-note{font-size:13px;color:var(--ink-mute);}
.check{display:flex;align-items:flex-start;gap:10px;font-size:14px;line-height:1.55;color:var(--ink-soft);cursor:pointer;}
.check input{flex-shrink:0;width:17px;height:17px;margin:2px 0 0;accent-color:var(--accent);}
.notice{padding:14px 16px;border-radius:var(--radius);font-size:15px;border:1px solid var(--line);}
.notice--ok{border-color:var(--accent);background:oklch(95% .025 68);}
.notice--err{border-color:oklch(55% .15 25);background:oklch(96% .03 25);}
/* click-to-load map */
.map{position:relative;aspect-ratio:4/3;border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden;background:var(--bg-alt);}
.map iframe{width:100%;height:100%;border:0;display:block;}
.map-consent{
  position:absolute;inset:0;display:flex;flex-direction:column;
  align-items:center;justify-content:center;gap:14px;text-align:center;padding:24px;
  background:repeating-linear-gradient(135deg,oklch(94% .006 75) 0 14px,oklch(97% .006 75) 14px 28px);
}
.map-consent p{font-size:14px;color:var(--ink-mute);max-width:42ch;}
.map--sm{aspect-ratio:16/9;}
.map--wide{aspect-ratio:21/8;}
/* faq */
.faq{max-width:820px;}
.faq-item{border-top:1px solid var(--line);padding:22px 0;}
.faq-item:last-child{border-bottom:1px solid var(--line);}
.faq-item h2{font-size:clamp(17px,2vw,19px);margin-bottom:10px;}
.faq-item p{font-size:16px;line-height:1.8;color:var(--ink-soft);}
.empty-state{border:1px dashed var(--line);border-radius:var(--radius-lg);padding:clamp(32px,6vw,56px);text-align:center;}
.empty-state p{color:var(--ink-mute);font-size:16px;}
/* legal texts (privacy, cookies) */
.legal{max-width:820px;}
.legal h2{font-size:clamp(19px,2.2vw,23px);margin:40px 0 14px;}
.legal h3{font-size:clamp(17px,2vw,19px);margin:30px 0 12px;}
.legal > :first-child{margin-top:0;}
.legal ul{margin:0 0 22px;padding-left:22px;}
.legal li{font-size:16px;line-height:1.8;color:var(--ink-soft);margin-bottom:6px;}
.legal strong{color:var(--ink);font-weight:600;}
.legal .legal-note{margin-top:40px;padding-top:22px;border-top:1px solid var(--line);font-style:italic;color:var(--ink-mute);}

/* ---------- 6. footer ---------- */
.site-footer{background:var(--dark);color:var(--on-dark-mute);padding:clamp(44px,6vw,64px) 0 28px;}
.footer-grid{
  display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:clamp(28px,4vw,48px);
  padding-bottom:36px;border-bottom:1px solid oklch(35% .02 258);
}
.footer-brand{display:inline-block;}
.footer-logo{height:64px;width:auto;}
.footer-head{
  font-size:13px;letter-spacing:1px;text-transform:uppercase;
  color:var(--on-dark);margin-bottom:16px;
}
.footer-links{display:flex;flex-direction:column;gap:10px;font-size:14px;}
.site-footer a{color:var(--on-dark-mute);}
.site-footer a:hover{color:var(--on-dark);}
.social{display:flex;gap:12px;margin-top:14px;}
.social a{
  display:inline-flex;align-items:center;justify-content:center;
  width:34px;height:34px;border:1px solid oklch(40% .02 258);border-radius:var(--radius);
}
.social a:hover{border-color:var(--accent-soft);}
.social svg{width:17px;height:17px;fill:currentColor;}
.footer-bottom{padding-top:22px;font-size:13px;color:oklch(55% .02 258);display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;}
.footer-bottom a{color:oklch(55% .02 258);}
/* "Cookie settings" reopens the consent banner — a button styled as a footer
   link; hidden without JS, where there is no banner to reopen */
.footer-linkbtn{
  display:none;font:inherit;font-size:14px;text-align:left;cursor:pointer;
  background:none;border:0;padding:0;color:var(--on-dark-mute);
}
.js .footer-linkbtn{display:block;}
.footer-linkbtn:hover{color:var(--on-dark);}

/* cookie consent banner — floats over the bottom of the page until a choice
   is made; refusing and accepting carry equal weight, as consent rules
   require. The per-category checkboxes are folded away until asked for. */
.consent{
  position:fixed;left:16px;right:16px;bottom:16px;z-index:60;
  max-width:980px;max-height:calc(100vh - 32px);overflow-y:auto;margin-inline:auto;
  background:var(--dark);color:var(--on-dark-mute);
  border-radius:var(--radius-lg);box-shadow:0 12px 40px oklch(23% .018 258 / .28);
}
.consent[hidden]{display:none;}
.consent-inner{display:flex;flex-direction:column;gap:clamp(14px,2vw,18px);padding:clamp(18px,2.5vw,24px) clamp(20px,3vw,30px);}
.consent-title{color:var(--on-dark);font-weight:700;font-size:15.5px;margin-bottom:6px;}
.consent-text p{font-size:14px;line-height:1.6;}
.consent-text a,.consent-settings{color:var(--accent-soft);text-decoration:underline;}
.consent-text a:hover,.consent-settings:hover{color:var(--on-dark);}
.consent-settings{background:none;border:0;padding:0;margin-top:8px;font:inherit;font-size:14px;cursor:pointer;}
.consent-options{display:grid;grid-template-columns:repeat(2,1fr);gap:12px 28px;margin-top:14px;padding-top:14px;border-top:1px solid oklch(98% .006 75 / .16);}
.consent-options[hidden],.consent-actions .btn[hidden]{display:none;}
.consent-opt{display:flex;align-items:flex-start;gap:10px;font-size:13.5px;line-height:1.55;cursor:pointer;}
.consent-opt input{flex-shrink:0;width:17px;height:17px;margin:2px 0 0;accent-color:var(--accent);}
.consent-opt strong{display:block;color:var(--on-dark);font-weight:600;font-size:14px;}
.consent-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:12px;}
.consent-actions .btn{min-width:124px;text-align:center;padding:12px 22px;}
/* on the dark card the ghost button needs light lines */
.consent .btn--ghost{border-color:var(--on-dark-mute);color:var(--on-dark);}
.consent .btn--solid{background:var(--on-dark);color:var(--ink);}
.consent .btn:hover,.consent .btn:focus-visible{background:var(--accent);border-color:var(--accent);color:var(--on-dark);}

/* ---------- 7. responsive ---------- */
/* header: logo + 8 nav items + phone + language need ~1420px at full size.
   First tighten everything a notch, then hand over to the burger. */
@media (max-width:1439px){
  :root{--logo-h:64px;--header-h:93px;}
  .site-header.is-scrolled{--logo-h:50px;}
  .brand{margin-right:0;}
  .header-inner{gap:14px;}
  .nav-list{gap:13px;font-size:14px;}
  .header-aside{gap:12px;}
  .header-phone{font-size:13.5px;}
}
@media (max-width:1279px){
  :root{--logo-h:56px;--header-h:82px;}
  .site-header.is-scrolled{--logo-h:44px;}
  .brand{order:1;}
  /* margin-left:auto keeps the language chip next to the burger instead of
     letting space-between strand it in the middle of the bar */
  .header-aside{order:2;margin-left:auto;}
  .nav-toggle{display:block;order:3;}
  .nav{order:4;flex-basis:100%;}
  .js .nav-list{display:none;}
  .js .nav[data-open="true"] .nav-list{display:flex;}
  .nav-list{
    flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0;
    padding:8px 0 14px;border-top:1px solid var(--line);margin-top:12px;
  }
  .nav-list>li>a{display:flex;align-items:flex-start;width:100%;padding:11px 2px;font-size:16px;}
  .header-inner{flex-wrap:wrap;padding-block:12px;}
}
@media (max-width:1040px){
  .footer-grid{grid-template-columns:1fr 1fr;}
}
@media (max-width:960px){
  .hero,.split{grid-template-columns:1fr;}
  .hero .media,.split .media{order:-1;max-height:56vh;}
  .grid--3{grid-template-columns:repeat(2,1fr);}
  /* the three values never split 2+1 inside the band — the empty quadrant reads
     as a mistake against the photo, so they stay three-up until they no longer fit */
  .band .grid--3{grid-template-columns:repeat(3,minmax(0,1fr));}
  .practice-tile{flex-basis:calc((100% - var(--pg-gap))/2);}
  .prose--rail .prose-inner{border-inline:0;padding-inline:0;}
  .contact-layout{grid-template-columns:1fr;}
  .map--wide{aspect-ratio:4/3;}
}
@media (max-width:780px){
  .band .grid--3{grid-template-columns:1fr;gap:clamp(24px,4vw,34px);}
}
@media (max-width:640px){
  .grid--2,.grid--3{grid-template-columns:1fr;}
  .practice-tile{flex-basis:100%;}
  .footer-grid{grid-template-columns:1fr;}
  .btn{display:block;text-align:center;}
  .btn-row{flex-direction:column;align-items:stretch;}
  .people-grid{gap:36px;}
  .field-row{grid-template-columns:1fr;}
  .form-actions{flex-direction:column;align-items:stretch;}
  .consent{left:8px;right:8px;bottom:8px;max-height:calc(100vh - 16px);}
  .consent-options{grid-template-columns:1fr;}
  .consent-actions .btn{flex:1 1 130px;min-width:0;}
  :root{--logo-h:46px;--header-h:72px;}
  .site-header.is-scrolled{--logo-h:40px;}
  .header-phone{display:none;}
}
@media (prefers-reduced-motion:reduce){
  *{animation-duration:.01ms !important;transition-duration:.01ms !important;}
  @view-transition{navigation:none;}
}
