:root {
  --bg: #000;
  --bar: #2d2d2d;
  --text: #f4f4f4;
  --muted: #bdbdbd;
  --line: #242424;
  --panel: #070707;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
}

.site-header {
  height: 34px;
  background: var(--bar);
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 46px;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
  white-space: nowrap;
}

.main-menu {
  display: flex;
  gap: 32px;
  align-items: center;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.main-menu::-webkit-scrollbar { display: none; }

.main-menu a {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  line-height: 34px;
}

.main-menu a.active,
.main-menu a:hover { color: #fff; }

.contact-page {
  width: min(92vw, 1320px);
  margin: 96px auto 90px;
}

h1 {
  margin: 0 0 28px;
  font-size: 26px;
  line-height: 1.1;
  font-weight: 700;
  text-transform: lowercase;
  text-align: center;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(310px, 430px);
  width: min(100%, 900px);
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-feature {
  min-height: 420px;
  margin: 0;
  display: grid;
  place-items: center;
  background: #030303;
  border-right: 1px solid var(--line);
  overflow: hidden;
}

.contact-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .9;
}

.contact-feature span {
  color: var(--muted);
  font-size: 18px;
  font-weight: 700;
  text-transform: lowercase;
}

.contact-card {
  min-height: 420px;
  padding: 42px 44px 44px;
  background: var(--panel);
}

.contact-card h2 {
  margin: 0 0 42px;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 700;
  text-transform: lowercase;
}

.contact-name {
  margin: 0 0 6px;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  text-transform: lowercase;
}

.contact-subtitle {
  margin: 0 0 28px;
  color: #e7e7e7;
  line-height: 1.35;
}

.contact-text {
  margin: 0 0 28px;
  color: #e7e7e7;
  line-height: 1.5;
}

.contact-details {
  display: grid;
  gap: 16px;
  margin: 0;
}

.contact-details div {
  display: block;
  padding: 0;
  border-top: 0;
}

.contact-details dt {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: lowercase;
}

.contact-details dd {
  margin: 0;
  color: #fff;
  line-height: 1.35;
}

.contact-card a {
  color: #fff;
  text-decoration: none;
}

.contact-card a:hover,
.contact-card a:focus-visible {
  text-decoration: underline;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 26px;
  padding-top: 0;
  border-top: 0;
}

.social-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-transform: lowercase;
}

.social-links a:hover,
.social-links a:focus-visible { color: #fff; }

.site-footer {
  position: fixed;
  right: 30px;
  bottom: 22px;
  color: var(--muted);
  font-size: 14px;
  font-style: italic;
  display: flex;
  gap: 16px;
  align-items: center;
}

.language-switcher {
  display: flex;
  gap: 8px;
  font-style: normal;
  font-weight: 700;
}

.language-switcher a {
  color: var(--muted);
  text-decoration: none;
}

.language-switcher a.active,
.language-switcher a:hover { color: #fff; }

@media (max-width: 1050px) {
  .site-header { gap: 24px; padding: 0 16px; }
  .main-menu { gap: 20px; }
  .contact-page { margin-top: 90px; width: calc(100vw - 32px); }
  .site-footer { position: static; padding: 34px 16px 22px; text-align: right; }
}

@media (max-width: 760px) {
  .contact-panel { grid-template-columns: 1fr; }
  .contact-feature {
    min-height: 280px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .contact-card { min-height: 0; }
}

@media (max-width: 560px) {
  .site-header {
    height: auto;
    min-height: 44px;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 10px 16px;
  }
  .main-menu { width: 100%; }
  .main-menu a { line-height: 24px; font-size: 14px; }
  .contact-card { padding: 30px 24px 32px; }
}
