:root {
  color-scheme: dark;
  --bg: #07090d;
  --bg-deep: #030405;
  --surface: rgba(13, 16, 22, 0.82);
  --surface-strong: rgba(18, 22, 29, 0.94);
  --ink: #f5efe4;
  --muted: #b8ae9a;
  --gold: #c9a45e;
  --gold-strong: #f0d18f;
  --gold-deep: #8f6b34;
  --line: rgba(201, 164, 94, 0.16);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: rgba(201, 164, 94, 0.58) rgba(5, 7, 10, 0.92);
  scrollbar-width: thin;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(5, 7, 10, 0.92);
}

::-webkit-scrollbar-thumb {
  border: 2px solid rgba(5, 7, 10, 0.92);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(240, 209, 143, 0.78), rgba(143, 107, 52, 0.72));
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(255, 231, 168, 0.88), rgba(201, 164, 94, 0.82));
}

body {
  --cursor-x: 50vw;
  --cursor-y: 32vh;
  --cursor-opacity: 0;
  margin: 0;
  font-family: "Segoe UI", Tahoma, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 20%, rgba(240, 209, 143, 0.2), transparent 25%),
    radial-gradient(circle at 80% 10%, rgba(201, 164, 94, 0.16), transparent 29%),
    radial-gradient(circle at 50% 120%, rgba(201, 164, 94, 0.12), transparent 38%),
    linear-gradient(180deg, #0b0d12 0%, #07090c 46%, #030405 100%);
  overflow-x: hidden;
}

.page-transition {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  overflow: hidden;
  pointer-events: auto;
  background:
    radial-gradient(circle at 50% 46%, rgba(240, 209, 143, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(3, 4, 7, 0.94), rgba(2, 3, 5, 0.985));
  opacity: 1;
  transition:
    opacity 880ms cubic-bezier(0.16, 1, 0.3, 1),
    backdrop-filter 880ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 880ms cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(18px);
  transform: scale(1);
}

.page-transition::before,
.page-transition::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-transition::before {
  background:
    radial-gradient(circle at 50% 48%, rgba(240, 209, 143, 0.16), transparent 18%),
    radial-gradient(circle at 50% 48%, rgba(201, 164, 94, 0.08), transparent 36%);
  opacity: 0.72;
  transform: scale(1.02);
  transition:
    opacity 880ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 980ms cubic-bezier(0.16, 1, 0.3, 1);
}

.page-transition::after {
  inset: 22px;
  border: 1px solid rgba(240, 209, 143, 0.12);
  border-radius: 32px;
  opacity: 0.52;
  transition: opacity 880ms cubic-bezier(0.16, 1, 0.3, 1);
}

body.is-page-ready .page-transition {
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(0);
  transform: scale(1.02);
}

body.is-page-ready .page-transition::before,
body.is-page-ready .page-transition::after,
body.is-page-ready .page-transition-orb,
body.is-page-ready .page-transition-line {
  opacity: 0;
}

body.is-page-leaving .page-transition {
  opacity: 1;
  pointer-events: auto;
  backdrop-filter: blur(18px);
  transform: scale(1);
}

body.is-page-leaving .page-transition::before {
  opacity: 1;
  transform: scale(1);
}

body.is-page-leaving .page-transition::after {
  opacity: 0.68;
}

.page-transition-orb {
  position: absolute;
  width: min(68vw, 760px);
  height: min(48vw, 520px);
  border-radius: 999px;
  background:
    radial-gradient(ellipse at center, rgba(255, 241, 205, 0.24) 0%, rgba(240, 209, 143, 0.14) 24%, rgba(201, 164, 94, 0.06) 46%, transparent 74%),
    radial-gradient(ellipse at 50% 50%, rgba(143, 107, 52, 0.12), transparent 70%);
  filter: blur(28px);
  opacity: 0.88;
  transform: scale(0.96);
  animation: pageTransitionBloom 2.4s cubic-bezier(0.16, 1, 0.3, 1) infinite alternate;
}

.page-transition-line {
  display: none;
}

.cursor-spotlight {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 0;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  pointer-events: none;
  opacity: var(--cursor-opacity);
  transform: translate3d(calc(var(--cursor-x) - 50%), calc(var(--cursor-y) - 50%), 0);
  background:
    radial-gradient(circle, rgba(240, 209, 143, 0.24) 0%, rgba(201, 164, 94, 0.13) 28%, transparent 68%),
    conic-gradient(from 120deg, transparent, rgba(240, 209, 143, 0.14), transparent, rgba(143, 107, 52, 0.12), transparent);
  filter: blur(18px);
  mix-blend-mode: screen;
  transition: opacity 220ms ease;
  animation: cursorAuraRotate 12s linear infinite;
}

.scroll-guides {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.scroll-guide {
  position: absolute;
  top: 16vh;
  bottom: 12vh;
  width: 1px;
  opacity: 0.72;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(240, 209, 143, 0.18) 18%,
    rgba(201, 164, 94, 0.32) 50%,
    rgba(240, 209, 143, 0.18) 82%,
    transparent 100%
  );
}

.scroll-guide-left {
  left: max(18px, calc((100vw - 1220px) / 2 - 34px));
}

.scroll-guide-right {
  right: max(18px, calc((100vw - 1220px) / 2 - 34px));
}

.scroll-guide::before,
.scroll-guide::after {
  content: "";
  position: absolute;
  left: 50%;
  border-radius: 999px;
  transform: translateX(-50%);
}

.scroll-guide::before {
  top: 0;
  width: 9px;
  height: 118px;
  background: linear-gradient(180deg, transparent, rgba(240, 209, 143, 0.86), transparent);
  filter: blur(2px);
  animation: scrollGuideDrop 2.9s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

.scroll-guide::after {
  top: 50%;
  width: 72px;
  height: 68%;
  background: radial-gradient(ellipse at center, rgba(201, 164, 94, 0.12), transparent 68%);
  filter: blur(18px);
  opacity: 0.58;
  transform: translate(-50%, -50%);
  animation: scrollGuideBreath 4.8s ease-in-out infinite alternate;
}

.scroll-guide-right::before {
  animation-delay: 420ms;
}

.scroll-guide-right::after {
  animation-delay: 680ms;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body::before {
  background:
    radial-gradient(circle at 20% 30%, rgba(240, 209, 143, 0.12), transparent 21%),
    radial-gradient(circle at 80% 25%, rgba(201, 164, 94, 0.12), transparent 23%),
    radial-gradient(circle at 50% 80%, rgba(240, 209, 143, 0.08), transparent 30%);
  filter: blur(10px);
  animation: ambientDrift 22s ease-in-out infinite alternate;
}

body::after {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(circle at center, black 38%, transparent 92%);
  opacity: 0.18;
}

a,
button,
input,
textarea,
select {
  font: inherit;
}

button,
input,
textarea,
select {
  color: inherit;
}

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

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1220px, calc(100% - 28px));
  margin: 0 auto;
  padding: 18px 0 72px;
}

.site-header,
.section,
.hero,
.floating-gallery,
.site-footer {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.site-header,
.section,
.hero,
.floating-gallery,
.site-footer,
.feature-card,
.content-card,
.pricing-card,
.portfolio-card,
.contacts-card,
.lead-form,
.lead-cta-card,
.status-card,
.faq-item,
.showcase-card,
.marquee-card {
  background: linear-gradient(180deg, rgba(14, 18, 25, 0.84), rgba(8, 10, 15, 0.9));
  backdrop-filter: blur(16px);
}

.site-header,
.section,
.hero,
.floating-gallery,
.site-footer {
  border-radius: var(--radius-xl);
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 14px 12px 18px;
  margin-bottom: 18px;
  background:
    linear-gradient(90deg, rgba(240, 209, 143, 0.16), transparent 22%, transparent 78%, rgba(201, 164, 94, 0.12)),
    linear-gradient(180deg, rgba(15, 17, 22, 0.9), rgba(7, 9, 13, 0.92));
  overflow: visible;
}

.site-header::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 209, 143, 0.48), transparent);
}

.site-header::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--radius-xl) - 1px);
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 246, 214, 0.08);
}

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

.account-menu {
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  min-width: max-content;
}

.brand-emblem {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(240, 209, 143, 0.38);
  border-radius: 15px;
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 246, 214, 0.28), transparent 26%),
    linear-gradient(145deg, rgba(240, 209, 143, 0.22), rgba(143, 107, 52, 0.08)),
    rgba(5, 7, 10, 0.72);
  color: #f7df9d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.06em;
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 214, 0.16),
    0 0 0 7px rgba(201, 164, 94, 0.06),
    0 16px 34px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.brand-emblem::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(240, 209, 143, 0.16);
  border-radius: 11px;
}

.brand-emblem::after {
  content: "";
  position: absolute;
  inset: -30% auto -30% -55%;
  width: 42%;
  background: linear-gradient(115deg, transparent, rgba(255, 246, 214, 0.34), transparent);
  transform: rotate(10deg);
  transition: transform 850ms cubic-bezier(0.16, 1, 0.3, 1);
}

.brand:hover .brand-emblem::after,
.brand:focus-visible .brand-emblem::after {
  transform: translateX(330%) rotate(10deg);
}

.brand-wordmark {
  display: grid;
  gap: 2px;
  line-height: 1;
}

.brand-main {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 1.6vw, 1.26rem);
  font-weight: 700;
  letter-spacing: 0.13em;
  color: #fff4db;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.brand-sub {
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.48em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(201, 164, 94, 0.12);
  border-radius: 999px;
  background: rgba(4, 6, 9, 0.32);
}

.site-nav a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 999px;
  color: #d6c9ad;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition:
    color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #191109;
  background: linear-gradient(135deg, #f0d18f 0%, #a87b36 100%);
  box-shadow: inset 0 1px 0 rgba(255, 246, 214, 0.42);
}

.account-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(240, 209, 143, 0.28);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(240, 209, 143, 0.12), rgba(201, 164, 94, 0.04)),
    rgba(12, 15, 21, 0.62);
  color: var(--gold-strong);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 246, 214, 0.08);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.account-button:hover,
.account-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(240, 209, 143, 0.52);
  background:
    linear-gradient(180deg, rgba(240, 209, 143, 0.16), rgba(201, 164, 94, 0.08)),
    rgba(12, 15, 21, 0.72);
}

.account-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 220px;
  padding: 10px;
  border: 1px solid rgba(201, 164, 94, 0.2);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(16, 20, 27, 0.98), rgba(8, 10, 14, 0.98));
  box-shadow: var(--shadow);
}

.account-dropdown[hidden] {
  display: none;
}

.account-dropdown-item {
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.account-dropdown-item:hover,
.account-dropdown-item:focus-visible {
  background: rgba(201, 164, 94, 0.08);
}

.account-dropdown-exit {
  color: #efb5ab;
}

.page {
  display: grid;
  gap: 22px;
}

.scroll-reveal {
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 54px, 0) scale(0.985);
  filter: blur(10px);
  transition:
    opacity 950ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 1050ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 1050ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}

.scroll-reveal.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
  will-change: auto;
}

.scroll-reveal .feature-card,
.scroll-reveal .content-card,
.scroll-reveal .pricing-card,
.scroll-reveal .portfolio-card,
.scroll-reveal .faq-item,
.scroll-reveal .contacts-card,
.scroll-reveal .lead-cta-card,
.scroll-reveal .marquee-card {
  transition:
    opacity 850ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 950ms cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal:not(.is-visible) .feature-card,
.scroll-reveal:not(.is-visible) .content-card,
.scroll-reveal:not(.is-visible) .pricing-card,
.scroll-reveal:not(.is-visible) .portfolio-card,
.scroll-reveal:not(.is-visible) .faq-item,
.scroll-reveal:not(.is-visible) .contacts-card,
.scroll-reveal:not(.is-visible) .lead-cta-card,
.scroll-reveal:not(.is-visible) .marquee-card {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
}

.scroll-reveal.is-visible .feature-card:nth-child(2),
.scroll-reveal.is-visible .content-card:nth-child(2),
.scroll-reveal.is-visible .pricing-card:nth-child(2),
.scroll-reveal.is-visible .portfolio-card:nth-child(2),
.scroll-reveal.is-visible .faq-item:nth-child(2),
.scroll-reveal.is-visible .marquee-card:nth-child(2) {
  transition-delay: 90ms;
}

.scroll-reveal.is-visible .feature-card:nth-child(3),
.scroll-reveal.is-visible .content-card:nth-child(3),
.scroll-reveal.is-visible .pricing-card:nth-child(3),
.scroll-reveal.is-visible .portfolio-card:nth-child(3),
.scroll-reveal.is-visible .faq-item:nth-child(3),
.scroll-reveal.is-visible .marquee-card:nth-child(3) {
  transition-delay: 160ms;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(460px, 1.05fr);
  gap: 28px;
  min-height: calc(100svh - 118px);
  align-items: center;
  padding: 38px;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(201, 164, 94, 0.1), transparent 26%),
    linear-gradient(180deg, rgba(12, 15, 21, 0.95), rgba(6, 8, 12, 0.96));
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(22px);
  pointer-events: none;
}

.hero::before {
  width: 320px;
  height: 320px;
  top: -90px;
  right: -80px;
  background: radial-gradient(circle, rgba(201, 164, 94, 0.18), transparent 68%);
  animation: glowPulse 10s ease-in-out infinite alternate;
}

.hero::after {
  width: 260px;
  height: 260px;
  left: 34%;
  bottom: -140px;
  background: radial-gradient(circle, rgba(240, 209, 143, 0.12), transparent 70%);
  animation: glowPulse 12s ease-in-out infinite alternate-reverse;
}

.hero-copy,
.hero-gallery {
  position: relative;
  z-index: 1;
}

.hero-copy {
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.eyebrow,
.section-kicker,
.meta {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

h1 {
  max-width: 14ch;
  font-size: clamp(2rem, 3.25vw, 3.25rem);
  color: #fff8ec;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.24);
  line-height: 1.04;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

h2 {
  max-width: 12ch;
  font-size: clamp(1.55rem, 2.4vw, 2.35rem);
  color: #fff5e5;
}

h3 {
  font-size: 1.15rem;
  color: #fff2db;
}

.lead,
.section-heading p,
.feature-card p,
.content-card p,
.pricing-card p,
.contacts-list li,
.faq-item p,
.status-card,
.form-status,
.showcase-caption p {
  color: var(--muted);
  line-height: 1.65;
}

.lead {
  max-width: 42ch;
  margin: 16px auto 0;
  font-size: 0.96rem;
}

.compact-heading h2 {
  max-width: none;
}

.compact-heading p {
  max-width: 42ch;
  font-size: 0.95rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(240, 209, 143, 0.18);
  border-radius: 999px;
  background: linear-gradient(135deg, #d7b16a 0%, #a87b36 100%);
  color: #16110a;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
  box-shadow:
    0 18px 34px rgba(115, 83, 31, 0.24),
    inset 0 1px 0 rgba(255, 246, 214, 0.36);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-secondary {
  background: rgba(12, 15, 21, 0.45);
  color: var(--gold-strong);
  border: 1px solid rgba(201, 164, 94, 0.24);
  box-shadow: none;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.hero-tags span,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(201, 164, 94, 0.1);
  color: var(--gold-strong);
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 16px;
  align-items: stretch;
}

.showcase-stack {
  display: grid;
  gap: 16px;
}

.showcase-card {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  transition:
    transform 650ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 650ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 650ms cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-card img,
.marquee-card img,
.visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-gallery .showcase-card img {
  transition:
    transform 950ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 950ms cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-main {
  min-height: 540px;
}

.showcase-float {
  min-height: 262px;
}

.showcase-card::after,
.marquee-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.46));
  opacity: 0.9;
  transition: opacity 650ms ease;
}

.showcase-card::before {
  content: "";
  position: absolute;
  inset: -24% auto -24% -42%;
  z-index: 2;
  width: 34%;
  background:
    linear-gradient(
      115deg,
      transparent 0%,
      rgba(255, 246, 214, 0.08) 24%,
      rgba(240, 209, 143, 0.44) 50%,
      rgba(255, 246, 214, 0.08) 76%,
      transparent 100%
    );
  filter: blur(1px);
  opacity: 0;
  transform: translateX(-140%) rotate(10deg);
  transition:
    opacity 360ms ease,
    transform 1100ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-gallery .showcase-card:hover {
  transform: translate3d(0, -7px, 0);
  border-color: rgba(240, 209, 143, 0.42);
  box-shadow:
    0 34px 95px rgba(0, 0, 0, 0.52),
    0 0 0 1px rgba(240, 209, 143, 0.08),
    0 0 46px rgba(201, 164, 94, 0.18);
}

.hero-gallery .showcase-card:hover img {
  transform: scale(1.035);
  filter: saturate(1.06) contrast(1.04) brightness(1.03);
}

.hero-gallery .showcase-card:hover::before {
  opacity: 1;
  transform: translateX(430%) rotate(10deg);
}

.hero-gallery .showcase-card:hover::after {
  opacity: 0.68;
}

.showcase-caption,
.portfolio-overlay {
  position: absolute;
  inset: auto 20px 18px 20px;
  z-index: 3;
}

.showcase-caption h3,
.portfolio-overlay h3 {
  font-size: 1.08rem;
}

.showcase-float .showcase-caption {
  display: none;
}

.floating-gallery {
  padding: 28px;
  overflow: hidden;
}

.gallery-marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.gallery-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: marqueeMove 26s linear infinite;
}

.marquee-card {
  width: 280px;
  height: 360px;
  flex: 0 0 auto;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
}

.section {
  padding: 30px;
  background: linear-gradient(180deg, rgba(13, 16, 22, 0.88), rgba(8, 10, 15, 0.9));
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}

.section-heading p {
  margin: 0;
}

.feature-grid,
.content-grid,
.pricing-grid,
.portfolio-grid {
  display: grid;
  gap: 18px;
}

.feature-grid,
.content-grid,
.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.content-card,
.pricing-card,
.portfolio-card,
.contacts-card,
.lead-form,
.lead-cta-card,
.status-card,
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.feature-card,
.content-card,
.pricing-card {
  padding: 20px;
}

.feature-card {
  display: grid;
  gap: 12px;
  background: linear-gradient(180deg, rgba(19, 23, 30, 0.96), rgba(12, 14, 20, 0.96));
}

.feature-index {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(201, 164, 94, 0.18), rgba(143, 107, 52, 0.12));
  color: var(--gold-strong);
  font-weight: 800;
}

.content-card,
.pricing-card {
  display: grid;
  gap: 12px;
  background: linear-gradient(180deg, rgba(17, 21, 28, 0.98), rgba(10, 12, 17, 0.98));
}

.price-row,
.meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.price {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold-strong);
}

.pricing-card.featured {
  background: linear-gradient(180deg, rgba(36, 28, 18, 0.98) 0%, rgba(13, 16, 22, 0.98) 100%);
  border-color: rgba(201, 164, 94, 0.28);
}

.feature-list,
.contacts-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}

.visual-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.visual-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.visual-card img {
  animation: zoomPulse 10s ease-in-out infinite alternate;
}

.visual-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(8, 10, 14, 0.62);
  border: 1px solid rgba(201, 164, 94, 0.18);
  color: var(--gold-strong);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

.faq-item {
  padding: 18px 20px;
  background: linear-gradient(180deg, rgba(17, 20, 27, 0.96), rgba(10, 12, 17, 0.96));
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  color: #fff1d8;
}

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

.faq-item p {
  margin: 10px 0 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 0.95fr);
  gap: 20px;
  align-items: start;
}

.contacts-card {
  padding: 22px;
  background: linear-gradient(180deg, rgba(17, 21, 28, 0.96), rgba(10, 12, 17, 0.96));
}

.contacts-list {
  padding-left: 0;
  list-style: none;
}

.contacts-list strong {
  color: var(--ink);
}

.contacts-list a {
  color: var(--gold-strong);
  text-decoration: none;
}

.lead-cta-card {
  display: grid;
  gap: 16px;
  padding: 24px;
  align-self: stretch;
  background:
    radial-gradient(circle at top right, rgba(240, 209, 143, 0.15), transparent 34%),
    linear-gradient(180deg, rgba(20, 24, 32, 0.98), rgba(10, 12, 17, 0.98));
}

.lead-cta-card h3 {
  max-width: 16ch;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.04;
}

.lead-cta-card p:not(.section-kicker) {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.lead-cta-card .button {
  width: fit-content;
  margin-top: 4px;
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(20, 24, 32, 0.98), rgba(10, 12, 17, 0.98));
}

.form-intro {
  display: grid;
  gap: 8px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field span {
  font-size: 0.92rem;
  font-weight: 700;
  color: #f4ead8;
}

.form-field.field-invalid span {
  color: #f0a4a4;
}

.form-field.field-invalid span::after {
  content: " *";
  color: #ef7d7d;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  min-height: 48px;
  padding: 14px 16px;
  border: 1px solid rgba(201, 164, 94, 0.14);
  border-radius: 16px;
  background: rgba(5, 7, 10, 0.6);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: rgba(240, 209, 143, 0.42);
  box-shadow: 0 0 0 4px rgba(201, 164, 94, 0.08);
  background: rgba(7, 9, 13, 0.84);
}

.form-field.field-invalid input,
.form-field.field-invalid textarea,
.form-field.field-invalid select {
  border-color: rgba(239, 125, 125, 0.9);
  box-shadow: 0 0 0 4px rgba(239, 125, 125, 0.08);
}

.form-submit {
  width: 100%;
}

.form-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.form-status {
  min-height: 24px;
  margin: 0;
}

.form-status.success {
  color: #dcbf81;
}

.form-status.error {
  color: #e39b8e;
}

.status-card {
  padding: 18px 20px;
}

.status-card.error {
  background: rgba(78, 22, 22, 0.44);
  color: #efb5ab;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  margin-top: 22px;
  padding: 20px 24px;
  background: linear-gradient(180deg, rgba(12, 15, 20, 0.88), rgba(7, 9, 13, 0.88));
}

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

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(3, 4, 7, 0.64);
  backdrop-filter: blur(4px);
  overflow-y: auto;
}

.modal-overlay[hidden] {
  display: none;
}

.auth-modal,
.lead-modal {
  position: relative;
  width: min(460px, 100%);
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(16, 20, 27, 0.98), rgba(8, 10, 14, 0.98));
  box-shadow: var(--shadow);
}

.lead-modal {
  width: min(660px, 100%);
  padding-top: 46px;
  background:
    radial-gradient(circle at top right, rgba(240, 209, 143, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(16, 20, 27, 0.98), rgba(8, 10, 14, 0.98));
  backdrop-filter: none;
}

.lead-modal .lead-form {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(240, 209, 143, 0.18);
  border-radius: 50%;
  background: rgba(5, 7, 10, 0.86);
  color: var(--gold-strong);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.auth-step {
  display: none;
}

.auth-step-active {
  display: block;
}

.auth-form {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.auth-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.auth-note {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

@keyframes ambientDrift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  100% {
    transform: translate3d(1.5%, -2%, 0) scale(1.08);
  }
}

@keyframes glowPulse {
  0% {
    transform: scale(0.92);
    opacity: 0.62;
  }

  100% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes floatCard {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-10px) rotate(-0.8deg);
  }

  100% {
    transform: translateY(0) rotate(0.4deg);
  }
}

@keyframes floatSlow {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes shineSweep {
  0% {
    transform: translateX(-120%) rotate(8deg);
  }

  50%,
  100% {
    transform: translateX(220%) rotate(8deg);
  }
}

@keyframes marqueeMove {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50% - 9px));
  }
}

@keyframes zoomPulse {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.06);
  }
}

@keyframes cursorAuraRotate {
  0% {
    rotate: 0deg;
  }

  100% {
    rotate: 360deg;
  }
}

@keyframes pageTransitionBloom {
  0% {
    transform: scale(0.94);
    opacity: 0.46;
  }

  100% {
    transform: scale(1.02);
    opacity: 0.88;
  }
}

@keyframes scrollGuideDrop {
  0% {
    opacity: 0;
    transform: translate(-50%, -24%) scaleY(0.45);
  }

  18% {
    opacity: 1;
  }

  78% {
    opacity: 0.92;
  }

  100% {
    opacity: 0;
    transform: translate(-50%, calc(100vh - 26vh)) scaleY(0.85);
  }
}

@keyframes scrollGuideBreath {
  0% {
    opacity: 0.32;
    transform: translate(-50%, -50%) scaleX(0.82);
  }

  100% {
    opacity: 0.62;
    transform: translate(-50%, -50%) scaleX(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cursor-spotlight {
    animation: none;
    transition: none;
  }

  .page-transition,
  .page-transition-orb,
  .page-transition-line {
    animation: none;
    transition: none;
  }

  .scroll-guide::before,
  .scroll-guide::after {
    animation: none;
  }

  .scroll-reveal,
  .scroll-reveal .feature-card,
  .scroll-reveal .content-card,
  .scroll-reveal .pricing-card,
  .scroll-reveal .portfolio-card,
  .scroll-reveal .faq-item,
  .scroll-reveal .contacts-card,
  .scroll-reveal .lead-cta-card,
  .scroll-reveal .marquee-card {
    transition: none;
  }

  .showcase-card,
  .hero-gallery .showcase-card img,
  .showcase-card::before,
  .showcase-card::after {
    transition: none;
  }
}

@media (max-width: 1120px) {
  .hero,
  .hero-gallery,
  .feature-grid,
  .content-grid,
  .pricing-grid,
  .visual-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .showcase-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .site-header {
    position: static;
    flex-direction: column;
    align-items: stretch;
  }

  .hero {
    padding: 26px;
  }

  .showcase-stack {
    grid-template-columns: 1fr;
  }

  .brand {
    align-self: flex-start;
  }

  .site-nav {
    width: 100%;
    justify-content: center;
  }

  .site-nav a {
    flex: 1 1 120px;
    justify-content: center;
  }

  .header-actions {
    width: 100%;
  }

  .account-menu,
  .account-button {
    width: 100%;
  }

  .account-dropdown {
    left: 0;
    right: auto;
    width: min(100%, 320px);
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 18px, 1220px);
    padding-bottom: 48px;
  }

  .hero,
  .section,
  .floating-gallery,
  .site-footer,
  .site-header {
    padding-left: 18px;
    padding-right: 18px;
    border-radius: 24px;
  }

  h1,
  h2 {
    max-width: none;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .marquee-card {
    width: 220px;
    height: 300px;
  }

  .showcase-main {
    min-height: 380px;
  }

  .showcase-float {
    min-height: 240px;
  }

  .auth-actions {
    grid-template-columns: 1fr;
  }

  .auth-modal,
  .lead-modal {
    padding: 28px 18px;
  }

  .lead-modal {
    padding-top: 54px;
  }

  .scroll-guide {
    opacity: 0.42;
  }

  .scroll-guide-left {
    left: 9px;
  }

  .scroll-guide-right {
    right: 9px;
  }
}

@media (max-width: 520px) {
  .brand-emblem {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .brand-main {
    font-size: 0.94rem;
    letter-spacing: 0.1em;
  }

  .brand-sub {
    font-size: 0.58rem;
    letter-spacing: 0.38em;
  }

  .scroll-guides {
    display: none;
  }

  .hero {
    min-height: auto;
  }
}
