/* ==========================================================================
   Expert Poligraf — stiluri site public
   Paletă: petrol adânc (cerneală), hârtie rece, alamă; semnătura vizuală:
   traseele de înregistrare poligraf.
   ========================================================================== */

:root {
  --ink: #0E2A30;
  --ink-2: #15363D;
  --ink-3: #1E4850;
  --paper: #F3F4F0;
  --surface: #FFFFFF;
  --text: #1A2427;
  --muted: #586669;
  --rule: #D5DAD3;
  --brass: #9C7A45;
  --brass-light: #CDAA74;
  --sage: #86AFA7;
  --on-ink: #E9EEEB;
  --on-ink-muted: #A9BDB9;
  --error: #A3362B;
  --ok: #2F6B4F;

  --display: "Libre Caslon Display", "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --serif: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --space: clamp(64px, 9vw, 120px);
  --radius: 2px;
  --header-h: 76px;
}

/* ---------- Bază ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
address { font-style: normal; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.narrow-wide { max-width: 940px; }
.visually-hidden, .hp {
  position: absolute !important; 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: 12px; top: -60px; z-index: 100; background: var(--brass); color: #fff; padding: 10px 16px; }
.skip-link:focus { top: 12px; }
.muted { color: var(--muted); }

/* ---------- Butoane ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  font: 500 0.95rem/1 var(--sans); letter-spacing: 0.01em;
  text-decoration: none; border: 1px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.btn--brass { background: var(--brass-light); color: var(--ink); }
.btn--brass:hover { background: #DDBF8F; }
.btn--ink { background: var(--ink); color: var(--on-ink); }
.btn--ink:hover { background: var(--ink-3); }
.btn--line { border-color: var(--rule); color: var(--text); background: transparent; }
.btn--line:hover { border-color: var(--text); }
.btn--line-light { border-color: rgba(233, 238, 235, .35); color: var(--on-ink); }
.btn--line-light:hover { border-color: var(--on-ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink); color: var(--on-ink);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand-logo { max-height: 52px; width: auto; }
.brand-mark svg { width: 36px; height: 36px; fill: none; stroke: var(--brass-light); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--display); font-size: 1.45rem; letter-spacing: .005em; }
.brand-sub { font-size: .78rem; color: var(--on-ink-muted); margin-top: 4px; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item > a {
  display: block; padding: 10px 12px; font-size: .95rem; text-decoration: none;
  color: var(--on-ink-muted); transition: color .2s;
}
.nav-item > a:hover, .nav-item.is-active > a { color: var(--on-ink); }
.nav-item.is-active > a { box-shadow: inset 0 -1px 0 var(--brass-light); }
.sub-toggle { background: none; border: 0; color: var(--on-ink-muted); padding: 6px 4px; margin-left: -8px; cursor: pointer; }
.sub-toggle svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .2s; }
.sub-list {
  list-style: none; margin: 0; padding: 8px 0; position: absolute; top: 100%; left: 0; min-width: 220px;
  background: var(--ink-2); border: 1px solid rgba(255,255,255,.08);
  opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .18s, transform .18s, visibility .18s;
}
.sub-list a { display: block; padding: 10px 18px; text-decoration: none; color: var(--on-ink-muted); font-size: .95rem; }
.sub-list a:hover, .sub-list a[aria-current] { color: var(--on-ink); background: rgba(255,255,255,.04); }
.has-sub:hover .sub-list, .has-sub:focus-within .sub-list, .has-sub.is-open .sub-list { opacity: 1; visibility: visible; transform: none; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; white-space: nowrap;
  font-weight: 500; font-size: .95rem; color: var(--brass-light);
  padding: 9px 14px; border: 1px solid rgba(205,170,116,.4); border-radius: var(--radius);
}
.header-phone:hover { border-color: var(--brass-light); }
.header-phone svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 0; cursor: pointer; color: var(--on-ink); }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 22px; height: 1.5px; background: currentColor; margin: 0 auto; position: relative; transition: transform .2s, opacity .2s;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--ink);
    flex-direction: column; align-items: stretch; gap: 24px; padding: 16px var(--gutter) 40px;
    overflow-y: auto; transform: translateX(100%); transition: transform .25s ease; visibility: hidden;
  }
  .site-nav.is-open { transform: none; visibility: visible; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-item { flex-wrap: wrap; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-item > a { flex: 1; padding: 16px 0; font-size: 1.1rem; }
  .nav-item.is-active > a { box-shadow: none; color: var(--brass-light); }
  .sub-toggle { margin: 0; padding: 14px; }
  .has-sub.is-open .sub-toggle svg { transform: rotate(180deg); }
  .sub-list { position: static; flex-basis: 100%; display: none; opacity: 1; visibility: visible; transform: none; background: transparent; border: 0; padding: 0 0 12px 12px; }
  .has-sub:hover .sub-list { display: none; }
  .has-sub.is-open .sub-list { display: block; }
  .header-phone { justify-content: center; min-height: 52px; font-size: 1.05rem; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Grafica de traseu ---------- */
.trace { width: 100%; height: 100%; display: block; overflow: visible; }
.trace path { fill: none; stroke-width: 1.4; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.trace .ch-a { stroke: var(--sage); }
.trace .ch-b { stroke: var(--brass-light); stroke-width: 1.8; }
.trace .ch-c { stroke: #6F8F98; }
.trace-grid line { stroke: rgba(255,255,255,.045); stroke-width: 1; vector-effect: non-scaling-stroke; }
.trace-event { stroke: rgba(205,170,116,.45); stroke-width: 1; stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; }
.trace.is-animated path { stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: trace-draw 2.8s cubic-bezier(.45,.05,.25,1) forwards; animation-delay: calc(var(--i) * .25s + .2s); }
.trace.is-animated .trace-event { opacity: 0; animation: fade-in .6s ease forwards 2.4s; }
@keyframes trace-draw { to { stroke-dashoffset: 0; } }
@keyframes fade-in { to { opacity: 1; } }
.trace--faint { opacity: .5; }

/* ---------- Hero ---------- */
.hero { background: var(--ink); color: var(--on-ink); position: relative; overflow: hidden; padding-top: clamp(56px, 8vw, 104px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: end; }
.hero.has-portrait .hero-grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
.hero-eyebrow { color: var(--on-ink-muted); font-size: 1rem; margin-bottom: 28px; max-width: 40ch; }
.hero-title {
  font-family: var(--display); font-size: clamp(2.75rem, 7.2vw, 6rem); line-height: .98;
  letter-spacing: -.012em; max-width: 13ch; text-wrap: balance;
}
.hero-subtitle { font-family: var(--serif); font-style: italic; color: var(--brass-light); font-size: clamp(1.15rem, 2vw, 1.45rem); margin: 22px 0 0; }
.hero-text { max-width: 56ch; margin-top: 28px; color: var(--on-ink-muted); font-size: 1.075rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-portrait { margin: 0; align-self: stretch; }
.hero-portrait { position: relative; }
.hero-portrait img { width: 100%; height: 100%; min-height: 420px; max-height: 560px; object-fit: cover; object-position: 56% 30%; }
.hero-portrait::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(205,170,116,.35); pointer-events: none; }
.hero-trace { position: relative; height: clamp(150px, 20vw, 240px); margin-top: clamp(40px, 6vw, 72px); }
.trace-labels { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; z-index: 1; font-size: .75rem; color: var(--on-ink-muted); pointer-events: none; }
.trace-labels li { position: absolute; left: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter))); transform: translateY(-200%); }
.trace-labels li:nth-child(1) { top: 22%; }
.trace-labels li:nth-child(2) { top: 52%; }
.trace-labels li:nth-child(3) { top: 80%; }
.credentials {
  list-style: none; margin: 0; padding: 28px 0 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255,255,255,.1);
}
.credentials li { display: flex; flex-direction: column; gap: 4px; padding: 0 24px; border-left: 1px solid rgba(255,255,255,.1); }
.credentials li:first-child { padding-left: 0; border-left: 0; }
.credentials strong { font-family: var(--display); font-weight: 400; font-size: 1.35rem; color: var(--on-ink); }
.credentials span { font-size: .9rem; color: var(--on-ink-muted); }

/* ---------- Antet pagini interioare ---------- */
.page-header { background: var(--ink); color: var(--on-ink); position: relative; overflow: hidden; padding: clamp(48px, 7vw, 88px) 0 clamp(44px, 6vw, 72px); }
.page-header-trace { position: absolute; left: 0; right: 0; bottom: -24px; height: 58%; pointer-events: none; opacity: .6; }
.page-header-media { position: absolute; inset: 0; }
.page-header-media img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.page-header-inner { position: relative; }
.breadcrumbs { font-size: .85rem; color: var(--on-ink-muted); margin-bottom: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumbs a { color: var(--on-ink-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--on-ink); }
.page-title { font-family: var(--display); font-size: clamp(2.4rem, 5.6vw, 4.4rem); line-height: 1.02; letter-spacing: -.01em; max-width: 18ch; }
.page-intro { font-family: var(--serif); font-style: italic; color: var(--brass-light); font-size: clamp(1.05rem, 1.8vw, 1.3rem); margin-top: 18px; max-width: 52ch; }

/* ---------- Secțiuni generice ---------- */
.section { padding: var(--space) 0 0; }
main > .section:last-child { padding-bottom: var(--space); }
.page-header + .section { padding-top: clamp(56px, 7vw, 96px); }
.eyebrow { font-size: .92rem; color: var(--brass); margin-bottom: 14px; font-weight: 500; }
.section-title { font-family: var(--display); font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.08; letter-spacing: -.005em; max-width: 22ch; text-wrap: balance; }
.section-head { margin-bottom: clamp(32px, 4vw, 52px); max-width: 760px; }
.section-lead { color: var(--muted); font-size: 1.1rem; margin-top: 18px; max-width: 62ch; }
.section-action { margin-top: 40px; }

.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.split-head { position: sticky; top: calc(var(--header-h) + 32px); }
.split-head .section-title { font-size: clamp(1.7rem, 3vw, 2.4rem); }

.prose { max-width: 66ch; }
.prose--wide { max-width: none; }
.prose p { margin-bottom: 1.05em; }
.prose h2, .prose h3 { font-family: var(--display); margin: 1.6em 0 .5em; line-height: 1.2; }
.prose h2 { font-size: 1.7rem; }
.prose h3 { font-size: 1.35rem; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--brass); }
.prose a { color: var(--ink-3); text-decoration-color: var(--brass); }
.prose strong { font-weight: 600; }
.prose blockquote { margin: 1.4em 0; padding-left: 20px; border-left: 2px solid var(--brass); font-family: var(--serif); font-style: italic; }
.prose img { margin: 1.4em 0; }
.prose table { border-collapse: collapse; width: 100%; margin: 1.2em 0; font-size: .95rem; }
.prose th, .prose td { border-bottom: 1px solid var(--rule); padding: 10px 8px; text-align: left; vertical-align: top; }
.prose iframe { width: 100%; min-height: 360px; border: 0; }
.section > .wrap > .split-body > p:first-child, .section--text .prose > p:first-child { font-size: 1.15rem; }

.section--note .split { padding: 32px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section--note .section-title { font-size: 1.4rem; }
.section--note .prose > p:first-child { font-size: 1rem; }

/* Text + imagine */
.media-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.is-reversed .media-copy { order: 2; }
.media-copy .section-title { margin-bottom: 24px; }
.media-copy .prose { font-size: 1.075rem; }
.media-action { margin-top: 32px; }
.media-figure { margin: 0; }
.media-figure img { width: 100%; height: auto; max-height: 560px; object-fit: cover; }
.media-trace { background: var(--ink); aspect-ratio: 4 / 3.2; padding: 8% 0; position: relative; }
.media-trace::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(205,170,116,.18); pointer-events: none; }

/* Rânduri (listă) */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.row { border-bottom: 1px solid var(--rule); }
.row-link, li.row:not(:has(.row-link)) {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr) 40px; gap: 24px; align-items: baseline;
  padding: 26px 0; text-decoration: none; color: inherit;
}
.row-title { font-family: var(--display); font-size: clamp(1.3rem, 2.2vw, 1.65rem); line-height: 1.2; transition: color .2s; }
.row-text { color: var(--muted); }
.row .more, .tile .more { justify-self: end; color: var(--brass); }
.more svg { width: 24px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .2s; }
.row-link:hover .row-title { color: var(--brass); }
.row-link:hover .more svg, .tile-link:hover .more svg { transform: translateX(4px); }

/* Grilă */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 0 clamp(24px, 4vw, 56px); }
.tile { border-top: 2px solid var(--ink); }
.tile-link, li.tile:not(:has(.tile-link)) { display: flex; flex-direction: column; gap: 14px; padding: 28px 0 32px; text-decoration: none; color: inherit; height: 100%; }
.tile-title { font-family: var(--display); font-size: 1.6rem; line-height: 1.15; }
.tile-text { color: var(--muted); }
.tile .more { margin-top: auto; padding-top: 8px; }
.tile-link:hover .tile-title { color: var(--brass); }

/* Grupuri cu liste */
.section--groups .section-head { position: relative; }
.group-letter { font-family: var(--display); font-size: 1.05rem; color: var(--brass); margin-bottom: 10px; width: 40px; height: 40px; border: 1px solid var(--brass); border-radius: 50%; display: grid; place-items: center; }
.groups { border-top: 1px solid var(--rule); }
.group { display: grid; align-content: start; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(20px, 5vw, 80px); padding: 32px 0; border-bottom: 1px solid var(--rule); }
.group-title { font-family: var(--display); font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.25; }
.group.is-single .group-title { grid-column: 1 / -1; max-width: 40ch; }
.dash-list { list-style: none; margin: 0; padding: 0; }
.dash-list li { position: relative; padding-left: 28px; margin-bottom: 12px; }
.dash-list li:last-child { margin-bottom: 0; }
.dash-list li::before { content: ""; position: absolute; left: 0; top: .82em; width: 14px; height: 1px; background: var(--brass); }
.section--groups.is-two .groups { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 5vw, 72px); border-top: 0; }
.section--groups.is-two .group { grid-template-columns: 1fr; gap: 18px; border-top: 2px solid var(--ink); border-bottom: 0; }

/* Cifre */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin: 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section--facts .section-title { margin-bottom: 32px; }
.fact { padding: 32px 28px; border-left: 1px solid var(--rule); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact dt { font-family: var(--display); font-size: clamp(2.6rem, 5vw, 3.8rem); line-height: 1; color: var(--ink); }
.fact dd { margin: 12px 0 0; color: var(--muted); max-width: 26ch; }

/* Cronologie */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; padding: 0 0 32px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 150px; top: 0; bottom: 0; width: 1px; background: var(--rule); transform: translateX(11px); }
.timeline li::after { content: ""; position: absolute; left: 150px; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--paper); border: 1px solid var(--brass); transform: translateX(8px); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::before { bottom: auto; height: .8em; }
.tl-when { font-family: var(--display); font-size: 1.3rem; color: var(--brass); line-height: 1.3; }
.tl-what { padding-left: 24px; }
.is-compact .timeline li { padding-bottom: 18px; }
.is-compact .tl-when { font-size: 1.15rem; }

/* Întrebări frecvente */
.faq { border-top: 1px solid var(--rule); margin-top: 8px; }
.section--faq .section-title { margin-bottom: 28px; }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 26px 0; font-family: var(--display); font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.3; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--brass); }
.faq-icon { flex: 0 0 18px; height: 18px; position: relative; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: var(--brass); transition: transform .25s; }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0); }
.faq-answer { padding: 0 0 28px; color: var(--muted); max-width: 70ch; }

/* Citat */
.section--quote .wrap { max-width: 1000px; }
.quote { margin: 0; padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); position: relative; }
.quote::before { content: "\201E"; position: absolute; top: -.18em; left: 0; transform: translateY(-50%); font-family: var(--display); font-size: 7rem; line-height: 1; color: var(--brass); background: var(--paper); padding-right: 16px; }
.quote blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.5vw, 1.85rem); line-height: 1.5; color: var(--ink); }
.quote figcaption { margin-top: 28px; color: var(--muted); font-size: .95rem; max-width: 60ch; }
.quote figcaption::before { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--brass); vertical-align: middle; margin-right: 12px; }

/* Galerie */
.gallery { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { font-size: .9rem; color: var(--muted); margin-top: 10px; }

/* Îndemn la contact */
.cta { background: var(--ink); color: var(--on-ink); position: relative; overflow: hidden; margin-top: var(--space); padding: clamp(56px, 7vw, 96px) 0; }
main > .cta:last-child { margin-bottom: 0; }
.cta-trace { position: absolute; inset: auto 0 -20px 0; height: 75%; pointer-events: none; opacity: .45; }
.cta-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.cta-title { font-family: var(--display); font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.06; max-width: 18ch; }
.cta-text { color: var(--on-ink-muted); margin-top: 18px; max-width: 52ch; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.cta-phone { display: flex; flex-direction: column; text-decoration: none; font-family: var(--display); font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 1.05; color: var(--brass-light); }
.cta-phone span { font-family: var(--sans); font-size: .85rem; color: var(--on-ink-muted); margin-bottom: 6px; }
.cta-phone:hover { color: #E2C799; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact-card { background: var(--ink); color: var(--on-ink); padding: clamp(28px, 4vw, 44px); position: sticky; top: calc(var(--header-h) + 24px); }
.contact-cabinet { font-family: var(--serif); font-style: italic; color: var(--brass-light); font-size: 1.1rem; margin-bottom: 28px; }
.contact-list { margin: 0; display: grid; gap: 22px; }
.contact-list dt { font-size: .82rem; color: var(--on-ink-muted); margin-bottom: 4px; }
.contact-list dd { margin: 0; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-big { font-family: var(--display); font-size: 1.9rem; color: var(--on-ink); }
.contact-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.contact-card .btn--line { color: var(--on-ink); border-color: rgba(255,255,255,.25); }
.contact-card .btn--line:hover { border-color: var(--on-ink); }
.contact-form-wrap .section-lead { margin-bottom: 32px; }
.contact-form { display: grid; gap: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: .92rem; font-weight: 500; }
.field input, .field textarea {
  font: 400 1rem/1.5 var(--sans); color: var(--text); background: var(--surface);
  border: 1px solid var(--rule); border-radius: var(--radius); padding: 13px 14px; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(14,42,48,.1); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-size: .88rem; font-weight: 400; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--ink); flex: 0 0 auto; }
.contact-form .btn { justify-self: start; margin-top: 4px; }
.form-msg { padding: 14px 18px; border-left: 3px solid; margin-bottom: 20px; }
.form-msg--ok { border-color: var(--ok); background: #E7F0EA; color: #1F4A36; }
.form-msg--error { border-color: var(--error); background: #F6E8E5; color: #6E241C; }
.map-embed { margin-top: 56px; }
.map-embed iframe { width: 100%; height: 420px; border: 0; filter: grayscale(.4); }

/* ---------- Footer ---------- */
.site-footer { background: #0A2025; color: var(--on-ink-muted); margin-top: var(--space); font-size: .95rem; }
main:has(> .cta:last-child) + .site-footer { margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr .8fr 1.3fr; gap: 40px; padding-top: 72px; padding-bottom: 56px; }
.footer-brand { font-family: var(--display); font-size: 1.6rem; color: var(--on-ink); margin-bottom: 14px; }
.footer-about p { max-width: 36ch; }
.footer-h { font-family: var(--sans); font-size: .95rem; font-weight: 600; color: var(--on-ink); margin-bottom: 16px; }
.footer-contact p { margin-bottom: 10px; }
.footer-contact a, .footer-nav a, .social a { color: var(--on-ink-muted); text-decoration: none; }
.footer-contact a:hover, .footer-nav a:hover, .social a:hover { color: var(--on-ink); }
.footer-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-nav .sub { padding-left: 14px; }
.social { display: flex; gap: 18px; margin-top: 20px; }
.social a { border-bottom: 1px solid rgba(205,170,116,.4); padding-bottom: 2px; }
.nl-form { display: flex; gap: 8px; margin-top: 16px; }
.nl-form input { flex: 1; min-width: 0; min-height: 48px; padding: 0 14px; font: inherit; color: var(--on-ink); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); }
.nl-form input::placeholder { color: #7D928E; }
.nl-form input:focus { outline: none; border-color: var(--brass-light); }
.site-footer .form-msg { margin: 14px 0 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 28px; border-top: 1px solid rgba(255,255,255,.08); font-size: .85rem; }
.footer-bottom a { color: var(--on-ink-muted); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(6,20,23,.92); display: grid; place-items: center; padding: 24px; }
.lightbox img { max-height: 88vh; width: auto; }
.lightbox button { position: absolute; top: 16px; right: 16px; background: none; border: 1px solid rgba(255,255,255,.3); color: #fff; width: 44px; height: 44px; font-size: 1.4rem; cursor: pointer; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero.has-portrait .hero-grid { grid-template-columns: 1fr; }
  .hero-portrait img { max-height: 420px; }
  .split, .media-grid, .contact-grid, .cta-grid, .group { grid-template-columns: 1fr; }
  .split-head, .contact-card { position: static; }
  .is-reversed .media-copy { order: 0; }
  .row-link, li.row:not(:has(.row-link)) { grid-template-columns: 1fr 32px; gap: 8px 16px; }
  .row-title { grid-column: 1; }
  .row-text { grid-column: 1; grid-row: 2; }
  .row .more { grid-row: 1 / span 2; align-self: center; }
  .section--groups.is-two .groups { grid-template-columns: 1fr; }
  .credentials { grid-template-columns: 1fr; gap: 18px; }
  .credentials li { padding: 0 0 0 16px; border-left: 1px solid rgba(205,170,116,.4); }
  .credentials li:first-child { padding-left: 16px; border-left: 1px solid rgba(205,170,116,.4); }
  .trace-labels { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .field-row { grid-template-columns: 1fr; }
  .fact { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); }
  .fact:first-child { border-top: 0; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; padding-left: 24px; }
  .timeline li::before, .timeline li::after { left: 0; }
  .timeline li::before { transform: translateX(3px); }
  .timeline li::after { transform: none; }
  .tl-what { padding-left: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .nl-form { flex-direction: column; }
  .brand-name { font-size: 1.25rem; }
  .quote::before { font-size: 5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
  .trace.is-animated path { stroke-dashoffset: 0; }
  .trace.is-animated .trace-event { opacity: 1; }
}

@media print {
  .site-header, .site-footer, .cta, .hero-trace, .page-header-trace { display: none !important; }
  body { background: #fff; }
  .hero, .page-header { background: #fff; color: #000; }
}
