* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: #1a1a1a;
  line-height: 1.6;
  background: #fff;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 20px;
  flex-wrap: wrap;
}
.logo {
  font-weight: 800;
  font-size: 20px;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo span {
  font-size: 11px;
  font-weight: 500;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.nav {
  display: flex;
  gap: 22px;
}
.nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 15px;
}
.nav a:hover { color: #1652b5; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: 0.2s;
  text-align: center;
  border: none;
  cursor: pointer;
}
.btn-call {
  background: #f59e0b;
  color: #1a1a1a;
}
.btn-call:hover { background: #d97706; color: #fff; }
.btn-outline {
  background: transparent;
  color: #1652b5;
  border: 2px solid #1652b5;
}
.btn-outline:hover { background: #1652b5; color: #fff; }
.btn-wide { display: block; margin: 30px auto 0; max-width: 400px; }
.btn-hero { padding: 16px 40px; font-size: 18px; }
.btn-cta {
  background: #f59e0b;
  color: #1a1a1a;
  padding: 16px 40px;
  font-size: 18px;
}
.btn-cta:hover { background: #fff; color: #1652b5; }
.header-call { padding: 10px 18px; font-size: 15px; }
.center-btn { text-align: center; margin-top: 30px; }

/* Hero */
.hero {
  background: #fef9f3;
  padding: 60px 0 50px;
  text-align: center;
}
.hero-badge {
  display: inline-block;
  background: #fff;
  color: #1652b5;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
  border: 1px solid #e5e5e5;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.hero h1 {
  font-size: 42px;
  line-height: 1.15;
  max-width: 820px;
  margin: 0 auto 18px;
  font-weight: 800;
}
.hero-sub {
  font-size: 18px;
  color: #444;
  max-width: 700px;
  margin: 0 auto 14px;
}
.hero-accent {
  font-size: 19px;
  font-weight: 800;
  color: #1652b5;
  margin: 0 auto 26px;
  background: #fff;
  display: inline-block;
  padding: 8px 20px;
  border-radius: 8px;
  border: 1px solid #f59e0b;
}
.hero-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-link {
  display: inline-block;
  margin-top: 18px;
  color: #1652b5;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
.hero-link:hover { text-decoration: underline; }
.hero-zone {
  margin-top: 25px;
  font-size: 14px;
  color: #666;
}
.hero-page { padding: 50px 0 40px; }
.hero-page h1 { font-size: 34px; }

/* Sections */
.services, .advantages, .reviews, .content {
  padding: 60px 0;
}
.services h2, .advantages h2, .reviews h2, .content h2 {
  font-size: 28px;
  margin-bottom: 30px;
  text-align: center;
  font-weight: 800;
}
.content h2 { text-align: left; margin-top: 40px; }
.content h2:first-child { margin-top: 0; }

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 25px;
}
.card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.card h3 {
  font-size: 21px;
  margin-bottom: 12px;
}
.card p { color: #444; margin-bottom: 12px; }
.price-tag {
  display: inline-block;
  background: #fff7ed;
  color: #b45309;
  font-weight: 700;
  font-size: 15px;
  padding: 8px 14px;
  border-radius: 8px;
  margin-bottom: 18px;
  border: 1px solid #fcd34d;
}

/* Advantages */
.advantages { background: #f8fafc; }
.adv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 25px;
}
.adv {
  background: #fff;
  border-radius: 10px;
  padding: 22px;
  border-left: 4px solid #1652b5;
}
.adv-icon { font-size: 26px; display: block; margin-bottom: 8px; }
.adv strong {
  display: block;
  font-size: 17px;
  margin-bottom: 6px;
}
.adv span:not(.adv-icon) { color: #555; font-size: 15px; }

/* Reviews */
.review p {
  font-style: italic;
  margin-bottom: 12px;
}
.review span {
  font-size: 14px;
  color: #777;
  font-weight: 600;
}
.stars {
  color: #f59e0b;
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

/* CTA */
.cta {
  background: #1652b5;
  color: #fff;
  padding: 55px 0;
  text-align: center;
}
.cta h2 { font-size: 28px; margin-bottom: 15px; }
.cta p { max-width: 700px; margin: 0 auto 25px; opacity: 0.92; }

/* Content pages */
.faults {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 10px 25px;
  margin-bottom: 10px;
}
.faults li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: #333;
}
.faults li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #1652b5;
  font-weight: 800;
}
.price-table {
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 15px;
}
.price-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  border-bottom: 1px solid #eee;
  min-width: 0;
}
.price-row:last-child { border-bottom: none; }
.price-row:nth-child(odd) { background: #f8fafc; }
.price-row strong { color: #1652b5; white-space: nowrap; }
.price-row span { min-width: 0; overflow-wrap: anywhere; }
.note {
  font-size: 14px;
  color: #777;
  margin-bottom: 10px;
}
.steps {
  padding-left: 22px;
  margin-bottom: 10px;
}
.steps li {
  margin-bottom: 8px;
  color: #333;
}

/* Footer */
.footer {
  background: #0f1d3a;
  color: #ccc;
  padding: 35px 0;
  text-align: center;
  font-size: 14px;
}
.footer a { color: #fcd34d; text-decoration: none; }
.footer p { margin-bottom: 8px; }

/* Mobile sticky call */
.mobile-call {
  display: none;
}

/* Изображения и фокус */
img { max-width: 100%; height: auto; }
html { scroll-padding-top: 90px; }
a:focus-visible { outline: 3px solid #f59e0b; outline-offset: 3px; }

/* Mobile */
@media (max-width: 700px) {
  .container { padding: 0 16px; }
  .header-inner { gap: 12px; padding: 12px 16px; justify-content: center; text-align: center; }
  .nav { order: 3; width: 100%; justify-content: center; gap: 18px; }
  .header-call { display: none; }

  .hero { padding: 45px 0 40px; }
  .hero h1 { font-size: 28px; }
  .hero-sub { font-size: 16px; }
  .hero-accent { font-size: 16px; }
  .hero-page { padding: 40px 0 35px; }
  .hero-page h1 { font-size: 24px; }

  .services, .advantages, .reviews, .content { padding: 40px 0; }
  .services h2, .advantages h2, .reviews h2, .content h2 { font-size: 23px; }

  .card { padding: 22px; }
  .btn { padding: 14px 22px; font-size: 16px; min-height: 46px; }
  .btn-hero { width: 100%; max-width: 340px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }

  .price-row { flex-direction: column; gap: 5px; padding: 14px 16px; }
  .price-row strong { white-space: normal; }

  .mobile-call {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #f59e0b;
    color: #1a1a1a;
    text-align: center;
    padding: 15px;
    font-weight: 800;
    font-size: 17px;
    text-decoration: none;
    z-index: 200;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
  }
  body { padding-bottom: 60px; }
}
/* ===== Новый логотип ===== */
a.logo {
  text-decoration: none;
  color: #1a1a1a;
  font-weight: 900;
  font-size: 26px;
  line-height: 1.1;
  display: flex;
  flex-direction: column;
  letter-spacing: -0.5px;
}
a.logo span {
  font-size: 12px;
  font-weight: 700;
  color: #f59e0b;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2px;
}
a.logo:hover { color: #1652b5; }

/* ===== Вкладки услуг под шапкой ===== */
.header-tabs {
  display: flex;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid #eee;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: #f8fafc;
  border: 2px solid #e5e5e5;
  border-radius: 10px;
  color: #333;
  font-weight: 800;
  font-size: 17px;
  text-decoration: none;
  transition: 0.2s;
}

.tab-btn:hover {
  background: #fff7ed;
  border-color: #f59e0b;
  color: #b45309;
}

.tab-btn.active {
  background: #1652b5;
  border-color: #1652b5;
  color: #fff;
}

/* ===== Мобильные вкладки ===== */
@media (max-width: 700px) {
  .header-tabs {
    flex-direction: column;
    gap: 8px;
    padding: 0 16px 12px;
    border-bottom: none;
  }
  .tab-btn {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 16px;
  }
  a.logo { font-size: 22px; }
  a.logo span { font-size: 11px; }
}