/* ============================================================
   БАЗА
   ============================================================ */

.project__used-list li .num,
.project__used-term .num {
  color: #fff;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin:0; padding:0; overflow-x:hidden; width:100%; }
body {
  background:#0e0e0e; color:#fff;
  font-family:'Lato', Arial, sans-serif;
  font-size:16px; line-height:1.4;
  -webkit-font-smoothing:antialiased;
}
body.is-locked { overflow: hidden; }
body.is-lead-open { overflow: hidden; }
img { max-width:100%; display:block; }
a { color:inherit; text-decoration:none; }
h1,h2,h3 { font-family:'Oswald', Arial, sans-serif; font-weight:400; margin:0; text-transform:uppercase; }
p { margin:0 0 10px; }

.container { width:100%; max-width:1200px; margin:0 auto; padding:0 20px; }
.accent { color:#ffd96b; }

/* Логотип */
.header__logo-img {
  height: 92px;
  width: auto;
  display: block;
}

/* ============================================================
   БАНЕР — ВАРИАНТ 2 «ДОРОГОЙ»
   ============================================================ */

.projects-banner {
  position: relative;
  max-width: 1160px;
  height: 520px;
  margin: 70px auto;
  border-radius: 20px;
  overflow: hidden;
  isolation: isolate;

  box-shadow:
    0 0 0 1px rgba(255, 217, 107, .18),
    0 30px 80px rgba(0, 0, 0, .65),
    0 0 60px rgba(255, 217, 107, .08);
}

.projects-banner__bg {
  position: absolute;
  inset: -20px;
  background: url("images/projects-banner.jpg") center / cover no-repeat;
  filter: blur(6px) brightness(.5) saturate(1.3);
  transform: scale(1.08);
  transition: transform 1.2s cubic-bezier(.2, .8, .2, 1);
  z-index: -3;
}
.projects-banner:hover .projects-banner__bg {
  transform: scale(1.12);
}

.projects-banner__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 50% 40%,
      rgba(160, 120, 40, .35),
      rgba(0, 0, 0, .75) 75%
    ),
    linear-gradient(
      135deg,
      rgba(14, 14, 14, .85) 0%,
      rgba(14, 14, 14, .35) 50%,
      rgba(160, 120, 40, .2) 100%
    );
  z-index: -2;
}

.projects-banner__lights {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}
.projects-banner__lights span {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%);
  animation: bannerTwinkle 4s ease-in-out infinite;
  will-change: opacity, transform, box-shadow;
  background: linear-gradient(135deg, #e0be5a 0%, #ffe5a7 50%, #d0af52 100%);
}
@keyframes bannerTwinkle {
  0%   { opacity: 0;   transform: translate(-50%, -50%) scale(.6); }
  40%  { opacity: 1;   transform: translate(-50%, -50%) scale(1.15); }
  70%  { opacity: .85; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0;   transform: translate(-50%, -50%) scale(.6); }
}

.projects-banner::before,
.projects-banner::after {
  content: '';
  position: absolute;
  left: 20px;
  right: 20px;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(224, 190, 90, .5) 20%,
    #ffe5a7 50%,
    rgba(224, 190, 90, .5) 80%,
    transparent 100%);
  pointer-events: none;
  z-index: 2;
}
.projects-banner::before { top: 14px; }
.projects-banner::after  { bottom: 14px; }

.projects-banner__content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 30px;
  z-index: 1;
}

.projects-banner__label {
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #ffd96b;
  margin-bottom: 18px;
  opacity: .85;
}
.projects-banner__label::before,
.projects-banner__label::after {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #ffd96b);
  vertical-align: middle;
  margin: 0 12px;
}
.projects-banner__label::after {
  background: linear-gradient(90deg, #ffd96b, transparent);
}

.projects-banner__content h2 {
  margin: 0 0 18px;
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 56px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  text-shadow:
    0 3px 12px rgba(0, 0, 0, .9),
    0 0 40px rgba(0, 0, 0, .7);
}
.projects-banner__content h2 .num {
  font-size: 1.35em;
  font-weight: 700;
  background: linear-gradient(135deg, #e0be5a 0%, #ffe5a7 50%, #d0af52 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 20px rgba(255, 217, 107, .4));
  margin: 0 6px;
}

.projects-banner__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.projects-banner__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 200px;
  height: 58px;
  padding: 0 28px;
  border-radius: 10px;
  background: linear-gradient(135deg, #e0be5a 0%, #ffe5a7 50%, #d0af52 100%);
  color: #222;
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .3px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.projects-banner__button::after {
  content: '→';
  font-size: 18px;
  transition: transform .25s ease;
}
.projects-banner__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(255, 217, 107, .6);
}
.projects-banner__button:hover::after {
  transform: translateX(4px);
}

.projects-banner__button--ghost {
  background: transparent;
  color: #ffd96b;
  border: 1px solid #ffd96b;
  font-weight: 400;
}
.projects-banner__button--ghost::after { content: none; }
.projects-banner__button--ghost:hover {
  background: #ffd96b;
  color: #222;
  box-shadow: 0 0 30px rgba(255, 217, 107, .45);
}

/* ============================================================
   КНОПКИ
   ============================================================ */
.btn {
  display:inline-flex; align-items:center; justify-content:center;
  padding:14px 28px; border-radius:10px;
  background:linear-gradient(135deg,#e0be5a 0%,#ffe5a7 50%,#d0af52 100%);
  color:#222; font-family:'Lato', Arial, sans-serif;
  font-size:16px; border:none; cursor:pointer;
  position:relative; overflow:hidden;
  transition: box-shadow .2s ease, transform .2s ease;
  text-align:center;
}
.btn::before {
  content:''; position:absolute; top:0; left:-100%; width:60%; height:100%;
  background:linear-gradient(120deg, transparent, rgba(255,255,255,.6), transparent);
  transform: skewX(-20deg); transition:left .6s ease; pointer-events:none;
}
.btn:hover::before { left:130%; }
.btn:hover { box-shadow:0 0 24px rgba(255,217,107,.55); transform:translateY(-1px); }

.btn-ghost {
  display:inline-flex; align-items:center; justify-content:center;
  padding:14px 28px; border-radius:10px;
  border:1px solid #ffd96b; background:transparent; color:#ffd96b;
  font-size:16px; transition: background .2s, color .2s, box-shadow .2s;
  cursor:pointer;
}
.btn-ghost:hover { background:#ffd96b; color:#222; box-shadow:0 0 24px rgba(255,217,107,.4); }

/* ============================================================
   ШАПКА
   ============================================================ */
.header { position:fixed; top:10px; left:0; right:0; z-index:1000; padding:0 20px; }
.header__bar {
  position:relative; max-width:1160px; margin:0 auto; height:92px;
  background:rgba(29,29,31,0.92);
  -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px);
  border:1px solid #252527; border-radius:16px;
  display:grid; grid-template-columns:1fr auto 1fr; align-items:center;
  gap:16px; padding:0 24px;
  box-shadow:0 8px 30px rgba(0,0,0,0.35);
}
.header__bar::after {
  content:''; position:absolute; left:20px; right:20px; bottom:-5px;
  height:2px; border-radius:2px;
  background:linear-gradient(90deg,
    transparent 0%, rgba(224,190,90,.45) 15%,
    #e0be5a 35%, #ffe5a7 50%, #d0af52 65%,
    rgba(224,190,90,.45) 85%, transparent 100%);
  pointer-events:none; opacity:.9;
}

.header__left { display:flex; align-items:center; justify-self:start; gap:10px; }
.header__logo { display:flex; align-items:center; justify-content:center; justify-self:center; flex-shrink:0; }
.header__right { display:flex; align-items:center; gap:14px; justify-self:end; }

.header__phone {
  color:#fff;
  font-size:17px;
  font-weight:500;
  letter-spacing:.2px;
  white-space:nowrap;
  transition:color .2s;
}
.header__phone:hover { color:#ffd96b; }

/* ============================================================
   СОЦСЕТИ В ШАПКЕ — PREMIUM GLASS
   ============================================================ */
.header__social { display:flex; gap:10px; }

.header__social a {
  position: relative;
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 217, 107, .06);
  border: 1px solid rgba(255, 217, 107, .28);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  overflow: hidden;
  isolation: isolate;
  transition:
    background .3s ease,
    border-color .3s ease,
    box-shadow .3s ease,
    transform .3s cubic-bezier(.2,.8,.2,1);
}

/* Блик при наведении */
.header__social a::before {
  content: '';
  position: absolute; top: 0; left: -120%;
  width: 70%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg);
  transition: left .7s ease;
  pointer-events: none;
  z-index: 2;
}

/* Мягкое свечение под иконкой */
.header__social a::after {
  content: '';
  position: absolute; inset: -30%;
  background: radial-gradient(circle, var(--brand, #ffd96b) 0%, transparent 65%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
  z-index: 0;
}

.header__social a svg,
.header__social a img {
  position: relative;
  width: 22px; height: 22px;
  z-index: 1;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), filter .3s ease;
}

.header__social a svg { fill: #ffd96b; }

.header__social a:hover {
  transform: translateY(-3px);
  border-color: var(--brand, #ffd96b);
  background: rgba(255, 217, 107, .12);
  box-shadow:
    0 0 0 1px var(--brand, #ffd96b),
    0 8px 24px rgba(0, 0, 0, .45),
    0 0 26px -4px var(--brand, #ffd96b);
}

.header__social a:hover::before { left: 130%; }
.header__social a:hover::after  { opacity: .35; }
.header__social a:hover svg,
.header__social a:hover img     { transform: scale(1.15); }

/* Фирменные цвета + подсветка при hover */
.header__social a[aria-label="Telegram"] { --brand: #29A9EB; }
.header__social a[aria-label="WhatsApp"] { --brand: #25D366; }
.header__social a[aria-label="MAX"]      { --brand: #ffd96b; }

.header__social a[aria-label="Telegram"]:hover svg { fill: #29A9EB; }
.header__social a[aria-label="WhatsApp"]:hover svg { fill: #25D366; }

/* MAX — картинка, оставляем золотой, но с фильтром под бренд */
.header__social a[aria-label="MAX"] img {
  filter: invert(82%) sepia(45%) saturate(600%) hue-rotate(340deg) brightness(105%) contrast(95%);
  transition: filter .3s ease, transform .3s ease;
}
.header__social a[aria-label="MAX"]:hover img {
  filter: invert(82%) sepia(60%) saturate(700%) hue-rotate(340deg) brightness(115%) contrast(100%);
}

/* ============================================================
   КНОПКА-МЕНЮ (текстовая)
   ============================================================ */
.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 48px;
  padding: 0 22px 0 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 217, 107, .35);
  background: rgba(255, 217, 107, .06);
  cursor: pointer;
  color: #ffd96b;
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  transition:
    background .25s ease,
    border-color .25s ease,
    box-shadow .25s ease,
    transform .25s ease,
    color .25s ease;
  position: relative;
  overflow: hidden;
}

.menu-toggle::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 217, 107, .25), transparent);
  transform: skewX(-20deg);
  transition: left .6s ease;
  pointer-events: none;
}
.menu-toggle:hover::before { left: 130%; }
.menu-toggle:hover {
  background: rgba(255, 217, 107, .12);
  border-color: rgba(255, 217, 107, .75);
  box-shadow: 0 0 22px rgba(255, 217, 107, .3);
}
.menu-toggle:active { transform: scale(.97); }
.menu-toggle:focus-visible { outline: 2px solid #ffe5a7; outline-offset: 3px; }

.menu-toggle__icon { position: relative; width: 22px; height: 16px; flex-shrink: 0; }
.menu-toggle__line {
  position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px;
  background: #ffd96b;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .25s ease, top .3s ease;
}
.menu-toggle__line:nth-child(1) { top: 0; }
.menu-toggle__line:nth-child(2) { top: 7px; }
.menu-toggle__line:nth-child(3) { top: 14px; }
.menu-toggle__text {
  position: relative; display: inline-block; min-width: 74px; text-align: left;
  transition: color .25s ease;
}

body.is-menu-open .menu-toggle {
  background: rgba(255, 217, 107, .14);
  border-color: rgba(255, 217, 107, .8);
  box-shadow: 0 0 26px rgba(255, 217, 107, .35);
}
body.is-menu-open .menu-toggle__line:nth-child(1) { top: 7px; transform: rotate(45deg); }
body.is-menu-open .menu-toggle__line:nth-child(2) { opacity: 0; }
body.is-menu-open .menu-toggle__line:nth-child(3) { top: 7px; transform: rotate(-45deg); }

/* ============================================================
   ПОЛНОЭКРАННОЕ МЕНЮ
   ============================================================ */
.menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  visibility: hidden;
}
.menu__overlay {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, .65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .5s cubic-bezier(.2,.8,.2,1);
}
.menu__panel {
  position: absolute; top: 0; left: 0; bottom: 0;
  width: min(460px, 100%);
  background: linear-gradient(180deg, #141416 0%, #0e0e0e 100%);
  border-right: 1px solid rgba(255, 217, 107, .15);
  box-shadow: 30px 0 80px rgba(0, 0, 0, .7);
  display: flex; flex-direction: column;
  padding: 90px 40px 32px;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.menu__panel::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 217, 107, .6) 50%, transparent);
}
.menu__panel::after {
  content: ''; position: absolute; top: -30%; left: -30%; width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 217, 107, .08) 0%, transparent 70%);
  pointer-events: none;
}
.menu.is-open { pointer-events: auto; visibility: visible; }
.menu.is-open .menu__overlay { opacity: 1; }
.menu.is-open .menu__panel { transform: translateX(0); }

.menu__label {
  font-family: 'Oswald', sans-serif; font-size: 11px; font-weight: 500;
  letter-spacing: 3px; text-transform: uppercase; color: #ffd96b;
  opacity: .8; margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}
.menu__label::before {
  content: ''; display: inline-block; width: 28px; height: 1px;
  background: linear-gradient(90deg, #ffd96b, transparent);
}
.menu__nav { display: flex; flex-direction: column; gap: 2px; margin-bottom: 28px; }
.menu__link {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  padding: 13px 4px;
  font-family: 'Oswald', sans-serif; font-size: 18px; font-weight: 400;
  text-transform: uppercase; letter-spacing: .4px; color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: color .3s ease, padding-left .3s ease, border-color .3s ease;
  opacity: 0; transform: translateX(-30px);
}
.menu.is-open .menu__link {
  opacity: 1; transform: translateX(0);
  transition:
    color .3s ease, padding-left .3s ease, border-color .3s ease,
    opacity .5s cubic-bezier(.2,.8,.2,1), transform .5s cubic-bezier(.2,.8,.2,1);
}
.menu.is-open .menu__link:nth-child(1) { transition-delay: .15s; }
.menu.is-open .menu__link:nth-child(2) { transition-delay: .22s; }
.menu.is-open .menu__link:nth-child(3) { transition-delay: .29s; }
.menu.is-open .menu__link:nth-child(4) { transition-delay: .36s; }
.menu.is-open .menu__link:nth-child(5) { transition-delay: .43s; }
.menu.is-open .menu__link:nth-child(6) { transition-delay: .50s; }
.menu__link::before {
  content: ''; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0;
  background: linear-gradient(90deg, #ffd96b, transparent);
  transition: width .4s cubic-bezier(.2,.8,.2,1);
}
.menu__link:hover { color: #ffd96b; padding-left: 10px; border-color: rgba(255, 217, 107, .25); }
.menu__link:hover::before { width: 100%; }

.menu__link-arrow {
  font-size: 15px; color: #ffd96b; opacity: 0; transform: translateX(-8px);
  transition: opacity .3s ease, transform .3s ease;
}
.menu__link:hover .menu__link-arrow { opacity: 1; transform: translateX(0); }

.menu__divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 217, 107, .25) 50%, transparent);
  margin: 6px 0 24px;
  opacity: 0; transition: opacity .6s ease .5s;
}
.menu.is-open .menu__divider { opacity: 1; }

.menu__contact {
  display: flex; flex-direction: column; gap: 12px;
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1);
}
.menu.is-open .menu__contact { opacity: 1; transform: translateY(0); transition-delay: .55s; }

.menu__phone {
  font-family: 'Oswald', sans-serif; font-size: 22px; font-weight: 500;
  color: #fff; letter-spacing: -.3px;
  transition: color .3s ease;
}
.menu__phone:hover { color: #ffd96b; }

.menu__hours {
  font-family: 'Lato', sans-serif; font-size: 13px; color: #8a8a8a; letter-spacing: .3px;
}

.menu__socials { display: flex; gap: 8px; margin-top: 4px; }
.menu__social {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255, 217, 107, .08);
  border: 1px solid rgba(255, 217, 107, .25);
  display: flex; align-items: center; justify-content: center;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.menu__social svg { width: 18px; height: 18px; fill: #ffd96b; transition: fill .3s ease; }
.menu__social:hover {
  background: #ffd96b; border-color: #ffd96b;
  box-shadow: 0 0 24px rgba(255, 217, 107, .5);
  transform: translateY(-2px);
}
.menu__social:hover svg { fill: #222; }

.menu__cta {
  margin-top: 22px;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 15px 24px; border-radius: 10px;
  background: linear-gradient(135deg, #e0be5a 0%, #ffe5a7 50%, #d0af52 100%);
  color: #1d1d1f;
  font-family: 'Lato', sans-serif; font-size: 15px; font-weight: 700;
  text-align: center; position: relative; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
  opacity: 0; transform: translateY(20px);
  cursor: pointer; border: none;
}
.menu.is-open .menu__cta {
  opacity: 1; transform: translateY(0);
  transition: transform .3s ease, box-shadow .3s ease, opacity .6s ease .65s, transform .6s cubic-bezier(.2,.8,.2,1) .65s;
}
.menu__cta::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.6), transparent);
  transform: skewX(-20deg); transition: left .7s ease;
}
.menu__cta:hover::before { left: 130%; }
.menu__cta:hover { box-shadow: 0 10px 40px rgba(255, 217, 107, .4); }

@media (max-width: 640px) {
  .menu__panel {
    width: 100%;
    padding: 80px 20px 24px;
    border-right: none;
  }
  .menu__label {
    font-size: 11px;
    letter-spacing: 3px;
    margin-bottom: 14px;
  }
  .menu__nav { gap: 0; margin-bottom: 22px; }
  .menu__link {
    font-size: 16px;
    padding: 12px 4px;
    letter-spacing: .3px;
  }
  .menu__link-arrow { font-size: 14px; }
  .menu__divider { margin: 4px 0 18px; }
  .menu__contact { gap: 10px; }
  .menu__phone { font-size: 20px; }
  .menu__hours { font-size: 12px; }
  .menu__socials { gap: 8px; margin-top: 4px; }
  .menu__social { width: 40px; height: 40px; border-radius: 10px; }
  .menu__social svg { width: 18px; height: 18px; }
  .menu__cta {
    margin-top: 18px;
    padding: 14px 20px;
    font-size: 14px;
    border-radius: 10px;
  }
}
@media (min-width: 641px) and (max-width: 1100px) {
  .header__phone { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; width: 100%; min-height: 100vh;
  background: #1d1d1f url('images/bg.png') center 40% / cover no-repeat;
  padding-top: 100px; overflow: hidden;
  display: flex; align-items: center; isolation: isolate;
}
.hero::before {
  content:''; position:absolute; inset:0;
  background:
    linear-gradient(to right,
      rgba(14,14,14,0.72) 0%, rgba(14,14,14,0.45) 30%,
      rgba(14,14,14,0.10) 55%, rgba(14,14,14,0) 75%),
    linear-gradient(to bottom,
      rgba(14,14,14,0) 0%, rgba(14,14,14,0) 75%,
      rgba(14,14,14,0.55) 100%);
  pointer-events:none; z-index:1;
}
.hero__lights { position:absolute; inset:0; pointer-events:none; z-index:2; overflow:hidden; }
.hero__lights span {
  position:absolute; border-radius:50%; opacity:0; transform:translate(-50%,-50%);
  animation: twinkle 4s ease-in-out infinite;
  will-change: opacity, transform, box-shadow;
  background: linear-gradient(135deg,#e0be5a 0%,#ffe5a7 50%,#d0af52 100%);
}
@keyframes twinkle {
  0% { opacity:0; transform:translate(-50%,-50%) scale(.6); }
  40% { opacity:1; transform:translate(-50%,-50%) scale(1.15); }
  70% { opacity:.85; transform:translate(-50%,-50%) scale(1); }
  100% { opacity:0; transform:translate(-50%,-50%) scale(.6); }
}
.hero__aura {
  position:absolute; top:10%; right:-10%; width:600px; height:600px;
  background: radial-gradient(circle, rgba(255,217,107,.18) 0%, transparent 70%);
  pointer-events:none; z-index:1;
  animation: auraFloat 8s ease-in-out infinite;
}
@keyframes auraFloat { 0%,100%{transform:translate(0,0) scale(1);} 50%{transform:translate(-40px,30px) scale(1.1);} }

.hero__inner { position:relative; z-index:3; padding:60px 0; max-width:1080px; }
.hero__title, .hero__desc, .hero__cities, .hero__btn {
  opacity:0; animation: heroIn .9s cubic-bezier(.2,.8,.2,1) forwards;
}
.hero__title    { animation-delay:.15s; }
.hero__desc     { animation-delay:.35s; }
.hero__cities   { animation-delay:.5s; }
.hero__btn      { animation-delay:.7s; }
@keyframes heroIn { from { opacity:0; transform:translateY(30px);} to { opacity:1; transform:translateY(0);} }

.hero__title {
  font-size:54px; line-height:1.15; text-transform:uppercase;
  max-width:1010px; margin-bottom:22px; letter-spacing:-0.5px; color:#fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.85), 0 1px 3px rgba(0,0,0,.9), 0 0 40px rgba(0,0,0,.6);
}
.hero__title .accent {
  color: #ffd96b;
  text-shadow:
    0 2px 12px rgba(0,0,0,.9), 0 1px 3px rgba(0,0,0,.95),
    0 0 30px rgba(0,0,0,.7), 0 0 20px rgba(255,217,107,.35);
}
.hero__desc {
  font-size:20px; color:#f5f5f5; max-width:620px; margin:0 0 20px; line-height:1.4;
  text-shadow: 0 2px 10px rgba(0,0,0,.85), 0 1px 2px rgba(0,0,0,.9);
}
.hero__cities { display:flex; align-items:center; gap:14px; max-width:760px; margin:0 0 34px; }
.hero__cities-line {
  flex-shrink:0; width:36px; height:1px;
  background: linear-gradient(90deg, #ffd96b, transparent);
  position:relative;
}
.hero__cities-line::before {
  content:''; position:absolute; left:0; top:50%;
  width:5px; height:5px; border-radius:50%;
  background:#ffd96b; box-shadow:0 0 8px #ffd96b;
  transform: translateY(-50%);
}
.hero__cities-text {
  font-size:13px; letter-spacing:.4px; line-height:1.6;
  color:#e6e6e6; text-shadow: 0 1px 6px rgba(0,0,0,.9);
}
.hero__cities-text .label {
  font-family:'Oswald', sans-serif; text-transform: uppercase;
  color:#ffd96b; font-size:12px; letter-spacing:1px;
  margin-right:6px; font-weight:500;
}
.hero__cities-text .city { color:#fff; white-space:nowrap; }
.hero__cities-text .sep { color: rgba(255,217,107,.55); margin: 0 5px; }
.hero__btn { flex-shrink:0; }

/* БОЛЬШИЕ ЭКРАНЫ */
@media (min-width: 1600px) {
  .hero__inner { padding: 80px 0; max-width: 1200px; }
  .hero__title { font-size: 64px; }
  .hero__desc { font-size: 22px; max-width: 680px; }
  .hero__cities { max-width: 820px; }
  .hero__cities-text { font-size: 14px; }
  .hero__cities-text .label { font-size: 13px; }
  .hero__cities-line { width: 42px; }
  .hero__btn { padding: 18px 34px; font-size: 17px; }
}
@media (min-width: 2000px) {
  .hero__inner { padding: 100px 0; max-width: 1320px; }
  .hero__title { font-size: 76px; max-width: 1200px; }
  .hero__desc { font-size: 24px; max-width: 760px; }
  .hero__cities { max-width: 900px; margin-bottom: 42px; }
  .hero__cities-text { font-size: 15px; }
  .hero__cities-text .label { font-size: 14px; }
  .hero__btn { padding: 20px 40px; font-size: 18px; }
}
@media (min-width: 2600px) {
  .hero__inner { max-width: 1500px; }
  .hero__title { font-size: 88px; }
  .hero__desc { font-size: 26px; max-width: 860px; }
  .hero__cities-text { font-size: 16px; }
}

/* ============================================================
   ЦИФРЫ-ДОВЕРИЕ
   ============================================================ */
.trust { background:#0e0e0e; padding: 40px 0 10px; }
.trust__grid { display:grid; grid-template-columns: repeat(4, 1fr); gap:16px; }
.trust__item {
  background:#1d1d1f; border:1px solid #252527; border-radius:16px;
  padding: 24px 22px;
  transition: border-color .3s, transform .3s;
}
.trust__item:hover { border-color:#ffd96b; transform:translateY(-3px); }
.trust__num {
  font-family:'Oswald', sans-serif; font-size:44px; line-height:1;
  background: linear-gradient(135deg,#e0be5a 0%,#ffe5a7 50%,#d0af52 100%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
  margin-bottom:8px;
}
.trust__label { color:#cfcfcf; font-size:14px; line-height:1.35; }

/* ============================================================
   СКИДКА
   ============================================================ */
.discount { background:#0e0e0e; padding: 70px 0 80px; }
.discount__grid { display:grid; grid-template-columns: 1fr 480px; gap:60px; align-items:center; }
.discount__title { font-size:75px; line-height:1.15; text-transform:uppercase; color:#fff; margin-bottom:26px; }
.discount__card {
  background:#1d1d1f; border:1px solid #252527; border-radius:16px;
  padding:56px 40px; text-align:center; min-width:0;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .3s;
}
.discount__card:hover { transform:translateY(-6px); border-color:#ffd96b; box-shadow:0 20px 50px rgba(255,217,107,.15); }
.discount__card img { width:167px; height:167px; object-fit:contain; margin:0 auto 26px; animation: float 4s ease-in-out infinite; }
@keyframes float { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-6px);} }
.discount__card-title { font-family:'Oswald', sans-serif; font-size:20px; color:#ffd96b; text-transform:uppercase; line-height:1.2; margin-bottom:14px; }
.discount__card-text { font-family:'Lato', sans-serif; font-size:16px; color:#fff; line-height:1.4; }

/* ============================================================
   СЕКЦИИ
   ============================================================ */
.section { padding: 80px 0; }
.section--dark { background:#0e0e0e; }
.section-title { font-size:60px; line-height:1.2; text-transform:uppercase; margin-bottom:36px; word-wrap:break-word; }
.section-title--center { text-align:center; }
.section-subtitle { font-size:18px; color:#fff; margin-bottom:30px; }

.features { display:grid; grid-template-columns: repeat(2, 1fr); gap:20px; margin-top:40px; }
.feature-card {
  background:#1d1d1f; border:1px solid #252527; border-radius:16px; padding:30px;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .3s;
  min-width:0;
}
.feature-card:hover { transform:translateY(-6px); border-color:#ffd96b; box-shadow:0 20px 50px rgba(255,217,107,.15); }
.feature-card__icon {
  width: 72px; height: 72px; margin-bottom: 22px;
  animation: float 4s ease-in-out infinite;
  color: #ffd96b; display: block;
}
.feature-card__icon svg {
  width: 100%; height: 100%; display: block;
  stroke: currentColor; fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 12px rgba(255, 217, 107, .25));
  transition: filter .4s ease, transform .4s ease;
}
.feature-card:hover .feature-card__icon svg {
  filter: drop-shadow(0 0 18px rgba(255, 217, 107, .55));
}
.feature-card:nth-child(2n) .feature-card__icon { animation-delay:-1s; }
.feature-card:nth-child(3n) .feature-card__icon { animation-delay:-2s; }
.feature-card__title { font-family:'Oswald', sans-serif; font-size:20px; color:#ffd96b; text-transform:uppercase; margin-bottom:12px; line-height:1.2; }
.feature-card__text { font-size:16px; color:#fff; line-height:1.4; }

.projects { display:grid; grid-template-columns: repeat(2, 1fr); gap:40px; }
.project { position:relative; min-width:0; }
.project__img { border-radius:16px; overflow:hidden; aspect-ratio:16/10; background:#1d1d1f; }
.project__img img { width:100%; height:100%; object-fit:cover; transition: transform .5s ease; }
.project:hover .project__img img { transform: scale(1.06); }
.project__title { font-family:'Oswald', sans-serif; font-size:24px; color:#ffd96b; text-transform:uppercase; margin:20px 0 10px; line-height:1.3; }
.project__used { margin-bottom:16px; }
.project__used-list { list-style:none; padding:0; margin:0 0 14px; }
.project__used-list li {
  position:relative; padding-left:18px;
  color:#ffd96b; font-size:16px; line-height:1.5;
  font-family:'Lato', sans-serif;
}
.project__used-list li::before {
  content:''; position:absolute; left:0; top:8px;
  width:7px; height:7px; border-radius:50%;
  background:linear-gradient(135deg,#e0be5a 0%,#ffe5a7 50%,#d0af52 100%);
  box-shadow:0 0 6px rgba(255,217,107,.6);
}
.project__used-term {
  font-family:'Oswald', sans-serif; font-size:16px; color:#ffd96b;
  text-transform:uppercase; letter-spacing:.5px; line-height:1.3;
}
.project__used-term span {
  color:#fff; font-family:'Lato', sans-serif; font-weight:400;
  text-transform:none; letter-spacing:0;
}

.services {
  display:grid; grid-auto-flow: column; grid-auto-columns:320px;
  gap:20px; overflow-x:auto; padding-bottom:20px; scroll-snap-type:x mandatory;
}
.services::-webkit-scrollbar { height:6px; }
.services::-webkit-scrollbar-thumb { background:#333; border-radius:3px; }
.service-card {
  background:#1d1d1f; border:1px solid #252527; border-radius:16px; padding:20px;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .3s;
  scroll-snap-align:start;
}
.service-card:hover { border-color:#ffd96b; transform:translateY(-6px); box-shadow:0 20px 50px rgba(255,217,107,.15); }

.quotes { display:grid; grid-template-columns: repeat(3, 1fr); gap:20px; }
.quote {
  background:#1d1d1f; border:1px solid #252527; border-radius:16px;
  padding:28px 26px; transition: border-color .25s, transform .25s;
}
.quote:hover { border-color:#ffd96b; transform: translateY(-4px); }

.faq-item {
  background:#1d1d1f; border-radius:16px; margin-bottom:8px; overflow:hidden;
  transition: border-color .25s; border:1px solid transparent;
}
.faq-item:hover { border-color: rgba(255,217,107,.35); }
.faq-item[open] { border-color: rgba(255,217,107,.5); }
.faq-item summary {
  cursor:pointer; list-style:none; padding:24px 30px; font-size:18px;
  color:#ffd96b; font-family:'Lato', sans-serif;
  display:flex; justify-content:space-between; align-items:center; gap:20px;
  transition: color .25s, background .25s;
}
.faq-item summary:hover { background: rgba(255,217,107,.05); }
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item summary::after { content:'+'; font-size:26px; color:#ffd96b; transition: transform .3s; }
.faq-item[open] summary::after { content:'−'; transform: rotate(180deg); }
.faq-item__body {
  padding: 0 30px 24px; color:#fff; font-size:16px; line-height:1.55;
  animation: faqIn .35s ease;
}
@keyframes faqIn { from { opacity:0; transform: translateY(-6px);} to { opacity:1; transform:translateY(0);} }
.faq-item__body a { color:#ffd96b; text-decoration: underline; }

.cta {
  background:#1d1d1f; border:1px solid #252527; border-radius:16px;
  padding:60px; display:grid; grid-template-columns: 1fr 1fr; gap:40px; align-items:center;
  transition: border-color .35s, box-shadow .35s;
}
.cta:hover { border-color: rgba(255,217,107,.35); }
.cta > * { min-width:0; }
.cta__title { font-family:'Oswald', sans-serif; font-size:48px; line-height:1.15; text-transform:uppercase; word-wrap:break-word; }
.cta__form { display:flex; flex-direction:column; gap:16px; min-width:0; }
.cta__input {
  width:100%; background:transparent; border:1px solid #ffd96b; border-radius:14px;
  padding:16px 20px; color:#f9f9f9; font-size:16px; font-family:'Lato', sans-serif;
  transition: box-shadow .2s, border-color .2s;
}
.cta__input::placeholder { color: rgba(249,249,249,.5); }
.cta__input:focus { outline:none; box-shadow: 0 0 0 3px rgba(255,217,107,.2); }
.cta__input[type="file"] { cursor:pointer; color: rgba(249,249,249,.55); padding:12px 14px; }
.cta__input[type="file"]::file-selector-button {
  background:#ffd96b; color:#222; border:none; padding:8px 14px; border-radius:8px;
  margin-right:12px; cursor:pointer; font-family:'Lato', sans-serif; font-weight:700;
  transition: background .2s;
}
.cta__input[type="file"]::file-selector-button:hover { background:#ffe5a7; }
textarea.cta__input { resize: vertical; min-height: 90px; line-height: 1.4; font-family: 'Lato', Arial, sans-serif; }

.cta__status {
  margin-top: 4px; font-size: 14px; line-height: 1.4; min-height: 20px; color: #cfcfcf;
}
.cta__status.is-success { color: #8fe27a; }
.cta__status.is-error   { color: #ff8a8a; }

#scrollbar {
  position:fixed; top:0; left:0; height:3px; width:0;
  background: linear-gradient(90deg,#e0be5a,#ffe5a7,#d0af52);
  z-index:10000; box-shadow:0 0 12px #ffd96b;
  transition: width .1s linear;
}

/* ============================================================
   ФУТЕР
   ============================================================ */
.footer {
  position: relative; background: #141416; color: #fff;
  overflow: hidden; isolation: isolate; padding: 100px 0 40px;
}
.footer__glow {
  position: absolute; left: 50%; bottom: -55%; transform: translateX(-50%);
  width: 140%; max-width: 1800px; aspect-ratio: 2.4 / 1;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: radial-gradient(ellipse at 50% 100%,
    rgba(255, 217, 107, .10) 0%, rgba(255, 217, 107, .04) 35%, transparent 70%);
  pointer-events: none; z-index: 0; opacity: 0;
  transition: opacity 2s ease;
}
.footer.is-visible .footer__glow { opacity: 1; animation: footerGlow 8s ease-in-out infinite; }
@keyframes footerGlow { 0%, 100% { opacity: .85; } 50% { opacity: 1; } }

.footer::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 60%; max-width: 700px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 217, 107, .35) 50%, transparent);
  z-index: 1; opacity: 0; transition: opacity 1.6s ease .3s;
}
.footer.is-visible::before { opacity: 1; }

.footer__inner { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.footer__cta { text-align: center; padding-bottom: 80px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.footer__cta-title {
  font-family: 'Oswald', sans-serif; font-size: 60px; font-weight: 400;
  line-height: 1.15; letter-spacing: -0.5px; text-transform: uppercase;
  color: #fff; margin: 0 0 24px;
}
.footer__cta-title-accent {
  background: linear-gradient(135deg, #e0be5a 0%, #ffe5a7 50%, #d0af52 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer__cta-btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 20px 40px; border-radius: 12px;
  background: linear-gradient(135deg, #e0be5a 0%, #ffe5a7 50%, #d0af52 100%);
  color: #1d1d1f; font-family: 'Lato', sans-serif;
  font-size: 17px; font-weight: 700; letter-spacing: .3px;
  text-decoration: none; border: none; cursor: pointer;
  position: relative; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
  box-shadow: 0 4px 20px rgba(255, 217, 107, .15);
}
.footer__cta-btn::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg); transition: left .7s ease; pointer-events: none;
}
.footer__cta-btn:hover::before { left: 130%; }
.footer__cta-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 40px rgba(255, 217, 107, .35); }

.footer__contacts {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 60px;
  align-items: center; padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.footer__brand-name {
  font-family: 'Oswald', sans-serif; font-size: 20px; font-weight: 500;
  letter-spacing: 1.5px; text-transform: uppercase; color: #ffd96b;
  margin-bottom: 14px;
}
.footer__brand-desc {
  font-family: 'Lato', sans-serif; font-size: 15px; line-height: 1.6; color: #8a8a8a;
}
.footer__contact-info {
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
}
.footer__phone {
  font-family: 'Oswald', sans-serif; font-size: 32px; font-weight: 500;
  letter-spacing: -0.3px; color: #fff; text-decoration: none; line-height: 1.1;
  transition: color .3s ease;
}
.footer__phone:hover { color: #ffd96b; }
.footer__hours {
  font-family: 'Lato', sans-serif; font-size: 14px; color: #767676; letter-spacing: .5px;
}

.footer__socials { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.footer__social {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px; border-radius: 8px;
  color: #cfcfcf; font-family: 'Lato', sans-serif; font-size: 14px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .08);
  transition: color .3s ease, border-color .3s ease, background .3s ease, transform .3s ease;
}
.footer__social svg { width: 16px; height: 16px; flex-shrink: 0; opacity: .85; transition: opacity .3s ease; }
.footer__social-img {
  width: 16px; height: 16px; flex-shrink: 0; display: block;
  filter: invert(85%) brightness(95%);
  transition: filter .3s ease;
}
.footer__social:hover .footer__social-img,
.footer__social:focus-visible .footer__social-img {
  filter: invert(82%) sepia(45%) saturate(600%) hue-rotate(340deg) brightness(105%) contrast(95%);
}
.footer__social:hover,
.footer__social:focus-visible {
  color: #ffd96b; border-color: rgba(255, 217, 107, .4);
  background: rgba(255, 217, 107, .04);
  transform: translateX(-3px);
}
.footer__social:hover svg,
.footer__social:focus-visible svg { opacity: 1; }

.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
  gap: 20px; padding-top: 30px;
  font-family: 'Lato', sans-serif; font-size: 13px; color: #666;
}
.footer__copy { color: #666; }
.footer__legal { display: flex; align-items: center; gap: 12px; }
.footer__legal a { color: #666; text-decoration: none; transition: color .25s ease; }
.footer__legal a:hover { color: #b8b8b8; }
.footer__legal-sep { color: rgba(255, 255, 255, .12); user-select: none; }

.footer__cta, .footer__contacts, .footer__nav, .footer__bottom {
  opacity: 0; transform: translateY(20px);
  transition: opacity 1s cubic-bezier(.2, .8, .2, 1), transform 1s cubic-bezier(.2, .8, .2, 1);
}
.footer.is-visible .footer__cta      { opacity: 1; transform: translateY(0); transition-delay: .1s; }
.footer.is-visible .footer__contacts { opacity: 1; transform: translateY(0); transition-delay: .25s; }
.footer.is-visible .footer__bottom   { opacity: 1; transform: translateY(0); transition-delay: .5s; }

.footer__legal-info { text-align: left; }
.footer__legal-name {
  font-family: 'Oswald', sans-serif; font-size: 16px; font-weight: 500;
  color: #ffd96b; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px;
}
.footer__legal-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px;
  font-family: 'Lato', sans-serif; font-size: 14px; color: #b8b8b8;
}
.footer__legal-row .footer__legal-sep { color: rgba(255, 217, 107, .4); }

@media (max-width: 900px) {
  .footer__bottom { flex-direction: column; align-items: center; text-align: center; gap: 18px; }
  .footer__legal-info { text-align: center; }
  .footer__legal-row { justify-content: center; }
}
@media (max-width: 480px) {
  .footer__legal-name { font-size: 14px; }
  .footer__legal-row { flex-direction: column; gap: 4px; font-size: 13px; }
  .footer__legal-row .footer__legal-sep { display: none; }
  .footer__legal { flex-direction: column; gap: 8px; }
  .footer__legal-sep { display: none; }
  .footer__copy { text-align: center; }
}
@media (max-width: 1024px) {
  .footer { padding: 80px 0 32px; }
  .footer__inner { padding: 0 32px; }
  .footer__cta-title { font-size: 48px; }
  .footer__contacts { grid-template-columns: 1fr; gap: 36px; text-align: center; padding: 50px 0; }
  .footer__socials { flex-direction: row; justify-content: center; align-items: center; flex-wrap: wrap; }
  .footer__social:hover, .footer__social:focus-visible { transform: translateY(-2px); }
}
@media (max-width: 768px) {
  .footer { padding: 64px 0 28px; }
  .footer__inner { padding: 0 24px; }
  .footer__cta { padding-bottom: 56px; }
  .footer__cta-title { font-size: 40px; margin-bottom: 18px; }
  .footer__cta-btn { padding: 18px 32px; font-size: 16px; }
  .footer__phone { font-size: 26px; }
}
@media (max-width: 480px) {
  .footer { padding: 56px 0 24px; }
  .footer__inner { padding: 0 20px; }
  .footer__cta-title { font-size: 36px; }
  .footer__cta-btn { width: 100%; justify-content: center; padding: 18px 24px; }
  .footer__contacts { gap: 28px; padding: 40px 0; }
  .footer__phone { font-size: 24px; }
  .footer__socials { flex-direction: column; width: 100%; }
  .footer__social { width: 100%; justify-content: center; }
  .footer__bottom { flex-direction: column; text-align: center; gap: 12px; }
  .footer__legal { flex-direction: column; gap: 8px; }
  .footer__legal-sep { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .footer__glow, .footer::before, .footer__cta, .footer__contacts,
  .footer__bottom, .footer__cta-btn, .footer__social {
    animation: none !important; transition: none !important;
  }
  .footer.is-visible .footer__glow { opacity: 1; }
  .footer.is-visible::before { opacity: 1; }
  .footer.is-visible .footer__cta,
  .footer.is-visible .footer__contacts,
  .footer.is-visible .footer__bottom { opacity: 1; transform: none; }
}

/* ============================================================
   ПРЕМИУМ-ПРОЕКТЫ
   ============================================================ */
.premium-projects { display: flex; flex-direction: column; gap: 80px; margin-top: 20px; }
.premium-project { display: grid; grid-template-columns: 1.15fr 1fr; gap: 50px; align-items: center; }
.premium-project--reverse { grid-template-columns: 1fr 1.15fr; }
.premium-project--reverse .premium-project__gallery { order: 2; }
.premium-project--reverse .premium-project__info   { order: 1; }
.premium-project__gallery {
  position: relative; border-radius: 20px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 217, 107, .18), 0 30px 70px rgba(0, 0, 0, .55);
  transition: box-shadow .4s ease, transform .4s ease;
}
.premium-project:hover .premium-project__gallery {
  box-shadow: 0 0 0 1px rgba(255, 217, 107, .45), 0 40px 90px rgba(0, 0, 0, .7), 0 0 60px rgba(255, 217, 107, .12);
  transform: translateY(-4px);
}
.slider {
  position: relative; aspect-ratio: 4 / 3; background: #141414;
  overflow: hidden; user-select: none;
}
.slider__track {
  display: flex; height: 100%;
  transition: transform .6s cubic-bezier(.25, .8, .25, 1);
  will-change: transform;
}
.slider__slide { flex: 0 0 100%; height: 100%; overflow: hidden; }
.slider__slide img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  cursor: zoom-in; transition: transform .8s ease;
}
.slider:hover .slider__slide img { transform: scale(1.03); }
.slider__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(255, 217, 107, .5);
  background: rgba(14, 14, 14, .65);
  color: #ffd96b; font-size: 26px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .25s ease; backdrop-filter: blur(8px);
  z-index: 3; opacity: 0;
}
.slider:hover .slider__arrow { opacity: 1; }
.slider__arrow:hover { background: #ffd96b; color: #222; box-shadow: 0 0 24px rgba(255, 217, 107, .55); }
.slider__arrow--prev { left: 16px; }
.slider__arrow--next { right: 16px; }
.slider__counter {
  position: absolute; bottom: 16px; left: 16px;
  padding: 6px 14px; border-radius: 30px;
  background: rgba(14, 14, 14, .7);
  border: 1px solid rgba(255, 217, 107, .35);
  color: #ffd96b; font-family: 'Oswald', sans-serif;
  font-size: 13px; letter-spacing: 1px;
  backdrop-filter: blur(8px); z-index: 3;
}
.slider__dots {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 3;
}
.slider__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255, 255, 255, .35);
  border: none; cursor: pointer; transition: all .25s ease; padding: 0;
}
.slider__dot.is-active {
  background: #ffd96b; box-shadow: 0 0 10px rgba(255, 217, 107, .8);
  transform: scale(1.3);
}
.slider__dot:hover { background: rgba(255, 217, 107, .7); }
.slider.is-single .slider__arrow, .slider.is-single .slider__dots { display: none; }

.premium-project__title {
  font-family: 'Oswald', sans-serif; font-size: 34px; font-weight: 500;
  line-height: 1.2; color: #fff; text-transform: uppercase;
  margin-bottom: 20px; letter-spacing: -0.3px;
}
.premium-project__text {
  font-size: 17px; line-height: 1.55; color: #e8e8e8; margin-bottom: 18px;
}
.premium-project__note {
  font-size: 14px; color: #a8a8a8; margin-bottom: 24px; line-height: 1.5;
}
.premium-project__note a { color: #ffd96b; text-decoration: underline; }

/* ЛАЙТБОКС */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, .92);
  backdrop-filter: blur(10px);
  display: none; align-items: center; justify-content: center;
  z-index: 9999; padding: 40px;
}
.lightbox.is-open { display: flex; }
.lightbox__img {
  max-width: 92vw; max-height: 88vh; object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 0 80px rgba(255, 217, 107, .25);
  animation: lbIn .35s ease;
}
@keyframes lbIn { from { opacity: 0; transform: scale(.95); } to { opacity: 1; transform: scale(1); } }
.lightbox__close {
  position: absolute; top: 20px; right: 24px;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(255, 217, 107, .5);
  background: rgba(14, 14, 14, .7);
  color: #ffd96b; font-size: 28px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .25s ease;
}
.lightbox__close:hover { background: #ffd96b; color: #222; transform: rotate(90deg); }
.lightbox__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid rgba(255, 217, 107, .5);
  background: rgba(14, 14, 14, .7);
  color: #ffd96b; font-size: 30px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .25s ease;
}
.lightbox__arrow:hover { background: #ffd96b; color: #222; }
.lightbox__arrow--prev { left: 24px; }
.lightbox__arrow--next { right: 24px; }

.projects-banner__subline {
  display: inline-block; font-size: 35px; font-weight: 400;
  line-height: 1.25; letter-spacing: 0; margin-top: 10px;
  text-shadow: 0 3px 12px rgba(0, 0, 0, .9), 0 0 40px rgba(0, 0, 0, .7);
}

/* ============================================================
   ОТЗЫВЫ
   ============================================================ */
.reviews-carousel { position: relative; margin-top: 40px; display: flex; align-items: center; gap: 16px; }
.reviews-carousel__viewport { flex: 1 1 auto; min-width: 0; overflow: hidden; border-radius: 20px; }
.reviews-carousel__track {
  display: flex; gap: 20px;
  transition: transform .55s cubic-bezier(.25,.8,.25,1);
  will-change: transform; padding: 6px 2px;
}
.reviews-carousel__slide {
  flex: 0 0 auto; width: calc((100% - 3 * 20px) / 4);
  border-radius: 18px; overflow: hidden; background: #141414;
  box-shadow: 0 0 0 1px rgba(255, 217, 107, .18), 0 20px 50px rgba(0, 0, 0, .55);
  transition: transform .35s ease, box-shadow .35s ease;
  cursor: zoom-in;
}
.reviews-carousel__slide:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 0 1px rgba(255, 217, 107, .5), 0 30px 70px rgba(0, 0, 0, .7), 0 0 50px rgba(255, 217, 107, .12);
}
.reviews-carousel__slide img {
  width: 100%; height: auto; display: block;
  transition: transform .5s ease;
}
.reviews-carousel__slide:hover img { transform: scale(1.03); }
.reviews-carousel__arrow {
  flex: 0 0 auto; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(255, 217, 107, .5);
  background: rgba(14, 14, 14, .65);
  color: #ffd96b; font-size: 28px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(8px);
  transition: all .25s ease; z-index: 2;
}
.reviews-carousel__arrow:hover:not(:disabled) {
  background: #ffd96b; color: #222;
  box-shadow: 0 0 24px rgba(255, 217, 107, .55);
}
.reviews-carousel__arrow:disabled { opacity: .25; cursor: default; }
.reviews-carousel__dots {
  display: flex; justify-content: center; gap: 8px; margin-top: 24px;
}
.reviews-carousel__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255, 255, 255, .25);
  border: none; cursor: pointer; padding: 0;
  transition: all .25s ease;
}
.reviews-carousel__dot.is-active {
  background: #ffd96b; box-shadow: 0 0 10px rgba(255, 217, 107, .8);
  transform: scale(1.3);
}
.reviews-carousel__dot:hover { background: rgba(255, 217, 107, .7); }
@media (max-width: 1100px) {
  .reviews-carousel__slide { width: calc((100% - 2 * 20px) / 3); }
}
@media (max-width: 820px) {
  .reviews-carousel__slide { width: calc((100% - 1 * 16px) / 2); }
  .reviews-carousel__track { gap: 16px; }
  .reviews-carousel__arrow { width: 44px; height: 44px; font-size: 24px; }
  .header__cta { display: none !important; }
}
@media (max-width: 640px) {
  .reviews-carousel { gap: 8px; margin-top: 24px; }
  .reviews-carousel__track { gap: 12px; }
  .reviews-carousel__slide { width: 78vw; border-radius: 16px; }
  .reviews-carousel__arrow { display: none; }
  .reviews-carousel__dots { margin-top: 18px; }
  .header__phone { display: none; }
}

/* ============================================================
   КНОПКА CTA В ШАПКЕ
   ============================================================ */
.header__cta {
  display: inline-flex; align-items: center; gap: 8px;
  height: 48px; padding: 0 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e0be5a 0%, #ffe5a7 50%, #d0af52 100%);
  color: #1d1d1f; font-family: 'Lato', sans-serif;
  font-size: 17px; font-weight: 500; letter-spacing: .3px;
  white-space: nowrap; position: relative; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 217, 107, .25), 0 6px 20px rgba(255, 217, 107, .18);
  transition: transform .25s ease, box-shadow .25s ease;
  margin-left: 10px; cursor: pointer;
}
.header__cta-icon { display:inline-flex; width:18px; height:18px; }
.header__cta-icon svg { width:100%; height:100%; }
.header__cta::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.65), transparent);
  transform: skewX(-20deg); transition: left .7s ease; pointer-events: none;
}
.header__cta:hover::before { left: 130%; }
.header__cta::after {
  content: ''; position: absolute; inset: -1px; border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(255, 217, 107, .55);
  animation: ctaPulse 2.8s ease-out infinite;
  pointer-events: none;
}
@keyframes ctaPulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 217, 107, .55); }
  70%  { box-shadow: 0 0 0 10px rgba(255, 217, 107, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 217, 107, 0); }
}
.header__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(255, 217, 107, .5), 0 10px 30px rgba(255, 217, 107, .45);
}
.header__cta:active { transform: translateY(0); }
.header__cta:focus-visible { outline: 2px solid #ffe5a7; outline-offset: 3px; }

/* ============================================================
   АДАПТИВ ОБЩИЙ
   ============================================================ */
@media (max-width:1100px) {
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: 1fr 1fr; }
}
@media (max-width:960px) {
  .projects-banner__subline { font-size: 22px; }
  .hero {
    padding-top: 110px; align-items: flex-start;
    min-height: auto; background-position: center top;
  }
  .hero::before {
    background: linear-gradient(to bottom,
      rgba(14,14,14,0.55) 0%, rgba(14,14,14,0.35) 60%, rgba(14,14,14,0.7) 100%);
  }
  .hero__inner { padding: 30px 0 50px; }
  .hero__title { font-size:38px; }
  .discount__grid { grid-template-columns:1fr; gap:40px; }
  .discount__title { font-size:42px; }
  .discount__card { padding:40px 30px; }
  .section-title { font-size:42px; }
  .features { grid-template-columns:1fr; }
  .projects { grid-template-columns:1fr; }
  .quotes { grid-template-columns:1fr; }
  .cta { grid-template-columns:1fr; padding:40px; }
  .cta__title { font-size:36px; }
  .premium-project, .premium-project--reverse { grid-template-columns: 1fr; gap: 30px; }
  .premium-project--reverse .premium-project__gallery { order: 1; }
  .premium-project--reverse .premium-project__info   { order: 2; }
  .premium-project__title { font-size: 26px; }
  .premium-projects { gap: 60px; }
}
@media (max-width:640px) {
  .projects-banner__subline { font-size: 16px; margin-top: 6px; }

  .header { top:6px; padding:0 6px; }
  .header__bar {
    height:64px;
    padding:0 10px;
    gap:6px;
    border-radius:12px;
  }
  .header__logo-img { height:52px; }

  /* Кнопка меню — компактная, только иконка */
  .menu-toggle {
    height: 40px;
    width: 40px;
    padding: 0;
    gap: 0;
    border-radius: 10px;
    justify-content: center;
  }
  .menu-toggle__text { display: none; }
  .menu-toggle__icon { width: 20px; height: 14px; }
  .menu-toggle__line:nth-child(2) { top: 6px; }
  .menu-toggle__line:nth-child(3) { top: 12px; }
  body.is-menu-open .menu-toggle__line:nth-child(1),
  body.is-menu-open .menu-toggle__line:nth-child(3) { top: 6px; }

  /* CTA и телефон в шапке прячем */
  .header__cta { display: none; }
  .header__phone { display:none; }

  /* Соцсети — тот же размер, что и кнопка меню */
  .header__social { gap: 6px; }
  .header__social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }
  .header__social a svg,
  .header__social a img { width: 18px; height: 18px; }

  .hero { padding-top:150px; min-height:0; }
  .hero__inner { padding:20px 0 40px; }
  .hero__title { font-size:24px; margin-bottom:16px; }
  .hero__desc { font-size:15px; margin-bottom:14px; }
  .hero__cities {
    flex-direction: column; align-items: flex-start; gap: 8px;
    margin-bottom: 22px; max-width: 100%; width: 100%;
  }
  .hero__cities-line { width: 30px; }
  .hero__cities-text {
    font-size: 12px; line-height: 1.7;
    white-space: normal; word-break: break-word;
    overflow-wrap: anywhere; display: block; max-width: 100%;
  }
  .hero__cities-text .label { display: block; margin: 0 0 6px; font-size: 11px; }
  .hero__cities-text .city { white-space: normal; display: inline; }
  .hero__cities-text .sep { margin: 0 6px; }
  .hero__btn { width:100%; }

  .trust { padding: 30px 0 10px; }
  .trust__grid { grid-template-columns: 1fr 1fr; gap:10px; }
  .trust__num { font-size:32px; }
  .trust__label { font-size:12px; }

  .discount { padding:50px 0; }
  .discount__title { font-size:28px; }
  .discount__card { padding:30px 20px; }
  .section { padding:50px 0; }
  .section-title { font-size:28px; margin-bottom:24px; }

  .cta { padding:24px; gap:24px; }
  .cta__title { font-size:24px; }
  .cta__input { padding:14px 16px; font-size:15px; }

  .btn, .btn-ghost { width:100%; }
  .project__title { font-size:20px; }
  .project__used-title { font-size:20px; }

  .slider { aspect-ratio: 1 / 1; }
  .slider__arrow { width: 40px; height: 40px; font-size: 22px; }
  .premium-project__title { font-size: 22px; }
  .premium-project__text { font-size: 15px; }
  .lightbox { padding: 20px; }
  .lightbox__arrow { width: 44px; height: 44px; font-size: 24px; }
  .lightbox__arrow--prev { left: 8px; }
  .lightbox__arrow--next { right: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
  }
}

/* ============================================================
   МОДАЛЬНОЕ ОКНО — ЗАЯВКА
   ============================================================ */
.lead-modal {
  position: fixed; inset: 0; z-index: 10001;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  pointer-events: none; visibility: hidden;
}
.lead-modal.is-open { pointer-events: auto; visibility: visible; }
.lead-modal__overlay {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; transition: opacity .35s ease;
}
.lead-modal.is-open .lead-modal__overlay { opacity: 1; }

.lead-modal__dialog {
  position: relative;
  width: 100%; max-width: 520px;
  max-height: calc(100vh - 48px);

  background: linear-gradient(180deg, #1a1a1c 0%, #141416 100%);
  border: 1px solid rgba(255, 217, 107, .28);
  border-radius: 20px;
  padding: 48px 40px 40px;
  box-shadow:
    0 0 0 1px rgba(255, 217, 107, .12),
    0 40px 90px rgba(0, 0, 0, .8),
    0 0 70px rgba(255, 217, 107, .18);
  transform: translateY(30px) scale(.96);
  opacity: 0;
  transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .4s ease;
  z-index: 1;
}
.lead-modal__dialog::before {
  content: ''; position: absolute;
  top: 0; left: 20px; right: 20px; height: 1px;
  background: linear-gradient(90deg, transparent, #ffd96b, transparent);
  opacity: .7;
}
.lead-modal__dialog::after {
  content: ''; position: absolute;
  top: -40%; right: -30%; width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 217, 107, .12) 0%, transparent 70%);
  pointer-events: none;
}
.lead-modal.is-open .lead-modal__dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.lead-modal__close {
  position: absolute; top: 16px; right: 16px;
  width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid rgba(255, 217, 107, .3);
  background: rgba(255, 217, 107, .06);
  color: #ffd96b; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
  z-index: 2;
}
.lead-modal__close:hover {
  background: rgba(255, 217, 107, .15);
  border-color: rgba(255, 217, 107, .7);
  transform: rotate(90deg);
}

.lead-modal__header { position: relative; z-index: 1; margin-bottom: 28px; padding-right: 32px; }
.lead-modal__title {
  font-family: 'Oswald', sans-serif;
  font-size: 24px; font-weight: 500; line-height: 1.25;
  letter-spacing: .3px; text-transform: uppercase;
  color: #fff; margin: 0 0 14px;
}
.lead-modal__title .accent {
  background: linear-gradient(135deg, #e0be5a 0%, #ffe5a7 50%, #d0af52 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead-modal__subtitle {
  font-family: 'Lato', sans-serif;
  font-size: 15px; line-height: 1.5; color: #b8b8b8; margin: 0;
}

.lead-modal__form {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 12px;
}
.lead-modal__input {
  width: 100%;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 217, 107, .35);
  border-radius: 12px;
  padding: 15px 18px;
  color: #f9f9f9; font-size: 15px; font-family: 'Lato', sans-serif;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.lead-modal__input::placeholder { color: rgba(249, 249, 249, .45); }
.lead-modal__input:focus {
  outline: none;
  border-color: #ffd96b;
  background: rgba(255, 217, 107, .05);
  box-shadow: 0 0 0 3px rgba(255, 217, 107, .18);
}
.lead-modal__textarea {
  resize: none;
  min-height: 70px;
  line-height: 1.4;
}

.lead-modal__policy {
  display: flex; align-items: flex-start; gap: 10px;
  color: #b8b8b8; font-size: 13px; line-height: 1.4;
  margin-top: 4px; cursor: pointer;
}
.lead-modal__policy input { margin-top: 2px; flex-shrink: 0; }
.lead-modal__policy a { color: #ffd96b; text-decoration: underline; }

.lead-modal__submit {
  margin-top: 8px;
  width: 100%; padding: 16px 24px; font-size: 16px;
}
.lead-modal__status {
  font-size: 14px; line-height: 1.4; min-height: 20px;
  text-align: center; color: #cfcfcf;
}
.lead-modal__status.is-success { color: #8fe27a; }
.lead-modal__status.is-error   { color: #ff8a8a; }

@media (max-width: 640px) {
  .lead-modal { padding: 16px; }
  .lead-modal__dialog {
    padding: 44px 22px 28px; border-radius: 16px;
    max-height: calc(100vh - 32px);
  }
  .lead-modal__title { font-size: 18px; }
  .lead-modal__subtitle { font-size: 13px; }
  .lead-modal__input { padding: 13px 15px; font-size: 15px; }
  .lead-modal__close { width: 36px; height: 36px; top: 12px; right: 12px; }
}