
/* ==============================================
   RESET & BASE
   ============================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  background: #f5f1e8;
  color: #1a1a1a;
  line-height: 1.5;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ==============================================
   NAVBAR
   ============================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 68px;
  display: flex;
  align-items: center;
  padding: 0 48px;
  gap: 0;
  transition: background 0.35s, box-shadow 0.35s;
  /* постоянный тёмный фон под навбаром — читаемость на любом фоне */
  background: linear-gradient(to bottom,
    rgba(10,7,5,0.88) 0%,
    rgba(10,7,5,0.55) 60%,
    rgba(10,7,5,0.0) 100%);
}
.navbar.solid {
  background: rgba(14,14,14,0.97);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

/* Логотип */
.navbar__logo {
  display: flex; align-items: center; gap: 13px;
  flex-shrink: 0; text-decoration: none;
}
.navbar__logo-img {
  width: 60px; height: 60px;
  object-fit: contain; flex-shrink: 0;
  display: block;
}
.navbar__logo-text {
  display: flex; flex-direction: column; gap: 3px;
  line-height: 1;
}
.navbar__logo-name {
  font-size: 24px; font-weight: 500;
  color: #fff; letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
}
.navbar__logo-name span { color: #c36036; font-weight: 500; letter-spacing: 0.04em; }
.navbar__logo-sub {
  font-size: 13px; font-weight: 400;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.02em;
  line-height: 1.2;
  white-space: nowrap;
}


/* Ссылки — по центру */
.navbar__links {
  display: flex;
  gap: 36px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.navbar__links li {
  list-style: none;
  padding: 0;
  margin: 0;
}
.navbar__links li::marker {
  content: none;
  display: none;
}
.navbar__links a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.01em;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 2px;
}
.navbar__links a::after {
  content: '';
  position: absolute; bottom: -2px; left: 0; right: 0;
  height: 1px; background: #c36036;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s ease;
}
.navbar__links a:hover { color: #fff; }
.navbar__links a:hover::after { transform: scaleX(1); }

/* Правый блок: телефон + кнопка */
.navbar__right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.navbar__phone {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.01em;
  transition: color 0.2s;
  white-space: nowrap;
}
.navbar__phone:hover { color: #c36036; }

.navbar__btn {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: #c36036;
  padding: 9px 22px;
  border-radius: 6px;
  letter-spacing: 0.01em;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
}
.navbar__btn:hover { background: #b05530; }
.navbar__btn:active { transform: scale(0.97); }

/* Иконки соцсетей в навбаре (MAX, Telegram) */
.navbar__social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.navbar__social-icon:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.22);
  color: #fff;
}
.navbar__social-icon svg { display: block; }

/* Бургер */
.navbar__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  padding: 6px;
  border-radius: 6px;
  transition: background 0.2s, z-index 0s;
  flex-shrink: 0;
  position: relative;
  z-index: 1; /* обычное состояние */
}
.navbar__burger:hover { background: rgba(255,255,255,0.08); }
.navbar__burger span {
  display: block; width: 20px; height: 1.5px;
  background: #fff; border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.2s;
}
.navbar__burger.open span:nth-child(1) { transform: none; }
.navbar__burger.open span:nth-child(2) { opacity: 1; transform: none; }
.navbar__burger.open span:nth-child(3) { transform: none; }

/* ===== MOBILE MENU ===== */
.navbar__overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 201;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.navbar__overlay.open { display: block; }

.navbar__mobile {
  position: fixed;
  top: 0; left: -100%; bottom: 0;
  width: min(360px, 88vw);
  background: #111;
  z-index: 202;
  display: flex;
  flex-direction: column;
  transition: left 0.35s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.navbar__mobile.open { left: 0; }

/* Шапка мобильного меню */
.navbar__mobile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  flex-shrink: 0;
}
.navbar__mobile-logo {
  display: flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 800; color: #fff; letter-spacing: -0.01em;
}
.navbar__mobile-logo img { width: 22px; height: 22px; object-fit: contain; flex-shrink: 0; }
.navbar__mobile-logo span { color: #c36036; }
.navbar__mobile-close {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}
.navbar__mobile-close:hover { background: rgba(255,255,255,0.14); color: #fff; }

/* Ссылки */
.navbar__mobile-links {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
  flex: 0 0 auto;
}
.navbar__mobile-links a {
  font-size: 16px; font-weight: 500;
  color: rgba(255,255,255,0.75);
  padding: 12px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.2s, background 0.2s;
  display: flex; align-items: center; justify-content: space-between;
}
.navbar__mobile-links a::after {
  content: '→';
  font-size: 14px;
  color: rgba(255,255,255,0.25);
  transition: color 0.2s, transform 0.2s;
}
.navbar__mobile-links a:hover {
  color: #fff;
  background: rgba(255,255,255,0.04);
}
.navbar__mobile-links a:hover::after {
  color: #c36036;
  transform: translateX(3px);
}

/* Нижний блок */
.navbar__mobile-bottom {
  padding: 16px 24px 20px;
  border-top: 1px solid rgba(255,255,255,0.07);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Иконки мессенджеров */
.navbar__mobile-messengers {
  display: flex;
  gap: 8px;
}
.navbar__mobile-messenger-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 8px 14px;
  transition: background 0.2s, color 0.2s;
  flex: 1;
  justify-content: center;
}
.navbar__mobile-messenger-btn:hover {
  background: rgba(255,255,255,0.13);
  color: #fff;
}
.navbar__mobile-messenger-btn svg { flex-shrink: 0; fill: #c36036; }

/* Телефон */
.navbar__mobile-phone {
  font-size: 18px; font-weight: 700;
  color: #fff;
  transition: color 0.2s;
}
.navbar__mobile-phone:hover { color: #c36036; }
.navbar__mobile-cta {
  display: block;
  width: 100%;
  padding: 15px;
  background: #c36036;
  color: #fff;
  font-size: 15px; font-weight: 700;
  text-align: center;
  border-radius: 8px;
  transition: background 0.2s;
}
.navbar__mobile-cta:hover { background: #b05530; }

/* ==============================================
   HERO
   ============================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #1a1210;
  overflow: hidden;
}
.hero__photo {
  position: absolute;
  inset: 0;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  opacity: 1;
  transform: scale(1.02);
  transition: transform 8s ease;
}
.hero:hover .hero__photo {
  transform: scale(1);
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center; /* сдвигаем видео правее — интерьер виден в правой части */
}
.hero__photo-fallback {
  position: absolute;
  inset: 0;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  /* Затемнение только в левой трети где текст, правые 2/3 — чистое видео */
  background: linear-gradient(
    to right,
    rgba(10,7,5,0.88) 0%,
    rgba(10,7,5,0.82) 28%,
    rgba(10,7,5,0.45) 42%,
    rgba(10,7,5,0.08) 58%,
    rgba(10,7,5,0.0) 72%
  );
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 48px;
  padding-top: 64px;
  display: flex;
  align-items: center;
  min-height: 100vh;
}
.hero__left {
  width: 100%;
  max-width: 820px;
}
.hero__brow {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.hero__title {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 20px;
  max-width: 740px;
}
.hero__title em {
  font-style: normal;
  color: #c36036;
}
.hero__title-accent {
  font-style: normal;
  color: #c36036;
}
.hero__sub {
  font-size: 16px;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  max-width: 440px;
  margin-bottom: 36px;
}
.hero__price {
  font-size: 16px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 28px;
  letter-spacing: 0.01em;
}
.hero__price strong {
  color: #c36036;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.01em;
}
.hero__btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-dark {
  display: inline-flex; align-items: center;
  background: #fff; color: #1a1a1a;
  font-size: 14px; font-weight: 600;
  padding: 13px 26px; border-radius: 6px;
  transition: 0.2s;
}
.btn-dark:hover { background: #f0ebe0; }
.btn-accent {
  display: inline-flex; align-items: center;
  background: #c36036; color: #fff;
  font-size: 14px; font-weight: 600;
  padding: 13px 26px; border-radius: 6px;
  transition: 0.2s;
}
.btn-accent:hover { background: #a84e2a; }
.btn-outline-w {
  display: inline-flex; align-items: center;
  background: transparent; color: #fff;
  font-size: 14px; font-weight: 600;
  padding: 12px 26px; border-radius: 6px;
  border: 1.5px solid rgba(255,255,255,0.4);
  transition: 0.2s;
}
.btn-outline-w:hover { border-color: #fff; background: rgba(255,255,255,0.07); }

.hero__right {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero__stat {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 22px 24px;
}
.hero__stat-num {
  font-size: 42px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
}
.hero__stat-num sup { font-size: 22px; color: #c36036; }
.hero__stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-top: 6px;
  line-height: 1.4;
}
.hero__badge {
  background: rgba(195,96,54,0.18);
  border: 1px solid rgba(195,96,54,0.35);
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.hero__badge-icon { font-size: 24px; line-height: 1; }
.hero__badge-text { font-size: 13px; color: rgba(255,255,255,0.75); line-height: 1.5; }
.hero__badge-text b { display: block; color: #fff; font-weight: 700; margin-bottom: 3px; font-size: 14px; }

/* ==============================================
   SECTION HELPERS
   ============================================== */
.wrap {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 48px;
}
.sec-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 10px;
}
.sec-title {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #1a1a1a;
}
.sec-title.white { color: #fff; }

/* ==============================================
   SCENARIOS
   ============================================== */
.scenarios-section {
  background: #ede9df;
  padding: 72px 0;
  border-bottom: 1px solid #e8e3d8;
}

/* Новая разметка: тарифы + сопровождение */
.tariffs-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 0;
  align-items: stretch;
}
.tariffs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-right: 1px solid #e0dcd2;
  padding-right: 48px;
}

/* Блок сопровождения */
.tariffs-support {
  padding: 0 0 0 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.tariffs-support__title {
  font-size: 20px;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.tariffs-support__text {
  font-size: 14px;
  color: #777;
  line-height: 1.7;
}
.tariffs-support__link {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  color: #c36036;
  transition: gap 0.2s;
  margin-top: 4px;
}
.tariffs-support__link:hover { opacity: 0.8; }

/* Список включений в тарифе */
.sc-item__features {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.sc-item__features li {
  font-size: 13px;
  color: #555;
  line-height: 1.4;
  padding-left: 16px;
  position: relative;
}
.sc-item__features li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: #c36036;
  font-weight: 700;
}

/* Бейдж «Основа» */
.sc-item__badge--base {
  background: #f0ebe0;
  color: #8a7a6a;
}

.scenarios {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.sc-item {
  padding: 0 48px 0 0;
  border-right: 1px solid #e0dcd2;
  position: relative;
  cursor: pointer;
}
.sc-item:last-child {
  border-right: none;
  padding-right: 0;
  padding-left: 48px;
}
.sc-item:nth-child(2) {
  padding: 0 48px;
}
.sc-item__num {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #c36036;
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.sc-item__num::after {
  content: '';
  display: block; height: 1px; width: 24px;
  background: #c36036; opacity: 0.5;
}
.sc-item__badge {
  display: inline-block;
  background: #c36036; color: #fff;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 100px;
  margin-left: 6px;
  vertical-align: middle;
}
.sc-item__title {
  font-size: 22px; font-weight: 800;
  color: #1a1a1a; line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.sc-item__text {
  font-size: 14px; color: #777;
  line-height: 1.65;
  margin-bottom: 20px;
}
.sc-item__price {
  font-size: 13px; font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.sc-item__price span {
  font-size: 20px; font-weight: 800;
  letter-spacing: -0.03em;
}
.sc-item__cta {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 700;
  color: #c36036;
  transition: gap 0.2s;
  background: none; border: none; cursor: pointer;
  padding: 0; font-family: inherit;
}
.sc-item__cta:hover { gap: 12px; }
.sc-item__cta::after { content: '→'; font-size: 15px; }
@media (max-width: 900px) {
  .scenarios { grid-template-columns: 1fr; }
  .sc-item {
    border-right: none;
    border-bottom: 1px solid #e0dcd2;
    padding: 0 0 32px 0 !important;
    margin-bottom: 32px;
  }
  .sc-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0 !important; }
  .scenarios-section { padding: 56px 0; }
  .tariffs-layout { grid-template-columns: 1fr; }
  .tariffs { grid-template-columns: 1fr; border-right: none; padding-right: 0; border-bottom: 1px solid #e0dcd2; padding-bottom: 32px; }
  .tariffs .sc-item,
  .tariffs .sc-item:last-child,
  .tariffs .sc-item:nth-child(2) { padding: 0 0 28px; border-right: none; border-bottom: 1px solid #e0dcd2; }
  .tariffs .sc-item:last-child { border-bottom: none; padding-bottom: 0; }
  .tariffs-support { padding: 32px 0 0; }
}

/* ==============================================
   DESIGNERS
   ============================================== */
.designers {
  background: #f5f1e8;
  padding: 100px 0;
  overflow: hidden;
}
.designers__layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: start;
}
.designers__left {}
.designers__label { margin-bottom: 10px; }
.designers__title {
  font-size: 38px; font-weight: 800;
  color: #1a1a1a; letter-spacing: -0.025em;
  line-height: 1.15; margin-bottom: 20px;
}
.designers__intro {
  font-size: 15px; color: #666;
  line-height: 1.75; max-width: 520px;
  margin-bottom: 8px;
}
.designers__lead {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: #c36036; margin-bottom: 44px;
}
.designers__cards {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid #e8e3d8;
}
.dcard {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #e8e3d8;
  transition: background 0.2s;
}
.dcard__photo {
  width: 52px; height: 52px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.dcard__photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
}
.dcard__name {
  font-size: 14px; font-weight: 700;
  color: #1a1a1a; margin-bottom: 2px;
}
.dcard__role {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: #c36036; margin-bottom: 4px;
}
.dcard__bio {
  font-size: 13px; color: #888;
  line-height: 1.5;
}

.designers__right {
  position: sticky;
  top: 84px;
}
.designers__main-photo {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3/4;
}
.designers__main-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  display: block;
}
.designers__caption {
  margin-top: 16px;
  display: flex; align-items: center; gap: 12px;
}
.designers__caption-name {
  font-size: 15px; font-weight: 700;
  color: #1a1a1a;
}
.designers__caption-role {
  font-size: 12px; color: #999;
  margin-top: 1px;
}
.designers__caption-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #c36036; flex-shrink: 0;
}

/* Platform layout — фото слева шире, текст справа */
.designers__layout--platform {
  grid-template-columns: 480px 1fr;
  gap: 64px;
  align-items: stretch;
}
.designers__layout--platform .designers__right {
  order: -1;
}
.designers__layout--platform .designers__right {
  position: sticky;
  top: 84px;
  align-self: start;
}
.designers__main-photo--wide {
  aspect-ratio: 4/5;
  border-radius: 20px;
}
.designers__main-photo--wide img {
  object-position: top center;
}

/* Список преимуществ платформы */
.designers__pillars {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid #e8e3d8;
}
.designers__pillars li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid #e8e3d8;
}
.designers__pillar-num {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #c36036;
  flex-shrink: 0;
  margin-top: 3px;
  min-width: 20px;
}
.designers__pillars li div strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 6px;
}
.designers__pillars li div p {
  font-size: 14px;
  color: #777;
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 1100px) {
  .designers__layout { grid-template-columns: 1fr 340px; gap: 48px; }
  .designers__layout--platform { grid-template-columns: 380px 1fr; gap: 48px; }
}
@media (max-width: 768px) {
  .designers { padding: 64px 0; }
  .designers__layout { grid-template-columns: 1fr; gap: 40px; }
  .designers__layout--platform { grid-template-columns: 1fr; gap: 40px; }
  .designers__layout--platform .designers__right { order: 0; position: static; }
  .designers__right { position: static; }
  .designers__main-photo { aspect-ratio: 4/3; }
  .designers__main-photo--wide { aspect-ratio: 3/4; }
  .designers__title { font-size: 28px; }
  .designers__pillars { gap: 0; }
}

/* ==============================================
   PROCESS
   ============================================== */
.process {
  background: #ede9df;
  padding: 100px 0;
}
.process__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 64px;
}
.process__head-desc {
  font-size: 15px; color: #666;
  line-height: 1.7;
  max-width: 400px;
  align-self: end;
}
.process__timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  position: relative;
  margin-bottom: 64px;
}
.process__timeline::before {
  content: '';
  position: absolute;
  top: 20px; left: 0; right: 0;
  height: 1px;
  background: #d6d0c4;
  z-index: 0;
}
.process__step {
  position: relative;
  z-index: 1;
  padding: 0 20px 0 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.process__step:last-child { padding-right: 0; }
.process__num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #ede9df;
  border: 1.5px solid #d6d0c4;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800;
  color: #999;
  margin-bottom: 20px;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
  flex-shrink: 0;
}
.process__step:hover .process__num {
  background: #c36036;
  border-color: #c36036;
  color: #fff;
}
.process__step-title {
  font-size: 15px; font-weight: 700;
  color: #1a1a1a; line-height: 1.3;
  margin-bottom: 8px;
}
.process__step-text {
  font-size: 13px; color: #888;
  line-height: 1.6;
}
.process__bottom {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 48px;
  border-top: 1px solid #d6d0c4;
  flex-wrap: wrap;
}
.process__note {
  font-size: 13px; color: #999;
  line-height: 1.5;
  max-width: 380px;
}

.btn-black {
  display: inline-flex; align-items: center;
  background: #1a1a1a; color: #fff;
  font-size: 13px; font-weight: 600;
  padding: 12px 22px; border-radius: 6px;
  transition: 0.2s;
}
.btn-black:hover { background: #333; }

@media (max-width: 1100px) {
  .process__timeline { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .process__timeline::before { display: none; }
  .process__head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 48px; }
}
@media (max-width: 768px) {
  .process { padding: 64px 0; }
  .process__timeline { grid-template-columns: 1fr 1fr; gap: 28px; }
  .process__bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* ==============================================
   PORTFOLIO
   ============================================== */
.portfolio {
  background: #f5f1e8;
  padding: 100px 0;
}
.portfolio__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}
.btn-sm-dark {
  font-size: 13px; font-weight: 600;
  background: #1a1a1a; color: #fff;
  padding: 10px 20px; border-radius: 6px;
  transition: 0.2s;
}
.btn-sm-dark:hover { background: #333; }

/* Tab pills — portfolio section */
.portfolio__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.portfolio__tab {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  background: #fff;
  border: 1.5px solid #e0dbd2;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.portfolio__tab:hover {
  border-color: #c36036;
  color: #c36036;
}
.portfolio__tab--active {
  background: #c36036;
  border-color: #c36036;
  color: #fff;
}
.portfolio__tab--active:hover {
  background: #ad5230;
  border-color: #ad5230;
  color: #fff;
}

/* Bento-grid */
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 320px 380px;
  gap: 10px;
}
.pitem {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background: #ddd;
}
.pitem:nth-child(1) { grid-column: span 5; grid-row: span 1; }
.pitem:nth-child(2) { grid-column: span 4; grid-row: span 1; }
.pitem:nth-child(3) { grid-column: span 3; grid-row: span 2; }
.pitem:nth-child(4) { grid-column: span 4; grid-row: span 1; }
.pitem:nth-child(5) { grid-column: span 5; grid-row: span 1; }

.pitem img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.pitem:hover img { transform: scale(1.04); }

.pitem__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,5,5,0.88) 0%, rgba(5,5,5,0.35) 40%, transparent 70%);
  opacity: 1;
  transition: opacity 0.35s;
  pointer-events: none;
}

.pitem__info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px 26px;
  transform: translateY(0);
}

.pitem__label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: #c36036; margin-bottom: 5px;
  display: block;
}
.pitem__name {
  font-size: 17px; font-weight: 800;
  color: #fff; line-height: 1.2;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.pitem__meta { font-size: 12px; color: rgba(255,255,255,0.55); }

.pitem--dark .pitem__overlay { opacity: 1; }
.pitem--dark .pitem__info { transform: translateY(0); }

@media (max-width: 1100px) {
  .portfolio__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .pitem { grid-column: span 1 !important; grid-row: span 1 !important; height: 280px; }
}
@media (max-width: 768px) {
  .portfolio { padding: 64px 0; }
  .portfolio__head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .portfolio__grid { grid-template-columns: 1fr; }
  .pitem { height: 260px !important; }
  .portfolio__tab { font-size: 13px; padding: 8px 16px; }
}

/* ==============================================
   SERVICES / FORMAT
   ============================================== */
.services {
  background: #ede9df;
  padding: 100px 0;
}
.services__inner {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  align-items: start;
}
.services__left { position: sticky; top: 80px; }
.services__title { margin-bottom: 16px; }
.services__desc {
  font-size: 15px; color: #666;
  line-height: 1.7; margin-bottom: 28px;
}
.services__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #d6d0c4;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 28px;
}
.services__stat {
  background: #ede9df;
  padding: 20px 16px;
  text-align: center;
}
.services__stat-num {
  font-size: 28px; font-weight: 800;
  color: #1a1a1a; letter-spacing: -0.03em;
  line-height: 1; margin-bottom: 6px;
}
.services__stat-num sup { font-size: 14px; color: #c36036; }
.services__stat-label {
  font-size: 11px; color: #999;
  line-height: 1.4;
}
.services__preview {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 24px;
  position: relative;
}
.services__preview img {
  width: 100%; height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover; display: block;
  transition: transform 0.5s ease;
}
.services__preview:hover img { transform: scale(1.03); }
.services__preview-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 16px 14px;
  background: linear-gradient(to top, rgba(5,5,5,0.85) 0%, rgba(5,5,5,0.4) 60%, transparent 100%);
  font-size: 12px; color: rgba(255,255,255,0.85);
  font-weight: 500;
}

/* Accordion */
.acc-item {
  border-top: 1px solid #e0dcd2;
  padding: 0;
}
.acc-item:last-child { border-bottom: 1px solid #e0dcd2; }
.acc-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 0;
  cursor: pointer;
  user-select: none;
}
.acc-num { font-size: 12px; font-weight: 700; color: #c36036; min-width: 26px; flex-shrink: 0; }
.acc-name-wrap { flex: 1; display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.acc-name { font-size: 17px; font-weight: 700; color: #1a1a1a; transition: color 0.2s; line-height: 1.3; }
.acc-badge {
  display: inline-block; align-self: flex-start;
  font-size: 11px; font-weight: 600; color: #888;
  background: #ede9df; border: 1px solid #e0dbd2;
  padding: 3px 10px; border-radius: 100px;
  letter-spacing: 0.01em; white-space: nowrap;
}
.acc-item.open .acc-name { color: #c36036; }
.acc-price { font-size: 16px; font-weight: 700; color: #1a1a1a; white-space: nowrap; flex-shrink: 0; letter-spacing: -0.02em; }
.acc-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: #e8e4da;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: background 0.25s, transform 0.3s;
}
.acc-icon svg { width: 14px; height: 14px; }
.acc-item.open .acc-icon { background: #c36036; transform: rotate(45deg); }
.acc-item.open .acc-icon svg path { stroke: #fff; }
.acc-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 0 0 40px;
}
.acc-item.open .acc-body { max-height: 500px; padding-bottom: 24px; }
.acc-body p { font-size: 14px; color: #666; line-height: 1.7; margin-bottom: 14px; }
.acc-features { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.acc-feature {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: #333;
}
.acc-feature::before {
  content: '';
  width: 7px; height: 7px; border-radius: 50%;
  background: #c36036; flex-shrink: 0;
}
.acc-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; color: #c36036;
  transition: gap 0.2s;
}
.acc-cta:hover { gap: 10px; }
.acc-cta::after { content: '→'; }

/* ==============================================
   PACKAGES — статичные карточки (Экран 4)
   ============================================== */
.packages__layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 80px;
  align-items: start;
}
.packages__intro {
  position: sticky;
  top: 88px;
}
.packages__desc {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
  margin-top: 16px;
  margin-bottom: 28px;
}
.packages__cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.pkg-card {
  background: #fff;
  border: 1px solid #e0dbd2;
  border-radius: 16px;
  padding: 32px 32px 28px;
  position: relative;
}
.pkg-card--featured {
  border-color: rgba(195,96,54,0.3);
  background: rgba(195,96,54,0.025);
}
.pkg-card__badge {
  position: absolute;
  top: -1px; right: 24px;
  background: #c36036;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  border-radius: 0 0 8px 8px;
}
.pkg-card__head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}
.pkg-card__num {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #c36036;
  text-transform: uppercase;
  flex-shrink: 0;
  margin-top: 3px;
}
.pkg-card__title-wrap {
  flex: 1;
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.pkg-card__tag {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: -0.01em;
}
.pkg-card__price {
  font-size: 14px;
  color: #888;
  white-space: nowrap;
}
.pkg-card__price strong {
  font-size: 18px;
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: -0.02em;
}
.pkg-card--featured .pkg-card__price strong {
  color: #c36036;
}
.pkg-card__sub {
  font-size: 14px;
  color: #777;
  line-height: 1.65;
  margin-bottom: 20px;
}
.pkg-card__features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px 24px;
  margin-bottom: 16px;
}
.pkg-card__features li {
  font-size: 13px;
  color: #444;
  padding-left: 14px;
  position: relative;
}
.pkg-card__features li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #c36036;
}
.pkg-card__note {
  font-size: 13px;
  color: #aaa;
  font-style: italic;
  margin-bottom: 18px;
}
.pkg-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
  color: #c36036;
  transition: gap 0.2s;
}
.pkg-card__cta:hover { gap: 10px; }
@media (max-width: 1100px) {
  .packages__layout { grid-template-columns: 1fr; gap: 40px; }
  .packages__intro { position: static; }
  .pkg-card__features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .packages__layout { gap: 28px; }
  .pkg-card { padding: 24px 20px 22px; }
  .pkg-card__features { grid-template-columns: 1fr; gap: 6px; }
  .pkg-card__tag { font-size: 15px; }
}

/* ==============================================
   REALIZATION SECTION (Экран 5)
   ============================================== */
.realization {
  background: #f5f1e8;
  padding: 100px 0;
}

/* Двухколоночный лэйаут: текст слева, карточки справа */
.realization__body {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  align-items: start;
}
.realization__left {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.realization__intro {
  font-size: 15px;
  color: #666;
  line-height: 1.75;
}
.realization__result {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid #d6d0c4;
}
.realization__result p {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
}
.realization__result strong {
  color: #1a1a1a;
  font-weight: 700;
}

/* Правая колонка — вертикальный стек карточек */
.realization__right {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.real-item {
  background: #ede9df;
  border-radius: 0;
  padding: 28px 32px;
  border-bottom: 1px solid #d6d0c4;
  display: grid;
  grid-template-columns: 48px 1fr;
  grid-template-rows: auto auto;
  column-gap: 20px;
  row-gap: 8px;
  transition: background 0.2s;
}
.real-item:first-child { border-top: 1px solid #d6d0c4; border-radius: 12px 12px 0 0; }
.real-item:last-child  { border-radius: 0 0 12px 12px; }
.real-item:hover { background: #e6e1d5; }
.real-item__num {
  font-size: 28px;
  font-weight: 800;
  color: #c36036;
  letter-spacing: -0.04em;
  line-height: 1;
  grid-row: 1 / 3;
  align-self: center;
  opacity: 0.6;
}
.real-item__title {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.25;
  letter-spacing: -0.01em;
  align-self: end;
}
.real-item__text {
  font-size: 13.5px;
  color: #666;
  line-height: 1.7;
}

@media (max-width: 1100px) {
  .realization__body { grid-template-columns: 1fr; gap: 48px; }
  .realization__left { position: static; }
}
@media (max-width: 768px) {
  .realization { padding: 64px 0; }
  .real-item { padding: 22px 20px; grid-template-columns: 40px 1fr; column-gap: 14px; }
  .real-item__num { font-size: 22px; }
}

/* ==============================================
   PROCESS (updated — vertical steps list)
   ============================================== */
.process__steps-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 48px;
}
.process__step-full {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid #d6d0c4;
}
.process__step-full:first-child {
  border-top: 1px solid #d6d0c4;
}
.process__step-full .process__num {
  flex-shrink: 0;
  margin-bottom: 0;
  margin-top: 2px;
}
.process__step-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.process__step-content .process__step-title {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
  margin-bottom: 0;
}
.process__step-content .process__step-text {
  font-size: 14px;
  color: #777;
  line-height: 1.65;
  margin-bottom: 0;
}
.process__step-highlight {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 10px 16px;
  background: rgba(195, 96, 54, 0.08);
  border-left: 3px solid #c36036;
  border-radius: 0 8px 8px 0;
  font-size: 13px;
  font-weight: 600;
  color: #c36036;
  line-height: 1.4;
}
.process__step-full:hover .process__num {
  background: #c36036;
  border-color: #c36036;
  color: #fff;
}
@media (max-width: 768px) {
  .process__step-full { padding: 20px 0; gap: 16px; }
  .process__step-content .process__step-title { font-size: 15px; }
  .process__step-highlight { font-size: 12px; padding: 8px 12px; }
}

/* ==============================================
   ACCORDION — extra elements (acc-tag, acc-sub…)
   ============================================== */
.acc-tag {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c36036;
  margin-bottom: 2px;
}
.acc-sub {
  display: block;
  font-size: 13px;
  color: #888;
  font-weight: 400;
  line-height: 1.5;
  margin-top: 4px;
}
.acc-body-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #aaa;
  margin-bottom: 8px !important;
  margin-top: 4px;
}
.acc-note {
  font-size: 13px;
  color: #aaa;
  font-style: italic;
  margin-top: 4px !important;
  margin-bottom: 12px !important;
}
.acc-item--featured {
  background: rgba(195, 96, 54, 0.03);
  border-color: rgba(195, 96, 54, 0.25);
}
.acc-item--featured .acc-badge {
  background: rgba(195, 96, 54, 0.12);
  border-color: rgba(195, 96, 54, 0.3);
  color: #c36036;
}
/* Увеличиваем max-height для длинных аккордеонов */
.acc-item.open .acc-body { max-height: 900px; }

/* ==============================================
   PORTFOLIO — sub / more / cta
   ============================================== */
.portfolio__sub {
  font-size: 15px;
  color: #777;
  line-height: 1.65;
  margin-top: 12px;
  max-width: 560px;
}
.portfolio__more {
  margin-top: 32px;
  text-align: center;
}
.portfolio__more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: #c36036;
  border: 1.5px solid #c36036;
  padding: 12px 28px;
  border-radius: 100px;
  transition: background 0.2s, color 0.2s;
}
.portfolio__more-link:hover {
  background: #c36036;
  color: #fff;
}
.portfolio__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e0dbd2;
  flex-wrap: wrap;
}
.portfolio__cta-text {
  font-size: 15px;
  color: #888;
}
.portfolio__cta-link {
  font-size: 15px;
  font-weight: 600;
  color: #c36036;
  transition: opacity 0.2s;
}
.portfolio__cta-link:hover { opacity: 0.75; }
/* portfolio__head: reset flex for new layout (just stacked) */
.portfolio__head {
  display: block;
  margin-bottom: 32px;
}
@media (max-width: 768px) {
  .portfolio__sub { font-size: 14px; }
  .portfolio__cta { flex-direction: column; gap: 10px; text-align: center; }
  .portfolio__more { margin-top: 24px; }
}

/* ==============================================
   ОТЗЫВЫ
   ============================================== */
.reviews {
  background: #f5f1e8;
  padding: 96px 48px 104px;
}
.reviews__inner {
  max-width: 1600px;
  margin: 0 auto;
}
.reviews__head {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.reviews__head-title {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1a1a1a;
}
.reviews__yandex {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border-radius: 12px;
  padding: 12px 20px;
  border: 1px solid #e0dbd2;
}
.reviews__yandex-score {
  font-size: 32px;
  font-weight: 900;
  color: #1a1a1a;
  letter-spacing: -0.03em;
}
.reviews__yandex-right { display: flex; flex-direction: column; gap: 4px; }
.reviews__yandex-stars { display: flex; gap: 2px; }
.reviews__yandex-stars svg { width: 14px; height: 14px; fill: #f5a623; }
.reviews__yandex-label { font-size: 11px; color: #999; }

.reviews__masonry {
  column-count: 3;
  column-gap: 20px;
}
.rv-card {
  break-inside: avoid;
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #e8e3d9;
  margin-bottom: 20px;
  transition: box-shadow 0.25s;
}
.rv-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.07); }
.rv-card__top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
.rv-card__ava { display: none; }
.rv-card__info { flex: 1; }
.rv-card__name { font-size: 14px; font-weight: 700; color: #1a1a1a; margin-bottom: 3px; }
.rv-card__stars { display: flex; gap: 2px; margin-bottom: 3px; }
.rv-card__stars svg { width: 12px; height: 12px; fill: #f5a623; }
.rv-card__date { font-size: 11px; color: #aaa; }
.rv-card__info-icon { color: #ccc; flex-shrink: 0; margin-top: 2px; }
.rv-card__info-icon svg { width: 18px; height: 18px; }
.rv-card__text { font-size: 14px; color: #444; line-height: 1.6; }
.rv-card__img { margin-top: 16px; border-radius: 10px; overflow: hidden; aspect-ratio: 4/3; }
.rv-card__img img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 1100px) {
  .reviews { padding: 72px 32px 80px; }
  .reviews__masonry { column-count: 2; }
}
@media (max-width: 768px) {
  .reviews { padding: 56px 20px 64px; }
  .reviews__head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .reviews__masonry { column-count: 1; }
}

/* ==============================================
   CTA DARK BANNER
   ============================================== */
.cta-banner {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  display: flex;
  align-items: center;
}
.cta-banner__bg {
  position: absolute; inset: 0;
  background: url('../images/cta-bg.jpg') center/cover no-repeat;
  filter: brightness(0.25);
}
.cta-banner__inner {
  position: relative; z-index: 2;
  width: 100%; max-width: 1600px;
  margin: 0 auto; padding: 80px 48px;
  text-align: center;
}
.cta-banner__title {
  font-size: 52px; font-weight: 800;
  color: #fff; letter-spacing: -0.03em;
  line-height: 1.1; margin-bottom: 16px;
}
.cta-banner__sub {
  font-size: 16px; color: rgba(255,255,255,0.55);
  max-width: 480px; margin: 0 auto 36px;
  line-height: 1.65;
}
.cta-banner__btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ==============================================
   ARTICLES
   ============================================== */
.articles {
  background: #ede9df;
  padding: 100px 0;
}
.articles__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}
.btn-outline-dark {
  font-size: 13px; font-weight: 600;
  background: transparent; color: #1a1a1a;
  padding: 10px 20px; border-radius: 6px;
  border: 1.5px solid #1a1a1a; transition: 0.2s;
}
.btn-outline-dark:hover { background: #1a1a1a; color: #fff; }

/* Bento-grid статей */
.articles__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 300px 260px;
  gap: 10px;
}
.aitem {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background: #ddd;
}
.aitem:nth-child(1) { grid-column: span 7; grid-row: span 1; }
.aitem:nth-child(2) { grid-column: span 5; grid-row: span 1; }
.aitem:nth-child(3) { grid-column: span 4; grid-row: span 1; }
.aitem:nth-child(4) { grid-column: span 8; grid-row: span 1; }

.aitem img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.6s ease;
}
.aitem:hover img { transform: scale(1.04); }
.aitem__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,5,5,0.88) 0%, rgba(5,5,5,0.3) 45%, transparent 70%);
  pointer-events: none;
}
.aitem__info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px 26px;
}
.aitem__cat {
  display: inline-block;
  background: #1a1a1a; color: #fff;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase;
  padding: 4px 11px; border-radius: 100px;
  margin-bottom: 10px;
}
.aitem__date { font-size: 11px; color: rgba(255,255,255,0.45); margin-bottom: 6px; }
.aitem__title {
  font-size: 17px; font-weight: 800;
  color: #fff; line-height: 1.25;
  letter-spacing: -0.01em; margin-bottom: 6px;
}
.aitem--large .aitem__title { font-size: 22px; }
.aitem__desc { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.5; }

@media (max-width: 1100px) {
  .articles__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .aitem { grid-column: span 1 !important; grid-row: span 1 !important; height: 260px; }
}
@media (max-width: 768px) {
  .articles { padding: 64px 0; }
  .articles__head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .articles__grid { grid-template-columns: 1fr; }
  .aitem { height: 240px !important; }
}

/* ==============================================
   FOOTER
   ============================================== */
/* ---- FOOTER ---- */
.footer {
  background: #1a1a1a;
}
.footer__inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 64px 48px 0;
}

/* Три колонки с вертикальными разделителями */
.footer__cols {
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  gap: 0;
  padding-bottom: 40px;
}
/* Псевдоразделители через пустые grid-ячейки */
.footer__cols::before,
.footer__cols::after { display: none; }
/* Вертикальные линии — через фон на ячейках-разделителях */
.footer__col-sep {
  background: rgba(255,255,255,0.08);
  /* 1px-трек в grid — margin не нужен, колонки сами дают padding */
}

.footer__col {
  padding: 0 48px;
}
.footer__col:first-child { padding-left: 0; }
.footer__col:last-child  { padding-right: 0; }

/* Логотип */
.footer__logo {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 18px; text-decoration: none;
}
.footer__logo-img {
  width: 40px; height: 40px;
  object-fit: contain; flex-shrink: 0; display: block;
}
.footer__logo-name {
  font-size: 20px; font-weight: 700;
  color: #fff; letter-spacing: -0.01em;
}
.footer__logo-name span { font-weight: 700; color: #c36036; }
.footer__desc {
  font-size: 13px; color: rgba(255,255,255,0.38);
  line-height: 1.7; max-width: 260px;
}

/* Заголовок колонки */
.footer__col-title {
  font-size: 13px; font-weight: 600; color: #fff;
  margin-bottom: 20px;
}

/* Навигация */
.footer__nav {
  display: flex; flex-direction: column; gap: 13px;
}
.footer__nav-link {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: rgba(255,255,255,0.5);
  transition: color 0.2s; text-decoration: none;
}
.footer__nav-link:hover { color: rgba(255,255,255,0.9); }
.footer__nav-link--accent { color: #c36036; font-weight: 600; }
.footer__nav-link--accent .footer__nav-arrow { color: #c36036; opacity: 0.8; }
.footer__nav-link--accent:hover { color: #d97040; }
.footer__nav-arrow {
  width: 7px; height: 11px; flex-shrink: 0;
  color: #c36036; opacity: 0.8;
}

/* Телефон */
.footer__phone {
  display: flex; align-items: flex-start; gap: 12px;
  text-decoration: none; margin-bottom: 20px;
}
.footer__phone-icon {
  width: 18px; height: 18px; flex-shrink: 0;
  color: #c36036; margin-top: 2px;
}
.footer__phone-num {
  display: block; font-size: 15px; font-weight: 600;
  color: #fff; margin-bottom: 3px;
}
.footer__phone-sub {
  display: block; font-size: 12px;
  color: rgba(255,255,255,0.38);
}

/* Мессенджеры */
.footer__messengers-label {
  font-size: 12px; color: rgba(255,255,255,0.35);
  margin-bottom: 12px;
}
.footer__messengers {
  display: flex; gap: 10px; flex-wrap: wrap;
}
.footer__messenger-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px; padding: 9px 16px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.footer__messenger-btn:hover {
  background: rgba(255,255,255,0.11);
  border-color: rgba(255,255,255,0.22);
  color: #fff;
}
.footer__messenger-btn svg {
  width: 16px; height: 16px; flex-shrink: 0;
  fill: #c36036;
}

/* Социальные сети */
.footer__social-row {
  padding: 28px 0 32px;
  display: flex; align-items: center; gap: 16px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.footer__social-label {
  font-size: 12px; color: rgba(255,255,255,0.3);
  white-space: nowrap;
}
.footer__socials { display: flex; gap: 8px; }
.social-btn {
  width: 38px; height: 38px; border-radius: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.45);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.social-btn:hover { background: rgba(255,255,255,0.13); border-color: rgba(255,255,255,0.2); color: #fff; }
.social-btn svg { width: 16px; height: 16px; fill: currentColor; }

/* Нижняя строка */
.footer__bottom {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 20px;
  padding: 20px 0 28px;
  border-top: 1px solid rgba(255,255,255,0.07);
  flex-wrap: wrap;
}
.footer__copy {
  display: flex; flex-direction: column; gap: 4px;
}
.footer__copy span {
  font-size: 12px; color: rgba(255,255,255,0.3); line-height: 1.5;
}
.footer__copy-legal { color: rgba(255,255,255,0.18) !important; }
.footer__legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__legal a {
  font-size: 12px; color: rgba(255,255,255,0.25);
  text-decoration: underline; text-underline-offset: 3px;
  transition: color 0.2s;
}
.footer__legal a:hover { color: rgba(255,255,255,0.6); }

/* Responsive */
@media (max-width: 900px) {
  .footer__inner { padding: 48px 24px 0; }
  .footer__cols {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .footer__col-sep { display: none; }
  .footer__col {
    padding: 0 0 32px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    margin-bottom: 32px;
  }
  .footer__col:last-child { border-bottom: none; margin-bottom: 0; }
  .footer__social-row { flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .footer__inner { padding: 40px 20px 0; }
  .footer__bottom { flex-direction: column; gap: 12px; }

  /* Hero: заголовок в 2 строки */
  .hero__title {
    font-size: 26px;
    letter-spacing: -0.03em;
    line-height: 1.15;
    /* Запрещаем перенос внутри фразы, но разрешаем между фразами */
    word-break: keep-all;
    overflow-wrap: break-word;
  }
  .hero__title em { font-size: 24px; display: block; }

  /* Кнопки hero рядом */
  .hero__btns { flex-direction: row; gap: 8px; flex-wrap: wrap; }
  .hero__btns a { flex: 1 1 auto; text-align: center; justify-content: center; font-size: 12px; padding: 10px 12px; }

  /* Триггеры в один ряд */
  .hero__right {
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 8px;
  }
  .hero__stat { padding: 10px 8px; }
  .hero__stat-num { font-size: 22px; }
  .hero__stat-label { font-size: 10px; line-height: 1.3; }
  .hero__badge { grid-column: auto !important; padding: 10px 8px; }
  .hero__badge-icon { margin-bottom: 3px; }
  .hero__badge-icon svg { width: 14px; height: 14px; }
  .hero__badge-text { font-size: 9px; line-height: 1.3; }
  .hero__badge-text b { font-size: 9px; display: block; margin-bottom: 2px; }
}

/* ==============================================
   MODAL
   ============================================== */
/* ==============================================
   МОДАЛ — НАПИСАТЬ В МЕССЕНДЖЕР
   ============================================== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(10,10,10,0.65);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: #fff;
  border-radius: 20px;
  padding: 28px 24px 24px;
  max-width: 360px; width: 100%;
  position: relative;
  transform: translateY(18px) scale(0.97);
  transition: transform 0.28s cubic-bezier(0.34,1.56,0.64,1);
  box-shadow: 0 24px 64px rgba(0,0,0,0.18), 0 4px 16px rgba(0,0,0,0.08);
}
.modal-overlay.open .modal { transform: none; }

/* Кнопка закрытия */
.modal__close {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px; border-radius: 50%;
  background: #f2efea; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #888; transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}
.modal__close:hover { background: #e6e0d8; color: #1a1a1a; }
.modal__close svg { display: block; }

/* Заголовок */
.modal__title {
  font-size: 20px; font-weight: 700;
  color: #1a1a1a; letter-spacing: -0.02em;
  line-height: 1.2; margin-bottom: 8px;
  padding-right: 32px;
}
.modal__sub {
  font-size: 13px; color: #888; line-height: 1.55; margin-bottom: 20px;
}

/* Кнопки-мессенджеры */
.modal__messengers {
  display: flex; flex-direction: column; gap: 10px;
}
.modal__msg-btn {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1.5px solid #e8e3d8;
  border-radius: 14px; padding: 14px 16px;
  cursor: pointer; text-decoration: none; color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.15s;
}
.modal__msg-btn:hover {
  border-color: #c7c0b5;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  background: #faf9f7;
}
.modal__msg-icon {
  width: 44px; height: 44px; border-radius: 12px;
  flex-shrink: 0; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.modal__msg-icon--tg {
  background: linear-gradient(135deg, #2aabee 0%, #229ed9 100%);
}
.modal__msg-icon--max {
  background: none;
}
.modal__msg-icon svg,
.modal__msg-icon img { display: block; }
.modal__msg-info { flex: 1; min-width: 0; }
.modal__msg-name {
  font-size: 15px; font-weight: 600; color: #1a1a1a;
  line-height: 1.2; margin-bottom: 2px;
}
.modal__msg-hint {
  font-size: 12px; color: #aaa; line-height: 1.3;
}
.modal__msg-arrow {
  color: #bbb; flex-shrink: 0;
  transition: color 0.2s, transform 0.2s;
}
.modal__msg-btn:hover .modal__msg-arrow {
  color: #888; transform: translateX(3px);
}

/* ==============================================
   COOKIES
   ============================================== */
.cookies {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%);
  z-index: 8000;
  display: flex; align-items: center; gap: 20px;
  background: #1a1a1a;
  color: rgba(255,255,255,0.7);
  padding: 14px 20px 14px 24px;
  border-radius: 12px;
  font-size: 13px; line-height: 1.5;
  max-width: 680px; width: calc(100% - 40px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.35);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateX(-50%) translateY(16px);
}
.cookies.show {
  opacity: 1; pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.cookies__text { flex: 1; }
.cookies__text a { color: #c36036; text-decoration: underline; text-underline-offset: 2px; }
.cookies__btn {
  flex-shrink: 0;
  padding: 9px 20px;
  background: #c36036; color: #fff;
  border: none; border-radius: 7px;
  font-size: 13px; font-weight: 700;
  font-family: inherit; cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.cookies__btn:hover { background: #b05530; }
@media (max-width: 600px) {
  .cookies { flex-direction: column; align-items: stretch; gap: 12px; padding: 16px; }
  .modal__fields { grid-template-columns: 1fr; }
  .modal { padding: 28px 20px 24px; }
}

/* reveal */
.reveal { opacity: 1; transform: none; }
.reveal.vis { opacity: 1; transform: none; }

/* ==============================================
   RESPONSIVE — TABLET  (≤ 1100px)
   ============================================== */
@media (max-width: 1100px) {
  .wrap { padding: 0 32px; }
  .navbar { padding: 0 32px; }
  .navbar__links { gap: 24px; }
  .navbar__phone { font-size: 13px; }
  .hero__inner { padding: 0 32px; padding-top: 68px; gap: 32px; }
  .hero__title { font-size: 46px; }
  .features__grid { grid-template-columns: 1fr 1fr; }
  .fcard--tall { grid-row: auto; }
  .fcard--tall img { height: 260px; }
  .services__inner { grid-template-columns: 1fr; gap: 40px; }
  .services__left { position: static; }
  .footer__top { grid-template-columns: 1fr; gap: 40px; }
  .footer__nav-cols { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .cta-banner__title { font-size: 40px; }
  .scenarios { gap: 0; }
  .sc-item { padding: 28px 24px; }
  .designers__layout { gap: 48px; }
  .designers__right { max-width: 280px; }
}

/* ==============================================
   RESPONSIVE — MOBILE  (≤ 768px)
   ============================================== */
@media (max-width: 768px) {
  .wrap { padding: 0 16px; }
  .sec-title { font-size: 26px; line-height: 1.2; }
  .sec-label { font-size: 10px; }
  .navbar { padding: 0 16px; height: 60px; }
  .navbar__links,
  .navbar__right { display: none; }
  .navbar__burger {
    display: flex;
    order: -1; /* бургер визуально перед логотипом */
  }
  .hero { min-height: 100svh; }
  .hero__inner {
    flex-direction: column;
    padding: 0 16px;
    padding-top: 60px;
    gap: 12px;
    align-items: flex-start;
    justify-content: flex-end;
    padding-bottom: 20px;
    min-height: 100svh;
    box-sizing: border-box;
  }
  .hero__left {
    width: 100%;
    min-width: unset;
    max-width: 100%;
  }
  .hero__title { font-size: 28px; letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 8px; }
  .hero__title em { font-size: 26px; }
  .hero__sub { font-size: 13px; margin-bottom: 12px; line-height: 1.5; }
  .hero__btns { flex-direction: row; gap: 8px; flex-wrap: wrap; }
  .hero__btns a { flex: 1 1 auto; text-align: center; justify-content: center; }
  .hero__right {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
  }
  .hero__stat { padding: 12px 10px; }
  .hero__stat-num { font-size: 24px; }
  .hero__badge { grid-column: auto; padding: 10px 8px; }
  .hero__badge-text { font-size: 10px; line-height: 1.3; }
  .hero__badge-text b { font-size: 10px; display: block; margin-bottom: 2px; }
  .hero__badge-icon { margin-bottom: 4px; }
  .hero__badge-icon svg { width: 16px; height: 16px; }
  .scenarios-section { padding: 48px 0; }
  .scenarios { flex-direction: column; gap: 0; }
  .sc-item {
    padding: 24px 16px;
    border-right: none !important;
    border-bottom: 1px solid #e0dcd2;
  }
  .sc-item:last-child { border-bottom: none; }
  .sc-item__num { font-size: 22px; }
  .sc-item__title { font-size: 18px; }
  .sc-item__price span { font-size: 20px; }
  .designers { padding: 56px 0; }
  .designers__layout { grid-template-columns: 1fr; gap: 32px; }
  .designers__right { display: none; }
  .designer-card-mini { gap: 12px; }
  .designer-card-mini__photo { width: 48px; height: 48px; }
  .features { padding: 56px 0; }
  .features__top { grid-template-columns: 1fr; gap: 20px; }
  .features__top-right { align-items: flex-start; }
  .features__grid { grid-template-columns: 1fr; }
  .fcard--tall img,
  .fcard--wide img,
  .fcard--sm img { height: 220px; }
  .portfolio { padding: 56px 0; }
  .portfolio__head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .portfolio__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .pitem { grid-column: auto !important; grid-row: auto !important; height: 260px; }
  .process { padding: 56px 0; }
  .process__head { flex-direction: column; gap: 16px; }
  .process__timeline { grid-template-columns: 1fr; gap: 0; }
  .process__timeline::before { display: none; }
  .process__step { flex-direction: row; gap: 16px; padding: 20px 0; border-bottom: 1px solid #e8e3d8; }
  .process__step:last-child { border-bottom: none; }
  .process__step-number { flex-shrink: 0; }
  .process__bottom { flex-direction: column; gap: 16px; }
  .services { padding: 56px 0; }
  .services__inner { grid-template-columns: 1fr; gap: 28px; }
  .services__img { display: none; }
  .services__preview { display: none; }
  .acc-item { }
  .acc-head { padding: 18px 16px; }
  .acc-price { display: none; }
  .acc-name { font-size: 15px; }
  .cta-banner { min-height: 280px; }
  .cta-banner__inner { padding: 56px 16px; }
  .cta-banner__title { font-size: 28px; letter-spacing: -0.02em; }
  .cta-banner__sub { font-size: 14px; }
  .cta-banner__btns { flex-direction: column; gap: 10px; }
  .cta-banner__btns a { width: 100%; text-align: center; justify-content: center; }
  .articles { padding: 56px 0; }
  .articles__head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .articles__grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .aitem { grid-column: auto !important; height: 240px; }
  .footer { padding-top: 48px; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; }
  .footer__nav-cols { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer__legal { flex-direction: column; gap: 8px; }
  .footer__copy { font-size: 11px; }
  .modal { padding: 24px 16px 20px; border-radius: 12px; }
  .modal__title { font-size: 22px; }
  .modal__fields { grid-template-columns: 1fr; gap: 10px; }
  .cookies { flex-direction: column; align-items: stretch; gap: 12px; bottom: 0;
    border-radius: 12px 12px 0 0; padding: 16px; }
  .cookies__btn { width: 100%; padding: 12px; }
}
