:root {
  --bg: #050505;
  --bg-soft: #111111;
  --panel: rgba(16, 16, 16, 0.82);
  --line: rgba(195, 150, 70, 0.25);
  --gold: #d0a24a;
  --gold-soft: #f0d698;
  --text: #f4efe4;
  --muted: rgba(244, 239, 228, 0.68);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(208, 162, 74, 0.18), transparent 34%),
    linear-gradient(135deg, #080808 0%, #111111 25%, #1a1a1a 55%, #0b0b0b 100%);
  font-family: "Source Serif 4", serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 90%);
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 64px;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding: 14px 18px;
  background: rgba(8, 8, 8, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.language-switcher {
  display: inline-flex;
  gap: 8px;
}

.language-button,
.topbar-contact,
.primary-link {
  border: 0;
  color: var(--text);
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.language-button {
  min-width: 48px;
  padding: 10px 12px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  font: inherit;
  letter-spacing: 0.08em;
}

.language-button:hover,
.language-button.is-active {
  color: #090909;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  border-color: rgba(255, 255, 255, 0);
}

.topbar-contact,
.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.topbar-contact:hover,
.primary-link:hover,
.contact-item:hover {
  transform: translateY(-2px);
}

.hero,
.content-card,
.stat-card,
.services,
.contact-section {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #000000;
  box-shadow: var(--shadow);
}

.hero {
  min-height: 78vh;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 18px;
  padding: clamp(44px, 8vw, 88px);
  margin-bottom: 28px;
  text-align: center;
}

.hero-logo {
  display: block;
  width: min(100%, 316px);
  height: auto;
}

.hero::after,
.content-card::after,
.services::after,
.contact-section::after {
  content: "";
  position: absolute;
  inset: auto -10% -35% auto;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(208, 162, 74, 0.14), transparent 68%);
  pointer-events: none;
}

.hero-mark,
.brand-title,
.section-tag,
.service-card h3,
.stat-value,
.contact-value,
.qr-caption,
h2 {
  font-family: inherit;
}

.hero-mark {
  font-size: clamp(8rem, 25vw, 16rem);
  line-height: 0.8;
  color: transparent;
  background: linear-gradient(180deg, #f4ddab 0%, #c5912b 45%, #f9ebb9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.eyebrow,
.section-tag,
.stat-label,
.contact-label {
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.language-button,
.topbar-contact,
.primary-link,
.service-card p,
.content-card p,
.stat-copy,
.contact-section p {
  font-family: inherit;
}

.eyebrow,
.hero-copy,
.stat-copy,
.service-card p,
.contact-section p {
  color: var(--muted);
}

.eyebrow {
  margin: 0;
  font-size: 1.05rem;
}

.brand-title {
  margin: 0;
  font-size: clamp(2.2rem, 8vw, 7rem);
  font-weight: 600;
  line-height: 0.92;
  color: #f7f0df;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.hero-copy {
  width: min(100%, 700px);
  margin: 0;
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  line-height: 1.5;
  color: rgba(244, 239, 228, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
  gap: 28px;
  margin-bottom: 28px;
}

.content-card,
.stat-card,
.services,
.contact-section {
  padding: clamp(28px, 5vw, 44px);
}

.section-tag {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--gold-soft);
  font-size: 0.9rem;
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 600;
}

.content-card p,
.stat-copy {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.65;
}

.stat-card {
  display: grid;
  align-content: center;
  gap: 12px;
  text-align: left;
}

.stat-value {
  font-size: clamp(3rem, 8vw, 5.5rem);
  color: var(--gold-soft);
}

.services {
  margin-bottom: 28px;
}

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

.service-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}

.service-card h3 {
  margin: 0 0 12px;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--gold-soft);
}

.service-card p {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.6;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  min-height: 520px;
  min-height: 0;
  aspect-ratio: 1080 / 450;
  padding: 60px clamp(28px, 5vw, 44px) 100px;
  background: url("vortr.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.contact-section > * {
  position: relative;
  z-index: 2;
}

.contact-copy {
  max-width: 100%;
  padding-top: 0;
}

.contact-mark {
  align-self: start;
  justify-self: center;
  width: min(100%, 300px);
  padding-top: 18px;
}

.contact-mark-image {
  display: block;
  width: 100%;
  height: auto;
  margin-top: -30px;
}

.contact-stage {
  display: grid;
  gap: 15px;
  align-self: start;
  padding-top: 12px;
}

.contact-top {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.contact-bottom {
  width: 100%;
}

.contact-copy h2 {
  margin-bottom: 22px;
  color: #b9925a;
  font-size: clamp(2.25rem, 3.7vw, 2rem);
  font-weight: 300;
  line-height: 1;
  text-align: center;
}

.contact-list {
  display: grid;
  gap: 15px;
  margin-top: 0;
}

.contact-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px;
  align-items: center;
  gap: 18px;
  padding: 0;
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, opacity 180ms ease;
}

.contact-line:hover {
  opacity: 0.88;
}

.contact-value {
  font-size: clamp(1.85rem, 2.55vw, 2rem);
  line-height: 1.02;
  word-break: break-word;
  color: #b9925a;
  font-weight: 300;
  text-align: right;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  color: var(--gold);
  justify-self: end;
}

.contact-icon svg {
  width: 46px;
  height: 46px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-icon-image {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.contact-icon .icon-fill {
  fill: currentColor;
  stroke: none;
}

.contact-icon .icon-cut {
  fill: none;
  stroke: #0a0a0a;
  stroke-width: 1.55;
}

.qr-card {
  display: grid;
  gap: 0;
  justify-items: start;
  align-self: start;
  padding-top: 8px;
}

.qr-link {
  display: inline-block;
  line-height: 0;
  border-radius: 10px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.qr-link:hover {
  transform: translateY(-2px);
  opacity: 0.94;
}

.qr-image {
  display: block;
  width: min(100%, 180px);
  height: auto;
  margin-left: 55px;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
  margin-top: 74px;
}

.js .reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

@media (max-width: 980px) {
  .about-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-copy h2 {
      text-align: right;
      margin-right: 66px;
  }
  

  .contact-section {
    aspect-ratio: auto;
    grid-template-columns: 140px minmax(0, 1fr);
    align-items: start;
    min-height: auto;
    gap: 18px;
    padding: 36px 24px 56px;
    background-position: left center;
  }

  .contact-mark {
    justify-self: start;
    width: min(100%, 140px);
    grid-column: 1 / -1;
  }

  .contact-stage {
    padding-top: 0;
    grid-column: 1 / -1;
  }

  .contact-top {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 14px;
  }

  .qr-card {
    justify-items: start;
    padding-top: 0;
  }

  .contact-copy {
    padding-top: 0;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 10px;
  }

  .topbar {
    top: 10px;
    flex-direction: column;
    align-items: stretch;
  }

  .language-switcher {
    justify-content: space-between;
  }

  .language-button {
    flex: 1;
  }

  .hero {
    min-height: auto;
    padding: 32px 22px 40px;
  }

  .brand-title {
    font-size: clamp(2rem, 13vw, 3.6rem);
    line-height: 0.98;
  }

  .content-card,
  .stat-card,
  .services,
  .contact-section {
    padding: 24px 20px;
  }

  .contact-section {
    aspect-ratio: auto;
    gap: 14px;
    padding: 28px 18px 44px;
    background-position: 18% center;
    background-size: cover;
  }

  .qr-image {
    width: min(100%, 112px);
    margin-left: 0 !important;
  }

  .contact-value {
    font-size: clamp(0.95rem, 4vw, 1.15rem);
  }

  .contact-line {
    grid-template-columns: minmax(0, 1fr) 34px;
    gap: 10px;
  }

  .contact-icon {
    width: 34px;
    height: 34px;
  }

  .contact-icon svg {
    width: 26px;
    height: 26px;
  }

  .contact-icon-image {
    width: 30px;
    height: 30px;
  }

  .contact-mark {
    width: min(100%, 160px);
  }

  .contact-copy h2 {
    font-size: clamp(1.15rem, 5.5vw, 1.45rem);
    margin-right: 27px;
  }

  .contact-line {
    align-items: center;
  }

  .contact-top {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
  }

  .contact-mark {
    width: min(100%, 112px);
    padding-top: 6px;
    grid-column: 1 / -1;
  }

  .contact-value {
    text-align: right;
  }
}




















/* Прелоадер - фоновая темнота */
/* Прелоадер - фоновая темнота */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0a0a0e;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  opacity: 1;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

/* Контейнер для появления из темноты */
.preloader-icon-wrapper {
  width: 220px;
  height: 220px;
  animation: appearFromDarkness 1s ease-out forwards;
}

/* 3D контейнер для перспективы */
.v-3d-container {
  width: 100%;
  height: 100%;
  perspective: 800px;
  perspective-origin: center center;
}

/* Буква V - 3D вращение по оси Y (слева направо, как вертушка) */
.v-letter {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  animation: rotate3DY 1.5s linear infinite;
  transform-style: preserve-3d;
}

/* Появление из темноты */
@keyframes appearFromDarkness {
  0% {
    opacity: 0;
    transform: scale(0.3);
    filter: blur(15px);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.7);
    filter: blur(5px);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0px);
  }
}

/* 3D вращение по оси Y (слева направо, как дверь/вертушка) */
@keyframes rotate3DY {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

/* v12.png - без изменений */
.preloader-v12 {
  max-width: 330px;
  height: auto;
}

/* Исчезновение прелоадера */
.preloader.fade-out {
  opacity: 0;
  pointer-events: none;
}













































/* Анимация для логотипа (будет активирована после прелоадера) */
.hero-logo {
  opacity: 0;
  filter: blur(18px) brightness(0.08);
}

.hero-logo.animate-logo {
  animation: heroLogoAppear 2.5s cubic-bezier(0.2, 0.9, 0.3, 1.1) forwards,
             heroLogoGlow 3s ease-in-out infinite 2.5s;
}

@keyframes heroLogoAppear {
  0% {
    opacity: 0;
    filter: blur(20px) brightness(0.05);
  }
  20% {
    opacity: 0.15;
    filter: blur(14px) brightness(0.15);
  }
  40% {
    opacity: 0.35;
    filter: blur(9px) brightness(0.35);
  }
  60% {
    opacity: 0.6;
    filter: blur(5px) brightness(0.6);
  }
  80% {
    opacity: 0.85;
    filter: blur(2px) brightness(0.85);
  }
  100% {
    opacity: 1;
    filter: blur(0) brightness(1.05) 
            drop-shadow(0 0 5px rgba(255, 200, 50, 0.5))
            drop-shadow(0 0 12px rgba(255, 80, 0, 0.35));
  }
}

@keyframes heroLogoGlow {
  0% {
    filter: blur(0) brightness(1.05) 
            drop-shadow(0 0 5px rgba(255, 200, 50, 0.5))
            drop-shadow(0 0 12px rgba(255, 80, 0, 0.35));
  }
  30% {
    filter: blur(0) brightness(1.1) 
            drop-shadow(0 0 8px rgba(255, 215, 80, 0.7))
            drop-shadow(0 0 18px rgba(255, 100, 10, 0.5));
  }
  60% {
    filter: blur(0) brightness(1.16) 
            drop-shadow(0 0 14px rgba(255, 230, 110, 0.9))
            drop-shadow(0 0 28px rgba(255, 120, 20, 0.7))
            drop-shadow(0 0 40px rgba(255, 160, 40, 0.4));
  }
  85% {
    filter: blur(0) brightness(1.1) 
            drop-shadow(0 0 8px rgba(255, 215, 80, 0.7))
            drop-shadow(0 0 18px rgba(255, 100, 10, 0.5));
  }
  100% {
    filter: blur(0) brightness(1.05) 
            drop-shadow(0 0 5px rgba(255, 200, 50, 0.5))
            drop-shadow(0 0 12px rgba(255, 80, 0, 0.35));
  }
}