*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #f0f4ff;
  color: #08274a;
}

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

.topbar {
  background: #ffffff;
  border-bottom: 1px solid rgba(8, 39, 74, 0.08);
}

.topbar__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.topbar__logo-group {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  min-width: 0;
}

.topbar__flag {
  width: 28px;
  height: auto;
  border-radius: 2px;
  /*box-shadow: 0 1px 3px rgba(8, 39, 74, 0.2);*/
}

.topbar__brand {
  white-space: normal;
  line-height: 1.3;
}

.topbar__menu {
  display: flex;
  gap: 18px;
  font-size: 14px;
  flex-wrap: wrap;
}

.topbar__link {
  font-weight: 500;
  color: #0a4cc5;
}

.tricolor-banner {
  height: 8px;
  background: linear-gradient(90deg, #ffffff 0 33%, #0a4cc5 33% 66%, #d91414 66% 100%);
  box-shadow: inset 0 -1px 0 rgba(8, 39, 74, 0.08);
}

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}

.intro {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
  background: #ffffff;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 16px 42px rgba(10, 76, 197, 0.08);
  gap: 24px;
  margin-bottom: 36px;
}

.intro__content {
  min-width: 0;
}

.intro__title {
  margin: 0 0 16px;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
}

.intro__text {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.6;
  color: #2d4462;
  overflow-wrap: anywhere;
}

.intro__actions {
  display: flex;
}

.intro__emblem img {
  /*max-width: 160px;*/
  width: 100%;
  display: block;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 48px;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 24px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.button--outline {
  border: 1px solid #0a4cc5;
  color: #0a4cc5;
  background: transparent;
}

.button--outline:hover {
  background: rgba(10, 76, 197, 0.08);
}

.button--primary {
  background: #ffffff;
  border: none;
  color: #0a4cc5;
  min-width: 220px;
}

.button--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.support-card {
  position: relative;
  background: linear-gradient(120deg, #0a4cc5, #0053a4);
  color: #ffffff;
  border-radius: 32px;
  padding: 48px 32px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) minmax(220px, 0.8fr);
  gap: 24px;
}

.support-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(10, 76, 197, 0.22) 45%,
    rgba(218, 20, 20, 0.22) 100%
  );
  opacity: 0.5;
  pointer-events: none;
}

.support-card__text {
  position: relative;
  z-index: 1;
  font-size: 22px;
  line-height: 1.4;
  font-weight: 600;
}

.support-card__illustration {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.support-card__illustration img {
  width: 180px;
  max-width: 100%;
}

.form-card {
  background: #ffffff;
  border-radius: 32px;
  box-shadow: 0 16px 42px rgba(10, 76, 197, 0.08);
  padding: 40px 36px;
  display: grid;
  gap: 32px;
  position: relative;
  overflow: hidden;
}

.form-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.85), rgba(10, 76, 197, 0.12), rgba(218, 20, 20, 0.14));
  pointer-events: none;
}

.form-card__header,
.support-form {
  position: relative;
  z-index: 1;
}

.form-card__title {
  margin: 0;
  font-size: 28px;
  line-height: 1.3;
  font-weight: 700;
  color: #08274a;
}

.form-card__subtitle {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: #425d7f;
}

.support-form {
  display: grid;
  gap: 24px;
}

.field {
  display: grid;
  gap: 10px;
}

.field__label {
  font-size: 14px;
  font-weight: 600;
  color: #0a4cc5;
}

.field__control {
  appearance: none;
  font: inherit;
  color: #08274a;
  padding: 14px 16px;
  border: 1px solid rgba(8, 39, 74, 0.18);
  border-radius: 16px;
  background: #f8faff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field__control:focus {
  outline: none;
  border-color: #0a4cc5;
  box-shadow: 0 0 0 3px rgba(10, 76, 197, 0.18);
}

.button--block {
  width: 100%;
}

.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(8, 19, 41, 0.32);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 1000;
}

.modal.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
}

.modal__content {
  position: relative;
  background: #ffffff;
  border-radius: 24px;
  padding: 32px 28px;
  max-width: 360px;
  width: 100%;
  text-align: center;
  display: grid;
  gap: 20px;
  box-shadow: 0 24px 64px rgba(8, 39, 74, 0.22);
}

.modal__icon {
  width: 110px;
  height: 110px;
  margin: 0 auto;
  border-radius: 50%;
  background: #ff2d2d;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal__icon::before {
  content: '';
  display: block;
  width: 54px;
  height: 10px;
  border-radius: 5px;
  background: #ffffff;
}

.modal__title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #08274a;
}

.modal__subtitle {
  margin: 0;
  font-size: 16px;
  color: #2d4462;
}

.footer {
  padding: 32px 24px;
  background: #0a1a33;
  color: rgba(255, 255, 255, 0.82);
}

.footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
}

.footer__link {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: underline;
}

@media (max-width: 720px) {
  .support-card {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .support-card__illustration {
    justify-content: center;
  }

  .support-card__illustration img {
    width: 140px;
  }
}

@media (max-width: 640px) {
  .page {
    padding: 24px 16px 56px;
  }

  .topbar__inner {
    padding: 12px 16px;
    justify-content: center;
    gap: 12px;
  }

  .topbar__menu {
    width: 100%;
    justify-content: center;
    gap: 12px;
  }

  .intro {
    grid-template-columns: 1fr;
    padding: 24px 20px;
    text-align: center;
  }

  .intro__actions {
    justify-content: center;
  }

  .intro__emblem {
    display: flex;
    justify-content: center;
  }

  .support-card {
    padding: 32px 24px;
  }

  .support-card__text {
    font-size: 18px;
    text-align: center;
  }

  .support-card__illustration {
    justify-content: center;
  }

  .button {
    width: 100%;
    max-width: 320px;
  }

  .form-card {
    padding: 32px 24px;
  }

  .modal {
    padding: 16px;
  }

  .modal__content {
    padding: 28px 24px;
  }
}
