/* ============================================================
   NAVIGATION MENU — animated sticky header
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid #e9efff;
  transition:
    box-shadow .3s ease,
    background .3s ease,
    padding .3s ease;
  animation: headerDropIn .55s cubic-bezier(.22, 1, .36, 1) both;
}

@keyframes headerDropIn {
  from { opacity: 0; transform: translateY(-24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.site-header.is-scrolled {
  box-shadow: 0 4px 20px rgba(17, 61, 121, 0.08);
}

/* Compress header height when scrolled */
.site-header .nav-wrap {
  min-height: 72px;
  transition: min-height .3s ease;
}
.site-header.is-compressed .nav-wrap {
  min-height: 62px;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* ============================================================
   BRAND — with logo image
   ============================================================ */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
  animation: brandIn .55s cubic-bezier(.22, 1, .36, 1) .1s both;
  transition: transform .3s ease;
}
@keyframes brandIn {
  from { opacity: 0; transform: translateX(-16px); }
  to   { opacity: 1; transform: translateX(0); }
}
.brand:hover {
  transform: translateY(-1px);
}

.brand-logo {
  display: block;
  height: 44px;
  width: auto;
  max-width: 56px;
  object-fit: contain;
  transition: transform .4s cubic-bezier(.34, 1.56, .64, 1);
}
.brand:hover .brand-logo {
  transform: scale(1.06) rotate(-3deg);
}

.brand-text b {
  display: block;
  font: 800 20px Manrope, system-ui, sans-serif;
  letter-spacing: -.8px;
  color: #10184f;
}
.brand-text small {
  display: block;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  color: #52618b;
}

/* ============================================================
   NAV LINKS
   ============================================================ */
.nav-links {
  display: flex;
  align-items: center;
  gap: 21px;
  font-size: 12px;
  font-weight: 700;
}

/* Stagger links in on first load */
.nav-links > a:not(.nav-cta),
.nav-links > .nav-dropdown {
  opacity: 0;
  animation: navLinkIn .5s cubic-bezier(.22, 1, .36, 1) both;
}
.nav-links > a:nth-child(1)  { animation-delay: .12s; }
.nav-links > a:nth-child(2)  { animation-delay: .16s; }
.nav-links > .nav-dropdown   { animation-delay: .20s; }
.nav-links > a:nth-child(4)  { animation-delay: .24s; }
.nav-links > a:nth-child(5)  { animation-delay: .28s; }
.nav-links > a:nth-child(6)  { animation-delay: .32s; }
.nav-links > a:nth-child(7)  { animation-delay: .36s; }
.nav-links > a:nth-child(8)  { animation-delay: .40s; }
.nav-links > a:nth-child(9)  { animation-delay: .44s; }
.nav-links > a:nth-child(10) { animation-delay: .48s; }
.nav-links > .nav-cta        { animation-delay: .52s; }

@keyframes navLinkIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.nav-links > a:not(.nav-cta) {
  padding: 27px 0;
  position: relative;
  color: #10184f;
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}
.nav-links > a:not(.nav-cta):hover {
  color: #0865f5;
  transform: translateY(-1px);
}

/* Active route underline + pulsing dot */
.nav-links > a.active:not(.nav-cta) {
  color: #0865f5;
}
.nav-links > a.active:not(.nav-cta)::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 34px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #0865f5;
  transform: translateX(-50%);
  animation: activeDotPulse 1.8s ease-in-out infinite;
}
@keyframes activeDotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(8, 101, 245, 0.5); }
  50%      { box-shadow: 0 0 0 6px rgba(8, 101, 245, 0); }
}
.nav-links > a.active:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 17px;
  height: 2px;
  border-radius: 4px;
  background: linear-gradient(90deg, #0865f5, #7b28f5);
  animation: navUnderline .35s ease;
}
@keyframes navUnderline {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* Hover underline */
.nav-links > a:not(.nav-cta):hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 17px;
  height: 2px;
  border-radius: 4px;
  background: linear-gradient(90deg, #0865f5, #7b28f5);
  transform-origin: center;
  animation: navUnderline .3s ease;
}

/* ============================================================
   CTA BUTTON (with ripple)
   ============================================================ */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #0865f5;
  color: white;
  padding: 12px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 8px 18px #0865f51c;
  position: relative;
  overflow: hidden;
  transition:
    transform .25s cubic-bezier(.34, 1.56, .64, 1),
    box-shadow .25s ease,
    background .25s ease;
}
.nav-cta:hover {
  background: #0554d6;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 30px #0865f542;
}
.nav-cta svg { transition: transform .3s ease; }
.nav-cta:hover svg { transform: translateX(4px); }

/* Ripple */
.cta-ripple {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  transform: translate(-50%, -50%) scale(0);
  pointer-events: none;
  animation: ctaRippleAnim .65s ease-out forwards;
}
@keyframes ctaRippleAnim {
  to {
    transform: translate(-50%, -50%) scale(24);
    opacity: 0;
  }
}

/* ============================================================
   SERVICES DROPDOWN (staggered items)
   ============================================================ */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-button {
  display: flex;
  align-items: center;
  gap: 4px;
  border: 0;
  background: transparent;
  color: #10184f;
  font-weight: 700;
  font-size: 12px;
  padding: 15px 0;
  cursor: pointer;
  transition: color .2s ease;
}
.nav-dropdown-button:hover,
.nav-dropdown.dropdown-open .nav-dropdown-button {
  color: #0865f5;
}
.nav-dropdown-button svg {
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
}
.nav-dropdown.dropdown-open .nav-dropdown-button svg {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -15px;
  width: 245px;
  background: white;
  border: 1px solid #dce8ff;
  box-shadow: 0 18px 45px #172f6c1c;
  border-radius: 14px;
  padding: 8px;
  display: grid;
  gap: 3px;
  animation: dropdownIn .28s cubic-bezier(.22, 1, .36, 1);
  transform-origin: top left;
}
@keyframes dropdownIn {
  from { opacity: 0; transform: translateY(-8px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 8px;
  color: #10184f;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  opacity: 0;
  transform: translateX(-6px);
  animation: dropdownItemIn .35s cubic-bezier(.22, 1, .36, 1) forwards;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
@keyframes dropdownItemIn {
  to { opacity: 1; transform: translateX(0); }
}
.dropdown-menu a:hover {
  background: #f2f7ff;
  color: #0865f5;
  transform: translateX(4px);
}
.dropdown-menu a svg {
  flex-shrink: 0;
  color: #0865f5;
  transition: transform .3s ease;
}
.dropdown-menu a:hover svg { transform: scale(1.15) rotate(-6deg); }

/* ============================================================
   MOBILE TOGGLE
   ============================================================ */
.mobile-toggle {
  display: none;
  background: white;
  border: 1px solid #dce8ff;
  border-radius: 9px;
  padding: 8px;
  color: #0865f5;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.mobile-toggle:hover {
  background: #f2f7ff;
  transform: scale(1.08) rotate(-4deg);
}

/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
.nav-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: transparent;
  overflow: hidden;
  pointer-events: none;
}
.nav-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #0865f5, #7b28f5);
  transition: width .15s ease-out;
  box-shadow: 0 0 10px rgba(8, 101, 245, 0.5);
}

/* ============================================================
   RESPONSIVE — mobile drawer with staggered links
   ============================================================ */
@media (max-width: 800px) {
  .site-header .nav-wrap,
  .site-header.is-compressed .nav-wrap { min-height: 66px; }

  .mobile-toggle { display: grid; place-items: center; }

  .brand-logo {
    height: 38px;
    max-width: 48px;
  }
  .brand-text b { font-size: 18px; }
  .brand-text small { font-size: 9px; }

  .nav-links {
    display: none;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    padding: 15px;
    background: white;
    border-bottom: 1px solid #dce8ff;
    box-shadow: 0 15px 30px #112a5415;
    align-items: stretch;
    gap: 0;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    animation: navDrawerIn .3s cubic-bezier(.22, 1, .36, 1);
  }
  @keyframes navDrawerIn {
    from { opacity: 0; transform: translateY(-12px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* Stagger mobile links */
  .nav-links.open > a:not(.nav-cta),
  .nav-links.open > .nav-dropdown {
    opacity: 0;
    animation: mobileLinkIn .4s cubic-bezier(.22, 1, .36, 1) forwards;
  }
  .nav-links.open > a:nth-child(1)  { animation-delay: .05s; }
  .nav-links.open > a:nth-child(2)  { animation-delay: .10s; }
  .nav-links.open > .nav-dropdown   { animation-delay: .15s; }
  .nav-links.open > a:nth-child(4)  { animation-delay: .20s; }
  .nav-links.open > a:nth-child(5)  { animation-delay: .25s; }
  .nav-links.open > a:nth-child(6)  { animation-delay: .30s; }
  .nav-links.open > a:nth-child(7)  { animation-delay: .35s; }
  .nav-links.open > a:nth-child(8)  { animation-delay: .40s; }
  .nav-links.open > a:nth-child(9)  { animation-delay: .45s; }
  .nav-links.open > a:nth-child(10) { animation-delay: .50s; }
  .nav-links.open > .nav-cta        { animation-delay: .55s; }

  @keyframes mobileLinkIn {
    from { opacity: 0; transform: translateX(-14px); }
    to   { opacity: 1; transform: translateX(0); }
  }

  .nav-links > a:not(.nav-cta),
  .nav-dropdown-button {
    padding: 12px 5px;
  }
  .nav-links > a.active:not(.nav-cta)::after,
  .nav-links > a.active:not(.nav-cta)::before { display: none; }
  .nav-links > a:not(.nav-cta) {
    color: #10184f;
    border-radius: 8px;
    transition: background .2s ease, color .2s ease, padding-left .2s ease;
  }
  .nav-links > a:not(.nav-cta):hover {
    background: #f2f7ff;
    padding-left: 12px;
  }

  .nav-cta {
    justify-content: center;
    margin-top: 8px;
  }

  .dropdown-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    margin-bottom: 8px;
    border-radius: 10px;
  }
}

/* ============================================================
   VERY SMALL SCREENS
   ============================================================ */
@media (max-width: 420px) {
  .brand-text small {
    display: none; /* hide the tagline on very small screens */
  }
  .brand-logo {
    height: 34px;
    max-width: 44px;
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .nav-cta:hover,
  .mobile-toggle:hover,
  .dropdown-menu a:hover,
  .brand:hover .brand-logo { transform: none; }
}/* ============================================================
   FOOTER — deeply animated
   ============================================================ */

.footer {
  border-top: 1px solid #e7efff;
  background: linear-gradient(180deg, #f7faff 0%, #eef5ff 100%);
  padding-top: 32px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Cursor-following spotlight */
.footer-spotlight {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  transition: background .25s ease-out;
}

/* Animated top line that draws itself */
.footer-top-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #0865f5, #7b28f5, #f0189c, #0865f5);
  background-size: 300% 100%;
  animation: footerLineFlow 6s linear infinite;
  opacity: .8;
}
@keyframes footerLineFlow {
  0%   { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

/* Decorative glow orbs */
.footer::before,
.footer::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.footer::before {
  top: -140px;
  right: -140px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(8, 101, 245, 0.10), transparent 65%);
  animation: footerOrbFloat 12s ease-in-out infinite;
}
.footer::after {
  bottom: -160px;
  left: -120px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(123, 40, 245, 0.08), transparent 65%);
  animation: footerOrbFloat 14s ease-in-out infinite reverse;
}
@keyframes footerOrbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(20px, -20px) scale(1.06); }
}

.footer .container {
  position: relative;
  z-index: 1;
}

/* ============================================================
   GRID  (newsletter column removed)
   ============================================================ */
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.1fr 1.2fr 1.3fr;
  gap: 24px;
  padding-bottom: 22px;
}

/* ============================================================
   BRAND
   ============================================================ */
.footer-about .brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: inherit;
  margin-bottom: 12px;
}

.footer-about .brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 42px;
  color: #0865f5;
  transform: skew(-12deg);
  transition: transform .4s cubic-bezier(.34, 1.56, .64, 1);
  position: relative;
}
.footer-about .brand-mark-inner {
  font-family: Manrope, system-ui, sans-serif;
  font-size: 45px;
  font-weight: 800;
  line-height: 1;
  display: inline-block;
  animation: footerBrandPulse 3.4s ease-in-out infinite;
}
@keyframes footerBrandPulse {
  0%, 100% { text-shadow: 0 0 0 rgba(8, 101, 245, 0); }
  50%      { text-shadow: 0 0 20px rgba(8, 101, 245, 0.55); }
}
.footer-about .brand:hover .brand-mark {
  transform: skew(-12deg) scale(1.12) rotate(-3deg);
}

.footer-about .brand-text b {
  display: block;
  font: 800 20px Manrope, system-ui, sans-serif;
  letter-spacing: -.8px;
  color: #10184f;
}
.footer-about .brand-text small {
  display: block;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  color: #52618b;
}

.footer-about p {
  font-size: 12px;
  line-height: 1.55;
  color: #52618b;
  margin: 0 0 12px;
  max-width: 240px;
}

/* ============================================================
   SOCIALS
   ============================================================ */
.socials {
  display: flex;
  gap: 9px;
  margin-top: 2px;
}
.social-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: #0865f5;
  color: white;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  overflow: hidden;
  transition:
    transform .35s cubic-bezier(.34, 1.56, .64, 1),
    box-shadow .3s ease,
    background .3s ease;
}
.social-icon span {
  position: relative;
  z-index: 1;
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
}
.social-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(255,255,255,.5), transparent 65%);
  opacity: 0;
  transform: scale(.5);
  transition: opacity .4s ease, transform .4s ease;
}
.social-icon:hover::before {
  opacity: 1;
  transform: scale(1.6);
}
.social-icon:hover {
  transform: translateY(-4px) scale(1.14);
  box-shadow: 0 12px 22px rgba(8, 101, 245, 0.35);
}
.social-icon:hover span {
  animation: socialSpin .6s cubic-bezier(.34, 1.56, .64, 1);
}
@keyframes socialSpin {
  from { transform: rotate(0) scale(1); }
  50%  { transform: rotate(-12deg) scale(1.2); }
  to   { transform: rotate(0) scale(1); }
}

.social-icon:nth-child(2):hover { background: #e60023; }
.social-icon:nth-child(3):hover { background: #1a1f24; }
.social-icon:nth-child(4):hover { background: #000; }
.social-icon:nth-child(5):hover { background: #1877f2; }

/* ============================================================
   LINK COLUMNS
   ============================================================ */
.footer-links h4 {
  font: 800 13px Manrope, system-ui, sans-serif;
  margin: 3px 0 12px;
  color: #10184f;
  letter-spacing: -.2px;
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
}
.footer-links h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 22px;
  height: 2px;
  border-radius: 3px;
  background: linear-gradient(90deg, #0865f5, #7b28f5);
  transition: width .35s cubic-bezier(.22, 1, .36, 1);
}
.footer-links:hover h4::after {
  width: 44px;
}

.footer-links > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: #42527d;
  margin: 7px 0;
  text-decoration: none;
  padding: 3px 0;
  position: relative;
  transition: color .25s ease, transform .25s ease;
}
.footer-links > a span {
  position: relative;
  display: inline-block;
  transition: transform .3s cubic-bezier(.22, 1, .36, 1);
}
.footer-links > a span::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, #0865f5, #7b28f5);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}
.footer-links > a:hover {
  color: #0865f5;
}
.footer-links > a:hover span {
  transform: translateX(3px);
}
.footer-links > a:hover span::before {
  transform: scaleX(1);
}

/* Small arrow icon that appears on hover */
.footer-links > a .link-arrow {
  opacity: 0;
  transform: translate(-4px, 4px);
  color: #0865f5;
  transition: opacity .3s ease, transform .3s cubic-bezier(.34, 1.56, .64, 1);
  flex-shrink: 0;
}
.footer-links > a:hover .link-arrow {
  opacity: 1;
  transform: translate(0, 0);
}

/* ============================================================
   CONTACT COLUMN
   ============================================================ */
.footer-contact-column .footer-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #42527d;
  margin: 7px 0;
  text-decoration: none;
  transition: color .25s ease, transform .25s ease;
}
.footer-contact-column .footer-contact:hover {
  color: #0865f5;
  transform: translateX(4px);
}
.footer-contact svg {
  color: #0865f5;
  flex-shrink: 0;
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
}
.footer-contact:hover svg {
  transform: scale(1.2) rotate(-8deg);
}

/* ============================================================
   BOTTOM BAR
   ============================================================ */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-top: 1px solid #e0eaff;
  padding-block: 14px;
  color: #657398;
  font-size: 11px;
  position: relative;
  z-index: 1;
}
.footer-bottom div {
  display: flex;
  gap: 18px;
}
.footer-bottom a {
  color: inherit;
  text-decoration: none;
  position: relative;
  transition: color .25s ease;
}
.footer-bottom a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s cubic-bezier(.22, 1, .36, 1);
}
.footer-bottom a:hover {
  color: #0865f5;
}
.footer-bottom a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ============================================================
   BACK TO TOP BUTTON
   ============================================================ */
.footer-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #0865f5, #7b28f5);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px) scale(.85);
  pointer-events: none;
  box-shadow: 0 10px 26px rgba(8, 101, 245, 0.35);
  transition:
    opacity .35s ease,
    transform .35s cubic-bezier(.34, 1.56, .64, 1),
    box-shadow .3s ease;
}
.footer-top.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.footer-top:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 16px 32px rgba(8, 101, 245, 0.45);
}
.footer-top:hover svg {
  animation: topArrowBounce .55s ease;
}
@keyframes topArrowBounce {
  0%   { transform: translateY(0); }
  45%  { transform: translateY(-5px); }
  100% { transform: translateY(0); }
}
.footer-top-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.45);
  opacity: 0;
  animation: topRing 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes topRing {
  0%   { transform: scale(1);   opacity: .55; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.footer-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity .65s cubic-bezier(.22, 1, .36, 1),
    transform .65s cubic-bezier(.22, 1, .36, 1);
  will-change: opacity, transform;
}
.footer-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px 18px;
  }
}

@media (max-width: 800px) {
  .footer {
    padding-top: 26px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 16px;
    padding-bottom: 18px;
  }
  .footer-reveal.footer-about {
    grid-column: 1 / -1;
  }
  .footer-about p {
    max-width: 100%;
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px 12px;
  }
  .footer-reveal.footer-about {
    grid-column: 1 / -1;
  }
  .footer-about p {
    max-width: 100%;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .footer-bottom div {
    flex-wrap: wrap;
    gap: 12px;
  }
  .footer-top {
    right: 16px;
    bottom: 16px;
    width: 40px;
    height: 40px;
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .footer-reveal { opacity: 1; transform: none; }
  .footer-top { opacity: 1; transform: none; pointer-events: auto; }
  .social-icon:hover,
  .footer-links > a:hover span,
  .footer-contact-column .footer-contact:hover,
  .footer-about .brand:hover .brand-mark,
  .footer-top:hover {
    transform: none;
  }
}