:root {
  --bg: #14171a;
  --bg-alt: #1b1f24;
  --card: #20252b;
  --card-border: #2c333b;
  --text: #f2f3f4;
  --text-muted: #a3aab3;
  --accent: #f5822a;
  --accent-dark: #d96a18;
  --accent-contrast: #14171a;
  --steel: #3b4652;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --container: 1160px;
  --header-h: 64px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 68px;
}

@media (min-width: 768px) {
  body { padding-bottom: 0; }
}

img, svg { display: block; max-width: 100%; }

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

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

h1, h2, h3 { font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; }

h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); margin-bottom: 12px; }

.section { padding: 56px 0; }
.section--alt { background: var(--bg-alt); }

.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-head { max-width: 640px; margin-bottom: 32px; }
.section-head p { color: var(--text-muted); font-size: 1.02rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn--primary { background: var(--accent); color: var(--accent-contrast); }
.btn--primary:hover { background: var(--accent-dark); }

.btn--outline { background: transparent; color: var(--text); border-color: var(--steel); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }

.btn--whatsapp { background: #25d366; color: #0b2013; }
.btn--whatsapp:hover { background: #1fb857; }

.btn--telegram { background: #29a9eb; color: #0b2130; }
.btn--telegram:hover { background: #1f92cc; }

.btn--sm { padding: 9px 12px; font-size: 0.84rem; }
.btn--block { width: 100%; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(20, 23, 26, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--card-border);
  height: var(--header-h);
}
.header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.logo span { color: var(--accent); }

.header-contacts { display: flex; align-items: center; gap: 10px; }
@media (min-width: 480px) {
  .header-contacts { gap: 14px; }
}
.header-phone {
  display: none;
  font-weight: 700;
  font-size: 1rem;
}
@media (min-width: 640px) {
  .header-phone { display: inline-flex; align-items: center; gap: 6px; }
}
.header-icons { display: none; align-items: center; gap: 8px; }
@media (min-width: 480px) {
  .header-icons { display: flex; }
}
.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }

/* Hero */
.hero {
  padding: 64px 0 48px;
  background:
    radial-gradient(circle at 85% -10%, rgba(245, 130, 42, 0.16), transparent 55%),
    var(--bg);
  border-bottom: 1px solid var(--card-border);
}
.hero-inner { max-width: 720px; }
.hero h1 { font-size: clamp(2rem, 5.5vw, 3.1rem); margin-bottom: 16px; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero p.lead {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 560px;
  margin-bottom: 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-note { display: flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 0.92rem; }
.hero-note svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 700px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
}
.step {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  position: relative;
}
.step-num {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--accent);
  color: var(--accent-contrast);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 0.95rem;
}
.step h3 { font-size: 1.02rem; margin-bottom: 6px; }
.step p { color: var(--text-muted); font-size: 0.92rem; }

/* Material cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 700px) {
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1000px) {
  .cards-grid--4 { grid-template-columns: repeat(4, 1fr); }
}
.mat-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.mat-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.mat-card .icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(245, 130, 42, 0.14);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.mat-card .icon-wrap svg { width: 24px; height: 24px; }
.mat-card h3 { font-size: 1rem; margin-bottom: 4px; }
.mat-card p { color: var(--text-muted); font-size: 0.86rem; }

.mat-card--note {
  background: transparent;
  border-style: dashed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Advantages */
.adv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 700px) {
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
}
.adv-item { display: flex; gap: 14px; }
.adv-item .icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(245, 130, 42, 0.14);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.adv-item .icon-wrap svg { width: 22px; height: 22px; }
.adv-item h3 { font-size: 1.02rem; margin-bottom: 4px; }
.adv-item p { color: var(--text-muted); font-size: 0.92rem; }

/* Contacts */
.contacts-block {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
}
@media (min-width: 768px) {
  .contacts-block { padding: 48px 40px; }
}
.contacts-block h2 { margin-bottom: 8px; }
.contacts-block > p { color: var(--text-muted); margin-bottom: 30px; }

.contact-methods {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 760px;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .contact-methods { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .contact-methods { grid-template-columns: repeat(3, 1fr); }
}
.contact-method {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 18px;
  text-align: left;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.contact-method:hover { border-color: var(--accent); transform: translateY(-2px); }
.contact-method .icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}
.contact-method .icon-wrap svg { width: 20px; height: 20px; }
.contact-method .cm-phone-icon { background: var(--accent); }
.contact-method .cm-wa-icon { background: #25d366; }
.contact-method .cm-tg-icon { background: #29a9eb; }
.contact-method .label { font-size: 0.78rem; color: var(--text-muted); }
.contact-method .value { font-weight: 700; font-size: 0.98rem; }

/* Footer */
.footer {
  border-top: 1px solid var(--card-border);
  padding: 28px 0;
  background: var(--bg-alt);
}
.footer .container {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  text-align: center;
}
@media (min-width: 700px) {
  .footer .container { flex-direction: row; justify-content: space-between; text-align: left; }
}
.footer-brand { font-weight: 800; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; color: var(--text-muted); font-size: 0.9rem; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { color: var(--text-muted); font-size: 0.82rem; }

/* Sticky mobile bottom bar */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--card-border);
  border-top: 1px solid var(--card-border);
}
@media (min-width: 768px) {
  .sticky-cta { display: none; }
}
.sticky-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 10px;
  font-weight: 700;
  font-size: 0.95rem;
}
.sticky-cta a svg { width: 18px; height: 18px; }
.sticky-cta .sc-call { background: var(--accent); color: var(--accent-contrast); }
.sticky-cta .sc-wa { background: #25d366; color: #0b2013; }

/* Utility */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-contrast);
  padding: 10px 16px;
  z-index: 100;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
