:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --text: #1a1f2e;
  --muted: #5c6578;
  --accent: #1d4ed8;
  --accent-hover: #1e40af;
  --border: #e4e8f0;
  --shadow: 0 10px 30px rgba(26, 31, 46, 0.06);
  --radius: 14px;
  --max: 960px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.logo__mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.nav {
  display: none;
  gap: 1.25rem;
}

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--text);
  text-decoration: none;
}

.lang-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
}

.lang-switch__btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font: inherit;
  cursor: pointer;
}

.lang-switch__btn.is-active {
  background: var(--accent);
  color: #fff;
}

.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero__inner {
  max-width: 720px;
}

.hero__label {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero__title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
}

.hero__subtitle {
  margin: 0 0 1.75rem;
  color: var(--muted);
  font-size: 1.125rem;
  max-width: 36rem;
}

.button {
  display: inline-block;
  padding: 0.8rem 1.25rem;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.button:hover {
  background: var(--accent-hover);
  text-decoration: none;
}

.section {
  padding: 3rem 0;
}

.section--muted {
  background: #eef2f8;
}

.section h2 {
  margin: 0 0 1.25rem;
  font-size: 1.6rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.details {
  margin: 0;
}

.details__row {
  display: grid;
  gap: 0.25rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}

.details__row:last-child {
  border-bottom: 0;
}

.details dt {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.details dd {
  margin: 0;
  font-weight: 500;
}

.about__text {
  margin: 1.25rem 0 0;
  color: var(--muted);
}

.services {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.services__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}

.services__item h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.services__item p {
  margin: 0;
  color: var(--muted);
}

.contacts__person {
  margin-bottom: 0.5rem;
}

.contacts__name {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.contacts__role {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer__inner {
  display: grid;
  gap: 0.35rem;
}

.footer__en {
  margin: 0;
}

@media (min-width: 720px) {
  .nav {
    display: flex;
  }

  .details__row {
    grid-template-columns: 220px 1fr;
    align-items: start;
  }

  .services {
    grid-template-columns: repeat(3, 1fr);
  }
}
