/* Development Channels — Partners Section (pre-footer) */

.partners-section {
  position: relative;
  padding: 3.5rem 0 3rem;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 55%, #e8edf8 100%);
  overflow: hidden;
}

.partners-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(230, 57, 70, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.partners-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(26, 47, 107, 0.15), transparent);
}

.partners-section__header {
  position: relative;
  z-index: 1;
  margin-bottom: 2.5rem;
}

.partners-section__eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #e63946;
  margin-bottom: 0.65rem;
}

.partners-section__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #0a1628;
  margin-bottom: 0.5rem;
}

.partners-section__subtitle {
  font-size: 0.95rem;
  color: #64748b;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

.partners-marquee {
  position: relative;
  z-index: 1;
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
}

.partners-marquee__track {
  display: flex;
  width: max-content;
  animation: partners-marquee 32s linear infinite;
  will-change: transform;
}

.partners-marquee:hover .partners-marquee__track {
  animation-play-state: paused;
}

.partners-marquee__group {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-right: 1.5rem;
}

.partner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 200px;
  height: 110px;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.partner-card:hover {
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
  border-color: rgba(59, 130, 246, 0.25);
}

.partner-card img {
  max-width: 100%;
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(20%);
  opacity: 0.88;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.partner-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

@keyframes partners-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .partners-marquee__track {
    animation: none;
  }

  .partners-marquee {
    overflow-x: auto;
    mask-image: none;
    -webkit-mask-image: none;
  }
}

@media (max-width: 767px) {
  .partners-section {
    padding: 2.5rem 0 2rem;
  }

  .partner-card {
    width: 160px;
    height: 96px;
    padding: 1rem;
  }

  .partner-card img {
    max-height: 60px;
  }

  .partners-marquee__group {
    gap: 1rem;
    padding-right: 1rem;
  }
}

/* Development Channels — Site Footer */

.site-footer {
  position: relative;
  background: linear-gradient(160deg, #0a1628 0%, #122654 45%, #1a2f6b 100%);
  color: rgba(255, 255, 255, 0.82);
  margin-top: 0;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ce0000, #e63946 35%, #3b82f6 65%, #001b8e);
}

.site-footer::after {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.site-footer .container {
  position: relative;
  z-index: 1;
}

.footer-main {
  padding: 3.5rem 0 2.5rem;
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  width: 72px;
  height: auto;
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.footer-brand-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0;
}

.footer-heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: #e63946;
  border-radius: 2px;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.35rem 1.5rem;
}

.footer-nav li a {
  display: inline-block;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.2rem 0;
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer-nav li a:hover {
  color: #fff;
  transform: translateX(4px);
}

.footer-nav--single {
  grid-template-columns: 1fr;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.footer-social a:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.footer-social img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 0 1.75rem;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.02em;
}

@media (max-width: 991px) {
  .footer-brand {
    max-width: 100%;
    margin-bottom: 0.5rem;
  }

  .footer-nav {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .footer-main {
    padding: 2.5rem 0 1.75rem;
  }

  .footer-nav {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}
