:root {
  --bg: #101113;
  --bg-2: #181a1d;
  --card: #222429;
  --line: rgba(255,255,255,.12);
  --text: #f7f4ec;
  --muted: #b9b2a5;
  --gold: #d7a647;
  --gold-2: #f0cc76;
  --dark-gold: #87621f;
  --paper: #f5f1e8;
  --ink: #191919;
  --shadow: 0 24px 80px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: linear-gradient(180deg, rgba(16,17,19,.94), rgba(16,17,19,.68));
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.brand img { width: 96px; height: 24px; object-fit: contain; filter: brightness(1.4); }
.brand span { color: var(--gold-2); }

.nav { display: flex; justify-content: center; gap: 26px; color: var(--muted); font-weight: 700; font-size: 14px; }
.nav a:hover, .phone:hover { color: var(--gold-2); }
.phone { font-weight: 900; white-space: nowrap; }

.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: rgba(255,255,255,.04); border-radius: 50%; }
.burger span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--gold-2); }

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 110px 0 56px;
}

.hero__media {
  position: absolute;
  inset: 0;
  background-image: url("assets/hero-exterior.jpg");
  background-size: cover;
  background-position: center right;
  transform: scale(1.02);
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 56%, rgba(215,166,71,.20), transparent 28%),
    linear-gradient(90deg, rgba(16,17,19,.98) 0%, rgba(16,17,19,.82) 38%, rgba(16,17,19,.25) 68%, rgba(16,17,19,.72) 100%),
    linear-gradient(180deg, rgba(16,17,19,.14), rgba(16,17,19,.88));
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 44px;
  align-items: end;
}

.hero__content { max-width: 660px; padding-top: 80px; }

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 18px;
  font-size: clamp(54px, 9vw, 126px);
  line-height: .82;
  text-transform: uppercase;
  letter-spacing: -.07em;
}

h2 { font-size: clamp(32px, 5vw, 64px); line-height: .95; letter-spacing: -.045em; }
h3 { font-size: 28px; line-height: 1.05; margin-bottom: 12px; }

.lead {
  max-width: 540px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.btn {
  border: 0;
  min-height: 54px;
  padding: 0 24px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn--gold { color: #17130a; background: linear-gradient(135deg, var(--gold-2), var(--gold)); box-shadow: 0 16px 38px rgba(215,166,71,.24); }
.btn--ghost { border: 1px solid rgba(255,255,255,.2); color: var(--text); background: rgba(255,255,255,.06); }
.btn--full { width: 100%; }

.offer-card {
  padding: 28px;
  border: 1px solid rgba(240,204,118,.32);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(34,36,41,.95), rgba(20,21,24,.92));
  box-shadow: var(--shadow);
}

.offer-card__tag {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  color: #16120a;
  background: var(--gold-2);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.offer-card h2 { margin: 18px 0 12px; font-size: 38px; }
.muted { color: var(--muted); line-height: 1.55; }
.offer-card__price { margin: 26px 0; font-size: 36px; font-weight: 950; color: var(--gold-2); }

.stats {
  position: relative;
  z-index: 2;
  margin-top: -1px;
  background: #0c0d0f;
  border-block: 1px solid var(--line);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 30px 24px;
  border-left: 1px solid var(--line);
}

.stat:last-child { border-right: 1px solid var(--line); }
.stat strong { display: block; font-size: clamp(32px, 4vw, 54px); letter-spacing: -.05em; color: var(--gold-2); }
.stat span { color: var(--muted); font-weight: 700; }

.section { padding: clamp(72px, 9vw, 122px) 0; background: var(--bg); }
.section--light { background: var(--paper); color: var(--ink); }
.section--light .muted, .section--light p { color: #5e5a52; }
.section--dark { background: linear-gradient(180deg, #151619, #090a0b); }

.two-col {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.two-col--reverse { grid-template-columns: 1.15fr .85fr; }

.copy p:not(.eyebrow) { font-size: 18px; line-height: 1.75; color: var(--muted); }
.section--light .copy p:not(.eyebrow) { color: #4d493f; }

.link-button {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--gold);
  font-weight: 900;
  cursor: pointer;
}

.image-stack {
  display: grid;
  grid-template-columns: 1.1fr .72fr;
  gap: 18px;
  align-items: end;
}

.image-stack img, .panel-image img, .feature img, .gallery img {
  border-radius: 26px;
  box-shadow: var(--shadow);
  background: #111317;
}

.image-stack img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.image-stack img:last-child {
  margin-bottom: 0;
  border: 1px solid var(--line);
}

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.section-head h2 { max-width: 760px; }

.spec-table {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(145deg, #1a1c20, #111215);
}

.spec-table div {
  min-height: 132px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.spec-table div:nth-child(3n) { border-right: 0; }
.spec-table span { display: block; margin-bottom: 12px; color: var(--muted); }
.spec-table b { font-size: 22px; color: var(--text); }

.panel-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
}

.ticks {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.ticks li {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.04);
}

.ticks li::before { content: "✓"; color: var(--gold-2); margin-right: 10px; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--card);
}

.feature img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}

.feature div { padding: 24px; }
.feature p:not(.eyebrow) { color: var(--muted); line-height: 1.6; }

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.cta {
  padding: 78px 0;
  background:
    linear-gradient(120deg, rgba(215,166,71,.24), transparent 55%),
    linear-gradient(145deg, #171819, #252016);
  border-top: 1px solid rgba(240,204,118,.22);
}

.cta__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 34px;
}

.cta h2 { margin-bottom: 12px; }
.cta p:not(.eyebrow) { color: var(--muted); font-size: 18px; }

.footer {
  padding: 60px max(24px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: 1.25fr repeat(4, 1fr);
  gap: 34px;
  background: #090a0b;
  border-top: 4px solid var(--gold);
  color: var(--muted);
  font-size: 14px;
}

.footer a,
.footer button {
  display: block;
  margin: 8px 0;
  color: var(--muted);
  text-align: left;
}

.footer p {
  margin: 0;
  color: #8e9298;
  line-height: 1.6;
}

.footer__brand img {
  width: 180px;
  margin-bottom: 18px;
}

.footer__label {
  display: block;
  margin-bottom: 14px;
  color: var(--gold-2);
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
}

.footer__legal {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  padding: 18px;
}

.modal.is-open { display: grid; place-items: center; }
.modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.72); backdrop-filter: blur(8px); }

.modal__box {
  position: relative;
  width: min(460px, 100%);
  padding: 30px;
  border: 1px solid rgba(240,204,118,.24);
  border-radius: 28px;
  background: #17181b;
  box-shadow: var(--shadow);
}

.modal__box h2 { margin-bottom: 10px; font-size: 38px; }
.modal__box label { display: grid; gap: 10px; margin: 18px 0; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }
.modal__box input {
  width: 100%;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #0f1012;
  color: var(--text);
  outline: none;
}

.modal__box input:focus { border-color: var(--gold-2); }
.modal__box small { display: block; margin-top: 14px; color: var(--muted); line-height: 1.5; }
.modal__close { position: absolute; top: 14px; right: 16px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.08); color: var(--text); font-size: 28px; cursor: pointer; }

.field-error {
  display: none;
  color: #ffdf91;
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: normal;
  text-transform: none;
  font-weight: 700;
}

label.is-invalid input {
  border-color: #ffdf91;
  box-shadow: 0 0 0 3px rgba(240,204,118,.12);
}

label.is-invalid .field-error {
  display: block;
}

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

body.menu-open { overflow: hidden; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: auto 1fr auto; }
  .nav {
    position: fixed;
    inset: 76px 16px auto;
    display: none;
    padding: 18px;
    border-radius: 22px;
    background: rgba(18,19,22,.98);
    border: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
  }
  .nav.is-open { display: flex; }
  .phone { justify-self: end; font-size: 0; }
  .phone::after { content: "Позвонить"; font-size: 13px; color: var(--gold-2); }
  .burger { display: block; }
  .hero__grid, .two-col, .two-col--reverse, .cta__grid { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1fr 1fr; }
  .footer__brand, .footer__legal { grid-column: 1 / -1; }
  .hero__grid { align-items: start; }
  .offer-card { max-width: 460px; }
  .stats__grid, .spec-table, .cards, .gallery { grid-template-columns: 1fr; }
  .stat, .stat:last-child { border-right: 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .spec-table div, .spec-table div:nth-child(3n) { border-right: 0; }
  .image-stack { grid-template-columns: 1fr; }
  .image-stack img:last-child { margin: 0; border: 0; }
}

@media (max-width: 560px) {
  .site-header { padding: 14px 16px; }
  .brand img { width: 82px; }
  .hero { min-height: auto; padding-top: 98px; }
  .hero__media { opacity: .55; background-position: 70% center; }
  .hero__shade { background: linear-gradient(180deg, rgba(16,17,19,.82), rgba(16,17,19,.95)); }
  h1 { font-size: 58px; letter-spacing: -.08em; }
  .offer-card, .modal__box { border-radius: 22px; padding: 22px; }
  .hero__actions .btn { width: 100%; }
  .footer,
  .footer__legal { grid-template-columns: 1fr; }
  .footer__brand,
  .footer__legal { grid-column: auto; }
}

.nav .is-active {
  color: var(--gold-2);
}

.breadcrumb {
  margin: 0 0 22px;
  color: rgba(247,244,236,.68);
  font-weight: 800;
}

.breadcrumb a {
  color: var(--gold-2);
}

.page-hero {
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: end;
  padding: 150px 0 76px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16,17,19,.96), rgba(16,17,19,.72), rgba(16,17,19,.36)),
    linear-gradient(0deg, rgba(16,17,19,.92), transparent 45%);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 900px;
  margin: 0 0 20px;
  font-size: clamp(48px, 8vw, 112px);
  line-height: .86;
  text-transform: uppercase;
  letter-spacing: -.065em;
}

.page-hero--price { background-image: url("assets/hero-split.jpg"); }
.page-hero--specs { background-image: url("assets/hero-exterior.jpg"); }
.page-hero--equipment { background-image: url("assets/interior-1.jpg"); }
.page-hero--gallery { background-image: url("assets/hero-alt.jpg"); }

.price-layout {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
  align-items: stretch;
}

.price-main,
.price-points {
  padding: clamp(26px, 4vw, 52px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(145deg, #1b1d21, #101114);
  box-shadow: var(--shadow);
}

.price-main h2 {
  margin: 20px 0 12px;
  color: var(--gold-2);
}

.price-main p {
  max-width: 650px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

figure {
  margin: 0;
}

.media-card {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: #17191d;
  box-shadow: var(--shadow);
}

.media-card img {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #101216;
}

.media-card figcaption,
.panel-image figcaption {
  position: absolute;
  inset: auto 14px 14px;
  padding: 12px 14px;
  border: 1px solid rgba(240,204,118,.26);
  border-radius: 16px;
  background: rgba(9,10,11,.74);
  color: #fff3d0;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  backdrop-filter: blur(10px);
}

.panel-image {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.photo-grid .media-card img {
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.cards--wide {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .price-layout,
  .photo-grid,
  .cards--wide {
    grid-template-columns: 1fr;
  }

  .photo-grid .media-card img,
  .media-card img,
  .gallery img {
    aspect-ratio: 4 / 3;
  }
}
