@font-face {
  font-family: "Montserrat";
  src: url("Montserrat/static/Montserrat-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("Montserrat/static/Montserrat-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("Montserrat/static/Montserrat-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("Montserrat/static/Montserrat-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("Montserrat/static/Montserrat-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #0c233f;
  --green: #8dc63f;
  --green-light: #d9eaa8;
  --bg: #f7faf4;
  --white: #ffffff;
  --text: #69727d;
  --muted: #8a96a3;
  --line: rgba(12, 35, 63, 0.12);
  --shadow: 0 22px 70px rgba(12, 35, 63, 0.12);
  --radius: 28px;
  --header-height: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: "Montserrat", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(141, 198, 63, 0.7);
  outline-offset: 4px;
}

.page {
  min-height: 100vh;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 35px rgba(12, 35, 63, 0.08);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: var(--header-height);
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.logo img {
  width: 78px;
  height: 58px;
  object-fit: contain;
  border-radius: 14px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex: 1 1 auto;
}

.desktop-nav a,
.mobile-nav a {
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  transition: color 0.2s ease;
}

.desktop-nav a:hover,
.mobile-nav a:hover {
  color: var(--green);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f2f7ea;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.lang-switcher a,
.lang-switcher span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
}

.lang-switcher .active {
  background: var(--blue);
  color: var(--white);
}

.contact-btn,
.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-btn {
  background: var(--green);
  color: var(--blue);
  box-shadow: 0 12px 28px rgba(141, 198, 63, 0.35);
  white-space: nowrap;
}

.primary-btn {
  background: var(--green);
  color: var(--blue);
  box-shadow: 0 18px 40px rgba(141, 198, 63, 0.35);
}

.secondary-btn {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 18px 40px rgba(12, 35, 63, 0.25);
}

.contact-btn:hover,
.primary-btn:hover,
.secondary-btn:hover {
  transform: translateY(-2px);
}

.burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  cursor: pointer;
  z-index: 1200;
}

.burger span {
  position: absolute;
  left: 11px;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
  transition: transform 0.3s ease, opacity 0.25s ease, top 0.3s ease;
}

.burger span:nth-child(1) {
  top: 14px;
}

.burger span:nth-child(2) {
  top: 21px;
}

.burger span:nth-child(3) {
  top: 28px;
}

.burger.is-active span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

.burger.is-active span:nth-child(2) {
  opacity: 0;
}

.burger.is-active span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
  padding: 20px;
  background: rgba(12, 35, 63, 0.35);
}

.mobile-menu.is-open {
  display: block;
}

.mobile-panel {
  display: flex;
  flex-direction: column;
  min-height: min(720px, calc(100vh - 40px));
  padding: 22px;
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.mobile-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.mobile-close {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  color: var(--blue);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.mobile-nav {
  display: grid;
  gap: 22px;
}

.mobile-nav a {
  font-size: 22px;
}

.mobile-panel .contact-btn {
  width: 100%;
  margin-top: auto;
}

section {
  scroll-margin-top: calc(var(--header-height) + 28px);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 72px;
  background:
    radial-gradient(circle at 84% 12%, rgba(141, 198, 63, 0.24), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #f0f7e6 100%);
}

.hero-grid,
.split-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--blue);
  line-height: 1.12;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 800;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 800;
}

.lead {
  max-width: 760px;
  margin-bottom: 30px;
  color: var(--text);
  font-size: clamp(16px, 1.7vw, 19px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 38px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.stat-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
}

.stat-card strong {
  display: block;
  color: var(--blue);
  font-size: 30px;
  line-height: 1;
}

.stat-card span {
  display: block;
  margin-top: 6px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 420px;
  border-radius: 38px;
  background:
    linear-gradient(rgba(12, 35, 63, 0.2), rgba(12, 35, 63, 0.6)),
    url("https://images.unsplash.com/photo-1503454537195-1dcabb73ffb9?auto=format&fit=crop&w=900&q=80") center/cover;
  box-shadow: var(--shadow);
}

.hero-note {
  position: absolute;
  right: 24px;
  bottom: 24px;
  max-width: 300px;
  padding: 22px;
  border-radius: 24px;
  background: var(--white);
  color: var(--blue);
  font-weight: 800;
}

.section {
  padding: 84px 0;
}

.section-white {
  background: var(--white);
}

.section-blue {
  background: var(--blue);
  color: rgba(255, 255, 255, 0.78);
}

.section-blue h2,
.section-blue h3 {
  color: var(--white);
}

.section-blue .eyebrow,
.section-blue .lead {
  color: rgba(255, 255, 255, 0.78);
}

.section-head {
  max-width: 850px;
  margin-bottom: 34px;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 16px 18px;
  border-radius: 18px;
  background: #eef7df;
  color: var(--blue);
  font-weight: 800;
}

.nav-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.nav-card,
.card,
.law-card,
.responsibility-card,
.time-card,
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 40px rgba(12, 35, 63, 0.06);
}

.nav-card {
  display: flex;
  align-items: center;
  min-height: 112px;
  padding: 22px;
  color: var(--blue);
  font-weight: 800;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.nav-card:hover {
  transform: translateY(-4px);
  border-color: rgba(141, 198, 63, 0.65);
  background: #fbfff4;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.cards-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cards-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  padding: 26px;
}

.card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 18px;
  background: #eef7df;
  color: var(--blue);
  font-size: 26px;
}

.check-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 92px;
  color: var(--blue);
  font-weight: 800;
}

.check-card .icon {
  margin: 0;
  width: 38px;
  height: 38px;
  font-size: 18px;
}

.alert,
.highlight {
  margin-top: 26px;
  padding: 24px;
  border-radius: 24px;
  background: #eef7df;
  color: var(--blue);
  font-weight: 700;
}

.alert strong,
.highlight strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin-bottom: 18px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--green-light);
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.law-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.law-card {
  padding: 28px;
}

.law-card .amount {
  display: block;
  margin: 16px 0 8px;
  color: var(--green);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 800;
  line-height: 1;
}

.law-card .mci {
  color: var(--blue);
  font-size: 22px;
  font-weight: 800;
}

.responsibility-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.responsibility-card {
  padding: 22px;
}

.responsibility-card .num {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--green);
  font-size: 24px;
  font-weight: 800;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.article-tags span {
  padding: 8px 10px;
  border-radius: 999px;
  background: #eef7df;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.time-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.time-card {
  padding: 30px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.78);
  box-shadow: none;
}

.time-card h3,
.time-card .time {
  color: var(--white);
}

.time-card .time {
  display: block;
  margin-bottom: 16px;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 800;
  line-height: 1;
}

.memory {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.memory div {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-weight: 800;
}

.steps {
  display: grid;
  gap: 18px;
}

.step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 22px;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 40px rgba(12, 35, 63, 0.06);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: var(--blue);
  color: var(--white);
  font-size: 22px;
  font-weight: 800;
}

.service-card {
  text-align: center;
}

.service-card .icon {
  margin-left: auto;
  margin-right: auto;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 22px 24px;
  border: 0;
  background: var(--white);
  color: var(--blue);
  cursor: pointer;
  font-weight: 800;
  text-align: left;
}

.faq-icon {
  flex: 0 0 auto;
  color: var(--green);
  font-size: 28px;
  line-height: 1;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease;
}

.faq-answer-inner {
  padding: 0 24px 24px;
}

.cta {
  position: relative;
  overflow: hidden;
  border-radius: 40px;
  padding: 54px;
  background:
    radial-gradient(circle at 85% 10%, rgba(217, 234, 168, 0.75), transparent 34%),
    linear-gradient(135deg, var(--green) 0%, #d9eaa8 100%);
  color: var(--blue);
}

.cta h2 {
  margin-bottom: 12px;
}

.cta-number {
  display: block;
  margin: 20px 0 24px;
  font-size: clamp(72px, 12vw, 140px);
  font-weight: 800;
  line-height: 0.9;
}

.footer {
  padding: 48px 0 28px;
  background: var(--blue);
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.9fr;
  gap: 36px;
}

.footer h3,
.footer strong {
  color: var(--white);
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a:hover {
  color: var(--green);
}

.copyright {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 14px;
}

@media (max-width: 1120px) {
  .desktop-nav {
    gap: 14px;
  }

  .desktop-nav a {
    font-size: 12px;
  }

  .nav-grid,
  .responsibility-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .hero-grid,
  .split-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 340px;
  }

  .cards-grid,
  .law-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards-grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .desktop-nav {
    display: none;
  }

  .burger {
    display: inline-flex;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 74px;
  }

  body {
    font-size: 16px;
    line-height: 1.65;
  }

  .container {
    width: min(100% - 28px, 1180px);
  }

  .header-inner {
    gap: 8px;
    min-height: var(--header-height);
  }

  .logo img {
    width: 58px;
    height: 46px;
    border-radius: 10px;
  }

  .header-actions {
    gap: 7px;
  }

  .lang-switcher {
    font-size: 11px;
  }

  .lang-switcher a,
  .lang-switcher span {
    min-height: 30px;
    padding: 0 7px;
  }

  .contact-btn {
    min-height: 38px;
    padding: 0 12px;
    font-size: 12px;
  }

  .burger {
    width: 44px;
    height: 44px;
  }

  .hero,
  .section {
    padding: 58px 0;
  }

  .hero-actions,
  .stats,
  .nav-grid,
  .cards-grid,
  .cards-grid.two,
  .cards-grid.four,
  .law-grid,
  .responsibility-grid,
  .time-grid,
  .memory,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stats {
    display: grid;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 280px;
    border-radius: 28px;
  }

  .hero-note {
    left: 18px;
    right: 18px;
    bottom: 18px;
    max-width: none;
  }

  .nav-card {
    min-height: 82px;
  }

  .card,
  .law-card,
  .responsibility-card,
  .time-card,
  .step,
  .cta {
    border-radius: 22px;
    padding: 22px;
  }

  .step {
    grid-template-columns: 1fr;
  }

  .mobile-menu {
    padding: 12px;
  }

  .mobile-panel {
    min-height: calc(100vh - 24px);
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 22px, 1180px);
  }

  .header-inner {
    gap: 5px;
  }

  .contact-btn {
    padding: 0 9px;
    font-size: 11px;
  }

  .lang-switcher a,
  .lang-switcher span {
    padding: 0 6px;
  }

  .burger {
    flex: 0 0 44px;
  }

  .mobile-nav a {
    font-size: 19px;
  }

  .stat-card strong {
    font-size: 26px;
  }
}
