/* ========== FOOTER ========== */
.site-footer {
    position: relative;
    z-index: 10;
    color: #f0ebe5;
    clip-path: inset(0);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: #0e0c0a;
}

/* ---- Video background (fixed) ---- */
.footer-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

.footer-video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(14, 12, 10, 0.65) 0%,
        rgba(14, 12, 10, 0.45) 40%,
        rgba(14, 12, 10, 0.5) 70%,
        rgba(14, 12, 10, 0.85) 100%
    );
}

/* ---- Viewport glow — auto pulse ---- */
.footer-glow {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1s ease;
}

.footer-glow.active {
    opacity: 1;
}

.footer-glow::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1.5px solid rgba(201, 149, 106, 0.15);
    box-shadow:
        inset 0 0 20px 3px rgba(201, 149, 106, 0.1),
        inset 0 0 40px 6px rgba(201, 149, 106, 0.04);
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        box-shadow:
            inset 0 0 15px 2px rgba(201, 149, 106, 0.08),
            inset 0 0 30px 4px rgba(201, 149, 106, 0.03);
        border-color: rgba(201, 149, 106, 0.1);
    }
    50% {
        box-shadow:
            inset 0 0 30px 5px rgba(201, 149, 106, 0.18),
            inset 0 0 60px 10px rgba(201, 149, 106, 0.07);
        border-color: rgba(201, 149, 106, 0.3);
    }
}

/* hide the old img elements */
.footer-bg-img,
.footer-bg-overlay {
    display: none;
}

/* ---- Cursor trail images ---- */
.footer-trail {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.trail-img {
    position: absolute;
    width: 90px;
    height: 70px;
    object-fit: cover;
    border-radius: 12px;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    transition: opacity 0.4s ease, transform 0.3s ease;
    will-change: transform, opacity;
}

/* ---- Scroll reveal for footer sections ---- */
.footer-quote,
.footer-middle {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-quote.visible,
.footer-middle.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   QUOTE SECTION
   ============================================ */
.footer-quote {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 70px 60px 50px;
}

.footer-quote blockquote {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.08), 0 1px 2px rgba(0, 0, 0, 0.3);
    max-width: 700px;
    margin: 0 auto 18px;
    letter-spacing: 0.02em;
}

.footer-quote-mark {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 60px;
    line-height: 1;
    color: rgba(201, 149, 106, 0.5);
    text-shadow: 0 0 15px rgba(201, 149, 106, 0.15);
    margin-bottom: 10px;
}

.footer-quote cite {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: rgba(201, 149, 106, 0.6);
}

/* ============================================
   TOP: CTA text left + socials right
   ============================================ */
.footer-top {
    position: relative;
    z-index: 3;
    padding: 50px 60px 40px;
}

.footer-top-inner {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
}

/* CTA text */
.footer-cta {
    flex: 1;
}

.footer-cta-line1,
.footer-cta-line2 {
    display: flex;
    align-items: left;
}

.footer-cta-line1 span,
.footer-cta-line2 > span {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    text-shadow: 0 0 25px rgba(255, 255, 255, 0.06), 0 1px 3px rgba(0, 0, 0, 0.4);
    line-height: 1.1;
    letter-spacing: -0.03em;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-cta-line2 > span:nth-child(2) {
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-cta.visible .footer-cta-line1 span,
.footer-cta.visible .footer-cta-line2 > span {
    opacity: 1;
    transform: translateY(0);
}

/* gif stretch */
.footer-cta-gif {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 0;
    height: clamp(30px, 4vw, 45px);
    border-radius: 60px;
    overflow: hidden;
    margin-right: 0;
    flex-shrink: 0;
    opacity: 0;
    transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.6s,
                opacity 0.3s ease 0.6s,
                margin-right 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.6s;
}

.footer-cta.visible .footer-cta-gif {
    width: clamp(70px, 9vw, 100px);
    opacity: 1;
    margin-right: 10px;
}

.footer-cta-gif img {
    width: clamp(70px, 9vw, 100px);
    height: 100%;
    object-fit: cover;
    min-width: clamp(70px, 9vw, 100px);
}

.footer-cta-dot {
    width: clamp(6px, 0.8vw, 10px);
    height: clamp(6px, 0.8vw, 10px);
    border-radius: 50%;
    background: rgba(201, 149, 106, 0.7);
    box-shadow: 0 0 8px rgba(201, 149, 106, 0.3);
    display: inline-block;
    margin-left: 8px;
    flex-shrink: 0;
    opacity: 0;
    transform: scale(0);
    transition: opacity 0.4s ease 1.3s, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 1.3s;
}

.footer-cta.visible .footer-cta-dot {
    opacity: 1;
    transform: scale(1);
}

/* socials in top row */
.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.footer-socials a:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.footer-socials a[aria-label="Instagram"] {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: rgba(225, 80, 100, 0.4);
}

.footer-socials a[aria-label="Facebook"] {
    background: #1877f2;
    border-color: rgba(24, 119, 242, 0.4);
}

.footer-socials a[aria-label="WhatsApp"] {
    background: #25d366;
    border-color: rgba(37, 211, 102, 0.4);
}

.footer-socials svg {
    width: 14px;
    height: 14px;
}

/* ============================================
   MIDDLE: four-column grid
   ============================================ */
.footer-middle {
    position: relative;
    z-index: 3;
    padding: 40px 60px 40px;
}

.footer-grid-4 {
    width: 100%;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr;
    gap: 50px;
    align-items: start;
}

.footer-middle-inner {
    width: 100%;
}

/* Footer columns */
.footer-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.footer-logo-img {
    height: 55px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.3);
    opacity: 0.85;
    transition: filter 0.3s, transform 0.3s, opacity 0.3s;
}

.footer-logo-text {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.2);
    opacity: 0.8;
    transition: filter 0.3s, transform 0.3s, opacity 0.3s;
}

.footer-logo-link:hover .footer-logo-img,
.footer-logo-link:hover .footer-logo-text {
    filter: brightness(1.5);
    opacity: 1;
    transform: scale(1.03);
}

.footer-col-title {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(240, 235, 229, 0.6);
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.05);
    margin-bottom: 4px;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-list li a {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: rgba(240, 235, 229, 0.5);
    text-decoration: none;
    transition: color 0.3s, padding-left 0.3s, text-shadow 0.3s;
    display: inline-block;
}

.footer-links-list li a:hover {
    color: rgba(201, 149, 106, 0.85);
    padding-left: 6px;
    text-shadow: 0 0 10px rgba(201, 149, 106, 0.2);
}

.footer-social-row {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}

.footer-social-row a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.footer-social-row a:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.footer-social-row a[aria-label="Instagram"] {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: rgba(225, 80, 100, 0.4);
}

.footer-social-row a[aria-label="Facebook"] {
    background: #1877f2;
    border-color: rgba(24, 119, 242, 0.4);
}

.footer-social-row a[aria-label="WhatsApp"] {
    background: #25d366;
    border-color: rgba(37, 211, 102, 0.4);
}

.footer-social-row svg {
    width: 14px;
    height: 14px;
}

.footer-info-col {
    flex-direction: column;
    justify-content: flex-start;
}

.footer-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: rgba(240, 235, 229, 0.5);
    line-height: 1.8;
}

/* subscribe */
.footer-subscribe {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-subscribe-label {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(240, 235, 229, 0.5);
}

.footer-subscribe-form {
    display: flex;
    align-items: center;
}

.footer-subscribe-input {
    width: 220px;
    padding: 12px 18px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-right: none;
    border-radius: 50px 0 0 50px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: rgba(240, 235, 229, 0.7);
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    outline: none;
    transition: border-color 0.3s, background 0.3s;
}

.footer-subscribe-input::placeholder {
    color: rgba(240, 235, 229, 0.35);
}

.footer-subscribe-input:focus {
    border-color: rgba(201, 149, 106, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.footer-subscribe-btn {
    width: 48px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-left: none;
    border-radius: 0 50px 50px 0;
    background: rgba(201, 149, 106, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, transform 0.2s;
    flex-shrink: 0;
}

.footer-subscribe-btn svg {
    width: 16px;
    height: 16px;
    stroke: rgba(255, 255, 255, 0.75);
}

.footer-subscribe-btn:hover {
    background: rgba(201, 149, 106, 0.6);
}

.footer-subscribe-btn:active {
    transform: scale(0.95);
}

/* contact info cards */
.footer-info-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.footer-info-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: border-color 0.3s, background 0.3s, transform 0.3s;
}

.footer-info-card:hover {
    border-color: rgba(201, 149, 106, 0.35);
    background: rgba(201, 149, 106, 0.08);
    transform: translateY(-2px);
}

.footer-info-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(201, 149, 106, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: rgba(201, 149, 106, 0.7);
}

.footer-info-icon svg {
    width: 14px;
    height: 14px;
}

.footer-info-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 2px;
}

.footer-info-value {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    color: rgba(240, 235, 229, 0.65);
}

/* ============================================
   BOTTOM BAR
   ============================================ */
.footer-bottom {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 18px 60px;
    margin-top: auto;
}

.footer-bottom p {
    font-size: 15px;
    color: rgba(240, 235, 229, 0.35);
    font-family: 'Inter', sans-serif;
}

.footer-credit {
    font-size: 15px;
    color: rgba(240, 235, 229, 0.35);
    font-family: 'Inter', sans-serif;
}

.footer-credit a {
    color: rgba(201, 149, 106, 0.6);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-credit a:hover {
    color: rgba(201, 149, 106, 0.9);
}

.footer-bottom-dot {
    color: rgba(240, 235, 229, 0.2);
    font-size: 15px;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .footer-grid-4 {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    .site-footer {
        min-height: auto;
    }

    .footer-quote {
        padding: 44px 20px 30px;
    }

    .footer-quote blockquote {
        font-size: clamp(1.1rem, 4vw, 1.5rem);
    }

    .footer-quote-mark {
        font-size: 44px;
    }

    .footer-top {
        padding: 30px 20px 24px;
    }

    .footer-top-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .footer-cta-line1 span,
    .footer-cta-line2 > span {
        font-size: clamp(1.5rem, 8vw, 2rem);
    }

    .footer-cta-gif {
        height: 26px;
    }

    .footer-cta.visible .footer-cta-gif {
        width: 55px;
        margin-right: 8px;
    }

    .footer-cta-gif img {
        width: 55px;
        min-width: 55px;
    }

    .trail-img {
        width: 65px;
        height: 50px;
    }

    .footer-middle {
        padding: 24px 20px;
    }

    .footer-grid-4 {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-info-row {
        flex-direction: column;
        justify-content: flex-start;
    }

    .footer-subscribe-form {
        width: 100%;
    }

    .footer-subscribe-input {
        width: 100%;
        flex: 1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 6px;
        text-align: center;
        padding: 14px 20px;
    }

    .footer-bottom p,
    .footer-credit {
        font-size: 12px;
    }

    .footer-bottom-dot {
        display: none;
    }
}

@media (max-width: 480px) {
    .footer-quote {
        padding: 36px 14px 24px;
    }

    .footer-quote blockquote {
        font-size: clamp(0.95rem, 4vw, 1.2rem);
    }

    .footer-quote-mark {
        font-size: 36px;
        margin-bottom: 6px;
    }

    .footer-top {
        padding: 24px 14px 20px;
    }

    .footer-cta-line1 span,
    .footer-cta-line2 > span {
        font-size: clamp(1.2rem, 7vw, 1.6rem);
    }

    .footer-middle {
        padding: 20px 14px;
    }

    .footer-col-title {
        font-size: 10px;
        letter-spacing: 2.5px;
    }

    .footer-tagline {
        font-size: 11px;
    }

    .footer-logo-img {
        height: 42px;
    }

    .footer-logo-text {
        height: 30px;
    }

    .footer-info-card {
        padding: 8px 12px;
    }

    .footer-info-value {
        font-size: 10px;
    }

    .footer-bottom {
        padding: 12px 14px;
    }

    .footer-bottom p,
    .footer-credit {
        font-size: 11px;
    }

    .footer-socials a {
        width: 32px;
        height: 32px;
    }

    .footer-socials svg {
        width: 12px;
        height: 12px;
    }
}
