/* ═══ Ultra premium footer ═══ */

.site-footer--premium {
    position: relative;
    margin-top: 0;
    background: linear-gradient(165deg, var(--navy-dark, #0f1d45) 0%, var(--navy, #1a2f6b) 45%, #0a1228 100%);
    color: rgba(255, 255, 255, 0.78);
    overflow: hidden;
}

/* Wave transition from page content */
.site-footer__wave {
    line-height: 0;
    color: #faf8f5;
    margin-top: -1px;
}
.site-footer__wave svg {
    display: block;
    width: 100%;
    height: 56px;
}

/* Decorative background */
.site-footer__decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.site-footer__glow {
    position: absolute;
    border-radius: 50%;
}
.site-footer__glow--1 {
    width: 420px;
    height: 420px;
    top: -120px;
    right: -80px;
    background: radial-gradient(circle, rgba(212, 168, 75, 0.12), transparent 70%);
}
.site-footer__glow--2 {
    width: 360px;
    height: 360px;
    bottom: 20%;
    left: -100px;
    background: radial-gradient(circle, rgba(212, 168, 75, 0.06), transparent 70%);
}
.site-footer__mesh {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: radial-gradient(rgba(212, 168, 75, 0.8) 1px, transparent 1px);
    background-size: 32px 32px;
}

/* Top gold accent line — aligned to wave base */
.site-footer--premium::before {
    content: '';
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--saffron, #d4a84b) 20%, var(--saffron, #d4a84b) 80%, transparent);
    opacity: 0.5;
    z-index: 1;
}

/* Affiliation badges strip */
.site-footer__badges {
    position: relative;
    z-index: 2;
    padding: 1.25rem 0 0.5rem;
}
.site-footer__badges-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
}
.site-footer__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    background: rgba(212, 168, 75, 0.1);
    border: 1px solid rgba(212, 168, 75, 0.25);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}
.site-footer__badge i {
    color: var(--saffron, #d4a84b);
}

/* Main content */
.site-footer__main {
    position: relative;
    z-index: 2;
    padding: clamp(2.5rem, 5vw, 3.5rem) 0 clamp(2rem, 4vw, 2.75rem);
}

/* Brand column */
.site-footer__logo-link {
    display: inline-block;
    text-decoration: none;
    margin-bottom: 1rem;
}
.site-footer__logo-ring {
    display: inline-flex;
    padding: 6px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--saffron, #d4a84b), var(--navy-dark, #0f1d45) 60%, var(--navy, #1a2f6b));
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease;
}
.site-footer__logo-link:hover .site-footer__logo-ring {
    transform: scale(1.05);
    box-shadow: 0 16px 40px rgba(212, 168, 75, 0.2);
}
.site-footer__logo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: contain;
    background: #fff;
    padding: 4px;
}
.site-footer__logo-text {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
}
.site-footer__tagline {
    font-size: 0.88rem;
    font-style: italic;
    color: var(--saffron, #d4a84b);
    margin: 0 0 0.85rem;
    opacity: 0.95;
}
.site-footer__address {
    font-size: 0.84rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
    margin: 0 0 1.25rem;
    max-width: 280px;
}
.site-footer__address i {
    color: var(--saffron, #d4a84b);
    margin-right: 0.35rem;
}

/* Social icons */
.site-footer__social {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.site-footer__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(212, 168, 75, 0.2);
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    text-decoration: none;
    transition:
        transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
        background 0.35s ease,
        border-color 0.35s ease,
        color 0.35s ease,
        box-shadow 0.35s ease;
}
.site-footer__social a:hover {
    transform: translateY(-4px) scale(1.08);
    background: linear-gradient(135deg, var(--saffron, #d4a84b), #c9983f);
    border-color: transparent;
    color: var(--navy-dark, #0f1d45);
    box-shadow: 0 8px 24px rgba(212, 168, 75, 0.35);
}

/* Link columns */
.site-footer__heading {
    position: relative;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--saffron, #d4a84b);
    margin: 0 0 1.15rem;
    padding-bottom: 0.65rem;
}
.site-footer__heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 2px;
    background: linear-gradient(90deg, var(--saffron, #d4a84b), transparent);
    border-radius: 2px;
    transform-origin: left;
}
.site-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.site-footer__links li {
    margin-bottom: 0.35rem;
}
.site-footer__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-size: 0.86rem;
    padding: 0.25rem 0;
    transition: color 0.3s ease, transform 0.35s ease;
}
.site-footer__link-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--saffron, #d4a84b);
    opacity: 0;
    transform: scale(0);
    transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.site-footer__link:hover {
    color: #fff;
    transform: translateX(6px);
}
.site-footer__link:hover .site-footer__link-dot {
    opacity: 1;
    transform: scale(1);
}

/* Contact card */
.site-footer__contact-card {
    padding: 1.5rem;
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(212, 168, 75, 0.2);
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}
.site-footer__heading--card {
    margin-bottom: 1rem;
}
.site-footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.65rem 0;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.84rem;
    line-height: 1.45;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: color 0.3s ease, padding-left 0.35s ease;
}
.site-footer__contact-item:last-of-type {
    border-bottom: none;
}
.site-footer__contact-item:hover {
    color: #fff;
    padding-left: 4px;
}
.site-footer__contact-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 168, 75, 0.12);
    color: var(--saffron, #d4a84b);
    font-size: 0.95rem;
}
.site-footer__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin-top: 1.15rem;
    padding: 0.7rem 1.25rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--saffron, #d4a84b), #c9983f);
    color: var(--navy-dark, #0f1d45) !important;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.site-footer__cta i {
    transition: transform 0.35s ease;
}
.site-footer__cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(212, 168, 75, 0.4);
}
.site-footer__cta:hover i {
    transform: translateX(4px);
}

/* Bottom bar */
.site-footer__bar {
    position: relative;
    z-index: 2;
    background: #5c2f24;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.site-footer__bar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    padding: 0.75rem 0;
}
.site-footer__copy,
.site-footer__credit {
    margin: 0;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.88);
    letter-spacing: 0.02em;
    line-height: 1.4;
}
.site-footer__credit {
    text-align: right;
}
@media (max-width: 767.98px) {
    .site-footer__bar-inner {
        flex-direction: column;
        text-align: center;
    }
    .site-footer__copy,
    .site-footer__credit {
        text-align: center;
        font-size: 0.72rem;
    }
}
.site-footer__top {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(212, 168, 75, 0.2), rgba(212, 168, 75, 0.08));
    border: 1px solid rgba(212, 168, 75, 0.35);
    color: var(--saffron, #d4a84b);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
        background 0.35s ease,
        box-shadow 0.35s ease;
}
.site-footer__top:hover {
    transform: translateY(-4px);
    background: linear-gradient(135deg, var(--saffron, #d4a84b), #c9983f);
    color: var(--navy-dark, #0f1d45);
    box-shadow: 0 8px 24px rgba(212, 168, 75, 0.35);
}

/* Hide legacy footer styles conflict */
.footer-mockup { /* class removed from blade */ }

/* Premium back-to-top (floating) upgrade */
.back-to-top {
    width: 52px !important;
    height: 52px !important;
    border: 2px solid rgba(212, 168, 75, 0.35) !important;
    background: linear-gradient(135deg, var(--navy, #1a2f6b), var(--navy-dark, #0f1d45)) !important;
    box-shadow: 0 8px 28px rgba(15, 29, 69, 0.35) !important;
    transition:
        opacity 0.4s ease,
        visibility 0.4s ease,
        transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
        background 0.35s ease,
        border-color 0.35s ease !important;
}
.back-to-top.is-visible {
    animation: backTopPulse 2.5s ease-in-out infinite;
}
@keyframes backTopPulse {
    0%, 100% { box-shadow: 0 8px 28px rgba(15, 29, 69, 0.35); }
    50% { box-shadow: 0 8px 32px rgba(212, 168, 75, 0.25); }
}
.back-to-top:hover {
    transform: translateY(-6px) scale(1.05) !important;
    background: linear-gradient(135deg, var(--saffron, #d4a84b), #c9983f) !important;
    color: var(--navy-dark, #0f1d45) !important;
    border-color: transparent !important;
    animation: none;
}

@media (max-width: 991px) {
    .site-footer__contact-col {
        margin-top: 0.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .back-to-top.is-visible {
        animation: none;
    }
    .site-footer__social a:hover,
    .site-footer__link:hover {
        transform: none;
    }
}
