/* =============================================================
   Dr. Neusinger & Neusinger – Rechtsanwälte
   Shared stylesheet · plain CSS, no framework
   Brand: blue #008CBA on white, Lato
   ============================================================= */

/* ---------- Fonts (self-hosted, DSGVO-clean) ---------- */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../assets/fonts/lato-v23-latin-ext_latin-300.woff2') format('woff2'),
       url('../assets/fonts/lato-v23-latin-ext_latin-300.woff') format('woff');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/lato-v23-latin-ext_latin-regular.woff2') format('woff2'),
       url('../assets/fonts/lato-v23-latin-ext_latin-regular.woff') format('woff');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/lato-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('../assets/fonts/lato-latin-900-normal.woff2') format('woff2');
}

/* ---------- Design tokens ---------- */
:root {
  --blue: #008CBA;
  --blue-dark: #007095;
  --blue-darker: #005f80;
  --blue-tint: #e8f4f9;
  --ink: #333333;
  --ink-soft: #5e5e5e;
  --muted: #767474;
  --line: #dddddd;
  --line-soft: #eeeeee;
  --bg: #ffffff;
  --bg-alt: #fafafa;
  --bg-alt2: #f2f6f8;
  --white: #ffffff;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 6px 20px rgba(0,0,0,.08);
  --shadow-lg: 0 18px 48px rgba(0,0,0,.14);
  --maxw: 1160px;
  --maxw-narrow: 820px;
  --header-h: 74px;
  --ease: cubic-bezier(.2,.7,.3,1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  margin: 0;
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-dark); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: var(--blue-darker); }
h1, h2, h3, h4 { line-height: 1.18; color: var(--ink); margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 900; letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }
strong { font-weight: 700; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 3px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: var(--maxw-narrow); }
.section { padding: clamp(48px, 7vw, 96px) 0; }
.section--alt { background: var(--bg-alt); }
.section--tint { background: var(--bg-alt2); }
.lead { font-size: 1.18rem; color: var(--ink-soft); font-weight: 300; }
.center { text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue); margin-bottom: .75rem;
}
.section-head { max-width: 760px; margin: 0 auto clamp(32px, 5vw, 56px); }
.section-head.left { margin-left: 0; text-align: left; }

/* ---------- Password gate (client-side deterrent) ---------- */
html.locked body { overflow: hidden; visibility: hidden; }
#site-gate {
  position: fixed; inset: 0; z-index: 9999; display: none;
  align-items: center; justify-content: center; padding: 24px;
  background: linear-gradient(135deg, #0a2834, #007095);
  visibility: visible;
}
html.locked #site-gate { display: flex; }
.gate-card {
  width: 100%; max-width: 390px; background: #fff; border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0,0,0,.35); padding: 38px 30px; text-align: center;
}
.gate-card h1 { font-size: 1.35rem; margin: 0 0 8px; }
.gate-card p { color: var(--ink-soft); font-size: .95rem; margin: 0 0 22px; }
.gate-card form { display: flex; flex-direction: column; gap: 12px; }
.gate-card input {
  font: inherit; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px;
  text-align: center; letter-spacing: .04em; color: var(--ink);
}
.gate-card input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,140,186,.15); }
.gate-card button { width: 100%; justify-content: center; }
.gate-err { color: #c53019; font-size: .88rem; min-height: 1.2em; margin: 4px 0 0; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--blue-dark); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color:#fff; }

/* ---------- Notice bar ---------- */
.notice-bar {
  background: var(--blue-darker); color: #fff; font-size: .92rem;
  padding: 10px 0;
}
.notice-bar .container { display: flex; align-items: center; gap: 16px; }
.notice-bar p { margin: 0; }
.notice-bar strong { font-weight: 700; }
.notice-bar__close {
  margin-left: auto; flex: none; background: transparent; border: 1px solid rgba(255,255,255,.5);
  color: #fff; width: 28px; height: 28px; border-radius: 50%; cursor: pointer; font-size: 1rem;
  line-height: 1; transition: background .18s var(--ease);
}
.notice-bar__close:hover { background: rgba(255,255,255,.18); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.nav {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand img { height: 40px; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.12; }
.brand__name { font-weight: 800; font-size: .98rem; color: var(--ink); letter-spacing: -.01em; }
.brand__tag { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.nav-menu { display: flex; align-items: center; gap: 1px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  position: relative; display: block; padding: 8px 13px; color: var(--ink);
  font-weight: 600; font-size: .9rem; letter-spacing: .005em; border-radius: 6px;
  transition: color .18s var(--ease);
}
/* Elegant animated underline instead of boxy pills */
.nav-menu > li > a:not(.nav-cta)::before {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 7px; height: 2px;
  background: var(--blue); border-radius: 2px; transform: scaleX(0); transform-origin: center;
  transition: transform .24s var(--ease);
}
.nav-menu > li > a:not(.nav-cta):hover,
.nav-menu > li.is-current > a:not(.nav-cta) { color: var(--blue-dark); }
.nav-menu > li > a:not(.nav-cta):hover::before,
.nav-menu > li.is-current > a:not(.nav-cta)::before { transform: scaleX(1); }
.nav-menu > li.has-dropdown > a { padding-right: 28px; }
.has-dropdown > a::after {
  content: ""; position: absolute; right: 12px; top: 50%; width: .36em; height: .36em;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-70%) rotate(45deg); opacity: .5; transition: transform .2s var(--ease);
}
.has-dropdown:hover > a::after, .has-dropdown:focus-within > a::after {
  transform: translateY(-30%) rotate(45deg); opacity: .8;
}

/* Dropdown */
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 250px;
  background: #fff; border: 1px solid var(--line-soft); border-radius: 12px;
  box-shadow: var(--shadow-md); padding: 8px; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown,
.has-dropdown.open > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a {
  display: block; padding: 9px 14px; border-radius: 8px; color: var(--ink); font-size: .93rem;
  font-weight: 400;
}
.dropdown li a:hover { background: var(--blue-tint); color: var(--blue-dark); }

/* Header CTA */
.nav-cta {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue); color: #fff; padding: 9px 18px; border-radius: 999px;
  font-weight: 700; font-size: .87rem; margin-left: 10px;
  box-shadow: 0 2px 8px rgba(0,140,186,.22); transition: .2s var(--ease);
}
.nav-cta:hover { background: var(--blue-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,140,186,.30); }

/* Hamburger */
.nav-toggle {
  display: none; flex: none; width: 46px; height: 46px; border: 1px solid var(--line);
  background: #fff; border-radius: 10px; cursor: pointer; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 2px;
  background: var(--ink); transform: translate(-50%, -50%); transition: .22s var(--ease);
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after  { top: 7px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { top: 0; transform: translate(-50%,-50%) rotate(45deg); }
body.nav-open .nav-toggle span::after  { top: 0; transform: translate(-50%,-50%) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: clamp(340px, 52vh, 520px);
  display: flex; align-items: flex-end;
  background-color: #0a2834;            /* fallback until image paints */
  background-size: cover; background-position: center;
  color: #fff;
}
/* Per-page hero images (paths are relative to this stylesheet) */
.hero--top_neusinger  { background-image: url('../assets/img/1920/top_neusinger.jpg'); }
.hero--top_anwaelte   { background-image: url('../assets/img/1920/top_anwaelte.jpg'); }
.hero--top_taetigkeit { background-image: url('../assets/img/1920/top_taetigkeit.jpg'); }
.hero--top_aktuell    { background-image: url('../assets/img/1920/top_aktuell.jpg'); }
.hero--top_kontakt    { background-image: url('../assets/img/1920/top_kontakt.jpg'); }
.hero--top_downloads  { background-image: url('../assets/img/1920/top_downloads.jpg'); }
/* Serve the lighter 640px images on phones */
@media (max-width: 640px) {
  .hero--top_neusinger  { background-image: url('../assets/img/640/top_neusinger.jpg'); }
  .hero--top_anwaelte   { background-image: url('../assets/img/640/top_anwaelte.jpg'); }
  .hero--top_taetigkeit { background-image: url('../assets/img/640/top_taetigkeit.jpg'); }
  .hero--top_aktuell    { background-image: url('../assets/img/640/top_aktuell.jpg'); }
  .hero--top_kontakt    { background-image: url('../assets/img/640/top_kontakt.jpg'); }
  .hero--top_downloads  { background-image: url('../assets/img/640/top_downloads.jpg'); }
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,60,82,.28) 0%, rgba(0,60,82,.30) 40%, rgba(0,45,62,.78) 100%);
}
.hero__inner { position: relative; z-index: 2; padding-bottom: clamp(36px, 6vw, 64px); padding-top: 60px; }
.hero h1 { color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.35); max-width: 16ch; }
.hero__sub { font-size: 1.15rem; font-weight: 300; max-width: 52ch; color: rgba(255,255,255,.94); text-shadow: 0 1px 10px rgba(0,0,0,.35); margin: 0; }
.hero--tall { min-height: clamp(440px, 70vh, 640px); align-items: center; }
.breadcrumb { position: relative; z-index: 2; font-size: .85rem; color: rgba(255,255,255,.85); margin-bottom: 14px; }
.breadcrumb a { color: rgba(255,255,255,.9); }
.breadcrumb a:hover { color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
  font-weight: 700; font-size: 1rem; padding: 13px 26px; border-radius: 999px;
  border: 2px solid transparent; transition: .2s var(--ease); text-align: center;
}
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: rgba(255,255,255,.14); color: #fff; }
.btn--outline { background: transparent; color: var(--blue-dark); border-color: var(--blue); }
.btn--outline:hover { background: var(--blue); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Prose ---------- */
.prose p { margin-bottom: 1.15em; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; color: var(--blue-dark); }
.prose ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Feature grid (home) ---------- */
.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.feature {
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow-sm); transition: .22s var(--ease);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d6e7ef; }
.feature__icon {
  width: 52px; height: 52px; border-radius: 12px; background: var(--blue-tint); color: var(--blue-dark);
  display: grid; place-items: center; margin-bottom: 18px;
}
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { margin-bottom: .35em; }
.feature p { margin: 0; color: var(--ink-soft); font-size: .97rem; }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; height: 100%; object-fit: cover; max-height: 460px; }
.split__body h2 { margin-top: 0; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center; }
.stat__num { font-size: 2.4rem; font-weight: 900; color: var(--blue); line-height: 1; }
.stat__label { color: var(--ink-soft); font-size: .95rem; margin-top: 6px; }

/* ---------- Practice cards ---------- */
.pa-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pa-card {
  display: flex; flex-direction: column; gap: 12px; background: #fff;
  border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow-sm); transition: .22s var(--ease); color: var(--ink);
}
.pa-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cfe4ee; color: var(--ink); }
.pa-card__icon { width: 44px; height: 44px; border-radius: 10px; background: var(--blue-tint); color: var(--blue-dark); display: grid; place-items: center; }
.pa-card__icon svg { width: 24px; height: 24px; }
.pa-card h3 { font-size: 1.1rem; margin: 0; }
.pa-card__more { margin-top: auto; font-weight: 700; color: var(--blue-dark); font-size: .9rem; }
.pa-card__more::after { content: " →"; }

/* ---------- Practice detail sections ---------- */
.pa-detail { scroll-margin-top: calc(var(--header-h) + 30px); border-top: 1px solid var(--line-soft); padding: clamp(40px,6vw,72px) 0; }
.pa-detail:first-of-type { border-top: 0; }
.pa-detail__head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.pa-detail__head .pa-card__icon { width: 52px; height: 52px; }
.pa-detail__head h2 { margin: 0; }
.pa-contact { margin-top: 8px; font-size: .97rem; background: var(--blue-tint); border-radius: 8px; padding: 12px 16px; display: inline-block; }
.pa-contact strong { color: var(--blue-darker); }
.back-to-top { display: inline-block; margin-top: 14px; font-size: .85rem; font-weight: 700; }

/* ---------- Lawyer profiles ---------- */
.lawyer { scroll-margin-top: calc(var(--header-h) + 30px); }
.lawyer__top { display: grid; grid-template-columns: 380px 1fr; gap: clamp(28px,4vw,52px); align-items: start; }
.lawyer__photo img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; }
#martina .lawyer__photo img { object-position: 56% center; }
#ulrich .lawyer__photo img { object-position: 60% center; }
.lawyer__name { margin: 0 0 4px; }
.lawyer__role { color: var(--blue-dark); font-weight: 700; font-size: 1.1rem; margin: 0 0 4px; }
.lawyer__spec { color: var(--muted); font-weight: 700; margin: 0 0 18px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; }
.tag-list li { background: var(--blue-tint); color: var(--blue-darker); font-size: .85rem; font-weight: 700; padding: 6px 13px; border-radius: 999px; }
.memberships { list-style: none; padding: 0; margin: 0 0 12px; }
.memberships li { position: relative; padding-left: 22px; margin-bottom: 6px; color: var(--ink-soft); }
.memberships li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }

/* Timeline */
.timeline { position: relative; margin: 8px 0 0; padding: 0 0 0 28px; list-style: none; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 22px 4px; }
.timeline li::before { content: ""; position: absolute; left: -35px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); }
.timeline .year { font-weight: 900; color: var(--blue-dark); display: block; font-size: .95rem; }
.timeline .what { color: var(--ink-soft); }

.pub-list { columns: 1; list-style: none; padding: 0; margin: 0; }
.pub-list li { padding: 10px 0; border-bottom: 1px solid var(--line-soft); color: var(--ink-soft); font-size: .96rem; }

.divider { height: 1px; background: var(--line-soft); border: 0; margin: clamp(48px,7vw,80px) 0; }

/* ---------- Articles (Aktuell) ---------- */
.article { scroll-margin-top: calc(var(--header-h) + 30px); background:#fff; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: clamp(26px,4vw,44px); box-shadow: var(--shadow-sm); margin-bottom: 32px; }
.article__cat { display:inline-block; background: var(--blue); color:#fff; font-size:.75rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; padding:5px 12px; border-radius:999px; margin-bottom:14px; }
.article h2 { font-size: clamp(1.3rem,2.5vw,1.7rem); }
.article p { color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,5vw,56px); align-items: start; }
.info-card { background:#fff; border:1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.info-row { display:flex; gap:14px; padding: 14px 0; border-bottom:1px solid var(--line-soft); }
.info-row:last-child { border-bottom: 0; }
.info-row__icon { flex:none; width:40px; height:40px; border-radius:10px; background:var(--blue-tint); color:var(--blue-dark); display:grid; place-items:center; }
.info-row__icon svg { width:20px; height:20px; }
.info-row__label { font-size:.78rem; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); font-weight:700; }
.info-row__val { font-weight:700; color: var(--ink); }
.info-row__val a { color: var(--ink); }
.info-row__val a:hover { color: var(--blue-dark); }

.hours-table { width:100%; border-collapse: collapse; margin-top: 6px; }
.hours-table th, .hours-table td { text-align:left; padding:8px 0; border-bottom:1px solid var(--line-soft); vertical-align: top; }
.hours-table th { width: 120px; color: var(--ink); font-weight:700; }
.hours-table td { color: var(--ink-soft); }
.hours-note { color: var(--muted); font-style: italic; margin-top: 10px; font-size:.92rem; }

/* Form */
.form { background:#fff; border:1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.form__note { font-size:.92rem; color: var(--ink-soft); }
.field { margin-bottom: 18px; }
.field label { display:block; font-weight:700; margin-bottom:6px; font-size:.95rem; }
.field .req { color: var(--blue); }
.field input, .field textarea {
  width:100%; font: inherit; color: var(--ink); padding: 12px 14px;
  border:1px solid var(--line); border-radius: 10px; background:#fff; transition:.18s var(--ease);
}
.field input:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,140,186,.15); outline:none; }
.field textarea { min-height: 140px; resize: vertical; }
.field.invalid input, .field.invalid textarea { border-color:#f04124; box-shadow:0 0 0 3px rgba(240,65,36,.13); }
.field__err { color:#c53019; font-size:.85rem; margin-top:5px; display:none; }
.field.invalid .field__err { display:block; }
.consent { display:flex; gap:10px; align-items:flex-start; font-size:.9rem; color:var(--ink-soft); }
.consent input { width:auto; margin-top:4px; flex:none; }
.form__status { margin-top:14px; font-size:.92rem; }

.map-embed { margin-top: 40px; }
.map-embed iframe, .map-link-card { width:100%; border:0; border-radius: var(--radius-lg); }
.map-link-card { display:block; background: var(--blue-tint); border:1px solid #cfe4ee; padding: 22px; text-align:center; font-weight:700; color: var(--blue-darker); }
.map-link-card:hover { background:#dcecf4; color: var(--blue-darker); }

/* ---------- Downloads ---------- */
.dl-list { display:grid; grid-template-columns: repeat(2,1fr); gap: 18px; list-style:none; padding:0; margin:0; }
.dl-item {
  display:flex; align-items:center; gap:16px; background:#fff; border:1px solid var(--line-soft);
  border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-sm);
  transition:.2s var(--ease); color: var(--ink);
}
.dl-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color:#cfe4ee; color: var(--ink); }
.dl-item__icon { flex:none; width:44px; height:44px; border-radius:10px; background:var(--blue-tint); color:var(--blue-dark); display:grid; place-items:center; }
.dl-item__icon svg { width:24px; height:24px; }
.dl-item__name { font-weight:700; }
.dl-item__meta { font-size:.82rem; color:var(--muted); }
.dl-item__arrow { margin-left:auto; color: var(--blue); font-size:1.3rem; }

.empty-state { text-align:center; padding: clamp(40px,7vw,80px) 24px; background: var(--bg-alt); border-radius: var(--radius-lg); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--blue-dark), var(--blue-darker)); color:#fff; border-radius: var(--radius-lg); padding: clamp(36px,6vw,64px); text-align:center; }
.cta-band h2 { color:#fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 60ch; margin: 0 auto 26px; }

/* ---------- Footer ---------- */
.site-footer { background: #10333f; color: rgba(255,255,255,.82); padding: clamp(48px,6vw,72px) 0 28px; margin-top: 0; }
.footer-grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color:#fff; font-size: .95rem; letter-spacing:.08em; text-transform:uppercase; margin-bottom: 16px; }
.site-footer a { color: rgba(255,255,255,.82); }
.site-footer a:hover { color:#fff; }
.footer-brand .brand__name { color:#fff; }
.footer-brand .brand__tag { color: rgba(255,255,255,.6); }
.footer-brand img { height: 40px; width: auto; background:#fff; padding:8px 12px; border-radius:8px; margin-bottom:14px; }
.footer-list { list-style:none; padding:0; margin:0; }
.footer-list li { margin-bottom: 10px; }
.footer-contact p { margin: 0 0 6px; }
.footer-notice { background: rgba(255,255,255,.06); border-left: 3px solid var(--blue); padding: 12px 16px; border-radius: 6px; font-size:.9rem; margin-top: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 22px; display:flex; flex-wrap:wrap; gap: 8px 24px; align-items:center; justify-content:space-between; font-size:.85rem; color: rgba(255,255,255,.6); }
.footer-bottom nav { display:flex; gap:20px; flex-wrap:wrap; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity:0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity:1; transform: none; }
/* Fail-safe: if JS never runs, content must still be visible */
.no-js .reveal { opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity:1; transform:none; transition:none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid--3, .grid--4, .pa-grid { grid-template-columns: repeat(2,1fr); }
  .lawyer__top { grid-template-columns: 1fr; }
  .lawyer__photo { max-width: 360px; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .stats { grid-template-columns: repeat(2,1fr); gap: 32px 24px; }
}
@media (max-width: 820px) {
  :root { --header-h: 64px; }

  /* backdrop-filter would make the header a containing block for the
     fixed drawer (clipping it to header height) — disable it on mobile */
  .site-header { backdrop-filter: none; background: #fff; }

  /* Hamburger sits above the open drawer and becomes the close (✕) */
  .nav-toggle { display: block; position: relative; z-index: 120; }
  /* Logo already contains the wordmark — drop the duplicate text, free space for the toggle */
  .brand__text { display: none; }
  .brand img { height: 38px; }
  /* CTA becomes a full-width button at the bottom of the drawer */
  .nav-menu > li > a.nav-cta {
    display: flex; justify-content: center; margin: 12px 0 0;
    padding: 14px 20px; font-size: 1rem;
  }

  /* Slide-in drawer: full height, own stacking above the page */
  .nav-menu {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: auto;
    width: min(86vw, 340px);
    z-index: 110;
    margin: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: calc(var(--header-h) + 18px) 16px 32px;
    box-shadow: var(--shadow-lg);
    border-left: 1px solid var(--line-soft);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    transform: translateX(100%);
    transition: transform .3s var(--ease);
  }
  body.nav-open .nav-menu { transform: translateX(0); }
  body.nav-open { overflow: hidden; }

  .nav-menu > li > a { padding: 14px 12px; border-radius: 8px; font-size: 1.02rem; }
  .nav-menu > li:not(:last-child) { border-bottom: 1px solid var(--line-soft); }
  .nav-menu > li > a:not(.nav-cta)::before { display: none; }
  .nav-menu > li > a:not(.nav-cta):hover,
  .nav-menu > li.is-current > a:not(.nav-cta) { background: var(--blue-tint); color: var(--blue-dark); }
  .nav-menu > li.has-dropdown > a { padding-right: 42px; }
  .has-dropdown > a::after { right: 16px; width: .42em; height: .42em; opacity: .6; }
  .has-dropdown.open > a::after { transform: translateY(-30%) rotate(-135deg); opacity: .9; }

  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: 0; border-left: 2px solid var(--blue-tint); border-radius: 0; margin: 0 0 6px 14px;
    padding: 0; max-height: 0; overflow: hidden; transition: max-height .28s var(--ease);
  }
  .has-dropdown.open > .dropdown { max-height: 720px; }
  .dropdown li a { padding: 11px 14px; font-size: .96rem; }

  /* Dimmed page behind the drawer (kept below the sticky header) */
  .nav-backdrop {
    position: fixed; inset: 0; background: rgba(10,40,52,.5);
    opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
    z-index: 90;
  }
  body.nav-open .nav-backdrop { opacity: 1; visibility: visible; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .grid--2, .grid--3, .grid--4, .pa-grid, .contact-grid, .dl-list, .footer-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .container { padding: 0 18px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
