:root {
  --bg: #09090a;
  --bg-soft: #101113;
  --panel: rgba(27, 28, 30, 0.68);
  --panel-strong: rgba(36, 36, 38, 0.82);
  --text: #f4efe6;
  --muted: #b9b0a2;
  --muted-2: #81796e;
  --line: rgba(222, 188, 128, 0.18);
  --gold: #d7ad64;
  --gold-soft: #f0cf91;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 8px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 16%, rgba(215, 173, 100, 0.12), transparent 24rem),
    radial-gradient(circle at 82% 34%, rgba(120, 122, 124, 0.11), transparent 26rem),
    linear-gradient(135deg, #070708 0%, #111214 48%, #080808 100%);
  font-family:
    Inter, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-shell {
  position: relative;
  overflow: hidden;
}

.site-shell::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent 82%);
}

.header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 30;
  width: calc(100% - 40px);
  max-width: var(--container);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 0 18px;
  background: rgba(12, 12, 13, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    top 0.25s ease;
}

.header.is-scrolled {
  top: 8px;
  background: rgba(7, 7, 8, 0.88);
  border-color: rgba(215, 173, 100, 0.16);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  flex: 0 0 auto;
}

.brand__logo {
  width: 220px;
  height: 56px;
  object-fit: contain;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.brand:hover .brand__logo,
.brand:focus-visible .brand__logo {
  opacity: 0.92;
  transform: translateY(-1px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.9rem;
}

.nav a {
  position: relative;
  padding: 8px 0;
  transition: color 0.2s ease;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s ease;
}

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

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__phone {
  color: var(--gold-soft);
  font-weight: 600;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--text);
  transition:
    transform 0.22s ease,
    opacity 0.22s ease;
}

.menu-toggle span + span {
  margin-top: 6px;
}

.menu-open .menu-toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-open .menu-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.section {
  width: calc(100% - 40px);
  max-width: var(--container);
  margin: 0 auto;
  padding: 96px 0;
  scroll-margin-top: 110px;
}

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 52fr) minmax(0, 48fr);
  align-items: center;
  gap: clamp(40px, 5.5vw, 80px);
  padding-top: 128px;
  padding-bottom: 72px;
}

.hero__content {
  min-width: 0;
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1,
h2 {
  max-width: 100%;
  font-family:
    Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}

h1 {
  max-width: 700px;
  margin-bottom: 22px;
  font-size: clamp(2.45rem, 4.35vw, 4.35rem);
  overflow-wrap: break-word;
}

h1 span {
  display: block;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.15rem, 4vw, 4.2rem);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.08rem;
  font-weight: 650;
}

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

.hero__lead {
  max-width: 590px;
  margin-bottom: 34px;
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  position: relative;
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  overflow: hidden;
  color: #15110b;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(215, 173, 100, 0.18);
  font-weight: 700;
  white-space: nowrap;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  box-shadow: 0 18px 46px rgba(215, 173, 100, 0.26);
  filter: brightness(1.04);
  transform: translateY(-2px);
}

.btn--small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.9rem;
}

.btn--ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(215, 173, 100, 0.24);
  box-shadow: none;
}

.hero__visual {
  position: relative;
  min-width: 0;
  height: clamp(440px, 58svh, 640px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.hero__visual::before,
.hero__visual::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  pointer-events: none;
}

.hero__visual::before {
  background:
    linear-gradient(90deg, rgba(9, 9, 10, 0.56), rgba(9, 9, 10, 0.12) 46%, rgba(9, 9, 10, 0.28)),
    linear-gradient(0deg, rgba(9, 9, 10, 0.48), transparent 46%),
    radial-gradient(circle at 18% 50%, rgba(215, 173, 100, 0.08), transparent 42%);
}

.hero__visual::after {
  border: 1px solid rgba(215, 173, 100, 0.18);
  border-radius: inherit;
}

.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 1s ease;
}

.hero__visual:hover img {
  transform: scale(1.035);
}

.glass {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero__note {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  max-width: 260px;
  padding: 18px;
  border-radius: var(--radius);
}

.hero__note span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.82rem;
}

.hero__note strong {
  display: block;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.28;
}

.section__heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section__heading p:last-child {
  max-width: 680px;
  margin-bottom: 0;
  font-size: 1.04rem;
}

.cards {
  display: grid;
  gap: 16px;
}

.cards--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  min-height: 260px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  transition:
    transform 0.24s ease,
    border-color 0.24s ease,
    background 0.24s ease;
}

.card:hover {
  border-color: rgba(215, 173, 100, 0.28);
  background:
    linear-gradient(180deg, rgba(215, 173, 100, 0.09), rgba(255, 255, 255, 0.025)),
    var(--panel);
  transform: translateY(-6px);
}

.card__number {
  display: block;
  margin-bottom: 56px;
  color: var(--gold);
  font-family:
    Georgia, "Times New Roman", serif;
  font-size: 2.2rem;
}

.card p,
.step p {
  margin-bottom: 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1fr);
  gap: 48px;
  align-items: start;
}

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

.space-list span,
.trust__points span {
  display: flex;
  min-height: 58px;
  align-items: center;
  padding: 14px 18px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}

.space-list span:hover,
.trust__points span:hover {
  border-color: rgba(215, 173, 100, 0.26);
  transform: translateY(-3px);
}

.materials {
  position: relative;
  overflow: hidden;
}

.materials::before {
  position: absolute;
  top: 130px;
  right: 0;
  width: 52vw;
  height: 52vw;
  max-width: 620px;
  max-height: 620px;
  content: "";
  background: radial-gradient(circle, rgba(215, 173, 100, 0.1), transparent 64%);
  pointer-events: none;
  transform: translateX(38%);
}

.material-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.material-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 26px;
  padding: 22px;
  overflow: hidden;
  background: var(--panel-strong);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  transition:
    transform 0.24s ease,
    border-color 0.24s ease;
}

.material-card span {
  display: block;
  height: 96px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(0, 0, 0, 0.08)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 8px),
    #202123;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.material-card:nth-child(2) span {
  background:
    radial-gradient(circle at 24% 28%, rgba(240, 207, 145, 0.24), transparent 12%),
    radial-gradient(circle at 72% 64%, rgba(255, 255, 255, 0.12), transparent 15%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0 2px, transparent 2px 9px),
    #1a1b1d;
}

.material-card:nth-child(3) span {
  background:
    linear-gradient(90deg, rgba(215, 173, 100, 0.14), transparent),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.11) 0 2px, transparent 2px 11px),
    #24211e;
}

.material-card:nth-child(4) span {
  background:
    linear-gradient(135deg, rgba(215, 173, 100, 0.2), transparent 45%),
    linear-gradient(45deg, rgba(255, 255, 255, 0.08), transparent),
    #18191b;
}

.material-card:hover {
  border-color: rgba(215, 173, 100, 0.28);
  transform: translateY(-6px);
}

.material-card h3 {
  margin-bottom: 0;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.step {
  position: relative;
  min-height: 230px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
}

.step::before {
  position: absolute;
  top: 45px;
  right: -17px;
  width: 18px;
  height: 1px;
  content: "";
  background: var(--line);
}

.step:last-child::before {
  display: none;
}

.step span {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 58px;
  place-items: center;
  color: var(--gold-soft);
  border: 1px solid rgba(215, 173, 100, 0.28);
  border-radius: 50%;
  font-family:
    Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.trust__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 38px;
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--radius);
}

.trust__inner h2 {
  max-width: 760px;
}

.trust__points {
  display: grid;
  gap: 12px;
  align-self: end;
}

.contacts {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.66fr);
  gap: 36px;
  align-items: center;
  padding-bottom: 120px;
}

.contacts__content p {
  max-width: 560px;
  font-size: 1.08rem;
}

.contacts__panel {
  display: grid;
  gap: 10px;
  padding: 28px;
  border-radius: var(--radius);
}

.contacts__panel span {
  color: var(--gold-soft);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contacts__panel p {
  margin-bottom: 18px;
}

.contacts__phone {
  display: inline-block;
  margin-bottom: 18px;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 700;
}

.contacts__panel .btn {
  margin-top: 4px;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s ease,
    transform 0.7s 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;
    animation-iteration-count: 1 !important;
  }

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

@media (max-width: 1080px) {
  .header__phone {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 53fr) minmax(0, 47fr);
    gap: 40px;
  }

  .hero__visual {
    height: clamp(380px, 50svh, 520px);
  }

  .cards--four,
  .material-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step::before {
    display: none;
  }
}

@media (max-width: 820px) {
  .header {
    top: 10px;
    height: 64px;
    padding: 0 12px 0 14px;
  }

  .header,
  .section {
    width: calc(100% - 28px);
  }

  .brand__logo {
    width: 188px;
    height: 48px;
  }

  .nav {
    position: fixed;
    top: 82px;
    right: 14px;
    left: 14px;
    display: grid;
    gap: 4px;
    padding: 12px;
    background: rgba(10, 10, 11, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition:
      opacity 0.2s ease,
      transform 0.2s ease;
  }

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

  .nav a {
    padding: 14px 12px;
    border-radius: var(--radius);
  }

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

  .nav a::after {
    display: none;
  }

  .header__actions .btn {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .section {
    padding: 72px 0;
    scroll-margin-top: 92px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 112px;
    padding-bottom: 48px;
    gap: 28px;
  }

  h1 {
    max-width: 650px;
    font-size: clamp(2.25rem, 7.2vw, 3.35rem);
    line-height: 1.04;
  }

  h2 {
    font-size: clamp(2.1rem, 10vw, 3.5rem);
  }

  .hero__visual {
    height: clamp(280px, 36svh, 330px);
  }

  .split,
  .trust__inner,
  .contacts {
    grid-template-columns: 1fr;
  }

  .trust__points {
    align-self: auto;
  }
}

@media (max-width: 620px) {
  .cards--four,
  .material-grid,
  .timeline,
  .space-list {
    grid-template-columns: 1fr;
  }

  .hero__buttons {
    display: grid;
  }

  .eyebrow {
    line-height: 1.45;
    overflow-wrap: anywhere;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2rem, 9vw, 2.32rem);
  }

  .btn {
    width: 100%;
  }

  .hero__visual {
    height: 280px;
  }

  .hero__note {
    right: 14px;
    bottom: 14px;
    left: 14px;
    max-width: none;
  }

  .card,
  .step,
  .material-card {
    min-height: auto;
  }

  .card__number,
  .step span {
    margin-bottom: 34px;
  }

  .contacts__panel {
    padding: 22px;
  }
}

@media (max-width: 420px) {
  .header,
  .section {
    width: calc(100% - 22px);
  }

  .hero {
    padding-top: 96px;
    gap: 20px;
  }

  .brand__logo {
    width: 172px;
    height: 44px;
  }

  .hero__lead,
  .contacts__content p,
  .section__heading p:last-child {
    font-size: 1rem;
  }

  h1 {
    font-size: clamp(1.82rem, 9vw, 2.08rem);
  }

  .hero__lead {
    margin-bottom: 24px;
  }

  .btn {
    min-height: 48px;
    padding-right: 16px;
    padding-left: 16px;
    font-size: 0.95rem;
  }

  .hero__visual {
    height: 220px;
  }
}
