/* =========================================
   EDDERTON SCOTT FOOTER STYLES
   ========================================= */

#es-footer-root {
    --es-bg-cta:    #1a1a1a;
    --es-bg-main:   #111111;
    --es-border:    #2a2a2a;
    --es-text:      #ffffff;
    --es-grey-text: rgba(255,255,255,0.55);
    --es-grey-label:rgba(255,255,255,0.3);
    --es-font-body: 'Urbanist', sans-serif;
    --es-font-head: 'Syne', sans-serif;
    --es-width:     1280px;
    --es-t-fast:    0.15s;
    --es-t-base:    0.25s;
    --es-t-ease:    cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#es-footer-root * { box-sizing: border-box; }

#es-footer-root {
    width: 100%;
    font-family: var(--es-font-body);
    color: var(--es-text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    margin-top: 0;
}

#es-footer-root a { text-decoration: none; color: inherit; transition: opacity var(--es-t-fast); }
#es-footer-root a:hover { opacity: 0.6; }
#es-footer-root ul { list-style: none; padding: 0; margin: 0; }
#es-footer-root button { background: none; border: none; cursor: pointer; padding: 0; font-family: inherit; color: rgba(255,255,255,0.75); }

.es-footer-container {
    max-width: var(--es-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- CTA BAND ---- */
.es-footer-cta-band {
    background: var(--es-bg-cta);
    padding: 100px 0;
    text-align: center;
    border-bottom: 1px solid var(--es-border);
}

.es-cta-head {
    font-family: var(--es-font-head);
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 16px 0;
    color: var(--es-text);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.es-cta-sub {
    font-size: 18px;
    color: var(--es-grey-text);
    max-width: 520px;
    margin: 0 auto 44px auto;
    line-height: 1.7;
}

.es-btn-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.es-footer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--es-text);
    font-family: var(--es-font-body);
    font-weight: 700;
    font-size: 13px;
    padding: 14px 28px;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 4px;
    transition: background var(--es-t-fast), border-color var(--es-t-fast), color var(--es-t-fast),
                transform var(--es-t-base) var(--es-t-ease), box-shadow var(--es-t-base) var(--es-t-ease);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    min-width: 160px;
}

#es-footer-root .es-footer-btn:hover {
    background: #ffffff !important;
    color: #1a1a1a !important;
    border-color: #ffffff !important;
    opacity: 1 !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(255,255,255,0.1);
    text-decoration: none !important;
}

.es-footer-btn.secondary {
    border-color: rgba(255,255,255,0.15);
    color: var(--es-grey-text);
}

.es-footer-btn.secondary:hover {
    border-color: rgba(255,255,255,0.6) !important;
    color: #fff !important;
    background: transparent !important;
}

/* ---- MAIN FOOTER GRID ---- */
.es-footer-main {
    background: var(--es-bg-main);
    padding: 80px 0 40px 0;
}

.es-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
}

/* Column A: Brand */
.es-brand-col { padding-right: 40px; }

.es-footer-logo {
    font-family: var(--es-font-head);
    font-weight: 700;
    font-size: 20px;
    color: var(--es-text);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
}

.es-footer-logo img {
    height: 18px;
    width: auto;
    display: block;
    filter: invert(1);
    opacity: 0.9;
}

.es-brand-desc {
    font-size: 15px;
    color: var(--es-grey-text);
    line-height: 1.75;
    margin-bottom: 32px;
    max-width: 360px;
}

/* Social Pills */
.es-social-row { display: flex; gap: 8px; flex-wrap: wrap; }

.es-social-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--es-grey-text);
    border: 1px solid var(--es-border);
    padding: 8px 14px;
    border-radius: 4px;
    transition: border-color var(--es-t-fast), color var(--es-t-fast), background var(--es-t-fast);
    background: transparent;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.es-social-pill i {
    font-size: 13px;
    display: block;
    width: 13px;
    text-align: center;
}

#es-footer-root .es-social-pill:hover {
    border-color: rgba(255,255,255,0.4) !important;
    color: #ffffff !important;
    opacity: 1 !important;
    background: rgba(255,255,255,0.06) !important;
}

/* Footer column titles */
.es-col-title {
    font-family: var(--es-font-head);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.75);
    margin: 0 0 20px 0;
    font-weight: 700;
    display: block;
}

.es-link-list li { margin-bottom: 10px; }

.es-link-list a {
    font-size: 14px;
    color: var(--es-grey-text);
    font-weight: 400;
    transition: opacity var(--es-t-fast), color var(--es-t-fast);
}

.es-link-list a:hover { color: var(--es-text); opacity: 1; }

/* Contact */
.es-contact-item {
    font-size: 14px;
    color: var(--es-grey-text);
    margin-bottom: 16px;
    display: block;
    transition: color var(--es-t-fast);
}

.es-contact-item:hover { color: var(--es-text); opacity: 1; }

.es-contact-item strong {
    display: block;
    font-size: 10px;
    color: var(--es-grey-label);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ---- BOTTOM BAR ---- */
.es-footer-bottom {
    border-top: 1px solid var(--es-border);
    margin-top: 80px;
    padding-top: 28px;
    padding-bottom: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--es-grey-label);
    letter-spacing: 0.03em;
}

.es-legal-nav { display: flex; gap: 24px; }
.es-legal-nav a:hover { color: var(--es-text); opacity: 1; }

/* ---- RESPONSIVE ACCORDION ---- */
@media (max-width: 900px) {
    .es-footer-grid { grid-template-columns: 1fr; gap: 0; }
    .es-brand-col { margin-bottom: 40px; padding-right: 0; }
    .es-footer-col-group { border-bottom: 1px solid var(--es-border); }

    .es-col-title-mob {
        font-family: var(--es-font-head);
        font-size: 10px;
        text-transform: uppercase;
        letter-spacing: 0.12em;
        color: rgba(255,255,255,0.75) !important;
        font-weight: 700;
        padding: 18px 0;
        width: 100%;
        text-align: left;
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        min-height: 52px;
    }

    .es-col-title-mob::after { content: "+"; font-size: 16px; font-weight: 400; color: rgba(255,255,255,0.75); }
    .es-col-title-mob.active::after { content: "−"; }

    .es-col-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s var(--es-t-ease);
        padding-bottom: 0;
    }

    .es-col-content.open { padding-bottom: 28px; }

    .es-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-top: 40px;
    }

    .es-legal-nav { flex-direction: column; gap: 12px; }

    .es-cta-head { font-size: 32px; }
}

@media (min-width: 901px) {
    .es-col-title-mob { pointer-events: none; }
    .es-col-title-mob::after { display: none; }
    .es-col-content { max-height: none !important; display: block !important; }
    .es-footer-col-group { border: none; }
}