/* ============================================================
   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;
  transition: background 0.35s, box-shadow 0.35s;
}
.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 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, .navbar__links a.active::after { transform: scaleX(1); }
.navbar__links a.active { color: #fff; }
.navbar__right { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.navbar__phone {
  display: flex; align-items: center; gap: 7px;
  font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.85); transition: color 0.2s; white-space: nowrap;
}
.navbar__phone:hover { color: #c36036; }
.navbar__phone-icon { width: 15px; height: 15px; opacity: 0.6; flex-shrink: 0; }
.navbar__btn {
  font-size: 13px; font-weight: 600; color: #fff; background: #c36036;
  padding: 9px 22px; border-radius: 6px; transition: background 0.2s, transform 0.15s; white-space: nowrap;
}
.navbar__btn:hover { background: #b05530; }
.navbar__btn:active { transform: scale(0.97); }
/* Иконки соцсетей в навбаре */
.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; flex-shrink: 0;
}
.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: translateY(6.5px) rotate(45deg); }
.navbar__burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.navbar__burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.navbar__overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 198; 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: 199; display: flex; flex-direction: column;
  transition: left 0.35s cubic-bezier(0.4,0,0.2,1); overflow-y: auto;
}
.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: 13px; text-decoration: none; }
.navbar__mobile-logo .navbar__logo-img { width: 44px; height: 44px; }
.navbar__mobile-logo .navbar__logo-name { font-size: 18px; }
.navbar__mobile-logo .navbar__logo-sub { font-size: 11px; }
.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: 1; }
.navbar__mobile-links a {
  font-size: 17px; font-weight: 500; color: rgba(255,255,255,0.75);
  padding: 16px 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: 24px; border-top: 1px solid rgba(255,255,255,0.07); flex-shrink: 0; }
.navbar__mobile-phone {
  display: flex; align-items: center; gap: 10px;
  font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 4px; transition: color 0.2s;
}
.navbar__mobile-phone svg { width: 18px; height: 18px; opacity: 0.5; flex-shrink: 0; }
.navbar__mobile-phone:hover { color: #c36036; }
/* Мессенджеры в мобильном меню */
.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: #111; overflow: hidden;
}
.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') 70% center/cover no-repeat;
}
.hero__overlay {
  position: absolute; inset: 0;
  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%
  );
  z-index: 1;
}
.hero__inner {
  position: relative; z-index: 2; width: 100%;
  max-width: 1600px; margin: 0 auto;
  padding: 0 48px; padding-top: 68px;
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.20em; text-transform: uppercase;
  color: #c36036; margin-bottom: 22px;
}
.hero__eyebrow::before { content: ''; width: 32px; height: 1px; background: #c36036; }
.hero__title {
  font-size: 52px; font-weight: 700;
  color: #fff; letter-spacing: -0.03em;
  line-height: 1.10; margin-bottom: 26px;
  max-width: 660px;
}
.hero__title em { font-style: normal; color: #c36036; }
.hero__sub {
  font-size: 17px; color: rgba(255,255,255,0.52);
  line-height: 1.65; max-width: 480px; margin-bottom: 40px;
}
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px 8px 10px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px; font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.68);
  backdrop-filter: blur(6px);
}
.trust-pill__dot { width: 6px; height: 6px; border-radius: 50%; background: #c36036; flex-shrink: 0; }
.hero__scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.35); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  animation: fadeInUp 1.2s ease 1.5s both;
}
.hero__scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(180deg, rgba(255,255,255,0.35) 0%, transparent 100%);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.35; transform: scaleY(1); }
  50% { opacity: 0.7; transform: scaleY(0.7) translateY(6px); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateX(-50%) translateY(12px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ============================================================
   ХЕЛПЕРЫ
   ============================================================ */
.sec-label-line {
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: #c36036; margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.sec-label-line::before { content: ''; width: 28px; height: 1px; background: #c36036; }
.sec-title { font-size: 44px; font-weight: 900; color: #111; letter-spacing: -0.04em; line-height: 1.06; }
.sec-title em { font-style: normal; color: #c36036; }
.btn-accent {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; background: #c36036; color: #fff;
  font-size: 14px; font-weight: 700; border-radius: 10px;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  box-shadow: 0 4px 18px rgba(195,96,54,0.28); cursor: pointer; white-space: nowrap;
}
.btn-accent:hover { background: #b05530; box-shadow: 0 6px 26px rgba(195,96,54,0.36); }
.btn-accent:active { transform: scale(0.97); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; color: #555; border: 1.5px solid #d4cfc6;
  font-size: 14px; font-weight: 600; border-radius: 10px; transition: color 0.2s, border-color 0.2s;
}
.btn-ghost:hover { color: #111; border-color: #111; }

/* ============================================================
   КАТАЛОГ
   ============================================================ */
.catalog { background: #fff; padding: 80px 48px 100px; }
.catalog__inner { max-width: 1600px; margin: 0 auto; }
.catalog__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px; margin-bottom: 48px;
}
.catalog__head-right { font-size: 15px; color: #666; line-height: 1.7; max-width: 360px; flex-shrink: 0; }
.filter-panel {
  background: #faf9f7; border: 1.5px solid #ece8e0; border-radius: 20px;
  padding: 28px 32px 24px; margin-bottom: 36px;
  display: flex; flex-direction: column; gap: 0;
}
.fg { display: flex; align-items: baseline; gap: 0; padding: 14px 0; border-top: 1px solid #ece8e0; }
.fg:first-child { border-top: none; padding-top: 0; }
.fg__label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.10em;
  text-transform: uppercase; color: #aaa;
  flex-shrink: 0; width: 148px; padding-top: 2px;
}
.fg__pills { display: flex; flex-wrap: wrap; gap: 7px; flex: 1; }
.fp {
  font-size: 12px; font-weight: 600; color: #555;
  padding: 6px 14px; border-radius: 100px;
  border: 1.5px solid #ddd8ce; background: #fff;
  white-space: nowrap; text-decoration: none; display: inline-block;
  transition: color 0.18s, background 0.18s, border-color 0.18s;
}
.fp:hover { color: #111; border-color: #bbb; background: #f5f1e8; }
.filters { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.filter-btn {
  font-size: 13px; font-weight: 600; color: #555;
  padding: 8px 18px; border-radius: 100px;
  border: 1.5px solid #ddd8ce; background: transparent;
  text-decoration: none; display: inline-block;
  transition: color 0.2s, background 0.2s, border-color 0.2s; white-space: nowrap;
}
.filter-btn:hover { color: #111; border-color: #bbb; background: #f5f1e8; }
.filter-btn.active { color: #fff; background: #c36036; border-color: #c36036; }
.portfolio-grid { columns: 3; column-gap: 20px; }
@supports (grid-template-rows: masonry) {
  .portfolio-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    grid-template-rows: masonry; gap: 20px; columns: unset;
  }
}
.pcard {
  break-inside: avoid; margin-bottom: 20px;
  border-radius: 20px; overflow: hidden; position: relative; cursor: pointer;
  background: #faf9f7; border: 1.5px solid #ece8e0;
  transition: transform 0.32s cubic-bezier(0.25,0.46,0.45,0.94), box-shadow 0.32s ease, border-color 0.25s;
  display: block; width: 100%; vertical-align: top;
}
.pcard:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,0.12); border-color: #d4cfc6; }
.pcard__img-wrap { position: relative; overflow: hidden; display: block; font-size: 0; }
.pcard__img-wrap img { width: 100%; height: 100%; display: block; transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94); vertical-align: top; }
.pcard:hover .pcard__img-wrap img { transform: scale(1.06); }
.pcard__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,0.65) 100%); opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.pcard:hover .pcard__overlay { opacity: 1; }
.pcard__view-btn {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background: rgba(255,255,255,0.95); color: #111;
  font-size: 13px; font-weight: 700; padding: 10px 22px; border-radius: 100px; white-space: nowrap;
  opacity: 0; transition: opacity 0.3s, transform 0.3s; pointer-events: none;
}
.pcard:hover .pcard__view-btn { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.pcard__body { padding: 20px 22px 24px; }
.pcard__tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.pcard__tag {
  font-size: 10px; font-weight: 700; letter-spacing: 0.10em; text-transform: uppercase;
  color: #c36036; background: rgba(195,96,54,0.08); border: 1px solid rgba(195,96,54,0.16);
  padding: 3px 10px; border-radius: 100px;
}
.pcard__tag--style { color: #555; background: #f0ede6; border-color: transparent; }
.pcard__name { font-size: 17px; font-weight: 800; color: #111; letter-spacing: -0.02em; margin-bottom: 6px; line-height: 1.25; }
.pcard__meta { font-size: 12px; color: #999; display: flex; gap: 12px; flex-wrap: wrap; }
.pcard__meta span { display: flex; align-items: center; gap: 4px; }
.pcard__meta svg { width: 12px; height: 12px; color: #bbb; flex-shrink: 0; }
.pcard--featured { border-color: rgba(195,96,54,0.30); }
.pcard--featured .pcard__body { background: #fff; }
.catalog__empty { display: none; text-align: center; padding: 80px 0; color: #999; }
.catalog__empty svg { margin: 0 auto 20px; color: #ddd; }
.catalog__empty p { font-size: 16px; font-weight: 600; color: #555; margin-bottom: 8px; }
.catalog__empty span { font-size: 14px; }
.catalog__counter { font-size: 13px; color: #999; margin-bottom: 28px; }
.catalog__counter strong { color: #333; font-weight: 700; }

/* ============================================================
   СТАТИСТИКА
   ============================================================ */
.stats-strip { background: #f5f1e8; padding: 72px 48px; }
.stats-strip__inner {
  max-width: 1600px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px;
  background: #ddd8ce; border-radius: 20px; overflow: hidden;
}
.stat-cell { background: #f5f1e8; padding: 40px 36px; display: flex; flex-direction: column; gap: 8px; transition: background 0.25s; }
.stat-cell:hover { background: #ede8dd; }
.stat-cell__val { font-size: 52px; font-weight: 900; color: #111; letter-spacing: -0.05em; line-height: 1; }
.stat-cell__val em { font-style: normal; color: #c36036; }
.stat-cell__label { font-size: 14px; color: #666; line-height: 1.5; }

/* ============================================================
   ОТЗЫВЫ
   ============================================================ */
.reviews { background: #fff; padding: 96px 48px 104px; }
.reviews__inner { max-width: 1600px; margin: 0 auto; }
.reviews__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 56px; }
.reviews__meta { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.reviews__stars { display: flex; gap: 3px; }
.reviews__stars svg { width: 16px; height: 16px; fill: #f5a623; }
.reviews__score { font-size: 28px; font-weight: 900; color: #111; letter-spacing: -0.04em; }
.reviews__count { font-size: 13px; color: #aaa; }
.rv-slider-wrap { overflow: hidden; }
.rv-slider { display: flex; gap: 20px; transition: transform 0.42s cubic-bezier(0.25,0.46,0.45,0.94); }
.rv-card {
  flex: 0 0 calc((100% - 40px) / 3);
  background: #faf9f7; border: 1.5px solid #ece8e0; border-radius: 20px;
  padding: 28px 26px 30px; transition: border-color 0.25s, box-shadow 0.25s;
}
.rv-card:hover { border-color: #d4cfc6; box-shadow: 0 8px 32px rgba(0,0,0,0.06); }
.rv-card__top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.rv-avatar {
  width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  background: #f0ede6; display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 800; color: #c36036;
}
.rv-avatar img { width: 100%; height: 100%; object-fit: cover; }
.rv-name { font-size: 14px; font-weight: 700; color: #111; }
.rv-date { font-size: 12px; color: #bbb; margin-top: 2px; }
.rv-stars { display: flex; gap: 2px; margin-bottom: 10px; }
.rv-stars svg { width: 13px; height: 13px; fill: #f5a623; }
.rv-pkg {
  display: inline-flex; font-size: 10px; font-weight: 700; letter-spacing: 0.10em; text-transform: uppercase;
  color: #c36036; background: rgba(195,96,54,0.08); border: 1px solid rgba(195,96,54,0.16);
  padding: 3px 10px; border-radius: 100px; margin-bottom: 14px;
}
.rv-text { font-size: 14px; color: #555; line-height: 1.72; position: relative; padding-left: 18px; }
.rv-text::before { content: '"'; position: absolute; left: 0; top: -4px; font-size: 28px; color: #e8e3d8; line-height: 1; }
.slider-nav { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 40px; }
.slider-nav__btn {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid #d4cfc6; background: #fff; color: #555;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.2s, border-color 0.2s, color 0.2s; flex-shrink: 0;
}
.slider-nav__btn svg { width: 15px; height: 15px; }
.slider-nav__btn:hover { background: #c36036; border-color: #c36036; color: #fff; }
.slider-nav__dots { display: flex; gap: 6px; }
.sdot { width: 8px; height: 8px; border-radius: 50%; background: #d4cfc6; cursor: pointer; transition: background 0.2s, transform 0.2s; }
.sdot.active { background: #c36036; transform: scale(1.5); }

/* ============================================================
   CTA ПЕРЕД ФУТЕРОМ
   ============================================================ */
.pre-footer { background: #f5f1e8; padding: 88px 48px; }
.pre-footer__inner {
  max-width: 1600px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 60px;
}
.pre-footer__tag {
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: #c36036; margin-bottom: 16px; display: flex; align-items: center; gap: 10px;
}
.pre-footer__tag::before { content: ''; width: 28px; height: 1px; background: #c36036; }
.pre-footer__title { font-size: 40px; font-weight: 800; color: #111; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 14px; }
.pre-footer__title em { font-style: normal; color: #c36036; }
.pre-footer__sub { font-size: 15px; color: #666; line-height: 1.7; max-width: 420px; }
.pre-footer__right { flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.pre-footer__btns { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.pre-footer__trust { display: flex; gap: 20px; flex-wrap: wrap; }
.pre-footer__trust-item { display: flex; align-items: center; gap: 7px; font-size: 13px; color: #888; }
.pre-footer__trust-item::before { content: '✓'; color: #c36036; font-weight: 700; }

/* ============================================================
   FOOTER
   ============================================================ */
/* ---- Новый футер (синхронизирован с index.html) ---- */
.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; }
.footer__col-sep { background: rgba(255,255,255,0.08); }
.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); }
@media (max-width: 900px) {
  .footer__inner { padding: 48px 24px 0; }
  .footer__cols { grid-template-columns: 1fr; }
  .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; }
}
@media (max-width: 480px) {
  .footer__inner { padding: 40px 20px 0; }
  .footer__bottom { flex-direction: column; gap: 12px; }
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lb-overlay {
  position: fixed; inset: 0; z-index: 9100;
  background: rgba(8,6,4,0.88); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.lb-overlay.open { opacity: 1; pointer-events: all; }
.lb {
  background: #fff; border-radius: 20px;
  max-width: 980px; width: 100%;
  max-height: calc(100vh - 40px); overflow-y: auto;
  position: relative;
  transform: translateY(24px) scale(0.98);
  transition: transform 0.32s cubic-bezier(0.25,0.46,0.45,0.94);
  box-shadow: 0 40px 100px rgba(0,0,0,0.35);
}
.lb-overlay.open .lb { transform: none; }
.lb__close {
  position: sticky; top: 16px; left: 100%;
  z-index: 10; float: right; margin: 16px 16px 0 0;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.95); border: 1.5px solid #ece8e0;
  display: flex; align-items: center; justify-content: center;
  color: #555; cursor: pointer; transition: background 0.2s, color 0.2s; flex-shrink: 0;
}
.lb__close:hover { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }
.lb__img-hero { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 20px 20px 0 0; display: block; }
.lb__body { padding: 36px 40px 44px; }
.lb__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.lb__tag {
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: #c36036; background: rgba(195,96,54,0.08); border: 1px solid rgba(195,96,54,0.16);
  padding: 4px 12px; border-radius: 100px;
}
.lb__tag--style { color: #555; background: #f0ede6; border-color: transparent; }
.lb__name { font-size: 32px; font-weight: 900; color: #111; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 8px; }
.lb__meta {
  display: flex; gap: 20px; flex-wrap: wrap;
  font-size: 13px; color: #999; margin-bottom: 28px;
  padding-bottom: 28px; border-bottom: 1.5px solid #f0ede6;
}
.lb__meta span { display: flex; align-items: center; gap: 6px; }
.lb__meta svg { width: 14px; height: 14px; color: #c36036; }
.lb__desc { font-size: 15px; color: #555; line-height: 1.8; margin-bottom: 32px; }
.lb__gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 32px; }
.lb__gallery-item { border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; cursor: zoom-in; }
.lb__gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.lb__gallery-item:hover img { transform: scale(1.05); }
.lb__included { margin-bottom: 32px; }
.lb__included-title { font-size: 14px; font-weight: 700; color: #111; margin-bottom: 16px; }
.lb__included-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lb__included-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: #555; line-height: 1.55;
}
.lb__included-item::before { content: '✓'; color: #c36036; font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.lb__cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.lb__price-note { font-size: 13px; color: #999; }

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 9200;
  background: rgba(10,10,10,0.72); 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: 16px; padding: 40px 36px 36px;
  max-width: 520px; width: 100%; position: relative;
  transform: translateY(20px); transition: transform 0.28s ease;
  box-shadow: 0 32px 80px rgba(0,0,0,0.22);
}
.modal-overlay.open .modal { transform: none; }
.modal__close {
  position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%;
  background: #f5f1e8; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: #666; transition: background 0.2s, color 0.2s;
}
.modal__close:hover { background: #e8e3d8; color: #111; }
.modal__label { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #c36036; margin-bottom: 10px; }
.modal__title { font-size: 26px; font-weight: 800; color: #1a1a1a; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 6px; }
.modal__sub { font-size: 14px; color: #666; line-height: 1.6; margin-bottom: 28px; }
.modal__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.modal__field { display: flex; flex-direction: column; gap: 6px; }
.modal__field--full { margin-bottom: 14px; }
.modal__field-label { font-size: 11px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: #555; }
.modal__input {
  background: #f8f6f2; border: 1.5px solid #e8e3d8; border-radius: 8px; padding: 12px 14px;
  font-size: 14px; color: #1a1a1a; font-family: inherit; outline: none; transition: border-color 0.2s, background 0.2s;
}
.modal__input:focus { border-color: #c36036; background: #fff; }
.modal__input::placeholder { color: #aaa; }
.modal__textarea { resize: vertical; min-height: 80px; }
.modal__check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; margin-bottom: 20px; }
.modal__check input { position: absolute; opacity: 0; width: 0; height: 0; }
.modal__check-box {
  width: 18px; height: 18px; flex-shrink: 0; border: 1.5px solid #d0ccc4; border-radius: 4px;
  background: #f8f6f2; margin-top: 1px; transition: background 0.2s, border-color 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.modal__check input:checked + .modal__check-box { background: #c36036; border-color: #c36036; }
.modal__check input:checked + .modal__check-box::after { content: ''; width: 5px; height: 9px; border: 2px solid #fff; border-top: none; border-left: none; transform: rotate(45deg) translate(-1px,-1px); display: block; }
.modal__check-text { font-size: 12px; color: #555; line-height: 1.55; }
.modal__check-text a { color: #c36036; text-decoration: underline; text-underline-offset: 2px; }
.modal__submit { width: 100%; padding: 14px; background: #c36036; color: #fff; border: none; border-radius: 8px; font-size: 15px; font-weight: 700; font-family: inherit; cursor: pointer; transition: background 0.2s; }
.modal__submit:hover { background: #b05530; }
.modal__submit:disabled { background: #d0aa96; cursor: not-allowed; }
.modal__success { display: none; align-items: center; gap: 10px; padding: 14px 16px; background: rgba(195,96,54,0.08); border: 1px solid rgba(195,96,54,0.25); border-radius: 8px; color: #c36036; font-size: 14px; font-weight: 600; margin-top: 12px; }

/* ============================================================
   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; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .navbar { padding: 0 32px; }
  .hero__inner { padding: 0 32px 52px; }
  .hero__title { font-size: 48px; }
  .catalog { padding: 64px 32px 80px; }
  .stats-strip { padding: 56px 32px; }
  .reviews { padding: 72px 32px 80px; }
  .pre-footer { padding: 64px 32px; }
  .pre-footer__title { font-size: 34px; }
  .footer__top { padding: 0 32px 48px; grid-template-columns: 1fr; gap: 40px; }
  .footer__nav-cols { grid-template-columns: repeat(2, 1fr); }
  .footer__bottom { padding: 20px 32px; }
  .sec-title { font-size: 36px; }
  .portfolio-grid { columns: 2; }
  .rv-card { flex: 0 0 calc((100% - 20px) / 2); }
}

@media (max-width: 960px) {
  .catalog__head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .stats-strip__inner { grid-template-columns: repeat(2, 1fr); }
  .reviews__head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .pre-footer__inner { flex-direction: column; align-items: flex-start; gap: 36px; }
  .pre-footer__right { width: 100%; }
  .lb__gallery { grid-template-columns: 1fr 1fr; }
  .lb__included-list { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .navbar { padding: 0 16px; height: 60px; }
  .navbar__links, .navbar__right { display: none; }
  .navbar__burger { display: flex; }
  .hero { min-height: 52vh; }
  .hero__inner { padding: 0 20px 44px; }
  .hero__title { font-size: 36px; }
  .hero__sub { font-size: 14px; }
  .catalog { padding: 48px 16px 64px; }
  .portfolio-grid { columns: 1; }
  .filters { gap: 6px; }
  .filter-btn { font-size: 12px; padding: 7px 14px; }
  .stats-strip { padding: 48px 16px; }
  .stats-strip__inner { grid-template-columns: 1fr 1fr; gap: 1px; }
  .stat-cell { padding: 28px 22px; }
  .stat-cell__val { font-size: 38px; }
  .reviews { padding: 56px 16px 64px; }
  .rv-card { flex: 0 0 100%; }
  .pre-footer { padding: 48px 16px; }
  .pre-footer__title { font-size: 28px; }
  .pre-footer__btns { flex-direction: column; width: 100%; }
  .pre-footer__btns .btn-accent, .pre-footer__btns .btn-ghost { width: 100%; justify-content: center; }
  .footer__top { padding: 0 16px 40px; gap: 32px; }
  .footer__nav-cols { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer__bottom { padding: 16px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer__legal { flex-direction: column; gap: 8px; }
  .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; }
  .modal { padding: 24px 16px 20px; border-radius: 12px; }
  .modal__title { font-size: 22px; }
  .modal__fields { grid-template-columns: 1fr; }
  .sec-title { font-size: 28px; }
  .lb__body { padding: 24px 20px 32px; }
  .lb__name { font-size: 24px; }
  .lb__gallery { grid-template-columns: 1fr; }
}
