/* ==========================================================================
   Haztap — Footer Awwwards Iconic
   Dark · Minimal · GSAP Powered
   ========================================================================== */

/* ── RESET & BASE ── */
#hts-footer {
    position: relative;
    background: #050505;
    color: #fff;
    font-family: 'Ubuntu', sans-serif;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.06);
}

/* ── TOP SECTION: CTA gigante ── */
.hts-footer-cta {
    padding: clamp(80px, 12vw, 160px) clamp(24px, 6vw, 100px) clamp(60px, 8vw, 120px);
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.hts-footer-cta-label {
    display: flex;
    align-items: center;
    gap: 16px;
    overflow: hidden;
}

.hts-footer-cta-label span {
    font-size: 11px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
}

.hts-footer-cta-label::before {
    content: '';
    display: block;
    width: 32px;
    height: 1px;
    background: rgba(255,255,255,0.2);
    flex-shrink: 0;
}

/* Giant headline */
.hts-footer-headline {
    overflow: hidden;
    line-height: 0.9;
}

.hts-footer-headline a {
    display: block;
    font-size: clamp(52px, 9.5vw, 160px);
    font-weight: 700;
    letter-spacing: -0.04em;
    color: #fff;
    text-decoration: none;
    line-height: 0.9;
    transform: translateY(105%);
    will-change: transform;
    position: relative;
    transition: color 0.4s ease;
}

.hts-footer-headline a:hover {
    color: rgba(255,255,255,0.75);
}

/* Email link with underline wipe */
.hts-footer-email-wrap {
    overflow: hidden;
}

.hts-footer-email {
    display: inline-block;
    font-size: clamp(18px, 2.8vw, 44px);
    font-weight: 300;
    letter-spacing: -0.02em;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    position: relative;
    transform: translateY(110%);
    will-change: transform;
    transition: color 0.3s ease;
}

.hts-footer-email::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.3);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}

.hts-footer-email:hover {
    color: #fff;
}

.hts-footer-email:hover::after {
    transform: scaleX(1);
}

/* ── MARQUEE STRIP ── */
.hts-footer-marquee {
    position: relative;
    padding: 28px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    overflow: hidden;
    display: flex;
    white-space: nowrap;
}

.hts-marquee-track {
    display: flex;
    gap: 0;
    animation: htsMarqueeScroll 22s linear infinite;
    will-change: transform;
}

.hts-marquee-track:hover {
    animation-play-state: paused;
}

@keyframes htsMarqueeScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.hts-marquee-item {
    display: flex;
    align-items: center;
    gap: 28px;
    padding-right: 28px;
    font-size: clamp(13px, 1.3vw, 17px);
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.2);
    font-weight: 400;
    flex-shrink: 0;
}

.hts-marquee-dot {
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    flex-shrink: 0;
}

/* ── BOTTOM BAR ── */
.hts-footer-bottom {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: clamp(28px, 4vw, 56px) clamp(24px, 6vw, 100px);
    gap: 20px;
}

/* Logo mark */
.hts-footer-logo {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transform: translateY(16px);
    will-change: opacity, transform;
}

.hts-footer-logo-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
    flex-shrink: 0;
}

/* Nav links */
.hts-footer-nav {
    display: flex;
    align-items: center;
    gap: clamp(20px, 3vw, 48px);
    opacity: 0;
    transform: translateY(16px);
    will-change: opacity, transform;
}

.hts-footer-nav a {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    text-decoration: none;
    transition: color 0.25s ease;
    position: relative;
}

.hts-footer-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.5);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s cubic-bezier(0.76,0,0.24,1);
}

.hts-footer-nav a:hover { color: rgba(255,255,255,0.9); }
.hts-footer-nav a:hover::after { transform: scaleX(1); }

/* Social + copyright right side */
.hts-footer-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
    opacity: 0;
    transform: translateY(16px);
    will-change: opacity, transform;
}

.hts-footer-social {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hts-footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
    transition: border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.hts-footer-social a:hover {
    border-color: rgba(255,255,255,0.5);
    color: #fff;
    transform: scale(1.1);
}

.hts-footer-copy {
    font-size: 11px;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.18);
    text-align: right;
}

/* ── GIANT WORDMARK BACKGROUND ── */
.hts-footer-wordmark {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
    height: 45%;
    display: flex;
    align-items: flex-end;
}

.hts-footer-wordmark span {
    font-size: clamp(80px, 18vw, 320px);
    font-weight: 900;
    letter-spacing: -0.06em;
    line-height: 0.8;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,0.04);
    white-space: nowrap;
    transform: translateY(20%);
    opacity: 0;
    will-change: transform, opacity;
    display: block;
    width: 100%;
    text-align: center;
}

/* Position bottom bar above wordmark */
.hts-footer-bottom {
    position: relative;
    z-index: 2;
}

.hts-footer-cta,
.hts-footer-marquee {
    position: relative;
    z-index: 2;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .hts-footer-bottom {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 24px;
    }

    .hts-footer-logo {
        grid-column: 1 / 2;
        grid-row: 1;
    }

    .hts-footer-right {
        grid-column: 2 / 3;
        grid-row: 1;
        justify-content: flex-end;
    }

    .hts-footer-nav {
        grid-column: 1 / 3;
        grid-row: 2;
        justify-content: center;
        flex-wrap: wrap;
        gap: 16px 28px;
    }

    .hts-footer-copy {
        text-align: center;
    }

    .hts-footer-social { gap: 14px; }
    .hts-footer-wordmark { display: none; }
}
