/* Dynamic Footer Section */
.dynamic-footer-section {
    position: relative;
    overflow: hidden;
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 0;
    isolation: isolate;
}

.dynamic-footer-section * {
    box-sizing: border-box;
}

.footer-subscribe-wrap {
    min-height: 430px;
    display: grid;
    place-items: center;
    align-content: center;
    padding: 54px 24px 62px;
    text-align: center;
}

.footer-heading {
    margin: 0;
    color: var(--footer-text);
    font-family: var(--lumana-header-font);
    font-size: clamp(42px, 5vw, var(--footer-title-size));
    line-height: .96;
    letter-spacing: .025em;
    font-weight: 900;
    /*text-transform: uppercase;*/
    text-wrap: balance;
}

.footer-heading span {
    display: block;
}

.footer-subscribe-form {
    position: relative;
    width: min(760px, calc(100vw - 42px));
    height: 78px;
    display: flex;
    align-items: center;
    margin-top: 42px;
    border-radius: 999px;
    padding: 10px;
    background: var(--footer-form-bg);
    box-shadow: 0 16px 38px rgba(16, 24, 40, .06), inset 0 1px 0 rgba(255,255,255,.70);
}

.footer-subscribe-form input {
    flex: 1;
    height: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 0 28px;
    color: #222;
    font-size: 21px;
    font-weight: 500;
}

.footer-subscribe-form input::placeholder {
    color: #777;
}

.footer-subscribe-form button {
    height: 58px;
    min-width: 196px;
    border: 0;
    border-radius: 999px;
    background: #d6a51e;
    color: #fff;
    font-size: 21px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
    box-shadow: 0 10px 24px rgba(0,0,0,.06);
}

.footer-subscribe-form button:hover {
    transform: translateY(-1px);
    filter: brightness(.98);
    box-shadow: 0 16px 28px rgba(0,0,0,.09);
}

.footer-subscribe-message {
    position: absolute;
    left: 50%;
    top: calc(100% + 10px);
    transform: translateX(-50%);
    color: var(--footer-text);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    transition: opacity .2s ease;
}

.footer-subscribe-message.is-visible {
    opacity: 1;
}

.footer-subscribe-message.is-error {
    color: #dc2626;
}

.footer-privacy {
    margin: 34px 0 0;
    color: #111;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 500;
}

.footer_privacy_a {
   color:blue !important;
    text-decoration: none !important;
    font-weight: 900 !important;
}

.footer-gallery-viewport {
    width: 100%;
    overflow: hidden;
    padding: 0 0 38px;
}

.footer-gallery-track {
    display: flex;
    gap: 16px;
    width: max-content;
    will-change: transform;
    animation-duration: var(--footer-gallery-speed);
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.footer-gallery-track.is-left {
    animation-name: footerMarqueeLeft;
}

.footer-gallery-track.is-right {
    animation-name: footerMarqueeRight;
}

.footer-gallery-viewport:hover .footer-gallery-track {
    animation-play-state: paused;
}

.footer-gallery-card {
    flex: 0 0 var(--footer-card-width);
    width: var(--footer-card-width);
    height: var(--footer-card-height);
    margin: 0;
    border-radius: 11px;
    overflow: hidden;
    background: #ddd;
    box-shadow: 0 14px 32px rgba(15, 23, 42, .10);
}

.footer-gallery-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform .35s ease, filter .35s ease;
}

.footer-gallery-card:hover img {
    transform: scale(1.07);
    filter: saturate(1.1) contrast(1.02);
}

.footer-bottom {
    min-height: 70px;
    border-top: 1px solid var(--footer-border);
    font-family: var(--lumana-segoe-font);
    /*display: grid;*/
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    padding: 0 8vw;
    color: var(--footer-muted);
    font-size: 17px;
    background: var(--footer-bg);
}

.footer-copyright {
    text-align: center;
    justify-self: center;
    padding: 25px;
    white-space: nowrap;
    
}

.footer-copyright a {
    color: #111;
    text-decoration: none;
    font-weight: 800;
}

.footer-nav {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: clamp(22px, 3vw, 58px);
}

.footer-nav a {
    color: #5e5e5e;
    text-decoration: none;
    font-weight: 650;
    white-space: nowrap;
    transition: color .2s ease;
}

.footer-nav a:hover {
    color: #111;
}

.footer-socials {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 28px;
}

.footer-socials a {
    color: #4b4b4b;
    text-decoration: none;
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
    transition: transform .2s ease, color .2s ease;
}

.footer-socials a:hover {
    transform: translateY(-2px);
    color: #111;
}

@keyframes footerMarqueeLeft {
    from { transform: translate3d(0,0,0); }
    to { transform: translate3d(calc(-50% - 8px),0,0); }
}

@keyframes footerMarqueeRight {
    from { transform: translate3d(calc(-50% - 8px),0,0); }
    to { transform: translate3d(0,0,0); }
}

@media(max-width: 1200px) {
    .footer-bottom {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        gap: 18px;
        padding: 24px;
    }

    .footer-copyright,
    .footer-nav,
    .footer-socials {
        justify-self: center;
    }

    .footer-copyright {
        white-space: normal;
    }

    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media(max-width: 720px) {
    .footer-subscribe-wrap {
        min-height: 390px;
        padding: 46px 18px 52px;
    }

    .footer-heading {
        font-size: clamp(36px, 12vw, 56px);
    }

    .footer-subscribe-form {
        height: auto;
        min-height: 64px;
        flex-direction: column;
        border-radius: 28px;
        padding: 12px;
        gap: 10px;
    }

    .footer-subscribe-form input {
        width: 100%;
        height: 48px;
        padding: 0 16px;
        text-align: center;
        font-size: 16px;
    }

    .footer-subscribe-form button {
        width: 100%;
        min-width: 0;
        height: 50px;
        font-size: 16px;
    }

    .footer-privacy {
        font-size: 14px;
        margin-top: 28px;
    }

    .footer-gallery-card {
        flex-basis: min(270px, 72vw);
        width: min(270px, 72vw);
        height: 170px;
    }

    .footer-bottom {
        font-size: 15px;
    }

    .footer-socials {
        gap: 20px;
    }
}
