/* ============================================================
   FOOTER
============================================================ */

.site-footer {
    position: relative;
    background: var(--navy-950, #07111f);
    color: var(--muted-light, #aeb7c4);
    padding-top: 78px;
    overflow: hidden;
}


/* Subtle top glow */

.site-footer::before {
    content: "";
    position: absolute;
    top: -180px;
    left: 50%;
    width: 600px;
    height: 300px;
    transform: translateX(-50%);
    background: radial-gradient(
        ellipse,
        rgba(211, 176, 109, 0.09),
        transparent 70%
    );
    pointer-events: none;
}


/* ============================================================
   FOOTER GRID
============================================================ */

.footer-grid {
    position: relative;
    z-index: 1;

    display: grid;

    grid-template-columns:
        1.45fr
        0.9fr
        1.15fr
        1.25fr;

    gap: 48px;

    padding-bottom: 55px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}


/* ============================================================
   COMPANY
============================================================ */

.footer-company {
    min-width: 0;
}


.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}


.footer-logo-link {
    width: 160px;
    height: 100px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    text-decoration: none;
}


.footer-logo {
    width: 160px;
    height: 100px;

    object-fit: contain;

    display: block;

    transition:
        transform 0.35s ease,
        filter 0.35s ease;
}


.footer-logo-link:hover .footer-logo {
    transform: translateY(-3px) scale(1.04);
    filter: drop-shadow(
        0 7px 15px rgba(211, 176, 109, 0.22)
    );
}


/* Default SVG logo */

.footer-default-logo {
    width: 52px;
    height: 52px;

    color: var(--gold-400, #d3b06d);

    transition:
        transform 0.35s ease,
        color 0.35s ease;
}


.footer-logo-link:hover .footer-default-logo {
    color: #ffffff;
    transform: translateY(-3px) scale(1.04);
}


/* ============================================================
   BRAND NAME
============================================================ */

.footer-brand-text {
    min-width: 0;
}


.footer-brand .brand-name {
    position: relative;

    display: inline-block;

    color: var(--white, #ffffff);

    font-family: var(
        --font-display,
        "Cormorant Garamond",
        serif
    );

    font-size: 1.45rem;
    line-height: 1.15;

    font-weight: 700;

    text-decoration: none;

    transition: color 0.3s ease;
}


.footer-brand .brand-name::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -5px;

    width: 0;
    height: 1px;

    background: var(--gold-400, #d3b06d);

    transition: width 0.3s ease;
}


.footer-brand .brand-name:hover {
    color: var(--gold-400, #d3b06d);
}


.footer-brand .brand-name:hover::after {
    width: 100%;
}


/* ============================================================
   DESCRIPTION
============================================================ */

.footer-tag {
    margin: 17px 0 0;

    max-width: 330px;

    color: var(--muted-light, #aeb7c4);

    font-size: 0.9rem;
    line-height: 1.75;
}


/* ============================================================
   SOCIAL MEDIA
============================================================ */

.footer-social {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 10px;

    margin-top: 24px;
}


/* Social button */

.footer-social .social-icon {
    position: relative;

    width: 42px;
    height: 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: rgba(255, 255, 255, 0.055);

    border: 1px solid rgba(211, 176, 109, 0.25);

    color: var(--gold-400, #d3b06d);

    font-size: 17px;

    text-decoration: none;

    overflow: hidden;

    transition:
        transform 0.3s ease,
        color 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}


/* Shine effect */

.footer-social .social-icon::before {
    content: "";

    position: absolute;

    top: 0;
    left: -120%;

    width: 80%;
    height: 100%;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.22),
        transparent
    );

    transform: skewX(-20deg);

    transition: left 0.5s ease;
}


.footer-social .social-icon:hover::before {
    left: 140%;
}


/* Icon */

.footer-social .social-icon i {
    position: relative;
    z-index: 2;

    line-height: 1;

    transition:
        transform 0.3s ease,
        color 0.3s ease;
}


/* Common hover */

.footer-social .social-icon:hover {
    color: #ffffff;

    transform: translateY(-5px);

    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.25);
}


.footer-social .social-icon:hover i {
    transform: scale(1.16);
}


/* ============================================================
   INDIVIDUAL SOCIAL COLORS
============================================================ */


/* Facebook */

.footer-social .facebook:hover {
    background: #1877f2;
    border-color: #1877f2;

    box-shadow:
        0 10px 24px rgba(24, 119, 242, 0.25);
}


/* Instagram */

.footer-social .instagram:hover {
    background:
        linear-gradient(
            135deg,
            #833ab4 0%,
            #fd1d1d 50%,
            #fcb045 100%
        );

    border-color: transparent;

    box-shadow:
        0 10px 24px rgba(225, 48, 108, 0.25);
}


/* YouTube */

.footer-social .youtube:hover {
    background: #ff0000;
    border-color: #ff0000;

    box-shadow:
        0 10px 24px rgba(255, 0, 0, 0.24);
}


/* X / Twitter */

.footer-social .twitter:hover {
    background: #000000;
    border-color: #333333;

    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.35);
}


/* LinkedIn */

.footer-social .linkedin:hover {
    background: #0a66c2;
    border-color: #0a66c2;

    box-shadow:
        0 10px 24px rgba(10, 102, 194, 0.25);
}


/* WhatsApp */

.footer-social .whatsapp:hover {
    background: #25d366;
    border-color: #25d366;

    box-shadow:
        0 10px 24px rgba(37, 211, 102, 0.25);
}


/* Telegram */

.footer-social .telegram:hover {
    background: #229ed9;
    border-color: #229ed9;

    box-shadow:
        0 10px 24px rgba(34, 158, 217, 0.25);
}


/* ============================================================
   FOOTER TITLES
============================================================ */

.footer-title {
    position: relative;

    display: inline-block;

    margin: 0 0 21px;

    color: var(--white, #ffffff);

    font-size: 0.78rem;

    font-weight: 800;

    letter-spacing: 0.11em;

    text-transform: uppercase;
}


.footer-title::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 27px;
    height: 2px;

    border-radius: 10px;

    background: var(--gold-400, #d3b06d);
}


/* ============================================================
   FOOTER LINKS
============================================================ */

.footer-links {
    display: flex;

    flex-direction: column;

    gap: 12px;

    margin: 0;
    padding: 0;

    list-style: none;
}


.footer-links li {
    margin: 0;
    padding: 0;
}


.footer-links a {
    position: relative;

    display: inline-block;

    color: var(--muted-light, #aeb7c4);

    font-size: 0.88rem;

    line-height: 1.5;

    text-decoration: none;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}


.footer-links a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -3px;

    width: 0;
    height: 1px;

    background: var(--gold-400, #d3b06d);

    transition: width 0.3s ease;
}


.footer-links a:hover {
    color: var(--gold-400, #d3b06d);

    transform: translateX(4px);
}


.footer-links a:hover::after {
    width: 100%;
}


/* ============================================================
   CONTACT
============================================================ */

.footer-contact-list {
    display: flex;

    flex-direction: column;

    gap: 14px;

    margin: 0;
    padding: 0;

    list-style: none;
}


.contact-line {
    display: flex;

    align-items: flex-start;

    gap: 10px;

    min-width: 0;

    color: var(--muted-light, #aeb7c4);

    font-size: 0.87rem;

    line-height: 1.55;
}


.contact-line > a,
.contact-line > span:last-child {
    min-width: 0;

    color: inherit;

    text-decoration: none;

    overflow-wrap: anywhere;
}


/* Contact icon */

.contact-icon {
    width: 30px;
    height: 30px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    flex: 0 0 30px;

    margin-top: -2px;

    border-radius: 8px;

    background: rgba(211, 176, 109, 0.09);

    border: 1px solid rgba(211, 176, 109, 0.17);

    color: var(--gold-400, #d3b06d);

    font-size: 12px;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}


.contact-line:hover .contact-icon {
    background: var(--gold-400, #d3b06d);

    color: #07111f;

    transform: translateY(-2px);
}


.contact-line > a {
    position: relative;

    padding-bottom: 2px;

    transition: color 0.3s ease;
}


.contact-line > a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 0;
    height: 1px;

    background: var(--gold-400, #d3b06d);

    transition: width 0.3s ease;
}


.contact-line > a:hover {
    color: var(--gold-400, #d3b06d);
}


.contact-line > a:hover::after {
    width: 100%;
}


/* Address */

.contact-address {
    align-items: flex-start;
}


.contact-address > span:last-child {
    padding-top: 3px;
}


/* ============================================================
   FOOTER BOTTOM
============================================================ */

.footer-bottom {
    position: relative;
    z-index: 1;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

    padding: 24px 0;

    font-size: 0.78rem;

    color: rgba(255, 255, 255, 0.52);
}


.footer-copyright {
    line-height: 1.6;
}


.footer-copyright span {
    color: rgba(255, 255, 255, 0.78);
}


/* Bottom links */

.footer-bottom-links {
    display: flex;

    align-items: center;

    justify-content: flex-end;

    flex-wrap: wrap;

    gap: 22px;
}


.footer-bottom-links a {
    position: relative;

    color: rgba(255, 255, 255, 0.55);

    text-decoration: none;

    transition: color 0.3s ease;
}


.footer-bottom-links a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -4px;

    width: 0;
    height: 1px;

    background: var(--gold-400, #d3b06d);

    transition: width 0.3s ease;
}


.footer-bottom-links a:hover {
    color: var(--gold-400, #d3b06d);
}


.footer-bottom-links a:hover::after {
    width: 100%;
}


/* ============================================================
   TABLET
============================================================ */

@media (max-width: 1050px) {

    .site-footer {
        padding-top: 65px;
    }

    .footer-grid {
        grid-template-columns:
            1.3fr
            1fr
            1fr;

        gap: 42px 30px;
    }

    .footer-company {
        grid-column: span 3;
    }

    .footer-tag {
        max-width: 500px;
    }

}


/* ============================================================
   TABLET / SMALL LAPTOP
============================================================ */

@media (max-width: 860px) {

    .footer-grid {
        grid-template-columns: 1fr 1fr;

        gap: 40px 30px;
    }

    .footer-company {
        grid-column: span 2;
    }

    .footer-bottom {
        align-items: flex-start;

        flex-direction: column;
    }

    .footer-bottom-links {
        justify-content: flex-start;
    }

}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 600px) {

    .site-footer {
        padding-top: 55px;
    }

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 35px;

        padding-bottom: 40px;
    }

    .footer-company {
        grid-column: auto;
    }


    .footer-brand {
        gap: 12px;
    }


    .footer-logo-link {
        width: 56px;
        height: 56px;
    }


    .footer-logo {
        width: 56px;
        height: 56px;
    }


    .footer-default-logo {
        width: 48px;
        height: 48px;
    }


    .footer-brand .brand-name {
        font-size: 1.3rem;
    }


    .footer-tag {
        max-width: 100%;

        font-size: 0.86rem;
    }


    .footer-social {
        margin-top: 20px;

        gap: 8px;
    }


    .footer-social .social-icon {
        width: 40px;
        height: 40px;

        border-radius: 9px;

        font-size: 16px;
    }


    .footer-title {
        margin-bottom: 18px;
    }


    .footer-links {
        gap: 11px;
    }


    .footer-contact-list {
        gap: 12px;
    }


    .footer-bottom {
        padding: 21px 0;

        gap: 14px;
    }


    .footer-bottom-links {
        gap: 10px 18px;
    }

}


/* ============================================================
   VERY SMALL MOBILE
============================================================ */

@media (max-width: 380px) {

    .footer-brand .brand-name {
        font-size: 1.15rem;
    }


    .footer-social .social-icon {
        width: 38px;
        height: 38px;

        font-size: 15px;
    }


    .contact-line {
        font-size: 0.82rem;
    }


    .footer-bottom {
        font-size: 0.72rem;
    }

}


/* ============================================================
   REDUCED MOTION
============================================================ */

@media (prefers-reduced-motion: reduce) {

    .site-footer *,
    .site-footer *::before,
    .site-footer *::after {
        transition: none !important;
        animation: none !important;
    }

}