@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../public/fonts/montserrat-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../public/fonts/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

:root {
  --ink: #061b44;
  --blue: #0a3e9d;
  --blue-dark: #00339e;
  --navy: #041633;
  --navy-light: #123f86;
  --muted: #6e7b91;
  --line: #e0e7f3;
  --surface: #f5f8fd;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 32px, 1180px);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.logo strong,
.logo small {
  display: block;
  line-height: 1.15;
}

.logo strong {
  font-size: 17px;
  font-weight: 800;
}

.logo small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.main-nav,
.header-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  font-size: 14px;
  font-weight: 700;
}

.main-nav a:hover,
.phone-link:hover {
  color: var(--blue);
}

.phone-link {
  font-size: 15px;
  font-weight: 800;
}

.account-link,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 8px;
  background: var(--blue-dark);
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  padding: 0 22px;
  transition: background 0.2s ease;
}

.account-link:hover,
.primary-button:hover {
  background: var(--blue);
}

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

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.mobile-menu {
  border-top: 1px solid var(--line);
  padding: 16px;
  background: var(--white);
}

.mobile-nav {
  display: grid;
  gap: 14px;
}

.mobile-nav a {
  font-size: 15px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background: var(--navy);
}

.hero > img,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero > img {
  object-fit: cover;
}

.hero-overlay {
  background: linear-gradient(
    90deg,
    rgba(4, 22, 51, 0.97) 0%,
    rgba(4, 22, 51, 0.92) 48%,
    rgba(4, 22, 51, 0.5) 68%,
    rgba(4, 22, 51, 0.14) 84%,
    rgba(4, 22, 51, 0) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  min-height: 650px;
  max-width: 1180px;
  color: var(--white);
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(48px, 8vw, 74px);
  line-height: 1.05;
  font-weight: 700;
}

.hero p {
  max-width: 440px;
  margin: 24px 0 0;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 300;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 36px;
}

.hero .primary-button {
  min-height: 64px;
  padding: 0 32px;
  font-size: 16px;
}

.text-button {
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
}

.section {
  padding: 96px 0;
}

.section h2 {
  max-width: 620px;
  margin: 14px 0 0;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.2;
}

.eyebrow {
  margin: 0;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.eyebrow.muted {
  color: var(--muted);
}

.eyebrow.light {
  color: #afc5f5;
}

.section-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.lead {
  margin: 44px 0 0;
  font-size: 18px;
  line-height: 1.75;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 64px;
}

.stat-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 18px;
  align-items: start;
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.stat-card:first-child {
  padding-left: 0;
  border-left: 0;
}

.stat-icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--blue);
  border: 2px solid var(--blue);
  border-radius: 50%;
  font-size: 28px;
  font-weight: 800;
}

.stat-icon img {
  width: 22px;
  height: 22px;
}

.stat-card strong {
  font-size: clamp(46px, 6vw, 64px);
  line-height: 0.9;
}

.stat-card span:last-child {
  font-size: 16px;
}

.approach {
  background: linear-gradient(135deg, var(--white), #f4f7fc);
}

.benefits-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.approach-benefits {
  margin-top: 52px;
}

.benefit-tile {
  display: grid;
  align-content: center;
  gap: 14px;
  min-height: 150px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.benefit-tile:hover,
.benefit-tile:focus-within {
  border-color: #9eb5df;
  box-shadow: 0 12px 30px rgba(7, 26, 58, 0.08);
  transform: translateY(-2px);
}

.benefit-tile img {
  width: 28px;
  height: 28px;
}

.benefit-tile h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: 0;
  overflow-wrap: break-word;
  hyphens: auto;
}

.benefit-tile p {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: break-word;
}

.wide-image {
  width: 100%;
  margin-top: 56px;
  border-radius: 16px;
}

.tariff {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy), #052d73);
  color: var(--white);
}

.tariff-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 58%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

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

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 56px;
}

.pricing-card {
  overflow: hidden;
  min-height: 100%;
  border: 2px solid #e2e9f6;
  border-radius: 16px;
  background: var(--white);
  color: var(--ink);
  padding: 32px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.pricing-card:hover,
.pricing-card:focus-within {
  border-color: #5f8fd6;
  box-shadow: 0 30px 72px rgba(7, 26, 58, 0.24);
  transform: translateY(-7px);
}

.pricing-card p {
  margin: 0;
  color: #56627a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.pricing-card h3 {
  margin: 8px 0 28px;
  color: var(--blue);
  font-size: 28px;
}

.pricing-card ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-card li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  line-height: 1.5;
}

.pricing-card li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 800;
}

.primary-button.small {
  width: fit-content;
  margin-top: 34px;
  padding: 0 18px;
}

.app-grid {
  display: grid;
  grid-template-columns: 360px 1fr 300px;
  gap: 48px;
  align-items: stretch;
}

.app-promo {
  padding-bottom: 48px;
}

.phone-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
}

.phone-frame img {
  height: 100%;
  max-height: 520px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  clip-path: inset(46px 16px 46px 16px);
  transform: scale(1.13);
  transform-origin: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.feature-grid span {
  position: relative;
  min-height: 42px;
  padding-left: 54px;
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
}

.feature-grid span::before {
  content: "!";
  position: absolute;
  left: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #f3f6fc;
  color: var(--blue);
  font-weight: 800;
}

.download-panel {
  border-left: 0;
  padding-left: 36px;
}

.download-panel > a {
  display: flex;
  align-items: center;
  min-height: 54px;
  margin-top: 12px;
  border: 1px solid #c7d1e3;
  border-radius: 8px;
  padding: 0 16px;
  font-weight: 800;
}

.download-panel > a:hover {
  background: var(--surface);
}

.qr-row {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  color: rgba(6, 27, 68, 0.65);
  font-size: 14px;
  line-height: 1.45;
}

.qr-row img {
  width: 165px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
  justify-self: center;
}

.contacts {
  background: var(--surface);
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.contacts-grid article {
  display: grid;
  gap: 14px;
  align-content: center;
  min-height: 150px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 24px;
}

.contacts-grid article {
  cursor: default;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.contacts-grid article:hover,
.contacts-grid article:focus-visible {
  border-color: #9eb5df;
  box-shadow: 0 12px 30px rgba(7, 26, 58, 0.08);
  transform: translateY(-2px);
}

.contacts-grid article:focus-visible {
  outline: 2px solid #7ea2dd;
  outline-offset: 2px;
}

.contacts-grid strong {
  font-size: 17px;
}

.contacts-grid span,
.contacts-grid a {
  font-size: 14px;
  line-height: 1.6;
}

.contacts-map-row {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
}

.contacts-map-row iframe {
  width: 100%;
  height: min(34vw, 340px);
  min-height: 260px;
  border: 0;
}

.site-footer {
  color: var(--white);
  background: linear-gradient(135deg, #071a3a, #194a8c);
  padding: 64px 0 28px;
}

.site-footer .logo small {
  color: #afc5f5;
}

.site-footer p {
  max-width: 250px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  line-height: 1.7;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 0.8fr) 1.2fr;
  gap: 44px;
}

.footer-grid h3 {
  margin: 0 0 16px;
  font-size: 14px;
}

.footer-grid a {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
}

.footer-contact a:first-child {
  font-size: 24px;
  font-weight: 800;
}

.footer-contact a:last-child {
  font-size: 18px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 48px;
  border-top: 1px solid rgba(175, 197, 245, 0.3);
  padding-top: 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
}

@media (max-width: 1120px) {
  .main-nav,
  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .app-grid {
    grid-template-columns: 320px 1fr;
    align-items: start;
  }

  .benefits-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .benefit-tile {
    min-height: 242px;
    padding: 24px;
  }

  .benefit-tile h3 {
    font-size: 17px;
  }

  .benefit-tile p {
    font-size: 14px;
  }

  .download-panel {
    grid-column: 1 / -1;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 28px 0 0;
  }

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

  .contacts-map-row iframe {
    height: min(46vw, 320px);
    min-height: 240px;
  }

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

@media (max-width: 760px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .hero,
  .hero-content {
    min-height: 520px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(34px, 10vw, 42px);
    overflow-wrap: anywhere;
  }

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

  .hero .primary-button,
  .primary-button.small {
    width: 100%;
    min-height: 56px;
    text-align: center;
  }

  .section {
    padding: 72px 0;
  }

  .app-promo {
    padding-bottom: 36px;
  }

  .section-split,
  .pricing-grid,
  .app-grid,
  .stats-grid,
  .benefits-row,
  .contacts-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .contacts-map-row iframe {
    height: 52vw;
    min-height: 220px;
  }

  .benefits-row {
    gap: 16px;
  }

  .benefit-tile {
    min-height: auto;
    padding: 24px;
  }

  .benefit-tile h3 {
    font-size: 17px;
  }

  .benefit-tile p {
    font-size: 14px;
  }

  .lead {
    margin-top: 20px;
    font-size: 16px;
  }

  .stat-card,
  .stat-card:first-child {
    border-left: 0;
    padding-left: 0;
  }

  .tariff-bg {
    display: none;
  }

  .phone-frame {
    min-height: auto;
    border: 0;
    border-radius: 24px;
    padding: 0;
    background: transparent;
    max-width: 330px;
    margin: 0 auto;
  }

  .phone-frame img {
    clip-path: inset(28px 10px 28px 10px);
    transform: scale(1.08);
  }

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

  .download-panel {
    padding-top: 24px;
  }

  .download-panel > a {
    justify-content: center;
  }

  .qr-row img {
    width: min(165px, 100%);
  }

  .contacts-grid img {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 20px, 1180px);
  }

  .logo {
    gap: 9px;
  }

  .logo strong {
    font-size: 14px;
  }

  .logo small {
    font-size: 11px;
  }

  .hero,
  .hero-content {
    min-height: 500px;
  }

  .hero-actions {
    gap: 16px;
  }

  .section {
    padding: 56px 0;
  }

  .app-promo {
    padding-bottom: 28px;
  }

  .pricing-card,
  .contacts-grid article {
    padding: 22px;
  }
}
