/* Tokens */
:root,
[data-theme="light"] {
  --color-bg: #fafcff;
  --color-footer-bg: #f3f8ff;
  --color-surface-blue: #e1efff;
  --color-header: #73aed3;
  --color-accent: #7297bd;
  --color-text: #404040;
  --color-white: #ffffff;
  --color-card: #e1efff;
  --color-card-soft: #f3f8ff;
  --color-border: rgba(64, 64, 64, 0.22);
  --color-border-light: rgba(64, 64, 64, 0.12);
  --color-text-muted: rgba(64, 64, 64, 0.72);
  --color-text-invert: #ffffff;
  --color-overlay: rgba(64, 64, 64, 0.25);
  --shadow-sm: 0 2px 8px rgba(64, 64, 64, 0.06);
  --shadow-md: 0 8px 24px rgba(64, 64, 64, 0.1);

  --page-bg: var(--color-bg);
  --section-bg: var(--color-bg);
  --text: var(--color-text);
  --text-strong: var(--color-text);
  --muted: var(--color-text-muted);
  --hero-blue: var(--color-header);
  --hero-deep: #42637b;
  --glass: rgba(85, 128, 157, 0.42);
  --glass-border: rgba(255, 255, 255, 0.76);
  --card-blue: var(--color-card);
  --card-blue-dark: #cbe3f8;
  --accent: var(--color-accent);
  --accent-soft: #d7edff;
  --footer-bg: var(--color-footer-bg);
  --footer-line: #cfe6fb;
}

[data-theme="dark"] {
  --color-bg: #303b4d;
  --color-footer-bg: #3d5977;
  --color-surface-blue: #e1efff;
  --color-header: #609bc1;
  --color-accent: #85beef;
  --color-text: #ffffff;
  --color-white: #ffffff;
  --color-card: #3f5873;
  --color-card-soft: rgba(255, 255, 255, 0.08);
  --color-border: rgba(255, 255, 255, 0.35);
  --color-border-light: rgba(255, 255, 255, 0.16);
  --color-text-muted: rgba(255, 255, 255, 0.75);
  --color-text-invert: #334055;
  --color-overlay: rgba(51, 64, 85, 0.45);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.2);

  --page-bg: var(--color-bg);
  --section-bg: var(--color-bg);
  --text: var(--color-text);
  --text-strong: var(--color-text);
  --muted: var(--color-text-muted);
  --hero-blue: var(--color-header);
  --hero-deep: #293647;
  --glass: rgba(57, 85, 112, 0.48);
  --glass-border: rgba(228, 242, 255, 0.72);
  --card-blue: var(--color-card);
  --card-blue-dark: #365b7d;
  --accent: var(--color-accent);
  --accent-soft: #4a7193;
  --footer-bg: var(--color-footer-bg);
  --footer-line: #263446;
}

:root {
  --font-heading: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-main: var(--font-body);

  --h1-weight: 400;
  --h1-size: 40px;
  --h1-line-height: 55px;
  --h2-weight: 500;
  --h2-size: 30px;
  --h2-line-height: 41px;
  --h3-weight: 400;
  --h3-size: 28px;
  --h3-line-height: 34px;
  --h4-weight: 400;
  --h4-size: 26px;
  --h4-line-height: 36px;
  --h5-weight: 400;
  --h5-size: 24px;
  --h5-line-height: 33px;
  --h6-weight: 400;
  --h6-size: 15px;
  --h6-line-height: 18px;

  --body-1-weight: 400;
  --body-1-size: 20px;
  --body-1-line-height: 27px;
  --body-2-weight: 400;
  --body-2-size: 16px;
  --body-2-line-height: 19px;
  --body-3-weight: 600;
  --body-3-size: 16px;
  --body-3-line-height: 19px;
  --body-4-weight: 400;
  --body-4-size: 14px;
  --body-4-line-height: 17px;
  --body-5-weight: 400;
  --body-5-size: 12px;
  --body-5-line-height: 15px;

  --container-max: 1340px;
  --container: var(--container-max);
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-pill: 999px;
  --radius: var(--radius-md);
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;
  --shadow: var(--shadow-md);
  --transition: 180ms ease;
}

/* Base */
* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

/* Components */
.icon-img {
  display: block;
  object-fit: contain;
}

.service-icon,
.benefit-icon,
.round-btn img,
.theme-toggle img,
.social-row img,
.footer p img {
  display: block;
  object-fit: contain;
}

/* Layout */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--page-bg);
  color: var(--text);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.36;
}

html.is-menu-locked {
  overflow: hidden;
}

body.is-menu-locked {
  position: fixed;
  right: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), background-color var(--transition), border-color var(--transition), transform var(--transition);
}

button,
input {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.page-container {
  width: min(100% - 52px, var(--container));
  margin: 0 auto;
}

.header {
  position: absolute;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--color-header) 92%, transparent);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(14px);
}


.hero {
  position: relative;
  min-height: 936px;
  overflow: hidden;
  color: #ffffff;
  font-family: var(--font-heading);
}

.hero__bg,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: blur(1.4px);
  transform: scale(1.03);
}

.hero__overlay {
  background: linear-gradient(180deg, rgba(104, 177, 218, 0.83) 0%, rgba(82, 131, 162, 0.84) 56%, rgba(55, 79, 103, 0.9) 100%);
}

.top-nav,
.hero-grid {
  position: relative;
  z-index: 2;
}

.top-nav {
  padding-top: 22px;
}

.top-nav__inner {
  display: grid;
  grid-template-columns: 300px minmax(0, 760px) 250px;
  align-items: center;
  gap: 22px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #fff;

  font-weight: 600;
}

.logo img,
.footer-brand img {
  width: 40px;
  height: 38px;
  border-radius: 50px;
  object-fit: contain;
}

.logo span {
  overflow: hidden;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-menu {
  min-width: 0;
}

.site-menu__list {
  display: flex;
  justify-content: center;
  gap: 0;
  height: 58px;
  padding: 0 30px;
  margin: 0;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  list-style: none;
}

.site-menu__item {
  position: relative;
  display: flex;
  align-items: center;
}

.site-menu__item--mobile-theme {
  display: none;
}

.site-menu__link {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  border: 0;
  background: transparent;
  color: #fff;
  padding: 0 24px;
  font-size: 18px;
  font-weight: 400;
  white-space: nowrap;
}

.dropdown-trigger::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 9px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.site-menu__link:hover,
.dropdown-trigger.is-open {
  color: #dff2ff;
}

.dropdown-menu-custom {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  display: grid;
  min-width: 210px;
  padding: 10px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  background: rgba(61, 98, 127, 0.9);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity var(--transition), transform var(--transition);
}

.has-dropdown.is-open .dropdown-menu-custom {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.dropdown-menu-custom a {
  padding: 9px 12px;
  border-radius: 5px;
  color: #fff;
  font-size: 14px;
}

.dropdown-menu-custom a:hover {
  background: rgba(255, 255, 255, 0.16);
}

.mega-menu,
.mobile-menu-panel {
  display: none;
}

.nav-actions {
  display: flex;
  justify-content: end;
  gap: 13px;
}

.round-btn,
.theme-toggle {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.theme-toggle {
  grid-template-columns: 1fr 1fr;
  width: 80px;
  border-radius: 999px;
  padding: 4px;
}

.round-btn img,
.theme-toggle img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/*  --------------  START DESKTOP THEME SWITCH  -------------- */
.theme-switch {
  --switch-width: 100px;
  --switch-height: 54px;
  --thumb-size: 40px;
  --thumb-shift: 46px;

  display: block;
  width: var(--switch-width);
  height: var(--switch-height);
  padding: 0;
  border: 3px solid #ffffff;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.theme-switch>div {
  position: relative;
  display: flex;
  width: 96%;
  height: 92%;
  align-items: center;
  justify-content: space-between;
  margin: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: #e1efff9c;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.35),
    inset 0 5px 8px rgba(255, 255, 255, 0.16),
    inset 0 -6px 12px rgba(45, 84, 115, 0.26);
}

.theme-switch__thumb {
  position: absolute;
  top: 50%;
  left: 2px;
  z-index: 1;
  width: var(--thumb-size);
  height: var(--thumb-size);
  border-radius: 50%;
  background: rgba(190, 214, 232, 0.88);
  box-shadow:
    8px 0 14px rgba(49, 82, 108, 0.36),
    inset 8px 8px 18px rgba(255, 255, 255, 0.22),
    inset -8px -8px 16px rgba(61, 100, 130, 0.18);
  transform: translateY(-50%);
  transition: transform 0.32s ease;
}

.theme-switch__icon {
  position: relative;
  z-index: 2;
  display: grid;
  width: var(--thumb-size);
  height: var(--thumb-size);
  flex: 0 0 var(--thumb-size);
  place-items: center;
}

.theme-switch .icon {
  position: absolute;
  width: 27px;
  height: 27px;
  object-fit: contain;
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    filter 0.22s ease;
}

html[data-theme="light"] .theme-switch__thumb {
  transform: translateY(-50%) translateX(0);
}

html[data-theme="light"] .icon--sun-fill {
  opacity: 1;
  filter: drop-shadow(0 2px 5px rgba(255, 255, 255, 0.45));
  transform: scale(1);
}

html[data-theme="light"] .icon--sun-line {
  opacity: 0;
  transform: scale(0.85);
}

html[data-theme="light"] .icon--moon-fill {
  opacity: 0;
  transform: scale(0.85);
}

html[data-theme="light"] .icon--moon-line {
  opacity: 1;
  transform: scale(1);
}

html[data-theme="dark"] .theme-switch__thumb {
  transform: translateY(-50%) translateX(var(--thumb-shift));
}

html[data-theme="dark"] .icon--sun-fill {
  opacity: 0;
  transform: scale(0.85);
}

html[data-theme="dark"] .icon--sun-line {
  opacity: 1;
  transform: scale(1);
}

html[data-theme="dark"] .icon--moon-fill {
  opacity: 1;
  filter: drop-shadow(0 2px 5px rgba(255, 255, 255, 0.45));
  transform: scale(1);
}

html[data-theme="dark"] .icon--moon-line {
  opacity: 0;
  transform: scale(0.85);
}

/*  --------------  END DESKTOP THEME SWITCH  -------------- */

.menu-toggle {
  display: none;
  width: 36px;
  height: 30px;
  border: 0;
  background: transparent;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  margin: 5px 0;
  border-radius: 2px;
  background: #fff;
  transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 334px;
  grid-template-rows: auto auto;
  column-gap: 30px;
  padding-top: 138px;
}

.hero-intro {
  min-width: 0;
}

.hero-intro__eyebrow {
  margin: 0 0 8px;
  font-size: 42px;
  font-weight: 400;
  line-height: 1.1;
}

.hero-intro h1 {
  margin: 0;
  font-size: 61px;
  font-weight: 400;
  line-height: 1.06;
}

.hero-intro__action {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 44px;
  padding-bottom: 72px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.45);
}

.pill-button,
.outline-button,
.small-button,
.section-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 2px solid currentColor;
  border-radius: 999px;
  padding: 18px 28px;
  font-weight: 400;
  line-height: 1;
}

.pill-button {
  min-width: 280px;
  border-color: #fff;
  background: #fff;
  color: #68727c;
}

.circle-arrow,
.slider-controls button {
  position: relative;
  display: inline-flex;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  /* border: 2px solid rgba(255, 255, 255, 0.82); */
  /* border-radius: 50%; */
}



.hero-contacts {
  display: grid;
  gap: 11px;
  margin-top: 23px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.hero-contacts a::before {
  display: inline-block;
  width: 18px;
  color: rgba(255, 255, 255, 0.86);
}

.hero-contacts a:first-child::before {
  content: "⚠";
}

.hero-contacts a:last-child::before {
  content: "☎";
}

.hero-links,
.glass-card {
  border: 2px solid var(--glass-border);
  border-radius: var(--radius);
  background: var(--glass);
  box-shadow: 0 16px 35px rgba(31, 56, 77, 0.1);
  backdrop-filter: blur(7px);
}

.hero-links {
  display: grid;
  align-self: start;
  margin-top: -48px;
  padding: 28px 18px;
}

.hero-links a {
  min-height: 57px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.38);
  padding: 0 0 0 2px;
  font-size: 16px;
  font-weight: 400;
  align-content: end;
}

.hero-links a:last-child {
  border-bottom: 0;
}

.hero-links a:hover {
  color: #e7f6ff;
}

.hero-bottom {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px 320px;
  gap: 18px;
  margin-top: 50px;
}

.glass-card {
  min-height: 145px;
  padding: 20px;
}

.glass-card h2 {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.25;
}

.glass-card p {
  margin: 0 0 17px;
  font-size: 18px;
  font-weight: 400;
}

.bot-card__tabs {
  display: flex;
  gap: 9px;
  margin-bottom: 12px;
}

.bot-card__tabs span {
  display: inline-flex;
  min-width: 72px;
  justify-content: center;
  border-radius: 999px;
  padding: 5px 15px;
  background: #c797ec;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}

.bot-card__tabs span:last-child {
  background: #5baee5;
}

.outline-button {
  min-width: 215px;
  min-height: 35px;
  border-color: rgba(255, 255, 255, 0.84);
  color: #fff;
  background: transparent;
}

.pay-card label {
  display: block;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  font-weight: 400;
}

.pay-card input {
  width: 100%;
  height: 27px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
  outline: 0;
  background: transparent;
  color: #fff;
}

.pay-card .outline-button {
  width: 100%;
  margin-top: 16px;
}

.social-card {
  display: grid;
  align-content: space-between;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.social-row a {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  font-weight: 600;
}

.social-row img {
  width: 50px;
  height: 50px;
}

.icon-mask {
  display: inline-block;
  width: var(--icon-size, 50px);
  height: var(--icon-size, 50px);
  flex: 0 0 var(--icon-size, 50px);
  background-color: currentColor;
  mask: var(--icon-url) center / contain no-repeat;
  -webkit-mask: var(--icon-url) center / contain no-repeat;
}

.icon-mask--facebook {
  --icon-url: url("../assets/icons/facebook.svg");
}

.icon-mask--tiktok {
  --icon-url: url("../assets/icons/tiktok.svg");
}

.icon-mask--telegram {
  --icon-url: url("../assets/icons/telegram.svg");
}

.icon-mask--threads {
  --icon-url: url("../assets/icons/threads.svg");
}

.news,
.account,
.map,
.chat-bot {
  padding: 70px 0 0;
  background: var(--section-bg);
}

.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 42px;
}

.section-title-row h2,
.block-title {
  margin: 0;
  color: var(--text-strong);
  font-size: 52px;
  font-weight: 400;
  line-height: 64px;
}

.section-link {
  min-width: 132px;
  min-height: 55px;
  border-color: #8a929a;
  color: var(--text);
  font-size: 16px;
}

.section-link::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: 16px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

.news-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 52px;
  row-gap: 28px;
}

.news-item {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 22px;
  min-width: 0;
}

.news-item img {
  width: 190px;
  height: 184px;
  object-fit: cover;
}

.news-item__content {
  min-width: 0;
}

.meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 11px;
}

.meta-row span {
  display: inline-flex;
  min-width: 116px;
  justify-content: center;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #404040;
  padding: 7px 15px;
  font-size: 16px;
  font-weight: 400;
}

html[data-theme="dark"] .meta-row span {
  color: #d7e9f9;
}

.meta-row time {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
}

.news-item h3 {
  margin: 0 0 9px;
  color: var(--text-strong);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.16;
}

.news-item p {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.3;
}

.account {
  padding-top: 76px;
}

.block-title {
  margin-bottom: 32px;
}

.cabinet-grid,
.chatbot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.soft-card,
.qr-card {
  display: grid;
  min-height: 187px;
  justify-items: center;
  align-content: center;
  border-radius: var(--radius);
  background: var(--card-blue);
  box-shadow: var(--shadow);
  color: var(--text-strong);
  padding: 24px;
  text-align: center;
}

.soft-card h3,
.qr-card h3 {
  max-width: 300px;
  margin: 12px 0 17px;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
}

.small-button {
  min-width: 190px;
  min-height: 43px;
  border-color: #7d8b98;
  color: var(--text);
  padding: 7px 22px;
  font-size: 13px;
}

.service-icon {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.about-layout>img {
  width: 100%;
  height: 516px;
  object-fit: cover;
  object-position: center top;
}

.about-text {
  max-height: 516px;
  overflow-y: auto;
  padding-right: 28px;
  scrollbar-color: #8f959a transparent;
  scrollbar-width: thin;
}

.about-text p {
  margin: 0 0 25px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.38;
}

.chat-bot {
  padding-top: 70px;
}

.slider-controls {
  display: flex;
  gap: 16px;
}

.slider-controls button {
  width: 55px;
  height: 55px;
  border-color: #7d858d;
  background: transparent;
  color: var(--text);
}

.slider-controls button:first-child::before {
  transform: translate(-35%, -50%) rotate(-135deg);
}

.qr-card {
  min-height: 268px;
}

.qr-card img {
  width: 165px;
  height: 165px;
  object-fit: contain;
  margin-bottom: 12px;
}

.qr-card h3 {
  margin: 0 0 11px;
}

.banner {
  position: relative;
  margin-top: 74px;
  overflow: hidden;
  background: #dceeff;
  color: var(--text);
  padding: 0 0 62px;
}

html[data-theme="dark"] .banner {
  background: var(--color-footer-bg);
}

.banner__curve {
  position: absolute;
  top: -250px;
  left: 50%;
  width: 1700px;
  height: 430px;
  border-radius: 0 0 50% 50%;
  background: var(--section-bg);
  transform: translateX(-50%);
}

.banner .page-container {
  position: relative;
  z-index: 1;
}

.banner h2 {
  margin: 0 0 78px;
  color: var(--text-strong);
  text-align: center;
  font-size: 58px;
  font-weight: 400;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
  text-align: center;
}

.benefits-grid h3 {
  margin: 14px 0 8px;
  color: var(--text-strong);
  font-size: 26px;
  font-weight: 400;
}

.benefits-grid p {
  max-width: 210px;
  margin: 0 auto;
  font-size: 15px;
}

.benefit-icon {
  display: block;
  width: 94px;
  height: 94px;
  margin: 0 auto;
  object-fit: contain;
}

.footer {
  background: var(--footer-bg);
  color: var(--text);
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-bottom: 6px solid var(--footer-line);
  padding: 31px 20px 26px;
  color: var(--text-strong);
  font-size: 24px;
  font-weight: 600;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 0.7fr;
  gap: 64px;
  padding: 51px 0 45px;
}

.footer h3 {
  margin: 0 0 18px;
  color: var(--text-strong);
  font-size: 16px;
  font-weight: 600;
}

.footer p,
.footer a {
  display: block;
  margin: 0 0 15px;
  color: var(--text);
  font-size: 14px;
}

.footer p img {
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-right: 8px;
  vertical-align: -2px;
}

.social-row--footer a {
  width: 38px;
  height: 38px;
  border-color: var(--text);
  color: var(--text);
  font-size: 18px;
}

.social-row--footer img {
  width: 18px;
  height: 18px;
}

.social-row--footer .icon-mask {
  --icon-size: 38px;
}

.footer-bottom {
  border-top: 6px solid var(--footer-line);
}

.footer-bottom__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.footer-bottom p {
  margin: 0;
  font-size: 11px;
}

/* Responsive */
@media (max-width: 1200px) {
  :root {
    --container: 1080px;
  }

  .top-nav__inner {
    grid-template-columns: 250px minmax(0, 1fr) 225px;
    gap: 16px;
  }

  .site-menu__list {
    padding: 0 18px;
  }

  .site-menu__link {
    padding: 0 15px;
  }

  .nav-actions {
    gap: 8px;
  }

  .round-btn {
    width: 42px;
    height: 42px;
  }

  .theme-toggle {
    width: 70px;
    height: 42px;
  }

  .hero-bottom {
    grid-template-columns: minmax(0, 1fr) 280px 280px;
  }

  .news-list {
    column-gap: 30px;
  }

  .news-item {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .news-item img {
    width: 150px;
    height: 150px;
  }
}

@media (max-width: 992px) {
  :root {
    --container: 720px;
  }

  .hero {
    min-height: 910px;
  }

  .top-nav {
    padding-top: 13px;
  }

  .top-nav__inner {
    display: flex;
    justify-content: space-between;
  }

  .logo img {
    width: 28px;
    height: 28px;
  }

  .logo span {
    max-width: 230px;
    font-size: 12px;
  }

  .menu-toggle {
    display: block;
    order: 3;
  }

  .nav-actions {
    display: none;
  }

  .site-menu {
    position: absolute;
    top: 50px;
    right: 16px;
    left: 16px;
    display: none;
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: var(--radius);
    background: rgba(55, 86, 113, 0.94);
    padding: 8px;
  }

  .site-menu.is-open {
    display: block;
  }

  .site-menu__list {
    display: grid;
    height: auto;
    border: 0;
    border-radius: 0;
    padding: 0;
  }

  .site-menu__item {
    display: grid;
  }

  .site-menu__item--mobile-theme {
    display: grid;
  }

  .site-menu__link {
    width: 100%;
    min-height: 40px;
    justify-content: space-between;
    padding: 0 10px;
  }

  .dropdown-menu-custom {
    position: static;
    display: none;
    min-width: 0;
    margin: 0 10px 8px;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .has-dropdown.is-open .dropdown-menu-custom {
    display: grid;
    transform: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 34px;
  }

  .hero-intro__eyebrow {
    font-size: 31px;
  }

  .hero-intro h1 {
    font-size: 40px;
  }

  .hero-intro__action {
    margin-top: 22px;
    padding-bottom: 28px;
  }

  .pill-button {
    min-width: 215px;
  }

  .circle-arrow {
    width: 44px;
    height: 44px;
  }

  .hero-contacts {
    margin-top: 19px;
    font-size: 14px;
  }

  .hero-links {
    margin-top: 20px;
  }

  .hero-bottom {
    grid-template-columns: 1fr 1fr;
    margin-top: 18px;
  }

  .bot-card {
    grid-column: 1 / -1;
    order: 3;
  }

  .news-list {
    grid-template-columns: 1fr;
  }

  .cabinet-grid,
  .chatbot-grid,
  .benefits-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .about-layout>img {
    height: 430px;
  }

  .about-text {
    max-height: none;
  }
}

@media (max-width: 768px) {
  :root {
    --container: 540px;
  }

  .page-container {
    width: min(100% - 34px, var(--container));
  }

  .hero {
    min-height: 860px;
  }

  .hero__bg img {
    object-position: 45% top;
  }

  .hero-grid {
    padding-top: 32px;
  }

  .hero-intro__eyebrow {
    font-size: 25px;
  }

  .hero-intro h1 {
    font-size: 34px;
  }

  .hero-intro__action {
    padding-bottom: 25px;
  }

  .hero-links {
    padding: 15px;
  }

  .hero-links a {
    min-height: 48px;
    font-size: 13px;
  }

  .hero-bottom {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .glass-card {
    padding: 13px;
  }

  .glass-card h2 {
    font-size: 14px;
  }

  .glass-card p {
    font-size: 11px;
  }

  .outline-button {
    min-width: 0;
    width: 100%;
    font-size: 12px;
  }

  .social-row {
    gap: 6px;
  }

  .social-row a {
    width: 33px;
    height: 33px;
    font-size: 16px;
  }

  .news,
  .account,
  .map,
  .chat-bot {
    padding-top: 35px;
  }

  .section-title-row {
    margin-bottom: 22px;
  }

  .section-title-row h2,
  .block-title {
    font-size: 36px;
  }

  .section-link {
    min-width: 112px;
    min-height: 42px;
    padding: 8px 14px;
  }

  .news-item {
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 14px;
  }

  .news-item img {
    width: 118px;
    height: 118px;
  }

  .meta-row {
    margin-bottom: 6px;
  }

  .meta-row span {
    min-width: 92px;
    padding: 5px 10px;
    font-size: 10px;
  }

  .meta-row time {
    font-size: 10px;
  }

  .news-item h3 {
    font-size: 15px;
  }

  .news-item p {
    font-size: 12px;
  }

  .account {
    padding-top: 42px;
  }

  .cabinet-grid,
  .chatbot-grid {
    gap: 14px;
  }

  .soft-card,
  .qr-card {
    min-height: 154px;
    padding: 16px 10px;
  }

  .soft-card h3,
  .qr-card h3 {
    font-size: 17px;
  }

  .small-button {
    min-width: 130px;
    min-height: 34px;
    font-size: 11px;
  }

  .service-icon {
    width: 38px;
    height: 38px;
  }

  .about-layout>img {
    height: auto;
    aspect-ratio: 1 / 1.08;
  }

  .about-text p {
    font-size: 13px;
    margin-bottom: 17px;
  }

  .chat-bot {
    padding-top: 42px;
  }

  .slider-controls button {
    width: 36px;
    height: 36px;
  }

  .qr-card img {
    width: 118px;
    height: 118px;
  }

  .banner {
    margin-top: 45px;
    padding: 84px 0 40px;
  }

  .banner__curve {
    top: -190px;
    width: 900px;
    height: 300px;
  }

  .banner h2 {
    margin-bottom: 44px;
    font-size: 36px;
  }

  .benefits-grid {
    gap: 20px;
  }

  .benefits-grid h3 {
    font-size: 19px;
  }

  .benefits-grid p {
    font-size: 12px;
  }

  .benefit-icon {
    width: 72px;
    height: 72px;
  }

  .footer-brand {
    font-size: 16px;
  }

  .footer-grid {
    gap: 30px;
    padding: 35px 0;
  }
}

@media (max-width: 575px) {
  .page-container {
    width: min(100% - 20px, var(--container));
  }

  .hero {
    min-height: 823px;
  }

  .logo span {
    max-width: 205px;
    font-size: 10px;
  }

  .hero-grid {
    padding-top: 24px;
  }

  .hero-intro__eyebrow {
    font-size: 19px;
  }

  .hero-intro h1 {
    font-size: 25px;
  }

  .hero-intro__action {
    gap: 8px;
    margin-top: 14px;
    padding-bottom: 21px;
  }

  .pill-button {
    min-width: 148px;
    min-height: 34px;
    padding: 7px 18px;
    font-size: 11px;
  }

  .circle-arrow {
    width: 36px;
    height: 36px;
  }

  .hero-contacts {
    gap: 6px;
    font-size: 12px;
  }

  .hero-links {
    width: calc(50% - 4px);
    min-width: 0;
  }

  .hero-links a {
    min-height: 42px;
    font-size: 11px;
  }

  .hero-bottom {
    position: absolute;
    right: 10px;
    bottom: 78px;
    left: calc(50% + 4px);
    display: grid;
    grid-template-columns: 1fr;
    margin: 0;
  }

  .pay-card {
    order: 1;
  }

  .bot-card {
    order: 2;
  }

  .social-card {
    order: 3;
    min-height: 48px;
  }

  .bot-card__tabs span {
    min-width: 42px;
    padding: 3px 8px;
    font-size: 8px;
  }

  .pay-card label {
    margin-top: 9px;
    font-size: 9px;
  }

  .pay-card input {
    height: 18px;
  }

  .social-card h2 {
    display: none;
  }

  .section-title-row {
    align-items: center;
  }

  .section-title-row h2,
  .block-title {
    font-size: 29px;
  }

  .news-list {
    gap: 13px;
  }

  .cabinet-grid {
    grid-template-columns: 1fr;
  }

  .soft-card {
    min-height: 174px;
  }

  .chatbot-grid {
    grid-template-columns: 1fr;
  }

  .qr-card {
    min-height: 230px;
  }

  .qr-card img {
    width: 145px;
    height: 145px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 26px 20px;
  }

  .footer p,
  .footer a {
    font-size: 11px;
  }

  .footer-bottom__inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 16px 0;
  }
}

@media (max-width: 390px) {
  .hero {
    min-height: 756px;
  }

  .hero-intro h1 {
    font-size: 23px;
  }

  .hero-links {
    padding: 10px;
  }

  .hero-links a {
    min-height: 39px;
  }

  .hero-bottom {
    bottom: 64px;
  }

  .glass-card {
    padding: 9px;
  }

  .news-item {
    grid-template-columns: 94px minmax(0, 1fr);
    gap: 10px;
  }

  .news-item img {
    width: 94px;
    height: 94px;
  }

  .news-item h3 {
    font-size: 13px;
  }

  .news-item p {
    font-size: 10px;
  }

  .meta-row span {
    min-width: 78px;
    font-size: 8px;
  }

  .meta-row time {
    font-size: 8px;
  }

  .soft-card {
    min-height: 165px;
  }

  .footer-brand {
    font-size: 13px;
  }
}

/* Reference alignment: desktop, tablet and mobile screenshots */
.header {
  margin-bottom: -92px;
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
}

.top-nav {
  padding-top: 20px;
}

.hero {
  min-height: 936px;
  padding-top: 92px;
}

.hero-grid {
  padding-top: 90px;
}

.hero__bg img {
  object-position: center 8%;
}

.hero__overlay {
  background: linear-gradient(180deg, rgba(105, 177, 216, 0.86) 0%, rgba(88, 141, 172, 0.84) 48%, rgba(60, 84, 105, 0.91) 100%);
}

.news,
.account,
.map,
.chat-bot {
  padding-top: 72px;
}

.account {
  padding-top: 76px;
  padding-bottom: 50px;
}

.map {
  padding-top: 70px;
}

.chat-bot {
  padding-top: 82px;
}

.banner {
  margin-top: 76px;
}

@media (min-width: 993px) {
  .news-list {
    column-gap: 44px;
  }
}

@media (min-width: 768px) and (max-width: 992px) {
  :root {
    --container: 714px;
  }

  .header {
    margin-bottom: -56px;
  }

  .top-nav {
    padding-top: 13px;
  }

  .hero {
    min-height: 965px;
    padding-top: 56px;
  }

  .hero__bg img {
    object-position: center top;
  }

  .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 14px;
    padding-top: 34px;
  }

  .hero-intro {
    grid-column: 1 / -1;
  }

  .hero-intro__eyebrow {
    font-size: 31px;
  }

  .hero-intro h1 {
    font-size: 40px;
  }

  .hero-intro__action {
    margin-top: 22px;
    padding-bottom: 28px;
  }

  .hero-links {
    width: auto;
    margin-top: 0;
    padding: 17px 15px;
  }

  .hero-links a {
    min-height: 51px;
    font-size: 13px;
  }

  .hero-bottom {
    position: static;
    display: grid;
    grid-column: auto;
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 0;
  }

  .pay-card {
    order: 1;
  }

  .bot-card {
    grid-column: auto;
    order: 2;
  }

  .social-card {
    order: 3;
    min-height: 74px;
  }

  .glass-card {
    min-height: 0;
    padding: 14px;
  }

  .glass-card h2 {
    font-size: 14px;
  }

  .glass-card p {
    font-size: 11px;
  }

  .outline-button {
    width: 100%;
    min-width: 0;
    font-size: 12px;
  }

  .social-row a {
    width: 34px;
    height: 34px;
  }

  .news,
  .account,
  .map,
  .chat-bot {
    padding-top: 47px;
  }

  .section-title-row {
    margin-bottom: 24px;
  }

  .section-title-row h2,
  .block-title {
    font-size: 42px;
  }

  .news-list {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .news-item {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 18px;
  }

  .news-item img {
    width: 150px;
    height: 150px;
  }

  .cabinet-grid,
  .chatbot-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .soft-card {
    min-height: 148px;
    padding: 16px 10px;
  }

  .soft-card h3,
  .qr-card h3 {
    font-size: 16px;
  }

  .small-button {
    min-width: 130px;
    min-height: 34px;
    font-size: 11px;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .about-layout>img {
    height: auto;
    aspect-ratio: 1.06 / 1;
  }

  .about-text {
    max-height: 380px;
  }

  .qr-card {
    min-height: 230px;
    padding: 14px 10px;
  }

  .qr-card img {
    width: 128px;
    height: 128px;
  }

  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .banner {
    margin-top: 54px;
    padding: 92px 0 44px;
  }

  .banner h2 {
    margin-bottom: 48px;
    font-size: 40px;
  }

  .benefit-icon {
    width: 72px;
    height: 72px;
  }

  .benefits-grid h3 {
    font-size: 18px;
  }

  .benefits-grid p {
    font-size: 12px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .header {
    margin-bottom: -48px;
  }

  .top-nav {
    padding-top: 10px;
  }

  .hero {
    min-height: 885px;
    padding-top: 48px;
  }

  .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 8px;
    padding-top: 25px;
  }

  .hero-intro {
    grid-column: 1 / -1;
  }

  .hero-links {
    width: auto;
    margin-top: 0;
  }

  .hero-bottom {
    position: static;
    display: grid;
    grid-column: auto;
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 0;
  }

  .pay-card {
    order: 1;
  }

  .bot-card {
    grid-column: auto;
    order: 2;
  }

  .social-card {
    order: 3;
  }

  .news,
  .account,
  .map,
  .chat-bot {
    padding-top: 39px;
  }

  .chat-bot {
    padding-top: 46px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Typography guide alignment */
.site-menu__link,
.pill-button,
.outline-button,
.small-button,
.section-link,
.hero-links,
.glass-card,
.meta-row,
.news-item p,
.about-text,
.footer,
.mega-menu,
.mobile-menu-actions,
.mobile-menu-content nav {
  font-family: var(--font-body);
}

.hero-intro__eyebrow,
.hero-intro h1,
.section-title-row h2,
.block-title,
.banner h2,
.mega-menu__cta h2,
.mobile-menu-content h2,
.mobile-menu-cta p {
  font-family: var(--font-heading);
}

.news-item h3 {
  font-family: var(--font-heading);
  font-weight: var(--h6-weight);
}

.soft-card h3,
.qr-card h3,
.benefits-grid h3,
.footer-brand {
  font-family: var(--font-body);
}

/* Open menu states from resources */
@media (min-width: 993px) {
  .site-menu {
    position: static;
  }

  .site-menu.is-mega-open .mega-menu {
    display: grid;
  }

  .mega-menu {
    position: absolute;
    top: 100px;
    left: 50px;
    right: 50px;
    z-index: 45;
    grid-template-columns: 58% 42%;
    min-height: 480px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
  }

  .mega-menu__list {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: #f3f8ff;
    padding: 34px 40px;
  }

  [data-theme="dark"] .mega-menu__list {
    background: #3d5977;
  }

  .mega-menu__item,
  .mega-menu__subitem {
    display: block;
    color: var(--color-text);
    font-size: 20px;
    line-height: 1.25;
  }

  [data-theme="dark"] .mega-menu__item,
  [data-theme="dark"] .mega-menu__subitem {
    color: #fff;
  }

  .mega-menu__item {
    margin-top: 24px;
    font-weight: 600;
  }

  .mega-menu__item:first-child {
    margin-top: 0;
  }

  .mega-menu__item--active::after {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-left: 10px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: translateY(-3px) rotate(45deg);
  }

  .mega-menu__subitem {
    margin-top: 24px;
    padding-left: 22px;
    font-weight: 400;
  }

  .mega-menu__cta {
    background: #d8ebff;
    padding: 43px 40px;
    color: #404040;
  }

  .mega-menu__cta h2 {
    max-width: 430px;
    margin: 0 0 56px;
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 500;
    line-height: 1.25;
  }

  .mega-menu__cta ul {
    display: grid;
    gap: 30px;
    padding: 0;
    margin: 0 0 75px;
    list-style: none;
  }

  .mega-menu__cta li {
    position: relative;
    padding-left: 34px;
    font-size: 22px;
    line-height: 1.25;
  }

  .mega-menu__cta li::before {
    content: "";
    position: absolute;
    top: 13px;
    left: 0;
    width: 24px;
    height: 3px;
    background: #4d91d1;
  }

  .mega-menu__cta a {
    display: inline-flex;
    min-width: 200px;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #4a90d2;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
  }
}

@media (max-width: 992px) {
  .header.menu-open {
    margin-bottom: 0;
    background: #73aed3;
  }

  .site-menu {
    position: absolute;
    top: 62px;
    right: 0;
    left: 0;
    z-index: 70;
    display: none;
    max-height: calc(100dvh - 62px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
  }

  .site-menu.is-open {
    display: block;
  }

  .site-menu__list,
  .mega-menu {
    display: none;
  }

  .mobile-menu-panel {
    display: block;
  }

  .top-nav__inner {
    position: relative;
    z-index: 80;
  }

  .menu-toggle {
    position: relative;
    z-index: 90;
  }

  .menu-toggle.is-open span:nth-child(1),
  .menu-toggle.is-open span:nth-child(3) {
    width: 30px;
  }

  .mobile-menu-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(34px, 10vw, 78px);
    min-height: 88px;
    background: #4384aa;
    padding: 16px 28px;
  }

  .mobile-menu-actions a,
  .mobile-menu-actions button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    white-space: nowrap;
  }

  .mobile-menu-actions img {
    width: 18px;
    height: 18px;
    object-fit: contain;
  }

  .mobile-menu-actions button::after {
    content: "";
    width: 8px;
    height: 8px;
    margin-left: 3px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: translateY(-3px) rotate(45deg);
  }

  .mobile-menu-content {
    min-height: calc(100vh - 150px);
    background: #edf7ff;
    color: #404040;
    padding: 34px 28px 30px;
  }

  [data-theme="dark"] .mobile-menu-content {
    background: #303b4d;
    color: #fff;
  }

  .mobile-menu-content h2 {
    margin: 0 0 30px;
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 400;
  }

  .mobile-menu-content nav {
    display: grid;
    gap: 27px;
  }

  .mobile-menu-content nav a,
  .mobile-menu-parent,
  .mobile-menu-child-parent {
    display: block;
    width: 100%;
    border: 0;
    background: transparent;
    color: inherit;
    padding: 0;
    text-align: left;
    font-size: 22px;
    line-height: 1.2;
  }

  .mobile-menu-parent::after,
  .mobile-menu-child-parent::after {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-left: 8px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: translateY(-3px) rotate(45deg);
    transition: transform var(--transition);
  }

  .mobile-menu-parent.is-open::after,
  .mobile-menu-child-parent.is-open::after {
    transform: translateY(1px) rotate(225deg);
  }

  .mobile-submenu {
    display: grid;
    gap: 22px;
  }

  .mobile-submenu--nested {
    gap: 14px;
    padding: 2px 0 0 22px;
  }

  .mobile-submenu[hidden] {
    display: none;
  }

  .mobile-menu-content__sub {
    padding-left: 20px;
    font-size: 20px;
  }

  .mobile-menu-child-parent {
    padding-left: 20px;
    font-size: 20px;
  }

  .mobile-menu-content__sub--child,
  .mobile-menu-content__sub-child,
  [data-sublevel="2"] {
    padding-left: 0;
    font-size: 18px;
    line-height: 1.25;
    opacity: 0.86;
  }

  .mobile-menu-cta {
    margin-top: 31px;
    border-top: 1px solid currentColor;
    padding-top: 31px;
  }

  .mobile-menu-cta p {
    max-width: 580px;
    margin: 0 0 34px;
    font-family: var(--font-heading);
    font-size: 26px;
    line-height: 1.38;
  }

  .mobile-menu-cta a {
    display: inline-flex;
    min-width: 260px;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #438bb7;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
  }
}

@media (max-width: 575px) {
  .site-menu {
    max-height: calc(100dvh - 90px);
  }

  .mobile-menu-actions {
    display: grid;
    min-height: 180px;
    gap: 26px;
    padding: 25px 16px 28px;
  }

  .mobile-menu-actions a,
  .mobile-menu-actions button {
    justify-content: center;
    font-size: 21px;
  }

  .mobile-menu-content {
    min-height: calc(100vh - 242px);
    padding: 34px 16px 20px;
  }

  .mobile-menu-content h2 {
    margin-bottom: 32px;
    font-size: 34px;
  }

  .mobile-menu-content nav {
    gap: 26px;
  }

  .mobile-menu-content nav a,
  .mobile-menu-parent,
  .mobile-menu-child-parent {
    font-size: 22px;
  }

  .mobile-menu-content__sub {
    padding-left: 10px;
    font-size: 20px;
  }

  .mobile-menu-child-parent {
    padding-left: 10px;
    font-size: 20px;
  }

  .mobile-submenu--nested {
    padding-left: 14px;
  }

  .mobile-menu-content__sub--child,
  .mobile-menu-content__sub-child,
  [data-sublevel="2"] {
    font-size: 18px;
  }

  .mobile-menu-cta p {
    font-size: 26px;
  }

  .mobile-menu-cta a {
    width: 220px;
    min-width: 220px;
    min-height: 47px;
  }
}

/* Header-bound menu: menu belongs to header, not to viewport */
.header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 60;
  width: 100%;
  margin-bottom: 0;
}

.top-nav {
  position: relative;
}

@media (min-width: 993px) {
  .mega-menu {
    position: absolute;
    top: 80px;
    left: 50px;
    right: 50px;
  }
}

@media (max-width: 992px) {
  .top-nav__inner {
    position: static;
  }

  .site-menu {
    position: absolute;
    top: 90px;
    right: 0;
    left: 0;
    max-height: calc(100dvh - 90px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 575px) {
  .header {
    margin-bottom: -45px;
  }

  .hero {
    min-height: 0;
    padding-top: 45px;
    padding-bottom: 20px;
  }

  .hero__bg img {
    object-position: 47% top;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 9px;
    padding-top: 20px;
  }

  .hero-intro {
    grid-column: auto;
  }

  .hero-intro__eyebrow {
    font-size: 17px;
  }

  .hero-intro h1 {
    font-size: 23px;
  }

  .hero-contacts {
    font-size: 10px;
  }

  .hero-links {
    width: 100%;
    padding: 10px;
  }

  .hero-links a {
    min-height: 42px;
    font-size: 10px;
  }

  .glass-card {
    padding: 9px;
  }

  .hero-bottom {
    grid-column: auto;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .glass-card h2 {
    font-size: 11px;
  }

  .glass-card p {
    font-size: 9px;
  }

  .pay-card label {
    font-size: 8px;
  }

  .social-row a {
    width: 31px;
    height: 31px;
  }

  .news-item {
    grid-template-columns: 94px minmax(0, 1fr);
  }

  .cabinet-grid,
  .chatbot-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile hero alignment by reference screenshot */
@media (max-width: 575px) {

  .hero *,
  .header * {
    min-width: 0;
  }

  .page-container {
    width: min(100% - 32px, var(--container));
  }

  .header {
    margin-bottom: 0;
  }

  .top-nav {
    padding-top: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .top-nav__inner {
    min-height: 73px;
  }

  .logo {
    gap: 10px;
    min-width: 0;
  }

  .logo img {
    width: 42px;
    height: 42px;
  }

  .logo span {
    max-width: min(245px, calc(100vw - 122px));
    font-size: 16px;
    line-height: 20px;
  }

  .menu-toggle {
    width: 38px;
    height: 30px;
  }

  .menu-toggle span {
    width: 38px;
    height: 4px;
    margin: 5px 0;
  }

  .hero {
    min-height: 0;
    padding-top: 88px;
    padding-bottom: 24px;
  }

  .hero__bg img {
    object-position: 49% top;
    filter: blur(2px);
    transform: scale(1.04);
  }

  .hero__overlay {
    background: linear-gradient(180deg, rgba(105, 178, 219, 0.86) 0%, rgba(92, 151, 184, 0.78) 46%, rgba(49, 70, 92, 0.88) 100%);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 27px;
  }

  .hero-intro {
    text-align: center;
  }

  .hero-intro__eyebrow {
    margin-bottom: 10px;
    font-size: clamp(22px, 6.1vw, 26px);
    line-height: 1.2;
  }

  .hero-intro h1 {
    font-size: clamp(30px, 8.4vw, 34px);
    line-height: 1.18;
    overflow-wrap: anywhere;
  }

  .hero-intro__action {
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.82);
  }

  .pill-button {
    min-width: min(246px, calc(100vw - 110px));
    min-height: 48px;
    padding: 10px 18px;
    font-size: 18px;
    line-height: 24px;
  }

  .circle-arrow {
    width: 48px;
    height: 48px;
  }

  .circle-arrow img {
    width: 24px;
    height: 24px;
  }

  .hero-contacts {
    gap: 18px;
    margin-top: 26px;
    text-align: left;
    font-size: clamp(18px, 5.2vw, 21px);
    line-height: 1.32;
  }

  .hero-contacts a {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 10px;
  }

  .hero-contacts a::before {
    width: 28px;
  }

  .hero-links,
  .glass-card {
    border-width: 1px;
    border-radius: 10px;
  }

  .hero-links {
    width: 100%;
    margin-top: 6px;
    padding: 14px 20px;
  }

  .hero-links a {
    min-height: 52px;
    align-content: center;
    font-size: clamp(16px, 4.8vw, 18px);
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .hero-bottom {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .glass-card {
    padding: 20px;
  }

  .pay-card {
    min-height: 208px;
  }

  .bot-card {
    min-height: 270px;
  }

  .glass-card h2 {
    margin-bottom: 18px;
    font-size: 21px;
    line-height: 28px;
  }

  .glass-card p {
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 22px;
  }

  .pay-card label {
    margin-top: 0;
    font-size: 17px;
    line-height: 23px;
  }

  .pay-card input {
    height: 36px;
    margin-bottom: 24px;
    font-size: 20px;
  }

  .outline-button {
    min-height: 46px;
    font-size: 17px;
    line-height: 23px;
  }

  .bot-card__tabs {
    gap: 13px;
    margin-bottom: 16px;
  }

  .bot-card__tabs span {
    min-width: min(124px, calc((100vw - 96px) / 2));
    padding: 7px 14px;
    font-size: 14px;
    line-height: 17px;
    font-weight: 400;
  }

  .social-card {
    display: grid;
    grid-template-columns: minmax(0, 138px) 1fr;
    align-items: center;
    min-height: auto;
    padding: 4px 0 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .social-card h2 {
    display: block;
    margin: 0;
    font-size: 15px;
    line-height: 22px;
  }

  .social-card .social-row {
    display: grid;
    grid-template-columns: repeat(4, 46px);
    justify-content: end;
    gap: 4px;
  }

  .social-row a {
    width: 46px;
    height: 46px;
  }

  .social-row img {
    width: 42px;
    height: 42px;
  }
}

/* Smarty-ready recursive menu */
.site-menu__nav {
  min-width: 0;
}

.site-menu__mobile-title,
.site-menu__nav > .mobile-menu-cta {
  display: none;
}

.menu-tree,
.submenu {
  list-style: none;
}

.menu-item {
  position: relative;
}

.menu-toggle-link {
  cursor: pointer;
}

.menu-toggle-link::after {
  content: "";
  width: 10px;
  height: 10px;
  margin-left: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform var(--transition);
}

.menu-item.is-open > .menu-toggle-link::after {
  transform: translateY(2px) rotate(225deg);
}

.submenu {
  display: none;
  padding: 0;
  margin: 0;
}

.menu-item.is-open > .submenu {
  display: grid;
}

.submenu__link {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

.submenu__cta {
  display: none;
}

@media (min-width: 993px) {
  .site-menu__list {
    padding-right: 18px;
    padding-left: 18px;
  }

  .site-menu__link {
    padding-right: 15px;
    padding-left: 15px;
    font-size: 16px;
  }

  .site-menu__item > .submenu {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    z-index: 80;
    min-width: 320px;
    max-height: calc(100dvh - 120px);
    overflow-y: auto;
    overscroll-behavior: contain;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 8px;
    background: #f3f8ff;
    box-shadow: var(--shadow-md);
    color: #404040;
    padding: 14px 0;
  }

  .site-menu__item:nth-last-child(-n + 3) > .submenu {
    right: 0;
    left: auto;
  }

  [data-theme="dark"] .site-menu__item > .submenu {
    background: #3d5977;
    color: #fff;
  }

  .submenu__item {
    min-width: 0;
  }

  .submenu__link {
    min-height: 44px;
    padding: 10px 22px;
    font-size: 16px;
    line-height: 20px;
  }

  .submenu__link:hover,
  .submenu .menu-item.is-open > .submenu__link {
    background: rgba(114, 151, 189, 0.18);
  }

  [data-theme="dark"] .submenu__link:hover,
  [data-theme="dark"] .submenu .menu-item.is-open > .submenu__link {
    background: rgba(255, 255, 255, 0.12);
  }

  .submenu .submenu {
    position: static;
    gap: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 0 0 8px 18px;
  }

  .submenu .submenu .submenu__link {
    min-height: 36px;
    padding-top: 8px;
    padding-bottom: 8px;
    font-size: 14px;
    line-height: 18px;
  }

  .site-menu__item--services {
    position: static;
  }

  .site-menu__item--services > .submenu {
    top: 100px;
    right: 50px;
    left: 50px;
    grid-template-columns: 58% 42%;
    min-width: 0;
    max-height: 480px;
    overflow: hidden;
    border: 0;
    padding: 0;
  }

  .site-menu__item--services > .submenu > .submenu__item {
    background: #f3f8ff;
  }

  [data-theme="dark"] .site-menu__item--services > .submenu > .submenu__item {
    background: #3d5977;
  }

  .site-menu__item--services > .submenu > .submenu__item:first-child {
    padding-top: 34px;
  }

  .site-menu__item--services > .submenu > .submenu__item:nth-last-child(2) {
    padding-bottom: 34px;
  }

  .site-menu__item--services > .submenu .submenu__link {
    min-height: 44px;
    padding-right: 40px;
    padding-left: 40px;
    font-size: 20px;
    line-height: 25px;
  }

  .site-menu__item--services > .submenu > .submenu__item > .submenu__link {
    font-weight: 600;
  }

  .site-menu__item--services > .submenu .submenu {
    padding: 0 0 18px;
  }

  .site-menu__item--services > .submenu .submenu .submenu__link {
    padding-left: 62px;
    font-size: 20px;
    line-height: 25px;
    font-weight: 400;
  }

  .submenu__cta {
    display: block;
    grid-column: 2;
    grid-row: 1 / span 20;
    background: #d8ebff;
    color: #404040;
    padding: 43px 40px;
  }

  .submenu__cta h2 {
    max-width: 430px;
    margin: 0 0 56px;
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 500;
    line-height: 1.25;
  }

  .submenu__cta ul {
    display: grid;
    gap: 30px;
    padding: 0;
    margin: 0 0 75px;
    list-style: none;
  }

  .submenu__cta li {
    position: relative;
    padding-left: 34px;
    font-size: 22px;
    line-height: 1.25;
  }

  .submenu__cta li::before {
    content: "";
    position: absolute;
    top: 13px;
    left: 0;
    width: 24px;
    height: 3px;
    background: #4d91d1;
  }

  .submenu__cta a {
    display: inline-flex;
    min-width: 200px;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #4a90d2;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
  }
}

@media (max-width: 992px) {
  .site-menu__nav {
    min-height: calc(100vh - 150px);
    background: #edf7ff;
    color: #404040;
    padding: 34px 28px 30px;
  }

  [data-theme="dark"] .site-menu__nav {
    background: #303b4d;
    color: #fff;
  }

  .site-menu__mobile-title {
    display: block;
    margin: 0 0 30px;
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 400;
    line-height: 1.18;
  }

  .site-menu__list {
    display: grid;
    height: auto;
    gap: 26px;
    padding: 0;
    border: 0;
    border-radius: 0;
    justify-content: left;
  }

  .site-menu__item {
    display: block;
  }

  .site-menu__link,
  .submenu__link {
    width: 100%;
    min-height: 0;
    color: inherit;
    padding: 0;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.2;
  }

  .site-menu__item--mobile-theme {
    display: none;
  }

  .submenu {
    gap: 18px;
    padding: 19px 0 0 20px;
  }

  .submenu .submenu {
    gap: 14px;
    padding-top: 14px;
    padding-left: 18px;
  }

  .submenu .submenu .submenu__link {
    font-size: 18px;
    line-height: 1.25;
    opacity: 0.88;
  }

  .site-menu__nav > .mobile-menu-cta {
    display: block;
  }
}

@media (max-width: 575px) {
  .site-menu__nav {
    min-height: calc(100vh - 242px);
    padding: 34px 16px 20px;
  }

  .site-menu__mobile-title {
    margin-bottom: 32px;
    font-size: 34px;
  }

  .site-menu__list {
    gap: 26px;
  }

  .site-menu__link,
  .submenu__link {
    font-size: 22px;
  }

  .submenu {
    padding-left: 10px;
  }

  .submenu .submenu {
    padding-left: 14px;
  }
}

/* Same mega-menu behavior for every top-level menu branch */
@media (min-width: 993px) {
  .site-menu__list > .menu-item--has-children {
    position: static;
  }

  .site-menu__list > .menu-item--has-children > .submenu {
    top: 100px;
    right: 50px;
    left: 50px;
    grid-template-columns: 58% 42%;
    min-width: 0;
    max-height: 480px;
    overflow: hidden;
    border: 0;
    padding: 0;
  }

  .site-menu__list > .menu-item--has-children > .submenu > .submenu__item {
    background: #f3f8ff;
  }

  [data-theme="dark"] .site-menu__list > .menu-item--has-children > .submenu > .submenu__item {
    background: #3d5977;
  }

  .site-menu__list > .menu-item--has-children > .submenu > .submenu__item:first-child {
    padding-top: 34px;
  }

  .site-menu__list > .menu-item--has-children > .submenu > .submenu__item:nth-last-child(2) {
    padding-bottom: 34px;
  }

  .site-menu__list > .menu-item--has-children > .submenu .submenu__link {
    min-height: 44px;
    padding-right: 40px;
    padding-left: 40px;
    font-size: 20px;
    line-height: 25px;
  }

  .site-menu__list > .menu-item--has-children > .submenu > .submenu__item > .submenu__link {
    font-weight: 600;
  }

  .site-menu__list > .menu-item--has-children > .submenu .submenu {
    padding: 0 0 18px;
  }

  .site-menu__list > .menu-item--has-children > .submenu .submenu .submenu__link {
    padding-left: 62px;
    font-size: 20px;
    line-height: 25px;
    font-weight: 400;
  }
}
