/* ============ ПЕРЕМЕННЫЕ И БАЗА ============ */
:root {
  --gold: #e3a72e;
  --gold-soft: #f0c264;
  --gold-deep: #b8860f;
  --ink: #0e0d0b;
  --ink-2: #161410;
  --ink-3: #1e1b16;
  --paper: #f6f2ea;
  --paper-2: #efe9dc;
  --text: #4a463d;
  --light: #f4efe4;
  --muted: rgba(244, 239, 228, 0.6);
  --line-l: rgba(14, 13, 11, 0.14);
  --line-d: rgba(227, 167, 46, 0.22);
  --disp: "Montserrat", sans-serif;
  --body: "Barlow", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  font-size: 17px;
}
html, body {
  overflow-x: hidden;
  overflow-x: clip; 
}

@media (max-width: 900px) {
  [data-rv="left"],
  [data-rv="right"] {
    transform: translateY(46px);
  }
  .about__photo .wrap::before { top: 12px; left: 12px; }
  .hero__card .frame::before  { top: -10px; right: -10px; }
  .hero__badge                { left: -10px; }
}
img {
  display: block;
  max-width: 100%;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
button {
  font-family: inherit;
  cursor: pointer;
}
::selection {
  background: var(--gold);
  color: var(--ink);
}
.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============ ТИПОГРАФИКА ============ */
.h-xl {
  font-family: var(--disp);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.98;
  letter-spacing: -0.01em;
  font-size: clamp(2.4rem, 6.5vw, 5rem);
}
.h-lg {
  font-family: var(--disp);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.05;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
}
.h-md {
  font-family: var(--disp);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  line-height: 1.2;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.eyebrow::before {
  content: "";
  width: 38px;
  height: 2px;
  background: var(--gold);
}
.dark .eyebrow {
  color: var(--gold);
}
.gold-text {
  color: var(--gold);
}

/* ============ КНОПКИ ============ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 17px 36px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--disp);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  overflow: hidden;
  transition: transform 0.35s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold-soft);
  transform: translateX(-101%);
  transition: transform 0.5s var(--ease);
}
.btn:hover::before {
  transform: translateX(0);
}
.btn span {
  position: relative;
  z-index: 1;
}
.btn:hover {
  transform: translateY(-3px);
}
.btn--ghost {
  background: transparent;
  color: var(--light);
  border: 1px solid rgba(244, 239, 228, 0.35);
}
.btn--ghost::before {
  background: var(--gold);
}
.btn--ghost:hover {
  color: var(--ink);
  border-color: var(--gold);
}
.btn--dark {
  background: var(--ink);
  color: var(--light);
}
.btn--dark::before {
  background: var(--gold);
}
.btn--dark:hover {
  color: var(--ink);
}

/* ============ PRELOADER ============ */
#pre {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.7s ease,
    visibility 0.7s;
}
#pre.hide {
  opacity: 0;
  visibility: hidden;
}
#pre .mark {
  font-family: var(--disp);
  font-weight: 900;
  font-size: 3.4rem;
  color: var(--gold);
  letter-spacing: 0.02em;
}
#pre .mark sup {
  font-size: 1.1rem;
  color: var(--muted);
  font-weight: 600;
}
#pre .bar {
  width: 180px;
  height: 2px;
  background: rgba(244, 239, 228, 0.12);
  overflow: hidden;
}
#pre .bar i {
  display: block;
  height: 100%;
  width: 40%;
  background: var(--gold);
  animation: prebar 1.1s ease-in-out infinite alternate;
}
@keyframes prebar {
  from {
    transform: translateX(-60%);
  }
  to {
    transform: translateX(320%);
  }
}

/* ============ ШАПКА ============ */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 22px 0;
  transition:
    background 0.4s ease,
    padding 0.4s ease,
    box-shadow 0.4s ease;
}
header.scrolled {
  background: rgba(14, 13, 11, 0.94);
  backdrop-filter: blur(12px);
  padding: 13px 0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}
.header-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo {
  font-family: var(--disp);
  font-weight: 900;
  font-size: 1.3rem;
  color: #fff;
  letter-spacing: 0.01em;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.logo b {
  color: var(--gold);
  font-size: 1.5rem;
}
.logo small {
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav-desktop {
  display: flex;
  gap: 34px;
}
.nav-desktop a {
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--light);
  position: relative;
  padding: 4px 0;
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav-desktop a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.head-phone {
  font-family: var(--disp);
  font-weight: 700;
  color: var(--gold);
  font-size: 0.95rem;
  white-space: nowrap;
}
.head-phone:hover {
  color: var(--gold-soft);
}
@media (max-width: 1100px) {
  .nav-desktop,
  .head-phone {
    display: none;
  }
}

/* ---- Бургер ---- */
.burger {
  display: none;
  width: 46px;
  height: 46px;
  background: transparent;
  border: 1px solid rgba(244, 239, 228, 0.28);
  border-radius: 50%;
  position: relative;
  z-index: 810;
  transition:
    border-color 0.3s,
    background 0.3s;
}
.burger:hover {
  border-color: var(--gold);
}
.burger span {
  position: absolute;
  left: 13px;
  width: 20px;
  height: 2px;
  background: #fff;
  transition:
    transform 0.45s var(--ease),
    opacity 0.3s,
    top 0.45s var(--ease),
    background 0.3s;
}
.burger span:nth-child(1) {
  top: 17px;
}
.burger span:nth-child(2) {
  top: 22px;
}
.burger span:nth-child(3) {
  top: 27px;
}
body.menu-open .burger span {
  background: var(--gold);
}
body.menu-open .burger span:nth-child(1) {
  top: 22px;
  transform: rotate(45deg);
}
body.menu-open .burger span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}
body.menu-open .burger span:nth-child(3) {
  top: 22px;
  transform: rotate(-45deg);
}
@media (max-width: 1100px) {
  .burger {
    display: block;
  }
}
/* ============ БУРГЕР ПОВЕРХ МОБИЛЬНОГО МЕНЮ ============ */
body.menu-open header {
  z-index: 106;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

body.menu-open .burger {
  border-color: var(--gold);
  background: rgba(14, 13, 11, 0.35);
}

/* ---- Мобильное полноэкранное меню ---- */
.m-menu {
  position: fixed;
  inset: 0;
  z-index: 105;
  background: var(--ink);
  background-image: radial-gradient(
    120% 90% at 85% 0%,
    rgba(227, 167, 46, 0.14),
    transparent 55%
  );
  clip-path: circle(0px at calc(100% - 46px) 46px);
  transition: clip-path 0.75s cubic-bezier(0.77, 0, 0.18, 1);
  display: flex;
  flex-direction: column;
  pointer-events: none;
  overflow-y: auto;
}
body.menu-open .m-menu {
  clip-path: circle(160% at calc(100% - 46px) 46px);
  pointer-events: auto;
}
.m-menu__nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px 8% 30px;
  gap: 4px;
}
.m-menu__nav a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 13px 0;
  font-family: var(--disp);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.7rem, 7.5vw, 2.8rem);
  color: var(--light);
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.5s ease,
    transform 0.6s var(--ease),
    color 0.3s;
  transition-delay: 0s;
  border-bottom: 1px solid rgba(244, 239, 228, 0.08);
}
body.menu-open .m-menu__nav a {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(0.28s + var(--i) * 0.07s);
}
.m-menu__nav a i {
  font-style: normal;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.2em;
}
.m-menu__nav a:hover {
  color: var(--gold);
}
.m-menu__foot {
  padding: 24px 8% 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.5s ease,
    transform 0.6s var(--ease);
  transition-delay: 0s;
}
body.menu-open .m-menu__foot {
  opacity: 1;
  transform: none;
  transition-delay: 0.62s;
}
.m-menu__foot a.phone {
  font-family: var(--disp);
  font-weight: 700;
  color: var(--gold);
  font-size: 1.15rem;
}
.m-menu__foot .city {
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.1em;
}
body.menu-open {
  overflow: hidden;
}
@media (min-width: 1101px) {
  .m-menu {
    display: none;
  }
}

/* ============ АНИМАЦИИ ПОЯВЛЕНИЯ ============ */
[data-rv] {
  opacity: 0;
  transform: translateY(46px);
  transition:
    opacity 0.9s ease,
    transform 1s var(--ease);
  transition-delay: var(--d, 0s);
}
[data-rv="left"] {
  transform: translateX(-60px);
}
[data-rv="right"] {
  transform: translateX(60px);
}
[data-rv="zoom"] {
  transform: scale(0.9);
}
[data-rv].in {
  opacity: 1;
  transform: none;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 120svh;
  background: var(--ink);
  color: var(--light);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 130px 0 90px;
}
.hero__bg {
  position: absolute;
  inset: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.42) saturate(0.9);
  animation: kenburns 22s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from {
    transform: scale(1) translate(0, 0);
  }
  to {
    transform: scale(1.14) translate(-1.5%, 2%);
  }
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(14, 13, 11, 0.92) 0%,
    rgba(14, 13, 11, 0.55) 55%,
    rgba(14, 13, 11, 0.25) 100%
  );
}
.hero__in {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 60px;
  align-items: center;
  width: min(1200px, 92%);
  margin-inline: auto;
}
.hero__eyebrow {
  margin-bottom: 26px;
}
.hero__title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}
.hero__title .line span {
  display: inline-block;
  transform: translateY(115%);
  animation: lineup 1s var(--ease) forwards;
}
.hero__title .line:nth-child(2) span {
  animation-delay: 0.14s;
}
.hero__title .line:nth-child(3) span {
  animation-delay: 0.28s;
  color: var(--gold);
}
@keyframes lineup {
  to {
    transform: translateY(0);
  }
}
.hero__text {
  max-width: 520px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 1.08rem;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.55s forwards;
}
.hero__cta {
  margin-top: 38px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.75s forwards;
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.hero__stats {
  display: flex;
  gap: 44px;
  margin-top: 56px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.95s forwards;
}
.hero__stats .num {
  font-family: var(--disp);
  font-weight: 800;
  font-size: 2.3rem;
  color: var(--gold);
}
.hero__stats .lbl {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
/* Портрет справа */
.hero__card {
  position: relative;
  opacity: 0;
  animation: fadeUp 1.1s ease 0.5s forwards;
}
.hero__card .frame {
  position: relative;
  border: 1px solid var(--line-d);
  padding: 14px;
  background: rgba(22, 20, 16, 0.55);
  backdrop-filter: blur(4px);
}
.hero__card .frame::before {
  content: "";
  position: absolute;
  top: -16px;
  right: -16px;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(227, 167, 46, 0.35);
  z-index: -1;
}
.hero__card img {
  width: 100%;
  height: clamp(340px, 46vh, 480px);
  object-fit: cover;
  filter: contrast(1.05);
}
.hero__badge {
  position: absolute;
  left: -26px;
  bottom: 34px;
  background: var(--gold);
  color: var(--ink);
  padding: 14px 22px;
  font-family: var(--disp);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  animation: floaty 5s ease-in-out infinite;
}
.hero__badge small {
  display: block;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  opacity: 0.75;
}
@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__scroll i {
  width: 1px;
  height: 52px;
  background: rgba(244, 239, 228, 0.2);
  position: relative;
  overflow: hidden;
  display: block;
}
.hero__scroll i::after {
  content: "";
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--gold);
  animation: scrolldown 2s ease-in-out infinite;
}
@keyframes scrolldown {
  to {
    top: 110%;
  }
}
@media (max-width: 900px) {
  .hero__in {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .hero__card {
    max-width: 340px;
  }
  .hero {
    padding-top: 110px;
  }
}

/* ============ БЕГУЩАЯ СТРОКА ============ */
.marquee {
  background: var(--gold);
  overflow: hidden;
  padding: 16px 0;
  border-block: 3px solid var(--ink);
}
.marquee__track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marq 26s linear infinite;
}
.marquee:hover .marquee__track {
  animation-play-state: paused;
}
.marquee span {
  font-family: var(--disp);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  color: var(--ink);
  white-space: nowrap;
  padding: 0 26px;
  display: flex;
  align-items: center;
  gap: 26px;
}
.marquee span::after {
  content: "◆";
  font-size: 0.6rem;
}
@keyframes marq {
  to {
    transform: translateX(-50%);
  }
}

/* ============ ОБО МНЕ ============ */
.about {
  padding: 120px 0;
  background: var(--paper);
}
.about__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.about__photo {
  position: sticky;
  top: 110px;
}
.about__photo .wrap {
  position: relative;
}
.about__photo .wrap::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 22px;
  width: 100%;
  height: 100%;
  background: var(--gold);
  z-index: 0;
  transition: transform 0.5s var(--ease);
}
.about__photo:hover .wrap::before {
  transform: translate(8px, 8px);
}
.about__photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 560px;
  object-fit: cover;
  transition: filter 0.5s;
}
.about__photo:hover img {
  filter: brightness(1.04);
}
.about__tag {
  position: absolute;
  z-index: 2;
  top: 24px;
  left: -18px;
  background: var(--ink);
  color: var(--light);
  padding: 12px 20px;
  font-family: var(--disp);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.about__tag b {
  color: var(--gold);
}
.about__body .h-lg {
  margin: 18px 0 24px;
}
.about__body p {
  color: var(--text);
  margin-bottom: 16px;
}
.about__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 32px 0;
}
.about__facts li {
  background: #fff;
  border: 1px solid var(--line-l);
  padding: 18px 20px;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s;
}
.about__facts li:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(14, 13, 11, 0.1);
}
.about__facts li::before {
  content: "—";
  color: var(--gold);
  font-weight: 800;
}
.sign {
  font-family: var(--disp);
  font-weight: 700;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--gold-deep);
  margin-top: 26px;
}
.sign small {
  display: block;
  font-family: var(--body);
  font-weight: 500;
  font-style: normal;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  margin-top: 4px;
}
@media (max-width: 900px) {
  .about__grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .about__photo {
    position: relative;
    top: 0;
    max-width: 420px;
  }
  .about__photo img {
    height: 440px;
  }
  .about__facts {
    grid-template-columns: 1fr;
  }
}

/* ============ УСЛУГИ ============ */
.services {
  padding: 120px 0;
  background: var(--ink);
  color: var(--light);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}
.section-head p {
  max-width: 420px;
  color: var(--muted);
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.svc {
  position: relative;
  background: var(--ink-2);
  border: 1px solid var(--line-d);
  padding: 44px 34px 38px;
  overflow: hidden;
  transition:
    transform 0.45s var(--ease),
    border-color 0.45s,
    background 0.45s;
}
.svc::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.svc:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  background: var(--ink-3);
}
.svc:hover::after {
  transform: scaleX(1);
}
.svc__num {
  position: absolute;
  top: 14px;
  right: 20px;
  font-family: var(--disp);
  font-weight: 900;
  font-size: 3.6rem;
  color: transparent;
  -webkit-text-stroke: 1px rgba(227, 167, 46, 0.4);
  transition: color 0.45s;
}
.svc:hover .svc__num {
  color: rgba(227, 167, 46, 0.22);
}
.svc__ico {
  width: 52px;
  height: 52px;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  color: var(--gold);
  transition:
    background 0.4s,
    color 0.4s;
}
.svc:hover .svc__ico {
  background: var(--gold);
  color: var(--ink);
}
.svc h3 {
  font-family: var(--disp);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.svc p {
  color: var(--muted);
  font-size: 0.97rem;
}
.svc__more {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  transform: translateX(-12px);
  transition: 0.45s var(--ease);
}
.svc:hover .svc__more {
  opacity: 1;
  transform: none;
}
@media (max-width: 980px) {
  .svc-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 620px) {
  .svc-grid {
    grid-template-columns: 1fr;
  }
}

/* ============ ПОЧЕМУ ЭТО РАБОТАЕТ (АККОРДЕОН) ============ */
.why {
  padding: 120px 0;
  background: var(--paper);
}
.why__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 70px;
  align-items: start;
}
.why__left {
  position: sticky;
  top: 110px;
}
.why__left .h-lg {
  margin: 18px 0 22px;
}
.why__left p {
  color: var(--text);
  max-width: 420px;
}
.why__left .btn {
  margin-top: 34px;
}
.acc {
  border-top: 1px solid var(--line-l);
}
.acc__item {
  border-bottom: 1px solid var(--line-l);
}
.acc__btn {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 26px 4px;
  text-align: left;
  transition: padding 0.3s;
}
.acc__btn:hover {
  padding-left: 12px;
}
.acc__btn i {
  font-style: normal;
  font-family: var(--disp);
  font-weight: 800;
  color: var(--gold-deep);
  font-size: 0.95rem;
}
.acc__btn h3 {
  flex: 1;
  font-family: var(--disp);
  font-weight: 700;
  font-size: 1.12rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.acc__btn .plus {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-l);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  transition:
    transform 0.5s var(--ease),
    background 0.4s,
    border-color 0.4s;
}
.acc__btn .plus::before,
.acc__btn .plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--ink);
  transition: background 0.3s;
}
.acc__btn .plus::before {
  width: 12px;
  height: 2px;
  transform: translate(-50%, -50%);
}
.acc__btn .plus::after {
  width: 2px;
  height: 12px;
  transform: translate(-50%, -50%);
}
.acc__item.open .plus {
  transform: rotate(225deg);
  background: var(--gold);
  border-color: var(--gold);
}
.acc__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s var(--ease);
}
.acc__body p {
  padding: 0 4px 28px 60px;
  color: var(--text);
}
.acc__item.open .acc__btn h3 {
  color: var(--gold-deep);
}
@media (max-width: 900px) {
  .why__grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .why__left {
    position: relative;
    top: 0;
  }
  .acc__body p {
    padding-left: 4px;
  }
}

/* ============ КАЛЬКУЛЯТОР ИПОТЕКИ ============ */
.calc {
  padding: 120px 0;
  background: var(--ink-2);
  color: var(--light);
  position: relative;
  overflow: hidden;
}
.calc::before {
  content: "₽";
  position: absolute;
  right: -4%;
  top: -12%;
  font-family: var(--disp);
  font-weight: 900;
  font-size: 34rem;
  color: transparent;
  -webkit-text-stroke: 1px rgba(227, 167, 46, 0.12);
  line-height: 1;
  pointer-events: none;
}
.calc__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.calc__note {
  margin-top: 26px;
  color: var(--muted);
  font-size: 0.9rem;
  display: flex;
  gap: 12px;
}
.calc__note::before {
  content: "✦";
  color: var(--gold);
}
.field {
  margin-bottom: 34px;
}
.field label {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.field output {
  font-family: var(--disp);
  font-weight: 800;
  color: var(--gold);
  font-size: 1.05rem;
  letter-spacing: 0;
  text-transform: none;
}
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  outline: none;
  background: linear-gradient(
    to right,
    var(--gold) var(--p, 50%),
    rgba(244, 239, 228, 0.16) var(--p, 50%)
  );
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  border: 5px solid var(--ink-2);
  box-shadow: 0 0 0 1px var(--gold);
  cursor: grab;
  transition: transform 0.2s;
}
input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.25);
}
input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  border: 5px solid var(--ink-2);
  box-shadow: 0 0 0 1px var(--gold);
  cursor: grab;
}
.prog-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.prog-row label {
  cursor: pointer;
  margin-bottom: 0;
}
.prog-row input {
  display: none;
}
.prog-row span {
  display: inline-block;
  padding: 11px 20px;
  border: 1px solid rgba(244, 239, 228, 0.25);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  transition: 0.3s;
}
.prog-row input:checked + span {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
  font-weight: 700;
}
.prog-row span:hover {
  border-color: var(--gold);
}
.calc__result {
  background: var(--ink-3);
  border: 1px solid var(--line-d);
  padding: 44px;
}
.calc__result .lbl {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.calc__result .pay {
  font-family: var(--disp);
  font-weight: 900;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  color: var(--gold);
  margin: 10px 0 30px;
  transition: transform 0.2s;
}
.calc__result .pay.pulse {
  transform: scale(1.035);
}
.calc__mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  border-top: 1px solid var(--line-d);
  padding-top: 26px;
}
.calc__mini .val {
  font-family: var(--disp);
  font-weight: 700;
  font-size: 1.2rem;
  margin-top: 4px;
}
.calc__cta {
  margin-top: 32px;
}
@media (max-width: 900px) {
  .calc__grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

/* ============ ЭТАПЫ РАБОТЫ ============ */
.steps {
  padding: 120px 0;
  background: var(--paper);
}
.steps__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-top: 20px;
  position: relative;
}
.steps__row::before {
  content: "";
  position: absolute;
  top: 33px;
  left: 4%;
  right: 4%;
  height: 1px;
  background: var(--line-l);
}
.steps__row::after {
  content: "";
  position: absolute;
  top: 33px;
  left: 4%;
  width: 92%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.8s var(--ease) 0.3s;
}
.steps__row.in::after {
  transform: scaleX(1);
}
.step {
  position: relative;
  padding-top: 70px;
}
.step b {
  position: absolute;
  top: 0;
  left: 0;
  width: 66px;
  height: 66px;
  background: var(--paper);
  border: 1px solid var(--line-l);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--disp);
  font-weight: 800;
  font-size: 1.1rem;
  transition: 0.45s var(--ease);
  z-index: 35;
}
.step:hover b {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-6px);
}
.step h3 {
  font-family: var(--disp);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1rem;
  margin-bottom: 10px;
}
.step p {
  color: var(--text);
  font-size: 0.95rem;
}
@media (max-width: 820px) {
  .steps__row {
    grid-template-columns: 1fr;
    gap: 38px;
    padding-left: 14px;
  }
  .steps__row::before,
  .steps__row::after {
    left: 33px;
    top: 4%;
    bottom: 4%;
    width: 1px;
    height: 92%;
    right: auto;
  }
  .steps__row::after {
    transform: scaleY(0);
    transform-origin: top;
  }
  .steps__row.in::after {
    transform: scaleY(1);
  }
  .step {
    padding-top: 0;
    padding-left: 100px;
  }
}

/* ============ ОТЗЫВЫ ============ */
.reviews {
  padding: 120px 0;
  background: var(--ink);
  color: var(--light);
  overflow: hidden;
}
.rev-nav {
  display: flex;
  gap: 12px;
}
.rev-nav button {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(244, 239, 228, 0.3);
  background: transparent;
  color: var(--light);
  font-size: 1.1rem;
  transition: 0.35s;
}
.rev-nav button:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
  transform: translateY(-3px);
}
.rev-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 20px;
  scrollbar-width: none;
}
.rev-track::-webkit-scrollbar {
  display: none;
}
.rev {
  flex: 0 0 min(420px, 86vw);
  scroll-snap-align: start;
  background: var(--ink-2);
  border: 1px solid var(--line-d);
  padding: 38px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition:
    transform 0.4s var(--ease),
    border-color 0.4s;
}
.rev:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
}
.rev .q {
  font-family: var(--disp);
  font-weight: 900;
  font-size: 3rem;
  color: var(--gold);
  line-height: 0.6;
  height: 26px;
}
.rev p {
  color: var(--muted);
  font-size: 0.98rem;
  flex: 1;
}
.rev__who {
  display: flex;
  gap: 14px;
  align-items: center;
  border-top: 1px solid var(--line-d);
  padding-top: 20px;
}
.rev__who img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}
.rev__who b {
  font-family: var(--disp);
  font-size: 0.95rem;
  display: block;
}
.rev__who span {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.stars {
  color: var(--gold);
  letter-spacing: 3px;
  font-size: 0.85rem;
}

/* ============ КОНТАКТЫ / ФОРМА ============ */
.contact {
  padding: 120px 0;
  background: var(--paper);
}
.contact__panel {
  background: var(--ink);
  color: var(--light);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}
.contact__left {
  padding: 64px 56px;
  background: linear-gradient(160deg, var(--gold), var(--gold-deep));
  color: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 34px;
}
.contact__left .h-md {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  text-transform: uppercase;
  font-weight: 800;
}
.contact__left p {
  max-width: 340px;
  font-weight: 500;
}
.contact__left .phone {
  font-family: var(--disp);
  font-weight: 800;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
}
.contact__left .addr {
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  font-weight: 600;
  opacity: 0.8;
}
.contact__form {
  padding: 64px 56px;
}
.contact__form h3 {
  font-family: var(--disp);
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 8px;
  font-size: 1.3rem;
}
.contact__form .sub {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 30px;
}
.f-field {
  margin-bottom: 18px;
}
.f-field input,
.f-field textarea {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(244, 239, 228, 0.22);
  color: var(--light);
  padding: 15px 18px;
  font-family: var(--body);
  font-size: 1rem;
  transition:
    border-color 0.3s,
    background 0.3s;
  resize: vertical;
}
.f-field input:focus,
.f-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(227, 167, 46, 0.06);
}
.f-field input::placeholder,
.f-field textarea::placeholder {
  color: rgba(244, 239, 228, 0.4);
}
.form-ok {
  display: none;
  margin-top: 20px;
  padding: 16px 20px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-weight: 600;
}
.form-ok.show {
  display: block;
  animation: fadeUp 0.6s var(--ease);
}
@media (max-width: 860px) {
  .contact__panel {
    grid-template-columns: 1fr;
  }
  .contact__left,
  .contact__form {
    padding: 44px 28px;
  }
}

/* ============ ФУТЕР ============ */
footer {
  background: var(--ink);
  color: var(--muted);
  padding: 70px 0 34px;
  border-top: 1px solid var(--line-d);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}
footer h4 {
  font-family: var(--disp);
  font-weight: 700;
  color: var(--light);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  margin-bottom: 20px;
}
footer li {
  margin-bottom: 12px;
}
footer a:hover {
  color: var(--gold);
}
.socials {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.socials a {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(244, 239, 228, 0.22);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  transition: 0.6s var(--ease);
}
.socials a svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}
.socials a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
  transform: translateY(-10px);
}
.footer__bottom {
  border-top: 1px solid rgba(244, 239, 228, 0.1);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}
@media (max-width: 760px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-rv],
  .hero__text,
  .hero__cta,
  .hero__stats,
  .hero__card,
  .m-menu__nav a,
  .m-menu__foot {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero__title .line span {
    transform: none;
  }
  .steps__row::after {
    transform: scaleX(1);
  }
}

.btn-up {
  position: fixed;
  background-color: var(--gold);
  right: 20px;
  bottom: 0px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 130px;
  height: 50px;
  z-index: 800;
}

.btn-up::before {
  content: "";
  width: 130px;
  height: 40px;
  background: transparent no-repeat center center;
  background-size: 100% 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23fff' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M7.646 4.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8 5.707l-5.646 5.647a.5.5 0 0 1-.708-.708l6-6z'/%3E%3C/svg%3E");
}

.btn-up_hide {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .btn-up:hover {
    background-color: var(--line-d);
  }
}

/* ============ ВАЛИДАЦИЯ ФОРМЫ И ЮР. ССЫЛКИ ============ */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.field-error {
  display: none;
  margin-top: 6px;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: #ff7a7a;
}
.f-field.invalid .field-error {
  display: block;
}

.f-field.invalid input,
.f-field.invalid textarea {
  border-color: #e05252;
  background: rgba(224, 82, 82, 0.08);
  animation: fieldShake 0.3s;
}
@keyframes fieldShake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}

.form-legal {
  margin-top: 18px;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--muted);
}
.form-legal a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.form-legal a:hover {
  color: var(--gold-soft);
}

.form-ok.form-err {
  border-color: #e05252;
  color: #ff7a7a;
}

.btn.is-loading {
  opacity: 0.6;
  pointer-events: none;
}
