/* ============================================================
   АДВОКАТСЬКЕ БЮРО «ДАЦЕНКО ТА ПАРТНЕРИ»
   Premium dark / gold / bordeaux identity
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --bg:        #0b0a09;   /* warm near-black */
  --bg-2:      #100e0c;   /* elevated */
  --bg-3:      #15120f;   /* card */
  --bg-4:      #1b1714;   /* card hover */

  --ink:       #f1eadf;   /* cream */
  --ink-soft:  #d6cdbd;
  --muted:     #938a7b;   /* warm grey */
  --muted-2:   #6d6557;

  --gold:      #c5a45c;   /* antique gold */
  --gold-hi:   #e0c585;   /* highlight gold */
  --gold-2:    #9b7c40;   /* deep gold */
  --gold-soft: rgba(197,164,92,.14);

  --line:      rgba(197,164,92,.20);  /* gold hairline */
  --line-2:    rgba(241,234,223,.08); /* neutral hairline */

  --wine:      #6f1622;
  --wine-2:    #531019;
  --wine-hi:   #8c2330;

  --serif: "Playfair Display", "Times New Roman", serif;
  --body:  "Lora", Georgia, serif;
  --mono:  "IBM Plex Mono", "Courier New", monospace;

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 80px);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
ul { list-style: none; }
::selection { background: var(--wine); color: var(--ink); }

/* ---------- Background grain + vignette ---------- */
body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(197,164,92,.06), transparent 60%),
    radial-gradient(100% 60% at 50% 120%, rgba(111,22,34,.10), transparent 60%);
  pointer-events: none; z-index: 0;
}

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(72px, 11vw, 150px); z-index: 1; }
.section--tight { padding-block: clamp(56px, 8vw, 100px); }
.divider { height: 1px; background: var(--line-2); border: 0; max-width: var(--maxw); margin-inline: auto; }

/* ---------- Eyebrow / Roman numeral label ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex; align-items: center; gap: .9em;
  font-weight: 500;
}
.eyebrow--center { justify-content: center; }
.eyebrow .num { color: var(--gold-2); }
.eyebrow::before {
  content: ""; width: clamp(18px, 4vw, 46px); height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-2));
}
.eyebrow--center::after {
  content: ""; width: clamp(18px, 4vw, 46px); height: 1px;
  background: linear-gradient(90deg, var(--gold-2), transparent);
}

/* ---------- Section heading (two-line serif + gold italic) ---------- */
.s-title {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.01em;
  font-size: clamp(34px, 6vw, 70px);
  margin-top: 26px;
}
.s-title em {
  display: block;
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
}
.s-title--center { text-align: center; }
.s-lead {
  font-family: var(--body);
  color: var(--ink-soft);
  font-size: clamp(16px, 2vw, 20px);
  max-width: 56ch;
  margin-top: 26px;
  line-height: 1.75;
}
.s-lead--center { margin-inline: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
  padding: 18px 38px;
  display: inline-flex; align-items: center; justify-content: center; gap: .8em;
  transition: all .45s var(--ease);
  position: relative;
}
.btn--wine {
  background: var(--wine);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(241,234,223,.06);
}
.btn--wine:hover { background: var(--wine-hi); letter-spacing: .30em; }
.btn--ghost {
  border: 1px solid var(--line);
  color: var(--ink-soft);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--ink); background: var(--gold-soft); }
.btn--block { width: 100%; }
.btn .arrow { transition: transform .45s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  padding-block: 20px;
  transition: background .5s var(--ease), padding .5s var(--ease), border-color .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(11,10,9,.82);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  padding-block: 13px;
  border-bottom: 1px solid var(--line-2);
}
.header__row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

/* Brand lockup */
.brand { display: flex; align-items: center; gap: 14px; }
.brand__emblem { width: 38px; height: 46px; flex: none; transition: transform .5s var(--ease); }
.brand:hover .brand__emblem { transform: translateY(-1px); }
.brand__txt { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--serif); font-weight: 600;
  font-size: 18px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink);
}
.brand__sub {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .34em;
  text-transform: uppercase; color: var(--gold); margin-top: 6px;
}

/* Header right cluster */
.header__right { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px); }
.est {
  font-family: var(--mono); font-size: 12px; letter-spacing: .28em;
  color: var(--muted); white-space: nowrap;
}
.est b { color: var(--gold); font-weight: 500; }

/* Language switch */
.lang { display: flex; align-items: center; gap: 2px; }
.lang__btn {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted-2);
  padding: 6px 8px; transition: color .3s var(--ease); position: relative;
}
.lang__btn:hover { color: var(--ink-soft); }
.lang__btn.active { color: var(--gold); }
.lang__sep { color: var(--muted-2); opacity: .5; }

/* Hamburger */
.burger {
  width: 46px; height: 46px; display: inline-flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px;
  border: 1px solid var(--line); border-radius: 0;
  transition: border-color .4s var(--ease), background .4s var(--ease);
}
.burger:hover { border-color: var(--gold); background: var(--gold-soft); }
.burger span {
  width: 18px; height: 1.4px; background: var(--ink-soft);
  transition: transform .45s var(--ease), opacity .3s var(--ease), background .3s;
}
.burger:hover span { background: var(--gold); }
body.menu-open .burger span:nth-child(1) { transform: translateY(7.4px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-7.4px) rotate(-45deg); }

/* ============================================================
   FULL-SCREEN MENU
   ============================================================ */
.menu {
  position: fixed; inset: 0; z-index: 55;
  background: rgba(8,7,6,.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden;
  transition: opacity .55s var(--ease), visibility .55s var(--ease);
  display: grid; place-items: center;
  overflow-y: auto;
}
body.menu-open .menu { opacity: 1; visibility: visible; }
.menu__inner {
  width: 100%; max-width: var(--maxw); padding: 120px var(--gutter) 60px;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: start;
}
.menu__lion {
  position: absolute; inset: 0; display: grid; place-items: center;
  pointer-events: none; opacity: .05;
}
.menu__lion svg { width: min(80vh, 760px); height: auto; }
.menu__nav { position: relative; }
.menu__list { display: flex; flex-direction: column; gap: 4px; }
.menu__item { overflow: hidden; }
.menu__link {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(30px, 5vw, 54px); line-height: 1.18;
  color: var(--ink-soft); display: inline-flex; align-items: baseline; gap: 18px;
  transition: color .4s var(--ease), transform .5s var(--ease);
  transform: translateY(110%);
}
body.menu-open .menu__link { transform: translateY(0); }
.menu__link .mnum {
  font-family: var(--mono); font-size: 13px; letter-spacing: .2em;
  color: var(--gold-2); transform: translateY(-.55em); transition: color .4s;
}
.menu__link:hover { color: var(--gold); }
.menu__link:hover .mnum { color: var(--gold); }
/* staggered reveal */
.menu__item:nth-child(1) .menu__link { transition-delay: .10s; }
.menu__item:nth-child(2) .menu__link { transition-delay: .16s; }
.menu__item:nth-child(3) .menu__link { transition-delay: .22s; }
.menu__item:nth-child(4) .menu__link { transition-delay: .28s; }
.menu__item:nth-child(5) .menu__link { transition-delay: .34s; }
.menu__item:nth-child(6) .menu__link { transition-delay: .40s; }

.menu__aside {
  border-left: 1px solid var(--line-2); padding-left: 40px;
  font-family: var(--body); opacity: 0; transform: translateY(20px);
  transition: opacity .6s var(--ease) .35s, transform .6s var(--ease) .35s;
}
body.menu-open .menu__aside { opacity: 1; transform: none; }
.menu__aside h4 {
  font-family: var(--mono); font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px; font-weight: 500;
}
.menu__cta { display: flex; flex-direction: column; gap: 14px; margin-bottom: 38px; }
.menu__contacts p { color: var(--ink-soft); font-size: 15px; margin-bottom: 6px; }
.menu__contacts a:hover { color: var(--gold); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding-block: 140px 80px; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 72% center;
  opacity: .30; filter: grayscale(.2) contrast(1.02);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 16%, rgba(11,10,9,.62) 52%, rgba(11,10,9,.30) 100%),
    linear-gradient(0deg, var(--bg) 4%, transparent 36%);
}
.hero__lion {
  position: absolute; right: -6%; top: 50%; transform: translateY(-50%);
  z-index: 0; opacity: .05; pointer-events: none;
}
.hero__lion svg { width: min(72vh, 720px); height: auto; }
.hero__inner { position: relative; z-index: 2; max-width: 880px; }
.hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(44px, 8.4vw, 104px); line-height: .98; letter-spacing: -.015em;
  margin-top: 30px;
}
.hero h1 em { font-style: italic; color: var(--gold); display: block; }
.hero__sub {
  margin-top: 34px; max-width: 50ch;
  font-size: clamp(17px, 2vw, 21px); color: var(--ink-soft); line-height: 1.7;
}
.hero__actions { margin-top: 46px; display: flex; flex-wrap: wrap; gap: 16px; }
.hero__scroll {
  position: absolute; left: var(--gutter); bottom: 30px; z-index: 2;
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--muted);
}
.hero__scroll .line { width: 46px; height: 1px; background: var(--gold-2); position: relative; overflow: hidden; }
.hero__scroll .line::after {
  content: ""; position: absolute; inset: 0; background: var(--gold);
  animation: scrollLine 2.4s var(--ease) infinite;
}
@keyframes scrollLine { 0%{transform:translateX(-100%)} 60%,100%{transform:translateX(100%)} }

/* trust strip */
.trust {
  position: relative; z-index: 1; border-block: 1px solid var(--line-2);
  background: var(--bg-2);
}
.trust__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.trust__item {
  padding: clamp(26px, 4vw, 46px) clamp(16px, 3vw, 40px);
  border-left: 1px solid var(--line-2); text-align: center;
}
.trust__item:first-child { border-left: 0; }
.trust__num {
  font-family: var(--serif); font-size: clamp(34px, 5vw, 56px);
  color: var(--gold); line-height: 1; font-weight: 500;
}
.trust__label {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted); margin-top: 14px;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about__media { position: relative; }
.about__media img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  filter: grayscale(.15) contrast(1.02);
  border: 1px solid var(--line-2);
}
.about__media::after {
  content: ""; position: absolute; inset: 14px; border: 1px solid var(--line); pointer-events: none;
  mix-blend-mode: screen;
}
.about__media .badge {
  position: absolute; left: -1px; bottom: -1px; background: var(--wine);
  padding: 18px 26px; max-width: 70%;
}
.about__media .badge .q { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--ink); line-height: 1.4; }
.about__body p { color: var(--ink-soft); margin-top: 22px; }
.about__body p:first-of-type { font-family: var(--serif); font-size: clamp(20px,2.4vw,26px); color: var(--ink); font-weight: 500; line-height: 1.4; }

.principles { margin-top: 40px; display: grid; gap: 2px; border: 1px solid var(--line-2); }
.principle {
  display: grid; grid-template-columns: 56px 1fr; gap: 6px; align-items: start;
  padding: 20px 22px; background: var(--bg-2);
  transition: background .4s var(--ease);
}
.principle:hover { background: var(--bg-3); }
.principle__n { font-family: var(--mono); font-size: 12px; color: var(--gold-2); letter-spacing: .1em; padding-top: 4px; }
.principle__t { font-family: var(--serif); font-size: 18px; color: var(--ink); font-weight: 600; }
.principle__d { font-size: 14.5px; color: var(--muted); grid-column: 2; margin-top: 2px; }

/* ============================================================
   SERVICES
   ============================================================ */
.svc-groups { margin-top: clamp(40px, 6vw, 72px); display: grid; gap: clamp(46px, 6vw, 80px); }
.svc-group__head {
  display: flex; align-items: center; gap: 20px;
  padding-bottom: 22px; margin-bottom: 4px; border-bottom: 1px solid var(--line);
}
.svc-group__ic { width: 42px; height: 42px; color: var(--gold); flex: none; }
.svc-group__ic svg { width: 100%; height: 100%; }
.svc-group__titles .k {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold-2);
}
.svc-group__titles h3 {
  font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 3vw, 32px);
  color: var(--ink); margin-top: 7px; line-height: 1.05;
}
.svc-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(28px, 4vw, 58px); }
.svc-item {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; text-align: left; background: none; border: 0;
  border-bottom: 1px solid var(--line-2); padding: 16px 2px;
  color: var(--ink-soft); font-family: var(--body); font-size: 16px; line-height: 1.35;
  cursor: pointer;
  transition: color .35s var(--ease), padding .35s var(--ease), border-color .35s var(--ease);
}
.svc-item:hover, .svc-item:focus-visible { color: var(--ink); padding-left: 12px; border-color: var(--line); outline: none; }
.svc-item__plus {
  flex: none; color: var(--gold-2); opacity: .65;
  transition: color .35s var(--ease), transform .35s var(--ease), opacity .35s var(--ease);
}
.svc-item:hover .svc-item__plus, .svc-item:focus-visible .svc-item__plus {
  color: var(--gold); opacity: 1; transform: rotate(90deg);
}

/* ============================================================
   NEWS
   ============================================================ */
.news__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.news-grid { margin-top: clamp(36px, 5vw, 60px); display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.news-card {
  border: 1px solid var(--line-2); background: var(--bg-2);
  padding: clamp(26px, 3vw, 40px); cursor: pointer; position: relative;
  display: flex; flex-direction: column; min-height: 320px;
  transition: border-color .5s var(--ease), background .5s var(--ease), transform .5s var(--ease);
  overflow: hidden;
}
.news-card::before {
  content: ""; position: absolute; left: 0; top: 0; width: 2px; height: 0; background: var(--wine-hi);
  transition: height .5s var(--ease);
}
.news-card:hover { border-color: var(--line); background: var(--bg-3); transform: translateY(-3px); }
.news-card:hover::before { height: 100%; }
.news-card__meta { display: flex; gap: 16px; align-items: center; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); }
.news-card__cat { color: var(--gold); }
.news-card__t {
  font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.18; color: var(--ink); margin-top: 20px;
}
.news-card__x { color: var(--muted); margin-top: 16px; font-size: 15.5px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card__more {
  margin-top: 24px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); display: inline-flex; align-items: center; gap: 10px;
}
.news-card__more .arrow { transition: transform .45s var(--ease); }
.news-card:hover .news-card__more .arrow { transform: translateX(6px); }

/* ============================================================
   TEAM
   ============================================================ */
.team-grid { margin-top: clamp(40px, 6vw, 64px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.member {
  border: 1px solid var(--line-2); background: var(--bg-2); position: relative; overflow: hidden;
  transition: border-color .5s var(--ease), transform .5s var(--ease);
}
.member:hover { border-color: var(--line); transform: translateY(-3px); }
.member--lead { grid-column: span 1; }
.member__media {
  aspect-ratio: 4/5; position: relative; overflow: hidden;
  background: linear-gradient(160deg, #171310, #0d0b0a);
  display: grid; place-items: center;
}
.member__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 18%;
  filter: grayscale(.25) contrast(1.03);
  transition: transform .8s var(--ease), filter .6s var(--ease);
}
.member:hover .member__media img { transform: scale(1.04); filter: grayscale(0) contrast(1.04); }
.member__mono {
  font-family: var(--serif); font-size: clamp(60px, 8vw, 104px); color: rgba(197,164,92,.13);
  font-weight: 600; letter-spacing: .04em; user-select: none;
  position: relative; z-index: 1;
}
.member__media .lionwm { position: absolute; inset: 0; display: grid; place-items: center; opacity: .06; }
.member__media .lionwm svg { width: 80%; }
.member__body { padding: 22px clamp(20px, 2.4vw, 28px) 26px; }
.member__cat { font-family: var(--mono); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-2); }
.member__name { font-family: var(--serif); font-weight: 500; font-size: clamp(20px, 2.4vw, 26px); color: var(--gold); margin-top: 12px; line-height: 1.15; }
.member__role { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; color: var(--muted); margin-top: 8px; }
.member__bio { font-size: 14.5px; color: var(--ink-soft); margin-top: 16px; line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.member__tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 7px; }
.member__tags span { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--line); padding: 4px 9px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 84px); margin-top: clamp(40px,6vw,64px); }

.form { display: grid; gap: 30px; }
.field { position: relative; }
.field label {
  font-family: var(--mono); font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold-2); display: block; margin-bottom: 12px;
}
.field input, .field textarea, .field select {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line);
  color: var(--ink); font-family: var(--body); font-size: 18px; padding: 10px 0;
  transition: border-color .4s var(--ease);
}
.field textarea { resize: vertical; min-height: 90px; }
.field select { appearance: none; cursor: pointer; }
.field select option { background: var(--bg-2); color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); }
.form__note { font-size: 13px; color: var(--muted); font-family: var(--body); }
.form__ok {
  display: none; padding: 16px 18px; border: 1px solid var(--line);
  background: var(--gold-soft); color: var(--ink); font-size: 15px;
}
.form.sent .form__ok { display: block; }

.contact__info { display: grid; gap: 30px; align-content: start; }
.cblock h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; font-weight: 500; }
.cblock p, .cblock a { color: var(--ink-soft); font-size: 16px; line-height: 1.6; }
.cblock a:hover { color: var(--gold); }
.cblock .phone { font-family: var(--mono); letter-spacing: .04em; font-size: 16px; }
.urgent { border: 1px solid var(--wine-hi); background: linear-gradient(180deg, rgba(140,35,48,.10), transparent); padding: 18px 20px; }
.urgent .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--wine-hi); }
.urgent p { color: var(--ink); margin-top: 8px; font-size: 15px; }

/* socials */
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.social {
  width: 46px; height: 46px; border: 1px solid var(--line-2); display: grid; place-items: center;
  color: var(--ink-soft); transition: all .4s var(--ease);
}
.social:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-soft); transform: translateY(-2px); }
.social svg { width: 20px; height: 20px; }

/* QR */
.qr { display: flex; gap: 18px; align-items: center; }
.qr__img { width: 104px; height: 104px; padding: 9px; background: var(--ink); flex: none; }
.qr__img img { width: 100%; height: 100%; image-rendering: pixelated; mix-blend-mode: multiply; }
.qr__txt .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); }
.qr__txt p { color: var(--ink-soft); font-size: 14px; margin-top: 8px; max-width: 22ch; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { position: relative; z-index: 1; border-top: 1px solid var(--line-2); background: var(--bg-2); padding-block: clamp(56px, 7vw, 90px) 34px; overflow: hidden; }
.footer__lion { position: absolute; right: -4%; bottom: -18%; opacity: .045; pointer-events: none; }
.footer__lion svg { width: min(54vh, 540px); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 50px; position: relative; z-index: 2; }
.footer__brand .brand__name { font-size: 22px; }
.footer__legal-name { font-family: var(--serif); font-size: 17px; color: var(--ink); margin-top: 22px; line-height: 1.4; max-width: 34ch; }
.footer__legal-name .en { display:block; color: var(--muted); font-size: 13px; font-family: var(--mono); letter-spacing: .08em; margin-top: 8px; }
.footer__edrpou { font-family: var(--mono); font-size: 12.5px; letter-spacing: .12em; color: var(--gold-2); margin-top: 18px; }
.footer__edrpou b { color: var(--gold); font-weight: 500; }
.footer__motto { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 18px; margin-top: 18px; }
.footer__col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; font-weight: 500; }
.footer__col ul { display: grid; gap: 11px; }
.footer__col a, .footer__col p { color: var(--ink-soft); font-size: 15px; }
.footer__col a:hover { color: var(--gold); }
.footer__bottom {
  margin-top: clamp(40px, 5vw, 64px); padding-top: 26px; border-top: 1px solid var(--line-2);
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  position: relative; z-index: 2;
}
.footer__copy { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--muted-2); text-transform: uppercase; }
.footer__links { display: flex; gap: 24px; }
.footer__links a { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.footer__links a:hover { color: var(--gold); }

/* ============================================================
   MODAL
   ============================================================ */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 24px;
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s var(--ease); }
.modal.open { opacity: 1; visibility: visible; }
.modal__scrim { position: absolute; inset: 0; background: rgba(6,5,5,.82); backdrop-filter: blur(6px); }
.modal__card {
  position: relative; z-index: 2; width: 100%; max-width: 560px; background: var(--bg-2);
  border: 1px solid var(--line); padding: clamp(28px, 4vw, 48px);
  max-height: 88vh; overflow-y: auto;
  transform: translateY(16px) scale(.99); transition: transform .5s var(--ease);
}
.modal.open .modal__card { transform: none; }
.modal--wide .modal__card { max-width: 800px; }
.modal__close {
  position: absolute; top: 16px; right: 16px; width: 40px; height: 40px;
  border: 1px solid var(--line-2); color: var(--ink-soft); display: grid; place-items: center;
  transition: all .35s var(--ease); font-size: 18px; z-index: 3;
}
.modal__close:hover { border-color: var(--gold); color: var(--gold); transform: rotate(90deg); }
.modal__eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.modal__title { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 4vw, 38px); margin-top: 16px; line-height: 1.12; }
.modal__body { margin-top: 22px; }
.modal__body p { color: var(--ink-soft); margin-top: 16px; }
.modal__body p:first-child { margin-top: 0; }
.modal__meta { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); margin-top: 18px; display: flex; gap: 16px; }
.modal__form { margin-top: 26px; display: grid; gap: 24px; }
.modal__src { display:block; margin-top: 22px; font-family: var(--mono); font-size: 12px; letter-spacing:.06em; color: var(--gold); word-break: break-all; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .menu__link { transform: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .menu__inner { grid-template-columns: 1fr; gap: 36px; }
  .menu__aside { border-left: 0; border-top: 1px solid var(--line-2); padding-left: 0; padding-top: 30px; }
  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 460px; }
  .contact__grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  :root { --gutter: 18px; }
  .brand__sub { display: none; }
  .est { display: none; }
  .brand { gap: 10px; }
  .brand__emblem { width: 30px; height: 36px; }
  .brand__name { font-size: 15px; letter-spacing: .08em; }
  .header__right { gap: 12px; }
  .lang__btn { padding: 6px 5px; font-size: 11px; }
  .lang__sep { display: none; }
  .burger { width: 42px; height: 42px; }
  .trust__grid { grid-template-columns: 1fr 1fr; }
  .trust__item:nth-child(odd) { border-left: 0; }
  .trust__item:nth-child(n+3) { border-top: 1px solid var(--line-2); }
  .news-grid { grid-template-columns: 1fr; }
  .svc-list { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .hero__scroll { display: none; }
  .menu__link { font-size: clamp(28px, 8vw, 40px); }
}
@media (max-width: 420px) {
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}
