
/* ==========================================
   SOFTLYSTUDIOS — PREMIUM COMPACT FOOTER
   ========================================== */

   .ssf-footer {
    --ssf-bg: #102e22;
    --ssf-gold: #c7a968;
    --ssf-cream: #f8f7f1;
    --ssf-muted: #b5c6b9;

    position: relative;
    isolation: isolate;
    width: 100%;
    overflow: visible;

    color: var(--ssf-cream);

    background:
        radial-gradient(
            ellipse at 8% 0%,
            rgba(91, 130, 95, .13),
            transparent 38%
        ),
        linear-gradient(
            135deg,
            #123526 0%,
            #102e22 50%,
            #091f17 100%
        );

    font-family: Manrope, Arial, sans-serif;
}

.ssf-footer * {
    box-sizing: border-box;
}

.ssf-inner {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

/* MAIN GRID */

.ssf-main {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr 1fr;
    gap: clamp(25px, 4vw, 58px);

    padding: 52px 0 38px;
}

/* BRAND */

.ssf-brand {
    min-width: 0;
}

.ssf-logo {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    text-decoration: none;
}

.ssf-logo img {
    display: block;
    width: 170px;
    max-width: 100%;
    height: auto;
    max-height: 78px;
    object-fit: contain;
    object-position: left center;

    transition:
        transform .4s cubic-bezier(.2,.8,.2,1),
        filter .4s ease;
}

.ssf-logo:hover img {
    transform: translateY(-3px);
    filter: brightness(1.08);
}

.ssf-tagline {
    margin: 5px 0 10px;

    color: #e4d1a1;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 23px;
    font-style: italic;
    line-height: 1.3;
}

.ssf-description {
    max-width: 270px;
    margin: 0;

    color: var(--ssf-muted);
    font-size: 12px;
    line-height: 1.85;
}

.ssf-brand-contact {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-top: 17px;
    padding-bottom: 5px;

    color: #e5d5ae;
    border-bottom: 1px solid rgba(199,169,104,.45);

    font-size: 12px;
    font-weight: 700;
    text-decoration: none;

    transition:
        color .25s ease,
        border-color .25s ease;
}

.ssf-brand-contact span {
    transition: transform .3s ease;
}

.ssf-brand-contact:hover {
    color: #fff4d8;
    border-color: #fff4d8;
}

.ssf-brand-contact:hover span {
    transform: translate(3px, -3px);
}

/* LINK COLUMNS */

.ssf-column h2 {
    position: relative;
    width: fit-content;

    margin: 9px 0 21px;

    color: #e4d1a1;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

.ssf-column h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -9px;

    width: 22px;
    height: 1px;

    background: var(--ssf-gold);
    opacity: .7;
}

.ssf-column nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
}

.ssf-column nav a {
    position: relative;
    display: inline-block;

    color: #c5d2c7;
    font-size: 12px;
    line-height: 1.5;
    text-decoration: none;

    transition:
        color .25s ease,
        transform .3s cubic-bezier(.2,.8,.2,1);
}

.ssf-column nav a::before {
    content: "";
    position: absolute;
    left: -13px;
    top: 50%;

    width: 5px;
    height: 5px;

    background: var(--ssf-gold);
    border-radius: 50%;

    opacity: 0;
    transform: translateY(-50%) scale(.3);

    transition:
        opacity .25s ease,
        transform .25s ease;
}

.ssf-column nav a:hover {
    color: #fff2d5;
    transform: translateX(7px);
}

.ssf-column nav a:hover::before {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

/* NEWSLETTER — COMPACT STRIP */

.ssf-newsletter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;

    padding: 25px 28px;

    border: 1px solid rgba(199,169,104,.19);
    border-radius: 16px;

    background:
        linear-gradient(
            110deg,
            rgba(255,255,255,.055),
            rgba(255,255,255,.018)
        );
}

.ssf-newsletter-copy {
    flex: 1;
    min-width: 0;
}

.ssf-eyebrow {
    display: block;
    margin-bottom: 6px;

    color: #d8bd80;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.ssf-newsletter-copy h2 {
    margin: 0 0 6px;

    color: #fff8e8;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(21px, 2.5vw, 27px);
    font-weight: 400;
}

.ssf-newsletter-copy p {
    margin: 0;

    color: var(--ssf-muted);
    font-size: 11px;
    line-height: 1.7;
}

.ssf-newsletter-form {
    display: flex;
    align-items: center;
    flex: 0 1 410px;
    min-width: 0;

    padding: 5px;

    border: 1px solid rgba(199,169,104,.32);
    border-radius: 11px;

    background: rgba(4,20,13,.28);

    transition:
        border-color .3s ease,
        box-shadow .3s ease;
}

.ssf-newsletter-form:focus-within {
    border-color: var(--ssf-gold);
    box-shadow: 0 0 0 3px rgba(199,169,104,.12);
}

.ssf-newsletter-form input {
    flex: 1;
    width: 100%;
    min-width: 0;

    padding: 12px 13px;

    border: 0;
    outline: 0;
    background: transparent;

    color: #fff;
    font: inherit;
    font-size: 12px;
}

.ssf-newsletter-form input::placeholder {
    color: #a5b7aa;
}

.ssf-newsletter-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 12px 16px;

    border: 1px solid #e2ca96;
    border-radius: 8px;

    background: #d9c18d;
    color: #143526;

    font: inherit;
    font-size: 11px;
    font-weight: 800;

    cursor: pointer;

    transition:
        background .25s ease,
        transform .25s ease,
        box-shadow .25s ease;
}

.ssf-newsletter-form button:hover {
    background: #f0dbac;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,.14);
}

.ssf-newsletter-form button span {
    font-size: 15px;
}

/* BOTTOM */

.ssf-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

    margin-top: 28px;
    padding: 21px 0 25px;

    border-top: 1px solid rgba(255,255,255,.12);
}

.ssf-copyright {
    margin: 0;

    color: #9fb4a4;
    font-size: 11px;
    line-height: 1.7;
}

.ssf-legal {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px 19px;
}

.ssf-legal > a,
.ssf-more summary {
    color: #c5d2c7;
    font-size: 11px;
    text-decoration: none;

    transition: color .25s ease;
}

.ssf-legal > a:hover,
.ssf-more summary:hover {
    color: #f0d9a5;
}

/* MORE POLICIES */

.ssf-more {
    position: relative;
}

.ssf-more summary {
    display: flex;
    align-items: center;
    gap: 6px;

    cursor: pointer;
    list-style: none;
    user-select: none;
}

.ssf-more summary::-webkit-details-marker {
    display: none;
}

.ssf-more summary span {
    display: inline-block;
    transition: transform .25s ease;
}

.ssf-more[open] summary span {
    transform: rotate(180deg);
}

.ssf-more-menu {
    position: absolute;
    right: 0;
    bottom: calc(100% + 14px);
    z-index: 20;

    display: flex;
    flex-direction: column;
    gap: 2px;

    width: 205px;
    padding: 9px;

    border: 1px solid rgba(199,169,104,.27);
    border-radius: 12px;

    background: #173b2a;
    box-shadow: 0 15px 35px rgba(0,0,0,.25);

    animation: ssf-menu-in .22s ease both;
}

.ssf-more-menu a {
    padding: 10px 11px;
    border-radius: 7px;

    color: #dbe6d9;
    font-size: 11px;
    text-decoration: none;

    transition:
        background .2s ease,
        color .2s ease;
}

.ssf-more-menu a:hover {
    background: rgba(199,169,104,.13);
    color: #f1dcad;
}

@keyframes ssf-menu-in {
    from {
        opacity: 0;
        transform: translateY(7px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ACCESSIBILITY */

.ssf-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.ssf-footer a:focus-visible,
.ssf-footer button:focus-visible,
.ssf-footer summary:focus-visible {
    outline: 2px solid #e6ca90;
    outline-offset: 4px;
}

/* TABLET */

@media (max-width: 900px) {

    .ssf-main {
        grid-template-columns: 1.4fr 1fr 1fr;
        gap: 35px 25px;
    }

    .ssf-brand {
        grid-column: 1 / -1;
    }

    .ssf-description {
        max-width: 430px;
    }

    .ssf-newsletter {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .ssf-newsletter-form {
        flex: none;
        width: 100%;
    }

}

/* MOBILE */

@media (max-width: 600px) {

    .ssf-inner {
        width: calc(100% - 36px);
    }

    .ssf-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 18px;

        padding: 38px 0 30px;
    }

    .ssf-brand {
        grid-column: 1 / -1;
    }

    .ssf-logo img {
        width: 150px;
        max-height: 70px;
    }

    .ssf-tagline {
        font-size: 22px;
    }

    .ssf-column h2 {
        margin-top: 0;
    }

    .ssf-column nav {
        gap: 12px;
    }

    .ssf-column nav a {
        font-size: 11px;
    }

    .ssf-newsletter {
        padding: 23px 18px;
    }

    .ssf-newsletter-form button {
        padding: 12px 13px;
    }

    .ssf-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;

        padding-bottom: 26px;
    }

    .ssf-legal {
        gap: 12px 16px;
    }

    .ssf-more-menu {
        right: auto;
        left: 0;
    }

}

/* SMALL MOBILE */

@media (max-width: 360px) {

    .ssf-newsletter-form button {
        padding: 12px 10px;
        font-size: 10px;
    }

    .ssf-newsletter-form input {
        padding: 11px 8px;
    }

}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {

    .ssf-footer *,
    .ssf-footer *::before,
    .ssf-footer *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

}






/* ======================================
   FOOTER LOGO — MATCH HEADER WHITE
   ====================================== */

   .ssf-footer .ssf-logo img {
  
    opacity: 1;
    transition:
        transform .35s ease,
        opacity .35s ease;
}

.ssf-footer .ssf-logo:hover img {
   
    opacity: .88;
    transform: translateY(-3px);
}


/* =====================================
   SOFTLYSTUDIOS — SHARP FOOTER LOGO
   ===================================== */

   .ssf-footer .ssf-logo {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    width: 190px;
    max-width: 100%;
    line-height: 0;
}

.ssf-footer .ssf-logo img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: left center;

    /* No recoloring or blur effects */
    filter: none !important;
    opacity: 1;

    transform: translateZ(0);
    transition:
        transform .4s cubic-bezier(.22, 1, .36, 1),
        opacity .3s ease;
}

.ssf-footer .ssf-logo:hover img {
    filter: none !important;
    opacity: 1;
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .ssf-footer .ssf-logo {
        width: 165px;
    }
}




/* =========================================
   SOFTLYSTUDIOS — FLOATING ROUNDED FOOTER
   HEADER MATCH DESIGN
   ========================================= */

   .ssf-footer {
    width: calc(100% - 56px) !important;
    max-width: 1800px;

    margin: 28px auto 24px !important;

    border-radius: 32px !important;
    border: 1px solid rgba(199, 169, 104, .15);

    overflow: visible;

    box-shadow:
        0 20px 55px rgba(12, 40, 26, .12),
        0 2px 8px rgba(12, 40, 26, .05);

    background:
        radial-gradient(
            ellipse at 12% 15%,
            rgba(73, 119, 83, .17),
            transparent 40%
        ),
        linear-gradient(
            135deg,
            #123526 0%,
            #102e22 52%,
            #091f17 100%
        );
}

/* Outer page area */
body:has(.ssf-footer) {
    background-color: #f8f7f1;
}

/* Compact layout */
.ssf-footer .ssf-main {
    padding-top: 39px;
    padding-bottom: 29px;
    gap: 25px 42px;
}

.ssf-footer .ssf-inner {
    width: min(1540px, calc(100% - 70px));
}

.ssf-footer .ssf-newsletter {
    padding: 20px 25px;
    border-radius: 16px;
}

.ssf-footer .ssf-bottom {
    margin-top: 23px;
    padding: 17px 0 20px;
}

/* Smooth interaction */
.ssf-footer .ssf-column a {
    transition:
        color .3s ease,
        transform .35s cubic-bezier(.22, 1, .36, 1);
}

/* =========================================
   LOGO — PURE WHITE LIKE HEADER
   ========================================= */

.ssf-footer .ssf-logo {
    width: 175px;
    max-width: 100%;
    overflow: hidden;
    line-height: 0;
}

.ssf-footer .ssf-logo img {
    display: block;

    width: 100%;
    height: auto;
    max-height: none;

    object-fit: contain;

    /*
      Makes the existing orange logo white.
      Best clarity still comes from using
      the header's original white logo file.
    */
    filter: brightness(0) invert(1) !important;

    opacity: 1;
    transform: none;

    transition:
        opacity .3s ease,
        transform .4s cubic-bezier(.22, 1, .36, 1);
}

.ssf-footer .ssf-logo:hover img {
    filter: brightness(0) invert(1) !important;
    opacity: .9;
    transform: translateY(-2px);
}

/* =========================================
   TABLET
   ========================================= */

@media (max-width: 900px) {

    .ssf-footer {
        width: calc(100% - 32px) !important;
        margin: 20px auto !important;
        border-radius: 26px !important;
    }

    .ssf-footer .ssf-inner {
        width: calc(100% - 48px);
    }

    .ssf-footer .ssf-main {
        gap: 28px;
    }

}

/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 600px) {

    .ssf-footer {
        width: calc(100% - 20px) !important;
        margin: 12px auto !important;
        border-radius: 22px !important;
    }

    .ssf-footer .ssf-inner {
        width: calc(100% - 32px);
    }

    .ssf-footer .ssf-main {
        padding-top: 30px;
        padding-bottom: 25px;
        gap: 25px 15px;
    }

    .ssf-footer .ssf-logo {
        width: 150px;
    }

    .ssf-footer .ssf-newsletter {
        padding: 20px 16px;
    }

    .ssf-footer .ssf-bottom {
        padding-bottom: 20px;
    }

}

@media (prefers-reduced-motion: reduce) {
    .ssf-footer .ssf-logo img,
    .ssf-footer .ssf-column a {
        transition: none !important;
    }
}



/* =========================================
   SOFTLYSTUDIOS — LUXURY GLOW BUTTON
   ========================================= */

   .ssf-footer .ssf-newsletter-form .ssf-glow-button {
    position: relative;
    isolation: isolate;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;

    flex-shrink: 0;

    padding: 5px 5px 5px 19px;
    min-height: 48px;

    overflow: hidden;

    border: 1px solid #e9d5a5;
    border-radius: 100px;

    background: linear-gradient(
        125deg,
        #f1deb3 0%,
        #d9bb7d 55%,
        #e9d19c 100%
    );

    color: #173526;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.6),
        0 4px 14px rgba(0,0,0,.12);

    cursor: pointer;

    transform: translateY(0);

    transition:
        transform .4s cubic-bezier(.22,1,.36,1),
        box-shadow .4s ease,
        border-color .3s ease;
}

/* Moving light reflection */

.ssf-footer .ssf-glow-button::before {
    content: "";

    position: absolute;
    inset: -80% auto -80% -65%;

    width: 40%;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.65),
        transparent
    );

    transform: rotate(24deg);
    transition: left .75s cubic-bezier(.22,1,.36,1);

    pointer-events: none;
    z-index: -1;
}

/* Text */

.ssf-footer .ssf-glow-button-text {
    position: relative;
    z-index: 1;

    white-space: nowrap;

    font-family: Manrope, Arial, sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .15px;
}

/* Circular arrow */

.ssf-footer .ssf-glow-button-icon {
    position: relative;
    z-index: 1;

    display: grid;
    place-items: center;

    width: 37px;
    height: 37px;
    flex-shrink: 0;

    border-radius: 50%;

    background: #153b29;
    color: #f5e3bc;

    transition:
        transform .45s cubic-bezier(.22,1,.36,1),
        background .35s ease;
}

.ssf-footer .ssf-glow-button-icon svg {
    display: block;
    transition: transform .45s cubic-bezier(.22,1,.36,1);
}

/* Hover animation */

@media (hover: hover) {

    .ssf-footer .ssf-glow-button:hover {
        transform: translateY(-3px);

        box-shadow:
            inset 0 1px 0 rgba(255,255,255,.7),
            0 9px 26px rgba(199,169,104,.24);
    }

    .ssf-footer .ssf-glow-button:hover::before {
        left: 135%;
    }

    .ssf-footer .ssf-glow-button:hover
    .ssf-glow-button-icon {
        background: #0c2a1d;
        transform: rotate(45deg);
    }

    .ssf-footer .ssf-glow-button:hover
    .ssf-glow-button-icon svg {
        transform: translate(1px,-1px);
    }
}

/* Press interaction */

.ssf-footer .ssf-glow-button:active {
    transform: translateY(0) scale(.97);
}

/* Keyboard accessibility */

.ssf-footer .ssf-glow-button:focus-visible {
    outline: 3px solid #f5dfab;
    outline-offset: 4px;
}

/* Small screens */

@media (max-width: 480px) {

    .ssf-footer .ssf-newsletter-form .ssf-glow-button {
        padding-left: 12px;
        gap: 7px;
    }

    .ssf-footer .ssf-glow-button-text {
        font-size: 10px;
    }

    .ssf-footer .ssf-glow-button-icon {
        width: 32px;
        height: 32px;
    }

}

/* Respect reduced motion */

@media (prefers-reduced-motion: reduce) {

    .ssf-footer .ssf-glow-button,
    .ssf-footer .ssf-glow-button::before,
    .ssf-footer .ssf-glow-button-icon,
    .ssf-footer .ssf-glow-button-icon svg {
        transition: none !important;
        animation: none !important;
    }

}
