
:root {
  --bg: #0b0b0d;
  --ivory: #f4f2ec;
  --ink: var(--ivory);
  --ink-soft: rgba(244, 242, 236, 0.62);
  --ink-faint: rgba(244, 242, 236, 0.4);
  --gold: #c9a96a;
  --gold-bright: #e6c98c;
  --gold-dim: rgba(201, 169, 106, 0.35);
  --brand: #575fcf;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-bg-strong: rgba(255, 255, 255, 0.07);
  --glass-border: rgba(255, 255, 255, 0.12);
  --radius-lg: 26px;
  --radius-md: 18px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  letter-spacing: -0.01em;
}

::selection {
  background: var(--gold-dim);
  color: #fff;
}



.preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 34px;
  background: var(--ivory);
  transition: opacity 0.7s var(--ease-out), visibility 0.7s;
}

.preloader.is-done {
  opacity: 0;
  visibility: hidden;
}

.preloader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  animation: preloader-in 1s var(--ease-out) both;
}

@keyframes preloader-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.preloader__logo {
  display: block;
  width: min(240px, 60vw);
  height: auto;
  animation: logo-breathe 2.6s ease-in-out infinite;
}

@keyframes logo-breathe {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.55; }
}

.preloader__bar {
  width: min(240px, 60vw);
  height: 2px;
  background: rgba(10, 10, 10, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.preloader__fill {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  border-radius: 2px;
  transition: width 0.2s ease-out;
}

.preloader__percent {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: rgba(10, 10, 10, 0.45);
  font-variant-numeric: tabular-nums;
}

.preloader__wordmark {
  position: absolute;
  bottom: 26px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.35);
}


.is-loading body { overflow: hidden; }

.is-ready .topbar,
.is-ready .hero {
  animation: rise-in 0.9s var(--ease-out) both;
}

.is-ready .hero { animation-delay: 0.1s; }

@keyframes rise-in {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}



.backdrop {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 0%, #17171b 0%, var(--bg) 60%, #070708 100%);
}

.vein {
  position: absolute;
  width: 140vmax;
  height: 300px;
  left: -20vmax;
  top: 18%;
  background:
    radial-gradient(60% 40% at 30% 50%, var(--gold-dim), transparent 70%),
    radial-gradient(50% 35% at 70% 60%, rgba(87, 95, 207, 0.16), transparent 70%);
  filter: blur(70px);
  transform: rotate(-7deg);
  animation: veinsway 26s ease-in-out infinite alternate;
}

.vein--2 {
  top: 68%;
  transform: rotate(5deg);
  animation-delay: -13s;
  opacity: 0.7;
}

@keyframes veinsway {
  from { transform: rotate(-7deg) translateX(-4vmax); opacity: 0.75; }
  to   { transform: rotate(-4deg) translateX(4vmax); opacity: 1; }
}

.watermark {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  font-size: clamp(180px, 34vw, 460px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 242, 236, 0.05);
  text-transform: uppercase;
  user-select: none;
  white-space: nowrap;
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}


.glass {
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(28px) saturate(140%);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
}

.glass-dark {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 20px 50px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}



.topbar {
  position: sticky;
  top: 12px;
  z-index: 10;
  max-width: 1060px;
  margin: 12px auto 0;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-radius: 999px;
}

.topbar__logo {
  display: block;
  height: 26px;
  width: auto;
  filter: invert(1);      /* оригинальная форма, белый цвет */
}

.topbar__right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.topbar__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.topbar__phone {
  font-size: 16px;
  font-weight: 700;
  color: var(--gold-bright);
  text-decoration: none;
}

.topbar__phone:hover {
  color: #fff;
}


.stage {
  max-width: 1060px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 64px) clamp(20px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  gap: clamp(44px, 6vw, 84px);
}


.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

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



.hero {
  text-align: center;
  padding-top: clamp(16px, 4vw, 56px);
}

.hero__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
  padding-bottom: 14px;
  background-image: linear-gradient(var(--gold-dim), var(--gold-dim));
  background-size: 56px 1px;
  background-position: center bottom;
  background-repeat: no-repeat;
}

.hero__title {
  font-size: clamp(38px, 7.4vw, 80px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.04;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.gold {
  background: linear-gradient(100deg, var(--gold) 20%, #f4e5c0 40%, var(--gold-bright) 55%, var(--gold) 80%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: goldsheen 6s ease-in-out infinite;
}

@keyframes goldsheen {
  0%, 100% { background-position: 0% 0; }
  50%      { background-position: 100% 0; }
}

.hero__text {
  max-width: 620px;
  margin: 0 auto 34px;
  font-size: clamp(16px, 2.1vw, 19px);
  line-height: 1.6;
  color: var(--ink-soft);
}

.hero__actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: clamp(40px, 6vw, 64px);
}

/* ---------- Кнопки ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 34px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.2s ease, color 0.2s ease;
}

.btn--gold {
  color: #131313;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 60%, #a9894e);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 12px 30px rgba(201, 169, 106, 0.28);
}

.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 16px 40px rgba(201, 169, 106, 0.42);
}

.btn--glass {
  color: var(--ink);
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn--glass:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn:active {
  transform: scale(0.97);
}

/* ---------- Статистика ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  max-width: 760px;
  margin: 0 auto;
}

.stat {
  background: linear-gradient(180deg, #1a1a1f, #101013);
  padding: 26px 12px;
  text-align: center;
}

.stat dt {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--gold-bright);
  font-variant-numeric: tabular-nums;
}

.stat dd {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}



.marquee {
  overflow: hidden;
  border-top: 1px solid var(--gold-dim);
  border-bottom: 1px solid var(--gold-dim);
  padding: 14px 0;
  background: rgba(201, 169, 106, 0.04);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee__track span {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
  padding-right: 24px;
}

.marquee__track i {
  font-style: normal;
  color: var(--ink-faint);
  padding: 0 12px;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}



.showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(14px, 2vw, 22px);
}

.showcase__item {
  padding: clamp(26px, 3vw, 36px);
  text-align: center;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.showcase__item:hover {
  transform: translateY(-5px);
  border-color: var(--gold-dim);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 24px 60px rgba(0, 0, 0, 0.55);
}

.showcase__num {
  position: absolute;
  top: 14px;
  left: 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold-dim);
}

.showcase__glyph {
  font-size: clamp(30px, 3.6vw, 40px);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px var(--ink-soft);
  margin-bottom: 12px;
  transition: color 0.3s ease, -webkit-text-stroke-color 0.3s ease;
}

.showcase__item:hover .showcase__glyph {
  color: var(--gold-bright);
  -webkit-text-stroke-color: var(--gold-bright);
}

.showcase__item p {
  font-size: 14px;
  color: var(--ink-faint);
}



.banner {
  text-align: center;
  padding: clamp(44px, 7vw, 92px) clamp(24px, 5vw, 64px);
  position: relative;
  overflow: hidden;
}

.banner::before {
  content: "";
  position: absolute;
  inset: -50% -25%;
  background:
    radial-gradient(45% 60% at 35% 55%, rgba(201, 169, 106, 0.16), transparent 70%),
    radial-gradient(40% 55% at 65% 45%, rgba(87, 95, 207, 0.14), transparent 70%);
  animation: glowdrift 20s ease-in-out infinite alternate;
}

@keyframes glowdrift {
  from { transform: translate3d(-2%, -2%, 0) scale(1); }
  to   { transform: translate3d(2%, 2%, 0) scale(1.12); }
}

.banner > * {
  position: relative;
}

.banner__eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.banner__title {
  font-size: clamp(28px, 5vw, 54px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 16px;
}

.banner__text {
  max-width: 580px;
  margin: 0 auto;
  font-size: clamp(15px, 2vw, 18px);
  color: var(--ink-soft);
}


.contacts {
  padding: clamp(28px, 4vw, 48px);
}

.contacts__title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.contacts__subtitle {
  color: var(--ink-soft);
  margin-bottom: 26px;
  font-size: 16px;
}

.contacts__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.contact:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--gold-dim);
}

.contact--wide {
  grid-column: 1 / -1;
}

.contact__label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
  margin-bottom: 2px;
}

.contact__value {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}

a.contact__value:hover {
  color: var(--gold-bright);
}

.contact__chevron {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--ink-faint);
  transition: transform 0.2s ease, color 0.2s ease;
}

.contact:hover .contact__chevron {
  transform: translateX(3px);
  color: var(--gold-bright);
}



.footer {
  text-align: center;
  color: var(--ink-faint);
  font-size: 13px;
  padding-bottom: 34px;
  display: grid;
  gap: 14px;
  justify-items: center;
}

.footer__plate {
  width: 100%;
  max-width: 560px;
  background: var(--ivory);
  border-radius: var(--radius-lg);
  padding: clamp(30px, 5vw, 52px) clamp(20px, 4vw, 40px);
  display: grid;
  justify-items: center;
  gap: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.footer__logo {
  display: block;
  width: min(220px, 56vw);
  height: auto;
}

.footer__tagline {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.55);
}

.footer__wink {
  font-weight: 700;
  color: var(--ink-soft);
}



@media (max-width: 640px) {
  .topbar {
    top: 8px;
  }

  .topbar__status {
    display: none;
  }

  .hero__actions .btn {
    width: 100%;
  }

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

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

  .preloader__wordmark {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vein,
  .gold,
  .banner::before,
  .dot,
  .marquee__track,
  .preloader__logo {
    animation: none;
  }

  .marquee__track span:last-child {
    display: none;
  }

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