/* ЖК «Модерн» v2 (2026) - редизайн.
   Палитра: чернильный вечер + золотая охра фасада.
   Display: Unbounded · Body: Golos Text */

:root {
  --ink: #12151c;
  --ink-2: #1a1e28;
  --ink-3: #232836;
  --paper: #f4efe6;
  --white: #fdfcf9;
  --gold: #d9a441;
  --gold-deep: #b8862d;
  --muted: #9aa0ad;
  --muted-dark: #6d6a5f;
  --line: rgba(255, 255, 255, 0.1);
  --line-dark: rgba(18, 21, 28, 0.12);
  --radius: 14px;
  --display: 'Unbounded', sans-serif;
  --body: 'Golos Text', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--body);
  background: var(--ink);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

/* ---------- кнопки ---------- */

.btn {
  display: inline-block;
  padding: 17px 36px;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 60px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  text-align: center;
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: var(--ink);
  box-shadow: 0 8px 28px rgba(217, 164, 65, 0.28);
}

.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(217, 164, 65, 0.4); }

.btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  backdrop-filter: blur(4px);
}

.btn--ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

.btn--dark {
  background: var(--ink);
  color: var(--white);
}

.btn--dark:hover { background: var(--ink-3); transform: translateY(-2px); }

.btn--sm { padding: 11px 24px; font-size: 11px; }

/* ---------- навигация ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled {
  background: rgba(18, 21, 28, 0.85);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.nav__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__logo { height: 66px; width: auto; transition: height 0.3s ease; }

.nav.scrolled .nav__logo { height: 52px; }

.nav__links {
  display: flex;
  gap: 28px;
  margin: 0 auto;
}

.nav__links a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s;
}

.nav__links a:hover { color: var(--gold); }

.nav__cta { display: flex; align-items: center; gap: 18px; }

.nav__tel {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s;
}

.nav__tel:hover { color: var(--gold); }

.nav__burger { display: none; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: url("../img/main/hero.jpg") center 45% / cover no-repeat;
  animation: heroZoom 18s ease-out forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

/* затемнение: мягко сверху под меню, ощутимо слева под текст, плотно снизу к статистике */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18,21,28,0.42) 0%, rgba(18,21,28,0.05) 26%, rgba(18,21,28,0.12) 52%, rgba(18,21,28,0.78) 82%, var(--ink) 100%),
    linear-gradient(95deg, rgba(18,21,28,0.5) 0%, rgba(18,21,28,0.18) 38%, transparent 60%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 150px 24px 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__eyebrow {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}

.hero__title {
  font-family: var(--display);
  font-size: clamp(64px, 11vw, 168px);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.hero__sub {
  max-width: 460px;
  margin-top: 26px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.82);
}

.hero__actions {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero__stats {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  width: 100%;
  margin: 70px auto 0;
  padding: 26px 24px 34px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border-top: 1px solid var(--line);
}

.stat__num {
  display: block;
  font-family: var(--display);
  font-size: 40px;
  font-weight: 700;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.stat__unit { font-size: 18px; font-weight: 500; margin-left: 4px; }

.stat__label {
  display: block;
  margin-top: 6px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--muted);
}

/* ---------- бегущая строка ---------- */

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--ink-2);
  padding: 14px 0;
}

.ticker__track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: ticker 28s linear infinite;
}

.ticker__track span {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}

.ticker__track i { color: var(--gold); font-style: normal; }

@keyframes ticker {
  to { transform: translateX(-50%); }
}

/* ---------- секции ---------- */

.section { padding: 110px 0; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section__eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section__title {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.12;
  text-wrap: balance;
  margin-bottom: 54px;
}

.section--dark { background: var(--ink-2); }

.section--paper {
  background: var(--paper);
  color: var(--ink);
}

/* ---------- bento-карточки преимуществ ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  position: relative;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover { transform: translateY(-6px); border-color: rgba(217, 164, 65, 0.45); }

.card > img:not(.card__icon) {
  width: 100%;
  height: 210px;
  object-fit: cover;
  filter: saturate(0.92);
}

.card--tall { grid-row: span 2; }
.card--tall > img:not(.card__icon) { height: 400px; }

.card__body { padding: 22px 24px 26px; }

.card__body h3 {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 10px;
}

.card__body p { font-size: 14.5px; color: var(--muted); }

.card--accent {
  background: linear-gradient(150deg, rgba(217,164,65,0.16) 0%, var(--ink-2) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.card__icon {
  width: 46px;
  height: 46px;
  margin: 26px 24px 0;
}

/* ---------- планировки ---------- */

.plans {
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
}

.plans__tabs {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
}

.plans__tab {
  flex: 1;
  min-width: 140px;
  padding: 20px 12px;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.plans__tab:hover { color: var(--white); }

.plans__tab.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
  background: rgba(217, 164, 65, 0.06);
}

.plans__panels { position: relative; }

.plan {
  display: none;
  grid-template-columns: 1.25fr 1fr;
  gap: 30px;
  padding: 40px;
  animation: planIn 0.45s ease;
}

.plan.active { display: grid; }

@keyframes planIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.plan__img {
  background: radial-gradient(80% 90% at 50% 45%, rgba(217,164,65,0.1) 0%, transparent 70%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.plan__img img { max-height: 460px; width: 100%; object-fit: contain; }

.plan__info { display: flex; flex-direction: column; justify-content: center; gap: 18px; align-items: flex-start; }

.plan__area {
  font-family: var(--display);
  font-size: 15px;
  color: var(--muted);
}

.plan__area b {
  font-size: 56px;
  font-weight: 700;
  color: var(--white);
  font-variant-numeric: tabular-nums;
  margin-right: 8px;
}

.plan__feats { display: flex; flex-direction: column; gap: 10px; }

.plan__feats li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
}

.plan__feats img { width: 26px; height: 26px; object-fit: contain; }

.plan__floors { font-size: 14.5px; color: var(--muted); }

.plan__floors .sold { color: #c96a52; }

.plan__price {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 700;
  color: var(--gold);
}

.plans__note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

/* ---------- сплит-секции ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.split__media img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: calc(var(--radius) + 6px);
}

.split__text .section__title { margin-bottom: 24px; }

.split__desc {
  font-size: 16px;
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: 30px;
}

.split--rev .split__media { order: 2; }
.split--rev .split__text { order: 1; }

.loc-list { margin: 0 0 22px; display: flex; flex-direction: column; gap: 14px; }

.loc-list li { display: flex; align-items: baseline; gap: 16px; }

.loc-list b {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
  min-width: 110px;
  font-variant-numeric: tabular-nums;
}

.loc-list span { font-size: 16px; color: rgba(255, 255, 255, 0.85); }

/* ---------- рассрочка ---------- */

.section--paper .section__eyebrow { color: var(--gold-deep); }

.terms__lead {
  max-width: 56ch;
  font-size: 17px;
  color: var(--muted-dark);
  margin: -28px 0 44px;
}

.terms {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.term {
  background: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.term:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(18, 21, 28, 0.1);
}

.term__years {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-dark);
}

.term__rate {
  display: block;
  font-family: var(--display);
  font-size: 52px;
  font-weight: 900;
  color: var(--ink);
  margin: 10px 0 4px;
  font-variant-numeric: tabular-nums;
}

.term:first-child .term__rate { color: var(--gold-deep); }

.term__note { font-size: 14px; color: var(--muted-dark); }

.banks { margin-top: 56px; }

.banks__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-dark);
  margin-bottom: 22px;
}

.banks__row {
  display: flex;
  align-items: center;
  gap: 46px;
  flex-wrap: wrap;
}

.banks__row img {
  height: 34px;
  width: auto;
  opacity: 0.75;
  transition: opacity 0.2s;
}

.banks__row img:hover { opacity: 1; }

/* ---------- карта ---------- */

.map { line-height: 0; }

.map iframe {
  width: 100%;
  height: 460px;
  border: 0;
  filter: grayscale(0.5) contrast(1.02);
}

/* ---------- CTA ---------- */

.cta {
  background:
    radial-gradient(60% 120% at 50% 0%, rgba(217, 164, 65, 0.14) 0%, transparent 60%),
    var(--ink-2);
  border-top: 1px solid var(--line);
  padding: 110px 24px;
}

.cta__inner { max-width: 660px; margin: 0 auto; text-align: center; }

.cta__title {
  font-family: var(--display);
  font-size: clamp(30px, 4.6vw, 54px);
  font-weight: 900;
  margin-bottom: 18px;
  text-wrap: balance;
}

.cta__sub { color: var(--muted); margin-bottom: 38px; }

.cta__form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
}

.telegram-form input {
  width: 100%;
  padding: 16px 22px;
  border-radius: 60px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-family: var(--body);
  font-size: 15px;
  transition: border-color 0.2s, background 0.2s;
}

.telegram-form input::placeholder { color: var(--muted); }

.telegram-form input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.1);
}

.cta__disclaimer { margin-top: 18px; font-size: 13px; color: var(--muted); }

/* ---------- футер ---------- */

.footer {
  background: var(--ink);
  border-top: 1px solid var(--line);
  padding: 46px 24px 30px;
}

.footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.footer__logo { height: 52px; width: auto; }

.footer__col p { font-size: 15px; color: rgba(255, 255, 255, 0.85); }

.footer__col a {
  font-family: var(--display);
  font-size: 14px;
  color: var(--gold);
}

.footer__col--right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer__col--right p { color: var(--muted); font-size: 13.5px; }

.footer__studio { height: 30px; width: auto; opacity: 0.8; }

.footer__legal {
  max-width: 1280px;
  margin: 26px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}

/* ---------- модалки ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 12, 17, 0.72);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.open { display: flex; }

.modal__card {
  position: relative;
  width: min(420px, 100%);
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  padding: 44px 40px 38px;
  text-align: center;
  animation: planIn 0.35s ease;
}

.modal__card h3 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 26px;
}

.modal__card .telegram-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal__card--done img { margin: 0 auto 18px; }
.modal__card--done p { color: var(--muted); margin-top: 8px; }

.modal__close {
  position: absolute;
  top: 14px; right: 18px;
  font-size: 16px;
  color: var(--muted);
  transition: color 0.2s;
}

.modal__close:hover { color: var(--white); }

/* ---------- анимации появления ---------- */

.reveal-load {
  opacity: 0;
  transform: translateY(26px);
  animation: rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--d, 0s);
}

@keyframes rise {
  to { opacity: 1; transform: none; }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-load { opacity: 1; transform: none; animation: none; transition: none; }
  .ticker__track { animation: none; }
  .hero__bg { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- адаптив ---------- */

@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .plan { grid-template-columns: 1fr; padding: 28px; }
  .plan__img img { max-height: 340px; }
  .split { gap: 36px; }
  .split__media img { height: 420px; }
}

@media (max-width: 820px) {
  .nav__links, .nav__tel { display: none; }

  .nav__burger {
    display: block;
    width: 44px;
    height: 44px;
    position: relative;
    margin-left: auto;
  }

  .nav__burger span,
  .nav__burger span::before,
  .nav__burger span::after {
    content: '';
    position: absolute;
    left: 10px;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: transform 0.3s, opacity 0.3s;
  }

  .nav__burger span { top: 21px; }
  .nav__burger span::before { top: -7px; left: 0; }
  .nav__burger span::after { top: 7px; left: 0; }

  .nav.menu-open .nav__burger span { background: transparent; }
  .nav.menu-open .nav__burger span::before { transform: translateY(7px) rotate(45deg); }
  .nav.menu-open .nav__burger span::after { transform: translateY(-7px) rotate(-45deg); }

  .nav.menu-open .nav__links {
    display: flex;
    position: fixed;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    background: rgba(18, 21, 28, 0.97);
    padding: 26px 24px 32px;
    gap: 20px;
    border-bottom: 1px solid var(--line);
  }

  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 26px 16px; }

  .split { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .split__media img { height: 320px; }

  .section { padding: 72px 0; }

  .terms { grid-template-columns: repeat(2, 1fr); }

  .cta__form { grid-template-columns: 1fr; }

  .footer__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  .bento { grid-template-columns: 1fr; }
  .card--tall > img:not(.card__icon) { height: 240px; }
  .stat__num { font-size: 30px; }
  .plan__area b { font-size: 42px; }
  .terms { grid-template-columns: 1fr; }
  .banks__row { gap: 28px; }
  .banks__row img { height: 26px; }
}

/* ================= v2.1: перестройка под прогрев ================= */

/* бейдж «Дом сдан» в hero */

.badge {
  display: inline-block;
  padding: 5px 14px;
  margin-right: 12px;
  background: rgba(217, 164, 65, 0.16);
  border: 1px solid rgba(217, 164, 65, 0.5);
  border-radius: 40px;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.1em;
  vertical-align: middle;
}

/* --- расположение: текст + большая карта --- */

.loc-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: stretch;
}

.loc-grid__text { display: flex; flex-direction: column; }

.loc-grid__text .split__desc { margin-bottom: 26px; }

.loc-grid__text .loc-list { margin-bottom: 30px; }

.loc-grid__media { margin-top: auto; }

.loc-grid__media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
}

.loc-grid__map {
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 540px;
  line-height: 0;
}

.loc-grid__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.45) contrast(1.02);
}

/* --- финансы: три карточки --- */

.finance {
  display: grid;
  grid-template-columns: 1fr 1.12fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.fin-card {
  background: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: calc(var(--radius) + 4px);
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fin-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 44px rgba(18, 21, 28, 0.12);
}

.fin-card--hero {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
  box-shadow: 0 22px 54px rgba(18, 21, 28, 0.28);
}

.fin-card__tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-dark);
  margin-bottom: 12px;
}

.fin-card__tag--gold { color: var(--gold); }

.fin-card h3 {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 22px;
}

.fin-card__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}

.fin-card__list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  border-bottom: 1px dashed var(--line-dark);
  padding-bottom: 10px;
}

.fin-card--hero .fin-card__list li { border-bottom-color: var(--line); }

.fin-card__list b {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  color: var(--gold-deep);
  min-width: 84px;
  font-variant-numeric: tabular-nums;
}

.fin-card--hero .fin-card__list b { color: var(--gold); }

.fin-card__list span { font-size: 14.5px; color: var(--muted-dark); }

.fin-card--hero .fin-card__list span { color: var(--muted); }

.fin-card__note {
  margin-top: auto;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted-dark);
}

.fin-card--hero .fin-card__note { color: var(--muted); }

.plans__note--dark { color: var(--muted-dark); }

/* --- FAQ --- */

.container--narrow { max-width: 880px; }

.faq { display: flex; flex-direction: column; gap: 12px; }

.faq__item {
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.faq__item[open] { border-color: rgba(217, 164, 65, 0.45); }

.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 24px;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 500;
  position: relative;
  user-select: none;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
  content: '+';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--gold);
  transition: transform 0.25s ease;
}

.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.faq__item p {
  padding: 0 24px 22px;
  font-size: 15px;
  color: var(--muted);
  max-width: 68ch;
}

/* --- адаптив v2.1 --- */

@media (max-width: 1024px) {
  .finance { grid-template-columns: 1fr; }
  .fin-card--hero { order: -1; }
}

@media (max-width: 900px) {
  .loc-grid { grid-template-columns: 1fr; }
  .loc-grid__map { min-height: 380px; }
  .loc-grid__media img { height: 200px; }
}

@media (max-width: 820px) {
  .nav__logo { height: 52px; }
  .nav.scrolled .nav__logo { height: 46px; }
}

.footer__privacy { font-size: 13px; color: var(--muted); }
.footer__privacy:hover { color: var(--gold); }

/* мобильный hero: лёгкая версия картинки */
@media (max-width: 700px) {
  .hero__bg { background-image: url("../img/main/hero-m.jpg"); background-position: center 25%; }
}
