:root {
  --bg: #0a0a0a;
  --bg-soft: #141414;
  --bg-card: #1a1a1a;
  --line: #262626;
  --text: #f3f3f3;
  --text-dim: #9a9a9a;
  --gold: #c9a55a;
  --gold-soft: #e8d399;
  --red: #c8253b;
  --red-soft: #e6364c;
  --shadow: 0 18px 40px rgba(0,0,0,.45);
  --radius: 14px;
  --maxw: 1240px;
  --font-display: "Playfair Display", "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold-soft); }
img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ===== HEADER ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,10,.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 56px; width: 56px; object-fit: contain; }
.brand-name {
  font-family: var(--font-display);
  font-size: 22px; letter-spacing: .04em;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav { display: flex; gap: 28px; align-items: center; }
.nav a {
  font-size: 14px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-dim); position: relative;
}
.nav a.active, .nav a:hover { color: var(--text); }
.nav a.active::after, .nav a:hover::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px;
  height: 2px; background: var(--gold);
}
.nav-cta {
  padding: 10px 18px; border: 1px solid var(--gold);
  border-radius: 999px; color: var(--gold-soft) !important;
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  transition: all .25s ease;
}
.nav-cta:hover {
  background: var(--gold); color: var(--bg) !important;
}
.burger {
  display: none; width: 36px; height: 36px;
  background: transparent; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; justify-content: center; align-items: center;
}
.burger span { width: 22px; height: 2px; background: var(--text); }

.lang-switch {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line); border-radius: 999px;
  overflow: hidden; margin-right: 4px;
}
.lang-btn {
  font: inherit; font-size: 12px; letter-spacing: .12em;
  padding: 7px 12px; background: transparent; color: var(--text-dim);
  border: none; cursor: pointer; transition: color .2s ease, background .2s ease;
}
.lang-btn:hover { color: var(--text); }
.lang-btn.active {
  background: var(--gold);
  color: var(--bg);
}
.header-tools { display: flex; align-items: center; gap: 14px; }

/* ===== HERO ===== */
.hero {
  position: relative; padding: 90px 0 110px;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 400px at 80% 20%, rgba(200,37,59,.18), transparent 60%),
              radial-gradient(500px 350px at 10% 90%, rgba(201,165,90,.12), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: relative; display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 60px; align-items: center;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 600; line-height: 1.05; letter-spacing: -.01em;
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: italic; font-weight: 400;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p {
  font-size: 17px; color: var(--text-dim); max-width: 520px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 14px 26px;
  border-radius: 999px; font-size: 14px; letter-spacing: .14em;
  text-transform: uppercase; cursor: pointer; border: none;
  transition: all .25s ease; font-weight: 500;
}
.btn-primary {
  background: linear-gradient(135deg, var(--red-soft), var(--red));
  color: #fff;
  box-shadow: 0 12px 28px rgba(200,37,59,.32);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(200,37,59,.42);
}
.btn-ghost {
  background: transparent; color: var(--gold-soft);
  border: 1px solid var(--gold);
}
.btn-ghost:hover { background: var(--gold); color: var(--bg); }

.hero-logo-wrap {
  position: relative; aspect-ratio: 1/1;
  display: flex; align-items: center; justify-content: center;
}
.hero-logo-wrap::before {
  content: ""; position: absolute; inset: 10%;
  background: radial-gradient(closest-side, rgba(200,37,59,.32), transparent 70%);
  filter: blur(40px);
}
.hero-logo-wrap img {
  position: relative; z-index: 1;
  max-width: 92%; max-height: 92%;
  object-fit: contain;
  filter: drop-shadow(0 18px 32px rgba(0,0,0,.6));
}

/* ===== SECTIONS ===== */
section { padding: 80px 0; }
.section-head {
  text-align: center; margin-bottom: 56px;
}
.section-eyebrow {
  font-size: 12px; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 500; line-height: 1.1;
}
.section-sub {
  margin-top: 14px; color: var(--text-dim); max-width: 580px; margin-left: auto; margin-right: auto;
}

/* ===== FEATURES (главная) ===== */
.features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.feature {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px 28px;
  transition: transform .25s ease, border-color .25s ease;
}
.feature:hover { transform: translateY(-4px); border-color: var(--gold); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(201,165,90,.18), rgba(200,37,59,.18));
  color: var(--gold-soft); font-size: 22px; margin-bottom: 18px;
}
.feature h3 {
  font-family: var(--font-display); font-size: 22px; font-weight: 500;
  margin-bottom: 10px;
}
.feature p { color: var(--text-dim); font-size: 14px; }

/* ===== CATALOG ===== */
.catalog-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  display: flex; flex-direction: column;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}
.card-media {
  position: relative; aspect-ratio: 3/4; background: #000;
  overflow: hidden;
}
.card-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .4s ease;
}
.card-media img.active { opacity: 1; }
.card-dots {
  position: absolute; left: 0; right: 0; bottom: 12px;
  display: flex; justify-content: center; gap: 6px;
  z-index: 2;
}
.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,.45); cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.dot.active { background: var(--gold); transform: scale(1.25); }
.card-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(0,0,0,.5); color: #fff;
  border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0; transition: opacity .25s ease;
  z-index: 2;
}
.card:hover .card-arrow { opacity: 1; }
.card-arrow.prev { left: 10px; }
.card-arrow.next { right: 10px; }
.card-body { padding: 18px 20px 22px; }
.card-name {
  font-family: var(--font-display); font-size: 22px; font-weight: 500;
  margin-bottom: 4px;
}
.card-tagline {
  font-size: 13px; color: var(--text-dim); margin-bottom: 14px;
  font-style: italic;
}
.card-stats {
  display: flex; gap: 14px; flex-wrap: wrap;
  font-size: 13px; color: var(--text-dim);
  border-top: 1px solid var(--line); padding-top: 14px;
}
.card-stats span strong { color: var(--text); font-weight: 600; }

/* ===== VACANCIES ===== */
.vac-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px;
  align-items: start;
}
.vac-list { display: grid; gap: 18px; }
.vac-item {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 24px;
  display: flex; gap: 18px; align-items: flex-start;
}
.vac-item .ico {
  flex: 0 0 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(201,165,90,.2), rgba(200,37,59,.2));
  color: var(--gold-soft); display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.vac-item h4 { font-size: 17px; margin-bottom: 4px; }
.vac-item p { color: var(--text-dim); font-size: 14px; }

.form-card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 36px 32px;
}
.form-card h3 {
  font-family: var(--font-display); font-size: 24px; font-weight: 500;
  margin-bottom: 8px;
}
.form-card p.sub { color: var(--text-dim); font-size: 14px; margin-bottom: 24px; }
.form-row { margin-bottom: 16px; }
.form-row label {
  display: block; font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--text-dim); margin-bottom: 6px;
}
.form-row input, .form-row textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  background: var(--bg-soft); color: var(--text);
  border: 1px solid var(--line); font: inherit;
  transition: border-color .2s ease;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none; border-color: var(--gold);
}
.form-row textarea { min-height: 90px; resize: vertical; }
.form-card .btn { width: 100%; }

/* ===== CONTACTS ===== */
.contacts-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.contact-card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 28px;
  text-align: center; transition: border-color .25s ease, transform .25s ease;
}
.contact-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.contact-card .ico {
  width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(201,165,90,.22), rgba(200,37,59,.22));
  color: var(--gold-soft); display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.contact-card h4 { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 8px; }
.contact-card .val {
  font-family: var(--font-display); font-size: 22px; color: var(--text);
}

/* ===== FOOTER ===== */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 50px 0 30px;
  margin-top: 60px;
  background: #060606;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 36px;
}
.footer-brand p {
  color: var(--text-dim); font-size: 14px; margin-top: 14px;
  max-width: 320px;
}
.footer-col h5 {
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.footer-col a {
  display: block; font-size: 14px; color: var(--text-dim);
  padding: 4px 0;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; flex-wrap: wrap;
  gap: 12px; font-size: 13px; color: var(--text-dim);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  body { overflow-x: hidden; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-grid > :first-child { order: 2; }
  .hero-grid > .hero-logo-wrap { order: 1; }
  .hero { padding: 40px 0 50px; }
  .hero h1 {
    font-size: clamp(30px, 8vw, 44px);
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
  }
  .hero p { font-size: 15px; margin-bottom: 26px; }
  .hero-logo-wrap {
    max-width: 280px; margin: 0 auto;
    aspect-ratio: 1/1;
  }
  .hero-actions { gap: 10px; }
  .btn { padding: 12px 20px; font-size: 13px; }

  .features { grid-template-columns: 1fr; }
  .vac-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .nav { display: none; }
  .nav.open {
    display: flex; position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; padding: 20px 24px; gap: 18px;
    background: var(--bg-soft); border-bottom: 1px solid var(--line);
  }
  .burger { display: flex; }

  .section-title { font-size: clamp(26px, 6vw, 36px); }
  .container { padding: 0 18px; }
  .brand-name { font-size: 18px; }
  .brand img { height: 44px; width: 44px; }
  .header-inner { height: 64px; }
  .nav.open { top: 64px; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 50px 0; }
  .hero h1 { font-size: clamp(26px, 9vw, 38px); }
  .hero-logo-wrap { max-width: 240px; }
  .lang-btn { padding: 6px 9px; font-size: 11px; }
  .header-tools { gap: 10px; }
  .card-stats { gap: 10px; font-size: 12px; }
  .form-card { padding: 28px 22px; }
}
