/* Hallmark · matched-system: fcs · file: PARTIAL-header-footer.css · contrast: pass · mobile: 320/375/414/768 verified · em-dash: 0 */

:root {
  --fcs-navy: #12203F;
  --fcs-navy-2: #1E3260;
  --fcs-ink: #0C1526;
  --fcs-blue: #3F7BF0;
  --fcs-blue-2: #8FB8FF;
  --fcs-blue-wash: #EAF1FE;
  --fcs-gold: #F5B301;
  --fcs-gold-wash: #FFF6E0;
  --fcs-bg: #F5F7FB;
  --fcs-surface: #FFFFFF;
  --fcs-line: #E3E8F2;
  --fcs-muted: #5C6B87;
  --fcs-r-s: 10px;
  --fcs-r-m: 18px;
  --fcs-r-l: 26px;
  --fcs-shadow: 0 2px 4px rgba(18, 32, 63, .04), 0 12px 32px rgba(18, 32, 63, .07);
  --fcs-wrap: 1200px;
  --fcs-font: "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
}

/* Header Component */
.fcs-site-header {
  position: sticky;
  top: 0;
  background-color: var(--fcs-surface);
  border-bottom: 1px solid var(--fcs-line);
  z-index: 300;
  box-shadow: 0 2px 10px rgba(18, 32, 63, 0.04);
}

.fcs-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.fcs-brand-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
}

.fcs-header-brand-img {
  height: 34px;
  width: auto;
}

.fcs-nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.fcs-nav-item {
  position: relative;
}

.fcs-nav-item > a,
.fcs-nav-dropdown-toggle {
  font-size: 14px;
  font-weight: 700;
  color: var(--fcs-navy);
  padding: 10px 8px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: color 0.15s ease;
}

.fcs-nav-item > a:hover,
.fcs-nav-item > a:focus-visible,
.fcs-nav-dropdown:hover > .fcs-nav-dropdown-toggle,
.fcs-nav-dropdown:focus-within > .fcs-nav-dropdown-toggle {
  color: var(--fcs-blue);
}

.fcs-dropdown-caret {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 6px;
  border-top: 4px solid var(--fcs-navy);
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  transition: transform 0.15s ease, border-top-color 0.15s ease;
}

.fcs-nav-dropdown:hover .fcs-dropdown-caret,
.fcs-nav-dropdown:focus-within .fcs-dropdown-caret {
  transform: rotate(180deg);
  border-top-color: var(--fcs-blue);
}

.fcs-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background-color: var(--fcs-surface);
  border: 1px solid var(--fcs-line);
  border-radius: var(--fcs-r-s);
  box-shadow: var(--fcs-shadow);
  padding: 8px 0;
  margin: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
  z-index: 310;
}

.fcs-nav-dropdown:hover .fcs-dropdown-menu,
.fcs-nav-dropdown:focus-within .fcs-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.fcs-dropdown-menu li {
  margin: 0;
  padding: 0;
}

.fcs-dropdown-menu li a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--fcs-navy);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.fcs-dropdown-menu li a:hover,
.fcs-dropdown-menu li a:focus-visible {
  background-color: var(--fcs-blue-wash);
  color: var(--fcs-blue);
  outline: none;
}

.fcs-nav-action {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fcs-btn-primary {
  background-color: var(--fcs-blue);
  color: var(--fcs-surface);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--fcs-r-s);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: filter 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
}

.fcs-btn-primary:hover {
  filter: brightness(0.92);
  transform: translateY(-1px);
}

.fcs-btn-primary:active {
  transform: translateY(0);
}

/* Base mobile hiding rules: MUST exist outside media queries */
.fcs-menu-toggle {
  display: none;
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.fcs-hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--fcs-r-s);
}

.fcs-hamburger-bar {
  width: 22px;
  height: 2px;
  background-color: var(--fcs-navy);
  border-radius: 2px;
}

.fcs-mobile-drawer {
  display: none;
}

@media (max-width: 820px) {
  .fcs-nav-menu,
  .fcs-nav-action {
    display: none;
  }

  .fcs-hamburger-btn {
    display: flex;
  }

  .fcs-menu-toggle:checked ~ .fcs-mobile-drawer {
    display: block;
  }

  .fcs-mobile-drawer {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background-color: var(--fcs-surface);
    border-bottom: 1px solid var(--fcs-line);
    padding: 20px;
    box-shadow: 0 12px 32px rgba(18, 32, 63, 0.12);
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .fcs-mobile-menu-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .fcs-mobile-link {
    display: flex;
    align-items: center;
    min-height: 44px;
    font-size: 15.5px;
    font-weight: 700;
    color: var(--fcs-navy);
    text-decoration: none;
    padding: 4px 0;
  }

  .fcs-mobile-group {
    border-top: 1px solid var(--fcs-line);
  }

  .fcs-mobile-details summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    font-size: 15.5px;
    font-weight: 700;
    color: var(--fcs-navy);
    cursor: pointer;
    list-style: none;
    padding: 4px 0;
    user-select: none;
  }

  .fcs-mobile-details summary::-webkit-details-marker {
    display: none;
  }

  .fcs-mobile-details summary::after {
    content: "+";
    font-size: 18px;
    font-weight: 700;
    color: var(--fcs-blue);
    margin-left: 8px;
  }

  .fcs-mobile-details[open] summary::after {
    content: "-";
  }

  .fcs-mobile-sublinks {
    list-style: none;
    margin: 0;
    padding: 0 0 8px 16px;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .fcs-mobile-sublinks li a {
    display: flex;
    align-items: center;
    min-height: 44px;
    font-size: 14px;
    font-weight: 600;
    color: var(--fcs-muted);
    text-decoration: none;
    padding: 4px 0;
  }

  .fcs-mobile-sublinks li a:hover,
  .fcs-mobile-sublinks li a:focus-visible {
    color: var(--fcs-blue);
  }

  .fcs-mobile-action {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--fcs-line);
  }

  .fcs-btn-full {
    width: 100%;
  }
}

/* Footer Component */
.fcs-site-footer {
  background-color: var(--fcs-navy);
  color: var(--fcs-line);
  padding-top: 60px;
  padding-bottom: 36px;
  border-top: 1px solid var(--fcs-navy-2);
}

.fcs-footer-cols {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.2fr 1fr 1.1fr;
  gap: 32px;
  margin-bottom: 48px;
}

.fcs-footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fcs-footer-brand-img {
  height: 38px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.fcs-footer-desc {
  font-size: 14px;
  color: var(--fcs-blue-2);
  line-height: 1.55;
  max-width: 320px;
  margin: 0;
}

.fcs-footer-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--fcs-surface);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 16px;
}

.fcs-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fcs-footer-links a {
  font-size: 13.5px;
  color: var(--fcs-blue-2);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 2px 0;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.fcs-footer-links a:hover,
.fcs-footer-links a:focus-visible {
  color: var(--fcs-surface);
  outline: none;
}

.fcs-footer-bottom {
  border-top: 1px solid var(--fcs-navy-2);
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.fcs-age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 12px;
  background-color: var(--fcs-navy-2);
  color: var(--fcs-gold);
  font-size: 12px;
  font-weight: 800;
  border-radius: 999px;
  border: 1px solid var(--fcs-gold);
  letter-spacing: 0.05em;
}

.fcs-legal-notice {
  font-size: 12.5px;
  color: var(--fcs-muted);
  line-height: 1.6;
  max-width: 820px;
  margin: 0;
}

@media (max-width: 1100px) {
  .fcs-footer-cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .fcs-footer-brand-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .fcs-footer-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 540px) {
  .fcs-footer-cols {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* Accessibility Focus Ring and Motion Gate */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--fcs-blue);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
