/* ============================================================
   Kobaladze Realty - дизайн-концепт
   Характер: сдержанный люкс частного банка.
   Холодная тёмная база, латунь единственным акцентом, много воздуха.
   Шрифты локальные, @import запрещён (блокирует отрисовку).
   ============================================================ */

/* ---------- Шрифты (локальные, кириллица) ---------- */
@font-face {
  font-family: 'Prata';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/prata-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Prata';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/prata-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                 U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/onest-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/onest-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                 U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Токены ---------- */
:root {
  color-scheme: dark;

  --ink:      #0B0E13;   /* почти чёрный с холодным синим подтоном */
  --ink-2:    #121721;   /* поднятая поверхность */
  --ink-3:    #1A212D;   /* вторая ступень */
  --bone:     #E9E5DD;   /* тёплый белёсый, основной текст */
  --mute:     #96A0AE;   /* холодный серый, вторичный текст (контраст 6.4:1 к --ink) */
  --brass:    #C9A967;   /* латунь - ЕДИНСТВЕННЫЙ акцент на весь сайт */
  --brass-dim:#A08956;   /* 5.5:1 к фону: тусклее нельзя, режет проверка контраста */

  --line:      rgba(233, 229, 221, 0.13);
  --line-soft: rgba(233, 229, 221, 0.07);

  --r: 2px;              /* один радиус на весь сайт */

  --gut: 20px;           /* горизонтальные поля */
  --maxw: 1320px;

  --s-1: 8px;   --s-2: 16px;  --s-3: 24px;  --s-4: 40px;
  --s-5: 64px;  --s-6: 96px;  --s-7: 140px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 768px)  { :root { --gut: 40px; } }
@media (min-width: 1200px) { :root { --gut: 64px; } }

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: 'Onest', 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { margin: 0; font-weight: 400; }

p { margin: 0; }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

::selection { background: var(--brass); color: var(--ink); }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--brass); color: var(--ink);
  padding: 12px 20px; font-weight: 600;
}
.skip:focus { left: 8px; top: 8px; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Типографика ---------- */
.display {
  font-family: 'Prata', Georgia, serif;
  font-size: clamp(2.3rem, 5.6vw, 4.6rem);
  line-height: 1.07;
  letter-spacing: -0.012em;
}

.h2 {
  font-family: 'Prata', Georgia, serif;
  font-size: clamp(1.8rem, 3.4vw, 2.9rem);
  line-height: 1.14;
  letter-spacing: -0.008em;
}

.h3 {
  font-family: 'Prata', Georgia, serif;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.24;
}

.lede {
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  line-height: 1.6;
  color: var(--mute);
  max-width: 60ch;
}

.body-t { color: var(--mute); max-width: 66ch; }

.label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 500;
}

.num {
  font-family: 'Prata', Georgia, serif;
  font-variant-numeric: tabular-nums;
  color: var(--brass);
}

.brass { color: var(--brass); }

/* ---------- Плашка концепта + шапка ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 14, 19, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.notice {
  background: var(--ink-3);
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--mute);
  text-align: center;
  padding: 6px 12px;
  line-height: 1.4;
}
.notice b { color: var(--bone); font-weight: 500; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  height: 64px;
}

.brandmark { display: flex; flex-direction: column; line-height: 1; gap: 4px; }
.brandmark .bm-1 {
  font-family: 'Prata', Georgia, serif;
  font-size: 1.06rem;
  letter-spacing: 0.24em;
}
.brandmark .bm-2 {
  font-size: 0.56rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mute);
}

.nav-links { display: none; gap: 30px; align-items: center; }
.nav-links a {
  font-size: 0.86rem;
  color: var(--bone);
  position: relative;
  padding-block: 4px;
  white-space: nowrap;
}
.nav-links a::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--brass); }

.nav-right { display: flex; align-items: center; gap: var(--s-2); }

.nav-phone {
  display: none;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.nav-phone:hover { color: var(--brass); }

@media (min-width: 1000px) {
  .nav-links { display: flex; }
  .nav-phone { display: inline-block; }
  .burger { display: none; }
}

.burger {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: none; border: 1px solid var(--line);
  border-radius: var(--r);
  cursor: pointer;
  padding: 0;
}
.burger span {
  display: block; width: 18px; height: 1px;
  background: var(--bone);
  position: relative;
}
.burger span::before, .burger span::after {
  content: ''; position: absolute; left: 0;
  width: 18px; height: 1px; background: var(--bone);
  transition: transform 0.3s var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after  { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* мобильное меню: закрытому - inert, чтобы фокус не проваливался внутрь */
.mobile-menu {
  display: block;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.42s var(--ease);
  border-top: 0 solid var(--line-soft);
  background: var(--ink);
}
.mobile-menu[data-open="true"] {
  max-height: 460px;
  border-top-width: 1px;
}
.mobile-menu ul { list-style: none; margin: 0; padding: var(--s-2) 0 var(--s-3); }
.mobile-menu li + li { border-top: 1px solid var(--line-soft); }
.mobile-menu a {
  display: block;
  padding: 15px var(--gut);
  font-size: 1rem;
  min-height: 48px;
}
.mobile-menu a[aria-current="page"] { color: var(--brass); }
@media (min-width: 1000px) { .mobile-menu { display: none; } }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 14px 28px;
  border-radius: var(--r);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease),
              border-color 0.3s var(--ease), transform 0.15s var(--ease);
}
.btn-primary { background: var(--brass); color: #14100A; }
.btn-primary:hover { background: #DBBC7C; }
.btn-ghost { border-color: var(--line); color: var(--bone); background: transparent; }
.btn-ghost:hover { border-color: var(--brass); color: var(--brass); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--brass);
  min-height: 44px;
}
.arrow-link svg { transition: transform 0.35s var(--ease); flex: none; }
.arrow-link:hover svg { transform: translateX(5px); }

/* ---------- Появление при скролле ---------- */
.rv { opacity: 0; transform: translateY(22px); }
.rv-on {
  opacity: 1; transform: none;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; }
  .rv-on { transition: none; }
}

/* ---------- Секции ---------- */
.sec { padding-block: var(--s-6); }
@media (min-width: 900px) { .sec { padding-block: var(--s-7); } }

.sec-head { margin-bottom: var(--s-5); max-width: 46ch; }
.sec-head .h2 { margin-top: 14px; }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- Первый экран ---------- */
.hero {
  position: relative;
  min-height: calc(100dvh - 90px);
  display: flex;
  align-items: center;
  padding-block: var(--s-5) var(--s-6);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 12% 62%; }
.hero-media::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,14,19,0.82) 0%, rgba(11,14,19,0.6) 45%, rgba(11,14,19,0.94) 100%);
}

.hero-inner { position: relative; z-index: 1; width: 100%; }

.hero h1 { max-width: 15ch; }
.hero .lede { margin-top: var(--s-3); max-width: 46ch; }
.hero-cta { margin-top: var(--s-4); display: flex; flex-wrap: wrap; gap: 12px; }

/* полоса признания рынка, сразу под первым экраном */
.acclaim {
  border-block: 1px solid var(--line);
  padding-block: 18px;
  margin: 0;
  font-size: 0.84rem;
  color: var(--mute);
  text-align: center;
}

@media (min-width: 900px) {
  .hero-media { left: 44%; }
  .hero-media::after {
    background:
      linear-gradient(90deg, var(--ink) 0%, rgba(11,14,19,0.8) 30%, rgba(11,14,19,0.18) 100%);
  }
  .hero h1 { max-width: 15ch; }
  .hero .lede { max-width: 40ch; }
}

/* ---------- Ряд цифр ---------- */
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line-soft);
  border-block: 1px solid var(--line);
}
.stat { background: var(--ink); padding: var(--s-3) 0 var(--s-3) var(--s-2); }
.stat:nth-child(odd)  { padding-left: 0; padding-right: var(--s-2); }
.stat .num { display: block; font-size: clamp(1.9rem, 4.6vw, 3rem); line-height: 1.05; }
.stat p { margin-top: 8px; font-size: 0.84rem; color: var(--mute); max-width: 22ch; }
@media (min-width: 800px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stat { padding: var(--s-4) var(--s-3); }
  .stat:nth-child(odd) { padding: var(--s-4) var(--s-3); }
  .stat:first-child { padding-left: 0; }
  .stat:last-child  { padding-right: 0; }
}

/* ---------- Объекты: 1 крупный + 2 ---------- */
.objects { display: grid; gap: var(--s-4); }
@media (min-width: 900px) {
  .objects { grid-template-columns: 1fr 1fr; gap: var(--s-5) var(--s-4); }
  .object-lead { grid-column: 1 / -1; }
}

.object { display: grid; gap: var(--s-3); align-content: start; }
.object-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--r);
  background: var(--ink-2);
}
.object-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.object:hover .object-media img { transform: scale(1.035); }
@media (prefers-reduced-motion: reduce) {
  .object:hover .object-media img { transform: none; }
}

.object-lead .object-media img { aspect-ratio: 16 / 7; }
@media (min-width: 900px) {
  .object-lead { grid-template-columns: 1.25fr 1fr; gap: var(--s-4); align-items: center; }
  .object-lead .object-media img { aspect-ratio: 4 / 3; }
}

.object-name { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-2); }
.object-price { font-family: 'Prata', Georgia, serif; color: var(--brass); font-size: 1.05rem; white-space: nowrap; }
.object-desc { color: var(--mute); font-size: 0.92rem; }

.specs { list-style: none; margin: var(--s-2) 0 0; padding: 0; display: grid; gap: 0; }
.specs li {
  display: flex; justify-content: space-between; gap: var(--s-2);
  padding: 11px 0;
  font-size: 0.86rem;
  border-bottom: 1px solid var(--line-soft);
}
.specs li:last-child { border-bottom: 0; }
.specs .k { color: var(--mute); }
.specs .v { text-align: right; }

/* ---------- Услуги: широкие строки ---------- */
.svc-list { display: grid; }
.svc {
  display: grid;
  gap: var(--s-2);
  padding-block: var(--s-4);
  border-top: 1px solid var(--line);
}
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc-n { font-family: 'Prata', Georgia, serif; font-size: 1.3rem; color: var(--brass-dim); }
.svc-promises { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.svc-promises li { position: relative; padding-left: 20px; color: var(--mute); font-size: 0.92rem; }
.svc-promises li::before {
  content: ''; position: absolute; left: 0; top: 11px;
  width: 8px; height: 1px; background: var(--brass);
}
@media (min-width: 900px) {
  .svc {
    grid-template-columns: 60px minmax(0, 1.05fr) minmax(0, 1.15fr) auto;
    gap: var(--s-4);
    align-items: start;
    padding-block: var(--s-5);
    transition: background-color 0.4s var(--ease);
  }
  .svc:hover { background: rgba(233, 229, 221, 0.022); }
  .svc-promises { grid-template-columns: 1fr 1fr; gap: 10px var(--s-3); }
}

/* ---------- Честные ответы ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: var(--s-2);
  padding-block: var(--s-3);
  min-height: 56px;
  font-family: 'Prata', Georgia, serif;
  font-size: clamp(1.05rem, 1.8vw, 1.32rem);
  line-height: 1.3;
  transition: color 0.3s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--brass); }
.faq .sign {
  margin-left: auto;
  flex: none;
  width: 22px; height: 22px;
  position: relative;
  margin-top: 5px;
}
.faq .sign::before, .faq .sign::after {
  content: ''; position: absolute; background: var(--brass);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.faq .sign::before { left: 0; top: 10px; width: 22px; height: 1px; }
.faq .sign::after  { left: 10px; top: 0; width: 1px; height: 22px; }
.faq details[open] .sign::after { transform: rotate(90deg); opacity: 0; }
.faq .answer { padding-bottom: var(--s-4); }
.faq .answer p { color: var(--mute); max-width: 72ch; font-size: 0.96rem; }
@media (prefers-reduced-motion: reduce) {
  .faq .sign::before, .faq .sign::after { transition: none; }
}

/* ---------- Отзывы ---------- */
.reviews { display: grid; gap: var(--s-4); }
@media (min-width: 900px) {
  .reviews { grid-template-columns: 1.35fr 1fr; gap: var(--s-5); align-items: start; }
  .reviews .side { display: grid; gap: var(--s-4); }
}
.quote { border-left: 1px solid var(--brass-dim); padding-left: var(--s-3); }
.quote p {
  font-family: 'Prata', Georgia, serif;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  line-height: 1.42;
}
.quote.small p { font-family: 'Onest', sans-serif; font-size: 0.96rem; line-height: 1.6; color: var(--bone); }
.quote cite {
  display: block;
  margin-top: var(--s-2);
  font-style: normal;
  font-size: 0.8rem;
  color: var(--mute);
  letter-spacing: 0.03em;
}

/* ---------- СМИ ---------- */
.press { display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line); border-radius: var(--r); }
.press-item {
  background: var(--ink);
  padding: var(--s-3);
  display: grid;
  gap: 10px;
  align-content: space-between;
  transition: background-color 0.4s var(--ease);
}
.press-item:hover { background: var(--ink-2); }
.press-src { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass); }
.press-title { font-family: 'Prata', Georgia, serif; font-size: 1rem; line-height: 1.35; }
.press-lead .press-title { font-size: clamp(1.2rem, 2.4vw, 1.75rem); }
@media (min-width: 800px) {
  .press { grid-template-columns: repeat(4, 1fr); }
  .press-lead { grid-column: span 2; grid-row: span 2; padding: var(--s-4); }
  .press-item { padding: var(--s-3) var(--s-4); min-height: 148px; }
}

/* ---------- Разворот со статьями ---------- */
.split { display: grid; gap: var(--s-4); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1.1fr; gap: var(--s-6); }
  .split.flip > :first-child { order: 2; }
}
.split-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r); }

/* ---------- Форма ---------- */
.contact { display: grid; gap: var(--s-5); }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1fr; gap: var(--s-6); } }

.field { display: grid; gap: 7px; margin-bottom: var(--s-3); }
.field label { font-size: 0.8rem; color: var(--bone); letter-spacing: 0.04em; }
.field .req { color: var(--brass); }
.field input, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  color: var(--bone);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s var(--ease);
}
.field textarea { min-height: 108px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #808B9A; }
.field input:focus, .field textarea:focus { border-color: var(--brass); outline: none; }
.field .hint { font-size: 0.76rem; color: var(--mute); }
.field .err { font-size: 0.78rem; color: #E9A6A6; min-height: 0; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #C97676; }

.consent { display: flex; gap: 11px; align-items: flex-start; margin-block: var(--s-2) var(--s-3); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brass); flex: none; }
.consent label { font-size: 0.8rem; color: var(--mute); line-height: 1.5; }

.form-status {
  margin-top: var(--s-2);
  font-size: 0.86rem;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--ink-2);
  display: none;
}
.form-status[data-show="true"] { display: block; }
.form-status[data-kind="ok"] { border-color: var(--brass-dim); color: var(--bone); }

.contact-lines { list-style: none; margin: var(--s-3) 0 0; padding: 0; }
.contact-lines li { padding-block: 15px; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; gap: var(--s-2); flex-wrap: wrap; }
.contact-lines .k { color: var(--mute); font-size: 0.84rem; }
.contact-lines a:hover { color: var(--brass); }

/* ---------- Подвал ---------- */
.foot { border-top: 1px solid var(--line); padding-block: var(--s-5) var(--s-4); }
.foot-grid { display: grid; gap: var(--s-4); }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s-5); } }
.foot h3 { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mute); margin-bottom: var(--s-2); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.foot ul a { display: inline-block; padding-block: 8px; font-size: 0.9rem; color: var(--bone); }
.foot ul a:hover { color: var(--brass); }
.foot-phone { font-family: 'Prata', Georgia, serif; font-size: 1.32rem; display: inline-block; padding-block: 6px; }
.foot-phone:hover { color: var(--brass); }
.foot-bottom {
  margin-top: var(--s-5);
  padding-top: var(--s-3);
  border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4);
  justify-content: space-between;
  font-size: 0.76rem; color: var(--mute);
}
.foot-disclaimer { max-width: 62ch; }

/* ---------- Внутренние страницы ---------- */
.page-head {
  padding-top: var(--s-5);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 900px) { .page-head { padding-top: var(--s-6); padding-bottom: var(--s-6); } }
.page-head .display { max-width: 17ch; }
.page-head .lede { margin-top: var(--s-3); }

.crumbs { font-size: 0.78rem; color: var(--mute); margin-bottom: var(--s-3); }
.crumbs a:hover { color: var(--brass); }
.crumbs span[aria-current] { color: var(--bone); }

/* этапы */
.steps { display: grid; gap: 0; border-top: 1px solid var(--line); }
.step { display: grid; gap: 10px; padding-block: var(--s-3); border-bottom: 1px solid var(--line-soft); }
.step-top { display: flex; align-items: baseline; gap: var(--s-2); flex-wrap: wrap; }
.step-n { font-family: 'Prata', Georgia, serif; color: var(--brass); font-size: 1.05rem; }
.step-dur { font-size: 0.76rem; color: var(--mute); letter-spacing: 0.06em; margin-left: auto; }
.step p { color: var(--mute); font-size: 0.92rem; max-width: 74ch; }
@media (min-width: 800px) {
  .step { grid-template-columns: 260px 1fr; gap: var(--s-4); align-items: baseline; padding-block: var(--s-4); }
  .step-dur { margin-left: 0; }
  .step-top { flex-direction: column; gap: 6px; align-items: flex-start; }
}

/* команда */
.team { display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line); border-radius: var(--r); }
@media (min-width: 700px)  { .team { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1050px) { .team { grid-template-columns: repeat(4, 1fr); } }
.member { background: var(--ink); padding: var(--s-4) var(--s-3); display: grid; gap: 12px; align-content: start; }
.monogram {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border: 1px solid var(--brass-dim);
  border-radius: var(--r);
  font-family: 'Prata', Georgia, serif;
  color: var(--brass);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
}
.member .role { font-size: 0.78rem; color: var(--mute); letter-spacing: 0.04em; }
.member .note { font-size: 0.88rem; color: var(--mute); }

/* блоки-тезисы */
.tenets { display: grid; gap: 1px; background: var(--line-soft); border-block: 1px solid var(--line); }
@media (min-width: 700px)  { .tenets { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1050px) { .tenets { grid-template-columns: repeat(3, 1fr); } }
.tenet { background: var(--ink); padding: var(--s-3) var(--s-2); display: grid; gap: 10px; align-content: start; }
@media (min-width: 700px) { .tenet { padding: var(--s-4) var(--s-3); min-height: 172px; } }
.tenet .tn { font-family: 'Prata', Georgia, serif; color: var(--brass-dim); font-size: 0.95rem; }
.tenet p { font-size: 0.94rem; }

/* карточки статей */
.articles { display: grid; gap: var(--s-4); }
@media (min-width: 760px)  { .articles { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .articles { grid-template-columns: repeat(3, 1fr); gap: var(--s-4); } }

.art-card {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: var(--s-3);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 250px;
  background: var(--ink);
  transition: border-color 0.4s var(--ease), background-color 0.4s var(--ease);
}
a.art-card:hover { border-color: var(--brass-dim); background: var(--ink-2); }
.art-card .art-meta { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass); }
.art-card .h3 { font-size: 1.18rem; }
.art-card p { font-size: 0.9rem; color: var(--mute); }
.art-card .art-foot { margin-top: auto; padding-top: var(--s-2); font-size: 0.78rem; color: var(--mute); border-top: 1px solid var(--line-soft); }

.art-card.empty { border-style: dashed; border-color: rgba(201, 169, 103, 0.34); }
.art-card.empty .h3 { color: var(--mute); }

/* большой призыв */
.cta-band {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: var(--s-4) var(--s-3);
  background:
    radial-gradient(120% 140% at 12% 0%, rgba(201, 169, 103, 0.09) 0%, transparent 58%),
    var(--ink-2);
  display: grid;
  gap: var(--s-3);
}
@media (min-width: 900px) {
  .cta-band { grid-template-columns: 1.5fr auto; align-items: center; gap: var(--s-5); padding: var(--s-5); }
}

/* ============================================================
   Служебные правила - в самом конце файла НАМЕРЕННО.
   Каскад решает последним объявлением при равной силе селектора:
   стоя в начале, эти классы проигрывали блочным правилам ниже.
   ============================================================ */

.mt-1 { margin-top: 12px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 26px; }
.mt-4 { margin-top: 32px; }
.small-t { font-size: 0.92rem; }
.sec.pt-0 { padding-top: 0; }

@media (min-width: 1000px) {
  .burger { display: none; }
}
