:root {
  --navy-900: #16233B;
  --navy-800: #1B2E4D;
  --blue-600: #2F5496;
  --blue-500: #3E68B0;
  --amber-500: #E2792A;
  --amber-600: #C7621B;
  --paper: #F3F5F8;
  --paper-alt: #E9EDF3;
  --ink: #16202B;
  --ink-soft: #4A5568;
  --line: #DCE3EC;
  --white: #FFFFFF;
  --radius: 10px;
}

* { box-sizing: border-box; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

h1, h2, h3, .display-font {
  font-family: "Manrope", "Inter", sans-serif;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1.15; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: .9rem; }
h3 { font-size: 1.15rem; margin-bottom: .5rem; }

p { max-width: 68ch; color: var(--ink-soft); }
.lead-answer { font-size: 1.15rem; color: var(--ink); max-width: 62ch; }

a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--amber-600); text-decoration: underline; }

/* ---- Top info bar ---- */
.topbar {
  background: var(--navy-900);
  color: #C9D4E8;
  font-size: .875rem;
}
.topbar a { color: #fff; font-weight: 600; }
.topbar a:hover { color: var(--amber-500); }

/* ---- Navbar ---- */
.navbar-custom {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.navbar-custom .navbar-brand {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  color: var(--navy-900);
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.navbar-custom .navbar-brand img { height: 40px; width: 40px; border-radius: 9px; }
.navbar-custom .nav-link {
  color: var(--ink);
  font-weight: 600;
  font-size: .95rem;
}
.navbar-custom .nav-link.active,
.navbar-custom .nav-link:hover { color: var(--blue-600); }
.navbar-custom .dropdown-toggle::after { vertical-align: .1em; }
.navbar-custom .dropdown-menu {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(22,35,59,.14);
  padding: .5rem;
  margin-top: .5rem;
}
.navbar-custom .dropdown-item {
  border-radius: 6px;
  padding: .55rem .75rem;
  font-weight: 600;
  font-size: .92rem;
  color: var(--ink);
}
.navbar-custom .dropdown-item:hover,
.navbar-custom .dropdown-item.active {
  background: var(--paper-alt);
  color: var(--blue-600);
}

.btn-cta {
  background: var(--amber-500);
  border: none;
  color: var(--white);
  font-weight: 700;
  padding: .6rem 1.3rem;
  border-radius: var(--radius);
}
.btn-cta:hover { background: var(--amber-600); color: var(--white); }

.btn-outline-navy {
  border: 1.5px solid var(--navy-900);
  color: var(--navy-900);
  font-weight: 700;
  padding: .55rem 1.25rem;
  border-radius: var(--radius);
  background: transparent;
}
.btn-outline-navy:hover { background: var(--navy-900); color: var(--white); }

/* ---- Hero ---- */
.hero {
  background: var(--navy-900);
  color: var(--white);
  padding: 3.5rem 0;
}
.hero h1 { color: var(--white); }
.hero .lead-answer { color: #D7E0EE; }
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.15);
}
.hero-stats > div { flex: 1 1 160px; min-width: 160px; }
.hero-stats .stat-num {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--amber-500);
  display: block;
}
.hero-stats .stat-label { display: block; margin-top: .2rem; font-size: .85rem; color: #B9C6DC; }

/* ---- AI / Neuro answer capsule ----
   Self-contained, quotable fact block placed right after the lead answer:
   names the subject explicitly, states one concrete price fact, and repeats
   phone/hours as plain text — built to be lifted whole by an answer engine
   (Yandex Neuro, AI Overviews, LLM crawlers) without needing surrounding context. */
.ai-capsule {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-top: 1.5rem;
  max-width: 62ch;
}
.ai-capsule p { color: var(--white); margin: 0 0 .5rem; max-width: none; font-size: .98rem; }
.ai-capsule p:last-child { margin-bottom: 0; }
.ai-capsule dl { display: grid; grid-template-columns: auto 1fr; gap: .25rem .75rem; margin: 0; font-size: .92rem; }
.ai-capsule dt { color: #9DAFC9; font-weight: 600; }
.ai-capsule dd { color: var(--white); margin: 0; }
.ai-capsule a { color: var(--amber-500); }
.ai-capsule a:hover { color: #fff; }

/* ---- Breadcrumb ---- */
.breadcrumb-bar { background: var(--paper-alt); border-bottom: 1px solid var(--line); font-size: .875rem; }
.breadcrumb { margin-bottom: 0; padding: .6rem 0; }

/* ---- Sections ---- */
.section { padding: 3rem 0; }
.section-alt { background: var(--white); }

/* ---- Service cards (home) ---- */
.service-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  height: 100%;
  background: var(--white);
  transition: border-color .15s ease;
}
.service-card:hover { border-color: var(--blue-600); }
.service-card h3 a { color: var(--navy-900); }
.service-card h3 a:hover { color: var(--blue-600); text-decoration: none; }
.service-card p { margin-bottom: .75rem; font-size: .95rem; }

/* ---- Process steps ---- */
.step {
  border-left: 3px solid var(--amber-500);
  padding-left: 1.1rem;
}
.step .step-num {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  color: var(--blue-600);
  font-size: .9rem;
}

/* ---- Tariff table ---- */
.tariff-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.tariff-table th {
  text-align: left;
  background: var(--navy-900);
  color: var(--white);
  padding: .7rem .9rem;
  font-weight: 700;
}
.tariff-table td { padding: .7rem .9rem; border-bottom: 1px solid var(--line); }
.tariff-table tr:nth-child(even) td { background: var(--paper-alt); }
.tariff-table .price { font-weight: 700; color: var(--navy-900); white-space: nowrap; }
.tariff-note { font-size: .85rem; color: var(--ink-soft); margin-top: .6rem; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }

/* ---- FAQ (Bootstrap accordion re-themed) ---- */
.accordion-item { border: 1px solid var(--line); margin-bottom: .6rem; border-radius: var(--radius) !important; overflow: hidden; }
.accordion-button { font-weight: 700; color: var(--navy-900); background: var(--white); }
.accordion-button:not(.collapsed) { background: var(--paper-alt); color: var(--blue-600); box-shadow: none; }
.accordion-button:focus { box-shadow: none; border-color: var(--line); }

/* ---- Fleet gallery (own vehicles / containers) ---- */
.fleet-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; }
.fleet-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; text-align: center; }
.fleet-item img { width: 100%; height: 130px; object-fit: contain; background: var(--paper-alt); display: block; }
.fleet-item .fleet-caption { padding: .6rem .5rem; font-size: .85rem; font-weight: 600; color: var(--navy-900); }
.fleet-note { font-size: .82rem; color: var(--ink-soft); margin-top: .75rem; }

.related-links { columns: 2; column-gap: 2rem; list-style: none; padding-left: 0; }
.related-links li { margin-bottom: .5rem; break-inside: avoid; }

/* ---- Map embed (Контакты) ---- */
.map-frame { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }

/* ---- District cards ---- */
.district-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.3rem; background: var(--white); height: 100%; }
.district-card h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.district-card .metro { font-size: .82rem; color: var(--ink-soft); }

/* ---- Final CTA band ---- */
.cta-band { background: var(--blue-600); color: var(--white); padding: 2.5rem 0; text-align: center; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: #E4EAF5; max-width: none; margin-left: auto; margin-right: auto; }
.cta-band .btn-cta { font-size: 1.05rem; }

/* ---- Footer ---- */
.site-footer { background: var(--navy-900); color: #B9C6DC; padding: 2.5rem 0 1.25rem; font-size: .9rem; }
.site-footer p { color: #B9C6DC; max-width: none; }
.site-footer h4 { color: var(--white); font-size: 1rem; font-family: "Manrope", sans-serif; margin-bottom: .8rem; }
.site-footer a { color: #C9D4E8; }
.site-footer a:hover { color: var(--amber-500); }
.site-footer .footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 1.75rem; padding-top: 1.25rem; font-size: .8rem; color: #8A9AB5; }

@media (max-width: 767px) {
  .related-links { columns: 1; }
  .hero { padding: 2.5rem 0; }
  .hero-stats { gap: 1.25rem; }
}
