:root {
  --bg: #06080d;
  --bg-2: #0b1018;
  --card: #101720;
  --line: rgba(232, 228, 216, 0.1);
  --text: #f3efe6;
  --muted: #9aa3ad;
  --cyan: #5eead4;
  --cyan-dim: rgba(94, 234, 212, 0.14);
  --gold: #e2c07a;
  --danger: #ff6b7a;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Manrope", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.skip {
  position: absolute; left: -999px;
}
.skip:focus { left: 16px; top: 16px; z-index: 80; background: #fff; color: #000; padding: 8px 12px; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(22px);
  background: rgba(6, 8, 13, 0.78);
  border-bottom: 1px solid var(--line);
}
.header-in {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 76px; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 46px; height: 46px; border-radius: 12px; object-fit: cover; }
.brand-name { font-family: Syne, sans-serif; font-weight: 700; letter-spacing: 0.08em; font-size: 1.05rem; }
.brand-name span { color: var(--cyan); }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { color: var(--muted); font-size: 0.92rem; font-weight: 600; }
.nav a:hover { color: var(--text); }
.header-tools { display: flex; align-items: center; gap: 14px; }
.lang {
  display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden;
}
.lang button {
  background: transparent; border: 0; padding: 7px 10px; cursor: pointer;
  color: var(--muted); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.04em;
}
.lang button.active, .lang button:hover { background: var(--cyan-dim); color: var(--cyan); }
.social-mini { display: flex; gap: 8px; }
.social-mini a {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--line); color: var(--muted);
}
.social-mini a:hover { color: var(--cyan); border-color: var(--cyan); }
.menu-btn {
  display: none; background: none; border: 1px solid var(--line);
  color: var(--text); padding: 8px 10px; border-radius: 10px; cursor: pointer;
}

/* Hero */
.hero {
  position: relative; min-height: 88vh;
  display: grid; align-items: end;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6,8,13,0.25) 0%, rgba(6,8,13,0.2) 40%, rgba(6,8,13,0.92) 100%),
    radial-gradient(80% 60% at 20% 80%, rgba(94,234,212,0.18), transparent 55%);
}
.hero-copy { position: relative; z-index: 2; padding: 0 0 72px; max-width: 760px; }
.kicker {
  color: var(--cyan); letter-spacing: 0.18em; text-transform: uppercase;
  font-size: 0.74rem; font-weight: 700; margin-bottom: 16px;
}
h1, h2, h3 { font-family: Syne, sans-serif; line-height: 1.08; letter-spacing: -0.03em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); margin-bottom: 18px; }
.lead { font-size: 1.12rem; color: #d4d0c6; max-width: 640px; margin-bottom: 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 999px; padding: 13px 22px; font-weight: 700; border: 1px solid transparent;
  cursor: pointer; transition: 0.2s ease;
}
.btn-cyan { background: var(--cyan); color: #06201c; }
.btn-cyan:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(94,234,212,0.28); }
.btn-ghost { border-color: var(--line); color: var(--text); background: rgba(255,255,255,0.03); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }

section { padding: 92px 0; }
.section-head { max-width: 680px; margin-bottom: 42px; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin: 8px 0 12px; }
.section-head p { color: var(--muted); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.card {
  background: linear-gradient(180deg, #121a24, #0d131b);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.card:hover { border-color: rgba(94,234,212,0.35); }
.card img { width: 100%; height: 210px; object-fit: cover; }
.card-body { padding: 22px; }
.card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.95rem; }

.story { background: var(--bg-2); }
.story-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.story-shot { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 420px; }
.story-shot img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.story-shot figcaption {
  position: absolute; left: 18px; bottom: 18px; right: 18px;
  background: rgba(6,8,13,0.72); backdrop-filter: blur(12px);
  border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px;
}
.story-shot.bad figcaption { border-color: rgba(255,107,122,0.35); }
.story-shot.good figcaption { border-color: rgba(94,234,212,0.4); }
.story-shot h3 { margin-bottom: 6px; }
.badge {
  display: inline-block; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 800; margin-bottom: 8px;
}
.badge-bad { color: var(--danger); }
.badge-good { color: var(--cyan); }

.lifestyle {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 36px; align-items: center;
}
.lifestyle img { border-radius: var(--radius); height: 460px; width: 100%; object-fit: cover; }
.checks { list-style: none; display: grid; gap: 12px; margin-top: 18px; }
.checks li {
  padding-left: 28px; position: relative; color: #d7d2c7;
}
.checks li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px var(--cyan-dim);
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 12px;
}
.job {
  position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line);
}
.job:nth-child(1) { grid-column: span 2; grid-row: span 1; }
.job:nth-child(2), .job:nth-child(5) { grid-row: span 2; }
.job img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.05) saturate(1.05); }
.job-meta {
  position: absolute; inset: auto 0 0 0; padding: 14px;
  background: linear-gradient(transparent, rgba(0,0,0,0.78));
  display: flex; justify-content: space-between; align-items: end; gap: 10px;
}
.job-meta p { font-size: 0.82rem; font-weight: 600; }
.like-btn {
  background: rgba(255,255,255,0.08); border: 1px solid var(--line);
  border-radius: 999px; padding: 6px 10px; cursor: pointer; font-size: 0.82rem;
}
.like-btn.liked { color: #ff8ea0; border-color: #ff8ea0; }

.comments-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.comment-form, .comment-list, .contact-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
}
.field { display: grid; gap: 6px; margin-bottom: 12px; }
.field label { font-size: 0.82rem; color: var(--muted); }
.field input, .field textarea, .field select {
  background: #0a0f16; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
}
.field textarea { min-height: 110px; resize: vertical; }
.comment {
  border-bottom: 1px solid var(--line); padding: 14px 0;
}
.comment strong { display: block; }
.comment small { color: var(--muted); }
.share-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }

.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 22px; }
.mail { color: var(--cyan); font-size: 1.25rem; font-weight: 700; }

footer {
  border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 0.9rem;
}
.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }

@media (max-width: 980px) {
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 76px;
    background: #0b1018; padding: 18px 22px 24px; border-bottom: 1px solid var(--line);
  }
  .menu-btn { display: block; }
  .grid-3, .story-pair, .lifestyle, .comments-wrap, .contact-grid { grid-template-columns: 1fr; }
  .jobs-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .job:nth-child(1) { grid-column: span 2; }
  .hero { min-height: 78vh; }
}

@media (max-width: 640px) {
  .jobs-grid { grid-template-columns: 1fr; }
  .job, .job:nth-child(1), .job:nth-child(2), .job:nth-child(5) { grid-column: auto; grid-row: auto; height: 260px; }
  .header-in { min-height: 68px; }
  .social-mini { display: none; }
}
