/* ============================================================
   Sila v Pravde — лендинг «Банкротство физлиц в Узбекистане»
   Тёплая низконасыщенная палитра, mobile-first, без библиотек.
   ============================================================ */

:root {
  --ivory:      #FAF7F2;
  --paper:      #FFFDF9;
  --emerald:    #14532d;
  --emerald-dk: #1a3c34;
  --amber:      #b45309;
  --amber-soft: #d4a24e;
  --graphite:   #292524;
  --muted:      #57534e;
  --line:       #e7e0d4;
  --radius:     14px;
  --shadow:     0 6px 24px rgba(26, 60, 52, .08);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--graphite);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--emerald); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--emerald-dk);
  line-height: 1.2;
  font-weight: 700;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

section { padding: 56px 0; }

.section-title {
  font-size: 1.7rem;
  text-align: center;
  margin-bottom: 12px;
}

.section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 36px;
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-block;
  min-height: 52px;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn:hover { text-decoration: none; }

.btn-amber {
  background: var(--amber);
  color: #fff;
}
.btn-amber:hover { background: #8f4207; color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--emerald);
  border-color: var(--emerald);
}
.btn-outline:hover { background: var(--emerald); color: #fff; }

.btn-white {
  background: #fff;
  color: var(--emerald-dk);
}
.btn-white:hover { background: var(--amber-soft); color: var(--emerald-dk); }

.btn-block { display: block; width: 100%; }

/* ---------- Шапка ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, .96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.logo { line-height: 1.15; }
.logo:hover { text-decoration: none; }
.logo-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .06em;
  color: var(--emerald-dk);
  display: block;
}
.logo-tag {
  display: block;
  font-size: .68rem;
  color: var(--amber);
  letter-spacing: .03em;
}

.header-contacts { display: flex; align-items: center; gap: 16px; }

.header-phone {
  font-weight: 700;
  font-size: .95rem;
  color: var(--emerald-dk);
  white-space: nowrap;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
}
.header-phone:hover { color: var(--amber); text-decoration: none; }

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  font-size: .85rem;
  font-weight: 600;
}
.lang-switch a, .lang-switch span {
  padding: 8px 12px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
}
.lang-switch a:hover { background: var(--emerald); color: #fff; text-decoration: none; }
.lang-switch .active { background: var(--emerald); color: #fff; }

/* Навигация */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
}
.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 8px 12px;
  color: var(--graphite);
  font-weight: 500;
  border-radius: 8px;
}
.main-nav a:hover { color: var(--emerald); text-decoration: none; background: rgba(20, 83, 45, .06); }

.burger {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--emerald-dk);
  transition: transform .25s ease, opacity .25s ease;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--emerald-dk) 0%, var(--emerald) 100%);
  color: #f4f1ea;
  padding: 72px 0 64px;
}
.hero h1 {
  color: #fdfbf6;
  font-size: 2rem;
  max-width: 760px;
  margin-bottom: 18px;
}
.hero .lead {
  font-size: 1.1rem;
  color: #e9e2d2;
  max-width: 620px;
  margin-bottom: 30px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero .btn-outline { color: #fdfbf6; border-color: rgba(255,255,255,.65); }
.hero .btn-outline:hover { background: #fff; color: var(--emerald-dk); }

.trust-badges {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 860px;
}
.trust-badge {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: .95rem;
  display: flex;
  align-items: center;
  gap: 12px;
}
.trust-badge .ico { font-size: 1.4rem; line-height: 1; }

/* ---------- Карточки «Кому подходит» ---------- */
.grid { display: grid; gap: 18px; grid-template-columns: 1fr; }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow);
}
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .97rem; }
.card .card-ico {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(212, 162, 78, .16);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 14px;
}

/* ---------- Шаги ---------- */
.steps { counter-reset: step; }
.step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px 24px 74px;
  position: relative;
  margin-bottom: 16px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 22px; top: 24px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--emerald);
  color: #fff;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .95rem; }

/* ---------- Квиз ---------- */
.quiz-section { background: #f3eee3; }

.quiz-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  max-width: 640px;
  margin: 0 auto;
  padding: 30px 24px 26px;
}

.quiz-progress {
  height: 8px;
  background: var(--line);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 8px;
}
.quiz-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--amber);
  border-radius: 8px;
  transition: width .35s ease;
}
.quiz-progress-label {
  font-size: .8rem;
  color: var(--muted);
  margin-bottom: 22px;
}

.quiz-step { display: none; }
.quiz-step.active { display: block; animation: fadeIn .3s ease; }

.quiz-step h3 { font-size: 1.2rem; margin-bottom: 18px; }

.quiz-options { display: grid; gap: 12px; }
.quiz-option {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 13px 18px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: var(--ivory);
  font-size: 1rem;
  font-weight: 500;
  color: var(--graphite);
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: border-color .2s ease, background .2s ease;
}
.quiz-option:hover, .quiz-option.selected {
  border-color: var(--emerald);
  background: rgba(20, 83, 45, .05);
}

.quiz-field { margin-bottom: 14px; }
.quiz-field label {
  display: block;
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.quiz-field input, .quiz-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 2px solid var(--line);
  border-radius: 10px;
  font-size: 1rem;
  font-family: var(--sans);
  background: var(--ivory);
  color: var(--graphite);
}
.quiz-field textarea { min-height: 110px; resize: vertical; }
.quiz-field input:focus, .quiz-field textarea:focus {
  outline: none;
  border-color: var(--emerald);
}

.quiz-nav { display: flex; gap: 12px; margin-top: 20px; }
.quiz-nav .btn { flex: 1; }

.quiz-note {
  text-align: center;
  font-size: .85rem;
  color: var(--muted);
  margin-top: 16px;
}

.quiz-error {
  display: none;
  color: #9a3412;
  background: #fdf1e7;
  border: 1px solid #f0c9a8;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: .9rem;
  margin-top: 14px;
}
.quiz-error.show { display: block; }

.quiz-thanks { text-align: center; padding: 20px 0; }
.quiz-thanks .thanks-ico { font-size: 3rem; margin-bottom: 12px; }
.quiz-thanks h3 { font-size: 1.4rem; margin-bottom: 10px; }
.quiz-thanks p { color: var(--muted); }

.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- Блок «Законно ли это» ---------- */
.legal-block {
  background: var(--emerald-dk);
  color: #efe9da;
  border-radius: 18px;
  padding: 38px 26px;
}
.legal-block h2 { color: #fdfbf6; margin-bottom: 18px; font-size: 1.5rem; }
.legal-block ul { list-style: none; display: grid; gap: 14px; }
.legal-block li {
  padding-left: 34px;
  position: relative;
  font-size: .98rem;
}
.legal-block li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--amber-soft);
  color: var(--emerald-dk);
  font-weight: 700;
  font-size: .85rem;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- FAQ ---------- */
.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px;
  background: none;
  border: none;
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--emerald-dk);
  text-align: left;
  cursor: pointer;
}
.faq-q .faq-arrow {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(212, 162, 78, .2);
  color: var(--amber);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  transition: transform .25s ease;
}
.faq-item.open .faq-q .faq-arrow { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq-a-inner { padding: 0 20px 18px; color: var(--muted); font-size: .96rem; }

/* ---------- Кейсы ---------- */
.case-card .case-amount {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 8px;
}
.cases-disclaimer {
  text-align: center;
  font-size: .85rem;
  color: var(--muted);
  margin-top: 22px;
  font-style: italic;
}

/* ---------- Контакты ---------- */
.contacts-grid { display: grid; gap: 26px; grid-template-columns: 1fr; }

.contact-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.contact-row .ico {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(20, 83, 45, .08);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.contact-row .label { font-size: .82rem; color: var(--muted); }
.contact-row .value { font-weight: 600; font-size: 1.02rem; }
.contact-row .value a { color: var(--emerald-dk); }
.contact-row .value a:hover { color: var(--amber); }

.messengers { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 26px; }
.messenger-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}
.messenger-btn:hover { text-decoration: none; opacity: .92; color: #fff; }
.messenger-btn.tg2 { background: #4a7a96; }
.messenger-btn.tg { background: #2f6f8f; }

.map-frame {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- Контактная форма ---------- */
.contact-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 28px 24px;
}
.contact-form h3 { font-size: 1.25rem; margin-bottom: 6px; }
.contact-form .form-sub { color: var(--muted); font-size: .92rem; margin-bottom: 20px; }
.form-success {
  display: none;
  background: rgba(20, 83, 45, .08);
  border: 1px solid rgba(20, 83, 45, .25);
  color: var(--emerald-dk);
  border-radius: 10px;
  padding: 12px 16px;
  margin-top: 14px;
  font-size: .95rem;
}
.form-success.show { display: block; }
.form-consent { font-size: .8rem; color: var(--muted); margin-top: 12px; }
.form-consent a { color: var(--muted); text-decoration: underline; }

/* ---------- Футер ---------- */
.site-footer {
  background: var(--emerald-dk);
  color: #d8d2c2;
  padding: 40px 0 26px;
  font-size: .9rem;
}
.footer-grid { display: grid; gap: 24px; grid-template-columns: 1fr; margin-bottom: 26px; }
.footer-logo .logo-name { color: #fdfbf6; }
.footer-logo .logo-tag { color: var(--amber-soft); }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a { color: #d8d2c2; }
.footer-links a:hover { color: var(--amber-soft); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14);
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  font-size: .8rem;
  color: #a9a291;
}

/* ---------- Анимация появления ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

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

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

/* ---------- Планшет ---------- */
@media (min-width: 600px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .trust-badges { grid-template-columns: repeat(3, 1fr); }
  .hero h1 { font-size: 2.4rem; }
  section { padding: 72px 0; }
}

/* ---------- Десктоп ---------- */
@media (min-width: 900px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .contacts-grid { grid-template-columns: 1.1fr .9fr; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .hero h1 { font-size: 2.8rem; }
  .section-title { font-size: 2rem; }
  .legal-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
  .legal-block { padding: 44px 40px; }
}

/* ---------- Мобильная навигация ---------- */
@media (max-width: 899px) {
  .burger { display: flex; }
  .main-nav {
    position: fixed;
    top: 64px;
    left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 30px rgba(26, 60, 52, .12);
    transform: translateY(-130%);
    transition: transform .3s ease;
    z-index: 99;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav ul { flex-direction: column; padding: 12px 20px 20px; gap: 2px; }
  .main-nav a { display: flex; width: 100%; }
  .header-phone .phone-label { display: none; }
}

@media (max-width: 480px) {
  .hero { padding: 52px 0 48px; }
  .hero-cta .btn { width: 100%; }
  .step { padding-left: 66px; }
  .logo-name { font-size: .82rem; letter-spacing: .03em; }
  .logo-tag { font-size: .58rem; }
  .logo { max-width: 118px; }
  .header-phone { font-size: .8rem; }
  .lang-switch a, .lang-switch span { padding: 8px 9px; }
}

/* Горячая линия в футере + способы оплаты */
.hotline-box { margin-top: 16px; padding: 14px 16px; border: 1px solid rgba(176,140,46,.5); border-radius: 10px; display: inline-block; }
.hotline-label { display:block; font-size: .72rem; letter-spacing: .08em; color: #b08c2e; font-weight: 700; }
.hotline-num { display:block; font-size: 1.45rem; font-weight: 700; color: #fff; text-decoration: none; margin: 4px 0 2px; }
.hotline-sub { font-size: .8rem; opacity: .75; }
.pay-row { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin: 18px 0 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.12); }
.pay-label { font-size:.85rem; opacity:.75; margin-right:4px; }
.pay-badge { padding:4px 10px; border-radius:6px; background: rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.18); font-size:.78rem; font-weight:600; }
.pay-cash { background: rgba(176,140,46,.2); border-color: rgba(176,140,46,.5); }
.footer-social a { color:#e8cf8a; }

/* === HOTLINE BANNER + PAY LOGOS v2 === */
.hotline-banner { margin-top: 18px; padding: 20px 26px; border-radius: 14px; background: linear-gradient(135deg, #1c4636 0%, #2e8a5e 100%); border: 2px solid #b08c2e; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; justify-content: space-between; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.hotline-banner .hl-left { display: flex; flex-direction: column; }
.hotline-banner .hotline-label { font-size: .78rem; letter-spacing: .14em; color: #e8cf8a; font-weight: 700; text-transform: uppercase; }
.hotline-banner .hotline-num { font-size: 2rem; font-weight: 800; color: #fff; text-decoration: none; line-height: 1.1; margin: 6px 0 4px; }
.hotline-banner .hotline-sub { font-size: .85rem; color: rgba(255,255,255,.85); }
.hotline-banner .hl-flag { width: 66px; height: 44px; border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 2px 8px rgba(0,0,0,.3); flex: 0 0 auto; }
.hl-flag span { flex: 1; }
.pay-row { margin: 20px 0 16px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.15); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pay-label { font-size: .9rem; opacity: .8; margin-right: 6px; }
.pay-logo { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 8px; font-weight: 800; font-size: .85rem; color: #fff; letter-spacing: .02em; }
.pay-logo.payme { background: #00b9b9; }
.pay-logo.click { background: linear-gradient(90deg,#2f76ff,#00c2ff); }
.pay-logo.uzcard { background: #3aaa35; }
.pay-logo.humo { background: #6a3db5; }
.pay-logo.visa { background: #1a1f71; font-style: italic; letter-spacing: .08em; }
.pay-logo.mc { background: #2b2b2b; }
.pay-logo.mc i { display:inline-block; width:16px; height:16px; border-radius:50%; margin-right:-6px; }
.pay-logo.mc i:first-child { background:#eb001b; }
.pay-logo.mc i:last-child { background:#f79e1b; opacity:.95; }
.pay-logo.cash { background: rgba(232,207,138,.18); border: 1px solid #b08c2e; color: #e8cf8a; }

.hotline-box { display: none; }

/* Статистика ГК */
.stats-strip { background: #122b22; padding: 26px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.stat b { display: block; font-size: 2.1rem; color: #e8cf8a; font-weight: 800; }
.stat span { font-size: .82rem; color: rgba(255,255,255,.85); line-height: 1.35; display: block; margin-top: 4px; }
@media (max-width: 760px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
/* Модалка городов */
.city-modal { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.city-box { background: #fff; border-radius: 16px; padding: 28px; max-width: 520px; width: 100%; position: relative; max-height: 85vh; overflow: auto; }
.city-box h3 { color: #122b22; margin-bottom: 14px; }
.city-close { position: absolute; top: 10px; right: 14px; background: none; border: none; font-size: 1.6rem; cursor: pointer; color: #666; }
.city-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.city-grid a { padding: 10px 14px; border: 1px solid #d8d2c2; border-radius: 8px; text-decoration: none; color: #122b22; font-weight: 600; }
.city-grid a:hover { border-color: #b08c2e; background: #faf6ea; }
.city-here { color: #1eb53a; font-size: .8rem; }
.city-soon { color: #999; font-size: .78rem; font-weight: 400; }
.city-note { margin-top: 12px; font-size: .85rem; color: #666; }

/* КРИТИЧНО: hidden должен скрывать модалку даже при display:flex */
.city-modal[hidden] { display: none !important; }
/* Акцентная кнопка Telegram-бота в шапке */
.btn-tg { display: inline-flex; align-items: center; gap: 8px; background: #229ED9; color: #fff !important; border-radius: 10px; padding: 10px 16px; font-weight: 700; text-decoration: none; }
.btn-tg:hover { background: #1b8ac0; }
.btn-tg svg { flex: 0 0 auto; }

/* === TOPBAR + компактная шапка === */
.topbar { background: #122b22; padding: 7px 0; font-size: .85rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; }
.topbar-city { color: #e8cf8a; text-decoration: none; font-weight: 600; }
.topbar-right { display: flex; align-items: center; gap: 14px; }
.topbar-tg { color: #fff; text-decoration: none; display: inline-flex; }
.topbar-tg:hover { color: #e8cf8a; }
.topbar-phone { color: #fff; text-decoration: none; font-weight: 700; }
.btn-cta { background: #b08c2e; color: #fff !important; border-radius: 10px; padding: 10px 18px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.btn-cta:hover { background: #96751f; }
.btn-tg-icon { padding: 10px 12px; }
/* выпадающее меню */
.nav-drop { position: relative; }
.drop-menu { display: none; position: absolute; top: 100%; left: 0; background: #fff; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.15); padding: 8px 0; min-width: 170px; z-index: 50; list-style: none; }
.nav-drop:hover .drop-menu { display: block; }
.drop-menu li a { display: block; padding: 9px 18px; color: #122b22; text-decoration: none; font-weight: 600; }
.drop-menu li a:hover { background: #faf6ea; color: #b08c2e; }
@media (max-width: 980px) { .topbar-phone { display: none; } }

/* ФИКС подменю: общий .main-nav ul{display:flex} перебивал скрытие — повышаем специфичность */
.main-nav li.nav-drop ul.drop-menu { display: none; position: absolute; top: 100%; left: 0; background: #fff; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.15); padding: 8px 0; min-width: 180px; z-index: 60; list-style: none; }
.main-nav li.nav-drop:hover ul.drop-menu,
.main-nav li.nav-drop:focus-within ul.drop-menu { display: block; }
.main-nav li.nav-drop ul.drop-menu li { display: block; }
.main-nav li.nav-drop ul.drop-menu li a { display: block; padding: 9px 18px; color: #122b22; text-decoration: none; font-weight: 600; white-space: nowrap; }
