:root {
  --yellow: #FFD400;
  --yellow-dark: #F2C200;
  --black: #111111;
  --text: #222222;
  --muted: #8a8a8a;
  --border: #e6e6e6;
  --bg-gray: #f2f2f2;
  --green: #2FBE4F;
  --radius: 8px;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  --font-head: 'Montserrat', 'Arial Black', sans-serif;
  --font-body: 'Inter', Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
section, form { scroll-margin-top: 72px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: #fff;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.icon { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 58px;
  padding: 0 28px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font: 500 16px var(--font-body);
  cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0, 0, 0, .1); }
.btn--primary { background: var(--yellow); color: var(--black); }
.btn--primary:hover { background: var(--yellow-dark); }
.btn--outline { background: #fff; border-color: var(--black); color: var(--black); }
.btn--whatsapp { background: var(--green); color: #fff; }
.btn--block { width: 100%; }
.btn--wide { min-width: 200px; }
.icon--wa { width: 24px; height: 24px; }

/* ---------- Шапка ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: 900 24px var(--font-head);
  letter-spacing: -0.3px;
  color: var(--black);
}
.logo__img { width: 44px; height: 44px; border-radius: 50%; }
.logo__accent { color: var(--yellow); }
.nav { display: flex; gap: 56px; }
.nav a { font-weight: 500; font-size: 16px; transition: color .2s; }
.nav a:hover { color: var(--yellow-dark); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: #fff;
}
.hero__bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 42%;
  background-size: cover;
  background-position: 30% 60%;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .7) 15%, rgba(255, 255, 255, 0) 40%);
}
.hero__content {
  position: relative;
  padding-top: 80px;
  padding-bottom: 96px;
  min-height: 540px;
}
.hero__title {
  font: 900 104px/0.98 var(--font-head);
  letter-spacing: -2px;
  color: var(--black);
}
.hero__title span { color: var(--yellow); }
.hero__lead {
  margin-top: 28px;
  font: 800 22px var(--font-head);
  text-transform: uppercase;
  color: var(--black);
}
.hero__text {
  margin-top: 16px;
  font-size: 24px;
  line-height: 1.45;
  color: var(--black);
}
.hero__actions {
  display: flex;
  gap: 18px;
  margin-top: 40px;
}
.hero__actions .btn { min-width: 250px; }

/* ---------- Секции ---------- */
.section { padding: 48px 0 56px; }
.section__title {
  font: 900 40px var(--font-head);
  text-transform: uppercase;
  text-align: center;
  color: var(--black);
}
.section__title::after {
  content: '';
  display: block;
  width: 48px;
  height: 5px;
  margin: 18px auto 0;
  border-radius: 3px;
  background: var(--yellow);
}
.section__title--left { text-align: left; }
.section__title--left::after { margin-left: 0; }

/* ---------- Услуги ---------- */
.services__subtitle {
  margin-top: 40px;
  font: 800 22px var(--font-head);
  text-transform: uppercase;
  text-align: center;
  color: var(--black);
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 38px 40px;
  margin-top: 24px;
}
.service {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 230px;
  padding: 28px 16px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.service__desc {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.4;
  color: #555;
}
.terms {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 40px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  font-weight: 700;
}
.terms li::before { content: '✔'; margin-right: 10px; color: var(--yellow-dark); }
a.service { color: inherit; }
.service:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0, 0, 0, .08); }
.service__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: var(--yellow);
}
.service__icon svg { width: 40px; height: 40px; color: var(--black); }
.service__name {
  margin-top: 22px;
  font: 700 19px/1.4 var(--font-body);
  color: var(--black);
}
.service__name::after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  margin: 18px auto 0;
  border-radius: 2px;
  background: var(--yellow);
}

/* ---------- Отзывы ---------- */
.reviews { padding-top: 24px; }
.reviews__layout {
  display: grid;
  grid-template-columns: 1fr 332px;
  gap: 54px;
  align-items: start;
}
.reviews__main { min-width: 0; }
.slider { overflow: hidden; margin-top: 30px; }
.slider__track {
  display: flex;
  gap: 32px;
  transition: transform .4s ease;
}
.review {
  flex: 0 0 calc((100% - 64px) / 3);
  min-height: 280px;
  padding: 28px 22px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.review__name { font-weight: 700; font-size: 15px; color: var(--black); }
.review__service { margin-top: 8px; font-weight: 700; font-size: 14px; color: var(--black); }
.review__text { margin-top: 18px; font-size: 13px; line-height: 1.75; color: #333; }

.slider__dots {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}
.slider__dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
}
.slider__dots button.is-active { background: var(--yellow); }

.review-form { padding-top: 6px; }
.review-form__title {
  font: 700 19px var(--font-body);
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 22px;
}
.field {
  display: block;
  width: 100%;
  height: 46px;
  margin-bottom: 18px;
  padding: 0 14px;
  border: 1px solid #d8d8d8;
  border-radius: 6px;
  background: #fff;
  font: 400 14px var(--font-body);
  color: var(--text);
  outline: none;
  transition: border-color .2s;
}
.field:focus { border-color: var(--yellow); }
.field::placeholder { color: var(--muted); }
.field-select { position: relative; }
.field-select select { appearance: none; color: var(--muted); cursor: pointer; }
.field-select select:valid { color: var(--text); }
.field-select::after {
  content: '';
  position: absolute;
  right: 16px;
  top: 17px;
  width: 7px;
  height: 7px;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  transform: rotate(45deg);
  pointer-events: none;
}
.field--area { height: 104px; padding: 12px 14px; resize: vertical; }

.rating {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
}
.rating__label { font-weight: 700; font-size: 16px; color: var(--black); }
.rating__stars { display: flex; gap: 8px; }
.rating__stars button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--yellow);
  cursor: pointer;
}
.rating__stars svg { width: 36px; height: 36px; }
.rating__stars button.is-on svg path { fill: var(--yellow); }

/* ---------- Обо мне ---------- */
.about { background: var(--bg-gray); margin-top: 8px; }
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}
.about__text { padding: 40px 0; }
.perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.perks li {
  padding: 22px 16px;
  border-radius: var(--radius);
  background: var(--yellow);
  font: 800 20px var(--font-head);
  text-transform: uppercase;
  text-align: center;
  color: var(--black);
}
.perks li::before { content: '✔ '; }
.about__text p {
  margin-top: 26px;
  font-size: 17px;
  line-height: 1.85;
  color: var(--black);
}

/* ---------- Контакты ---------- */
.contacts { text-align: center; padding-top: 36px; }
.contacts__hint { margin-top: 18px; font-size: 18px; color: #555; }
.contacts__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 8px;
}
.contact__name { margin-top: 6px; color: var(--muted); }
.contacts__phone {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  margin-top: 18px;
  font-size: 30px;
  font-weight: 500;
  color: var(--black);
}
.contacts__phone-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--yellow);
}
.contacts__phone-icon svg { width: 24px; height: 24px; }
.contacts__actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 26px;
}

/* ---------- Подвал ---------- */
.footer { border-top: 1px solid #e8e8e8; }
.footer__inner {
  display: flex;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 22px;
  font-size: 14px;
  color: #555;
}

/* ---------- Адаптив ---------- */
@media (max-width: 1024px) {
  .hero__title { font-size: 80px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .about__inner { grid-template-columns: 1fr; gap: 0; padding-bottom: 40px; }
  .reviews__layout { grid-template-columns: 1fr; }
  .review-form { max-width: 480px; }
  .nav { gap: 32px; }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .hero__bg { left: 0; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.85) 60%, rgba(255,255,255,.4) 100%); }
  .hero__content { min-height: 0; padding-top: 48px; padding-bottom: 56px; }
  .hero__title { font-size: 56px; letter-spacing: -1px; }
  .hero__text { font-size: 18px; margin-top: 20px; }
  .hero__text br { display: none; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .section__title { font-size: 30px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .service { min-height: 190px; }
  .service__name { font-size: 15px; }
  .review { flex-basis: 100%; }
  .about__inner { grid-template-columns: 1fr; gap: 0; padding-bottom: 40px; }
  .contacts__list { grid-template-columns: 1fr; }
  .hero__lead { font-size: 16px; }
  .logo { font-size: 18px; gap: 8px; }
  .logo__img { width: 36px; height: 36px; }
  .contacts__phone { font-size: 26px; gap: 14px; }
  .contacts__actions { flex-direction: column; align-items: stretch; }
  .footer__inner { flex-direction: column; gap: 6px; text-align: center; }
}

.footer a:hover { color: var(--black); text-decoration: underline; }

/* ---------- Слайдер: навигация, форма, согласие ---------- */
.slider__nav { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 28px; }
.slider__btn {
  width: 44px; height: 44px; border: 2px solid var(--black); border-radius: 50%;
  background: #fff; font: 700 24px/1 var(--font-body); color: var(--black); cursor: pointer;
}
.slider__btn:hover:not(:disabled) { background: var(--yellow); border-color: var(--yellow); }
.slider__btn:disabled { opacity: .3; cursor: default; }
.slider__count { min-width: 64px; text-align: center; font-weight: 600; color: #555; }
.reviews__status { margin-top: 16px; text-align: center; color: #b00020; }
.review__stars { margin-top: 10px; color: var(--yellow-dark); font-size: 18px; letter-spacing: 2px; line-height: 1; }
.review { min-height: 0; }
.review__text { margin-top: 14px; overflow-wrap: anywhere; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.consent { display: flex; gap: 10px; margin-bottom: 18px; font-size: 13px; line-height: 1.5; color: #444; cursor: pointer; }
.consent input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--yellow-dark); }
.consent a { text-decoration: underline; }
.form-msg { margin-top: 14px; font-size: 14px; min-height: 20px; }
.form-msg.is-ok { color: #1b7a34; }
.form-msg.is-err { color: #b00020; }

/* ---------- Текстовые страницы (политика) ---------- */
.doc { max-width: 820px; margin: 0 auto; padding: 40px 24px 72px; }
.doc h1 { font: 900 32px/1.2 var(--font-head); text-transform: uppercase; margin-bottom: 8px; }
.doc h2 { font: 800 20px/1.3 var(--font-head); margin: 32px 0 10px; }
.doc p, .doc li { margin: 8px 0; line-height: 1.7; }
.doc ul, .doc ol { padding-left: 22px; }
.doc a { text-decoration: underline; }
.doc .muted { color: var(--muted); }
.doc mark { background: #fff3a8; padding: 0 3px; border-radius: 3px; }

/* ---------- Админка ---------- */
.adm { max-width: 980px; margin: 0 auto; padding: 24px; }
.adm__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.adm__bar h1 { font: 900 24px var(--font-head); text-transform: uppercase; }
.adm__login { max-width: 360px; margin: 80px auto; }
.adm__login h1 { font: 900 24px var(--font-head); text-transform: uppercase; margin-bottom: 20px; }
.adm__tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.adm__tab { height: 40px; padding: 0 16px; border: 1px solid var(--border); border-radius: 6px; background: #fff; font: 600 14px var(--font-body); cursor: pointer; }
.adm__tab.is-on { background: var(--yellow); border-color: var(--yellow); }
.adm__item { padding: 16px; margin-bottom: 12px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.adm__meta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; font-size: 13px; color: var(--muted); }
.adm__name { font-weight: 700; color: var(--black); font-size: 15px; }
.adm__badge { padding: 2px 8px; border-radius: 10px; font-size: 12px; font-weight: 600; background: #eee; color: #333; }
.adm__badge--pending { background: #fff3a8; }
.adm__badge--approved { background: #cdeed6; }
.adm__badge--rejected { background: #f6d0d0; }
.adm__text { margin: 10px 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.adm__edit { display: block; width: 100%; margin: 8px 0; padding: 8px 10px; border: 1px solid #d8d8d8; border-radius: 6px; font: 400 14px var(--font-body); }
.adm__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.adm__btn { height: 36px; padding: 0 14px; border: 1px solid var(--border); border-radius: 6px; background: #fff; font: 600 13px var(--font-body); cursor: pointer; }
.adm__btn--ok { background: var(--green); border-color: var(--green); color: #fff; }
.adm__btn--bad { color: #b00020; }
.adm__empty { padding: 40px; text-align: center; color: var(--muted); }
.adm__msg { min-height: 20px; margin-top: 10px; font-size: 14px; color: #b00020; }

/* ---------- Страницы услуг ---------- */
.svc { max-width: 820px; margin: 0 auto; padding: 40px 24px 72px; }
.svc__crumb { color: var(--muted); font-size: 14px; }
.svc__crumb a { text-decoration: underline; }
.svc h1 { font: 900 36px/1.15 var(--font-head); margin: 12px 0 8px; }
.svc__lead { font-size: 18px; color: #555; }
.svc h2 { font: 800 20px/1.3 var(--font-head); margin: 32px 0 10px; }
.svc ul { padding-left: 22px; }
.svc li { margin: 6px 0; line-height: 1.6; }
.svc__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.svc__more { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 0; list-style: none; }
.svc__more a { text-decoration: underline; }
@media (max-width: 480px) { .svc h1 { font-size: 28px; } }
.svc__banner { display: block; margin: 16px 0 8px; border-radius: 12px; overflow: hidden; }
.svc__banner img { display: block; width: 100%; height: auto; }
.svc ol { padding-left: 22px; }
.svc__order { margin-top: 32px; padding: 8px 24px 24px; background: #FFF8D6; border-radius: 12px; }
.footer__inner { flex-wrap: wrap; gap: 8px 24px; }
.svc__banner--tile { max-width: 640px; }

/* Объёмные карточки услуг (вариант 1, выбран клиентом) */
.service { background: linear-gradient(180deg,#fff 0%,#f1f1f1 100%); border: 1px solid #e0e0e0; border-bottom: 6px solid var(--yellow-dark); border-radius: 14px; box-shadow: 0 1px 0 #fff inset, 0 2px 4px rgba(0,0,0,.08), 0 14px 26px rgba(0,0,0,.12); }
.service:hover { transform: translateY(-6px); box-shadow: 0 1px 0 #fff inset, 0 4px 8px rgba(0,0,0,.1), 0 22px 34px rgba(0,0,0,.18); }
.service__icon { background: radial-gradient(circle at 32% 28%, #fff3a0 0%, var(--yellow) 45%, var(--yellow-dark) 100%); box-shadow: 0 -3px 6px rgba(255,255,255,.7) inset, 0 -5px 8px rgba(0,0,0,.18) inset, 0 8px 14px rgba(0,0,0,.25); }

/* Призывы к действию на страницах услуг */
.svc__hint { margin: 20px 0; padding: 16px 20px; background: #FFF8D6; border-left: 6px solid var(--yellow-dark); border-radius: 8px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.svc__hint p { flex: 1 1 100%; margin: 0; }
.svc__sticky { display: none; }
@media (max-width: 640px) {
  .svc__sticky { display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; padding: 14px; border-radius: 12px; background: var(--yellow); color: var(--black); font: 800 17px var(--font-head); text-align: center; box-shadow: 0 6px 18px rgba(0,0,0,.3); }
  .svc { padding-bottom: 96px; }
}
