:root {
  --blue: #009EE2;
  --orange: #F29100;
  --deep: #03033F;
  --ink: #141B2F;
  --muted: #5D6A7F;
  --line: #D6E4F6;
  --soft: #EEF6FF;
  --white: #FFFFFF;
  --shadow: 0 18px 42px rgba(9, 29, 67, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: #F7FBFF;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1230px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  background: linear-gradient(90deg, #2046B9, #2369F0);
  color: var(--white);
  font-size: 13px;
}

.topbar__inner {
  min-height: 49px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar__group,
.topbar__item,
.socials {
  display: flex;
  align-items: center;
}

.topbar__group {
  gap: 16px;
  min-width: 0;
}

.topbar__item {
  gap: 8px;
  opacity: 0.96;
  white-space: nowrap;
}

.topbar__item svg,
.socials svg {
  width: 16px;
  height: 16px;
}

.topbar__item > svg,
.socials a {
  flex: 0 0 auto;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.11);
}

.topbar small {
  display: block;
  margin-left: -4px;
  font-size: 10px;
  line-height: 1;
}

.socials {
  gap: 8px;
}

.navbar {
  background: var(--white);
  box-shadow: 0 1px 0 rgba(8, 32, 82, 0.08);
  position: sticky;
  top: 0;
  z-index: 20;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 0 0 auto;
}

.brand__gov {
  width: 54px;
  height: auto;
}

.brand__logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.brand__divider {
  width: 1px;
  height: 46px;
  background: #D7DFEC;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dropdown {
  position: relative;
}

.dropdown__toggle {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.dropdown__toggle svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.dropdown.is-open .dropdown__toggle svg,
.dropdown:hover .dropdown__toggle svg {
  transform: rotate(180deg);
}

.dropdown__menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  z-index: 50;
  min-width: 258px;
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid #DCE8F6;
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.2s ease;
}

.dropdown__menu a {
  padding: 12px 14px;
  border-radius: 9px;
  color: #425066;
  font-size: 14px;
  font-weight: 750;
}

.dropdown__menu a:hover {
  color: #0B55F4;
  background: #F2F7FF;
}

.dropdown:hover .dropdown__menu,
.dropdown.is-open .dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.navlinks__item {
  min-height: 43px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 15px;
  border-radius: 0;
  color: #425066;
  font-size: 14px;
  font-weight: 700;
  transition: 0.2s ease;
}

.navlinks__item::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 0;
  height: 3px;
  border-radius: 999px;
  background: #0B55F4;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.navlinks__item:hover,
.navlinks__item.is-active {
  color: #0B55F4;
  background: transparent;
}

.navlinks__item:hover::after,
.navlinks__item.is-active::after {
  transform: scaleX(1);
}

.button {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button svg,
.navlinks svg {
  width: 18px;
  height: 18px;
}

.button--small {
  min-height: 44px;
  padding: 0 22px;
  font-size: 14px;
}

.button--primary {
  background: linear-gradient(135deg, #0A8FE8, #2056F2);
  color: var(--white);
  box-shadow: 0 16px 28px rgba(13, 94, 232, 0.28);
}

.button--ghost {
  color: #0B55F4;
  background: var(--white);
  border: 2px solid #1458EF;
}

.button--glass {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--deep);
  background: var(--white);
  font-weight: 800;
}

.hero {
  min-height: 748px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #111833;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  transform: scale(1.035);
  transition: opacity 0.55s ease, transform 2.2s ease;
  z-index: -3;
}

.hero__slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(4, 7, 28, 0.86) 0%, rgba(3, 3, 63, 0.62) 45%, rgba(0, 158, 226, 0.12) 100%),
    linear-gradient(0deg, rgba(3, 3, 63, 0.68), rgba(3, 3, 63, 0.12));
}

.hero__content {
  min-height: 748px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: var(--white);
  padding: 80px 0 115px;
}

.eyebrow {
  margin: 0 0 18px;
  color: #BFD8FF;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(56px, 7vw, 112px);
  line-height: 0.92;
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.hero h2 {
  margin: 28px 0 18px;
  max-width: 780px;
  font-size: clamp(25px, 3vw, 42px);
  line-height: 1.15;
}

.hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
  line-height: 1.8;
  font-weight: 600;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.hero__arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  cursor: pointer;
}

.hero__arrow--prev {
  left: 14px;
}

.hero__arrow--next {
  right: 14px;
}

.hero__dots {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.4);
}

.hero__dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.62);
  cursor: pointer;
}

.hero__dots button.is-active {
  width: 15px;
  height: 15px;
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.26);
}

.quick-stats {
  background: var(--white);
  border-bottom: 1px solid #E4EEF9;
}

.quick-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #E4EEF9;
}

.quick-stats article {
  min-height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 28px;
  background: var(--white);
}

.quick-stats strong {
  color: var(--deep);
  font-size: 30px;
  font-weight: 900;
}

.quick-stats span {
  margin-top: 7px;
  color: var(--muted);
  line-height: 1.45;
}

.section {
  padding: 88px 0;
}

.section--soft,
.news-section {
  background: linear-gradient(180deg, #EEF6FF 0%, #F8FBFF 100%);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 56px;
}

.section-header > div {
  max-width: 760px;
}

.section-header h2 {
  margin: 0;
  color: #173A91;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.1;
  font-weight: 900;
}

.section-header p {
  margin: 14px 0 0;
  color: #0B55F4;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.section-header__button {
  min-height: 50px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--orange), #FFB33D);
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(242, 145, 0, 0.2);
}

.section-header__button svg {
  width: 18px;
  height: 18px;
}

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

.service-card {
  min-height: 333px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 32px 34px;
  border: 1px solid #CEE1FA;
  border-radius: 14px;
  background: var(--white);
  text-align: center;
  box-shadow: 0 14px 28px rgba(20, 62, 118, 0.05);
  transition: 0.2s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 158, 226, 0.55);
  box-shadow: var(--shadow);
}

.service-card__icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #2369F0;
  background: #F6FAFF;
  box-shadow: 0 14px 28px rgba(32, 86, 242, 0.11);
}

.service-card__icon svg {
  width: 32px;
  height: 32px;
  stroke-width: 2.8;
}

.service-card h3 {
  margin: 28px 0 16px;
  font-size: 20px;
}

.service-card p {
  flex: 1;
  margin: 0;
  color: #58657A;
  line-height: 1.55;
}

.service-card a {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid #EEF1F5;
  color: #0B55F4;
  font-weight: 800;
}

.service-card a svg {
  width: 18px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-transform: uppercase;
  margin: 0 0 12px;
  color: #0B55F4;
  font-size: 14px;
  font-weight: 800;
}

.section-kicker span {
  width: 48px;
  height: 4px;
  border-radius: 999px;
  background: #1F5AF1;
}

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

.news-card {
  padding: 24px;
  border: 1px solid #E3ECF6;
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 18px 34px rgba(9, 29, 67, 0.06);
}

.news-card__media {
  position: relative;
  height: 220px;
  overflow: hidden;
  border-radius: 16px;
  background: #DCE9F8;
}

.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card__media span,
.news-card__media time {
  position: absolute;
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
}

.news-card__media span {
  top: 16px;
  left: 16px;
  padding: 10px 19px;
  border-radius: 999px;
  background: linear-gradient(135deg, #169BEE, #2056F2);
  box-shadow: 0 10px 22px rgba(4, 41, 122, 0.25);
}

.news-card__media time {
  right: 12px;
  bottom: 12px;
  padding: 9px 13px;
  border-radius: 12px;
  background: rgba(8, 14, 33, 0.78);
}

.news-card h3 {
  margin: 20px 0 14px;
  min-height: 86px;
  color: #263145;
  font-size: 21px;
  line-height: 1.35;
  text-transform: uppercase;
}

.news-card p {
  min-height: 76px;
  margin: 0;
  color: #64738B;
  line-height: 1.55;
}

.news-card__button {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
  border-radius: 10px;
  color: #174DBB;
  background: #E4F0FF;
  font-weight: 800;
}

.split-section {
  background:
    linear-gradient(90deg, rgba(3, 3, 63, 0.94), rgba(3, 3, 63, 0.62)),
    url("https://images.unsplash.com/photo-1543269865-cbf427effbad?auto=format&fit=crop&w=1800&q=80") center/cover;
  color: var(--white);
}

.split-section__grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 54px;
  align-items: center;
}

.feature-panel h2 {
  max-width: 640px;
  margin: 0 0 18px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.1;
}

.feature-panel p:not(.eyebrow) {
  max-width: 660px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.75;
}

.feature-panel__list {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.feature-panel__list span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.feature-panel__list svg {
  color: var(--orange);
}

.contact-panel {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.contact-panel h3 {
  margin: 0 0 20px;
  font-size: 24px;
}

.contact-panel form,
.contact-panel label {
  display: grid;
  gap: 10px;
}

.contact-panel form {
  gap: 16px;
}

.contact-panel label {
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 800;
}

.contact-panel input,
.contact-panel select,
.contact-panel textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 12px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.2);
  padding: 13px 14px;
  outline: none;
}

.contact-panel input::placeholder,
.contact-panel textarea::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.contact-panel select option {
  color: var(--ink);
}

.footer {
  padding: 54px 0 0;
  color: #B8CEF4;
  background: linear-gradient(180deg, #213E8E 0%, var(--deep) 100%);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 58px;
  padding-bottom: 38px;
}

.footer__logo {
  width: 92px;
  height: 92px;
  object-fit: contain;
  margin-bottom: 20px;
}

.footer h2,
.footer h3 {
  margin: 0 0 14px;
  color: var(--white);
}

.footer p {
  max-width: 350px;
  margin: 0;
  line-height: 1.7;
}

.footer a {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin: 0 0 12px;
}

.footer h3 {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.footer svg {
  width: 16px;
  color: #78B7FF;
}

.footer__socials {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.footer__socials a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin: 0;
  border-radius: 8px;
  background: rgba(0, 158, 226, 0.34);
}

.footer__bottom {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #8FA7D3;
  font-size: 12px;
}

.chat-button {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 30;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: #0068FF;
  box-shadow: 0 18px 30px rgba(0, 104, 255, 0.32);
  cursor: pointer;
}

.chat-button svg {
  width: 27px;
  height: 27px;
}

@media (max-width: 1120px) {
  .topbar__group--right,
  .topbar__item:nth-child(3),
  .topbar__item:nth-child(4) {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .navlinks {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border: 1px solid #DCE8F6;
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .navlinks.is-open {
    display: flex;
  }

  .navlinks__item,
  .button--small {
    justify-content: flex-start;
    width: 100%;
    border-radius: 10px;
  }

  .dropdown,
  .dropdown__toggle {
    width: 100%;
  }

  .dropdown__toggle {
    justify-content: space-between;
  }

  .dropdown__menu {
    position: static;
    min-width: 0;
    margin-top: 8px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }

  .dropdown.is-open .dropdown__menu {
    display: grid;
  }

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

  .split-section__grid {
    grid-template-columns: 1fr;
  }
}

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

  .topbar__inner {
    min-height: 44px;
  }

  .topbar__group {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .topbar__item {
    font-size: 12px;
  }

  .navbar__inner {
    min-height: 76px;
  }

  .brand {
    gap: 12px;
  }

  .brand__gov {
    width: 44px;
  }

  .brand__logo {
    width: 50px;
    height: 50px;
  }

  .brand__divider {
    height: 38px;
  }

  .hero,
  .hero__content {
    min-height: 670px;
  }

  .hero__content {
    padding: 70px 0 96px;
  }

  .hero h1 {
    font-size: 58px;
  }

  .hero h2 {
    font-size: 28px;
  }

  .hero p:not(.eyebrow) {
    font-size: 16px;
  }

  .hero__actions,
  .hero__actions .button {
    width: 100%;
  }

  .hero__arrow {
    display: none;
  }

  .quick-stats__grid,
  .service-grid,
  .news-grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .quick-stats article {
    min-height: 98px;
  }

  .section {
    padding: 66px 0;
  }

  .section-header {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 42px;
  }

  .service-card {
    min-height: auto;
    padding: 34px 24px 28px;
  }

  .news-card {
    padding: 18px;
    border-radius: 18px;
  }

  .news-card__media {
    height: 205px;
  }

  .news-card h3,
  .news-card p {
    min-height: 0;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-panel {
    padding: 22px;
  }

  .footer__grid {
    gap: 34px;
  }

  .footer__bottom {
    padding: 18px 0;
  }
}
