:root {
  --navy-950: #020b22;
  --navy-900: #071a49;
  --navy-800: #0b2c6c;
  --blue-700: #145ac1;
  --blue-500: #2a7de1;
  --blue-100: #eaf2ff;
  --gold-500: #c7a34f;
  --gold-300: #e5cc87;
  --white: #ffffff;
  --ink: #0b1732;
  --muted: #64708a;
  --surface: #f4f7fc;
  --line: #dce4f0;
  --shadow: 0 24px 60px rgba(2, 20, 60, 0.14);
  --radius-lg: 30px;
  --radius-md: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 9999;
  padding: 12px 16px;
  color: var(--navy-900);
  background: var(--white);
  border-radius: 8px;
  font-weight: 700;
}

.skip-link:focus {
  top: 16px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(7, 26, 73, 0.08);
  box-shadow: 0 8px 30px rgba(2, 20, 60, 0.04);
}

.header__inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand__seal {
  flex: 0 0 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--gold-300);
  background: var(--navy-900);
  border: 2px solid var(--gold-500);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.brand__text {
  min-width: 0;
  display: grid;
  line-height: 1.2;
}

.brand__text strong {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.brand__text small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  position: relative;
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.nav a:not(.nav__button)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  background: var(--gold-500);
  transition: right 0.2s ease;
}

.nav a:not(.nav__button):hover::after,
.nav a:not(.nav__button):focus-visible::after {
  right: 0;
}

.nav__button {
  padding: 11px 19px;
  color: var(--white) !important;
  background: var(--navy-900);
  border-radius: 999px;
}

.menu-button {
  display: none;
  width: 46px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 10px;
  background: var(--blue-100);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--navy-900);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 26%, rgba(42, 125, 225, 0.34), transparent 24%),
    linear-gradient(125deg, var(--navy-950) 0%, var(--navy-900) 48%, var(--navy-800) 100%);
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero::before {
  width: 480px;
  height: 480px;
  left: -250px;
  bottom: -230px;
  border: 72px solid rgba(42, 125, 225, 0.18);
  transform: rotate(18deg);
}

.hero::after {
  width: 280px;
  height: 280px;
  right: -140px;
  top: 70px;
  border: 42px solid rgba(199, 163, 79, 0.14);
  border-radius: 50%;
}

.hero__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to right, black, transparent 72%);
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 72px;
  align-items: center;
  padding-block: 90px;
}

.overline {
  margin: 0 0 22px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--gold-300);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.overline span {
  width: 38px;
  height: 2px;
  background: currentColor;
}

.overline--blue {
  color: var(--blue-700);
}

.overline--navy {
  color: var(--navy-900);
}

.hero h1 {
  margin: 0;
  font-size: clamp(48px, 6.7vw, 88px);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.hero h1 em {
  color: var(--gold-300);
  font-style: normal;
}

.hero__role {
  max-width: 670px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(16px, 2vw, 21px);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero__actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  min-height: 50px;
  padding: 13px 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  text-align: center;
  font-size: 14px;
  font-weight: 900;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.button--gold {
  color: var(--navy-950);
  background: var(--gold-300);
}

.button--gold:hover,
.button--gold:focus-visible {
  background: var(--white);
}

.button--outline {
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.38);
}

.button--outline:hover,
.button--outline:focus-visible {
  background: rgba(255, 255, 255, 0.11);
  border-color: var(--white);
}

.hero__phone {
  margin-top: 36px;
  width: fit-content;
  display: grid;
  text-decoration: none;
}

.hero__phone span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.hero__phone strong {
  color: var(--white);
  font-size: clamp(25px, 3vw, 38px);
  letter-spacing: 0.04em;
}

.hero__card {
  padding: 34px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045));
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.22);
}

.hero__card-top {
  display: flex;
  justify-content: space-between;
  color: var(--gold-300);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.hero__card h2 {
  margin: 23px 0 18px;
  font-size: 31px;
  line-height: 1.08;
}

.hero__list {
  display: grid;
}

.hero__list p {
  margin: 0;
  padding: 18px 0;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  color: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 700;
}

.hero__list b {
  color: var(--gold-300);
  font-size: 12px;
}

.hero__card-name {
  padding-top: 24px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.section {
  padding: 110px 0;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 46px;
}

.section-heading h2,
.information__intro h2,
.contact h2 {
  margin: 0;
  font-size: clamp(35px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

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

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  position: relative;
  min-height: 238px;
  padding: 29px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 35px rgba(2, 20, 60, 0.04);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  right: -48px;
  bottom: -48px;
  width: 112px;
  height: 112px;
  border: 17px solid var(--blue-100);
  border-radius: 50%;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(20, 90, 193, 0.28);
  box-shadow: var(--shadow);
}

.service-card__number {
  position: relative;
  z-index: 1;
  color: var(--gold-500);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.service-card h3 {
  position: relative;
  z-index: 1;
  max-width: 300px;
  margin: 24px 0;
  font-size: 23px;
  line-height: 1.24;
}

.service-card a {
  position: relative;
  z-index: 1;
  color: var(--blue-700);
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
}

.service-card a span {
  display: inline-block;
  margin-left: 5px;
  transition: transform 0.2s ease;
}

.service-card a:hover span {
  transform: translateX(4px);
}

.information {
  position: relative;
  color: var(--white);
  background:
    radial-gradient(circle at 15% 8%, rgba(199, 163, 79, 0.14), transparent 24%),
    linear-gradient(135deg, var(--navy-900), var(--navy-950));
  overflow: hidden;
}

.information::after {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  right: -300px;
  bottom: -290px;
  border: 68px solid rgba(42, 125, 225, 0.12);
  transform: rotate(22deg);
}

.information__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 70px;
  align-items: start;
}

.information__name {
  margin: 34px 0 2px;
  font-weight: 900;
}

.information__role {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.information__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.institution-card {
  padding: 30px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
}

.institution-card header {
  padding-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.institution-card h3 {
  margin: 0;
  color: var(--gold-300);
  font-size: 16px;
  letter-spacing: 0.17em;
}

.institution-card header span {
  color: rgba(255, 255, 255, 0.22);
  font-size: 28px;
  font-weight: 900;
}

.institution-card ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.institution-card li {
  position: relative;
  padding: 11px 0 11px 20px;
  color: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.institution-card li:last-child {
  border-bottom: 0;
}

.institution-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 21px;
  width: 7px;
  height: 7px;
  background: var(--gold-500);
  border-radius: 50%;
}

.contact {
  padding: 84px 0;
  background: var(--gold-300);
}

.contact__grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.contact h2 {
  color: var(--navy-950);
}

.contact__name {
  margin: 19px 0 0;
  font-weight: 900;
}

.contact__role {
  margin: 1px 0 0;
  color: rgba(2, 11, 34, 0.67);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.contact__action {
  flex: 0 0 auto;
  display: grid;
  justify-items: end;
  gap: 16px;
}

.contact__phone {
  color: var(--navy-950);
  text-decoration: none;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.button--navy {
  min-width: 190px;
  color: var(--white);
  background: var(--navy-950);
}

.button--navy:hover,
.button--navy:focus-visible {
  background: var(--navy-800);
}

.footer {
  padding: 30px 0;
  color: rgba(255, 255, 255, 0.72);
  background: var(--navy-950);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer__inner div {
  display: grid;
}

.footer__inner strong {
  color: var(--white);
  font-size: 14px;
}

.footer__inner span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer__inner a {
  color: var(--gold-300);
  text-decoration: none;
  font-weight: 900;
}

.whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: #1f9d55;
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.24);
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
  transition: transform 0.2s ease;
}

.whatsapp:hover,
.whatsapp:focus-visible {
  transform: translateY(-4px) scale(1.03);
}

@media (max-width: 960px) {
  .header__inner {
    min-height: 74px;
  }

  .brand__text strong {
    font-size: 13px;
  }

  .brand__text small {
    display: none;
  }

  .menu-button {
    display: block;
    position: relative;
    z-index: 1002;
  }

  .menu-button.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

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

  .menu-button.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav {
    position: fixed;
    inset: 74px 0 auto 0;
    display: grid;
    gap: 0;
    padding: 12px 20px 22px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(2, 11, 34, 0.14);
    transform: translateY(-130%);
    visibility: hidden;
    transition: transform 0.24s ease, visibility 0.24s ease;
  }

  .nav.is-open {
    transform: translateY(0);
    visibility: visible;
  }

  .nav a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
  }

  .nav__button {
    margin-top: 12px;
    text-align: center;
    border-bottom: 0 !important;
  }

  .hero {
    min-height: auto;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 50px;
    padding-block: 78px;
  }

  .hero__card {
    max-width: 720px;
  }

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

  .information__grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

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

  .contact__action {
    justify-items: start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .brand__seal {
    flex-basis: 42px;
    height: 42px;
  }

  .brand__text strong {
    max-width: 220px;
    font-size: 12px;
  }

  .hero__grid {
    padding-block: 64px 72px;
  }

  .hero h1 {
    font-size: clamp(40px, 13vw, 62px);
  }

  .hero__role {
    font-size: 14px;
    line-height: 1.7;
  }

  .hero__actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero__card {
    padding: 27px 22px;
  }

  .hero__card h2 {
    font-size: 24px;
  }

  .section {
    padding: 76px 0;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .section-heading h2,
  .information__intro h2,
  .contact h2 {
    font-size: 36px;
  }

  .services__grid,
  .information__cards {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 210px;
  }

  .contact {
    padding: 66px 0;
  }

  .contact__phone {
    font-size: 31px;
  }

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

  .whatsapp {
    right: 14px;
    bottom: 14px;
    width: 54px;
    height: 54px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
