
/* Header */
.site-header {
  --cyan: #215cff;
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 100;
  width: 100%;
  height: var(--header-height);
  border-bottom: 1px solid rgba(0,0,0,.1);
  color: #0a0b0e;
  transform: translateX(-50%);
  transition: top .45s ease, width .45s ease, height .45s ease,
    background .3s ease, box-shadow .3s ease, border-color .3s ease,
    border-radius .35s ease;
}
.site-header.scrolled {
  top: 14px;
  width: min(calc(100% - 48px), 1180px);
  height: 66px;
  border: 1px solid rgba(10,11,14,.13);
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 18px 55px rgba(20,29,48,.13), inset 0 1px 0 rgba(255,255,255,.92);
  backdrop-filter: blur(22px) saturate(145%);
}
.site-header.menu-visible {
  background: rgba(255,255,255,.97);
  border-color: var(--line);
  box-shadow: 0 10px 35px rgba(4,15,38,.1);
}
.nav-shell {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto minmax(148px, 1fr);
  align-items: center;
  max-width: var(--max-width);
  width: calc(100% - 48px);
  height: 100%;
  margin-inline: auto;
  transition: width .35s ease, padding .35s ease;
}
.site-header.scrolled .nav-shell { width: 100%; padding-inline: 17px; }
.site-header.scrolled .brand img { width: 38px; height: 37px; }
.site-header.scrolled .brand-name strong { font-size: .82rem; }
.site-header.scrolled .brand-name span { font-size: .64rem; }
.site-header.scrolled .button-sm { min-height: 40px; }
.brand { display: inline-flex; align-items: center; gap: 12px; width: max-content; }
.brand img { width: 45px; height: 44px; border-radius: 8px; }
.brand-name { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name strong { font-family: var(--heading); font-size: 0.92rem; letter-spacing: -0.025em; }
.brand-name span {  color: var(--cyan); font-size: 0.73rem; letter-spacing: 0.05em; text-transform: uppercase; opacity: 0.66; }
.primary-nav { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }

.primary-nav .nav-cta{
  display: none;
}

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  color: inherit;
  background: none;
  font-size: 0.91rem;
  font-weight: 600;
  cursor: pointer;
}
.nav-link::after {
  position: absolute;
  right: 14px;
  bottom: 5px;
  left: 14px;
  height: 2px;
  background: var(--cyan);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s;
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); transform-origin: left; }
.dropdown-toggle span {
  display: grid;
  flex: 0 0 14px;
  place-items: center;
  width: 14px;
  height: 14px;
  font-size: 0;
  line-height: 1;
  transition: transform .2s ease;
}
.dropdown-toggle span::before {
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: "";
  transform: translateY(-1px) rotate(45deg);
}
.has-dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  width: 330px;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 24px 70px rgba(5, 15, 40, 0.12);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
}

.has-dropdown:hover button span {
    transform: rotate(-180deg);
}


.dropdown-menu::before { position: absolute; right: 0; bottom: 100%; left: 0; height: 13px; content: ""; }
.dropdown-menu a { display: block; padding: 12px 14px; border-radius: 7px; font-size: 0.89rem; font-weight: 600; transition: padding 0.25s ease }
.dropdown-menu a:hover, .dropdown-menu a:focus-visible { color: #0d2861; background: #f4f7fb; padding-left: 20px }
.has-dropdown:hover > .dropdown-menu,
.has-dropdown:focus-within > .dropdown-menu,
.has-dropdown.open > .dropdown-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-dropdown.open > .dropdown-toggle span { transform: rotate(180deg); }
.nav-cta { justify-self: end; color: #fff; background: #215cff; border-color: #215cff; }
.nav-cta:hover { color: #fff; background: #0a0b0e; border-color: #0a0b0e; }
.nav-toggle { display: none; }




@media (max-width: 1100px) {
  .nav-shell { grid-template-columns: 1fr auto auto; }
  .nav-link { padding-inline: 10px; }
  .nav-link::after { right: 10px; left: 10px; }
  .brand-name strong { font-size: .82rem; }

}



@media (max-width: 900px) {
  :root { --header-height: 72px; }
   .nav-shell { width: min(calc(100% - 48px), var(--max-width)); }
  .nav-shell { grid-template-columns: 1fr auto; }
  .site-header.scrolled { top: 9px; width: calc(100% - 48px); height: 60px; }
  .site-header.scrolled .nav-shell { width: 100%; padding-inline: 12px; }
  .site-header.menu-visible { top: 0; left: 0; width: 100%; height: var(--header-height); border-radius: 0; transform: none; }
  .site-header.menu-visible .nav-shell { width: min(calc(100% - 24px), var(--max-width)); padding-inline: 0; }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: flex-end;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }
  .nav-toggle span { width: 24px; height: 2px; background: currentColor; transition: transform .2s, opacity .2s, width .2s; }
  .nav-toggle span:nth-child(2) { width: 17px; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .main-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    padding: 22px 18px 120px;
    color: var(--ink);
    background: var(--white);
    overflow-y: auto;
     height: calc(100dvh - var(--header-height));
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .2s, visibility .2s, transform .2s;
  }
  .site-header.menu-visible .main-nav { opacity: 1; visibility: visible; transform: translateY(0); }
  .primary-nav { display: block; }
  .primary-nav > li { border-bottom: 1px solid var(--line); }
  .nav-link { justify-content: space-between; width: 100%; min-height: 60px; padding: 0 4px; font-family: var(--heading); font-size: 1.05rem; }
  .nav-link::after { display: none; }
  .dropdown-menu {
    position: static;
    width: 100%;
    max-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    overflow: hidden;
    transition: max-height .3s;
  }
  .dropdown-menu::before { display: none; }
  .has-dropdown:hover > .dropdown-menu, .has-dropdown:focus-within > .dropdown-menu { max-height: 0; transform: none; }
  .has-dropdown.open > .dropdown-menu { max-height: 400px; transform: none; }
  .dropdown-menu a { padding: 12px 15px 12px 22px; border-left: 2px solid var(--cyan); border-radius: 0; color: #56657f; transition: padding 0.25s ease;}
  .nav-cta { position: fixed; right: 18px; bottom: 22px; left: 18px; z-index: 110; display: none; }
  .site-header .primary-nav .nav-cta { display: flex; }

}


@media only screen and (max-width: 767px) {
  .site-header.scrolled {
    width: calc(100% - 24px);
  }

  .site-header.scrolled.menu-visible{
    width: 100%;
  }
  
  .nav-shell {
    width: min(calc(100% - 24px), var(--max-width));
  }
}

@media (max-width: 620px) {
   .nav-shell { width: min(calc(100% - 28px), var(--max-width)); }
  .brand-name strong { font-size: .75rem; }
  .brand-name span { font-size: .63rem; }
  .brand img { width: 40px; height: 39px; }

}





/* Footer */
.site-footer {
  padding-block: 52px 22px;
  padding-inline: 24px;
  color: #e7eef7;
  background: radial-gradient(circle at 50% 0, #08233d, #021326 58%, #010c1a);
}
.footer-container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr .72fr 1.05fr .72fr 1.25fr;
  gap: 46px;
  padding-bottom: 40px;
}
.footer-brand-name,
.footer-brand-subtitle {
  margin-bottom: 0;
  font-family: var(--heading);
  text-transform: uppercase;
}
.footer-brand-name {
  color: #fff;
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.footer-brand-subtitle {
  color: #19d9ef;
  font-size: .82rem;
  letter-spacing: .07em;
}
.footer-summary {
  max-width: 310px;
  margin: 24px 0 20px;
  color: #c4cfdd;
  font-size: .86rem;
  line-height: 1.7;
}
.footer-socials {
  display: flex;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-socials a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(205, 228, 243, .3);
  border-radius: 50%;
  color: #f3f8fc;
  font-size: 1rem;
  cursor: pointer;
  transition: color .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.footer-socials a:hover,
.footer-socials a:focus-visible {
  border-color: #1ddbef;
  color: #03172b;
  background: #1ddbef;
  box-shadow: 0 8px 24px rgba(29, 219, 239, .22);
  transform: translateY(-4px);
}
.footer-column h2,
.footer-contact h2 {
  position: relative;
  margin: 0 0 28px;
  padding-bottom: 12px;
  color: #fff;
  font-family: var(--heading);
  font-size: .94rem;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.footer-column h2::after,
.footer-contact h2::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: #1ddbef;
  content: "";
}
.footer-column ul,
.footer-contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-column li {
  margin-bottom: 18px;
  color: #d4dde8;
  font-size: .88rem;
  line-height: 1.45;
}
.footer-column a {
  display: inline-block;
  transition: color .22s ease, transform .22s ease;
}
.footer-column a:hover,
.footer-column a:focus-visible {
  color: #1ddbef;
  transform: translateX(5px);
}
.footer-contact-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 15px;
  color: #dbe5ef;
  font-size: .88rem;
}
.footer-contact-list i { color: #1ddbef; }
.footer-contact-list a { transition: color .22s ease; }
.footer-contact-list a:hover,
.footer-contact-list a:focus-visible { color: #1ddbef; }
.footer-contact .footer-office-title { margin-top: 26px; margin-bottom: 12px; }
.footer-contact address {
  color: #d4dde8;
  font-size: .84rem;
  font-style: normal;
  line-height: 1.6;
}
.footer-copyright {
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid rgba(188, 215, 234, .16);
  color: #c6d1de;
  font-size: .82rem;
  text-align: center;
}



@media (max-width: 767px) {
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-brand { grid-column: auto; }
  .footer-summary { max-width: 500px; }
  .site-footer {
  padding-inline: 12px;
  
}
}



@media only screen and (max-width: 1100px){
    .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 42px 64px;
  }
  .footer-brand { grid-column: 1 / -1; }
}







