/* ===== Variables ===== */
:root {
  --primary: #16a34a;
  --primary-dark: #15803d;
  --primary-light: #22c55e;
  --accent: #f59e0b;
  --dark: #0f172a;
  --dark-soft: #1e293b;
  --gray: #64748b;
  --gray-light: #94a3b8;
  --light: #f8fafc;
  --white: #ffffff;
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }
button, input, textarea, select { font-family: inherit; }

/* ===== Utilities ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 80px 0; }
.section--gray { background: var(--light); }
.section--dark { background: var(--dark); color: var(--white); }
.section__header { text-align: center; margin-bottom: 56px; }
.section__label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 12px;
}
.section__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--dark);
}
.section--dark .section__title { color: var(--white); }
.section__subtitle {
  margin-top: 16px;
  font-size: 1.125rem;
  color: var(--gray);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.section--dark .section__subtitle { color: var(--gray-light); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn--primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn--outline:hover {
  background: var(--white);
  color: var(--primary);
}
.btn--dark {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}
.btn--dark:hover {
  background: var(--dark-soft);
  transform: translateY(-2px);
}
.btn--lg { padding: 18px 36px; font-size: 1.125rem; }
.btn--sm { padding: 10px 20px; font-size: 0.875rem; }

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: all var(--transition);
}
.header--scrolled {
  box-shadow: var(--shadow);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo__img {
  width: auto;
  height: 64px;
  max-width: 240px;
  object-fit: contain;
  flex-shrink: 0;
}
.footer .logo__img {
  height: 52px;
}
.nav { display: flex; align-items: center; gap: 20px; }
.nav__list { display: flex; gap: 4px; align-items: center; }
.nav__link {
  padding: 8px 12px;
  font-weight: 500;
  font-size: 0.875rem;
  white-space: nowrap;
  color: var(--dark-soft);
  border-radius: 8px;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav__link:hover,
.nav__link--active {
  color: var(--primary);
  background: rgba(22, 163, 74, 0.08);
}
.nav__dropdown { position: relative; }
.nav__dropdown > .nav__link::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform var(--transition);
}
.nav__dropdown:hover > .nav__link::after,
.nav__dropdown--open > .nav__link::after {
  transform: rotate(180deg);
}
.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 280px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s ease;
  z-index: 100;
}
.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown--open .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__dropdown-menu li { margin: 0; }
.nav__dropdown-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark-soft);
  transition: all var(--transition);
}
.nav__dropdown-menu a:hover,
.nav__dropdown-menu a.active {
  background: rgba(22, 163, 74, 0.08);
  color: var(--primary);
}
.header__phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9375rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.header__phone svg { width: 18px; height: 18px; }
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--transition);
}
.burger--active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger--active span:nth-child(2) { opacity: 0; }
.burger--active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background: #0f172a;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.75) 45%, rgba(15, 23, 42, 0.4) 100%),
    url('../images/hero.jpg') center / cover no-repeat;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 20% 50%, rgba(22, 163, 74, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.1) 0%, transparent 40%);
}
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.hero__photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  aspect-ratio: 4/3;
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.5) 0%, transparent 50%);
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(22, 163, 74, 0.2);
  border: 1px solid rgba(22, 163, 74, 0.3);
  border-radius: 100px;
  color: var(--primary-light);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--primary-light);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero__title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
}
.hero__title span { color: var(--primary-light); }
.hero__text {
  font-size: 1.25rem;
  color: var(--gray-light);
  margin-bottom: 16px;
  line-height: 1.7;
}
.hero__features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0;
}
.hero__feature {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  color: var(--gray-light);
  font-size: 0.9375rem;
}
.hero__feature svg { color: var(--primary-light); flex-shrink: 0; }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}
.hero__phone-big {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 800;
}
.hero__phone-big:hover { color: var(--primary-light); }
.hero__visual { display: none; }

/* ===== Cards ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid #e2e8f0;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.card--media {
  padding: 0;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.card__media {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card:hover .card__media img { transform: scale(1.06); }
.card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}
.card__badge img { width: 24px; height: 24px; }
.card__body { padding: 24px 28px 28px; flex: 1; display: flex; flex-direction: column; }
.card__body .card__link { margin-top: auto; }
.card__icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.12) 0%, rgba(22, 163, 74, 0.04) 100%);
  border: 1px solid rgba(22, 163, 74, 0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.card__icon img { width: 28px; height: 28px; }
.card__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark);
}
.card__text {
  color: var(--gray);
  font-size: 0.9375rem;
  margin-bottom: 20px;
  line-height: 1.7;
}
.card__price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 20px;
}
.card__price small {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray);
}
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--primary);
  font-size: 0.9375rem;
}
.card__link:hover { gap: 10px; }

/* ===== Features ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 32px;
}
.feature {
  text-align: center;
  padding: 32px 24px;
}
.feature__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.14) 0%, rgba(22, 163, 74, 0.04) 100%);
  border: 1px solid rgba(22, 163, 74, 0.18);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: all var(--transition);
}
.feature:hover .feature__icon {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(22, 163, 74, 0.25);
}
.feature__icon img {
  width: 32px;
  height: 32px;
  transition: filter var(--transition);
}
.feature:hover .feature__icon img { filter: brightness(0) invert(1); }
.feature__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.feature__text {
  color: var(--gray);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ===== CTA ===== */
.cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
}
.cta__content { position: relative; z-index: 1; }
.cta__title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}
.cta__text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.125rem;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* ===== Reviews ===== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.review {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid #e2e8f0;
}
.review__stars {
  color: var(--accent);
  font-size: 1.125rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.review__text {
  color: var(--gray);
  font-style: italic;
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 20px;
}
.review__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review__avatar {
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
}
.review__name { font-weight: 700; font-size: 0.9375rem; }
.review__city { color: var(--gray); font-size: 0.8125rem; }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid #e2e8f0;
}
.faq-item:first-child { border-top: 1px solid #e2e8f0; }
.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--dark);
  transition: color var(--transition);
}
.faq__question:hover { color: var(--primary); }
.faq__icon {
  width: 32px;
  height: 32px;
  background: rgba(22, 163, 74, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
  font-size: 1.25rem;
  color: var(--primary);
}
.faq-item--open .faq__icon {
  background: var(--primary);
  color: var(--white);
  transform: rotate(45deg);
}
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item--open .faq__answer {
  max-height: 500px;
  padding-bottom: 24px;
}
.faq__answer p {
  color: var(--gray);
  line-height: 1.7;
  font-size: 0.9375rem;
}

/* ===== Portfolio ===== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.portfolio-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.portfolio-item:hover img { transform: scale(1.08); }
.portfolio-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity var(--transition);
}
.portfolio-item:hover .portfolio-item__overlay { opacity: 1; }
.portfolio-item__title {
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--light);
  box-shadow: var(--shadow-lg);
  border: 1px solid #e2e8f0;
}
.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-banner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 40px;
  aspect-ratio: 21/9;
  max-height: 320px;
}
.service-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about__text p {
  color: var(--gray);
  margin-bottom: 16px;
  line-height: 1.8;
}
.about__list {
  margin-top: 24px;
}
.about__list li {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--gray);
  line-height: 1.7;
}
.about__list li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
}
.about__list strong { color: var(--dark); }

/* ===== Contacts ===== */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--light);
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.contact-card__icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}
.contact-card__label {
  font-size: 0.8125rem;
  color: var(--gray);
  margin-bottom: 4px;
}
.contact-card__value {
  font-weight: 600;
  font-size: 1.0625rem;
}
.contact-card__value a:hover { color: var(--primary); }

/* ===== Form ===== */
.form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow);
}
.form__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.form__subtitle {
  color: var(--gray);
  margin-bottom: 32px;
  font-size: 0.9375rem;
}
.form__group { margin-bottom: 20px; }
.form__label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 8px;
  color: var(--dark-soft);
}
.form__input,
.form__textarea,
.form__select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius);
  font-size: 1rem;
  transition: border-color var(--transition);
  background: var(--white);
}
.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  outline: none;
  border-color: var(--primary);
}
.form__textarea { resize: vertical; min-height: 120px; }
.form__submit { width: 100%; }
.form--hidden { display: none !important; }
.form__hidden { display: none !important; }

.form-error {
  display: none;
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  padding: 14px 16px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.5;
}
.form-error--visible { display: block; }

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
  animation: formSuccessIn 0.4s ease;
}
.form-success--visible { display: block; }
.form-success__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(22, 163, 74, 0.2);
}
.form-success__title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--dark);
}
.form-success__text {
  color: var(--gray);
  font-size: 1.0625rem;
  line-height: 1.6;
}
@keyframes formSuccessIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Page Hero ===== */
.page-hero {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a2f 100%);
  text-align: center;
}
.page-hero__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
}
.page-hero__text {
  color: var(--gray-light);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 0.875rem;
}
.breadcrumb a { color: var(--gray-light); }
.breadcrumb a:hover { color: var(--primary-light); }
.breadcrumb span { color: var(--primary-light); }

/* ===== Service Detail ===== */
.service-detail {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}
.service-detail__content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 32px 0 16px;
}
.service-detail__content p {
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 16px;
}
.service-detail__sidebar {
  position: sticky;
  top: 100px;
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid #e2e8f0;
}
.service-detail__price {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 8px;
}
.service-detail__price-note {
  color: var(--gray);
  font-size: 0.875rem;
  margin-bottom: 24px;
}
.service-detail__includes {
  margin: 24px 0;
}
.service-detail__includes li {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--gray);
  font-size: 0.9375rem;
}
.service-detail__includes li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
}
.service-detail__content h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 24px 0 12px;
  color: var(--dark);
}
.service-detail__content ul {
  margin: 0 0 16px 20px;
  list-style: disc;
}
.service-detail__content li {
  color: var(--gray);
  margin-bottom: 8px;
  line-height: 1.7;
}
.service-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 24px 0 32px;
}
.service-step {
  background: var(--light);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid #e2e8f0;
  text-align: center;
}
.service-step__num {
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin: 0 auto 12px;
  font-size: 0.9375rem;
}
.service-step h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 8px;
  text-align: center;
}
.service-step p {
  font-size: 0.8125rem;
  color: var(--gray);
  line-height: 1.6;
  margin: 0;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 24px;
}
.service-tag {
  padding: 6px 14px;
  background: rgba(22, 163, 74, 0.08);
  border: 1px solid rgba(22, 163, 74, 0.15);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary-dark);
}
.service-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
}
.service-info-box {
  background: var(--light);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid #e2e8f0;
}
.service-info-box h3 {
  font-size: 1rem;
  margin: 0 0 8px;
}
.service-info-box p {
  font-size: 0.875rem;
  margin: 0;
}
.service-related {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #e2e8f0;
}
.service-related h2 {
  margin-top: 0 !important;
}
.service-related__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}
.service-related__links a {
  padding: 10px 18px;
  background: var(--light);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--dark-soft);
  border: 1px solid #e2e8f0;
  transition: all var(--transition);
}
.service-related__links a:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(22, 163, 74, 0.06);
}

/* ===== Stats ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 48px 0;
}
.stat { text-align: center; }
.stat__number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary-light);
  line-height: 1;
  margin-bottom: 8px;
}
.stat__label {
  color: var(--gray-light);
  font-size: 0.9375rem;
}

/* ===== Footer ===== */
.footer {
  background: var(--dark);
  color: var(--gray-light);
  padding: 64px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer__brand p {
  margin-top: 16px;
  font-size: 0.9375rem;
  line-height: 1.7;
}
.footer__title {
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 20px;
}
.footer__links li { margin-bottom: 12px; }
.footer__links a {
  font-size: 0.9375rem;
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--primary-light); }
.footer__contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 0.9375rem;
}
.footer__contact-item svg { flex-shrink: 0; color: var(--primary-light); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.875rem;
}
.footer__bottom-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__bottom a { color: var(--primary-light); }
.footer__bottom a:hover { text-decoration: underline; }

/* ===== Modal ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}
.modal--open {
  opacity: 1;
  visibility: visible;
}
.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}
.modal__content {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 480px;
  width: 100%;
  transform: translateY(20px);
  transition: transform var(--transition);
}
.modal--open .modal__content { transform: translateY(0); }
.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: var(--light);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.modal__close:hover { background: #e2e8f0; }

/* ===== Blog ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid #e2e8f0;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.blog-card__image {
  height: 220px;
  overflow: hidden;
}
.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-card__image img { transform: scale(1.06); }
.blog-card__body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.blog-card__date {
  font-size: 0.8125rem;
  color: var(--gray);
  margin-bottom: 12px;
}
.blog-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
}
.blog-card__title a:hover { color: var(--primary); }
.blog-card__excerpt {
  color: var(--gray);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
}
.blog-card__link {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.9375rem;
}
.article {
  max-width: 760px;
  margin: 0 auto;
}
.article__meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--gray);
  font-size: 0.875rem;
  margin-bottom: 24px;
}
.article__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
  aspect-ratio: 16/9;
}
.article__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article__content h2 {
  font-size: 1.375rem;
  font-weight: 700;
  margin: 32px 0 16px;
}
.article__content p {
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 16px;
}
.article__content a {
  color: var(--primary);
  font-weight: 600;
}
.article__content a:hover { text-decoration: underline; }
.article__content ul {
  margin: 16px 0 16px 24px;
  list-style: disc;
}
.article__content li {
  color: var(--gray);
  margin-bottom: 8px;
  line-height: 1.7;
}
.article__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 32px;
}
.article__back:hover { gap: 12px; }

/* ===== SEO Text ===== */
.seo-text {
  max-width: 900px;
  margin: 0 auto;
}
.seo-text h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.3;
}
.seo-text h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 28px 0 12px;
  color: var(--dark);
}
.seo-text p {
  color: var(--gray);
  line-height: 1.85;
  margin-bottom: 16px;
  font-size: 1rem;
}
.seo-text a {
  color: var(--primary);
  font-weight: 600;
}
.seo-text a:hover { text-decoration: underline; }
.seo-text ul {
  margin: 12px 0 20px 24px;
  list-style: disc;
}
.seo-text li {
  color: var(--gray);
  margin-bottom: 8px;
  line-height: 1.7;
}

/* ===== Reviews Enhanced ===== */
.reviews-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  margin-bottom: 40px;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow);
}
.reviews-summary__score {
  text-align: center;
}
.reviews-summary__number {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}
.reviews-summary__stars {
  color: var(--accent);
  font-size: 1.25rem;
  letter-spacing: 3px;
  margin: 8px 0;
}
.reviews-summary__count {
  color: var(--gray);
  font-size: 0.9375rem;
}
.reviews-summary__items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.reviews-summary__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8125rem;
  color: var(--gray);
}
.reviews-summary__bar-track {
  width: 120px;
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  overflow: hidden;
}
.reviews-summary__bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 3px;
}
.review {
  position: relative;
}
.review__tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(22, 163, 74, 0.08);
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 12px;
}
.review__date {
  font-size: 0.75rem;
  color: var(--gray-light);
  margin-top: 4px;
}
.review--featured {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(22,163,74,0.03) 0%, var(--white) 100%);
}
.review--featured::before {
  content: '★ Лучший отзыв';
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== Animations ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up--visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero__photo { display: none; }
  .hero__visual { display: none; }
  .about-grid,
  .contacts-grid,
  .service-detail,
  .footer__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .service-detail__sidebar { position: static; }
  .service-steps { grid-template-columns: repeat(2, 1fr); }
  .service-info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .header__inner { height: 72px; }
  .logo__img { height: 52px; max-width: 200px; }
  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px 24px;
    gap: 12px;
    border-bottom: 1px solid #e2e8f0;
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 99;
  }
  .nav--open {
    transform: translateY(0);
    opacity: 1;
  }
  .nav__list {
    flex-direction: column;
    width: 100%;
    align-items: flex-end;
    gap: 10px;
  }
  .nav__list > li {
    width: min(300px, 100%);
    margin-left: auto;
  }
  .nav__link {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 14px 18px;
    text-align: right;
    font-size: 1rem;
    font-weight: 600;
    background: var(--light);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    color: var(--dark-soft);
  }
  .nav__link:hover,
  .nav__link--active {
    background: rgba(22, 163, 74, 0.1);
    border-color: rgba(22, 163, 74, 0.3);
    color: var(--primary);
  }
  .nav__dropdown {
    width: min(300px, 100%);
    margin-left: auto;
  }
  .nav__dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 8px 0 0;
    display: none;
    min-width: 0;
    width: 100%;
    flex-direction: column;
    gap: 8px;
  }
  .nav__dropdown--open .nav__dropdown-menu {
    display: flex;
  }
  .nav__dropdown > .nav__link::after {
    margin-left: 12px;
    flex-shrink: 0;
  }
  .nav__dropdown-menu li {
    width: 100%;
  }
  .nav__dropdown-menu a {
    display: block;
    padding: 12px 16px;
    text-align: right;
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: 0 1px 3px rgb(0 0 0 / 0.06);
    color: var(--dark-soft);
  }
  .nav__dropdown-menu a:hover,
  .nav__dropdown-menu a.active {
    background: rgba(22, 163, 74, 0.08);
    border-color: rgba(22, 163, 74, 0.25);
    color: var(--primary);
  }
  .nav > .btn {
    width: min(300px, 100%);
    margin-left: auto;
    padding: 14px 20px;
    font-size: 1rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }
  .header__phone { display: none; }
  .burger { display: flex; }
  .cards-grid { grid-template-columns: 1fr; }
  .cta { padding: 40px 24px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .service-steps { grid-template-columns: 1fr; }
}
