:root {
  --bg: #0b0b0d;
  --ink: #f4f4f5;
  --muted: #b4b8c4;
  --accent: #4f7dff;
  --card: #141419;
  --line: #2a2d36;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: Inter, Segoe UI, Arial, sans-serif; color: var(--ink); background: var(--bg); }
.container { width: min(1100px, 92%); margin: 0 auto; }

.topbar { background: #101015; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.nav { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; gap: 12px; }
.topbar .brand,
.topbar .brand:link,
.topbar .brand:visited,
.topbar .brand:hover,
.topbar .brand:active,
.topbar .brand:focus {
  font-weight: 700;
  white-space: nowrap;
  color: #f4f4f5 !important;
  text-decoration: none !important;
}
nav { display: flex; flex-wrap: wrap; justify-content: flex-end; }
nav a { margin-left: 16px; color: var(--ink); text-decoration: none; font-size: 14px; }
nav a:hover { color: #ffffff; opacity: 0.9; }

.hero { padding: 72px 0 44px; }
.badge { display: inline-block; font-size: 12px; letter-spacing: 0.08em; border: 1px solid var(--line); padding: 6px 10px; border-radius: 999px; }
h1 { font-size: clamp(30px, 5vw, 48px); margin: 16px 0; }
.subtitle { color: var(--muted); max-width: 760px; }
.notice { color: #ffd28e; background: #2a1f12; border: 1px solid #6f5330; padding: 10px 12px; border-radius: 10px; display: inline-block; margin-top: 14px; }

.cta-row { margin-top: 18px; display: flex; gap: 12px; flex-wrap: wrap; }
.btn { padding: 10px 14px; border-radius: 10px; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-weight: 600; }
.btn.primary { background: var(--accent); color: #fff; }
.btn.ghost { background: #161821; color: var(--ink); border-color: var(--line); }

.section { padding: 36px 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.card p { color: var(--muted); line-height: 1.45; }

.countries-box { margin-top: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.countries-list { margin: 8px 0 0; padding-left: 20px; columns: 2; }
.countries-list.detailed { columns: 1; }
.countries-list.detailed li { margin-bottom: 8px; line-height: 1.45; }

.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 16px; }
.team-card { background: #161a22; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.team-card img { width: 100%; height: 280px; object-fit: cover; display: block; }
.team-card h3 { margin: 12px 14px 6px; color: #ffffff; }
.team-card p { margin: 0 14px 12px; color: #d9dfec; line-height: 1.45; }
.team-card.no-photo { padding-top: 0; }
.photo-placeholder {
  width: 100%;
  height: 280px;
  background: linear-gradient(135deg, #1c1f27, #202531);
  border-bottom: 1px solid var(--line);
}

.contact-box, .contact-form { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin-bottom: 12px; }
.qr-code-container { display: flex; justify-content: center; margin: 16px 0; }
.qr-code { width: 150px; height: 150px; border: 2px solid var(--line); border-radius: 8px; padding: 8px; background: #ffffff; }
.contact-form label { display: block; margin-bottom: 10px; font-weight: 600; color: #ffffff; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; margin-top: 6px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: #10131a; color: #f5f7ff; }

.two-col { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.three-col { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.method-fields { margin: 10px 0 14px; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: #10131a; }
.method-fields h3 { margin-top: 0; }
.card-icons { color: var(--muted); margin: 4px 0 10px; font-weight: 600; }
.hidden, [hidden] { display: none !important; }

.footer { border-top: 1px solid var(--line); margin-top: 24px; background: #101015; }
.footer p { color: var(--muted); padding: 18px 0; margin: 0; font-size: 14px; }

.form-message.success {
  background: #0d2818;
  border: 1px solid #1a6b35;
  border-radius: 10px;
  padding: 20px 24px;
  margin-top: 16px;
  color: #6ee7a0;
  font-size: 15px;
  line-height: 1.6;
}
