:root {
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --text: #14171c;
  --text-muted: #5b6470;
  --border: #e6e9ee;
  --accent: #14171c;
  --accent-soft: #f2f4f7;
  --wa: #25d366;
  --wa-dark: #1eb455;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --maxw: 1080px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px 48px;
}

/* ---------- Header ---------- */

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  flex-wrap: wrap;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--text);
  text-decoration: none;
}

.logo__mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  flex: none;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  background: var(--accent-soft);
  border-radius: 999px;
}

.lang-switch__item {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.lang-switch__item:hover {
  color: var(--text);
}

.lang-switch__item.is-active {
  background: var(--bg);
  color: var(--text);
  box-shadow: 0 1px 3px rgba(20, 23, 28, 0.08);
}

/* ---------- Hero ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 36px;
  align-items: center;
  padding: 20px 0 40px;
}

.hero > * {
  min-width: 0;
}

.hero__title {
  margin: 0 0 16px;
  font-size: clamp(26px, 4.2vw, 42px);
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.hero__description {
  margin: 0;
  font-size: clamp(16px, 2vw, 18px);
  color: var(--text-muted);
  overflow-wrap: anywhere;
}

.hero__media {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-soft);
  box-shadow: 0 10px 30px rgba(20, 23, 28, 0.07);
}

.hero__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ---------- Benefits ---------- */

.benefits {
  padding: 0 0 40px;
}

.benefits__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.benefits__item {
  position: relative;
  padding: 20px 20px 20px 50px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 16px;
  overflow-wrap: anywhere;
}

.benefits__item::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 26px;
  width: 16px;
  height: 9px;
  border-left: 2px solid var(--text);
  border-bottom: 2px solid var(--text);
  transform: rotate(-45deg);
}

/* ---------- Sections ---------- */

.contacts {
  padding: 0 0 40px;
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 20px 34px;
  background: var(--wa);
  color: #ffffff;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.25);
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.whatsapp-btn:hover {
  background: var(--wa-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn svg {
  flex: none;
}

/* ---------- Legal ---------- */

.legal {
  padding: 0 0 40px;
}

.legal__card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
}

.legal__name {
  margin: 0 0 18px;
  font-size: 19px;
  font-weight: 700;
}

.legal__rows {
  margin: 0;
  display: grid;
  gap: 10px;
}

.legal__row {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
}

.legal__label {
  color: var(--text-muted);
  font-size: 15px;
}

.legal__value {
  margin: 0;
  font-size: 15px;
  overflow-wrap: anywhere;
}

/* ---------- Documents ---------- */

.document {
  padding: 10px 0 40px;
  max-width: 760px;
}

.doc-title {
  margin: 0 0 22px;
  font-size: clamp(25px, 3.4vw, 36px);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.doc-lead {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 600;
}

.doc-text {
  margin: 0 0 12px;
  color: var(--text-muted);
}

.doc-block {
  margin: 30px 0 0;
}

.doc-block__title {
  margin: 0 0 12px;
  font-size: 19px;
  font-weight: 700;
}

.doc-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: docitem;
}

.doc-list__item {
  position: relative;
  counter-increment: docitem;
  padding: 0 0 12px 38px;
  color: var(--text-muted);
}

.doc-list__item::before {
  content: counter(docitem);
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--border);
  padding-top: 26px;
  display: grid;
  gap: 10px;
}

.footer__copy {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  margin: 0;
  font-size: 14px;
}

.footer__links a {
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
}

.footer__links a:hover {
  color: var(--text);
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .page {
    padding: 0 16px 36px;
  }

  .header {
    padding: 18px 0;
  }

  .benefits__list {
    grid-template-columns: minmax(0, 1fr);
  }

  .legal__row {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .legal__card {
    padding: 20px;
  }

  .hero {
    padding: 12px 0 32px;
  }

  .whatsapp-btn {
    display: flex;
    width: 100%;
    max-width: none;
    padding: 19px 22px;
    font-size: 17px;
  }
}

@media (max-width: 380px) {
  .logo {
    font-size: 18px;
    gap: 8px;
  }

  .logo__mark {
    width: 30px;
    height: 30px;
  }

  .lang-switch__item {
    padding: 6px 11px;
    font-size: 12px;
  }

  .benefits__item {
    padding: 18px 16px 18px 46px;
  }

  .benefits__item::before {
    left: 16px;
  }
}
