/* Design DNA: Split-screen герой с диагональным разделителем — текст слева на тёмном фоне, фото справа; немецкая строгость, зелёно-янтарная палитра */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@500;600;700;800&family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,600;1,6..72,400&display=swap');

:root {
  --bg: #eef1ec;
  --text: #1a211c;
  --muted: #5a6b60;
  --accent: #3d5a47;
  --accent-bright: #5c7a6a;
  --gold: #c9922e;
  --line: #c8d4cb;
  --radius: 2px;
  --maxw: 1240px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Newsreader', Georgia, serif; background: var(--bg); color: var(--text); line-height: 1.7; }
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--gold); }

.shell { width: min(var(--maxw), 94vw); margin-inline: auto; }

/* Header — полоса с подчёркнутыми табами */
.site-head {
  background: var(--text);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 90;
}

.head-row {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  min-height: 64px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0 1.5rem;
  background: var(--accent);
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.logo-link span { color: var(--gold); }

.head-nav {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  justify-content: center;
}

.head-nav a {
  color: rgba(255,255,255,0.65);
  font-family: 'Syne', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 1.4rem 1.1rem;
  border-bottom: 3px solid transparent;
}

.head-nav a:hover,
.head-nav a.on { color: #fff; border-bottom-color: var(--gold); }

.head-phone {
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  font-family: 'Syne', sans-serif;
  font-size: 0.78rem;
  color: var(--gold);
  white-space: nowrap;
}

.menu-btn {
  display: none;
  background: var(--accent);
  border: none;
  color: #fff;
  padding: 0 1.2rem;
  font-size: 1.2rem;
  cursor: pointer;
}

/* Split Hero */
.split-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 88vh;
}

.split-left {
  background: var(--text);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem clamp(2rem, 5vw, 5rem);
  position: relative;
}

.split-left::after {
  content: '';
  position: absolute;
  right: -40px;
  top: 10%;
  bottom: 10%;
  width: 80px;
  background: var(--gold);
  transform: skewX(-6deg);
  z-index: 2;
}

.kicker {
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.split-left h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.intro { font-size: 1.05rem; color: rgba(255,255,255,0.72); max-width: 42ch; }

.split-right img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
}

.actions { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }

.pill {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.9rem 1.6rem;
  border: none;
  cursor: pointer;
  display: inline-block;
}

.pill.fill { background: var(--gold); color: var(--text); }
.pill.fill:hover { background: #dbaa4a; color: var(--text); }
.pill.outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.35); }
.pill.outline:hover { border-color: var(--gold); color: var(--gold); }

/* Sections */
.slice { padding: 5rem 0; }
.slice.pale { background: #fff; }

.slice-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.slice-lead { color: var(--muted); font-size: 1.05rem; max-width: 55ch; margin-bottom: 2.5rem; }

/* Bento grid features */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
}

.bento-item {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.75rem;
}

.bento-item.wide { grid-column: span 2; }
.bento-item.tall { grid-row: span 1; background: var(--accent); color: #fff; }
.bento-item.tall .bento-label { color: var(--gold); }

.bento-label {
  font-family: 'Syne', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-bright);
  margin-bottom: 0.6rem;
}

.bento-item h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.bento-item p { font-size: 0.9rem; color: var(--muted); }
.bento-item.tall p { color: rgba(255,255,255,0.75); }

/* Timeline steps */
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 2px solid var(--text);
}

.tl-step {
  padding: 2rem 1.5rem 0;
  border-right: 1px solid var(--line);
  position: relative;
}

.tl-step:last-child { border-right: none; }

.tl-step::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 1.5rem;
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 50%;
}

.tl-num {
  font-family: 'Syne', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.tl-step h3 { font-family: 'Syne', sans-serif; font-size: 1rem; margin-bottom: 0.5rem; }
.tl-step p { font-size: 0.88rem; color: var(--muted); }

/* Metrics bar */
.metrics {
  display: flex;
  background: var(--accent);
  color: #fff;
}

.metric {
  flex: 1;
  padding: 2.5rem 1.5rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.15);
}

.metric:last-child { border-right: none; }

.metric b {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.metric small { font-size: 0.8rem; opacity: 0.8; }

/* Practice cards — horizontal */
.praxis-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.praxis-card {
  display: flex;
  gap: 0;
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
}

.praxis-card img { width: 140px; flex-shrink: 0; object-fit: cover; }
.praxis-card .pc-body { padding: 1.25rem; }
.praxis-card h3 { font-family: 'Syne', sans-serif; font-size: 1rem; margin-bottom: 0.35rem; }
.praxis-card p { font-size: 0.85rem; color: var(--muted); }

.chip {
  font-family: 'Syne', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--bg);
  color: var(--accent);
  padding: 0.2rem 0.5rem;
  display: inline-block;
  margin-bottom: 0.5rem;
}

/* Publications */
.pub-list { display: flex; flex-direction: column; }

.pub-row {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}

.pub-date {
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
}

.pub-row h3 { font-family: 'Syne', sans-serif; font-size: 1.05rem; }
.pub-row p { font-size: 0.88rem; color: var(--muted); margin-top: 0.25rem; }

/* Banner CTA */
.banner-cta {
  background: var(--text);
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}

.banner-cta h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 1rem;
}

/* Inner banner */
.inner-ban {
  background: var(--accent);
  color: #fff;
  padding: 3.5rem 0;
}

.inner-ban h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
}

/* Contact */
.dual-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.field label {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  background: #fff;
  font-family: 'Newsreader', serif;
  margin-bottom: 1rem;
}

.field textarea { min-height: 120px; resize: vertical; }

.addr-block { background: var(--text); color: #fff; padding: 2rem; }
.addr-block h3 { font-family: 'Syne', sans-serif; margin-bottom: 1rem; color: var(--gold); }
.addr-line { margin-bottom: 1rem; font-size: 0.92rem; opacity: 0.85; }
.addr-line strong { display: block; font-family: 'Syne', sans-serif; font-size: 0.72rem; text-transform: uppercase; color: var(--gold); margin-bottom: 0.15rem; }

/* About values — staggered */
.val-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3rem;
}

.val-row.flip { direction: rtl; }
.val-row.flip > * { direction: ltr; }

.val-box {
  border-left: 4px solid var(--gold);
  padding-left: 1.5rem;
}

.val-box h3 { font-family: 'Syne', sans-serif; font-size: 1.2rem; margin-bottom: 0.5rem; }

/* Privacy */
.legal-text { max-width: 70ch; }
.legal-text h2 { font-family: 'Syne', sans-serif; font-size: 1.2rem; margin: 2rem 0 0.6rem; }
.legal-text p, .legal-text li { color: var(--muted); margin-bottom: 0.7rem; font-size: 0.95rem; }
.legal-text ul { padding-left: 1.2rem; }

/* Footer — 4 col dark */
.site-foot {
  background: #111714;
  color: rgba(255,255,255,0.6);
  padding-top: 3rem;
}

.foot-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 2rem;
  padding-bottom: 2rem;
}

.site-foot h5 {
  font-family: 'Syne', sans-serif;
  color: #fff;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.site-foot a { color: rgba(255,255,255,0.55); font-size: 0.86rem; display: block; margin-bottom: 0.4rem; }
.site-foot a:hover { color: var(--gold); }

.foot-base {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1rem 0;
  font-size: 0.72rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Cookie — side panel style */
.cookie-panel {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  max-width: 380px;
  z-index: 200;
  background: #fff;
  border: 2px solid var(--text);
  padding: 1.25rem;
  box-shadow: 8px 8px 0 var(--accent);
  transition: opacity 0.3s, transform 0.3s;
}

.cookie-panel.gone { opacity: 0; transform: translateY(20px); pointer-events: none; }

.cookie-panel p { font-size: 0.82rem; color: var(--muted); margin-bottom: 1rem; }
.cookie-panel .pill { padding: 0.55rem 1.2rem; font-size: 0.72rem; }

@media (max-width: 900px) {
  .split-hero { grid-template-columns: 1fr; min-height: auto; }
  .split-left::after { display: none; }
  .split-right img { min-height: 280px; }
  .head-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--text); flex-direction: column; }
  .head-nav.show { display: flex; }
  .head-nav a { border-bottom: none; border-left: 3px solid transparent; padding: 1rem 1.5rem; }
  .head-nav a.on { border-left-color: var(--gold); }
  .menu-btn { display: block; }
  .head-phone { display: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-item.wide { grid-column: span 2; }
  .timeline { grid-template-columns: 1fr; }
  .tl-step { border-right: none; border-bottom: 1px solid var(--line); padding-bottom: 1.5rem; }
  .metrics { flex-wrap: wrap; }
  .metric { flex: 1 1 45%; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .praxis-grid, .dual-form, .val-row { grid-template-columns: 1fr; }
  .val-row.flip { direction: ltr; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .pub-row { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .bento-item.wide { grid-column: span 1; }
  .metric { flex: 1 1 100%; }
  .praxis-card { flex-direction: column; }
  .praxis-card img { width: 100%; height: 140px; }
  .foot-cols { grid-template-columns: 1fr; }
  .cookie-panel { left: 0.75rem; right: 0.75rem; max-width: none; }
}
