/* Bit Space — shared UI polish and final visual refinements. */

/* Tipography refinement */
h1, h2, h3 { text-wrap: balance; }
body { text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }

/* Content should never depend on a scroll event to become readable. */
.reveal,
.reveal.visible { opacity: 1; transform: none; }

/* Slightly richer nav chrome */
nav {
  transition: background 0.3s ease, box-shadow 0.3s ease, height 0.3s ease;
  padding-left: max(5%, calc((100% - 1220px) / 2));
  padding-right: max(5%, calc((100% - 1220px) / 2));
  background: #fff !important;
}
@media (min-width: 641px) {
  body.scrolled nav { height: 58px; }
}
.logo-box {
  width: 210px;
  height: 62px;
  position: relative;
  background: url('../images/bitspace-logo.png') center / 100% auto no-repeat;
  border-radius: 0;
  box-shadow: none;
  transition: transform 0.25s ease;
}
.logo-box::after {
  content: 'SMART SOFTWARE • POWERFUL SOLUTIONS';
  position: absolute;
  left: 38px;
  right: 0;
  bottom: 1px;
  color: #111827;
  font-family: 'Inter', sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .025em;
  line-height: 1;
  white-space: nowrap;
  text-align: center;
}
.logo-box svg,
.logo-name { display: none; }
.logo:hover .logo-box { transform: rotate(-6deg) scale(1.06); }

/* Product-first navigation inspired by enterprise ERP sites. */
.nav-menu { position: relative; }
.nav-menu-trigger { display: inline-flex !important; align-items: center; gap: 6px; }
.nav-menu-trigger span {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  margin: -3px 0 0 2px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  color: #8090a8;
  transform: rotate(45deg);
  transition: transform .18s ease, color .18s ease;
}
.nav-menu.open .nav-menu-trigger span,
.nav-menu:hover .nav-menu-trigger span { transform: rotate(225deg); color: #1d4ed8; }
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, -8px);
  width: 430px;
  max-height: calc(100vh - 112px);
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 22px;
  background: rgba(255, 255, 255, .98);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(26,23,20,.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.nav-menu::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -12px;
  right: -12px;
  height: 12px;
}
.nav-dropdown::before { content: ''; position: absolute; top: -7px; left: 50%; width: 13px; height: 13px; background: #fff; border-left: 1px solid var(--border-subtle); border-top: 1px solid var(--border-subtle); transform: rotate(45deg); }
.nav-menu:hover .nav-dropdown,
.nav-menu:focus-within .nav-dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.nav-dropdown > div { display: flex; flex-direction: column; gap: 3px; position: relative; z-index: 1; }
.nav-dropdown-label { color: var(--indigo); font-size: .66rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 7px; }
.nav-dropdown a { display: block; padding: 7px 8px; border-radius: 6px; color: var(--text2) !important; font-size: .8rem !important; }
.nav-dropdown a:hover { background: var(--indigo-soft); color: var(--indigo) !important; }
.nav-dropdown-compact { width: 220px; grid-template-columns: 1fr; }
.nav-utility { color: var(--text2) !important; font-size: .78rem !important; }
.nav-cta { display: inline-flex !important; align-items: center; gap: 8px; white-space: nowrap; }
.nav-cta span { font-size: 1rem; }

/* Gradient accents on primary CTAs */
.nav-cta {
  background: linear-gradient(135deg, var(--indigo, #4f46e5) 0%, #7c3aed 100%) !important;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s !important;
}
.nav-cta:hover {
  background: linear-gradient(135deg, var(--indigo-dark, #3730a3) 0%, #6d28d9 100%) !important;
  box-shadow: 0 6px 22px rgba(79, 70, 229, 0.45) !important;
}

.btn-primary {
  background: linear-gradient(135deg, var(--indigo, #4f46e5) 0%, #7c3aed 100%);
  box-shadow: 0 4px 18px rgba(79, 70, 229, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--indigo-dark, #3730a3) 0%, #6d28d9 100%);
  box-shadow: 0 8px 30px rgba(79, 70, 229, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-secondary:hover {
  border-color: rgba(129, 140, 248, 0.7);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.15);
}

.modal-submit {
  background: linear-gradient(135deg, var(--indigo, #4f46e5) 0%, #7c3aed 100%);
  box-shadow: 0 4px 18px rgba(79, 70, 229, 0.4);
}
.modal-submit:hover {
  background: linear-gradient(135deg, var(--indigo-dark, #3730a3) 0%, #6d28d9 100%);
}

/* Editorial dash before section eyebrows */
.section-label::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  margin-right: 10px;
  vertical-align: middle;
}

/* Gradient numerals on stat strips */
.stat-num,
.ic-stat .num {
  background: linear-gradient(135deg, var(--indigo, #4f46e5) 20%, #7c3aed 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.stat-item { transition: background 0.25s ease; }
.stat-item:hover { background: var(--bg3, #f1ede6); }

/* Floating stat cards in the hero */
.hero-visual .stat-card { animation: uiFloat 7s ease-in-out infinite; }
.hero-visual .stat-card:nth-child(2) { animation-delay: 1.2s; }
.hero-visual .stat-card:nth-child(3) { animation-delay: 2.4s; }
@keyframes uiFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* Module / feature / industry / addon card micro-interactions */
.mod-icon, .pi-icon, .expect-icon, .addon-icon, .ind-icon-wrap {
  transition: transform 0.3s ease;
}
.module-card:hover .mod-icon,
.industry-card:hover .ind-icon-wrap,
.addon-card:hover .addon-icon,
.expect-card:hover .expect-icon,
.phase:hover .pi-icon { transform: translateY(-3px) scale(1.12) rotate(-5deg); }

.module-card {
  position: relative;
}
.module-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 3px;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(90deg, var(--indigo, #4f46e5), #7c3aed, transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.module-card:hover::before { transform: scaleX(1); }

/* Testimonial accent bar + smoother lift */
.testi-card { transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; }
.testi-card::after {
  content: '';
  position: absolute;
  left: 0;
  top: 26px;
  bottom: 26px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(var(--indigo, #4f46e5), #7c3aed);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s ease;
}
.testi-card:hover::after { transform: scaleY(1); }

/* CTA strip ambient glow */
.cta-strip::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(129, 140, 248, 0.4) 0%, transparent 60%);
  animation: ctaPulse 6s ease-in-out infinite;
  pointer-events: none;
}
.cta-strip > * { position: relative; z-index: 2; }
@keyframes ctaPulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

@media (max-width: 640px) {
  nav { height: 76px; }
  .logo-box { width: 172px; height: 56px; }
  .logo-box::after { left: 28px; font-size: 6px; letter-spacing: .015em; }
  .nav-dropdown { position: static; transform: none; display: none; width: auto; box-shadow: none; border: none; border-top: 1px solid var(--border-subtle); border-radius: 0; padding: 8px 10px 4px; background: transparent; }
  .nav-dropdown::before { display: none; }
  .nav-menu:hover .nav-dropdown, .nav-menu:focus-within .nav-dropdown { display: grid; transform: none; }
  .nav-dropdown-compact { width: auto; }
  .nav-dropdown a { padding: 8px; }
  .nav-utility { font-size: .875rem !important; }
}

/* Footer links nudge on hover */
.footer-links a {
  transition: color 0.2s ease, transform 0.2s ease;
}
.footer-links a:hover { transform: translateX(3px); }

/* Modal top accent + success pop */
.modal {
  box-shadow: 0 32px 80px rgba(26, 23, 20, 0.25), inset 0 4px 0 0 var(--indigo, #4f46e5);
}
.modal-success .success-icon { animation: uiPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
@keyframes uiPop {
  0% { transform: scale(0.4); opacity: 0; }
  70% { transform: scale(1.08); }
  100% { transform: scale(1); opacity: 1; }
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg, #f8f7f4); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--indigo, #4f46e5), var(--indigo-dark, #3730a3));
  border-radius: 20px;
  border: 3px solid var(--bg, #f8f7f4);
}
::-webkit-scrollbar-thumb:hover { background: var(--indigo-dark, #3730a3); }
html { scrollbar-width: thin; scrollbar-color: var(--indigo, #4f46e5) var(--bg, #f8f7f4); }
/* ===== CloudPoint-style type scale ===== */
h1{font-size:clamp(2.25rem,4.6vw,3.75rem)}
.page-title{font-size:clamp(2.25rem,4.5vw,3.75rem)}
.section-title{font-size:clamp(1.875rem,3.2vw,3rem)}
.ft-title,.faq-title,.addon-title,.cb-title,.t-title,.comp-title,.expect-title{font-size:clamp(1.875rem,3vw,3rem)}
.phase-title{font-size:1.5rem}
.hero-sub{font-size:1.125rem}
.section-label,.stat-card .label,.mod-num,.p-meta-pill,.testi-role{font-size:.75rem}
.mod-title,.ind-title,.reason-title{font-size:1.125rem}
.expect-card-title{font-size:1rem}
.mod-desc,.stat-lbl{font-size:.875rem}
.btn-primary,.btn-secondary,.btn-white,.btn-outline-white,.modal-submit,.filter-btn{font-size:.875rem}
.view-all-link,.mod-link{font-size:.875rem}
.footer-links a,.footer-tagline,.footer-col-title{font-size:.875rem}
.kenya-point p{font-size:.875rem}
.kenya-point strong,.testi-name,.testi-text{font-size:.9375rem}
.stat-num{font-size:2rem}
/* ===== CloudPoint-style site header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #fff;
}
.site-header nav {
  position: static !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  border-bottom: 1px solid #d3dae5 !important;
}
.site-info-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 34px;
  padding: 0 max(5%, calc((100% - 1220px) / 2));
  font-size: .75rem;
  color: #64748b;
  background: #f7f9fc;
  border-bottom: 1px solid #d3dae5;
}
.sib-left, .sib-right { display: flex; align-items: center; gap: 1.5rem; }
.sib-item { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.sib-item svg { width: 14px; height: 14px; color: #1a4fd8; flex: none; }
.site-info-bar a { color: #64748b; text-decoration: none; transition: color .2s; }
.site-info-bar a:hover { color: #1a4fd8; }
.sib-socials { display: inline-flex; align-items: center; gap: 12px; }
.sib-socials a { display: inline-flex; align-items: center; }
.sib-socials svg { width: 14px; height: 14px; }
@media (max-width: 1200px) { .sib-socials { display: none; } }
@media (max-width: 1023px) { .site-info-bar { display: none; } }
html { scroll-padding-top: 120px; }
/* Main-site header chrome: CloudPoint link palette + compact image logo */
.nav-links a { color: #4a5a75; }
.nav-links a:hover { color: #0b1220; }
.nav-links a.active { color: #1a4fd8; }
.nav-links a::after { background: #1a4fd8; }
.nav-links a.nav-cta::after, .nav-links a.nav-utility::after { display: none; }
@media (min-width: 1024px) {
  .nav-links { gap: 1.75rem; }
  body.scrolled .site-header nav { height: 68px; }
}
.nav-utility {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  color: #3a4760 !important;
  font-size: .875rem !important;
  font-weight: 600;
  background: #fff;
  border: 1px solid #d3dae5;
  border-radius: 8px;
  padding: 8px 12px;
  transition: color .2s, border-color .2s;
}
.nav-utility:hover { border-color: #1a4fd8; color: #1a4fd8 !important; }
.nav-cta {
  background: #1a4fd8 !important;
  box-shadow: none !important;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: .875rem !important;
  font-weight: 600 !important;
  transition: background .2s !important;
}
.nav-cta:hover { background: #1540b0 !important; box-shadow: none !important; transform: none !important; }
.nav-dropdown-label { color: #1a4fd8; }
.nav-dropdown a:hover { background: #eef3ff; color: #1a4fd8 !important; }
.nav-menu-trigger span { color: #9aa6b8; }
.logo-box {
  width: 122px !important;
  height: 36px !important;
  background-size: auto 100% !important;
  background-position: center !important;
  border-radius: 6px;
}
.logo-box::after { display: none; }
.logo:hover .logo-box { transform: none; }

/* Restrained, solid-color system for a cleaner enterprise presentation. */
:root {
  --indigo: #1d4ed8;
  --indigo-dark: #1e40af;
  --indigo-soft: #eff6ff;
  --bg: #f7f9fc;
  --surface: #fff;
}

/* Decorative shadows and background images are allowed (the hero uses an
   unsplash photo + gradient overlay + dot pattern). */

.site-header .logo {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.site-header .logo::after {
  content: 'SMART SOFTWARE . POWERFUL SOLUTIONS';
  display: block;
  color: #000;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  white-space: nowrap;
}
.logo-box {
  background-image: url('../images/bitspace-logo.png') !important;
  background-repeat: no-repeat !important;
  box-shadow: none !important;
  width: 220px !important;
  height: 74px !important;
  background-size: 110% auto !important;
  background-position: center !important;
}
.site-header nav {
  height: 96px !important;
}
@media (min-width: 901px) {
  body.scrolled .site-header nav { height: 88px !important; }
}
@media (max-width: 900px) {
  .logo-box {
    width: 198px !important;
    height: 64px !important;
  }
  .site-header nav { height: 86px !important; }
}
@media (max-width: 640px) {
  .logo-box {
    width: 180px !important;
    height: 56px !important;
  }
  .site-header .logo::after { font-size: 0.52rem; }
  .site-header nav { height: 80px !important; }
}

/* Hero keeps its unsplash photo, gradient overlay, dot pattern and bottom
   fade as defined in the page's inline <style>. */

.nav-cta,
.btn-primary,
.modal-submit {
  background: #1d4ed8 !important;
  color: #fff !important;
}
.nav-cta:hover,
.btn-primary:hover,
.modal-submit:hover {
  background: #1e40af !important;
}

.hia,
.stat-num,
.ic-stat .num {
  background: none !important;
  color: #1d4ed8 !important;
  -webkit-text-fill-color: currentColor !important;
}
.hia { color: #fff !important; }
.ui-icon { display: block; width: 1.2em; height: 1.2em; }
.modal-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237a746e' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
}
.modal-field input:focus-visible,
.modal-field select:focus-visible,
.modal-field textarea:focus-visible {
  outline: 2px solid #1d4ed8 !important;
  outline-offset: 2px;
}

.whatsapp-link {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 110;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid #168b58;
  border-radius: 6px;
  background: #168b58;
  color: #fff;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease;
}
.whatsapp-link:hover {
  background: #117347;
  border-color: #117347;
  color: #fff;
}
.whatsapp-link svg { width: 23px; height: 23px; flex: none; }
@media (max-width: 640px) {
  .whatsapp-link {
    right: 16px;
    bottom: 16px;
    width: 52px;
    min-height: 52px;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
    font-size: 0;
  }
}

/* Clearer disclosure controls and grouped navigation. */
.nav-menu-trigger {
  appearance: none;
  border: 0;
  padding: 8px 0;
  background: transparent;
  color: #4a5a75;
  font: inherit;
  cursor: pointer;
}
.nav-menu-trigger:hover,
.nav-menu-trigger.active,
.nav-menu-trigger[aria-expanded="true"] { color: #1d4ed8; }
.nav-menu.open .nav-menu-trigger span,
.nav-menu:hover .nav-menu-trigger span { transform: rotate(225deg); color: #1d4ed8; }
.nav-menu:hover .nav-dropdown,
.nav-menu.open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.nav-dropdown {
  width: 500px;
  gap: 20px;
  padding: 20px;
  border-color: #dbe3ed;
  border-radius: 8px;
}
.nav-dropdown.nav-dropdown-compact {
  width: 220px;
  grid-template-columns: 1fr;
}
.nav-dropdown > div { gap: 2px; }
.nav-dropdown-label { color: #64748b; }
.nav-dropdown a {
  padding: 9px 10px;
  color: #334155 !important;
  font-size: .84rem !important;
}
.nav-dropdown a:hover,
.nav-dropdown a:focus-visible {
  background: #eff6ff;
  color: #1d4ed8 !important;
}

@media (min-width: 641px) and (max-width: 1080px) {
  .nav-menu:hover .nav-dropdown,
  .nav-menu.open .nav-dropdown {
    position: static;
    width: auto;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0 8px 8px;
    padding: 10px;
    border: 0;
    border-top: 1px solid #dbe3ed;
    border-radius: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
  .nav-menu:hover .nav-dropdown,
  .nav-menu.open .nav-dropdown { display: grid; }
  .nav-menu.open .nav-dropdown.nav-dropdown-compact {
    grid-template-columns: 1fr;
  }
  .nav-dropdown::before { display: none; }
  .nav-menu:not(.open):hover .nav-dropdown { display: none; }
}

@media (max-width: 640px) {
  .nav-links {
    max-height: calc(100vh - 76px);
    overflow-y: auto;
  }
  .nav-menu-trigger {
    display: flex !important;
    width: 100%;
    justify-content: space-between;
    padding: 11px 10px;
    border-radius: 8px;
    text-align: left;
  }
  .nav-menu:hover .nav-dropdown,
  .nav-menu.open .nav-dropdown {
    display: grid;
    transform: none;
  }
  .nav-menu:not(.open) .nav-dropdown {
    display: none;
  }
  .nav-dropdown {
    width: auto;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px 6px;
    border: 0;
    border-top: 1px solid #dbe3ed;
    border-radius: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-dropdown.nav-dropdown-compact {
    width: auto;
    grid-template-columns: 1fr;
  }
  .nav-menu:hover .nav-dropdown,
  .nav-menu.open .nav-dropdown { transform: none; }
  .nav-dropdown-label { margin: 0 0 5px; }
  .nav-dropdown a { padding: 8px 6px; }
}

@media (min-width: 1081px) {
  .site-header .nav-dropdown,
  .site-header .seo-nav-dropdown {
    width: 520px;
    padding: 24px;
    gap: 24px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16), 0 4px 12px rgba(15, 23, 42, 0.06) !important;
  }
  .site-header .nav-dropdown.nav-dropdown-compact,
  .site-header .seo-nav-dropdown.compact { width: 280px; }
  .site-header .nav-dropdown > div,
  .site-header .seo-nav-dropdown > div {
    align-content: start;
    gap: 4px;
    padding: 2px;
  }
  .site-header .nav-dropdown-label,
  .site-header .seo-nav-dropdown-label {
    display: block;
    margin: 0 0 8px;
    padding: 0 10px 11px;
    border-bottom: 1px solid #e8edf4;
    color: #64748b;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
  }
  .site-header .nav-dropdown a,
  .site-header .seo-nav-dropdown a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 40px;
    padding: 9px 10px;
    border-radius: 8px;
    color: #334155 !important;
    font-size: 0.86rem !important;
    font-weight: 600;
    transition: background-color .18s ease, color .18s ease, padding .18s ease;
  }
  .site-header .nav-dropdown a::after,
  .site-header .seo-nav-dropdown a::after {
    content: '';
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    opacity: 0;
    transform: translateX(-4px) rotate(45deg);
    transition: opacity .18s ease, transform .18s ease;
  }
  .site-header .nav-dropdown a:hover,
  .site-header .nav-dropdown a:focus-visible,
  .site-header .nav-dropdown a[aria-current="page"],
  .site-header .seo-nav-dropdown a:hover,
  .site-header .seo-nav-dropdown a:focus-visible,
  .site-header .seo-nav-dropdown a[aria-current="page"] {
    padding-left: 14px;
    background: #eff6ff;
    color: #1d4ed8 !important;
  }
  .site-header .nav-dropdown a:hover::after,
  .site-header .nav-dropdown a:focus-visible::after,
  .site-header .nav-dropdown a[aria-current="page"]::after,
  .site-header .seo-nav-dropdown a:hover::after,
  .site-header .seo-nav-dropdown a:focus-visible::after,
  .site-header .seo-nav-dropdown a[aria-current="page"]::after {
    opacity: 1;
    transform: translateX(0) rotate(45deg);
  }
}

/* Keep the main-site and SEO-page navigation visually aligned. */
.site-header nav,
.site-header .seo-nav {
  min-height: 96px;
  padding-left: max(4%, calc((100% - 1320px) / 2));
  padding-right: max(4%, calc((100% - 1320px) / 2));
  gap: 24px;
}
.site-header .nav-links,
.site-header .seo-nav-links {
  align-items: center;
  gap: clamp(10px, 1.15vw, 18px);
  font-size: 0.84rem;
}
.site-header .nav-links > li > a,
.site-header .nav-menu-trigger,
.site-header .seo-nav-links > a,
.site-header .seo-nav-menu-trigger {
  color: #43516a;
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
}
.site-header .nav-links > li > a:hover,
.site-header .nav-menu-trigger:hover,
.site-header .seo-nav-links > a:hover,
.site-header .seo-nav-menu-trigger:hover {
  color: #1d4ed8;
}
.site-header .nav-links .nav-cta,
.site-header .seo-nav-links .seo-cta {
  padding: 10px 15px;
  border-radius: 8px;
  background: #1d4ed8;
  color: #fff;
  font-weight: 700;
}
.site-header .nav-links .nav-cta:hover,
.site-header .seo-nav-links .seo-cta:hover {
  background: #1e40af;
  color: #fff;
}
@media (max-width: 900px) {
  .site-header nav,
  .site-header .seo-nav { min-height: 86px; }
}
@media (max-width: 640px) {
  .site-header nav,
  .site-header .seo-nav { min-height: 80px; }
}