:root {
  --blue: #0ea5e9;
  --blue-dark: #0369a1;
  --navy: #0f2a43;
  --orange: #f97316;
  --orange-dark: #ea580c;
  --bg: #f4f8fb;
  --text: #1e293b;
  --muted: #64748b;
  --card: #ffffff;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(15, 42, 67, .08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 820px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e2e8f0;
}
.header__inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 20px; font-weight: 600; color: var(--navy); text-decoration: none;
}
.logo b { color: var(--blue); }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--text); text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--blue); }
.header__phone { text-decoration: none; text-align: right; line-height: 1.2; }
.header__phone-num { display: block; font-weight: 700; font-size: 17px; color: var(--navy); }
.header__phone-note { font-size: 12px; color: var(--muted); }
.burger { display: none; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #14486e 60%, var(--blue-dark) 100%);
  color: #fff;
  padding: 72px 0 84px;
}
.hero__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.hero__badge {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: rgba(14,165,233,.2); border: 1px solid rgba(14,165,233,.5);
  font-size: 13px; letter-spacing: .04em; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(30px, 4.6vw, 48px); line-height: 1.15; margin-bottom: 18px; }
.hero__sub { font-size: 18px; color: #cbd5e1; margin-bottom: 28px; max-width: 520px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.hero__points { list-style: none; display: flex; gap: 22px; flex-wrap: wrap; }
.hero__points li { position: relative; padding-left: 24px; color: #e2e8f0; font-size: 15px; }
.hero__points li::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--blue);
  box-shadow: inset 0 0 0 3px #0f2a43;
}
.hero__card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 20px; padding: 34px 30px; text-align: center;
}
.hero__card-ice { font-size: 52px; margin-bottom: 10px; }
.hero__card-title { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.hero__card-text { color: #cbd5e1; font-size: 15px; margin-bottom: 18px; }
.hero__card-phone { font-size: 26px; font-weight: 800; color: var(--orange); text-decoration: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 12px;
  font-size: 16px; font-weight: 600; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(249,115,22,.35); }
.btn--primary:hover { background: var(--orange-dark); transform: translateY(-2px); }
.btn--ghost { border: 2px solid rgba(255,255,255,.5); color: #fff; }
.btn--ghost:hover { border-color: #fff; }
.btn--big { font-size: 19px; padding: 18px 40px; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section--alt { background: #eaf2f8; }
.section--dark { background: var(--navy); color: #fff; }
.section h2 { font-size: clamp(24px, 3.4vw, 34px); color: var(--navy); margin-bottom: 14px; }
.section--dark h2 { color: #fff; }
.section__lead { color: var(--muted); font-size: 17px; max-width: 720px; margin-bottom: 32px; }
.section--alt .section__lead { color: #475569; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 18px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.services__subtitle { font-size: 20px; color: var(--blue-dark); margin: 34px 0 16px; }
.card {
  background: var(--card); border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow); border: 1px solid #e6edf3;
  transition: transform .15s ease;
}
.card:hover { transform: translateY(-3px); }
.card h4 { font-size: 17px; margin-bottom: 8px; color: var(--navy); }
.card p { font-size: 14px; color: var(--muted); }
.card__price { margin-top: 12px; font-size: 18px !important; font-weight: 700; color: var(--blue-dark) !important; }
.card--biz { border-top: 4px solid var(--orange); }

.cta-strip {
  margin-top: 40px; padding: 28px 32px;
  background: var(--navy); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.cta-strip p { color: #e2e8f0; font-size: 18px; }
.cta-strip .btn { white-space: nowrap; }

/* ---------- Steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { background: #fff; border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); }
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue); color: #fff; font-weight: 800; font-size: 18px;
  margin-bottom: 14px;
}
.step h4 { margin-bottom: 6px; color: var(--navy); }
.step p { font-size: 14px; color: var(--muted); }

/* ---------- Features ---------- */
.feature { text-align: center; padding: 10px; }
.feature__icon { font-size: 38px; margin-bottom: 12px; }
.feature h4 { color: var(--navy); margin-bottom: 8px; }
.feature p { font-size: 14px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq__item {
  background: #fff; border-radius: 12px; margin-bottom: 12px;
  border: 1px solid #e6edf3; overflow: hidden;
}
.faq__item summary {
  cursor: pointer; padding: 18px 22px; font-weight: 600; color: var(--navy);
  list-style: none; position: relative; padding-right: 48px;
}
.faq__item summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%;
  transform: translateY(-50%); font-size: 24px; color: var(--blue); font-weight: 400;
}
.faq__item[open] summary::after { content: "–"; }
.faq__item p { padding: 0 22px 18px; color: var(--muted); font-size: 15px; }

/* ---------- Contacts ---------- */
.contacts__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.contacts__lead { color: #cbd5e1; margin: 8px 0 18px; }
.contacts__phone { display: block; font-size: clamp(28px, 4vw, 40px); font-weight: 800; color: var(--orange); text-decoration: none; }
.contacts__hours { margin-top: 10px; color: #94a3b8; font-size: 14px; }

/* ---------- Footer ---------- */
.footer { background: #0b1f33; color: #94a3b8; padding: 22px 0; font-size: 14px; }
.footer__inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer a { color: #e2e8f0; text-decoration: none; }

/* ---------- Floating call button ---------- */
.call-fab {
  display: none; position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--orange); box-shadow: 0 8px 24px rgba(249,115,22,.5);
  align-items: center; justify-content: center;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(249,115,22,.5); }
  70% { box-shadow: 0 0 0 16px rgba(249,115,22,0); }
  100% { box-shadow: 0 0 0 0 rgba(249,115,22,0); }
}

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .header__phone { display: none; }
}

@media (max-width: 640px) {
  .grid--3, .grid--4, .steps { grid-template-columns: 1fr; }
  .call-fab { display: flex; }
  .section { padding: 52px 0; }
  .hero { padding: 48px 0 60px; }

  .nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; flex-direction: column; gap: 0;
    border-bottom: 1px solid #e2e8f0; box-shadow: var(--shadow);
  }
  .nav a { padding: 16px 20px; border-top: 1px solid #f1f5f9; }
  .nav.open { display: flex; }
  .burger {
    display: flex; flex-direction: column; gap: 5px;
    background: none; border: 0; cursor: pointer; padding: 10px; margin-left: auto;
  }
  .burger span { width: 24px; height: 2.5px; background: var(--navy); border-radius: 2px; }
}

/* ---------- Логотип-медведь ---------- */
.logo__bear { font-size: 28px; line-height: 1; }

/* ---------- Отзывы ---------- */
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.review {
  background: #fff; border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow); border: 1px solid #e6edf3;
}
.review__stars { color: #f59e0b; font-size: 18px; letter-spacing: 2px; margin-bottom: 10px; }
.review p { font-size: 15px; color: var(--text); font-style: italic; }
.review footer { margin-top: 12px; font-size: 14px; color: var(--muted); font-style: normal; }

/* ---------- Форма заявки ---------- */
.order-form {
  background: #fff; border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow); border: 1px solid #e6edf3;
}
.order-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.order-form label { display: block; font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 16px; }
.order-form input, .order-form textarea, .order-form select {
  display: block; width: 100%; margin-top: 6px;
  padding: 13px 16px; border: 1.5px solid #cbd5e1; border-radius: 10px;
  font-size: 16px; font-family: inherit; color: var(--text);
  transition: border-color .15s ease; background: #fff;
}
.order-form input:focus, .order-form textarea:focus, .order-form select:focus { outline: none; border-color: var(--blue); }
.order-form__status { margin-top: 14px; font-size: 15px; font-weight: 600; }
.order-form__status.ok { color: #16a34a; }
.order-form__status.err { color: #dc2626; }
.order-form__note { margin-top: 12px; font-size: 12px; color: var(--muted); }

.contacts__address { margin-top: 14px; color: #cbd5e1; font-size: 15px; line-height: 1.5; }

@media (max-width: 640px) {
  .grid--2, .order-form__row { grid-template-columns: 1fr; }
}

/* ---------- SEO-ссылки в текстовых блоках ---------- */
.section__lead a { color: var(--blue-dark); text-decoration: none; border-bottom: 1px solid rgba(3,105,161,.35); }
.section__lead a:hover { color: var(--blue); border-bottom-color: var(--blue); }
.card h4 a { color: inherit; text-decoration: none; }
.card h4 a:hover { color: var(--blue-dark); }
