:root {
  --bg: #0a0a0a;
  --bg-card: #141414;
  --fg: #ffffff;
  --muted: #b0b0b0;
  --gold: #c9a961;
  --gold-light: #e8d49a;
  --gold-mid: #cdaa52;
  --gold-dark: #9c7d35;
  --border: #333333;
  --radius: .5rem;
  --font-heading: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
  --container: 1280px;
  --header-h: 76px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  margin: 0;
  line-height: 1.1;
}

p { margin: 0; }

.scroll {
  display: block;
  height: 0;
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.gold-text {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-mid), var(--gold-dark));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold-mid);
}

.lux-panel {
  background: rgba(255, 255, 255, .02);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(205, 170, 82, .25);
}

.lux-card {
  background: rgba(255, 255, 255, .016);
  border: 1px solid rgba(255, 255, 255, .06);
  transition: background .4s ease, border-color .4s ease, transform .4s ease;
}

.lux-card:hover {
  background: rgba(205, 170, 82, .06);
  border-color: rgba(205, 170, 82, .45);
  transform: translateY(-4px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 32px;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .02em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: opacity .3s ease, box-shadow .3s ease, background .3s ease, border-color .3s ease, color .3s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-mid) 45%, var(--gold-dark));
  box-shadow: inset 0 1px rgba(255, 255, 255, .32), 0 4px 14px rgba(205, 170, 82, .24);
  color: #000;
  border: none;
}

.btn-gold:hover {
  opacity: .92;
  box-shadow: 0 0 28px rgba(201, 169, 97, .55);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: rgba(201, 169, 97, .4);
}

.btn-outline:hover {
  background: rgba(201, 169, 97, .1);
  border-color: var(--gold);
  box-shadow: 0 0 24px rgba(201, 169, 97, .22);
}

.btn-sm {
  min-height: 40px;
  padding: 0 24px;
  font-size: 14px;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.section-label::before {
  content: "";
  width: 32px;
  height: 2px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-mid) 45%, var(--gold-dark));
  flex: 0 0 32px;
}

.section-label span {
  color: var(--gold);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
}

.section-head { margin-bottom: 64px; }

.section { padding: 96px 0; position: relative; }

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s cubic-bezier(.22, 1, .36, 1), transform .8s cubic-bezier(.22, 1, .36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background .5s ease, border-color .5s ease, backdrop-filter .5s ease;
  border-bottom: 1px solid transparent;
}

.header.is-scrolled {
  background: rgba(10, 10, 10, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(255, 255, 255, .08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .08em;
}

.logo__sub {
  color: rgba(255, 255, 255, .5);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color .3s ease, text-shadow .3s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 0;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-mid) 45%, var(--gold-dark));
  transition: width .3s ease;
}

.nav a:hover {
  color: var(--gold);
  text-shadow: 0 0 18px rgba(232, 212, 154, .85), 0 0 34px rgba(205, 170, 82, .55);
}

.nav a:hover::after { width: 100%; }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--fg);
}

.burger span {
  position: relative;
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: background .2s ease;
}

.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform .3s ease;
}

.burger span::before { top: -7px; }
.burger span::after { top: 7px; }

.burger.is-open span { background: transparent; }
.burger.is-open span::before { transform: translateY(7px) rotate(45deg); }
.burger.is-open span::after { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  z-index: 49;
  background: rgba(10, 10, 10, .97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  padding: 24px;
  display: none;
}

.mobile-nav.is-open { display: block; }

.mobile-nav ul {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav a {
  display: block;
  padding: 12px 0;
  font-size: 18px;
  font-family: var(--font-heading);
  color: var(--muted);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.mobile-nav .btn { width: 100%; }

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10, 10, 10, .78), rgba(10, 10, 10, .25) 55%, transparent);
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, var(--bg));
}

.hero__inner {
  position: relative;
  z-index: 10;
  width: 100%;
  padding-top: 140px;
  padding-bottom: 120px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero__title {
  font-size: clamp(38px, 6vw, 56px);
  font-weight: 700;
  line-height: .95;
}

.hero__panel {
  border-radius: var(--radius);
  padding: 32px;
  max-width: 576px;
}

.hero__lead {
  font-size: 16px;
  color: rgba(255, 255, 255, .8);
  line-height: 1.65;
  margin-bottom: 20px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 28px;
}

.hero__meta i {
  font-style: normal;
  color: rgba(201, 169, 97, .5);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero__visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.hero__glow {
  position: absolute;
  inset: 0;
  background: rgba(201, 169, 97, .2);
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid rgba(201, 169, 97, .6);
  background: rgba(10, 10, 10, .4);
  backdrop-filter: blur(4px);
  color: var(--gold);
  animation: hero-bob 2.4s ease-in-out infinite;
}

.hero__scroll:hover { background: rgba(201, 169, 97, .12); }

@keyframes hero-bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

.cube-stage {
  width: 320px;
  height: 320px;
  perspective: 900px;
  position: relative;
}

.cube {
  position: absolute;
  inset: 60px;
  transform-style: preserve-3d;
  animation: cube-spin 26s linear infinite;
  will-change: transform;
}

.cube__face {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(232, 212, 154, .92);
  background: rgba(205, 170, 82, .07);
  box-shadow: inset 0 0 42px rgba(205, 170, 82, .16), 0 0 22px rgba(205, 170, 82, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 64px;
  letter-spacing: .06em;
  color: var(--gold-light);
  text-shadow: 0 0 24px rgba(232, 212, 154, .55);
  backface-visibility: visible;
}

.cube__face--front { transform: translateZ(100px); }
.cube__face--back { transform: rotateY(180deg) translateZ(100px); }
.cube__face--right { transform: rotateY(90deg) translateZ(100px); }
.cube__face--left { transform: rotateY(-90deg) translateZ(100px); }
.cube__face--top { transform: rotateX(90deg) translateZ(100px); }
.cube__face--bottom { transform: rotateX(-90deg) translateZ(100px); }

@keyframes cube-spin {
  from { transform: rotateX(-14deg) rotateY(0deg); }
  to { transform: rotateX(-14deg) rotateY(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .cube { animation: none; transform: rotateX(-14deg) rotateY(-28deg); }
  .hero__scroll { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  border-radius: var(--radius);
  padding: 32px;
  height: 100%;
}

.service-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: rgba(201, 169, 97, .1);
  border: 1px solid rgba(201, 169, 97, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--gold);
}

.service-card__icon img,
.service-card__icon svg {
  width: 24px;
  height: 24px;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  display: block;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}

.project-card:hover img { transform: scale(1.1); }

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg), rgba(10, 10, 10, .5) 50%, transparent);
  pointer-events: none;
}

.project-card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 32px;
  z-index: 2;
}

.project-card__tag {
  display: inline-block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(201, 169, 97, .2);
  background: rgba(255, 255, 255, .02);
  backdrop-filter: blur(12px);
  margin-bottom: 12px;
}

.project-card__body h3 {
  font-size: 22px;
  font-weight: 700;
  margin-top: 8px;
}

.project-card__meta {
  color: var(--muted);
  font-size: 14px;
  margin-top: 4px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.step {
  position: relative;
  border-radius: var(--radius);
  padding: 28px 24px;
  height: 100%;
}

.step__num {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 16px;
  display: block;
}

.step h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
}

.step p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.about {
  position: relative;
  overflow: hidden;
}

.about__bg {
  position: absolute;
  inset: 0;
}

.about__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .08;
}

.about__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--bg), rgba(10, 10, 10, .9), var(--bg));
}

.about__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about__text p {
  color: var(--muted);
  line-height: 1.75;
}

.about__text p + p { margin-top: 20px; }

.about__lead { font-size: 18px; }

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.stat {
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.stat__value {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 8px;
}

.stat__label {
  color: var(--muted);
  font-size: 14px;
}

.advantage {
  display: flex;
  gap: 16px;
  border-radius: var(--radius);
  padding: 24px;
  height: 100%;
}

.advantage__icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: rgba(201, 169, 97, .1);
  border: 1px solid rgba(201, 169, 97, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.advantage h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.advantage p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.cta {
  position: relative;
  border-radius: var(--radius);
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  top: -60%;
  right: -10%;
  width: 420px;
  height: 420px;
  background: rgba(201, 169, 97, .16);
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.cta__text { position: relative; max-width: 640px; }

.cta__text h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  margin-bottom: 12px;
}

.cta__text p {
  color: var(--muted);
  line-height: 1.65;
}

.cta__actions {
  position: relative;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, .1);
  background: rgba(20, 20, 20, .4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.footer__inner {
  padding: 64px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.footer__logo {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
}

.footer__logo small {
  font-size: 18px;
  color: var(--muted);
  font-weight: 500;
  margin-left: 8px;
}

.footer__about {
  color: var(--muted);
  font-size: 14px;
  margin-top: 16px;
  line-height: 1.65;
}

.footer h4 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .18em;
  margin-bottom: 24px;
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__contacts > * {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
  transition: color .3s ease;
}

.footer__contacts a:hover { color: var(--gold); }

.footer__contacts svg {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: rgba(201, 169, 97, .6);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__links a {
  color: var(--muted);
  font-size: 14px;
  transition: color .3s ease;
}

.footer__links a:hover { color: var(--gold); }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 48px;
  padding: 32px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__bottom p {
  color: rgba(176, 176, 176, .6);
  font-size: 12px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal.is-open { display: flex; }

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .8);
  backdrop-filter: blur(4px);
}

.modal__box {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius);
  background: rgba(20, 20, 20, .94);
  padding: 32px;
  animation: modal-in .25s cubic-bezier(.22, 1, .36, 1);
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(12px) scale(.97); }
  to { opacity: 1; transform: none; }
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  transition: color .3s ease;
}

.modal__close:hover { color: var(--gold); }

.modal__title {
  font-size: 24px;
  font-weight: 600;
  padding-right: 32px;
}

.modal__subtitle {
  color: var(--muted);
  font-size: 14px;
  margin-top: 4px;
}

.modal--success .modal__box { max-width: 460px; text-align: center; }

.modal__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(201, 169, 97, .12);
  border: 1px solid rgba(201, 169, 97, .35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.form { margin-top: 24px; }

.form__row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form__field { margin-bottom: 20px; }

.form label,
.form .label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 8px;
}

.form label svg { width: 14px; height: 14px; }

.form input[type="text"],
.form input[type="tel"],
.form input[type="email"],
.form select,
.form textarea {
  width: 100%;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 10px 14px;
  transition: border-color .3s ease, box-shadow .3s ease;
  -webkit-appearance: none;
  appearance: none;
}

.form textarea {
  min-height: 96px;
  resize: vertical;
  line-height: 1.55;
}

.form input::placeholder,
.form textarea::placeholder { color: rgba(176, 176, 176, .7); }

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: rgba(201, 169, 97, .5);
  box-shadow: 0 0 0 3px rgba(201, 169, 97, .12);
}

.form .select-wrap { position: relative; }

.form .select-wrap svg {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  opacity: .5;
  pointer-events: none;
}

.form select option {
  background: var(--bg-card);
  color: var(--fg);
}

.form .btn { width: 100%; }

.range {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(201, 169, 97, .2);
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  margin: 6px 0 8px;
}

.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-mid));
  border: 2px solid var(--bg);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(201, 169, 97, .5);
}

.range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-mid));
  border: 2px solid var(--bg);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(201, 169, 97, .5);
}

.range-legend {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(176, 176, 176, .6);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.form .chip {
  position: relative;
  flex: 1 1 auto;
  display: block;
  margin-bottom: 0;
  color: inherit;
  font-size: inherit;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
}

.chip input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.chip span {
  display: block;
  text-align: center;
  padding: 10px 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .04);
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  transition: border-color .3s ease, color .3s ease, background .3s ease;
}

.chip input:checked + span {
  border-color: rgba(201, 169, 97, .55);
  background: rgba(201, 169, 97, .1);
  color: var(--gold-light);
}

.chip input:focus-visible + span {
  box-shadow: 0 0 0 3px rgba(201, 169, 97, .18);
}

.estimate {
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.estimate__label {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 4px;
}

.estimate__value {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  line-height: 1.2;
}

.estimate__note {
  color: rgba(176, 176, 176, .7);
  font-size: 12px;
  line-height: 1.5;
  max-width: 240px;
}

.form__error {
  display: none;
  color: #e07070;
  font-size: 13px;
  margin-top: 6px;
}

.form__field.has-error input,
.form__field.has-error select {
  border-color: rgba(224, 112, 112, .6);
}

.form__field.has-error .form__error { display: block; }

.text-page {
  padding: calc(var(--header-h) + 64px) 0 96px;
}

.text-page__title {
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 700;
  margin-bottom: 32px;
}

.text-page__content {
  color: var(--muted);
  line-height: 1.8;
  max-width: 860px;
}

.text-page__content h2 {
  color: var(--fg);
  font-size: 24px;
  font-weight: 600;
  margin: 40px 0 16px;
}

.text-page__content h3 {
  color: var(--fg);
  font-size: 19px;
  font-weight: 600;
  margin: 28px 0 12px;
}

.text-page__content p { margin-bottom: 16px; }

.text-page__content ul,
.text-page__content ol {
  margin: 0 0 16px;
  padding-left: 20px;
}

.text-page__content li { margin-bottom: 8px; }

.text-page__content a {
  color: var(--gold);
  text-decoration: underline;
}

.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px;
}

.error-page__code {
  font-family: var(--font-heading);
  font-size: clamp(80px, 18vw, 180px);
  font-weight: 700;
  line-height: 1;
}

.error-page__title {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 600;
  margin: 16px 0 12px;
}

.error-page p {
  color: var(--muted);
  margin-bottom: 32px;
}

@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .hero { min-height: auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: flex; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 40px; }
  .grid-3,
  .grid-2,
  .steps,
  .footer__grid { grid-template-columns: 1fr; }
  .hero__inner { padding-top: 110px; padding-bottom: 80px; }
  .hero__panel { padding: 24px; }
  .hero__actions .btn { width: 100%; }
  .cube-stage { width: 240px; height: 240px; }
  .cube { inset: 45px; }
  .cube__face { font-size: 46px; }
  .cube__face--front,
  .cube__face--back,
  .cube__face--right,
  .cube__face--left,
  .cube__face--top,
  .cube__face--bottom { --d: 75px; }
  .cube__face--front { transform: translateZ(75px); }
  .cube__face--back { transform: rotateY(180deg) translateZ(75px); }
  .cube__face--right { transform: rotateY(90deg) translateZ(75px); }
  .cube__face--left { transform: rotateY(-90deg) translateZ(75px); }
  .cube__face--top { transform: rotateX(90deg) translateZ(75px); }
  .cube__face--bottom { transform: rotateX(-90deg) translateZ(75px); }
  .project-card__body { padding: 20px; }
  .cta { padding: 32px 24px; }
  .modal__box { padding: 24px; }
  .form__row { grid-template-columns: 1fr; }
  .footer__bottom { justify-content: flex-start; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .logo { font-size: 20px; }
  .logo__sub { font-size: 12px; }
  .estimate { flex-direction: column; align-items: flex-start; }
  .estimate__note { max-width: none; }
}

.nav ul,
.mobile-nav ul,
.footer__links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__links li a {
  color: var(--muted);
  font-size: 14px;
  transition: color .3s ease;
}

.footer__links li a:hover { color: var(--gold); }

.about__heading { margin-bottom: 24px; }

.about__text p {
  color: var(--muted);
  line-height: 1.75;
}

.about__text p + p { margin-top: 20px; }

.about__text p:first-of-type { font-size: 18px; }

.mistobud-form .wpcf7-form-control-wrap { display: block; }

.mistobud-form .wpcf7-not-valid {
  border-color: rgba(224, 112, 112, .6) !important;
}

.mistobud-form .wpcf7-not-valid-tip {
  display: block;
  color: #e07070;
  font-size: 13px;
  margin-top: 6px;
}

body .mistobud-form .wpcf7-response-output {
  margin: 16px 0 0;
  padding: 12px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(224, 112, 112, .45);
  background: rgba(224, 112, 112, .08);
  color: #e8a0a0;
  font-size: 14px;
}

body .wpcf7 form.sent .wpcf7-response-output,
body .mistobud-form.sent .wpcf7-response-output { display: none; }

.mistobud-form .wpcf7-spinner {
  position: absolute;
  margin: 0 0 0 12px;
}

.mistobud-form .wpcf7-submit { width: 100%; }

.mistobud-form .chips label {
  display: block;
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
}

.mistobud-form .wpcf7-radio {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mistobud-form .wpcf7-radio .wpcf7-list-item {
  flex: 1 1 auto;
  margin: 0;
}

.mistobud-form .wpcf7-radio .wpcf7-list-item label {
  display: block;
  position: relative;
  cursor: pointer;
}

.mistobud-form .wpcf7-radio input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.mistobud-form .wpcf7-radio .wpcf7-list-item-label {
  display: block;
  text-align: center;
  padding: 10px 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .04);
  color: var(--muted);
  font-size: 14px;
  transition: border-color .3s ease, color .3s ease, background .3s ease;
}

.mistobud-form .wpcf7-radio input:checked + .wpcf7-list-item-label {
  border-color: rgba(201, 169, 97, .55);
  background: rgba(201, 169, 97, .1);
  color: var(--gold-light);
}

::selection {
  background: rgba(201, 169, 97, .28);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3 { letter-spacing: -.02em; }

.section-title {
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.04;
}

.section-label span {
  font-size: 12px;
  letter-spacing: .26em;
}

.section-label::before {
  width: 40px;
  flex: 0 0 40px;
  box-shadow: 0 0 12px rgba(201, 169, 97, .45);
}

.section {
  padding: 112px 0;
  border-top: 1px solid transparent;
  border-image: linear-gradient(to right, transparent, rgba(201, 169, 97, .22) 20%, rgba(201, 169, 97, .22) 80%, transparent) 1;
}

.hero + .section { border-image: none; border-top-color: transparent; }

.section-head { margin-bottom: 72px; max-width: 720px; }

.btn {
  letter-spacing: .06em;
  font-size: 15px;
  position: relative;
  overflow: hidden;
}

.btn-gold::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .45) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform .7s cubic-bezier(.22, 1, .36, 1);
}

.btn-gold:hover::after { transform: translateX(120%); }

.btn:active { transform: translateY(1px); }

.header.is-scrolled {
  border-bottom-color: transparent;
  box-shadow: 0 1px 0 rgba(201, 169, 97, .22), 0 12px 40px rgba(0, 0, 0, .45);
}

.hero__bg img { transform: scale(1.03); }

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(201, 169, 97, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 169, 97, .05) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(120% 80% at 70% 30%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(120% 80% at 70% 30%, #000 0%, transparent 70%);
}

.hero__inner { z-index: 10; }

.hero__title {
  font-size: clamp(42px, 7vw, 68px);
  letter-spacing: -.03em;
}

.hero__panel {
  border-radius: 10px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .5);
}

.hero__lead {
  font-size: 17px;
  color: rgba(255, 255, 255, .86);
}

.service-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-mid), transparent);
  opacity: 0;
  transition: opacity .4s ease;
}

.lux-card:hover .service-card::before,
.service-card:hover::before { opacity: 1; }

.service-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(201, 169, 97, .16), rgba(201, 169, 97, .04));
  border-color: rgba(201, 169, 97, .28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
  transition: box-shadow .4s ease, transform .4s ease;
}

.lux-card:hover .service-card__icon {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 0 26px rgba(201, 169, 97, .3);
  transform: translateY(-2px);
}

.service-card__icon svg { width: 26px; height: 26px; }

.service-card h3 { font-size: 21px; }

.service-card p { font-size: 15px; color: #b6b6b6; }

.project-card { border-radius: 10px; }

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: border-color .45s ease, box-shadow .45s ease;
  pointer-events: none;
}

.project-card:hover::before {
  border-color: rgba(201, 169, 97, .5);
  box-shadow: inset 0 0 60px rgba(201, 169, 97, .08);
}

.project-card::after {
  background: linear-gradient(to top, rgba(6, 6, 6, .96) 0%, rgba(6, 6, 6, .6) 38%, rgba(6, 6, 6, .08) 68%, transparent 100%);
}

.project-card__body { transition: transform .5s cubic-bezier(.22, 1, .36, 1); }

.project-card:hover .project-card__body { transform: translateY(-6px); }

.project-card__tag {
  background: rgba(10, 10, 10, .55);
  border-color: rgba(201, 169, 97, .35);
  letter-spacing: .2em;
  font-size: 11px;
}

.project-card__body h3 {
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.2;
}

.project-card__meta { color: rgba(232, 212, 154, .7); }

.steps { gap: 20px; }

.step {
  border-radius: 10px;
  padding: 32px 24px 28px;
  overflow: hidden;
}

.step::after {
  content: "";
  position: absolute;
  top: 46px;
  right: -34px;
  width: 40px;
  height: 1px;
  background: linear-gradient(to right, rgba(201, 169, 97, .5), transparent);
}

.steps > div:last-child .step::after { display: none; }

.step__num {
  font-size: 52px;
  letter-spacing: -.04em;
  opacity: .85;
}

.step h3 { font-size: 18px; }

.stat {
  border-radius: 10px;
  padding: 28px 20px;
  position: relative;
  overflow: hidden;
}

.stat::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 50% 0%, rgba(201, 169, 97, .12), transparent 70%);
  opacity: 0;
  transition: opacity .4s ease;
}

.stat:hover::before { opacity: 1; }

.stat__value {
  font-size: clamp(32px, 4.4vw, 46px);
  letter-spacing: -.03em;
}

.about__lead,
.about__text p:first-of-type { font-size: 19px; color: #c4c4c4; }

.advantage {
  border-radius: 10px;
  gap: 18px;
  padding: 26px 24px;
}

.advantage__icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(201, 169, 97, .16), rgba(201, 169, 97, .04));
  border-color: rgba(201, 169, 97, .28);
}

.advantage h3 { font-size: 18px; }

.advantage p { font-size: 14.5px; }

.cta {
  border-radius: 12px;
  padding: 64px 56px;
  background: linear-gradient(140deg, rgba(201, 169, 97, .07), rgba(255, 255, 255, .015) 45%);
  border-color: rgba(201, 169, 97, .32);
}

.cta__text h2 { font-size: clamp(26px, 3.6vw, 40px); }

.cta__text p { font-size: 16.5px; }

.footer__logo { letter-spacing: -.02em; }

.footer h4 { color: rgba(255, 255, 255, .92); }

.modal__box {
  border-radius: 12px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .7);
}

.modal__title { font-size: 26px; }

.estimate {
  border-radius: 10px;
  background: linear-gradient(140deg, rgba(201, 169, 97, .1), rgba(255, 255, 255, .02));
  border-color: rgba(201, 169, 97, .32);
}

@media (max-width: 1024px) {
  .step::after { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 44px; }
  .cta { padding: 36px 24px; }
}

.hero__glow {
  background: rgba(201, 169, 97, .16);
  filter: blur(120px);
}

.cube {
  animation-duration: 18s;
  filter: drop-shadow(0 0 20px rgba(205, 170, 82, .28));
}

.cube__face {
  border: 1px solid rgba(232, 212, 154, .62);
  background: rgba(205, 170, 82, .025);
  box-shadow: none;
  font-size: 56px;
  font-weight: 700;
  letter-spacing: .04em;
  color: rgba(232, 212, 154, .92);
  text-shadow: 0 0 18px rgba(232, 212, 154, .35);
}

.cube__face--top,
.cube__face--bottom {
  background: rgba(205, 170, 82, .015);
  border-color: rgba(232, 212, 154, .42);
}

@media (max-width: 768px) {
  .cube__face { font-size: 40px; }
}

.cube__face { transform-style: preserve-3d; }

.cube__face span {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: block;
}

.cube { filter: none; }

.cube-stage { filter: drop-shadow(0 0 20px rgba(205, 170, 82, .28)); }

.cube__face span {
  transform: translateZ(.01px);
  transform-style: preserve-3d;
}

.cube-stage {
  perspective: 620px;
  perspective-origin: 50% 42%;
}

@keyframes cube-spin-v2 {
  from { transform: rotateX(-26deg) rotateY(0deg); }
  to { transform: rotateX(-26deg) rotateY(360deg); }
}

.cube { animation-name: cube-spin-v2; }

.modal__box { overflow-x: hidden; }

.mistobud-form .wpcf7-spinner {
  position: absolute;
  right: 32px;
  margin: 0;
  transform: translateY(-34px);
}

.form textarea,
.mistobud-form textarea {
  height: 104px;
  min-height: 104px;
}

.gold-text {
  padding-bottom: .06em;
  display: inline-block;
}

.hero__title { line-height: 1.06; }

.section-title { line-height: 1.12; }

.stat__value,
.step__num,
.footer__logo,
.error-page__code { line-height: 1.14; }

@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: flex; }
  .logo__sub { white-space: nowrap; }
}
