/* ============================================
   Amosphere — Municipal Automatic Resourceful System
   Main styles
   ============================================ */

/* ---------- e-Ukraine font ---------- */
@font-face {
  font-family: 'e-Ukraine';
  src: url('../fonts/e-ukraine/e-Ukraine-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'e-Ukraine';
  src: url('../fonts/e-ukraine/e-Ukraine-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'e-Ukraine';
  src: url('../fonts/e-ukraine/e-Ukraine-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'e-Ukraine';
  src: url('../fonts/e-ukraine/e-Ukraine-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'e-Ukraine Head';
  src: url('../fonts/e-ukraine/e-UkraineHead-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'e-Ukraine Head';
  src: url('../fonts/e-ukraine/e-UkraineHead-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-navy: #0A1F44;
  --color-navy-deep: #050F24;
  --color-navy-light: #1A2F5C;
  --color-teal: #00D4B4;
  --color-teal-dark: #00A88F;
  --color-white: #FFFFFF;
  --color-gray-50: #F7F9FC;
  --color-gray-100: #EEF2F8;
  --color-gray-200: #DDE4EF;
  --color-gray-400: #8B96AB;
  --color-gray-600: #4A5668;
  --color-text: #0A1F44;
  --color-text-muted: #5A6478;

  --font-sans: 'e-Ukraine', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'e-Ukraine Head', 'e-Ukraine', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 2px 8px rgba(10, 31, 68, 0.04);
  --shadow-md: 0 8px 24px rgba(10, 31, 68, 0.08);
  --shadow-lg: 0 20px 60px rgba(10, 31, 68, 0.12);

  --container: 1200px;
  --header-h: 80px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-family: var(--font-head);
}
p { margin: 0; }
dl, dt, dd { margin: 0; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  z-index: 100;
  transition: all 0.3s var(--ease);
}
.header.is-scrolled {
  border-bottom-color: var(--color-gray-200);
  box-shadow: var(--shadow-sm);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 32px;
}
.header__logo img { width: 170px; height: auto; }

.nav__list {
  display: flex;
  gap: 36px;
}
.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  opacity: 0.8;
  transition: all 0.2s ease;
  position: relative;
}
.nav__link:hover { opacity: 1; color: var(--color-teal-dark); }
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--color-teal);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
}
.nav__link:hover::after { transform: scaleX(1); }

.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header__cabinet {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-navy);
  border: 1.5px solid var(--color-gray-200);
  border-radius: 100px;
  background: var(--color-white);
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.header__cabinet svg { flex-shrink: 0; }
.header__cabinet:hover {
  color: var(--color-white);
  background: var(--color-navy);
  border-color: var(--color-navy);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(10, 31, 68, 0.15);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border: 1px solid var(--color-gray-200);
  border-radius: 100px;
  background: var(--color-white);
}
.lang-switch__btn {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-gray-400);
  padding: 4px 8px;
  border-radius: 100px;
  transition: all 0.2s ease;
}
.lang-switch__btn:hover { color: var(--color-text); }
.lang-switch__btn.is-active {
  color: var(--color-white);
  background: var(--color-navy);
}
.lang-switch__divider { color: var(--color-gray-200); font-weight: 300; }

.burger { display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 5px; padding: 10px; }
.burger span { display: block; height: 2px; background: var(--color-navy); border-radius: 2px; transition: all 0.3s ease; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 100px;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
  border: 1.5px solid transparent;
  font-family: var(--font-sans);
}
.btn--primary {
  background: var(--color-navy);
  color: var(--color-white);
}
.btn--primary:hover {
  background: var(--color-navy-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(10, 31, 68, 0.25);
}
.btn--ghost {
  color: var(--color-navy);
  border-color: var(--color-gray-200);
  background: transparent;
}
.btn--ghost:hover {
  background: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-navy);
}
.btn--lg { padding: 18px 34px; font-size: 15px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 60px) 0 100px;
  overflow: hidden;
  background: linear-gradient(180deg, #F7F9FC 0%, #FFFFFF 100%);
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 31, 68, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 31, 68, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center top, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center top, black 30%, transparent 70%);
}
.hero__glow {
  position: absolute;
  top: -200px; left: 50%;
  width: 800px; height: 800px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(0, 212, 180, 0.15) 0%, transparent 60%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  text-align: center;
  max-width: 860px;
}
.hero__badge {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 100px;
  background: rgba(0, 212, 180, 0.1);
  border: 1px solid rgba(0, 212, 180, 0.3);
  color: var(--color-teal-dark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
}
.hero__title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-bottom: 24px;
  font-family: var(--font-head);
}
.hero__title span { display: block; }
.hero__title-accent {
  background: linear-gradient(90deg, var(--color-navy) 0%, var(--color-teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__text {
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--color-text-muted);
  max-width: 720px;
  margin: 0 auto 40px;
  line-height: 1.75;
}
.hero__text strong { color: var(--color-navy); font-weight: 700; }
.hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 80px;
}
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--color-gray-200);
}
.hero__stat-num {
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
  font-family: var(--font-head);
}
.hero__stat-label {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* ---------- Sections ---------- */
.section {
  padding: 120px 0;
  position: relative;
}
.section--dark {
  background: var(--color-navy);
  color: var(--color-white);
}
.section--dark .section__title,
.section--dark .mars__item h3 { color: var(--color-white); }
.section--dark .section__subtitle,
.section--dark .mars__item p { color: rgba(255, 255, 255, 0.7); }
.section--dark .section__label {
  background: rgba(0, 212, 180, 0.15);
  color: var(--color-teal);
}

.section--alt { background: var(--color-gray-50); }

.section__head {
  max-width: 760px;
  margin: 0 auto 72px;
  text-align: center;
}
.section__label {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(10, 31, 68, 0.06);
  color: var(--color-navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.section__title {
  font-size: clamp(28px, 4.5vw, 46px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 20px;
  font-family: var(--font-head);
}
.section__subtitle {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.75;
}

/* ---------- About ---------- */
.about__text-wide {
  max-width: 820px;
  margin: 0 auto;
}
.about__text-wide p {
  font-size: 17px;
  color: var(--color-text-muted);
  line-height: 1.85;
  margin-bottom: 24px;
}
.about__text-wide p:last-child { margin-bottom: 0; }
.about__text-wide strong { color: var(--color-navy); font-weight: 700; }

/* ---------- MARS section ---------- */
.mars__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.mars__item {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s var(--ease);
}
.mars__item:hover {
  background: rgba(0, 212, 180, 0.06);
  border-color: rgba(0, 212, 180, 0.3);
  transform: translateY(-4px);
}
.mars__icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: rgba(0, 212, 180, 0.15);
  color: var(--color-teal);
  display: grid;
  place-items: center;
  margin-bottom: 24px;
}
.mars__icon svg { width: 26px; height: 26px; }
.mars__item h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}
.mars__item p {
  font-size: 14px;
  line-height: 1.7;
}

/* ---------- Benefits ---------- */
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.benefit {
  padding: 32px 28px;
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.benefit::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--color-navy), var(--color-teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.benefit:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.benefit:hover::before { transform: scaleX(1); }
.benefit__num {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-teal-dark);
  letter-spacing: 0.06em;
  margin-bottom: 18px;
  font-family: var(--font-head);
}
.benefit h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 12px;
}
.benefit p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.75;
}

/* ---------- Modules ---------- */
.modules__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.module {
  padding: 36px 32px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-gray-200);
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.module::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(0, 212, 180, 0.03), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}
.module:hover {
  border-color: var(--color-teal);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(10, 31, 68, 0.1);
}
.module:hover::after { opacity: 1; }
.module__icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-navy), var(--color-navy-light));
  color: var(--color-teal);
  display: grid;
  place-items: center;
  margin-bottom: 24px;
}
.module__icon svg { width: 28px; height: 28px; }
.module__tag {
  position: absolute;
  top: 32px; right: 32px;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-gray-400);
  letter-spacing: 0.05em;
  font-family: var(--font-head);
}
.module h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 12px;
}
.module__intro {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 18px;
}
.module__features {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}
.module__features li {
  position: relative;
  padding-left: 20px;
  font-size: 13px;
  color: var(--color-text);
  line-height: 1.55;
}
.module__features li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 10px; height: 2px;
  background: var(--color-teal);
  border-radius: 1px;
}
.module__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-teal-dark);
  transition: all 0.2s ease;
  margin-top: auto;
  align-self: flex-start;
}
.module__link:hover {
  color: var(--color-navy);
  gap: 8px;
}

/* ---------- Contact ---------- */
.section--contact {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--color-white) 0%, #F7F9FC 100%);
}
.contact__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.contact__text {
  font-size: 17px;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-top: 20px;
}
.contact__card {
  max-width: 560px;
  margin: 0 auto;
  padding: 56px 40px;
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-xl);
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.contact__card::before {
  content: '';
  position: absolute;
  top: -60%; left: 50%;
  transform: translateX(-50%);
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(0, 212, 180, 0.08) 0%, transparent 55%);
  pointer-events: none;
}
.contact__card > * { position: relative; }
.contact__card-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: rgba(0, 212, 180, 0.1);
  color: var(--color-teal-dark);
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
}
.contact__card-icon svg { width: 32px; height: 32px; }
.contact__card-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 10px;
  font-family: var(--font-head);
}
.contact__card-value {
  display: block;
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 32px;
  letter-spacing: -0.01em;
  font-family: var(--font-head);
  transition: color 0.2s ease;
}
.contact__card-value:hover { color: var(--color-teal-dark); }
.contact__card-btn {
  margin: 0 auto;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--color-navy-deep);
  color: rgba(255, 255, 255, 0.7);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
  padding: 80px 24px 60px;
}
.footer__brand img { margin-bottom: 20px; }
.footer__tagline {
  font-size: 13px;
  line-height: 1.75;
  max-width: 320px;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer__col h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 12px; }
.footer__col a, .footer__col li { font-size: 13px; transition: color 0.2s ease; }
.footer__col a:hover { color: var(--color-teal); }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  font-size: 12px;
}
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ---------- Module page (dedicated) ---------- */
.mpage { padding-top: var(--header-h); }
.mpage__hero {
  padding: 80px 0 60px;
  background: linear-gradient(180deg, #F7F9FC 0%, #FFFFFF 100%);
  position: relative;
  overflow: hidden;
}
.mpage__hero::before {
  content: '';
  position: absolute;
  top: -300px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0, 212, 180, 0.1) 0%, transparent 60%);
  pointer-events: none;
}
.mpage__crumbs {
  position: relative;
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mpage__crumbs a {
  color: var(--color-text-muted);
  transition: color 0.2s ease;
}
.mpage__crumbs a:hover { color: var(--color-teal-dark); }
.mpage__crumbs-sep { opacity: 0.5; }
.mpage__hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 60px;
  align-items: center;
}
.mpage__tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(0, 212, 180, 0.1);
  border: 1px solid rgba(0, 212, 180, 0.3);
  color: var(--color-teal-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.mpage__title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 20px;
  font-family: var(--font-head);
}
.mpage__subtitle {
  font-size: 17px;
  color: var(--color-text-muted);
  line-height: 1.75;
  max-width: 560px;
}
.mpage__hero-icon {
  justify-self: end;
  width: 220px; height: 220px;
  border-radius: 36px;
  background: linear-gradient(135deg, var(--color-navy), var(--color-navy-light));
  color: var(--color-teal);
  display: grid;
  place-items: center;
  box-shadow: 0 30px 80px rgba(10, 31, 68, 0.2);
  position: relative;
  overflow: hidden;
}
.mpage__hero-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(0, 212, 180, 0.2) 0%, transparent 60%);
}
.mpage__hero-icon svg { width: 100px; height: 100px; position: relative; z-index: 1; }

.mpage__section {
  padding: 80px 0;
}
.mpage__section--alt { background: var(--color-gray-50); }
.mpage__section-title {
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  font-family: var(--font-head);
}
.mpage__section-lead {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.8;
  max-width: 780px;
  margin-bottom: 40px;
}

.mpage__features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.mpage__feature {
  padding: 28px 26px;
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  transition: all 0.3s var(--ease);
}
.mpage__feature:hover {
  border-color: var(--color-teal);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.mpage__feature-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-teal-dark);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  font-family: var(--font-head);
}
.mpage__feature h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 10px;
}
.mpage__feature p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.mpage__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 32px;
  max-width: 880px;
}
.mpage__list li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.65;
}
.mpage__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 18px; height: 2px;
  background: var(--color-teal);
  border-radius: 1px;
}

.mpage__other {
  padding: 80px 0;
  background: var(--color-navy-deep);
  color: var(--color-white);
}
.mpage__other-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 32px;
  text-align: center;
  font-family: var(--font-head);
}
.mpage__other-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.mpage__other-card {
  padding: 24px 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  transition: all 0.25s var(--ease);
  display: flex;
  align-items: center;
  gap: 16px;
}
.mpage__other-card:hover {
  background: rgba(0, 212, 180, 0.08);
  border-color: rgba(0, 212, 180, 0.4);
  transform: translateY(-2px);
}
.mpage__other-card-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(0, 212, 180, 0.15);
  color: var(--color-teal);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.mpage__other-card-icon svg { width: 22px; height: 22px; }
.mpage__other-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 2px;
}
.mpage__other-card span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 1024px) {
  .mpage__hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .mpage__hero-icon { justify-self: start; }
  .mpage__features-grid { grid-template-columns: 1fr; }
  .mpage__list { grid-template-columns: 1fr; }
  .mpage__other-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .mpage__other-grid { grid-template-columns: 1fr; }
  .mpage__hero-icon { width: 160px; height: 160px; }
  .mpage__hero-icon svg { width: 70px; height: 70px; }
}

/* ---------- Scroll animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .mars__grid { grid-template-columns: repeat(2, 1fr); }
  .benefits__grid { grid-template-columns: repeat(2, 1fr); }
  .modules__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .section--contact { padding: 80px 0; }
  .hero { padding: calc(var(--header-h) + 40px) 0 80px; }
  .hero__stats { grid-template-columns: 1fr; gap: 24px; padding-top: 32px; }
  .section__head { margin-bottom: 48px; }
  .nav { display: none; }
  .burger { display: flex; }
  .nav.is-open {
    display: block;
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-gray-200);
    padding: 20px 24px;
    box-shadow: var(--shadow-md);
  }
  .nav.is-open .nav__list {
    flex-direction: column;
    gap: 20px;
  }
  .benefits__grid { grid-template-columns: 1fr; }
  .mars__grid { grid-template-columns: 1fr; }
  .modules__grid { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }
  .contact__card { padding: 40px 24px; }
  .hero__actions .btn { flex: 1; justify-content: center; }
}

@media (max-width: 900px) {
  .header__cabinet span { display: none; }
  .header__cabinet { padding: 9px 11px; gap: 0; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .header__logo img { width: 140px; }
  .lang-switch { padding: 5px 8px; }
  .lang-switch__btn { font-size: 11px; padding: 3px 6px; }
  .btn { padding: 12px 22px; font-size: 13px; }
  .btn--lg { padding: 16px 28px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
