/* Dr. Sara Mirzəyeva — style.css */

:root {
  --bg: #faf7f2;
  --bg-alt: #f3ece4;
  --surface: #ffffff;
  --ink: #1f1b18;
  --ink-2: #3a322e;
  --muted: #6b615b;
  --line: #e6ddd4;
  --line-strong: #d6c8bb;
  --accent: #8a5d51;
  --accent-hover: #74493e;
  --accent-soft: #f2e6df;
  --gold: #c6a27e;
  --gold-soft: #e9d9c6;
  --dark: #231c19;
  --dark-2: #2e2521;
  --on-dark: #f4ede6;
  --on-dark-muted: #b9aca3;

  --font-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", Roboto, Arial, sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(31, 27, 24, .05), 0 4px 14px rgba(31, 27, 24, .04);
  --shadow: 0 18px 40px -22px rgba(31, 27, 24, .28);
  --shadow-lg: 0 40px 80px -30px rgba(31, 27, 24, .35);

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 78px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --section-y: clamp(72px, 9vw, 128px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 24px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); text-wrap: balance; }
::selection { background: var(--gold-soft); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--dark); color: var(--on-dark); padding: 10px 18px; border-radius: 999px;
  font-size: .9rem; font-weight: 600; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Typography ---------- */
.display, .h1, .h2, h1, h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em; }
h1, .h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 1.02; }
h2, .h2 { font-size: clamp(2.05rem, 3.6vw, 3.1rem); line-height: 1.08; }
h3, .h3 { font-family: var(--font-body); font-size: 1.18rem; font-weight: 600; line-height: 1.35; letter-spacing: -.005em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.65; color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--muted); }
.text-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; color: var(--ink); font-size: .98rem;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size .35s var(--ease), color .2s;
  padding-bottom: 2px;
}
.text-link svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.text-link:hover { background-size: 100% 1px; color: var(--accent); }
.text-link:hover svg { transform: translateX(4px); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }
.section { padding-block: var(--section-y); position: relative; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding-block: clamp(56px, 7vw, 88px); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.section-head--split > div { max-width: 700px; }
.section-head p { margin-top: 18px; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--dark); --btn-fg: var(--on-dark);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 14px 28px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: .98rem; font-weight: 600; letter-spacing: .01em; line-height: 1.2;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s;
  box-shadow: 0 14px 30px -16px rgba(35, 28, 25, .55);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--accent); transform: translateY(101%); transition: transform .45s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 20px 36px -18px rgba(35, 28, 25, .6); }
.btn:hover::before { transform: translateY(0); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--block { width: 100%; }
.btn--light { --btn-bg: var(--on-dark); --btn-fg: var(--dark); }
.btn--light::before { background: var(--gold-soft); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 8px 18px; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--ink);
  font-size: .9rem; font-weight: 600;
  transition: border-color .25s, background-color .25s, color .25s;
}
.btn-ghost svg { width: 18px; height: 18px; }
.btn-ghost:hover { border-color: var(--ink); background: var(--surface); }

.icon-btn {
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-grid; place-items: center; color: var(--ink);
  border: 1px solid transparent; transition: background-color .25s, border-color .25s;
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { background: var(--surface); border-color: var(--line); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90; height: var(--header-h);
  background: rgba(250, 247, 242, .82);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -24px rgba(31, 27, 24, .5); background: rgba(250, 247, 242, .92); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; min-width: 0; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: var(--dark); color: #e3cbae;
  font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; letter-spacing: .02em;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.38rem; letter-spacing: -.005em; white-space: nowrap; }
.brand-role { font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 3px; white-space: nowrap; }

.main-nav > ul { list-style: none; display: flex; align-items: center; gap: 2px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 13px; border-radius: 999px; font-size: .92rem; font-weight: 500; color: var(--ink-2);
  transition: color .2s, background-color .2s; position: relative;
}
.nav-link svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.nav-link:hover { color: var(--ink); background: rgba(255, 255, 255, .7); }
.nav-link[aria-current="page"], .nav-link.is-active { color: var(--ink); }
.nav-link[aria-current="page"]::after, .nav-link.is-active::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 5px; height: 1px; background: var(--accent);
}
.has-dropdown { position: relative; }
.has-dropdown.is-open .nav-link svg { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; width: 320px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 10px; list-style: none;
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-dropdown.is-open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a { display: flex; flex-direction: column; padding: 10px 14px; border-radius: 12px; transition: background-color .2s; }
.dropdown a:hover, .dropdown a[aria-current="page"] { background: var(--bg); }
.dropdown strong { font-size: .92rem; font-weight: 600; }
.dropdown span { font-size: .8rem; color: var(--muted); line-height: 1.4; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.menu-toggle { display: none; }

/* ---------- Mobile navigation ---------- */
.mobile-nav {
  position: fixed; inset: 0; z-index: 120; display: flex; justify-content: flex-end;
  visibility: hidden; pointer-events: none;
}
.mobile-nav.is-open { visibility: visible; pointer-events: auto; }
.mobile-nav__backdrop { position: absolute; inset: 0; background: rgba(35, 28, 25, .42); opacity: 0; transition: opacity .35s var(--ease); }
.mobile-nav.is-open .mobile-nav__backdrop { opacity: 1; }
.mobile-nav__panel {
  position: relative; width: min(420px, 100%); height: 100%; background: var(--bg);
  display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(100%); transition: transform .45s var(--ease);
  padding: 18px var(--gutter) 32px;
}
.mobile-nav.is-open .mobile-nav__panel { transform: translateX(0); }
.mobile-nav__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.mobile-nav__list { list-style: none; border-top: 1px solid var(--line); }
.mobile-nav__list > li { border-bottom: 1px solid var(--line); }
.mobile-nav__list a, .mobile-nav__sub-toggle {
  display: flex; width: 100%; align-items: center; justify-content: space-between;
  padding: 16px 2px; font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; text-align: left;
}
.mobile-nav__list a[aria-current="page"] { color: var(--accent); }
.mobile-nav__sub-toggle svg { width: 20px; height: 20px; transition: transform .3s var(--ease); }
.mobile-nav__sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.mobile-nav__sub { list-style: none; overflow: hidden; transition: height .35s var(--ease); }
.mobile-nav__sub:not(.is-open) { height: 0; }
.mobile-nav__sub a { font-family: var(--font-body); font-size: 1rem; font-weight: 500; padding: 10px 2px 10px 14px; color: var(--ink-2); }
.mobile-nav__sub li:last-child a { padding-bottom: 18px; }
.mobile-nav__contact { margin-top: auto; padding-top: 28px; display: grid; gap: 10px; }
.mobile-nav__contact a { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: .98rem; }
.mobile-nav__contact svg { width: 20px; height: 20px; color: var(--accent); }

/* ---------- Home hero ---------- */
.hero { position: relative; padding-block: clamp(40px, 6vw, 88px) clamp(72px, 9vw, 120px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 780px; height: 780px; right: -220px; top: -260px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(233, 217, 198, .75), rgba(233, 217, 198, 0));
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.hero h1 { display: flex; flex-direction: column; gap: 6px; }
.hero h1 .h1-role { font-style: italic; font-weight: 500; color: var(--accent); font-size: .62em; line-height: 1.1; }
.hero .lead { margin-top: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin-top: 38px; }
.hero-facts { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: clamp(40px, 5vw, 60px); border-top: 1px solid var(--line); }
.hero-facts li { padding: 20px 18px 0 0; font-size: .86rem; line-height: 1.45; color: var(--muted); }
.hero-facts li + li { padding-left: 18px; border-left: 1px solid var(--line); }
.hero-facts strong { display: block; font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: var(--ink); line-height: 1.15; margin-bottom: 4px; }

.hero-media { position: relative; justify-self: end; width: min(100%, 480px); }
.arch {
  position: relative; border-radius: 999px 999px var(--radius-lg) var(--radius-lg); overflow: hidden;
  aspect-ratio: 522 / 700; background: var(--bg-alt); box-shadow: var(--shadow-lg);
}
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.hero-media::before {
  content: ""; position: absolute; inset: -18px 18px 18px -18px; border: 1px solid var(--gold);
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg); opacity: .8;
}
.quote-card blockquote { margin: 0; }
.quote-card figcaption { display: block; margin-top: 10px; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.quote-card {
  margin: 0; position: absolute; left: -44px; bottom: 44px; max-width: 260px;
  background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow);
}
.quote-card p { font-family: var(--font-display); font-size: 1.28rem; font-style: italic; line-height: 1.25; color: var(--ink); }
.quote-card span { display: block; margin-top: 10px; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 600; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; padding-block: clamp(32px, 5vw, 64px) clamp(56px, 7vw, 96px); overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}
.page-hero::before {
  content: ""; position: absolute; width: 620px; height: 620px; right: -180px; top: -300px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(233, 217, 198, .7), rgba(233, 217, 198, 0)); pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 4.2rem); max-width: 16ch; }
.page-hero .lead { margin-top: 22px; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.page-hero-media { justify-self: end; width: min(100%, 380px); }
.page-hero-media .frame { aspect-ratio: 4 / 5; }

.breadcrumbs { margin-bottom: clamp(28px, 4vw, 44px); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: .85rem; color: var(--muted); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 10px; }
.breadcrumbs li + li::before { content: ""; width: 5px; height: 5px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); opacity: .6; }
.breadcrumbs a { transition: color .2s; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs [aria-current="page"] { color: var(--ink); }

/* ---------- Media frames ---------- */
.frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-alt); box-shadow: var(--shadow); }
.frame picture, .arch picture { width: 100%; height: 100%; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--square { aspect-ratio: 1 / 1; }
.frame--soft { border-radius: 200px 200px var(--radius-lg) var(--radius-lg); }

/* ---------- Split sections ---------- */
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.split--reverse { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.split--reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media .frame { max-width: 470px; }
.split--reverse .split-media .frame { margin-left: auto; }
.split-media .badge-card {
  position: absolute; right: 0; bottom: 36px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow); max-width: 220px;
}
.split--reverse .split-media .badge-card { right: auto; left: 0; }
.badge-card strong { display: block; font-family: var(--font-display); font-size: 1.7rem; line-height: 1; font-weight: 600; }
.badge-card span { display: block; margin-top: 6px; font-size: .82rem; color: var(--muted); line-height: 1.4; }
.split-body .text-link { margin-top: 28px; }
.split-body > h2 { margin-bottom: 22px; }
.split-body > .timeline { margin-top: 34px; }

.split--faq { align-items: start; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); }
.split--faq .split-body { position: sticky; top: calc(var(--header-h) + 32px); }
.home-contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.home-contact h2 { margin-bottom: 16px; }

/* ---------- Info cards ---------- */
.info-grid { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.info-card { grid-column: span 2; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; }
.info-card:nth-child(4), .info-card:nth-child(5) { grid-column: span 3; }
.info-card__icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 18px; }
.info-card__icon svg { width: 22px; height: 22px; }
.info-card h3 { margin-bottom: 8px; }
.info-card p { font-size: .95rem; color: var(--muted); line-height: 1.65; }

.highlight-card { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; background: var(--dark); color: var(--on-dark-muted); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); position: relative; overflow: hidden; isolation: isolate; }
.highlight-card::after { content: ""; position: absolute; width: 320px; height: 320px; right: -120px; bottom: -160px; border-radius: 50%; background: radial-gradient(closest-side, rgba(198, 162, 126, .3), transparent); z-index: -1; }
.highlight-card > svg { width: 34px; height: 34px; color: #e3cbae; }
.highlight-card h2 { color: var(--on-dark); font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 12px; }
.highlight-card p { font-size: 1.02rem; }

.related-box { display: flex; align-items: center; gap: 18px; margin-top: 2em !important; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color .3s, box-shadow .3s; }
.related-box:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.related-box > svg { width: 26px; height: 26px; color: var(--accent); flex: none; }
.related-box span { display: block; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.related-box strong { display: block; color: var(--ink); font-weight: 600; line-height: 1.4; }
.prose a.related-box { text-decoration: none; color: inherit; }

/* ---------- Principles ---------- */
.principles { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: principle; }
.principle {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px 30px; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.principle:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.principle::before {
  counter-increment: principle; content: "0" counter(principle);
  display: block; font-family: var(--font-display); font-size: 2.3rem; font-weight: 500; line-height: 1; color: var(--gold); margin-bottom: 22px;
}
.principle h3 { margin-bottom: 10px; }
.principle p { font-size: .95rem; color: var(--muted); line-height: 1.65; }

/* ---------- Service cards ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service-card {
  position: relative; display: flex; flex-direction: column; min-height: 100%;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px 26px; overflow: hidden; isolation: isolate;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.service-card::after {
  content: ""; position: absolute; inset: auto -40% -60% auto; width: 240px; height: 240px; border-radius: 50%; z-index: -1;
  background: radial-gradient(closest-side, var(--accent-soft), transparent); opacity: 0; transition: opacity .45s var(--ease);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.service-card:hover::after { opacity: 1; }
.service-card__icon {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 26px;
}
.service-card__icon svg { width: 24px; height: 24px; }
.service-card h3 { font-family: var(--font-display); font-size: 1.62rem; font-weight: 600; line-height: 1.12; margin-bottom: 12px; }
.service-card p { font-size: .95rem; color: var(--muted); line-height: 1.65; margin-bottom: 24px; }
.service-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 600; color: var(--ink); }
.service-card__more svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.service-card:hover .service-card__more { color: var(--accent); }
.service-card:hover .service-card__more svg { transform: translateX(4px); }
.service-card--wide { grid-column: span 2; }
.service-card h3 a, .post-card h2 a, .post-card h3 a { color: inherit; }
.service-card h3 a:focus-visible, .post-card a:focus-visible, .news-card__link:focus-visible { outline: none; }
.service-card:focus-within, .post-card:focus-within, .news-card:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.card-link::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.service-card .facts-inline { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0 24px; }
.facts-inline li { font-size: .78rem; font-weight: 600; color: var(--ink-2); background: var(--bg); border: 1px solid var(--line); padding: 5px 12px; border-radius: 999px; }

/* ---------- Checklist ---------- */
.checklist { list-style: none; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; line-height: 1.6; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a5d51' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.checklist--compact li { font-size: .95rem; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; position: relative; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: var(--line-strong); }
.timeline li { position: relative; padding: 0 0 30px 44px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 15px; height: 15px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--accent); box-shadow: inset 0 0 0 3px var(--bg), inset 0 0 0 8px var(--accent);
}
.section--alt .timeline li::before { background: var(--bg-alt); box-shadow: inset 0 0 0 3px var(--bg-alt), inset 0 0 0 8px var(--accent); }
.timeline time, .timeline .t-date { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.timeline strong { display: block; font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; line-height: 1.2; }
.timeline p { margin-top: 4px; color: var(--muted); font-size: .95rem; }

/* ---------- Facts strip ---------- */
.facts { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(32px, 4vw, 48px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts li { padding: 20px 24px; display: flex; gap: 14px; align-items: flex-start; }
.facts li + li { border-left: 1px solid var(--line); }
.facts svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 3px; }
.facts span { display: block; font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.facts strong { display: block; font-size: 1.02rem; font-weight: 600; line-height: 1.35; margin-top: 2px; }

/* ---------- Accordion ---------- */
.accordion { border-top: 1px solid var(--line-strong); }
.acc-item { border-bottom: 1px solid var(--line-strong); }
.acc-item h3 { font-size: inherit; margin: 0; }
.acc-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; text-align: left;
  padding: 24px 2px; font-family: var(--font-body); font-size: 1.1rem; font-weight: 600; line-height: 1.4; color: var(--ink);
  transition: color .2s;
}
.acc-trigger:hover { color: var(--accent); }
.acc-icon { position: relative; width: 36px; height: 36px; flex: none; border-radius: 50%; border: 1px solid var(--line-strong); transition: background-color .3s, border-color .3s; }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .35s var(--ease); }
.acc-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-trigger[aria-expanded="true"] .acc-icon { background: var(--dark); border-color: var(--dark); color: var(--on-dark); }
.acc-trigger[aria-expanded="true"] .acc-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc-panel { overflow: hidden; transition: height .4s var(--ease); }
.js .acc-panel:not(.is-open) { height: 0; }
.acc-panel__inner { padding: 0 64px 26px 2px; color: var(--ink-2); max-width: 78ch; }
.faq-group + .faq-group { margin-top: clamp(48px, 6vw, 72px); }
.faq-group > h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin-bottom: 20px; }

/* ---------- Case cards (results) ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chip {
  min-height: 42px; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line-strong);
  font-size: .9rem; font-weight: 600; color: var(--ink-2); background: transparent;
  transition: background-color .25s, color .25s, border-color .25s;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--dark); border-color: var(--dark); color: var(--on-dark); }
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.case-card {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 26px 28px; transition: transform .45s var(--ease), box-shadow .45s var(--ease), opacity .3s;
}
.case-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.case-card__tag { align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 5px 12px; margin-bottom: 18px; }
.case-card h3, .case-card .h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; line-height: 1.15; margin-bottom: 10px; }
.case-card p { font-size: .95rem; color: var(--muted); line-height: 1.65; }
.case-card.is-hidden { display: none; }
.results-note { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 24px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.results-note p { color: var(--ink-2); max-width: 60ch; }

/* ---------- Media / news cards ---------- */
.news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.news-card {
  position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 30px 28px; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.news-card__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; font-size: .8rem; color: var(--muted); margin-bottom: 18px; }
.news-card__source { font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.news-card h3 { font-family: var(--font-display); font-size: 1.62rem; font-weight: 600; line-height: 1.18; margin-bottom: 12px; }
.news-card p { color: var(--muted); font-size: .95rem; margin-bottom: 22px; }
.news-card__link { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .92rem; }
.news-card__link svg { width: 17px; height: 17px; transition: transform .35s var(--ease); }
.news-card:hover .news-card__link { color: var(--accent); }
.news-card:hover .news-card__link svg { transform: translate(3px, -3px); }
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.video-card { position: relative; display: flex; flex-direction: column; gap: 14px; background: var(--dark); color: var(--on-dark); border-radius: var(--radius); padding: 28px; overflow: hidden; isolation: isolate; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.video-card::after { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: -110px; border-radius: 50%; background: radial-gradient(closest-side, rgba(198, 162, 126, .35), transparent); z-index: -1; }
.video-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.video-card__icon { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(244, 237, 230, .25); color: #e3cbae; }
.video-card__icon svg { width: 22px; height: 22px; }
.video-card h3 { color: var(--on-dark); font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; line-height: 1.2; }
.video-card p { color: var(--on-dark-muted); font-size: .93rem; }
.video-card .news-card__link { color: #e3cbae; }

/* ---------- Event cards ---------- */
.event-list { display: grid; gap: 18px; }
.event { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 26px 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.event__date { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; line-height: 1.25; color: var(--accent); }
.event h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; line-height: 1.2; margin-bottom: 8px; }
.event p { color: var(--muted); font-size: .95rem; }

/* ---------- CTA band ---------- */
.cta-band { padding-block: clamp(64px, 8vw, 104px); }
.cta-card {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-lg);
  background: var(--dark); color: var(--on-dark); padding: clamp(40px, 6vw, 72px);
  display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 32px 48px; align-items: center;
}
.cta-card::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -240px; border-radius: 50%; background: radial-gradient(closest-side, rgba(198, 162, 126, .35), transparent); z-index: -1; }
.cta-card::after { content: ""; position: absolute; width: 380px; height: 380px; left: -140px; bottom: -220px; border-radius: 50%; border: 1px solid rgba(227, 203, 174, .22); z-index: -1; }
.cta-card .eyebrow { color: #e3cbae; }
.cta-card h2 { color: var(--on-dark); font-size: clamp(2rem, 3.6vw, 3rem); }
.cta-card p { color: var(--on-dark-muted); margin-top: 14px; max-width: 54ch; }
.cta-card__action { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.cta-card__phone { display: inline-flex; align-items: center; gap: 10px; color: var(--on-dark); font-weight: 600; font-size: .98rem; }
.cta-card__phone svg { width: 18px; height: 18px; color: #e3cbae; }
.cta-card__phone:hover { color: #e3cbae; }

/* ---------- Detail layout (services, articles) ---------- */
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(40px, 6vw, 88px); align-items: start; }
.detail-aside { position: sticky; top: calc(var(--header-h) + 28px); display: grid; gap: 20px; }
.article-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(40px, 6vw, 80px); align-items: start; }
.article-layout .prose { max-width: 720px; }

.prose { color: var(--ink-2); }
.prose > * { margin-top: 0; margin-bottom: 0; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.85rem, 3vw, 2.45rem); margin-top: 2.1em; margin-bottom: .55em; color: var(--ink); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin-top: 1.9em; margin-bottom: .4em; color: var(--ink); }
.prose h2 + p, .prose h3 + p, .prose h2 + ul, .prose h3 + ul, .prose h2 + ol { margin-top: 0; }
.prose li p { margin: 0; }
.prose ul:not(.checklist), .prose ol { padding-left: 1.3em; display: grid; gap: .5em; }
.prose ul:not(.checklist) li::marker { color: var(--accent); }
.prose ol li::marker { color: var(--accent); font-weight: 600; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a:not(.btn):not(.text-link) { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:not(.btn):not(.text-link):hover { color: var(--accent-hover); }
.prose blockquote {
  margin: 1.6em 0; padding: 22px 26px; border-left: 2px solid var(--gold); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-display); font-size: 1.45rem; font-style: italic; line-height: 1.35; color: var(--ink);
}
.prose .table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 520px; }
.prose th, .prose td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose thead th { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--bg); }
.prose tbody th { font-weight: 600; color: var(--ink); }
.prose tr:last-child th, .prose tr:last-child td { border-bottom: 0; }

.callout {
  display: grid; grid-template-columns: auto 1fr; gap: 16px 18px; margin-top: 2.2em !important;
  background: var(--accent-soft); border-radius: var(--radius); padding: 26px 28px;
}
.callout > svg { width: 26px; height: 26px; color: var(--accent); margin-top: 2px; }
.callout h2, .callout h3 { font-family: var(--font-body); font-size: 1.05rem !important; font-weight: 700; margin: 0 0 8px !important; color: var(--ink); letter-spacing: 0; }
.callout ul { padding-left: 1.2em; display: grid; gap: 6px; font-size: .96rem; }

.aside-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.aside-card--dark { background: var(--dark); border-color: var(--dark); color: var(--on-dark); box-shadow: var(--shadow); }
.aside-person { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.aside-person img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; }
.aside-person strong { display: block; font-family: var(--font-display); font-size: 1.3rem; line-height: 1.1; color: var(--on-dark); }
.aside-person span { font-size: .8rem; color: var(--on-dark-muted); }
.aside-card--dark h2 { font-family: var(--font-display); font-size: 1.7rem; color: var(--on-dark); line-height: 1.15; margin-bottom: 10px; }
.aside-card--dark p { color: var(--on-dark-muted); font-size: .94rem; margin-bottom: 22px; }
.aside-card--dark .btn { --btn-bg: var(--on-dark); --btn-fg: var(--dark); box-shadow: none; }
.aside-card--dark .btn::before { background: #e3cbae; }
.aside-card--dark .cta-card__phone { margin-top: 16px; justify-content: center; width: 100%; }
.aside-card h2.aside-title { font-family: var(--font-body); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 12px; }
.aside-links { list-style: none; display: grid; }
.aside-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .94rem; font-weight: 500; transition: color .2s; }
.aside-links li:last-child a { border-bottom: 0; padding-bottom: 0; }
.aside-links a svg { width: 16px; height: 16px; opacity: .5; transition: transform .3s var(--ease), opacity .3s; }
.aside-links a:hover { color: var(--accent); }
.aside-links a:hover svg { transform: translateX(3px); opacity: 1; }
.aside-links a[aria-current="page"] { color: var(--accent); }

.toc { position: sticky; top: calc(var(--header-h) + 28px); }
.toc h2 { font-family: var(--font-body); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.toc ol { list-style: none; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 1px solid transparent; font-size: .9rem; color: var(--muted); line-height: 1.45; transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--ink); border-left-color: var(--accent); }

.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 24px; font-size: .88rem; color: var(--muted); }
.article-meta span { display: inline-flex; align-items: center; gap: 8px; }
.article-meta svg { width: 17px; height: 17px; color: var(--accent); }
.article-end { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.disclaimer-note { font-size: .88rem; color: var(--muted); }
.related { margin-top: 56px; }
.related h2 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 18px; }

/* ---------- Blog list ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.post-card {
  position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 28px 26px; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.post-card--featured { grid-column: span 2; background: var(--dark); border-color: var(--dark); color: var(--on-dark); padding: clamp(32px, 4vw, 48px); }
.post-card__cat { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.post-card--featured .post-card__cat { color: #e3cbae; }
.post-card h2, .post-card h3 { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; line-height: 1.15; margin-bottom: 12px; }
.post-card--featured h2 { color: var(--on-dark); font-size: clamp(2rem, 3.2vw, 2.7rem); max-width: 18ch; }
.post-card p { color: var(--muted); font-size: .95rem; margin-bottom: 24px; }
.post-card--featured p { color: var(--on-dark-muted); max-width: 56ch; }
.post-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .84rem; color: var(--muted); }
.post-card--featured .post-card__foot { color: var(--on-dark-muted); }
.post-card__foot svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.post-card:hover .post-card__foot svg { transform: translateX(4px); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-list { list-style: none; display: grid; gap: 12px; }
.contact-item {
  display: flex; align-items: center; gap: 18px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); transition: border-color .3s, box-shadow .3s, transform .35s var(--ease);
}
a.contact-item:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.contact-item__icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: none; }
.contact-item__icon svg { width: 22px; height: 22px; }
.contact-item__k { display: block; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.contact-item strong { display: block; font-size: 1.05rem; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.contact-item__end { margin-left: auto; color: var(--muted); }
.contact-item__end svg { width: 18px; height: 18px; }
.contact-side-note { margin-top: 22px; font-size: .93rem; color: var(--muted); }
.contact-side-note button { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow); }
.form-card h2 { font-size: clamp(1.9rem, 3vw, 2.4rem); margin-bottom: 10px; }
.form-card > p { color: var(--muted); margin-bottom: 26px; }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-strong);
  background: var(--bg); font-size: 1rem; transition: border-color .2s, box-shadow .2s, background-color .2s; appearance: none;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b615b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; padding-right: 46px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: var(--surface); box-shadow: 0 0 0 4px rgba(138, 93, 81, .14); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field-error { font-size: .84rem; color: #b3261e; font-weight: 500; }
.form-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: .85rem; color: var(--muted); }
.form-note svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--accent); }

/* ---------- Dialogs ---------- */
dialog { padding: 0; border: 0; color: var(--ink); background: transparent; max-width: none; max-height: none; }
dialog::backdrop { background: rgba(35, 28, 25, .5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.dialog-close { position: absolute; top: 14px; right: 14px; z-index: 2; }

.search-dialog { width: min(720px, calc(100% - 32px)); margin: min(12vh, 110px) auto auto; }
.search-panel { position: relative; background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.search-form { display: flex; align-items: center; gap: 12px; padding: 12px 64px 12px 22px; border-bottom: 1px solid var(--line); }
.search-form > svg { width: 22px; height: 22px; color: var(--muted); flex: none; }
.search-input { flex: 1; min-width: 0; height: 58px; border: 0; background: transparent; font-size: 1.12rem; outline: none; }
.search-input::-webkit-search-cancel-button { display: none; }
.search-body { max-height: min(60vh, 520px); overflow-y: auto; overscroll-behavior: contain; padding: 14px 12px 18px; }
.search-label { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 8px 12px 10px; }
.search-suggest { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 12px 8px; }
.search-suggest button { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: .9rem; font-weight: 500; transition: border-color .2s, background-color .2s; }
.search-suggest button:hover { border-color: var(--ink); background: var(--bg); }
.search-results { list-style: none; display: grid; gap: 2px; }
.search-result a { display: block; padding: 14px 14px; border-radius: 14px; transition: background-color .15s; }
.search-result a:hover, .search-result.is-active a { background: var(--bg); }
.search-result__type { display: block; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-result__title { display: block; font-weight: 600; font-size: 1rem; margin-top: 2px; color: var(--ink); }
.search-result__text { display: block; font-size: .88rem; color: var(--muted); margin-top: 3px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.search-result mark { background: var(--gold-soft); color: inherit; border-radius: 3px; padding: 0 2px; }
.search-empty { padding: 18px 12px 8px; color: var(--muted); }
.search-empty a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.search-foot { display: flex; justify-content: flex-end; gap: 16px; padding: 10px 18px; border-top: 1px solid var(--line); font-size: .78rem; color: var(--muted); background: var(--bg); }
.search-foot kbd { font-family: inherit; font-size: .72rem; border: 1px solid var(--line-strong); border-bottom-width: 2px; border-radius: 6px; padding: 1px 6px; background: var(--surface); }

.vcard-dialog { width: min(440px, calc(100% - 32px)); margin: auto; }
.vcard { position: relative; background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.vcard__top { position: relative; padding: 34px 28px 26px; background: var(--dark); color: var(--on-dark); text-align: center; overflow: hidden; isolation: isolate; }
.vcard__top::before { content: ""; position: absolute; width: 360px; height: 360px; left: 50%; top: -220px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(198, 162, 126, .45), transparent); z-index: -1; }
.vcard__top .dialog-close { color: var(--on-dark); }
.vcard__top .dialog-close:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .15); }
.vcard__avatar { width: 104px; height: 104px; margin: 0 auto 16px; border-radius: 50%; padding: 4px; background: linear-gradient(140deg, #e3cbae, rgba(227, 203, 174, .2)); }
.vcard__avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.vcard__label { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: #e3cbae; font-weight: 600; }
.vcard__name { font-family: var(--font-display); font-size: 2.1rem; font-weight: 600; line-height: 1.1; color: var(--on-dark); margin-top: 6px; }
.vcard__role { font-size: .92rem; color: var(--on-dark-muted); margin-top: 6px; }
.vcard__list { list-style: none; padding: 10px 14px; }
.vcard__row { display: flex; align-items: center; gap: 4px; }
.vcard__row a { flex: 1; display: flex; align-items: center; gap: 14px; padding: 12px 12px; border-radius: 14px; min-width: 0; transition: background-color .2s; }
.vcard__row a:hover { background: var(--bg); }
.vcard__icon { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: none; }
.vcard__icon svg { width: 20px; height: 20px; }
.vcard__text { display: block; min-width: 0; }
.vcard__k { display: block; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.vcard__text strong { display: block; font-size: .98rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vcard__row .icon-btn { color: var(--muted); }
.vcard__row .icon-btn:hover { color: var(--ink); }
.vcard__static { display: flex; align-items: center; gap: 14px; padding: 12px; }
.vcard__actions { padding: 6px 26px 26px; display: grid; gap: 12px; }
.vcard__share { justify-self: center; display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--muted); padding: 6px 10px; border-radius: 999px; transition: color .2s; }
.vcard__share svg { width: 17px; height: 17px; }
.vcard__share:hover { color: var(--ink); }

dialog[open] .search-panel, dialog[open] .vcard { animation: dialog-in .38s var(--ease); }
dialog[open]::backdrop { animation: fade-in .3s var(--ease); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 300; transform: translate(-50%, 20px); opacity: 0;
  background: var(--dark); color: var(--on-dark); padding: 12px 20px; border-radius: 999px; font-size: .9rem; font-weight: 600;
  box-shadow: var(--shadow); transition: opacity .3s var(--ease), transform .3s var(--ease); pointer-events: none;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--on-dark-muted); padding-top: clamp(64px, 8vw, 96px); position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; width: 700px; height: 700px; right: -260px; top: -380px; border-radius: 50%; background: radial-gradient(closest-side, rgba(198, 162, 126, .16), transparent); pointer-events: none; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: clamp(48px, 6vw, 72px); }
.footer-brand .brand-name { color: var(--on-dark); }
.footer-brand .brand-role { color: var(--on-dark-muted); }
.footer-brand .brand-mark { background: #e3cbae; color: var(--dark); }
.footer-brand p { margin-top: 20px; font-size: .94rem; max-width: 34ch; }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(244, 237, 230, .18); color: var(--on-dark); transition: background-color .25s, border-color .25s, color .25s; }
.socials a:hover { background: #e3cbae; border-color: #e3cbae; color: var(--dark); }
.socials svg { width: 19px; height: 19px; }
.footer-col h2 { font-family: var(--font-body); font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #e3cbae; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { font-size: .94rem; transition: color .2s; }
.footer-col a:hover { color: var(--on-dark); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; }
.footer-contact svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: #e3cbae; }
.footer-disclaimer { position: relative; padding-block: 24px; border-top: 1px solid rgba(244, 237, 230, .12); font-size: .84rem; line-height: 1.6; max-width: 90ch; }
.footer-bottom { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 22px 28px; border-top: 1px solid rgba(244, 237, 230, .12); font-size: .85rem; }
.footer-bottom a { color: var(--on-dark); font-weight: 600; transition: color .2s; }
.footer-bottom a:hover { color: #e3cbae; }

/* ---------- 404 ---------- */
.error-page { min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; text-align: center; padding-block: 80px; }
.error-code { font-family: var(--font-display); font-size: clamp(6rem, 18vw, 11rem); font-weight: 500; line-height: .9; color: var(--gold); }
.error-page h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin-top: 12px; }
.error-page p { margin: 18px auto 34px; max-width: 46ch; color: var(--muted); }

/* ---------- Reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
  .d1 { --d: .08s; } .d2 { --d: .16s; } .d3 { --d: .24s; } .d4 { --d: .32s; }
  .js .reveal-img img { transform: scale(1.06); transition: transform 1.6s var(--ease); }
  .js .reveal-img.is-visible img { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-grid; }
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail-layout { grid-template-columns: minmax(0, 1fr) 320px; }
}
@media (max-width: 991px) {
  :root { --header-h: 70px; }
  .hero-grid, .page-hero-grid, .split, .split--reverse, .split--faq, .contact-grid, .home-contact { grid-template-columns: minmax(0, 1fr); }
  .split--faq .split-body { position: static; }
  .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .info-card, .info-card:nth-child(4), .info-card:nth-child(5) { grid-column: auto; }
  .info-card:nth-child(5) { grid-column: span 2; }
  .split--reverse .split-media { order: 0; }
  .hero-media { justify-self: center; width: min(100%, 440px); margin-top: 12px; }
  .quote-card { left: -12px; }
  .page-hero-media { justify-self: start; width: min(100%, 360px); }
  .split-media .frame, .split--reverse .split-media .frame { margin-inline: auto; }
  .service-grid, .case-grid, .post-grid, .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card--wide, .post-card--featured { grid-column: span 2; }
  .service-card--wide ~ .service-card--wide { grid-column: auto; }
  .video-grid > :last-child:nth-child(odd), .case-grid--teaser > :last-child:nth-child(odd) { grid-column: span 2; }
  .detail-layout, .article-layout { grid-template-columns: minmax(0, 1fr); }
  .detail-aside, .toc { position: static; }
  .toc { display: none; }
  .cta-card { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts li + li { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 719px) {
  body { font-size: 1rem; }
  .site-header .brand-role { display: none; }
  .site-header .brand-name, .mobile-nav .brand-name { font-size: 1.24rem; }
  .site-header .brand-mark, .mobile-nav .brand-mark { width: 40px; height: 40px; font-size: 1.08rem; }
  .header-inner { gap: 10px; }
  .header-actions { gap: 2px; }
  .btn-ghost .btn-ghost__label { display: none; }
  .btn-ghost { width: 44px; padding: 0; justify-content: center; border-color: transparent; }
  .hero-facts { grid-template-columns: minmax(0, 1fr); }
  .hero-facts li, .hero-facts li + li { padding: 14px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .hero-facts li:last-child { border-bottom: 0; }
  .principles, .service-grid, .case-grid, .post-grid, .news-grid, .video-grid, .info-grid { grid-template-columns: minmax(0, 1fr); }
  .info-card:nth-child(5) { grid-column: auto; }
  .highlight-card { grid-template-columns: minmax(0, 1fr); }
  .service-card--wide, .post-card--featured, .video-grid > :last-child:nth-child(odd), .case-grid--teaser > :last-child:nth-child(odd) { grid-column: auto; }
  .quote-card { position: relative; left: auto; bottom: auto; margin: -56px 16px 0; max-width: none; }
  .hero-media::before { inset: -10px 10px 10px -10px; }
  .callout { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 22px 20px; }
  .callout ul { padding-left: 1.1em; }
  .split-media .badge-card { position: relative; right: auto; left: auto !important; bottom: auto; margin: -40px 16px 0; max-width: none; }
  .event { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .acc-panel__inner { padding-right: 8px; }
  .acc-trigger { font-size: 1.02rem; padding: 20px 2px; }
  .search-dialog { margin-top: 16px; }
  .search-foot { display: none; }
  .cta-card__action, .cta-card__action .btn { width: 100%; }
  .cta-card__phone { justify-content: center; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .hero-actions { justify-content: center; }
}
@media (max-width: 380px) {
  .site-header .brand-name { font-size: 1.12rem; }
  .site-header .brand-mark { display: none; }
}
@media print {
  .site-header, .site-footer, .cta-band, .detail-aside, .toc, dialog { display: none !important; }
  body { background: #fff; }
}
