/* =========================================================
   CUSTOM FOOTER — section shell
========================================================= */
.footer-cards {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 3rem + 2vw, 5rem) 0 2rem;
  background: linear-gradient(180deg, #0b1f25 0%, #10303b 55%, #15485a 100%);
}

.footer-cards::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.05), transparent 28%),
    radial-gradient(circle at 88% 78%, rgba(255, 255, 255, 0.04), transparent 24%);
}

.footer-cards .container {
  position: relative;
  z-index: 2;
}

/* =========================================================
   CUSTOM FOOTER — card grid
========================================================= */
.footer-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.footer-card {
  padding: 1.35rem 1.35rem 1.45rem;
  border-radius: 1.35rem;
  background: rgba(219, 232, 230, 0.1);
  box-shadow:
    0 1rem 2.4rem rgba(0, 0, 0, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
}

/* =========================================================
   CUSTOM FOOTER — typography
========================================================= */
.footer-eyebrow {
  margin: 0 0 0.55rem;
  color: rgba(226, 241, 245, 0.72);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-title {
  margin: 0 0 0.85rem;
  color: #f1f8fb;
  font-family: var(--heading-font);
  font-size: clamp(2rem, 1.5rem + 1vw, 2.8rem);
  line-height: 0.95;
}

.footer-card-title {
  margin: 0 0 1rem;
  color: #f1f8fb;
  font-family: var(--heading-font);
  font-size: 1.35rem;
  line-height: 1.1;
}

.footer-desc {
  margin: 0;
  color: rgba(224, 238, 243, 0.86);
  line-height: 1.7;
}

/* =========================================================
   CUSTOM FOOTER — navigation links
========================================================= */
.footer-link-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-link-list li + li {
  margin-top: 0.7rem;
}

.footer-link-list a {
  display: inline-block;
  color: rgba(224, 238, 243, 0.9);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-link-list a:hover,
.footer-link-list a:focus-visible {
  transform: translateX(2px);
  color: #ffffff;
}

/* =========================================================
   CUSTOM FOOTER — CTA buttons
   Relies on global --accent-color token
========================================================= */
.footer-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.85rem 1rem;
  border: 2px solid var(--accent-color);
  background: transparent;
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.footer-cta-btn:hover,
.footer-cta-btn:focus-visible {
  transform: translateY(-1px);
  background: var(--accent-color);
  color: #ffffff;
  box-shadow: 0 0.6rem 1.3rem rgba(255, 98, 36, 0.18);
}

.footer-cta-btn-outline {
  border-color: rgba(241, 248, 251, 0.28);
  color: rgba(241, 248, 251, 0.94);
}

.footer-cta-btn-outline:hover,
.footer-cta-btn-outline:focus-visible {
  border-color: var(--accent-color);
}

/* =========================================================
   CUSTOM FOOTER — social links
========================================================= */
.footer-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    0 0.35rem 0.9rem rgba(0, 0, 0, 0.12);
  color: #f1f8fb;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.footer-social-links a:hover,
.footer-social-links a:focus-visible {
  transform: translateY(-2px);
  background: var(--accent-color);
  color: #ffffff;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0.55rem 1.1rem rgba(255, 98, 36, 0.18);
}

.footer-social-links i {
  font-size: 1rem;
  line-height: 1;
}

/* =========================================================
   CUSTOM FOOTER — bottom bar
========================================================= */
.footer-bottom {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: rgba(224, 238, 243, 0.72);
  font-size: 0.95rem;
}

/* =========================================================
   CUSTOM FOOTER — responsive adjustments
========================================================= */
@media (max-width: 1199.98px) {
  .footer-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .footer-card-grid {
    grid-template-columns: 1fr;
  }

  .footer-card {
    padding: 1.15rem 1.1rem 1.2rem;
  }
}

 /* =========================================================
   GABEL FOOTER — agency credit band
========================================================= */

#footer .footer-credit-band {
  width: 100%;
  margin-top: clamp(1.5rem, 3vw, 2.4rem);
  padding: clamp(1.25rem, 2.8vw, 1.9rem) 1.25rem;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.02) 0%,
      rgba(255, 255, 255, 0.05) 100%
    );
  border-top: 1px solid rgba(233, 196, 140, 0.10);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

#footer .footer-credit-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

#footer .site-design-credit {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

#footer .site-design-label,
#footer .site-design-name {
  font-family: "Gloock", serif;
  letter-spacing: 0.01em;
}

#footer .site-design-label {
  font-size: clamp(0.78rem, 1.5vw, 0.9rem);
  line-height: 1.2;
  color: rgba(239, 229, 212, 0.78);
}

#footer .site-design-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  margin-top: 0.15rem;
}

#footer .site-design-logo {
  display: block;
  width: clamp(52px, 5.5vw, 68px);
  height: auto;
  opacity: 0.96;
  filter:
    drop-shadow(0 8px 18px rgba(0, 0, 0, 0.34))
    drop-shadow(0 2px 6px rgba(0, 0, 0, 0.24))
    drop-shadow(0 0 8px rgba(233, 196, 140, 0.12))
    drop-shadow(0 0 18px rgba(233, 196, 140, 0.14));
  transition:
    transform 0.22s ease,
    filter 0.22s ease,
    opacity 0.22s ease;
}

#footer .site-design-name {
  text-decoration: none;
  font-size: clamp(0.92rem, 1.7vw, 1rem);
  line-height: 1.2;
  color: rgba(248, 241, 231, 0.9);
  transition: color 0.22s ease, opacity 0.22s ease;
}

#footer .site-design-logo-link:hover .site-design-logo,
#footer .site-design-logo-link:focus-visible .site-design-logo {
  opacity: 1;
  transform: translateY(-1px) scale(1.02);
  filter:
    drop-shadow(0 10px 20px rgba(0, 0, 0, 0.38))
    drop-shadow(0 3px 7px rgba(0, 0, 0, 0.24))
    drop-shadow(0 0 10px rgba(233, 196, 140, 0.16))
    drop-shadow(0 0 22px rgba(233, 196, 140, 0.18));
}

#footer .site-design-name:hover,
#footer .site-design-name:focus-visible,
#footer .site-design-logo-link:hover + .site-design-name,
#footer .site-design-logo-link:focus-visible + .site-design-name {
  color: rgba(255, 247, 237, 0.98);
  opacity: 1;
}

#footer .site-design-logo-link:focus-visible,
#footer .site-design-name:focus-visible {
  outline: 2px solid rgba(233, 196, 140, 0.35);
  outline-offset: 4px;
  border-radius: 999px;
}

@media (prefers-reduced-motion: no-preference) {
  #footer .site-design-logo {
    animation: gabelFooterLogoBreathe 5.4s ease-in-out infinite;
    transform-origin: center;
  }

  @keyframes gabelFooterLogoBreathe {
    0%,
    100% {
      transform: scale(1);
      filter:
        drop-shadow(0 8px 18px rgba(0, 0, 0, 0.34))
        drop-shadow(0 2px 6px rgba(0, 0, 0, 0.24))
        drop-shadow(0 0 8px rgba(233, 196, 140, 0.12))
        drop-shadow(0 0 18px rgba(233, 196, 140, 0.14));
    }

    50% {
      transform: scale(1.024);
      filter:
        drop-shadow(0 9px 20px rgba(0, 0, 0, 0.36))
        drop-shadow(0 2px 6px rgba(0, 0, 0, 0.24))
        drop-shadow(0 0 10px rgba(233, 196, 140, 0.15))
        drop-shadow(0 0 20px rgba(233, 196, 140, 0.17));
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  #footer .site-design-logo,
  #footer .site-design-name,
  #footer .site-design-logo-link {
    transition: none;
    animation: none;
  }
}

@media (max-width: 767.98px) {
  #footer .footer-credit-band {
    margin-top: 1.35rem;
    padding: 1.15rem 1rem 1.3rem;
  }

  #footer .site-design-credit {
    gap: 0.38rem;
  }
}