:root {
  --bg: #0b0b0b;
  --bg-soft: #130d0f;
  --panel: #1a1215;
  --red: #8b1e2d;
  --red-rich: #a1122f;
  --gold: #d4af7f;
  --gold-soft: #e2c39d;
  --text: #f2ebe2;
  --text-soft: #cfbea7;
  --muted: #b39d86;
  --line: rgba(212, 175, 127, 0.22);
  --focus-red: rgba(161, 18, 47, 0.55);
  --focus-gold: rgba(212, 175, 127, 0.32);
  --radius: 14px;
  --max: 1140px;
  --transition: 280ms ease;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  scroll-behavior: smooth;
  background:
    radial-gradient(1000px 680px at 80% -10%, rgba(212, 175, 127, 0.08), transparent 56%),
    radial-gradient(920px 620px at 8% 14%, rgba(161, 18, 47, 0.18), transparent 58%),
    linear-gradient(180deg, #0f0d0e 0%, var(--bg) 100%);
}

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

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 11, 11, 0.86);
  backdrop-filter: blur(10px);
}

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.brand {
  color: var(--gold);
  text-decoration: none;
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0.04em;
  font-size: 1.32rem;
  text-shadow: 0 0 12px rgba(212, 175, 127, 0.26);
}

.header-controls {
  display: flex;
  align-items: center;
}

.nav {
  display: flex;
  gap: 1.1rem;
}

.nav a {
  color: var(--text-soft);
  text-decoration: none;
  transition: color var(--transition);
}

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

.nav-toggle {
  display: none;
  min-height: 42px;
  padding: 0.45rem 0.8rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.7rem;
}

.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  place-items: center;
  background-image:
    linear-gradient(110deg, rgba(11, 11, 11, 0.82), rgba(29, 11, 17, 0.66), rgba(57, 12, 22, 0.46)),
    url("https://images.unsplash.com/photo-1515377905703-c4788e51af15?auto=format&fit=crop&w=1920&q=80");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 74% 22%, rgba(212, 175, 127, 0.11), transparent 38%),
    radial-gradient(circle at 14% 18%, rgba(161, 18, 47, 0.25), transparent 48%),
    linear-gradient(180deg, rgba(11, 11, 11, 0.24), rgba(11, 11, 11, 0.88));
}

.hero-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.28'/%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--gold-soft);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
}

h1 {
  font-size: clamp(2rem, 4.8vw, 4rem);
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  line-height: 1.2;
}

h3 {
  font-size: 1.16rem;
}

.lead {
  margin: 1.1rem auto 1.8rem;
  max-width: 620px;
  color: var(--text-soft);
  line-height: 1.72;
}

.offer-highlight {
  margin: 1.1rem auto 0;
  max-width: 700px;
  border: 1px solid rgba(212, 175, 127, 0.55);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  background:
    linear-gradient(160deg, rgba(212, 175, 127, 0.16), rgba(161, 18, 47, 0.2)),
    rgba(11, 11, 11, 0.45);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.45),
    0 0 22px rgba(212, 175, 127, 0.22);
}

.offer-highlight p {
  margin: 0;
  color: var(--text);
  line-height: 1.55;
}

.offer-highlight p + p {
  margin-top: 0.38rem;
}

.offer-highlight strong {
  color: var(--gold-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.75rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 12px;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), color var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-gold {
  color: #2f1a0d;
  background: linear-gradient(160deg, #e7cda8 0%, var(--gold) 100%);
  border-color: rgba(255, 234, 210, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 252, 245, 0.4),
    0 10px 24px rgba(212, 175, 127, 0.3),
    0 0 20px rgba(212, 175, 127, 0.2);
}

.btn-ghost {
  color: var(--text);
  border-color: rgba(212, 175, 127, 0.3);
  background: rgba(255, 255, 255, 0.02);
}

.btn-ghost:hover {
  color: var(--gold);
  border-color: rgba(212, 175, 127, 0.56);
}

.section {
  position: relative;
  padding: clamp(4.2rem, 7vw, 6.8rem) 0;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 80% -10%, rgba(212, 175, 127, 0.06), transparent 50%);
}

.section-dark {
  background: linear-gradient(180deg, rgba(139, 30, 45, 0.1), rgba(11, 11, 11, 0.62));
}

.section-heading {
  max-width: 680px;
  margin-bottom: 2rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.4rem, 3vw, 3.2rem);
}

.section-copy p {
  color: var(--text-soft);
  line-height: 1.75;
}

.about-points {
  display: grid;
  gap: 0.95rem;
}

.line-card,
.info-card,
.requirement,
.timeline li,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.46);
}

.line-card {
  padding: 1.05rem;
  border-left: 2px solid var(--gold);
}

.line-card p {
  color: var(--muted);
  margin: 0.45rem 0 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

/* Trial variant: stronger visual hierarchy for benefits cards */
#benefits .benefits-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

#benefits .info-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  padding: 1.1rem;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.012)),
    radial-gradient(circle at 0 0, rgba(212, 175, 127, 0.14), transparent 48%);
}

#benefits .info-card h3 {
  margin-bottom: 0.45rem;
  padding-top: 2.15rem;
}

#benefits .info-card h3::before {
  position: absolute;
  top: 0.72rem;
  left: 1.1rem;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.92;
  text-shadow: 0 0 12px rgba(212, 175, 127, 0.22);
}

#benefits .info-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -56% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(212, 175, 127, 0.14), transparent 68%);
  pointer-events: none;
}

#benefits .info-card:nth-child(1) {
  grid-column: span 7;
}

#benefits .info-card:nth-child(2) {
  grid-column: span 5;
}

#benefits .info-card:nth-child(3),
#benefits .info-card:nth-child(4),
#benefits .info-card:nth-child(5) {
  grid-column: span 4;
}

#benefits .info-card:nth-child(1),
#benefits .info-card:nth-child(2) {
  border-color: rgba(212, 175, 127, 0.35);
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.5),
    0 0 22px rgba(212, 175, 127, 0.1);
}

#benefits .info-card:nth-child(1) h3::before {
  content: "01 / доход";
}

#benefits .info-card:nth-child(2) h3::before {
  content: "02 / график";
}

#benefits .info-card:nth-child(3) h3::before {
  content: "03 / приватность";
}

#benefits .info-card:nth-child(4) h3::before {
  content: "04 / клиенты";
}

#benefits .info-card:nth-child(5) h3::before {
  content: "05 / поддержка";
}

.info-card,
.requirement {
  padding: 1rem;
  transition: transform var(--transition), border-color var(--transition);
}

.info-card:hover,
.requirement:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 127, 0.36);
}

.info-card p,
.requirement p {
  margin: 0.45rem 0 0;
  color: var(--muted);
}

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

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.timeline li {
  padding: 1rem;
  color: var(--text-soft);
  display: grid;
  gap: 0.6rem;
}

.timeline span {
  width: fit-content;
  padding: 0.22rem 0.54rem;
  border-radius: 999px;
  border: 1px solid var(--gold);
  color: var(--gold);
  letter-spacing: 0.1em;
  font-size: 0.76rem;
}

.section-contact {
  background-image:
    linear-gradient(180deg, rgba(27, 10, 15, 0.92), rgba(11, 11, 11, 0.95)),
    url("https://images.unsplash.com/photo-1489515217757-5fd1be406fef?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
}

.contact-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.contact-form {
  display: grid;
  gap: 0.9rem;
  padding: 1.15rem;
}

label {
  display: grid;
  gap: 0.42rem;
  color: var(--text-soft);
  font-size: 0.9rem;
}

input,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.78rem 0.9rem;
  color: var(--text);
  border: 1px solid var(--focus-red);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

textarea {
  min-height: 130px;
}

input::placeholder,
textarea::placeholder {
  color: #a98f75;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--focus-gold);
}

.form-note {
  min-height: 1.1rem;
  margin: 0;
  color: var(--gold-soft);
  font-size: 0.9rem;
}

.site-footer {
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
  background: #0a090a;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

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

.footer-wrap a {
  color: var(--gold-soft);
  text-decoration: none;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

@media (max-width: 1100px) {
  .benefits-grid,
  .requirements-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  #benefits .info-card:nth-child(1),
  #benefits .info-card:nth-child(2),
  #benefits .info-card:nth-child(3),
  #benefits .info-card:nth-child(4),
  #benefits .info-card:nth-child(5) {
    grid-column: auto;
  }
}

@media (max-width: 800px) {
  .container {
    width: min(100% - 1.1rem, var(--max));
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .header-controls {
    position: fixed;
    top: 72px;
    left: 0.55rem;
    right: 0.55rem;
    z-index: 40;
    display: grid;
    padding: 0.8rem;
    gap: 0.75rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(11, 11, 11, 0.95);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition), transform var(--transition);
  }

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

  .nav {
    display: grid;
    gap: 0.3rem;
  }

  .nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .split,
  .benefits-grid,
  .requirements-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  #benefits .benefits-grid {
    grid-template-columns: 1fr;
  }

  #benefits .info-card h3 {
    padding-top: 1.85rem;
  }

  #benefits .info-card h3::before {
    top: 0.65rem;
    font-size: 0.84rem;
  }

  .hero {
    min-height: 88svh;
  }

  h1 {
    font-size: clamp(1.9rem, 8.8vw, 2.8rem);
  }

  h2 {
    font-size: clamp(1.35rem, 6vw, 1.85rem);
  }

  .lead {
    font-size: 0.95rem;
  }

  .offer-highlight {
    margin-top: 0.95rem;
    padding: 0.75rem 0.85rem;
    text-align: left;
  }

  .btn {
    width: 100%;
    min-height: 48px;
  }

  .hero-grain {
    display: none;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .nav-wrap {
    min-height: 66px;
  }

  .hero {
    min-height: 84svh;
  }

  .hero-content {
    padding: 0.5rem 0.1rem;
  }

  .section {
    padding: 3.6rem 0;
  }

  .contact-form {
    padding: 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

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