:root {
  --bg: #0f1114;
  --bg-2: #171a1f;
  --card: #1e2228;
  --text: #f3f0ea;
  --muted: #a7a7a7;
  --accent: #d6a85d;
  --accent-2: #c89b5a;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --header-height: 74px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(20px, 4vw, 54px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 17, 20, 0.72);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(15, 17, 20, 0.94);
  border-color: var(--line);
}

.brand {
  display: inline-grid;
  grid-template-columns: 42px auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand__name,
.footer__logo span {
  color: var(--text);
  font-size: 20px;
  font-weight: 780;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}

.brand__mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
  object-position: center;
  border-radius: 6px;
}

.brand__caption {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
  overflow-wrap: normal;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  color: rgba(243, 240, 234, 0.82);
  font-size: 14px;
  white-space: nowrap;
}

.site-nav a {
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent);
}

.nav-telegram {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  gap: 4px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: 8px;
  cursor: pointer;
}

.menu-toggle span:not(.visually-hidden) {
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.section,
.proof {
  padding: clamp(70px, 9vw, 128px) 0;
}

.section-alt {
  background: var(--bg-2);
}

.section-dark {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero {
  min-height: 92svh;
  display: grid;
  align-items: center;
  padding-top: var(--header-height);
}

.hero__media,
.hero__media img,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__media img {
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(15, 17, 20, 0.94) 0%, rgba(15, 17, 20, 0.74) 42%, rgba(15, 17, 20, 0.3) 100%),
    linear-gradient(0deg, rgba(15, 17, 20, 0.92) 0%, rgba(15, 17, 20, 0) 34%);
}

.hero__media {
  z-index: -2;
}

.hero__content {
  max-width: 1000px;
  padding: clamp(86px, 14vw, 150px) 0 clamp(92px, 12vw, 140px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 740;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: manual;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 980px;
  font-size: clamp(48px, 7.2vw, 86px);
  font-weight: 820;
}

h1 span {
  display: block;
}

h2 {
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 800;
  text-wrap: balance;
}

h3 {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 760;
  text-wrap: balance;
}

p {
  margin: 0;
  color: var(--muted);
}

.hero__lead {
  max-width: 660px;
  margin-top: 24px;
  color: var(--text);
  font-size: clamp(20px, 2.5vw, 30px);
  line-height: 1.3;
  text-wrap: balance;
}

.hero__text {
  max-width: 590px;
  margin-top: 18px;
  font-size: clamp(16px, 1.7vw, 19px);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 740;
  line-height: 1.2;
  overflow-wrap: normal;
  word-break: keep-all;
  text-align: center;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--accent);
  color: #17120b;
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: #e2b76f;
}

.btn--ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: rgba(214, 168, 93, 0.64);
  color: var(--accent);
}

.proof {
  padding-top: 24px;
  padding-bottom: 24px;
  background: #111419;
  border-block: 1px solid var(--line);
}

.proof__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.proof__item {
  min-height: 112px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 24px;
  background: #111419;
}

.proof__item span,
.step span,
.price-card__label {
  color: var(--accent);
  font-size: 12px;
  font-weight: 780;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.proof__item strong {
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.2;
}

.split,
.faq-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
}

.section-copy {
  max-width: 620px;
}

.section-copy p,
.section-head p {
  margin-top: 18px;
  font-size: 17px;
}

.section-copy p + p {
  margin-top: 14px;
}

.image-panel {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.image-panel img {
  aspect-ratio: 4 / 5;
  height: 100%;
  object-fit: cover;
}

.image-panel figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(15, 17, 20, 0.74);
  color: rgba(243, 240, 234, 0.88);
  font-size: 13px;
  backdrop-filter: blur(10px);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(30px, 5vw, 56px);
}

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

.gallery-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  color: var(--text);
  cursor: zoom-in;
}

.gallery-card img {
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  transition: transform 420ms ease, filter 420ms ease;
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 17, 20, 0.78), rgba(15, 17, 20, 0.04) 55%);
}

.gallery-card span {
  position: absolute;
  z-index: 1;
  left: 18px;
  bottom: 16px;
  right: 18px;
  font-size: 18px;
  font-weight: 740;
  text-align: left;
  text-wrap: balance;
}

.gallery-card:hover img,
.gallery-card:focus-visible img {
  transform: scale(1.04);
  filter: contrast(1.08);
}

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

.info-card,
.step,
.price-card,
.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  min-width: 0;
}

.info-card {
  min-height: 190px;
  padding: 28px;
}

.info-card h3,
.step h3,
.texture-card h3,
.price-card h3,
.faq-item summary {
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
}

.info-card p,
.step p,
.price-card p {
  margin-top: 14px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.step {
  min-height: 260px;
  padding: 24px;
}

.step h3 {
  margin-top: 28px;
  font-size: 22px;
}

.texture-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.texture-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
}

.texture-card img {
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.texture-card div {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 26px;
}

.texture-card h3 {
  font-size: 22px;
}

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

.price-card {
  min-height: 284px;
  padding: 28px;
}

.price-card--accent {
  border-color: rgba(214, 168, 93, 0.5);
  background: linear-gradient(180deg, rgba(214, 168, 93, 0.13), rgba(30, 34, 40, 1) 54%);
}

.price-card h3 {
  margin-top: 18px;
  font-size: clamp(28px, 3vw, 38px);
  text-wrap: balance;
}

.price-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 20px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.faq-wrap {
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  padding: 0 22px;
}

.faq-item summary {
  position: relative;
  padding: 20px 34px 20px 0;
  color: var(--text);
  font-size: 18px;
  font-weight: 720;
  list-style: none;
  cursor: pointer;
  text-wrap: balance;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  top: 18px;
  right: 0;
  color: var(--accent);
  font-size: 24px;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 0 0 22px;
}

.final-cta {
  min-height: 560px;
  display: grid;
  align-items: center;
  padding: clamp(80px, 10vw, 130px) 0;
}

.final-cta > img,
.final-cta__shade {
  position: absolute;
  inset: 0;
}

.final-cta > img {
  z-index: -2;
  height: 100%;
  object-fit: cover;
}

.final-cta__shade {
  z-index: -1;
  background: linear-gradient(90deg, rgba(15, 17, 20, 0.96), rgba(15, 17, 20, 0.72) 48%, rgba(15, 17, 20, 0.48));
}

.final-cta__content {
  max-width: 760px;
}

.final-cta__content p:not(.eyebrow) {
  max-width: 640px;
  margin: 22px 0 32px;
  font-size: 18px;
}

.footer {
  padding: 44px 0;
  border-top: 1px solid var(--line);
  background: #0b0d10;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px 54px;
  align-items: start;
}

.footer__logo {
  display: inline-grid;
  grid-template-columns: 44px auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer__logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  object-position: center;
  border-radius: 6px;
}

.footer p,
.footer span,
.footer a {
  color: var(--muted);
  font-size: 14px;
  overflow-wrap: normal;
  word-break: normal;
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--accent);
}

.footer__contacts {
  display: grid;
  gap: 8px;
}

.footer__note {
  grid-column: 1 / -1;
  max-width: 760px;
}

.floating-telegram {
  position: fixed;
  z-index: 45;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(214, 168, 93, 0.42);
  border-radius: 50%;
  background: var(--accent);
  color: #17120b;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.38);
  transition: transform 180ms ease, background 180ms ease;
}

.floating-telegram:hover,
.floating-telegram:focus-visible {
  transform: translateY(-3px) scale(1.03);
  background: #e2b76f;
}

.floating-telegram svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.lightbox {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(4, 5, 7, 0.86);
  backdrop-filter: blur(14px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox figure {
  width: min(1040px, 100%);
  margin: 0;
}

.lightbox img {
  max-height: 78svh;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
}

.lightbox figcaption {
  margin-top: 12px;
  color: rgba(243, 240, 234, 0.88);
  text-align: center;
}

.lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1120px) {
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step {
    min-height: auto;
  }
}

@media (max-width: 980px) {
  h1 {
    font-size: clamp(44px, 9vw, 72px);
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    left: 16px;
    right: 16px;
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(15, 17, 20, 0.98);
    box-shadow: var(--shadow);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 14px;
    border-radius: 6px;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: rgba(255, 255, 255, 0.05);
  }

  .menu-toggle {
    display: grid;
  }

  .split,
  .faq-wrap {
    grid-template-columns: 1fr;
  }

  .gallery-grid,
  .cards-grid,
  .price-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline {
    grid-template-columns: 1fr;
  }

  .step {
    min-height: auto;
  }

  .step h3 {
    margin-top: 18px;
  }

  .texture-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 68px;
  }

  .container {
    width: min(100% - 28px, 1160px);
  }

  .site-header {
    padding-inline: 14px;
  }

  .brand__name {
    font-size: 18px;
  }

  .brand__caption {
    max-width: 160px;
  }

  .brand {
    grid-template-columns: 38px auto;
    gap: 8px;
  }

  .brand__mark {
    width: 38px;
    height: 38px;
  }

  .hero {
    min-height: 88svh;
  }

  .hero__overlay {
    background:
      linear-gradient(90deg, rgba(15, 17, 20, 0.96), rgba(15, 17, 20, 0.74)),
      linear-gradient(0deg, rgba(15, 17, 20, 0.94), rgba(15, 17, 20, 0) 48%);
  }

  h1 {
    font-size: clamp(38px, 10.5vw, 52px);
    line-height: 1.08;
  }

  h2 {
    font-size: clamp(31px, 10vw, 42px);
  }

  .actions,
  .price-note {
    display: grid;
  }

  .btn {
    width: 100%;
    min-height: 52px;
  }

  .proof__grid,
  .gallery-grid,
  .cards-grid,
  .price-grid {
    grid-template-columns: 1fr;
  }

  .proof__item {
    min-height: 92px;
  }

  .gallery-card,
  .gallery-card img {
    min-height: 240px;
  }

  .info-card,
  .price-card {
    min-height: auto;
  }

  .texture-card {
    grid-template-columns: 1fr;
  }

  .texture-card img {
    min-height: 210px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .floating-telegram {
    width: 54px;
    height: 54px;
  }
}
