/* ========================================
   FOOTER STYLES (Restored from structure)
======================================== */

.footer-section {
    padding: 30px 5vw 5px;
    /* Reduced from 60px */
    background-color: #1C222E !important;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

/* Gradient separator line at top of footer */
.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(198, 123, 92, 0.3) 20%,
            rgba(198, 123, 92, 0.5) 50%,
            rgba(198, 123, 92, 0.3) 80%,
            transparent 100%);
}

/* --- LARGE CTA --- */
.footer-cta-wrapper {
    text-align: center;
    margin-bottom: 60px;
    padding-top: 30px;
}

/* Asymmetric CTA Layout */
.footer-cta-asymmetric {
    text-align: left;
    max-width: 100%;
    margin: 0 auto 40px;
    /* Reduced from 80px */
    padding: 30px 2vw 20px;
    /* Reduced from 60px and 40px */
    overflow: hidden;
}

.footer-cta-asymmetric .cta-label {
    margin-bottom: 40px;
    text-align: center;
}

.cta-content-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
}

.cta-huge-text.cta-asymmetric {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

.cta-huge-text.cta-asymmetric .word-1 {
    display: block;
    font-size: clamp(4.5rem, 13vw, 11rem);
    line-height: 1;
    margin-bottom: -0.1em;
}

.cta-huge-text.cta-asymmetric .word-2 {
    display: block;
    font-size: clamp(4rem, 12vw, 10rem);
    line-height: 0.95;
    margin-left: 4vw;
    white-space: nowrap;
}

/* Text CTA Link */
.cta-text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 50px;
    margin-left: auto;
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
}

.cta-text-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent);
    transform: scaleX(1);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.cta-text-link:hover::after {
    transform: scaleX(1.1);
}

.cta-link-text {
    font-family: var(--font-head);
    font-size: 14px;
    letter-spacing: 2px;
    color: var(--text-main);
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.cta-link-arrow {
    font-size: 18px;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.cta-text-link:hover .cta-link-text {
    color: var(--accent);
}

.cta-text-link:hover .cta-link-arrow {
    transform: translateX(5px);
}

/* Responsive for asymmetric */
@media (max-width: 768px) {
    .footer-cta-asymmetric {
        padding: 20px 15px 0;
    }

    .cta-huge-text.cta-asymmetric .word-1 {
        font-size: clamp(2rem, 10vw, 3.5rem);
    }

    .cta-huge-text.cta-asymmetric .word-2 {
        margin-left: 0;
        font-size: clamp(2.2rem, 11vw, 4rem);
        white-space: normal;
    }

    .cta-text-link {
        margin-left: 0;
        margin-top: 25px;
    }

    /* Fix spacing between footer sections */
    .col-header {
        margin-bottom: 15px;
    }
}

.cta-label {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    letter-spacing: 4px;
    color: var(--accent);
    margin-bottom: 50px;
    display: block;
}

.cta-huge-text {
    font-family: var(--font-head);
    font-size: clamp(3.5rem, 12vw, 11rem);
    line-height: 0.85;
    color: var(--text-main);
    margin: 0;
    text-transform: uppercase;
}

.cta-huge-text span {
    display: inline-block;
}

/* Outline Text Utility override if needed */
.outline-text {
    -webkit-text-stroke: 1px var(--text-main) !important;
    text-stroke: 1px var(--text-main) !important;
    color: transparent !important;
    transition: all 0.5s ease;
}

.footer-cta-wrapper:hover .outline-text {
    color: var(--text-main);
    -webkit-text-stroke: 0px;
}

/* --- FOOTER BOTTOM GRID --- */
.footer-bottom {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 30px;
    padding-top: 40px;
    margin-bottom: 40px;
    position: relative;
}

/* Gradient separator line matching section dividers */
.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(198, 123, 92, 0.3) 20%,
            rgba(198, 123, 92, 0.5) 50%,
            rgba(198, 123, 92, 0.3) 80%,
            transparent 100%);
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.col-header {
    font-family: 'Space Mono', monospace;
    font-size: 15px;
    color: var(--accent);
    letter-spacing: 2px;
    margin: 0 0 15px 0;
}

/* Links Column */
.col-links a {
    font-family: var(--font-body);
    font-size: 15px;
    color: rgba(232, 224, 213, 0.7);
    text-decoration: none;
    margin-bottom: 3px;
    transition: color 0.3s ease;
    display: block;
}

.col-links a:hover {
    color: var(--text-main);
}

/* QR Column - Now just for button */
.col-qr {
    align-items: flex-start;
}

/* Magnetic Button (Widened) */
.magnetic-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 24px 100px;
    /* Increased width */
    border: 1px solid var(--text-main);
    border-radius: 50px;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.3s ease;
    background: transparent;
    min-width: 300px;
}

.btn-text {
    position: relative;
    z-index: 2;
    font-family: var(--font-head);
    font-size: 14px;
    color: var(--text-main);
    letter-spacing: 2px;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.btn-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #C67B5C;
    z-index: 1;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s cubic-bezier(0.2, 1, 0.3, 1);
}

.magnetic-btn:hover .btn-fill {
    transform: scaleY(1);
}

.magnetic-btn:hover .btn-text {
    color: var(--bg-color);
}

/* Address Column */
.col-address p {
    font-family: var(--font-body);
    font-size: 15px;
    color: rgba(232, 224, 213, 0.7);
    line-height: 1.3;
    margin: 0;
}

/* Socials Column - Icons Row */
.social-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.footer-col .social-list .social-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--text-main);
    text-decoration: none;
    transition: all 0.3s ease;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(232, 224, 213, 0.2);
    border-radius: 50%;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1;
}

.footer-col .social-list .social-link svg {
    display: block;
    width: 20px;
    height: 20px;
    stroke-width: 1.5px;
    transition: transform 0.3s ease;
    margin: 0 auto;
}

.social-link:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(198, 123, 92, 0.1);
}

.social-link:hover svg {
    transform: scale(1.1);
}

/* Removed old text arrow styles */

/* --- LEGAL --- */
.footer-legal {
    border-top: 1px solid var(--line-color);
    padding-top: 10px;
    padding-bottom: 5px;
    padding-left: 20px;
    padding-right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    color: rgba(232, 224, 213, 0.4);
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 1024px) {
    .cta-huge-text {
        font-size: 10vw;
    }
}

@media (max-width: 768px) {
    .footer-bottom {
        grid-template-columns: 1fr;
        gap: 50px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-col {
        width: 100%;
        align-items: center;
    }

    /* Reorder columns on mobile: 1. Logo, 2. Obserwuj nas, 3. Siedziba+Kontakt, 4. Skróty */
    .col-qr {
        order: 1;
    }

    .col-socials {
        order: 2;
    }

    .col-address {
        order: 3;
    }

    .col-links {
        order: 4;
    }

    .col-qr {
        align-items: center;
        text-align: center;
    }

    .social-list {
        justify-content: center;
    }

    .col-header,
    .col-address p,
    .col-links a {
        text-align: center;
    }

    .col-links a {
        display: block;
        /* Ensure full width for centering if needed, though text-align works on block parent */
        width: 100%;
    }

    .footer-legal {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
}