/* ==================== БАЗОВЫЕ СТИЛИ ==================== */

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

:root {
  --bg: #F7F5F2;
  --bg-dark: #1A1A1A;
  --accent: #C8956C;
  --accent-hover: #b8845c;
  --text: #1A1A1A;
  --text-light: #6B6560;
  --white: #FFFFFF;
  --border: #E5E0DB;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 2px 16px rgba(0,0,0,0.06);
  --shadow-hover: 0 8px 32px rgba(0,0,0,0.1);
  --transition: 0.25s ease;
  --header-h: 72px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* Контейнер */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* scroll-margin-top для якорных секций */
section[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

/* ==================== КНОПКИ ==================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  text-align: center;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-hover);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--bg-dark);
  color: var(--white);
}

.btn--primary:hover {
  background: #2a2a2a;
}

.btn--secondary {
  background: var(--white);
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn--secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ==================== ШАПКА ==================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 1000;
  background: rgba(247, 245, 242, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: box-shadow var(--transition);
}

.header--scrolled {
  box-shadow: 0 1px 12px rgba(0,0,0,0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo__accent {
  color: var(--accent);
}

.header__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
  transition: color var(--transition);
}

.header__phone:hover {
  color: var(--accent);
}

.header__phone-icon {
  display: none;
}

/* ==================== HERO ==================== */

.hero {
  padding-top: calc(var(--header-h) + 60px);
  padding-bottom: 80px;
}

.hero__content {
  max-width: 720px;
}

.hero__badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(200, 149, 108, 0.12);
  color: var(--accent);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero__title {
  font-size: clamp(36px, 5.5vw, 60px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.accent {
  color: var(--accent);
}

.hero__subtitle {
  font-size: clamp(17px, 2.2vw, 20px);
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 600px;
}

.hero__buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero__trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
}

.hero__trust-icon {
  font-size: 18px;
}

/* ==================== СЕКЦИИ — общие стили ==================== */

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
}

/* ==================== УСЛУГИ ==================== */

.services {
  padding: 80px 0;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.service-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.service-card__badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
}

.service-card__badge--hit {
  background: var(--accent);
  color: var(--white);
}

.service-card__badge--discount {
  background: rgba(123, 166, 142, 0.15);
  color: #4a7a5c;
}

.service-card__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.service-card__desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.5;
  flex-grow: 1;
  margin-bottom: 20px;
}

.service-card__price {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.service-card__unit {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-light);
}

/* ==================== КАЛЬКУЛЯТОР ==================== */

.calculator {
  padding: 80px 0;
  background: var(--white);
}

.calculator__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.calculator__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.calc-field__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.calc-field__input-wrap {
  position: relative;
}

.calc-field__input,
.calc-field__select {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 16px;
  background: var(--bg);
  color: var(--text);
  transition: border-color var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.calc-field__input:focus,
.calc-field__select:focus {
  outline: none;
  border-color: var(--accent);
}

.calc-field__suffix {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 14px;
  pointer-events: none;
}

.calc-field__select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236B6560' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* Чекбокс выравнивания */
.calc-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  user-select: none;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  transition: border-color var(--transition);
}

.calc-checkbox:hover {
  border-color: var(--accent);
}

.calc-checkbox input {
  display: none;
}

.calc-checkbox__mark {
  width: 22px;
  height: 22px;
  border: 2px solid var(--border);
  border-radius: 6px;
  flex-shrink: 0;
  position: relative;
  transition: background var(--transition), border-color var(--transition);
}

.calc-checkbox input:checked ~ .calc-checkbox__mark {
  background: var(--accent);
  border-color: var(--accent);
}

.calc-checkbox input:checked ~ .calc-checkbox__mark::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.calc-checkbox__price {
  color: var(--accent);
  font-weight: 600;
}

.calculator__result {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
}

.calc-result__label {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 8px;
}

.calc-result__value {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
  color: var(--text);
}

.calc-result__material {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 24px;
  padding: 12px 16px;
  background: rgba(200, 149, 108, 0.08);
  border-radius: var(--radius-sm);
}

.calc-result__btn {
  width: 100%;
  margin-top: 8px;
}

/* ==================== ШАГИ ==================== */

.steps {
  padding: 80px 0;
}

.steps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-card {
  text-align: center;
  padding: 32px 20px;
}

.step-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 16px;
}

.step-card__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-card__desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.5;
}

/* ==================== ГАЛЕРЕЯ ==================== */

.gallery {
  padding: 80px 0;
  background: var(--white);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.gallery__item {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, #e8e2dc, #d4cdc5);
}

.gallery__item img,
.gallery__item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery__item:hover img,
.gallery__item:hover video {
  transform: scale(1.02);
}

.gallery__more {
  text-align: center;
  margin-top: 32px;
}

.gallery__link {
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
  transition: color var(--transition);
}

.gallery__link:hover {
  color: var(--accent-hover);
}

/* ==================== ОТЗЫВЫ ==================== */

.reviews {
  padding: 80px 0;
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.review-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.review-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
}

.review-card__text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 20px;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.review-card__name {
  font-size: 14px;
  font-weight: 700;
}

.review-card__detail {
  font-size: 13px;
  color: var(--text-light);
}

/* ==================== CTA / ФОРМА ЗАЯВКИ ==================== */

.cta {
  padding: 80px 0;
  background: var(--bg-dark);
  color: var(--white);
}

.cta__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.cta__title {
  font-size: clamp(28px, 3.5vw, 36px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.cta__subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-bottom: 28px;
}

.cta__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.cta__list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
}

.cta__check {
  flex-shrink: 0;
}

.cta__guarantee {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

/* Honeypot — скрытое поле */
.form-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.cta__form-wrap {
  position: relative;
}

.cta__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-input {
  width: 100%;
  padding: 16px 18px;
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 16px;
  background: rgba(255,255,255,0.08);
  color: var(--white);
  transition: border-color var(--transition), background var(--transition);
}

.form-input::placeholder {
  color: rgba(255,255,255,0.4);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255,255,255,0.12);
}

.form-input.form-input--error {
  border-color: #e74c3c;
}

.form-textarea {
  resize: vertical;
  min-height: 80px;
}

.form-error {
  font-size: 13px;
  color: #e74c3c;
  margin-top: 6px;
  min-height: 0;
}

.form-error--general {
  text-align: center;
}

.cta__submit {
  width: 100%;
  background: var(--accent);
  color: var(--white);
  padding: 18px 32px;
  font-size: 17px;
}

.cta__submit:hover {
  background: var(--accent-hover);
}

.cta__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.cta__consent {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  text-align: center;
}

/* Успешная отправка */
.cta__success {
  text-align: center;
  padding: 40px 20px;
}

.cta__success-icon {
  margin-bottom: 20px;
}

.cta__success-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.cta__success-text {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
}

/* ==================== ФУТЕР ==================== */

.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer__logo {
  font-size: 20px;
}

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
  transition: color var(--transition);
}

.footer__link:hover {
  color: var(--accent);
}

.footer__copy {
  font-size: 13px;
  color: var(--text-light);
}

.footer__guarantee {
  font-size: 13px;
  color: var(--text-light);
}

/* ==================== ПЛАВАЮЩАЯ КНОПКА TELEGRAM ==================== */

.fab-telegram {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #2AABEE;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(42, 171, 238, 0.35);
  transition: transform var(--transition), box-shadow var(--transition);
  z-index: 999;
}

.fab-telegram:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(42, 171, 238, 0.45);
}

/* ==================== МОБИЛЬНАЯ ПАНЕЛЬ ==================== */

.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: var(--white);
  border-top: 1px solid var(--border);
  z-index: 1000;
  gap: 10px;
}

.mobile-bar__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
}

.mobile-bar__btn--call {
  background: var(--white);
  border: 1.5px solid var(--border);
  color: var(--text);
}

.mobile-bar__btn--cta {
  background: var(--bg-dark);
  color: var(--white);
}

/* ==================== АНИМАЦИИ ПОЯВЛЕНИЯ ==================== */

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==================== АДАПТИВ ==================== */

/* Планшет */
@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

/* Мобилка */
@media (max-width: 768px) {
  :root {
    --header-h: 60px;
  }

  .header__phone-text {
    display: none;
  }

  .header__phone-icon {
    display: flex;
  }

  .hero {
    padding-top: calc(var(--header-h) + 40px);
    padding-bottom: 60px;
  }

  .hero__trust {
    flex-direction: column;
    gap: 12px;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .service-card__price {
    font-size: 28px;
  }

  .calculator__body {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .calc-result__value {
    font-size: 32px;
  }

  .calc-checkbox {
    font-size: 14px;
    padding: 12px 14px;
    gap: 8px;
  }

  .steps__grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .reviews__grid {
    grid-template-columns: 1fr;
  }

  .cta__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cta__title {
    font-size: 24px;
  }

  .cta {
    padding-bottom: 120px;
  }

  /* Мобильная панель */
  .mobile-bar {
    display: flex;
  }

  /* Сдвигаем Telegram-кнопку выше панели */
  .fab-telegram {
    bottom: 84px;
  }

  /* Добавляем отступ снизу body для мобильной панели */
  body {
    padding-bottom: 72px;
  }

  .section-title {
    font-size: 26px;
  }

  .section-subtitle {
    font-size: 15px;
  }

  .services,
  .calculator,
  .steps,
  .gallery,
  .reviews,
  .cta {
    padding: 60px 0;
  }

  .footer__links {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
}

/* Маленькие мобилки */
@media (max-width: 480px) {
  .hero__title {
    font-size: 32px;
  }

  .hero__subtitle {
    font-size: 16px;
  }

  .hero__buttons {
    flex-direction: column;
  }

  .hero__buttons .btn {
    width: 100%;
  }

  .steps__grid {
    grid-template-columns: 1fr;
  }

  .calc-result__value {
    font-size: 28px;
  }

  .gallery__grid {
    grid-template-columns: 1fr;
  }

  .mobile-bar__btn {
    padding: 12px 12px;
    font-size: 14px;
  }
}
/* ==================== НАВИГАЦИЯ ==================== */

.nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: var(--bg);
  flex-direction: column;
  padding: calc(var(--header-h) + 24px) 24px 24px;
  box-shadow: -4px 0 24px rgba(0,0,0,0.1);
  transition: right 0.3s ease;
  z-index: 999;
  display: flex;
  gap: 2px;
  align-items: stretch;
  overflow-y: auto;
}

.nav--open {
  right: 0;
}

.nav__link {
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.nav__link:hover {
  color: var(--accent);
  background: rgba(200, 149, 108, 0.06);
}

.nav__link--active {
  color: var(--accent);
  background: rgba(200, 149, 108, 0.1);
  font-weight: 600;
}

.burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  margin-left: auto;
  margin-right: 16px;
}

.burger__line {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.burger--active .burger__line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger--active .burger__line:nth-child(2) {
  opacity: 0;
}

.burger--active .burger__line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Overlay */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.3);
  z-index: 998;
}

.nav-overlay--visible {
  display: block;
}


/* ==================== ХЛЕБНЫЕ КРОШКИ ==================== */

.breadcrumbs {
  padding: 16px 0 0;
  margin-top: var(--header-h);
}

.breadcrumbs .container {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-light);
}

.breadcrumbs__link {
  color: var(--accent);
  transition: color var(--transition);
}

.breadcrumbs__link:hover {
  color: var(--accent-hover);
}

.breadcrumbs__sep {
  color: var(--border);
}

/* ==================== SERVICE HERO ==================== */

.service-hero {
  padding: 48px 0 40px;
}

.breadcrumbs + .service-hero {
  padding-top: 32px;
}

.service-hero__title {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.service-hero__subtitle {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--text-light);
  line-height: 1.6;
  max-width: 640px;
  margin-bottom: 28px;
}

.service-hero__price-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.service-hero__price {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.service-hero__price-unit {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-light);
}

/* ==================== SERVICE CONTENT ==================== */

.service-content {
  padding: 60px 0;
  background: var(--white);
}

.service-content__grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
}

.service-content__text h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 32px 0 12px;
}

.service-content__text h2:first-child {
  margin-top: 0;
}

.service-content__text p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 12px;
}

.service-content__list {
  margin: 12px 0;
  padding: 0;
}

.service-content__list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.6;
}

.service-content__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

.service-content__card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.service-content__card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
}

/* ==================== PRICE TABLE ==================== */

.price-table {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.price-table__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  gap: 12px;
}

.price-table__row:last-child {
  border-bottom: none;
}

.price-table__val {
  font-weight: 700;
  white-space: nowrap;
  color: var(--accent);
}

.price-full {
  display: grid;
  gap: 24px;
}

.price-full__card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
}

.price-full__card h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}

.price-table--full .price-table__row {
  font-size: 16px;
  padding: 14px 0;
}

.price-section {
  padding: 48px 0 80px;
}

/* ==================== GALLERY SMALL ==================== */

.gallery--small {
  padding: 60px 0;
}

.gallery__grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

/* ==================== CONTACTS ==================== */

.contacts-section {
  padding: 48px 0 60px;
}

.contacts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.contacts__card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
}

.contacts__icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.contacts__card h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.contacts__value {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 8px;
}

.contacts__note {
  font-size: 13px;
  color: var(--text-light);
}

/* ==================== RESPONSIVE — NAV ==================== */

@media (max-width: 1100px) {
  .service-content__grid {
    grid-template-columns: 1fr;
  }

  .service-content__card {
    position: static;
  }
}

@media (max-width: 768px) {
  .service-hero__title {
    font-size: 28px;
  }

  .service-hero__price {
    font-size: 28px;
  }

  .gallery__grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .contacts__grid {
    grid-template-columns: 1fr;
  }

  .service-hero {
    padding: 32px 0;
  }

  .breadcrumbs + .service-hero {
    padding-top: 24px;
  }
}

/* ==================== RELATED SERVICES ==================== */

.related {
  padding: 60px 0;
}

.related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.related__card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}

.related__card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}

.related__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.related__desc {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.5;
  flex-grow: 1;
  margin-bottom: 12px;
}

.related__price {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
}

/* ==================== FAQ ==================== */

.faq {
  padding: 60px 0;
  background: var(--white);
}

.faq__list {
  max-width: 800px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--border);
}

.faq__question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 40px 20px 0;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  position: relative;
  transition: color var(--transition);
}

.faq__question:hover {
  color: var(--accent);
}

.faq__question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.faq__item--open .faq__question::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq__answer {
  display: none;
  padding: 0 0 20px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-light);
}

.faq__item--open .faq__answer {
  display: block;
}

@media (max-width: 768px) {
  .related__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .related__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
