/* =====================================================================
   site-chrome.css — the shared services header + footer, for pages that
   don't load services/css/style.css (e.g. the careers portal).
   Rules copied from services/css/style.css and scoped to .top-header /
   .site-footer so they don't touch the host page's own styles.
   The menu pill, link and dropdown look comes from /services/css/nav-styles.css,
   which the header component links itself — don't restyle it here.
   ===================================================================== */

.top-header,
.site-footer {
  --chrome-primary: #4a3185;
  --chrome-secondary: #39b8e1;
  --chrome-body: #67696f;
  --chrome-btn-radius: 28px;
  --chrome-shadow-soft: 0 6px 18px rgba(74, 49, 133, 0.08);
  font-family: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
}

/* ---------- Header ---------- */
.top-header {
  background: linear-gradient(180deg, #dff5fb 0%, #ffffff 45%);
}
.top-header .container {
  max-width: 1300px;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
}
.site-footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.top-hero {
  position: relative;
  overflow: visible;
  padding: 18px 0 36px;
}
.top-header .header-row {
  align-items: center;
  gap: 16px;
  overflow: visible;
}
.top-header .brand {
  height: 44px;
  max-height: 44px;
  max-width: 320px;
  width: auto;
  object-fit: contain;
  display: block;
}
.top-header a {
  color: var(--chrome-primary);
  text-decoration: none;
}
.top-hero .nav .nav-link {
  color: var(--chrome-primary) !important;
  padding: 8px 12px;
}
@media (min-width: 992px) {
  .top-hero .nav .nav-link {
    font-size: 15px;
  }
}

.top-header .cta-btn {
  white-space: nowrap;
  display: inline-block;
  padding: 10px 22px;
  border-radius: var(--chrome-btn-radius);
  font-weight: 600;
  background: var(--chrome-primary);
  color: #ffffff;
  border: 1px solid transparent;
  box-shadow: var(--chrome-shadow-soft);
  transition: all 0.18s ease;
}
.top-header .cta-btn:hover {
  background: #ffffff;
  color: var(--chrome-primary);
  border-color: var(--chrome-primary);
}

/* dropdowns open on hover, placed under the trigger */
.top-header .nav .dropdown {
  position: relative;
}
.top-header .nav .dropdown-menu {
  position: absolute !important;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  z-index: 3000;
  border: none;
  border-radius: 8px;
  padding: 0.75rem 0;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  margin-top: 0;
}
.top-header .nav .dropdown:hover .dropdown-menu {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.top-header .dropdown-item {
  padding: 0.5rem 1.5rem;
  font-size: 0.95rem;
  color: var(--chrome-body);
  transition: all 0.2s ease;
}
.top-header .dropdown-item:hover {
  color: var(--chrome-primary);
  background-color: rgba(74, 49, 133, 0.05);
}

@media (max-width: 767px) {
  .top-hero {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .top-header .brand {
    height: 48px;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  background: #0b0711;
  color: rgba(255, 255, 255, 0.92);
  padding: 56px 20px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.02);
}
.site-footer p {
  margin: 0 0 20px;
}
.site-footer .footer-row {
  display: flex;
  gap: 36px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 28px;
}
.site-footer .footer-col {
  flex: 1 1 0;
  min-width: 0;
}
.site-footer .footer-brand {
  font-weight: 700;
  font-size: 28px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.2px;
}
.site-footer .footer-brand .brand-name {
  color: #fff;
}
.site-footer .footer-brand .brand-accent {
  color: var(--chrome-secondary);
}
.site-footer .footer-desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  line-height: 1.8;
  max-width: 420px;
}
.site-footer .footer-head {
  font-weight: 600;
  margin-bottom: 18px;
  font-size: 18px;
}
.site-footer .footer-head::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 10px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--chrome-secondary), #6ad0d0 60%);
}
.site-footer .footer-links-columns {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.site-footer .footer-links {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}
.site-footer .footer-links li {
  margin-bottom: 12px;
}
.site-footer .footer-links a,
.site-footer .contact-item a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 15px;
}
.site-footer .footer-links a:hover,
.site-footer .contact-item a:hover {
  color: var(--chrome-secondary);
}
.site-footer .contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 15px;
}
.site-footer .contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--chrome-secondary), #14a7a0);
  flex: 0 0 42px;
}
.site-footer .footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 14px 0 18px;
}
.site-footer .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}
.site-footer .footer-bottom a {
  color: var(--chrome-secondary);
  text-decoration: none;
  font-weight: 600;
}
@media (max-width: 920px) {
  .site-footer .footer-row {
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
  }
  .site-footer .footer-desc {
    max-width: 100%;
  }
}
