/* ===== БАЗА ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1a1a1a;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 640px; }

/* ===== КНОПКИ ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 17px;
  cursor: pointer;
  border: none;
  transition: transform 0.15s, box-shadow 0.15s;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }
.btn--primary { background: #fbbf24; color: #1a1a1a; }
.btn--primary:hover { background: #f59e0b; }
.btn--secondary { background: transparent; color: #fff; border: 2px solid #fff; }
.btn--secondary:hover { background: rgba(255,255,255,0.15); }
.btn--outline { background: transparent; color: #1a1a1a; border: 2px solid #1a1a1a; }
.btn--outline:hover { background: #1a1a1a; color: #fff; }
.btn--full { width: 100%; padding: 20px; font-size: 18px; }

/* ===== ШАПКА ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e5e5e5;
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 24px;
}
.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}
.header__logo-icon { font-size: 28px; }
.header__logo-title { font-weight: 800; font-size: 18px; }
.header__logo-sub { font-size: 13px; color: #666; }
.header__phones { display: flex; gap: 24px; }
.header__phone { display: flex; flex-direction: column; line-height: 1.2; }
.header__phone-num { font-weight: 700; font-size: 16px; }
.header__phone-city { font-size: 12px; color: #666; }
.header__phone:hover .header__phone-num { color: #f59e0b; }
.header__cta {
  background: #fbbf24;
  color: #1a1a1a;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
}
.header__cta:hover { background: #f59e0b; }

@media (max-width: 768px) {
  .header__inner { gap: 12px; padding: 12px 16px; }
  .header__logo-sub { display: none; }
  .header__phones { flex-direction: column; gap: 4px; }
  .header__phone-city { display: none; }
  .header__phone-num { font-size: 14px; }
  .header__cta { display: none; }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.75) 100%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  padding: 80px 24px;
  text-align: center;
}
.hero__title {
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.hero__sub {
  font-size: clamp(17px, 2.2vw, 22px);
  color: rgba(255,255,255,0.9);
  margin-bottom: 32px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.hero__badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.badge {
  background: rgba(255,255,255,0.15);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 14px;
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(10px);
}
.hero__buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.hero__hint {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}

/* ===== СЕКЦИИ ===== */
.section {
  padding: 80px 0;
}
.section--white { background: #fff; }
.section--light { background: #f7f7f5; }
.section--dark { background: #1a1a1a; color: #fff; }
.section--accent { background: linear-gradient(180deg, #fef3c7 0%, #fde68a 100%); }

.section__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 16px;
}
.section__title--light { color: #fff; }
.section__sub {
  text-align: center;
  font-size: 18px;
  color: #666;
  max-width: 640px;
  margin: 0 auto 48px;
}
.section__sub--light { color: rgba(255,255,255,0.8); }

/* ===== УСЛУГИ ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 20px;
  padding: 36px 28px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
.service-card__icon {
  font-size: 48px;
  margin-bottom: 20px;
}
.service-card__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}
.service-card__text {
  color: #555;
  font-size: 15px;
  line-height: 1.6;
}

/* ===== ДОПОЛНИТЕЛЬНЫЕ УСЛУГИ ===== */
.extras-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.extra-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.extra-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
.extra-card__img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.extra-card__title {
  font-size: 19px;
  font-weight: 700;
  padding: 24px 24px 8px;
}
.extra-card__text {
  color: #555;
  font-size: 15px;
  padding: 0 24px 24px;
}

/* ===== ПРЕИМУЩЕСТВА ===== */
.features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 48px;
  max-width: 900px;
  margin: 0 auto;
}
.feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 18px;
  font-weight: 500;
}
.feature__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #1a1a1a;
  color: #fff;
  font-weight: 800;
}

/* ===== ФОРМА ===== */
.calc-form {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
.form-row { margin-bottom: 20px; }
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
.form-grid-2 .form-row { margin-bottom: 0; }
.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #555;
  margin-bottom: 8px;
}
.form-input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #e5e5e5;
  border-radius: 10px;
  font-size: 16px;
  font-family: inherit;
  background: #fff;
  transition: border-color 0.15s;
}
.form-input:focus {
  outline: none;
  border-color: #fbbf24;
}
.form-hint {
  text-align: center;
  font-size: 14px;
  color: #666;
  margin-top: 16px;
}

/* ===== ОТЗЫВЫ ===== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
.review {
  background: #f7f7f5;
  border-radius: 16px;
  padding: 28px;
}
.review__stars {
  font-size: 18px;
  margin-bottom: 8px;
}
.review__meta {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 4px;
}
.review__service {
  font-size: 13px;
  color: #888;
  margin-bottom: 16px;
}
.review__text {
  font-size: 15px;
  color: #333;
  line-height: 1.6;
}
.reviews-disclaimer {
  text-align: center;
  font-size: 13px;
  color: #888;
  margin-bottom: 24px;
}
.reviews-cta {
  text-align: center;
}

/* ===== B2B ===== */
.b2b-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto 32px;
}
.b2b-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px;
  padding: 24px;
  font-size: 15px;
  line-height: 1.6;
}
.b2b-item strong { font-size: 17px; display: inline-block; margin: 6px 0 4px; }
.b2b-clients {
  text-align: center;
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 24px;
}
.b2b-cta { text-align: center; }

/* ===== КОНТАКТЫ ===== */
.contacts-grid {
  max-width: 720px;
  margin: 0 auto;
}
.contacts-channels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-item__icon {
  font-size: 28px;
}
.contact-item__main {
  display: block;
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 2px;
}
a.contact-item__main:hover { color: #f59e0b; }
.contact-item__sub {
  font-size: 13px;
  color: #888;
}
.contacts-geo {
  text-align: center;
  margin-top: 40px;
  font-size: 16px;
  color: #555;
}

/* ===== ПОДВАЛ ===== */
.footer {
  background: #0f0f0f;
  color: #ccc;
  padding: 60px 0 30px;
  font-size: 14px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer__title {
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 12px;
}
.footer__list li { margin-bottom: 6px; }
.footer__list a:hover { color: #fbbf24; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #2a2a2a;
  padding-top: 24px;
  font-size: 13px;
  color: #777;
}
.footer__bottom a:hover { color: #fbbf24; }

/* ===== ТЕГИ ===== */
.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.tag {
  background: #fff;
  border: 1.5px solid #e5e5e5;
  border-radius: 100px;
  padding: 7px 16px;
  font-size: 14px;
  color: #555;
  transition: border-color 0.15s, color 0.15s;
}
.tag:hover {
  border-color: #fbbf24;
  color: #1a1a1a;
}

/* ===== FAB ===== */
.fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 64px;
  height: 64px;
  background: #fbbf24;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  z-index: 50;
  transition: transform 0.15s;
}
.fab:hover { transform: scale(1.1); background: #f59e0b; }

/* ===== АДАПТИВ ===== */
@media (max-width: 900px) {
  .services-grid,
  .extras-grid,
  .reviews-grid,
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .features-list,
  .b2b-grid,
  .contacts-channels {
    grid-template-columns: 1fr;
  }
  .section { padding: 60px 0; }
  .calc-form { padding: 28px 20px; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .footer__bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  .hero__buttons .btn { width: 100%; }
}
