/* ==========================================================================
   site-chrome.css — the header bar and footer used on every page.
   Loaded last on each page. ":root" in front of header selectors lifts them above
   the older header rules in main.css and human.css without !important;
   the footer uses !important only where human.css forces footer text colours.
   ========================================================================== */

/* ---------------------------------------------------------------- Header */

@media (min-width: 1025px) {
  :root {
    --header-height: 80px;
  }
}

:root .site-header {
  position: sticky;
  top: 14px;
  z-index: 1000;
  padding: 0 20px;
  background: transparent;
  border-bottom: none;
  box-shadow: none;
}

/* the rounded bar inside the band */
:root .site-header .nav-wrap {
  max-width: 1560px;
  height: 64px;
  margin: 0 auto;
  padding: 0 10px 0 22px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 999px;
  background: rgba(6, 18, 38, 0.85);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 14px 35px -10px rgba(0, 0, 0, 0.6), 0 0 30px -8px rgba(37, 99, 235, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

:root .site-header .brand-logo {
  display: inline-flex;
  align-items: center;
  flex: none;
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

:root .site-header .brand-logo-img {
  width: auto;
  height: 30px;
}

.brand-tagline {
  margin-left: 18px;
  padding-left: 18px;
  border-left: 1px solid rgba(148, 163, 184, 0.35);
  color: #CBD5E1;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

/* Menu */
:root .site-header .nav-links {
  gap: 4px;
}

:root .site-header .nav-links .nav-link {
  gap: 6px;
  padding: 9px 14px;
  border-radius: 10px;
  color: #E2E8F0;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

:root .site-header .nav-links .nav-link::after {
  display: none;
}

:root .site-header .nav-links .nav-link:hover,
:root .site-header .nav-links .nav-item-dropdown:hover > .nav-link {
  background: rgba(255, 255, 255, 0.07);
  color: #FFFFFF;
}

:root .site-header .nav-links .nav-link.active,
:root .site-header .nav-links .nav-item.active > .nav-link {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: #FFFFFF !important;
  box-shadow: 0 8px 18px -8px rgba(37, 99, 235, 0.9);
}

:root .site-header .nav-links .nav-link.active span,
:root .site-header .nav-links .nav-item.active > .nav-link span {
  color: #FFFFFF !important;
}

:root .site-header .dropdown-caret {
  display: inline-grid;
  place-items: center;
  font-size: 0;
  opacity: 0.8;
}

:root .site-header .dropdown-caret svg {
  width: 15px;
  height: 15px;
  transition: transform 0.2s ease;
}

:root .site-header .nav-item-dropdown:hover .dropdown-caret svg {
  transform: rotate(180deg);
}

/* ------------------------------------------------ Mega Dropdown Menu */

@media (min-width: 1025px) {
  :root .site-header .nav-wrap {
    position: relative;
  }

  :root .site-header .nav-item-dropdown {
    position: static;
  }

  /* Hover & active styling on the nav link button */
  :root .site-header .nav-item-dropdown:hover > .nav-link,
  :root .site-header .nav-item-dropdown.active > .nav-link,
  :root .site-header .nav-item-dropdown.show-preview-dropdown > .nav-link {
    background: #1D4ED8 !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 14px rgba(29, 78, 216, 0.6) !important;
    position: relative;
  }

  /* Glowing cyan arrow pointer tip under the nav button */
  :root .site-header .nav-item-dropdown:hover > .nav-link::before,
  :root .site-header .nav-item-dropdown.show-preview-dropdown > .nav-link::before {
    content: '';
    position: absolute;
    bottom: -11px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 9px solid #38BDF8;
    filter: drop-shadow(0 -2px 6px rgba(56, 189, 248, 0.9));
    z-index: 1020;
    pointer-events: none;
  }

  /* The floating mega-menu card container */
  :root .site-header .nav-dropdown-menu.mega-menu-box {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    width: min(1140px, calc(100vw - 40px));
    max-width: 1140px;
    background: #07152E !important;
    border: 1px solid rgba(56, 189, 248, 0.35) !important;
    border-radius: 24px;
    padding: 0;
    margin: 0;
    list-style: none;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85), 0 0 45px -5px rgba(37, 99, 235, 0.45) !important;
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s;
    z-index: 1015;
    overflow: hidden;
  }

  /* Hover bridge so moving mouse between button and card never loses focus */
  :root .site-header .nav-dropdown-menu.mega-menu-box::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
    background: transparent;
    pointer-events: auto;
  }

  :root .site-header .nav-item-dropdown:hover .nav-dropdown-menu.mega-menu-box,
  :root .site-header .nav-item-dropdown:focus-within .nav-dropdown-menu.mega-menu-box,
  :root .site-header .nav-item-dropdown.show-preview-dropdown .nav-dropdown-menu.mega-menu-box {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(0) !important;
    pointer-events: auto !important;
  }
}

/* Mega layout inner */
.mega-inner {
  display: grid;
  grid-template-columns: 360px 1fr;
  min-height: 380px;
}

/* Left Spotlight */
:root .site-header .mega-spotlight {
  padding: 34px 32px 28px 34px;
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.08) 0%, rgba(6, 18, 38, 0.6) 100%);
  border-right: 1px solid rgba(148, 163, 184, 0.14);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

:root .site-header .mega-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12) !important;
  border: 1px solid rgba(56, 189, 248, 0.28) !important;
  color: #38BDF8 !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

:root .site-header .mega-title {
  font-family: var(--font-display, 'Manrope', sans-serif);
  font-size: 24px;
  font-weight: 800;
  color: #FFFFFF !important;
  line-height: 1.25;
  letter-spacing: -0.4px;
  margin: 0 0 12px;
}

:root .site-header .mega-desc {
  font-size: 14px;
  color: #CBD5E1 !important;
  line-height: 1.55;
  margin: 0 0 20px;
  max-width: 290px;
}

:root .site-header .mega-illustration {
  margin-top: auto;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  padding-top: 8px;
}

:root .site-header .mega-illustration img {
  width: 100%;
  max-width: 280px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.65)) drop-shadow(0 0 20px rgba(56, 189, 248, 0.25));
  transition: transform 0.3s ease;
}

:root .site-header .mega-spotlight:hover .mega-illustration img {
  transform: translateY(-4px) scale(1.02);
}

/* Right Cards Grid */
:root .site-header .mega-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
  padding: 28px 30px;
  align-content: center;
}

:root .site-header .mega-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(13, 27, 49, 0.6) !important;
  border: 1px solid rgba(148, 163, 184, 0.14) !important;
  text-decoration: none !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

:root .site-header .mega-card:hover {
  background: rgba(26, 44, 76, 0.95) !important;
  border-color: rgba(56, 189, 248, 0.5) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.5), 0 0 20px -5px rgba(56, 189, 248, 0.25) !important;
}

:root .site-header .mega-card-left {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

:root .site-header .mega-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

:root .site-header .mega-card:hover .mega-card-icon {
  transform: scale(1.08);
}

:root .site-header .mega-card-icon svg {
  width: 20px;
  height: 20px;
}

/* Card Icon Variant Themes */
:root .site-header .mega-card-icon.icon-blue {
  background: rgba(37, 99, 235, 0.16);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: #60A5FA;
}
:root .site-header .mega-card-icon.icon-indigo {
  background: rgba(99, 102, 241, 0.16);
  border: 1px solid rgba(129, 140, 248, 0.35);
  color: #818CF8;
}
:root .site-header .mega-card-icon.icon-cyan {
  background: rgba(6, 182, 212, 0.16);
  border: 1px solid rgba(34, 211, 238, 0.35);
  color: #22D3EE;
}
:root .site-header .mega-card-icon.icon-purple {
  background: rgba(168, 85, 247, 0.16);
  border: 1px solid rgba(192, 132, 252, 0.35);
  color: #C084FC;
}
:root .site-header .mega-card-icon.icon-sky {
  background: rgba(14, 165, 233, 0.16);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38BDF8;
}
:root .site-header .mega-card-icon.icon-violet {
  background: rgba(139, 92, 246, 0.16);
  border: 1px solid rgba(167, 139, 250, 0.35);
  color: #A78BFA;
}
:root .site-header .mega-card-icon.icon-amber {
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(251, 191, 36, 0.35);
  color: #FBBF24;
}
:root .site-header .mega-card-icon.icon-emerald {
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: #34D399;
}
:root .site-header .mega-card-icon.icon-rose {
  background: rgba(244, 63, 94, 0.16);
  border: 1px solid rgba(251, 113, 133, 0.35);
  color: #FB7185;
}

:root .site-header .mega-card-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

:root .site-header .mega-card-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #FFFFFF !important;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px;
}

:root .site-header .mega-card-desc {
  font-size: 12.5px;
  color: #94A3B8 !important;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

:root .site-header .mega-card-arrow {
  font-size: 16px;
  color: #64748B !important;
  transition: all 0.2s ease;
  flex-shrink: 0;
  margin-left: 8px;
}

:root .site-header .mega-card:hover .mega-card-arrow {
  color: #38BDF8 !important;
  transform: translateX(4px);
}

/* Mega Footer Bar */
:root .site-header .mega-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px;
  background: rgba(4, 13, 28, 0.8) !important;
  border-top: 1px solid rgba(148, 163, 184, 0.12) !important;
}

:root .site-header .mega-footer-left {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #CBD5E1 !important;
  font-size: 13.5px;
  font-weight: 600;
}

:root .site-header .mega-footer-left svg {
  color: #38BDF8 !important;
}

:root .site-header .mega-footer-right {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #38BDF8 !important;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

:root .site-header .mega-footer-right:hover {
  color: #7DD3FC !important;
  transform: translateX(3px);
}

/* Mobile Drawer Mega Menu styles */
@media (max-width: 1024px) {
  :root .site-header .nav-item-dropdown {
    position: relative;
  }

  :root .site-header .nav-item-dropdown.mobile-expanded .dropdown-caret svg {
    transform: rotate(180deg);
  }

  :root .site-header .nav-dropdown-menu.mega-menu-box {
    position: static;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    background: rgba(7, 18, 36, 0.75) !important;
    border: 1px solid rgba(56, 189, 248, 0.2) !important;
    border-radius: 14px !important;
    margin-top: 8px !important;
    box-shadow: none !important;
    display: none !important;
  }

  :root .site-header .nav-links.mobile-open .nav-item-dropdown.mobile-expanded .mega-menu-box {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  :root .site-header .mega-inner {
    display: block !important;
    grid-template-columns: 1fr !important;
    min-height: auto !important;
  }

  :root .site-header .mega-spotlight {
    display: none !important;
  }

  :root .site-header .mega-cards-grid {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    padding: 10px !important;
    gap: 8px !important;
  }

  :root .site-header .mega-card {
    padding: 10px 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  :root .site-header .mega-card-title {
    font-size: 14px !important;
    white-space: normal !important;
  }

  :root .site-header .mega-card-desc {
    font-size: 12px !important;
    white-space: normal !important;
  }

  :root .site-header .mega-footer-bar {
    padding: 10px 14px !important;
    font-size: 13px !important;
  }
}

/* Right side: search, call, quote, book */
:root .site-header .nav-actions {
  gap: 10px;
}

:root .site-header .nav-search-btn,
:root .site-header .nav-icon-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: #E2E8F0;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

:root .site-header .nav-search-btn svg,
:root .site-header .nav-icon-btn svg {
  width: 19px;
  height: 19px;
}

:root .site-header .nav-search-btn:hover,
:root .site-header .nav-icon-btn:hover {
  border-color: rgba(147, 197, 253, 0.6);
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

:root .site-header .nav-actions .btn {
  height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

:root .site-header .nav-actions .btn-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.6) !important;
  background: transparent !important;
  color: #FFFFFF !important;
}

:root .site-header .nav-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1) !important;
}

:root .site-header .nav-actions .btn-primary {
  gap: 8px;
  border: 0;
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: #FFFFFF;
  box-shadow: 0 10px 22px -10px rgba(37, 99, 235, 0.95);
}

:root .site-header .nav-actions .btn-primary svg {
  width: 17px;
  height: 17px;
}

:root .site-header .nav-search-btn:focus-visible,
:root .site-header .nav-icon-btn:focus-visible,
:root .site-header .nav-actions .btn:focus-visible,
:root .site-header .nav-links .nav-link:focus-visible {
  outline: 2px solid #93C5FD;
  outline-offset: 2px;
}

:root .site-header .mobile-nav-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #FFFFFF;
}

/* Narrower laptops: drop the tagline, then the call button */
@media (max-width: 1199px) {
  .brand-tagline {
    display: none;
  }

  :root .site-header .nav-links .nav-link {
    padding: 8px 10px;
    font-size: 14px;
  }
}

@media (max-width: 1080px) {
  :root .site-header .nav-icon-btn {
    display: none;
  }

  :root .site-header .nav-actions .btn {
    padding: 0 14px;
    font-size: 13.5px;
  }

  :root .site-header .nav-links .nav-link {
    padding: 7px 8px;
    font-size: 13.5px;
  }
}

/* Tablets and phones: compact bar; the menu opens from the toggle */
@media (max-width: 1024px) {
  :root .site-header {
    top: 8px;
    padding: 0 10px;
  }

  :root .site-header .nav-wrap {
    height: 54px;
    padding: 0 8px 0 14px;
    border-radius: 999px;
  }

  :root .site-header .brand-logo-img {
    height: 24px;
  }

  :root .site-header .nav-search-btn,
  :root .site-header .nav-icon-btn {
    width: 36px;
    height: 36px;
  }

  :root .site-header .nav-actions .btn {
    height: 36px;
    padding: 0 14px;
    font-size: 13px;
  }

  :root .site-header .nav-actions .btn-outline {
    display: none;
  }

  :root .site-header .mobile-nav-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    font-size: 18px;
    cursor: pointer;
  }
}

@media (max-width: 640px) {
  :root .site-header .nav-actions .btn {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root .site-header .nav-links .nav-link,
  :root .site-header .dropdown-caret svg,
  :root .site-header .nav-search-btn,
  :root .site-header .nav-icon-btn {
    transition: none;
  }
}

/* ---------------------------------------------------------------- Footer */

:root .site-footer.sf {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 72px 24px 0;
  border-top: 1px solid rgba(56, 189, 248, 0.25);
  background:
    radial-gradient(60% 50% at 0% 0%, rgba(37, 99, 235, 0.16), rgba(37, 99, 235, 0) 70%),
    linear-gradient(180deg, #071630 0%, #06122A 100%);
  color: #CBD5E1;
  font-family: var(--font-sans);
}

.sf-inner {
  position: relative;
  z-index: 1;
  max-width: 1600px;
  margin: 0 auto;
}

.sf-top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 2.7fr) minmax(0, 1.05fr);
  align-items: start;
  gap: 40px;
}

/* Brand column */
.sf-logo {
  display: inline-block;
}

.sf-logo img {
  display: block;
  width: auto;
  height: 38px;
}

.site-footer p.sf-about {
  max-width: 340px;
  margin: 22px 0 0;
  color: #CBD5E1 !important;
  font-size: 16px;
  line-height: 1.65;
}

.sf-social {
  display: flex;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.site-footer .sf-social a {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #E2E8F0 !important;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.site-footer .sf-social a:hover {
  border-color: rgba(147, 197, 253, 0.6);
  background: rgba(37, 99, 235, 0.25);
}

.sf-social svg {
  width: 20px;
  height: 20px;
}

/* Link columns */
.sf-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  padding: 0 32px;
  border-left: 1px solid rgba(148, 163, 184, 0.16);
  border-right: 1px solid rgba(148, 163, 184, 0.16);
}

.site-footer .sf-col-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #FFFFFF !important;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
}

.sf-col-title svg {
  flex: none;
  width: 24px;
  height: 24px;
  color: #3B82F6;
}

.sf-col ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer .sf-col a {
  color: #E2E8F0 !important;
  font-size: 15px;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer .sf-col a:hover {
  color: #7DD3FC !important;
}

/* Call-to-action panel */
.sf-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 26px 26px 28px;
  border: 1px solid rgba(147, 197, 253, 0.35);
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(37, 99, 235, 0.38) 0%, rgba(13, 35, 80, 0.55) 60%, rgba(7, 22, 48, 0.6) 100%);
  box-shadow: 0 24px 50px -30px rgba(37, 99, 235, 0.8);
}

.sf-cta::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -40%;
  right: -30%;
  width: 70%;
  height: 80%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(56, 189, 248, 0.45), rgba(56, 189, 248, 0));
}

.sf-cta-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.35);
  color: #FFFFFF;
}

.sf-cta-icon svg {
  width: 24px;
  height: 24px;
}

.site-footer .sf-cta-title {
  margin: 20px 0 0;
  color: #FFFFFF !important;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.site-footer p.sf-cta-text {
  margin: 10px 0 0;
  color: #CBD5E1 !important;
  font-size: 15px;
  line-height: 1.55;
}

.site-footer a.sf-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  margin-top: 22px;
  border-radius: 999px;
  background: #FFFFFF;
  color: #1D4ED8 !important;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.2s ease;
}

.site-footer a.sf-cta-btn span,
.site-footer a.sf-cta-btn svg {
  color: #1D4ED8 !important;
}

.sf-cta-btn svg {
  width: 18px;
  height: 18px;
}

.site-footer a.sf-cta-btn:hover {
  background: #E0F2FE;
}

/* Contact row and legal links */
.sf-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.sf-contact,
.sf-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sf-contact li,
.sf-legal li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.sf-contact li {
  padding: 0 28px;
}

.sf-contact li:first-child {
  padding-left: 0;
}

.sf-legal li {
  padding: 0 22px;
}

.sf-legal li:last-child {
  padding-right: 0;
}

.sf-contact li + li::before,
.sf-legal li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 24px;
  background: rgba(148, 163, 184, 0.35);
  transform: translateY(-50%);
}

.sf-contact svg {
  flex: none;
  width: 22px;
  height: 22px;
  color: #3B82F6;
}

.site-footer .sf-contact span,
.site-footer .sf-contact a,
.site-footer .sf-legal a {
  color: #E2E8F0 !important;
  font-size: 15px;
  line-height: 1.45;
  text-decoration: none;
}

.site-footer .sf-contact a:hover,
.site-footer .sf-legal a:hover {
  color: #7DD3FC !important;
}

.site-footer p.sf-copy {
  margin: 0;
  padding: 26px 0 96px;
  color: #CBD5E1 !important;
  font-size: 14.5px;
}

.site-footer .sf-col a:focus-visible,
.site-footer .sf-social a:focus-visible,
.site-footer .sf-contact a:focus-visible,
.site-footer .sf-legal a:focus-visible,
.site-footer .sf-cta-btn:focus-visible {
  outline: 2px solid #93C5FD;
  outline-offset: 3px;
  border-radius: 6px;
}

.sf-waves {
  position: absolute;
  z-index: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 150px;
  pointer-events: none;
}

/* Footer: narrower screens */
@media (max-width: 1279px) {
  .sf-top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .sf-brand {
    grid-column: 1;
  }

  .sf-cta {
    grid-column: 2;
    grid-row: 1;
  }

  .sf-cols {
    grid-column: 1 / -1;
    padding: 32px 0 0;
    border: 0;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
  }
}

@media (max-width: 767px) {
  :root .site-footer.sf {
    padding: 56px 18px 0;
  }

  .sf-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .sf-cta {
    grid-column: 1;
    grid-row: auto;
  }

  .sf-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 20px;
  }

  .sf-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .sf-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .sf-contact li {
    padding: 0;
  }

  .sf-contact li + li::before {
    display: none;
  }

  .sf-legal li:first-child {
    padding-left: 0;
  }

  .site-footer p.sf-copy {
    padding-bottom: 80px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer .sf-social a,
  .site-footer .sf-col a,
  .site-footer a.sf-cta-btn {
    transition: none;
  }
}
