/* =====================================================================
   Footer
   Background carries the same restrained navy gradient + accent glow
   language as .hero (hero.css) / .hero__stats-wrap — a subtle bookend
   between the page's opening and closing dark panels rather than a
   flat block. Two background layers on one element (no pseudo/overlay
   needed) per CLAUDE.md §3's "gradients: subtle only" rule.
   ===================================================================== */

.site-footer {
    background:
        radial-gradient(70% 120% at 50% 0%, rgba(0, 141, 255, 0.05), transparent 70%),
        linear-gradient(175deg, #0B2344 0%, #0d2a54 45%, #0B2344 100%);
    color: rgba(255, 255, 255, 0.75);
    padding-top: var(--space-4xl);
}

.site-footer a {
    color: inherit;
    transition: color var(--duration-fast) var(--ease-base);
}

.site-footer a:hover {
    color: var(--color-white);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
    padding-bottom: var(--space-3xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@media (min-width: 640px) {
    .site-footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .site-footer__grid {
        grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    }
}

.footer-col__logo-img {
    display: block;
    /* Full logo (1554x488, includes the tagline line) — footer has
       more vertical room than the fixed header or the login card, so
       it displays a little larger here (80px vs. the header's 70px /
       admin login's 64px). max-width guards the narrow single-column
       mobile layout, where this column runs full viewport width. */
    height: 80px;
    width: auto;
    max-width: 100%;
    margin-bottom: var(--space-sm);
}

/* Bottom border + max-width turns the tagline into a deliberate rule
   that grounds the brand column — it was reading noticeably lighter
   than the 6-7 item link columns beside it (same imbalance the
   contact-card fix addressed). */
.footer-col__tagline {
    display: inline-block;
    font-size: var(--fs-small);
    font-weight: var(--fw-semibold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-accent);
    max-width: 220px;
    padding-bottom: var(--space-lg);
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-col__heading {
    position: relative;
    display: inline-block;
    color: rgba(255, 255, 255, 0.55);
    font-size: var(--fs-small);
    font-weight: var(--fw-semibold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding-bottom: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.footer-col__heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 24px;
    height: 2px;
    background-color: var(--color-accent);
}

.footer-col__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.footer-col__list a {
    display: inline-flex;
    font-size: var(--fs-body);
    transition: color var(--duration-fast) var(--ease-base),
                transform var(--duration-fast) var(--ease-base);
}

.footer-col__list a:hover {
    transform: translateX(4px);
}

/* Single bordered unit (input + button share one outline) rather than
   a bare input stacked over a full-width button — reads as one
   composed field instead of two unstyled form controls bolted on. */
.footer-newsletter {
    display: flex;
    align-items: stretch;
    margin-top: var(--space-lg);
    border-radius: var(--radius-sm);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.06);
    transition: border-color var(--duration-fast) var(--ease-base);
}

.footer-newsletter:focus-within {
    border-color: var(--color-accent);
}

.footer-newsletter input {
    flex: 1;
    min-width: 0;
    padding: 0.75rem 1rem;
    border: none;
    background: transparent;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: var(--fs-small);
}

.footer-newsletter input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer-newsletter input:focus {
    outline: none;
}

.footer-newsletter .btn {
    flex-shrink: 0;
    border-radius: 0 4px 4px 0;
    padding-inline: 1.25rem;
}

.site-footer__bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
    padding-block: var(--space-xl);
    font-size: var(--fs-small);
}

@media (min-width: 640px) {
    .site-footer__bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.site-footer__copyright {
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.01em;
}

.site-footer__social {
    display: flex;
    gap: var(--space-sm);
}

/* Filled + bordered circle housing the glyph, same "icon chip" language
   as .contact__info-icon / .why-choose-card__icon (icon container +
   accent-tinted fill) instead of an empty outlined ring with nothing
   inside it. */
.site-footer__social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    background-color: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.75);
    transition: background-color var(--duration-fast) var(--ease-base),
                border-color var(--duration-fast) var(--ease-base),
                color var(--duration-fast) var(--ease-base),
                transform var(--duration-fast) var(--ease-base);
}

.site-footer__social-icon svg {
    width: 1.125rem;
    height: 1.125rem;
}

.site-footer__social a:hover .site-footer__social-icon {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-3px);
}
