:root {
  --navy: #001C33;
  --red: #EF4857;
  --teal: #249DA7;
  --lgray: #A4ACB8;
  --dgray: #58595B;
  --white: #ffffff;
  --offwhite: #F5F7FA;
  --green: #25D366;
  --darkblue: #00346A;
  --lightblue: #005AB7;
  --font: 'Poppins', sans-serif;
  --ease: cubic-bezier(.4,0,.2,1);
  --t: 0.35s;
  --transition: var(--t) var(--ease);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--navy); background: var(--white); overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
input, select, textarea { font-family: var(--font); }
button { cursor: pointer; font-family: var(--font); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 2000;
}

.topbar {
  background: var(--darkblue);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 400;
  padding: 8px 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.topbar-left { display: flex; align-items: center; gap: 24px; }
.topbar-left a { display: flex; align-items: center; gap: 6px; color: var(--white); transition: color var(--transition); }
.topbar-left a:hover { color: var(--teal); }
.topbar-right { display: flex; align-items: center; gap: 14px; }
.topbar-right span { color: var(--white); font-size: 0.78rem; }
.topbar-right a { color: var(--white); transition: color var(--transition); font-size: 1rem; }
.topbar-right a:hover { color: var(--red); }
.topbar svg { width: 14px; height: 14px; fill: currentColor; }
.topbar-message { width: 100%; text-align: center; }
.topbar-message a { text-decoration: underline; }

.navbar {
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 120px;
  height: 70px;
  position: relative;
  box-shadow: 0 2px 20px rgba(0,28,51,0.10);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: 0 4px 30px rgba(0,28,51,0.18); }

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

.logo-icon {
  width: 390px; height: 38px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3px;
  max-width: 100%;
}

.logo-icon img { max-width: 100%; max-height: 100%; height: auto; width: 100%; }
.logo-icon span { display: block; border-radius: 2px; }
.logo-icon span:nth-child(1) { background: var(--red); }
.logo-icon span:nth-child(2) { background: var(--red); border-radius: 2px 8px 2px 2px; }
.logo-icon span:nth-child(3) { background: var(--teal); border-radius: 2px 2px 2px 8px; }
.logo-icon span:nth-child(4) { background: var(--navy); }
.logo-text { line-height: 1.1; }
.logo-text .brand { font-size: 1.15rem; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
.logo-text .brand span { color: var(--red); }
.logo-text .sub { font-size: 0.62rem; font-weight: 500; letter-spacing: 0.18em; color: var(--dgray); text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dgray);
  padding: 6px 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  position: relative;
  transition: color var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 14px; right: 14px;
  height: 2px;
  background: var(--navy);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--navy); font-weight: 700; }
.nav-links a:hover { font-weight: 700; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(0, 28, 51, 0.12);
  border-radius: 10px;
  background: var(--white);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  color: var(--navy);
  flex-shrink: 0;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle:hover {
  border-color: rgba(0, 28, 51, 0.24);
  box-shadow: 0 6px 18px rgba(0, 28, 51, 0.08);
}

.navbar.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.navbar.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.btn-visor {
  background: var(--darkblue);
  color: var(--white) !important;
  padding: 10px 20px !important;
  border-radius: 4px;
  font-weight: 700 !important;
  letter-spacing: 0.04em;
  transition: background var(--transition) !important;
}
.btn-visor::after { display: none !important; }
.btn-visor:hover { background: var(--navy) !important; color: var(--white) !important; }

@media (max-width: 768px) {
  .navbar { gap: 12px; }
  .logo {
    flex: 1;
    min-width: 0;
  }
  .logo-icon {
    width: min(250px, calc(100vw - 116px));
    height: auto;
  }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: calc(100% + 12px);
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 16px;
    background: var(--white);
    border: 1px solid #edf0f4;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0, 28, 51, 0.14);
  }
  .navbar.menu-open .nav-links { display: flex; }
  .nav-links a {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
  }
  .nav-links a::after { display: none; }
  .btn-visor {
    width: 100%;
    text-align: center;
    padding: 14px 16px !important;
  }
}
