/*
Theme Name: Aurum Vector
Author: Codex
Description: Темная корпоративная тема для инвестиционной компании Aurum Vector Capital.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: aurum-vector
*/

:root {
  --bg: #07090d;
  --bg-soft: #0d1117;
  --panel: #111820;
  --panel-2: #161e27;
  --text: #f5f0e6;
  --muted: #aeb6bf;
  --soft: #d8deE5;
  --gold: #d7b35f;
  --gold-2: #f0d88b;
  --teal: #3fc3b2;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: rgba(0, 0, 0, 0.42);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
}

.container {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 9, 13, 0.86);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 214px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(215, 179, 95, 0.55);
  border-radius: 8px;
  color: var(--gold-2);
  background: linear-gradient(135deg, rgba(215, 179, 95, 0.22), rgba(63, 195, 178, 0.09));
  font-weight: 800;
}

.brand-text {
  display: grid;
  gap: 1px;
}

.brand-name {
  font-weight: 800;
  font-size: 0.98rem;
}

.brand-sub {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  justify-content: center;
  flex: 1;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 13px;
  border-radius: 8px;
  color: var(--soft);
  font-size: 0.94rem;
}

.site-nav a:hover,
.site-nav .current-menu-item > a {
  color: var(--gold-2);
  background: rgba(255, 255, 255, 0.06);
}

.header-cta,
.button,
.lead-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(215, 179, 95, 0.42);
  border-radius: 8px;
  color: #080a0d;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 18px 42px rgba(215, 179, 95, 0.12);
}

.button.secondary {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: none;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.nav-toggle {
  flex-direction: column;
  gap: 4px;
}

.hero {
  position: relative;
  min-height: 76vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(7, 9, 13, 0.95) 0%, rgba(7, 9, 13, 0.72) 38%, rgba(7, 9, 13, 0.28) 72%),
    var(--hero-image);
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 150px;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  padding: 72px 0 92px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-2);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 {
  margin-top: 18px;
  font-size: 3.45rem;
}

.hero-copy {
  max-width: 590px;
  margin-top: 22px;
  color: var(--soft);
  font-size: 1.17rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(620px, 100%);
  margin-top: 42px;
}

.stat,
.card,
.step,
.insight-card,
.contact-panel,
.lead-form-wrap {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  box-shadow: 0 24px 70px var(--shadow);
}

.stat {
  min-height: 100px;
  padding: 18px;
}

.stat strong {
  display: block;
  color: var(--gold-2);
  font-size: 1.55rem;
  line-height: 1.1;
}

.stat span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  padding: 92px 0;
}

.section.alt {
  background: var(--bg-soft);
}

.section-head {
  display: grid;
  gap: 15px;
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2,
.page-hero h1 {
  font-size: 2.35rem;
}

.section-head p,
.page-hero p,
.lead-copy,
.rich-copy {
  color: var(--muted);
  font-size: 1.04rem;
}

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

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

.card,
.step,
.insight-card {
  padding: 26px;
}

.card-number,
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 20px;
  border-radius: 8px;
  color: var(--gold-2);
  background: rgba(215, 179, 95, 0.13);
  font-weight: 800;
}

.card h3,
.step h3,
.insight-card h3 {
  margin-bottom: 12px;
  font-size: 1.23rem;
}

.card p,
.step p,
.insight-card p,
.metric-row span,
.footer-note {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: start;
}

.metric-board {
  display: grid;
  gap: 12px;
}

.metric-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.metric-row strong {
  color: var(--teal);
}

.bars {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.bar {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--gold));
}

.page-hero {
  padding: 78px 0 54px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 16% 0%, rgba(215, 179, 95, 0.18), transparent 32%),
    linear-gradient(180deg, #0b1016, var(--bg));
}

.page-hero-inner {
  max-width: 820px;
}

.page-hero h1 {
  margin-top: 16px;
}

.page-hero p {
  margin-top: 18px;
}

.rich-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.rich-list li {
  padding-left: 26px;
  position: relative;
  color: var(--soft);
}

.rich-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--gold);
}

.lead-section {
  padding: 84px 0;
  background:
    linear-gradient(120deg, rgba(215, 179, 95, 0.09), rgba(63, 195, 178, 0.07)),
    var(--bg-soft);
}

.lead-layout,
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  align-items: start;
}

.lead-copy h2 {
  margin-bottom: 18px;
  color: var(--text);
  font-size: 2rem;
}

.lead-copy p + p {
  margin-top: 14px;
}

.lead-form-wrap,
.contact-panel {
  padding: 28px;
}

.lead-form {
  display: grid;
  gap: 16px;
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--soft);
  font-weight: 700;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: var(--text);
  background: rgba(5, 7, 10, 0.58);
  font: inherit;
}

.lead-form textarea {
  min-height: 132px;
  resize: vertical;
}

.lead-form input:focus,
.lead-form textarea:focus {
  outline: 2px solid rgba(215, 179, 95, 0.34);
  border-color: rgba(215, 179, 95, 0.7);
}

.form-success,
.form-error {
  padding: 14px 16px;
  border-radius: 8px;
  font-weight: 800;
}

.form-success {
  color: #dffdf5;
  background: rgba(63, 195, 178, 0.13);
  border: 1px solid rgba(63, 195, 178, 0.36);
}

.form-error {
  color: #ffe3dd;
  background: rgba(226, 80, 61, 0.14);
  border: 1px solid rgba(226, 80, 61, 0.32);
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  padding: 42px 0;
  border-top: 1px solid var(--line);
  background: #06080b;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 22px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
}

.not-found {
  min-height: 55vh;
  padding: 96px 0;
}

@media (max-width: 980px) {
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: 74px 0 auto;
    display: none;
    padding: 18px 20px 24px;
    border-bottom: 1px solid var(--line);
    background: rgba(7, 9, 13, 0.98);
  }

  body.menu-open .site-nav {
    display: block;
  }

  .site-nav ul {
    display: grid;
    gap: 8px;
  }

  .site-nav a {
    width: 100%;
    min-height: 48px;
  }

  .hero h1 {
    font-size: 2.75rem;
  }

  .grid-3,
  .split,
  .lead-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .brand {
    min-width: 0;
  }

  .brand-sub {
    display: none;
  }

  .hero {
    min-height: 72vh;
    background-position: 58% center;
  }

  .hero-content {
    padding: 52px 0 70px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-stats,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 68px 0;
  }

  .section-head h2,
  .page-hero h1 {
    font-size: 1.85rem;
  }

  .lead-copy h2 {
    font-size: 1.65rem;
  }

  .footer-inner {
    display: grid;
  }
}
