/* ===== Variables ===== */
:root {
  --color-bg: #ffffff;
  --color-bg-dark: #0a0a0a;
  --color-bg-muted: #f5f5f5;
  --color-wood: #c4956a;
  --color-wood-dark: #a67c52;
  --color-wood-light: #d4a574;
  --color-primary: #0a0a0a;
  --color-primary-dark: #000000;
  --color-accent: #c4956a;
  --color-accent-light: #d4a574;
  --color-text: #0a0a0a;
  --color-text-muted: #666666;
  --color-text-light: #ffffff;
  --color-white: #ffffff;
  --color-border: #e5e5e5;
  --font-body: 'Montserrat', system-ui, sans-serif;
  --font-display: 'Montserrat', system-ui, sans-serif;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: 0.3s ease;
}

/* ===== Reset ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button, input, select, textarea {
  font: inherit;
  border: none;
  outline: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.section > .container {
  position: relative;
  z-index: 1;
}

.section--dark {
  background: var(--color-bg-dark);
}

.section--muted {
  background: var(--color-bg-muted);
}

/* ===== Section backgrounds ===== */
#services {
  background:
    linear-gradient(135deg, rgba(196, 149, 106, 0.08) 0%, transparent 55%),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 18px,
      rgba(196, 149, 106, 0.04) 18px,
      rgba(196, 149, 106, 0.04) 19px
    ),
    #fafafa;
}

#services::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 420px;
  height: 420px;
  background: linear-gradient(145deg, rgba(196, 149, 106, 0.18), rgba(196, 149, 106, 0.04));
  clip-path: polygon(0 0, 100% 0, 100% 70%, 30% 100%);
  pointer-events: none;
}

#services::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -40px;
  width: 280px;
  height: 280px;
  border: 3px solid rgba(196, 149, 106, 0.12);
  transform: rotate(12deg);
  pointer-events: none;
}

.advantages {
  background:
    radial-gradient(ellipse 80% 60% at 10% 100%, rgba(196, 149, 106, 0.22), transparent 60%),
    radial-gradient(circle at 90% 20%, rgba(255, 255, 255, 0.04), transparent 40%),
    linear-gradient(160deg, #0a0a0a 0%, #141010 50%, #1a1208 100%);
}

.advantages::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 80px,
      rgba(196, 149, 106, 0.03) 80px,
      rgba(196, 149, 106, 0.03) 81px
    );
  pointer-events: none;
}

.advantages::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, transparent, var(--color-wood), transparent);
  pointer-events: none;
}

#projects {
  background:
    radial-gradient(circle at 20% 30%, rgba(196, 149, 106, 0.1), transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(10, 10, 10, 0.04), transparent 40%),
    #ffffff;
}

#projects::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(196, 149, 106, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196, 149, 106, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, black 20%, transparent 75%);
  pointer-events: none;
}

#projects::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  transform: translate(-50%, -50%) rotate(45deg);
  border: 1px solid rgba(196, 149, 106, 0.08);
  pointer-events: none;
}

#process {
  background:
    linear-gradient(180deg, #f0ebe4 0%, #f5f5f5 40%, #faf8f5 100%);
}

#process::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0 L60 30 L30 60 L0 30 Z' fill='none' stroke='%23c4956a' stroke-opacity='0.08' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 60px 60px;
  pointer-events: none;
}

#process::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 2px dashed rgba(196, 149, 106, 0.2);
  pointer-events: none;
}

#about {
  background:
    linear-gradient(115deg, #ffffff 55%, rgba(196, 149, 106, 0.12) 55%, rgba(196, 149, 106, 0.06) 100%);
}

#about::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 5%;
  width: 200px;
  height: 200px;
  background: repeating-linear-gradient(
    0deg,
    rgba(10, 10, 10, 0.03),
    rgba(10, 10, 10, 0.03) 2px,
    transparent 2px,
    transparent 12px
  );
  transform: rotate(-8deg);
  pointer-events: none;
}

.contact {
  background:
    radial-gradient(ellipse 50% 80% at 0% 50%, rgba(196, 149, 106, 0.25), transparent 60%),
    radial-gradient(ellipse 40% 60% at 100% 80%, rgba(196, 149, 106, 0.15), transparent 55%),
    var(--color-primary);
}

.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -30deg,
      transparent,
      transparent 40px,
      rgba(255, 255, 255, 0.015) 40px,
      rgba(255, 255, 255, 0.015) 41px
    );
  pointer-events: none;
}

.section__head {
  margin-bottom: 56px;
  max-width: 600px;
}

.section__head--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section__tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-wood);
  margin-bottom: 12px;
}

.section__tag--light {
  color: var(--color-wood-light);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section__title--light {
  color: var(--color-text-light);
}

.section__desc {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn--primary:hover {
  background: var(--color-wood-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
}

.btn--full {
  width: 100%;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 10px 3cm;
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition);
}

.header--scrolled {
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  padding-top: 8px;
  padding-bottom: 8px;
}

.logo--header {
  grid-column: 1;
  padding: 0;
  background: none;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  align-items: center;
  line-height: 0;
  flex-shrink: 0;
}

.logo--header:hover {
  opacity: 0.85;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo__img {
  width: auto;
  object-fit: contain;
}

.logo__img--header {
  display: block;
  height: 54px;
  max-width: none;
  transition: height var(--transition);
}

.header--scrolled .logo__img--header {
  height: 44px;
}

.logo__img--footer {
  height: 44px;
}

.nav {
  grid-column: 2;
  justify-self: center;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}

.nav__link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  transition: color var(--transition);
  white-space: nowrap;
}

.nav__link:hover {
  color: var(--color-wood-light);
}

.header__actions {
  grid-column: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header__social {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(196, 149, 106, 0.45);
  background: rgba(196, 149, 106, 0.22);
  color: var(--color-wood-light);
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
  flex-shrink: 0;
}

.header__social svg {
  width: 20px;
  height: 20px;
}

.header__social--tg,
.header__social--max {
  background: rgba(196, 149, 106, 0.22);
  color: var(--color-wood-light);
}

.header__social--max {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.header__social:hover {
  transform: translateY(-2px);
  background: var(--color-wood);
  border-color: var(--color-wood-light);
  color: var(--color-white);
}

.header__call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: var(--color-wood);
  color: var(--color-white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: background var(--transition), transform var(--transition);
  flex-shrink: 0;
  white-space: nowrap;
}

.header__call:hover {
  background: var(--color-wood-light);
  transform: translateY(-1px);
}

.header__call-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.floating-call {
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 999;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(-50%);
  background: var(--color-wood);
  color: var(--color-white);
  border-radius: 50%;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
  transition: background var(--transition), box-shadow var(--transition);
}

.floating-call:hover {
  background: var(--color-wood-light);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.32);
}

.floating-call__icon {
  width: 26px;
  height: 26px;
  animation: phone-bounce 1.6s ease-in-out infinite;
}

.floating-call:hover .floating-call__icon {
  animation-play-state: paused;
}

@keyframes phone-bounce {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  cursor: pointer;
  padding: 4px;
  grid-column: 4;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: all var(--transition);
  border-radius: 2px;
}

.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;
  justify-content: flex-start;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero__bg.is-playing .hero__poster {
  opacity: 0;
  visibility: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0.35) 100%
  );
}

.hero__content {
  position: relative;
  max-width: 720px;
  width: 100%;
  margin-left: 5cm;
  margin-right: auto;
  padding-left: 0;
  padding-right: 24px;
  text-align: left;
}

.hero__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-wood-light);
  margin-bottom: 20px;
  padding: 8px 20px;
  border-top: 1px solid rgba(196, 149, 106, 0.5);
  border-bottom: 1px solid rgba(196, 149, 106, 0.5);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-white);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero__title em {
  font-style: normal;
  color: var(--color-wood-light);
}

.hero__text {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 560px;
}

.hero__text strong {
  color: var(--color-white);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 56px;
}

.hero__stats {
  display: flex;
  align-items: flex-end;
  gap: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat__num {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 4px;
}

.stat--rating .stat__num {
  gap: 8px;
}

.stat__star {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--color-wood-light);
  flex-shrink: 0;
}

.stat__label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
}

/* ===== Services ===== */
.services__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.services__picker {
  display: none;
  margin-top: 24px;
}

.services__picker-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 10px;
}

.services__picker-select {
  width: 100%;
  padding: 14px 16px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text);
  font-size: 15px;
  transition: border-color var(--transition);
}

.services__picker-select:focus {
  border-color: var(--color-wood);
  outline: none;
}

.service-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 24px 16px 20px;
  border: 1px solid var(--color-border);
  transition: all var(--transition);
  cursor: pointer;
  text-align: center;
}

.service-card:focus-visible {
  outline: 2px solid var(--color-wood);
  outline-offset: 3px;
}

.service-card::after {
  content: 'Подробнее →';
  display: block;
  margin-top: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--transition), transform var(--transition);
}

.service-card:nth-child(odd)::after {
  color: var(--color-wood);
}

.service-card:nth-child(even)::after {
  color: rgba(255, 255, 255, 0.9);
}

.service-card:hover::after,
.service-card:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.service-card__text,
.service-card__list {
  display: none;
}

.service-card:nth-child(odd) {
  background: var(--color-white);
  color: var(--color-text);
}

.service-card:nth-child(even) {
  background: var(--color-wood);
  border-color: var(--color-wood);
  color: var(--color-white);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-card:nth-child(odd):hover {
  border-color: var(--color-wood);
}

.service-card:nth-child(even):hover {
  background: var(--color-wood-light);
  border-color: var(--color-wood-light);
}

.service-card:nth-child(odd) .service-card__text,
.service-card:nth-child(odd) .service-card__list li {
  color: var(--color-text-muted);
}

.service-card:nth-child(even) .service-card__text,
.service-card:nth-child(even) .service-card__list li {
  color: rgba(255, 255, 255, 0.72);
}

.service-card:nth-child(odd) .service-card__icon {
  background: var(--color-bg-muted);
  color: var(--color-primary);
}

.service-card:nth-child(even) .service-card__icon {
  background: rgba(255, 255, 255, 0.18);
  color: var(--color-white);
}

.service-card:nth-child(odd) .service-card__list li::before {
  background: var(--color-wood);
}

.service-card:nth-child(even) .service-card__list li::before {
  background: var(--color-white);
}

.service-card:nth-child(even) .service-card__badge {
  background: var(--color-white);
  color: var(--color-wood-dark);
}

.service-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--color-wood);
  color: var(--color-white);
  padding: 5px 10px;
  border-radius: 4px;
}

.service-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-muted);
  border-radius: var(--radius);
  color: var(--color-primary);
  margin: 0 auto 16px;
}

.service-card__icon svg {
  width: 32px;
  height: 32px;
}

.service-card__title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0;
}

.service-card.fade-in:nth-child(1) { transition-delay: 0.04s; }
.service-card.fade-in:nth-child(2) { transition-delay: 0.08s; }
.service-card.fade-in:nth-child(3) { transition-delay: 0.12s; }
.service-card.fade-in:nth-child(4) { transition-delay: 0.16s; }
.service-card.fade-in:nth-child(5) { transition-delay: 0.2s; }
.service-card.fade-in:nth-child(6) { transition-delay: 0.24s; }
.service-card.fade-in:nth-child(7) { transition-delay: 0.28s; }
.service-card.fade-in:nth-child(8) { transition-delay: 0.32s; }
.service-card.fade-in:nth-child(9) { transition-delay: 0.36s; }
.service-card.fade-in:nth-child(10) { transition-delay: 0.4s; }

.service-card__text {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.service-card__list li {
  position: relative;
  font-size: 14px;
  color: var(--color-text-muted);
  padding-left: 20px;
  margin-bottom: 8px;
}

.service-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--color-wood);
  border-radius: 50%;
}

/* ===== Service modal ===== */
.service-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.service-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.service-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.62);
  backdrop-filter: blur(4px);
}

.service-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: min(90vh, 640px);
  overflow-y: auto;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 36px 32px 32px;
  box-shadow: var(--shadow-lg);
  transform: scale(0.94) translateY(24px);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-modal.is-open .service-modal__dialog {
  transform: scale(1) translateY(0);
}

.service-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-bg-muted);
  color: var(--color-text);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.service-modal__close:hover {
  background: var(--color-wood);
  color: var(--color-white);
}

.service-modal__close svg {
  width: 20px;
  height: 20px;
}

.service-modal__badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--color-wood);
  color: var(--color-white);
  padding: 5px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.service-modal__badge[hidden] {
  display: none;
}

.service-modal__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-muted);
  border-radius: var(--radius);
  color: var(--color-primary);
  margin-bottom: 20px;
}

.service-modal__icon svg {
  width: 36px;
  height: 36px;
}

.service-modal__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  padding-right: 32px;
}

.service-modal__text {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.service-modal__list {
  margin-bottom: 28px;
}

.service-modal__list li {
  position: relative;
  font-size: 14px;
  color: var(--color-text-muted);
  padding-left: 20px;
  margin-bottom: 8px;
}

.service-modal__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--color-wood);
  border-radius: 50%;
}

.service-modal__cta {
  width: 100%;
  text-align: center;
}

/* ===== Messenger modal ===== */
.messenger-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.messenger-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.messenger-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.messenger-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 380px;
  padding: 32px 28px 28px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform: translateY(12px);
  transition: transform var(--transition);
}

.messenger-modal.is-open .messenger-modal__dialog {
  transform: translateY(0);
}

.messenger-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: var(--color-bg-muted);
  color: var(--color-text);
  cursor: pointer;
}

.messenger-modal__close:hover {
  background: var(--color-border);
}

.messenger-modal__close svg {
  width: 18px;
  height: 18px;
}

.messenger-modal__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.messenger-modal__text {
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.messenger-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.messenger-modal__actions .btn {
  width: 100%;
  text-align: center;
  justify-content: center;
}

.messenger-modal__actions .btn--primary {
  background: var(--color-wood);
  border-color: var(--color-wood);
  color: var(--color-white);
}

.messenger-modal__actions .btn--primary:hover {
  background: var(--color-wood-dark);
  border-color: var(--color-wood-dark);
}

.messenger-modal__actions .btn--outline {
  background: var(--color-white);
  color: var(--color-text);
  border-color: var(--color-border);
}

.messenger-modal__actions .btn--outline:hover {
  background: var(--color-bg-muted);
  border-color: var(--color-wood);
  color: var(--color-text);
}

/* ===== Services extra ===== */
.services-extra {
  margin-top: 64px;
  padding-top: 56px;
  border-top: 1px solid var(--color-border);
}

.services-extra__head {
  max-width: 640px;
  margin-bottom: 36px;
}

.services-extra__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.services-extra__desc {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.services-extra__blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.services-extra__block {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.services-extra__block:hover {
  border-color: var(--color-wood);
  box-shadow: var(--shadow-md);
}

.services-extra__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-wood-dark);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(196, 149, 106, 0.25);
}

.services-extra__list li {
  position: relative;
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.55;
  padding-left: 18px;
  margin-bottom: 12px;
}

.services-extra__list li:last-child {
  margin-bottom: 0;
}

.services-extra__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 1px;
  transform: rotate(45deg);
}

/* ===== Advantages ===== */
.advantages__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.advantages__text {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  margin-top: 16px;
}

.advantages__list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.advantage {
  padding: 24px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition);
}

.advantage:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(196, 149, 106, 0.4);
}

.advantage--highlight {
  background: linear-gradient(135deg, rgba(196, 149, 106, 0.22) 0%, rgba(196, 149, 106, 0.08) 100%);
  border: 2px solid var(--color-wood);
  box-shadow: 0 8px 32px rgba(196, 149, 106, 0.2);
}

.advantage--highlight .advantage__title {
  color: var(--color-white);
}

.advantage--highlight:hover {
  background: linear-gradient(135deg, rgba(196, 149, 106, 0.3) 0%, rgba(196, 149, 106, 0.12) 100%);
  border-color: var(--color-wood-light);
}

/* ===== Speed accent ===== */
.speed {
  padding: 0;
  background: var(--color-primary);
  position: relative;
  overflow: hidden;
}

.speed::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0% 50%, rgba(196, 149, 106, 0.35), transparent 50%),
    radial-gradient(circle at 100% 50%, rgba(196, 149, 106, 0.15), transparent 45%);
  pointer-events: none;
}

.speed__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 56px 0;
}

.speed__badge {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 160px;
  background: var(--color-wood);
  border-radius: 50%;
  box-shadow: 0 12px 40px rgba(196, 149, 106, 0.45);
  line-height: 1;
}

.speed__num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  color: var(--color-white);
}

.speed__unit {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 4px;
}

.speed__content {
  max-width: 640px;
}

.speed__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-wood-light);
  margin-bottom: 12px;
}

.speed__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.speed__text {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
}

.advantage__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-light);
  margin-bottom: 6px;
}

.advantage__text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}

/* ===== Projects ===== */
.projects__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.projects__grid .project-card:nth-child(5):last-child {
  grid-column: 1 / -1;
  max-width: calc((100% - 24px) / 2);
  justify-self: center;
}

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.project-card__image {
  height: 260px;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.project-card:hover .project-card__image {
  transform: scale(1.05);
}

.project-card__media {
  position: relative;
  height: 320px;
  background: #d8d2ca;
  user-select: none;
}

.project-card__slider-viewport {
  height: 100%;
  overflow: hidden;
}

.project-card__slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.4s ease;
}

.project-card__slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.project-card__slide-fill {
  position: absolute;
  inset: -32px;
  z-index: 0;
  background-size: cover;
  background-position: center;
  filter: blur(26px) saturate(1.12) brightness(0.95);
  transform: scale(1.12);
  pointer-events: none;
}

.project-card__slide-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.08);
}

.project-card__slide img,
.project-card__slide video {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.project-card__slide--video video {
  filter: brightness(1.15) contrast(1.06);
}

.project-card__slider-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-wood-dark);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.project-card__media:hover .project-card__slider-btn,
.project-card__media:focus-within .project-card__slider-btn {
  opacity: 1;
}

.project-card__slider-btn:hover {
  background: var(--color-white);
}

.project-card__slider-btn--prev {
  left: 12px;
}

.project-card__slider-btn--next {
  right: 12px;
}

.project-card__slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  z-index: 2;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.project-card__slider-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.project-card__slider-dot.is-active {
  background: var(--color-white);
  transform: scale(1.2);
}

.project-card {
  overflow: hidden;
}

.project-card__body {
  padding: 24px 28px;
}

.project-card__type {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-wood-dark);
  margin-bottom: 8px;
}

.project-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.project-card__meta {
  font-size: 14px;
  color: var(--color-text-muted);
}

/* ===== Process ===== */
.process__steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.step {
  text-align: center;
  padding: 32px 16px;
}

.step__circle {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  background: var(--color-white);
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.step__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step__text {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ===== Reviews ===== */
#reviews {
  background:
    radial-gradient(circle at 80% 20%, rgba(196, 149, 106, 0.12), transparent 45%),
    #ffffff;
}

.reviews__desc {
  max-width: 560px;
  margin: 16px auto 0;
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.7;
}

.reviews__summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  padding: 24px 32px;
  background: var(--color-bg-muted);
  border-radius: var(--radius-lg);
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.reviews__summary-score {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--color-primary);
}

.reviews__summary-meta {
  text-align: left;
}

.reviews__summary-stars {
  color: var(--color-wood);
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 4px;
}

.reviews__summary-count {
  font-size: 14px;
  color: var(--color-text-muted);
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.review-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.review-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.review-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.review-card__name {
  font-weight: 700;
  font-size: 1rem;
}

.review-card__project {
  display: inline-block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-wood-dark);
}

.review-card__stars {
  flex-shrink: 0;
  color: var(--color-wood);
  font-size: 14px;
  letter-spacing: 1px;
}

.review-card__text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 16px;
}

.review-card__date {
  font-size: 13px;
  color: var(--color-text-muted);
}

.reviews__form-wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 36px;
  background: var(--color-bg-muted);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.reviews__form-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
}

.reviews__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.reviews__rating-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}

.star-rating {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}

.star-rating__btn {
  background: none;
  border: none;
  padding: 4px;
  font-size: 32px;
  line-height: 1;
  color: #d4d4d4;
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease;
}

.star-rating__btn:hover,
.star-rating__btn.is-active {
  color: var(--color-wood);
  transform: scale(1.08);
}

.star-rating__btn.is-hover {
  color: var(--color-wood-light);
}

.reviews__form .form__group {
  margin-bottom: 20px;
}

.reviews__form .btn {
  width: 100%;
}

/* ===== About ===== */
.about__intro {
  max-width: 720px;
  margin-bottom: 56px;
}

.about__intro-text {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-top: 16px;
}

.about__main {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 72px;
}

.about__visual {
  position: relative;
}

.about__image {
  display: block;
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about__badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 24px 32px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.about__badge-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.about__badge-text {
  font-size: 13px;
  font-weight: 600;
  opacity: 0.9;
}

.about__role {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-wood-dark);
  margin-bottom: 8px;
}

.about__name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.about__text {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.about__features {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
}

.about__feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
}

.about__feature svg {
  width: 22px;
  height: 22px;
  color: var(--color-wood);
  flex-shrink: 0;
}

.about__team {
  padding-top: 56px;
  border-top: 1px solid var(--color-border);
}

.about__team-head {
  max-width: 640px;
  margin-bottom: 36px;
}

.about__team-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.about__team-desc {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.about__team-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.about__team-stat {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.about__team-stat:hover {
  border-color: var(--color-wood);
  box-shadow: var(--shadow-md);
}

.about__team-stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 8px;
}

.about__team-stat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.about__team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.about__team-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  transition: all var(--transition);
}

.about__team-card:hover {
  border-color: var(--color-wood);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.about__team-card-icon {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-wood);
  margin-bottom: 16px;
}

.about__team-card-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.about__team-card-text {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ===== Contact ===== */
.contact__header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}

.contact__header-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  margin-top: 16px;
}

.contact__channels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.contact__channel {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 28px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

a.contact__channel:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-wood-light);
  transform: translateY(-3px);
}

.contact__channel--soon {
  opacity: 0.65;
  cursor: default;
}

.contact__channel-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.contact__channel-icon svg {
  width: 24px;
  height: 24px;
}

.contact__channel-icon--phone {
  background: rgba(196, 149, 106, 0.25);
  color: var(--color-wood-light);
}

.contact__channel-icon--mail {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
}

.contact__channel-icon--tg {
  background: rgba(196, 149, 106, 0.2);
  color: var(--color-wood-light);
}

.contact__channel-icon--max {
  background: rgba(196, 149, 106, 0.2);
  color: var(--color-wood-light);
}

button.contact__channel {
  width: 100%;
  border: none;
  font: inherit;
  text-align: inherit;
  cursor: pointer;
}

.contact__channel-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.contact__channel-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-white);
  line-height: 1.4;
}

.contact__form-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.contact__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact__desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  margin: 16px 0 32px;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-light);
  transition: color var(--transition);
}

a.contact__item:hover {
  color: var(--color-wood-light);
}

.contact__item svg {
  width: 22px;
  height: 22px;
  color: var(--color-wood-light);
  flex-shrink: 0;
}

.contact__form {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

.form__group {
  margin-bottom: 20px;
}

.form__group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.form__group input,
.form__group select,
.form__group textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text);
  transition: border-color var(--transition);
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  border-color: var(--color-wood);
}

.form__group textarea {
  resize: vertical;
  min-height: 80px;
}

.form__note {
  font-size: 12px;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
}

.form__honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form__consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.form__consent input {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--color-wood);
  cursor: pointer;
}

.form__consent a {
  color: var(--color-wood-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form__consent a:hover {
  color: var(--color-wood);
}

.contact__form.is-loading .btn[type="submit"] {
  opacity: 0.7;
  pointer-events: none;
}

/* ===== Legal page ===== */
.legal-page {
  padding: 140px 0 80px;
  background: var(--color-bg);
}

.legal-page__inner {
  max-width: 760px;
}

.legal-page__back {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-wood-dark);
  margin-bottom: 24px;
}

.legal-page__back:hover {
  color: var(--color-wood);
}

.legal-page__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 8px;
}

.legal-page__updated {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 40px;
}

.legal-page__content section {
  margin-bottom: 32px;
}

.legal-page__content h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.legal-page__content p,
.legal-page__content li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.legal-page__content ul {
  padding-left: 20px;
  list-style: disc;
}

.legal-page__content a {
  color: var(--color-wood-dark);
  text-decoration: underline;
}

.legal-page__content a:hover {
  color: var(--color-wood);
}

/* ===== Footer ===== */
.footer {
  background: var(--color-primary);
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
}

.footer__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 28px;
  flex-wrap: wrap;
}

.footer__nav a {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  transition: color var(--transition);
  white-space: nowrap;
}

.footer__nav a:hover {
  color: var(--color-wood-light);
}

.footer__copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.42);
  white-space: nowrap;
  flex-shrink: 0;
}

.footer__legal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 0 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__legal,
.footer__dev {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

.footer__legal {
  transition: color var(--transition);
}

.footer__dev a {
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition);
}

.footer__legal:hover,
.footer__dev a:hover {
  color: var(--color-wood-light);
}

.logo--footer {
  flex-shrink: 0;
}

/* ===== Toast ===== */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--color-primary);
  color: var(--color-white);
  padding: 16px 32px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 9999;
  pointer-events: none;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ===== Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
  .services__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-extra__blocks {
    grid-template-columns: 1fr;
  }

  .speed__inner {
    flex-direction: column;
    text-align: center;
    gap: 28px;
    padding: 48px 0;
  }

  .speed__badge {
    width: 130px;
    height: 130px;
  }

  .speed__num {
    font-size: 3rem;
  }

  .advantages__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .process__steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .about__main,
  .about__team-stats {
    grid-template-columns: 1fr;
  }

  .about__team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__features {
    grid-template-columns: 1fr;
  }

  .contact__channels {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact__wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer__row {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 24px;
    padding: 20px 0;
  }

  .footer__nav {
    flex: 1 1 100%;
    order: 3;
    gap: 16px 20px;
  }

  .footer__copy {
    order: 2;
  }

  .logo--footer {
    order: 1;
  }

  .about__image {
    height: 360px;
  }
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 72px;
  }

  .container {
    padding: 0 24px;
  }

  .section {
    padding: 64px 0;
  }

  .section__title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .section__desc,
  .about__intro-text,
  .advantages__text {
    font-size: 15px;
  }

  .header {
    grid-template-columns: auto 1fr auto auto;
    padding: 10px 20px;
    gap: 12px;
  }

  .hero {
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0;
    padding-top: 58px;
    background: var(--color-primary);
  }

  .hero__bg {
    position: relative;
    inset: auto;
    z-index: 1;
    flex-shrink: 0;
    width: 100%;
    aspect-ratio: 16 / 10;
    min-height: 210px;
    max-height: 44vh;
    overflow: hidden;
  }

  .hero__poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hero__overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.35));
  }

  .hero__content {
    position: relative;
    z-index: 2;
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 28px 24px 40px;
    text-align: left;
    background: var(--color-primary);
  }

  .hero__title {
    font-size: clamp(1.65rem, 7vw, 2.1rem);
    margin-bottom: 16px;
  }

  .hero__text {
    font-size: 15px;
    line-height: 1.65;
    max-width: none;
    margin-bottom: 24px;
  }

  .hero__actions {
    margin-bottom: 28px;
  }

  .hero__content .btn--primary {
    background: var(--color-wood);
    border-color: var(--color-wood);
  }

  .hero__content .btn--primary:hover {
    background: var(--color-wood-light);
    border-color: var(--color-wood-light);
  }

  .hero__stats {
    gap: 16px;
    justify-content: space-between;
    flex-wrap: nowrap;
    padding-top: 24px;
  }

  .stat__num {
    font-size: 1.75rem;
    min-height: auto;
  }

  .stat__label {
    font-size: 11px;
  }

  .stat__star {
    width: 18px;
    height: 18px;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    grid-column: unset;
    justify-self: unset;
    background: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 32px 32px;
    gap: 24px;
    box-shadow: var(--shadow-lg);
    transition: right var(--transition);
    z-index: 1000;
  }

  .nav.open {
    right: 0;
  }

  .nav__link {
    font-size: 16px;
    color: var(--color-text) !important;
  }

  .header__actions {
    grid-column: 3;
    gap: 8px;
  }

  .header__social {
    width: 38px;
    height: 38px;
  }

  .header__social svg {
    width: 18px;
    height: 18px;
  }

  .header__social--max {
    font-size: 10px;
  }

  .header__call {
    padding: 10px 14px;
  }

  .header__call-text {
    display: none;
  }

  .floating-call {
    bottom: 20px;
    width: 54px;
    height: 54px;
  }

  .floating-call__icon {
    width: 24px;
    height: 24px;
  }

  .burger {
    display: flex;
    z-index: 1001;
  }

  .logo__img--header {
    height: 42px;
  }

  .header--scrolled .logo__img--header {
    height: 36px;
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: none;
    margin: 0;
    gap: 12px;
  }

  .services__grid .service-card--extra {
    display: none;
  }

  .services__picker {
    display: block;
  }

  .service-card {
    padding: 22px 16px 18px;
  }

  .service-card__title {
    font-size: 1rem;
  }

  .speed__inner {
    padding: 40px 0;
  }

  .speed__title {
    font-size: clamp(1.35rem, 5vw, 1.75rem);
  }

  .about__image {
    height: 280px;
  }

  .about__team-grid {
    grid-template-columns: 1fr;
  }

  .contact__channels {
    grid-template-columns: 1fr;
  }

  .projects__grid {
    grid-template-columns: 1fr;
  }

  .projects__grid .project-card:nth-child(5):last-child {
    max-width: none;
  }

  .reviews__grid {
    grid-template-columns: 1fr;
  }

  .reviews__form-row {
    grid-template-columns: 1fr;
  }

  .reviews__form-wrap {
    padding: 24px 20px;
  }

  .project-card__media {
    height: 280px;
  }

  .project-card__slider-btn {
    opacity: 0.9;
  }

  .process__steps {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }

  .footer__row {
    flex-direction: column;
    text-align: center;
  }

  .footer__nav {
    order: unset;
    flex: unset;
  }

  .footer__copy,
  .logo--footer {
    order: unset;
  }

  .footer__legal-row {
    justify-content: center;
    text-align: center;
  }

  .about__badge {
    right: 16px;
    bottom: -16px;
    padding: 16px 24px;
  }

  .about__badge-num {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero__bg {
    aspect-ratio: 4 / 3;
    min-height: 200px;
    max-height: 38vh;
  }

  .hero__content {
    padding: 24px 22px 36px;
  }

  .hero__tag {
    font-size: 11px;
    padding: 6px 14px;
    margin-bottom: 14px;
  }

  .hero__actions {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    align-items: start;
  }

  .stat {
    align-items: center;
    text-align: center;
  }

  .stat__num {
    font-size: 1.45rem;
    justify-content: center;
  }

  .stat__label {
    font-size: 10px;
    line-height: 1.3;
  }

  .contact__channels {
    grid-template-columns: 1fr;
  }

  .contact__form {
    padding: 24px 20px;
  }

  .footer__nav {
    gap: 12px 16px;
  }

  .footer__nav a {
    font-size: 12px;
  }

  .footer__legal-row {
    flex-direction: column;
    gap: 8px;
  }
}
