/* =========================================================
   SPAVERSE FOOTER
========================================================= */

.sv-footer {
    position: relative;
    overflow: hidden;

    margin-top: 40px;

    background:
        radial-gradient(
            circle at 8% 0%,
            rgba(201, 166, 107, 0.15),
            transparent 28%
        ),
        radial-gradient(
            circle at 95% 100%,
            rgba(201, 166, 107, 0.08),
            transparent 28%
        ),
        linear-gradient(
            145deg,
            #15372d 0%,
            #1e4338 55%,
            #274f43 100%
        );

    color: rgba(255, 255, 255, 0.74);
}

.sv-footer-glow {
    position: absolute;

    right: -160px;
    bottom: -180px;

    width: 430px;
    height: 430px;

    border-radius: 50%;

    background: rgba(201, 166, 107, 0.08);

    filter: blur(26px);

    pointer-events: none;
}


/* =========================================================
   CONTAINER
========================================================= */

.sv-footer-container {
    position: relative;
    z-index: 2;

    width: min(calc(100% - 40px), 1200px);

    margin-inline: auto;
}


/* =========================================================
   MAIN LAYOUT
========================================================= */

.sv-footer-main {
    display: grid;

    grid-template-columns:
        minmax(0, 1.6fr)
        minmax(150px, 0.65fr)
        minmax(240px, 0.9fr);

    gap: 70px;

    padding: 72px 0 48px;
}


/* =========================================================
   BRAND
========================================================= */

.sv-footer-brand {
    min-width: 0;
}

.sv-footer-logo {
    display: inline-flex;
    align-items: center;

    gap: 12px;
}

.sv-footer-logo > span {
    flex: 0 0 48px;

    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(234, 215, 177, 0.42);
    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.12),
            rgba(255, 255, 255, 0.04)
        );

    color: var(--light-gold);

    font-family: "Cormorant Garamond", serif;
    font-size: 18px;
    font-weight: 800;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.sv-footer-logo > div {
    display: grid;

    line-height: 1;
}

.sv-footer-logo strong {
    color: #ffffff;

    font-family: "Cormorant Garamond", serif;
    font-size: 29px;
    font-weight: 700;
}

.sv-footer-logo small {
    margin-top: 6px;

    color: var(--light-gold);

    font-size: 9px;
    font-weight: 850;

    letter-spacing: 0.17em;

    text-transform: uppercase;
}

.sv-footer-brand > p {
    max-width: 430px;

    margin-top: 22px;

    color: rgba(255, 255, 255, 0.62);

    font-size: 13px;
    line-height: 1.85;
}


/* =========================================================
   SOCIALS
========================================================= */

.sv-socials {
    display: flex;

    gap: 9px;

    margin-top: 22px;
}

.sv-socials a {
    width: 39px;
    height: 39px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(234, 215, 177, 0.20);
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.055);

    color: var(--light-gold);

    font-size: 10px;
    font-weight: 850;

    transition:
        transform 180ms ease,
        border-color 180ms ease,
        background-color 180ms ease;
}

.sv-socials a:hover {
    transform: translateY(-3px);

    border-color: rgba(234, 215, 177, 0.48);

    background: rgba(201, 166, 107, 0.14);
}


/* =========================================================
   COLUMN HEADING
========================================================= */

.sv-footer-heading {
    display: flex;
    align-items: center;

    gap: 9px;

    margin-bottom: 21px;
}

.sv-footer-heading > span {
    width: 18px;
    height: 1px;

    background: var(--gold);
}

.sv-footer-heading h3 {
    margin: 0;

    color: #ffffff;

    font-family: "Cormorant Garamond", serif;
    font-size: 22px;
    font-weight: 700;
}


/* =========================================================
   LINKS
========================================================= */

.sv-footer-col {
    min-width: 0;

    display: flex;
    flex-direction: column;

    align-items: flex-start;
}

.sv-footer-col > a {
    position: relative;

    display: inline-flex;
    align-items: center;

    min-height: 30px;

    margin-bottom: 5px;

    color: rgba(255, 255, 255, 0.63);

    font-size: 12px;
    font-weight: 550;

    transition:
        color 180ms ease,
        transform 180ms ease;
}

.sv-footer-col > a::before {
    content: "›";

    margin-right: 7px;

    color: rgba(201, 166, 107, 0.55);

    font-size: 15px;
}

.sv-footer-col > a:hover {
    color: var(--light-gold);

    transform: translateX(3px);
}


/* =========================================================
   CONTACT
========================================================= */

.sv-footer-contact address {
    width: 100%;

    display: grid;

    gap: 11px;
}

.sv-footer-contact-item {
    width: 100%;

    display: flex;
    align-items: center;

    gap: 10px;

    margin: 0;

    color: inherit;
}

.sv-footer-contact-icon {
    flex: 0 0 34px;

    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(234, 215, 177, 0.14);
    border-radius: 10px;

    background: rgba(255, 255, 255, 0.05);

    color: var(--light-gold);

    font-size: 12px;
}

.sv-footer-contact-item > div {
    min-width: 0;

    display: grid;
}

.sv-footer-contact-item small {
    margin-bottom: 1px;

    color: rgba(255, 255, 255, 0.38);

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 0.07em;

    text-transform: uppercase;
}

.sv-footer-contact-item p {
    margin: 0;

    overflow: hidden;

    color: rgba(255, 255, 255, 0.68);

    font-size: 11px;

    text-overflow: ellipsis;
    white-space: nowrap;

    transition: color 180ms ease;
}

a.sv-footer-contact-item:hover p {
    color: var(--light-gold);
}


/* =========================================================
   NEWSLETTER FULL WIDTH BAND
========================================================= */

.sv-newsletter-band {
    position: relative;

    display: grid;

    grid-template-columns:
        minmax(0, 1.4fr)
        minmax(290px, 0.75fr);

    align-items: center;

    gap: 48px;

    min-height: 165px;

    padding: 26px 30px;

    overflow: hidden;

    border: 1px solid rgba(234, 215, 177, 0.18);
    border-radius: 22px;

    background:
        linear-gradient(
            120deg,
            rgba(255, 255, 255, 0.09),
            rgba(255, 255, 255, 0.035)
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 18px 42px rgba(5, 24, 18, 0.12);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.sv-newsletter-decoration {
    position: absolute;

    top: 50%;
    right: 32%;

    color: rgba(201, 166, 107, 0.07);

    font-size: 140px;
    line-height: 1;

    transform: translateY(-50%);

    pointer-events: none;
}


/* =========================================================
   NEWSLETTER INTRO
========================================================= */

.sv-newsletter-intro {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;

    gap: 17px;
}

.sv-newsletter-icon {
    flex: 0 0 58px;

    width: 58px;
    height: 58px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(234, 215, 177, 0.25);
    border-radius: 17px;

    background: rgba(201, 166, 107, 0.11);

    color: var(--light-gold);

    font-size: 20px;
}

.sv-newsletter-intro > div:last-child {
    min-width: 0;
}

.sv-newsletter-eyebrow {
    display: block;

    margin-bottom: 5px;

    color: var(--gold);

    font-size: 8px;
    font-weight: 900;

    letter-spacing: 1.8px;

    text-transform: uppercase;
}

.sv-newsletter-intro h3 {
    margin: 0 0 7px;

    color: #ffffff;

    font-family: "Cormorant Garamond", serif;
    font-size: 27px;
    font-weight: 700;
    line-height: 1.05;
}

.sv-newsletter-intro p {
    max-width: 520px;

    margin: 0;

    color: rgba(255, 255, 255, 0.54);

    font-size: 11px;
    line-height: 1.65;
}


/* =========================================================
   NEWSLETTER ACTION
========================================================= */

.sv-newsletter-action {
    position: relative;
    z-index: 3;

    width: 100%;

    justify-self: end;
}


/* =========================================================
   ACCOUNT EMAIL
========================================================= */

.sv-newsletter-email {
    width: 100%;

    margin-bottom: 8px;

    padding: 10px 13px;

    overflow: hidden;

    border: 1px solid rgba(234, 215, 177, 0.13);
    border-radius: 10px;

    background: rgba(4, 22, 16, 0.14);
}

.sv-newsletter-email span {
    display: block;

    margin-bottom: 2px;

    color: rgba(255, 255, 255, 0.36);

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 0.06em;

    text-transform: uppercase;
}

.sv-newsletter-email strong {
    display: block;

    overflow: hidden;

    color: rgba(255, 255, 255, 0.9);

    font-size: 11px;
    font-weight: 700;

    text-overflow: ellipsis;
    white-space: nowrap;
}


/* =========================================================
   SUBSCRIBE BUTTON
========================================================= */

.sv-newsletter-form {
    width: 100%;
}

.sv-newsletter-submit,
.sv-newsletter-login {
    width: 100%;
    min-height: 43px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;

    padding: 0 15px;

    border-radius: 10px;

    font-family: inherit;
    font-size: 10px;
    font-weight: 900;

    cursor: pointer;

    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease;
}

.sv-newsletter-submit {
    border: 0;

    background:
        linear-gradient(
            135deg,
            var(--gold),
            var(--light-gold)
        );

    color: var(--dark-green);

    box-shadow:
        0 9px 22px rgba(201, 166, 107, 0.16);
}

.sv-newsletter-submit:hover {
    transform: translateY(-2px);

    box-shadow:
        0 13px 27px rgba(201, 166, 107, 0.23);
}

.sv-newsletter-submit > span,
.sv-newsletter-login > span {
    font-size: 16px;

    transition: transform 180ms ease;
}

.sv-newsletter-submit:hover > span,
.sv-newsletter-login:hover > span {
    transform: translateX(3px);
}

.sv-newsletter-note {
    display: block;

    margin-top: 7px;

    color: rgba(255, 255, 255, 0.34);

    font-size: 8px;
    line-height: 1.4;
}


/* =========================================================
   GUEST
========================================================= */

.sv-newsletter-guest {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 8px;

    padding: 9px 11px;

    border: 1px solid rgba(234, 215, 177, 0.12);
    border-radius: 10px;

    background: rgba(4, 22, 16, 0.13);
}

.sv-newsletter-lock {
    flex: 0 0 35px;

    width: 35px;
    height: 35px;

    display: grid;
    place-items: center;

    border-radius: 9px;

    background: rgba(201, 166, 107, 0.10);

    font-size: 13px;
}

.sv-newsletter-guest > div {
    min-width: 0;
}

.sv-newsletter-guest small {
    display: block;

    margin-bottom: 1px;

    color: var(--gold);

    font-size: 7px;
    font-weight: 900;

    letter-spacing: 0.08em;
}

.sv-newsletter-guest strong {
    display: block;

    color: #ffffff;

    font-size: 10px;
}

.sv-newsletter-guest p {
    margin: 1px 0 0;

    color: rgba(255, 255, 255, 0.42);

    font-size: 8px;
    line-height: 1.35;
}

.sv-newsletter-login {
    border: 1px solid rgba(234, 215, 177, 0.30);

    background: rgba(201, 166, 107, 0.09);

    color: var(--light-gold);
}

.sv-newsletter-login:hover {
    transform: translateY(-2px);

    border-color: rgba(234, 215, 177, 0.5);

    background: rgba(201, 166, 107, 0.15);
}


/* =========================================================
   SUBSCRIBED
========================================================= */

.sv-newsletter-subscribed {
    display: flex;
    align-items: center;

    gap: 11px;

    width: 100%;

    padding: 13px 14px;

    border: 1px solid rgba(99, 211, 154, 0.20);
    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            rgba(46, 159, 104, 0.13),
            rgba(255, 255, 255, 0.035)
        );
}

.sv-newsletter-success-icon {
    flex: 0 0 41px;

    width: 41px;
    height: 41px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(126, 223, 173, 0.20);
    border-radius: 50%;

    background: rgba(76, 190, 132, 0.13);

    color: #a8e3c4;

    font-size: 17px;
    font-weight: 900;
}

.sv-newsletter-subscribed > div {
    min-width: 0;
}

.sv-newsletter-subscribed small {
    display: block;

    margin-bottom: 2px;

    color: #83cba5;

    font-size: 7px;
    font-weight: 900;

    letter-spacing: 0.08em;
}

.sv-newsletter-subscribed strong {
    display: block;

    color: #c9eed9;

    font-size: 11px;
}

.sv-newsletter-subscribed p {
    margin: 2px 0 0;

    overflow: hidden;

    color: rgba(255, 255, 255, 0.65);

    font-size: 9px;

    text-overflow: ellipsis;
    white-space: nowrap;
}


/* =========================================================
   BOTTOM
========================================================= */

.sv-footer-bottom {
    min-height: 69px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-top: 34px;

    border-top: 1px solid rgba(255, 255, 255, 0.09);

    color: rgba(255, 255, 255, 0.42);

    font-size: 10px;
}

.sv-footer-bottom-links {
    display: flex;
    align-items: center;

    gap: 22px;
}

.sv-footer-bottom-links span {
    color: rgba(255, 255, 255, 0.34);
}

.sv-footer-bottom a {
    color: var(--light-gold);

    font-weight: 750;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .sv-footer-main {
        grid-template-columns:
            minmax(0, 1.4fr)
            minmax(150px, 0.7fr)
            minmax(220px, 1fr);

        gap: 35px;

        padding-top: 60px;
    }

    .sv-newsletter-band {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(260px, 0.75fr);

        gap: 25px;

        padding: 24px;
    }

    .sv-newsletter-decoration {
        right: 35%;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .sv-footer {
        margin-top: 20px;
    }

    .sv-footer-container {
        width: min(calc(100% - 28px), 1200px);
    }

    .sv-footer-main {
        grid-template-columns: 1fr 1fr;

        gap: 34px 24px;

        padding: 50px 0 36px;
    }

    .sv-footer-brand {
        grid-column: 1 / -1;
    }

    .sv-footer-brand > p {
        max-width: 520px;
    }

    .sv-newsletter-band {
        grid-template-columns: 1fr;

        gap: 22px;

        min-height: 0;

        padding: 22px;

        border-radius: 18px;
    }

    .sv-newsletter-decoration {
        top: auto;
        right: -5px;
        bottom: -25px;

        font-size: 120px;

        transform: none;
    }

    .sv-newsletter-action {
        justify-self: stretch;
    }

    .sv-footer-bottom {
        min-height: 0;

        padding: 18px 0;

        flex-direction: column;
        align-items: flex-start;

        gap: 7px;
    }

    .sv-footer-bottom-links {
        width: 100%;

        justify-content: space-between;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .sv-footer-container {
        width: calc(100% - 24px);
    }

    .sv-footer-main {
        grid-template-columns: 1fr;

        gap: 30px;

        padding-top: 43px;
    }

    .sv-footer-brand {
        grid-column: auto;
    }

    .sv-footer-heading {
        margin-bottom: 14px;
    }

    .sv-footer-contact address {
        gap: 9px;
    }

    .sv-newsletter-band {
        padding: 18px;

        border-radius: 16px;
    }

    .sv-newsletter-intro {
        align-items: flex-start;

        gap: 12px;
    }

    .sv-newsletter-icon {
        flex-basis: 44px;

        width: 44px;
        height: 44px;

        border-radius: 13px;

        font-size: 16px;
    }

    .sv-newsletter-intro h3 {
        font-size: 23px;
    }

    .sv-newsletter-intro p {
        font-size: 10px;
    }

    .sv-newsletter-email {
        padding: 10px 11px;
    }

    .sv-newsletter-submit,
    .sv-newsletter-login {
        min-height: 44px;
    }

    .sv-footer-bottom-links {
        flex-direction: column;
        align-items: flex-start;

        gap: 4px;
    }
}


/* =========================================================
   EXTRA SMALL
========================================================= */

@media (max-width: 360px) {

    .sv-footer-container {
        width: calc(100% - 20px);
    }

    .sv-newsletter-band {
        padding: 15px;
    }

    .sv-newsletter-intro h3 {
        font-size: 21px;
    }

    .sv-newsletter-guest {
        align-items: flex-start;
    }
}