:root {
  --bg: #efefef;
  --bg-soft: #f7f7f7;
  --card: rgba(255,255,255,0.96);
  --line: #dfdfdf;
  --text: #2f3137;
  --muted: #71757f;
  --accent: #ef8f43;
  --accent-strong: #ff7f1f;
  --accent-red: #ef3b2d;
  --brand: #3f2f98;
  --shadow: 0 18px 42px rgba(0,0,0,0.08);
  --shadow-soft: 0 10px 24px rgba(0,0,0,0.06);
  --radius: 22px;
  --radius-sm: 12px;
  --sidebar: 280px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f4f4f4 0%, #ececec 100%);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }

.container { width: min(calc(100% - 32px), var(--container)); margin: 0 auto; }
.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;
}

.topline {
  background: linear-gradient(180deg, var(--accent) 0%, #ef964f 100%);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.35);
}
.topline__inner {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.topline__group {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.meta {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .01em;
}
.meta.is-muted {
  opacity: .94;
  font-weight: 600;
}
.order-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 9px;
  background: var(--accent-red);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(239,59,45,0.18);
}

.layout {
  display: flex;
  min-height: calc(100vh - 58px);
}
.sidebar {
  width: var(--sidebar);
  flex: 0 0 var(--sidebar);
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 18px;
  background: #f3f3f3;
  border-right: 1px solid var(--line);
}
.main {
  flex: 1;
  min-width: 0;
}
.card,
.hero,
.section-card,
.side-card,
.menu-card,
.info-card,
.stat-card,
.table-card,
.faq-item,
.contact-card,
.timeline-card {
  background: var(--card);
  border: 1px solid #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.side-card,
.menu-card,
.section-card,
.info-card,
.stat-card,
.table-card,
.faq-item,
.contact-card,
.timeline-card { padding: 22px; }
.side-card + .menu-card,
.menu-card + .side-card,
.side-card + .side-card { margin-top: 16px; }
.logo-square {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #fff;
  font: 30px/1 'Russo One', sans-serif;
  box-shadow: 0 12px 24px rgba(239,143,67,0.28);
}
.side-title {
  margin: 14px 0 6px;
  font-size: 24px;
  font-weight: 800;
}
.side-text,
.footer-note,
.contact-line,
.timeline-card p,
.info-card p,
.stat-card p,
.table-card p,
.faq-item p { margin: 0; color: var(--muted); line-height: 1.72; }
.side-note {
  color: var(--muted);
  line-height: 1.75;
}
.side-note strong { color: var(--text); }
.menu-label {
  margin-bottom: 8px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  font-weight: 800;
}
.menu {
  display: grid;
  gap: 6px;
}
.menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  font-weight: 700;
  color: #5c6068;
  transition: background-color .2s ease, transform .2s ease, color .2s ease;
}
.menu a:hover,
.menu a.is-active {
  color: var(--text);
  background: linear-gradient(90deg, rgba(239,143,67,0.18), rgba(239,143,67,0.05));
}
.menu a:active { transform: translateY(1px); }
.menu .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  flex: 0 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245,245,245,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner {
  min-height: 82px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
}
.top-title {
  text-align: center;
  min-width: 0;
}
.top-title h1 {
  margin: 0;
  font: 32px/1 'Russo One', sans-serif;
  letter-spacing: .08em;
  color: var(--brand);
}
.top-title p {
  margin: 5px 0 0;
  color: #565963;
  font-size: 16px;
}
.top-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
  white-space: nowrap;
}
.menu-toggle {
  border: 0;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-strong) 100%);
  box-shadow: 0 10px 24px rgba(239,143,67,0.28);
}
.menu-toggle {
  width: 52px;
  height: 52px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border-radius: 12px;
}
.menu-toggle span {
  display: block;
  background: #fff;
  border-radius: 999px;
}
.menu-toggle span {
  width: 24px;
  height: 2px;
}

.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0 auto 0 0;
  width: min(84vw, 320px);
  padding: 18px;
  background: #f3f3f3;
  border-right: 1px solid var(--line);
  z-index: 80;
  transform: translateX(-104%);
  transition: transform .22s ease;
  overflow-y: auto;
}
.mobile-drawer.is-open { transform: translateX(0); }
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.28);
  z-index: 70;
}
.mobile-overlay.is-visible { display: block; }

.page { padding: 26px 0 60px; }
.hero {
  padding: 28px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}
.logo-wrap { text-align: center; }
.brand-name {
  margin: 0;
  color: var(--brand);
  font: clamp(72px, 10vw, 112px)/.95 'Russo One', sans-serif;
  letter-spacing: .03em;
}
.brand-sub {
  margin: 10px 0 18px;
  color: var(--brand);
  font-size: clamp(15px, 2.2vw, 20px);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.phone-note {
  margin: 0;
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 400;
  color: #3e4048;
}
.phone-number {
  margin-top: 14px;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 300;
  color: #2c2e34;
  letter-spacing: .01em;
  overflow-wrap: anywhere;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 10px;
  border: 0;
  font-weight: 800;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-strong) 100%);
  box-shadow: 0 12px 24px rgba(239,143,67,0.22);
}
.btn-secondary {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
}
.breadcrumbs {
  margin-top: 22px;
  color: #797c85;
  font-size: 17px;
}
.breadcrumbs .link { color: #4e86be; }

.section { margin-top: 28px; }
.section-title {
  margin: 0 0 18px;
  text-align: center;
  color: #5a5d66;
  font-size: clamp(40px, 5vw, 76px);
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: .03em;
}
.section-lead {
  max-width: 980px;
  margin: 0 auto 16px;
  text-align: center;
  color: var(--accent);
  font-size: clamp(22px, 4vw, 50px);
  line-height: 1.42;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.section-text {
  max-width: 920px;
  margin: 0 auto 24px;
  text-align: center;
  color: var(--muted);
  line-height: 1.8;
  font-size: 18px;
}
.grid-2,
.grid-3,
.stats,
.footer-grid,
.contacts-grid,
.timeline-grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.footer-grid { grid-template-columns: 2fr 1fr 1fr; }
.contacts-grid { grid-template-columns: 1.2fr .8fr; }
.timeline-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.info-card h3,
.table-card h3,
.contact-card h3,
.timeline-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
}
.stat-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 40px;
}
.list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.list li {
  position: relative;
  padding-left: 22px;
  color: #5f626b;
  line-height: 1.68;
}
.list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .58em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}
.table-card table {
  width: 100%;
  border-collapse: collapse;
}
.table-card th,
.table-card td {
  padding: 14px 10px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.table-card th {
  width: 38%;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.table-card tr:last-child th,
.table-card tr:last-child td { border-bottom: 0; }
.faq {
  display: grid;
  gap: 12px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary { color: var(--brand); }
.faq-item p { margin-top: 12px; }
.contact-line + .contact-line { margin-top: 8px; }
.timeline-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #fff;
  font-weight: 800;
}

.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #fff;
  font-size: 24px;
  box-shadow: 0 14px 28px rgba(239,143,67,0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
  z-index: 60;
}
.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .sidebar { display: none; }
  .mobile-drawer { display: block; }
  .menu-toggle { display: inline-flex; }
}

@media (max-width: 980px) {
  .grid-3,
  .grid-2,
  .stats,
  .footer-grid,
  .contacts-grid,
  .timeline-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .topline__inner { min-height: 52px; }
  .topbar__inner { min-height: 74px; }
  .top-title h1 { font-size: 24px; }
  .top-title p { font-size: 14px; }
  .hero { padding: 22px 18px; }
  .hero-grid { grid-template-columns: 1fr; }
  .section-card,
  .info-card,
  .stat-card,
  .table-card,
  .faq-item,
  .contact-card,
  .timeline-card { padding: 20px; }
  .section-title { font-size: 38px; }
  .section-text { font-size: 17px; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 20px), var(--container)); }
  .topline__group .meta.is-muted,
  .top-pill { display: none; }
  .meta { font-size: 13px; }
  .brand-name { font-size: 52px; }
  .phone-note { font-size: 20px; }
  .phone-number { font-size: 38px; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .section-title { font-size: 32px; }
  .section-lead { font-size: 18px; }
  .breadcrumbs { font-size: 15px; }
  .to-top {
    width: 52px;
    height: 52px;
    right: 14px;
    bottom: 14px;
  }
}

@media (max-width: 420px) {
  .brand-name { font-size: 44px; }
  .phone-number { font-size: 32px; }
  .order-btn { min-height: 38px; padding: 0 14px; font-size: 13px; }
}
