/* ─── Slingshot Footer ──────────────────────────────── */
:root {
    --sl-footer-bg:      #222222;
    --sl-footer-card-bg: #222222;
    --sl-footer-font:    'Onest', -apple-system, BlinkMacSystemFont, sans-serif;
}

.sl-footer {
    background: #f3f2f8;
    font-family: var(--sl-footer-font);
    padding: 18px 24px 0;
}

.sl-footer,
.sl-footer * {
    font-family: var(--sl-footer-font);
}

.sl-footer ul,
.sl-footer li {
    margin: 0;
    padding: 0;
}

.sl-footer ul li {
    list-style: none;
    list-style-position: unset;
}

/* ── Card wrapper ───────────────────────────────────── */
.sl-footer-card {
    background: var(--sl-footer-card-bg);
    border-radius: 24px 24px 0 0;
    overflow: hidden;
}

/* ── Main grid ──────────────────────────────────────── */
.sl-footer-main {
    padding: 64px 52px 38px;
}
.sl-footer-inner {
    max-width: 1280px; margin: 0 auto;
    display: grid;
    grid-template-columns: 260px 180px 180px 260px;
    justify-content: space-between;
    gap: 0;
    align-items: start;
}

/* ── Contact col ────────────────────────────────────── */
.sl-footer-contact {
    display: flex; flex-direction: column;
    gap: 13px; margin-bottom: 32px;
}
.sl-footer-contact-link {
    font-size: 15px;
    color: rgba(255,255,255,.85);
    text-decoration: none; line-height: 1.4;
    transition: color .2s;
}
.sl-footer-contact-link:hover { color: #fff; }
.sl-contact-email {
    font-size: 20px; font-weight: 400;
    line-height: 1.2;
    color: #fff;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
}
.sl-contact-phone {
    font-size: 20px; font-weight: 400;
    line-height: 1.25;
    color: #fff; letter-spacing: 0;
}
.sl-footer-address {
    font-size: 14px; color: rgba(255,255,255,.68);
    cursor: default; line-height: 1.45;
}
.sl-footer-address:hover { color: rgba(255,255,255,.6); }

/* Social icons */
.sl-footer-social { display: flex; gap: 24px; margin-bottom: 31px; }
.sl-footer-social-link {
    display: flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,.18);
    color: #fff;
    transition: border-color .2s, color .2s;
}
.sl-footer-social-link svg {
    width: 16px;
    height: 16px;
}
.sl-footer-social-link:hover {
    border-color: rgba(255,255,255,.42);
    color: #fff;
}

/* SOC2 badge */
.sl-footer-badge {
    display: flex; align-items: center; gap: 16px;
}
.sl-footer-soc2-icon {
    width: 56px;
    height: 56px;
    object-fit: contain;
    filter: grayscale(1) brightness(.82);
    opacity: .78;
}
.sl-footer-soc2-text {
    display: flex; flex-direction: column;
    font-size: 11px; font-weight: 600;
    letter-spacing: .07em; text-transform: uppercase;
    color: rgba(255,255,255,.66);
    line-height: 1.35;
}

/* ── Column headings ────────────────────────────────── */
.sl-footer-col-heading {
    font-size: 15px; font-weight: 600;
    letter-spacing: 0; text-transform: none;
    color: #fff;
    margin: 0 0 20px;
}

/* ── Link groups ────────────────────────────────────── */
.sl-footer-links-grid {
    display: block;
}

/* ── Nav links ──────────────────────────────────────── */
.sl-footer-links {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-direction: column; gap: 10px;
}
.sl-footer .sl-footer-links > li {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1;
}
.sl-footer-links a {
    display: block;
    font-size: 15px; color: rgba(255,255,255,.68);
    text-decoration: none; line-height: 1.25;
    margin: 0 !important;
    padding: 0 !important;
    transition: color .2s;
}
.sl-footer-links a:hover { color: #fff; }

/* ── Newsletter card ──────────────────────────────────
 * Figma: rgba(67,67,67,.5), p:24, gap:24, rounded 16, desc Onest Medium 18, btn h-48 full-width. */
.sl-footer-newsletter-card {
    width: 260px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
    background: rgba(67, 67, 67, 0.5);
    border-radius: 16px;
    padding: 24px;
    box-sizing: border-box;
}
/* Figma: Body/L/Medium — Onest 18/500/lh:1.2 */
.sl-footer-newsletter-desc {
    max-width: none;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2;
    color: #fff;
    margin: 0;
    padding: 0;
    letter-spacing: 0;
}
/* Figma: outline pill h-48, padding 16/20/16/24, border 1px rgba(255,255,255,.2), gap 10, Onest Medium 14 */
.sl-footer .sl-footer-newsletter-btn,
button.sl-footer-newsletter-btn {
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex; align-items: center; gap: 10px;
    width: 100%;
    max-width: 100%;
    height: 48px;
    min-height: 48px;
    background: transparent !important; color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 500px !important;
    padding: 16px 20px 16px 24px;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--sl-footer-font);
    line-height: 1.3;
    text-decoration: none;
    transition: background .2s, border-color .2s, transform .2s, color .2s;
    justify-content: center;
    box-sizing: border-box;
    cursor: pointer;
    margin-top: 0;
    overflow: hidden;
}
.sl-footer .sl-footer-newsletter-btn:hover,
button.sl-footer-newsletter-btn:hover {
    background: rgba(255,255,255,.08) !important;
    border-color: rgba(255,255,255,.48) !important;
    color: #fff !important;
    transform: translateY(-1px);
}
.sl-footer-newsletter-arrow {
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    margin-top: -2px;
}

/* ── Copyright bar ──────────────────────────────────── */
.sl-footer-bar {
    padding: 24px 52px 12px;
    border-top: 1px solid rgba(255,255,255,.16);
}
.sl-footer-bar-inner {
    max-width: 1280px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 13px; color: rgba(255,255,255,.58);
}
.sl-footer-legal { display: flex; align-items: center; gap: 12px; }
.sl-footer-legal a {
    color: rgba(255,255,255,.58); text-decoration: none;
    transition: color .2s;
}
.sl-footer-legal a:hover { color: rgba(255,255,255,.75); }
.sl-footer-divider { color: rgba(255,255,255,.25); }

@media (min-width: 1101px) {
    .sl-footer {
        background: #f3f2f8;
        padding: 18px 16px 16px;
    }

    .sl-footer-card {
        border-radius: 20px;
    }

    .sl-footer-main {
        padding: 64px 0 38px;
    }

    .sl-footer-inner,
    .sl-footer-bar-inner {
        max-width: 1240px;
    }

    .sl-footer-bar {
        padding: 24px 0 12px;
    }
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 1100px) {
    .sl-footer-inner {
        grid-template-columns: 220px 1fr 1fr;
        grid-template-rows: auto auto;
    }
    .sl-footer-newsletter-col {
        grid-column: 1 / -1;
    }
    .sl-footer-newsletter-card {
        max-width: 400px;
    }
}
@media (max-width: 768px) {
    .sl-footer { padding: 16px 16px 0; }
    .sl-footer-main { padding: 48px 28px 40px; }
    .sl-footer-bar  { padding: 20px 28px; }
    .sl-footer-inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .sl-footer-newsletter-col {
        width: min(400px, calc(100vw - 32px));
        max-width: none;
        grid-column: auto;
        justify-self: center;
        margin-left: calc((100% - min(400px, calc(100vw - 32px))) / 2);
        margin-right: calc((100% - min(400px, calc(100vw - 32px))) / 2);
    }
    .sl-footer-newsletter-card {
        width: 100%;
        max-width: none;
    }
    .sl-footer-bar-inner { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 768px) {
    .sl-footer {
        width: 100%;
        padding: 0;
        background: #222;
    }

    .sl-footer-card {
        width: 100%;
        border-radius: 0;
    }
}

@media (min-width: 1101px) {
    body.page-template-page-careers-figma .sl-footer-main,
    body.page-template-page-open-position-figma .sl-footer-main {
        padding-top: 34px;
        padding-bottom: 30px;
    }

    body.page-template-page-careers-figma .sl-footer-contact,
    body.page-template-page-open-position-figma .sl-footer-contact {
        gap: 8px;
        margin-bottom: 20px;
    }

    body.page-template-page-careers-figma .sl-footer-social,
    body.page-template-page-open-position-figma .sl-footer-social {
        margin-bottom: 22px;
    }

    body.page-template-page-careers-figma .sl-footer-col-heading,
    body.page-template-page-open-position-figma .sl-footer-col-heading {
        margin-bottom: 20px;
    }

    body.page-template-page-careers-figma .sl-footer-links,
    body.page-template-page-open-position-figma .sl-footer-links {
        gap: 8px;
    }

    body.page-template-page-careers-figma .sl-footer-links a,
    body.page-template-page-open-position-figma .sl-footer-links a {
        line-height: 1.32;
    }

    body.page-template-page-careers-figma .sl-footer-bar,
    body.page-template-page-open-position-figma .sl-footer-bar {
        padding-top: 14px;
        padding-bottom: 14px;
    }

    body.page-template-page-open-position-figma .sl-footer-main {
        padding-top: 26px;
        padding-bottom: 16px;
    }

    body.page-template-page-open-position-figma .sl-footer-bar {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    body.page-template-page-legal-figma .sl-footer-main {
        padding-top: 26px;
        padding-bottom: 16px;
    }

    body.page-template-page-legal-figma .sl-footer-contact {
        gap: 8px;
        margin-bottom: 20px;
    }

    body.page-template-page-legal-figma .sl-footer-social {
        margin-bottom: 22px;
    }

    body.page-template-page-legal-figma .sl-footer-col-heading {
        margin-bottom: 20px;
    }

    body.page-template-page-legal-figma .sl-footer-links {
        gap: 8px;
    }

    body.page-template-page-legal-figma .sl-footer-links a {
        line-height: 1.32;
    }

    body.page-template-page-legal-figma .sl-footer-bar {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    body.page-template-page-contact-figma .sl-footer-main {
        padding-top: 42px;
        padding-bottom: 18px;
    }

    body.page-template-page-contact-figma .sl-footer-contact {
        gap: 8px;
        margin-bottom: 22px;
    }

    body.page-template-page-contact-figma .sl-contact-phone {
        font-size: 25px;
        line-height: 1.2;
    }

    body.page-template-page-contact-figma .sl-footer-address {
        line-height: 1.45;
    }

    body.page-template-page-contact-figma .sl-footer-social {
        margin-bottom: 22px;
    }

    body.page-template-page-contact-figma .sl-footer-col-heading {
        margin-bottom: 18px;
    }

    body.page-template-page-contact-figma .sl-footer-links {
        gap: 6px;
    }

    body.page-template-page-contact-figma .sl-footer-links a {
        line-height: 1.24;
    }

    body.page-template-page-contact-figma .sl-footer-newsletter-card {
        padding-top: 20px;
        padding-bottom: 18px;
    }

    body.page-template-page-contact-figma .sl-footer-newsletter-desc {
        margin-bottom: 22px;
    }

    body.page-template-page-contact-figma .sl-footer-bar {
        padding-top: 10px;
        padding-bottom: 10px;
    }
}

/* ═══════════════════════════════════════════════════════════
   GLOBAL CONTACT MODAL — "Hit us up"
═══════════════════════════════════════════════════════════ */

.sl-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0,0,0,0.68);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    align-items: center;
    justify-content: center;
    padding: 35px 20px;
}
.sl-modal-overlay.is-open {
    display: flex;
}

.sl-modal {
    background: #fff;
    border-radius: 30px;
    width: 798px;
    max-width: calc(100vw - 40px);
    height: calc(100vh - 70px);
    max-height: 944px;
    overflow: hidden;
    padding: 56px 75px 66px;
    position: relative;
    box-shadow: none;
    animation: sl-modal-in .2s ease;
    font-family: 'Onest', 'Proxima Nova', sans-serif;
}
@keyframes sl-modal-in {
    from { opacity: 0; transform: translateY(16px) scale(.97); }
    to   { opacity: 1; transform: translateY(0)    scale(1); }
}

.sl-modal-close {
    position: absolute;
    top: 34px;
    right: 38px;
    width: 42px;
    height: 42px;
    border: none;
    background: transparent;
    border-radius: 0;
    font-size: 0;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    transition: opacity .2s;
}
.sl-modal-close::before,
.sl-modal-close::after {
    content: "";
    position: absolute;
    width: 31px;
    height: 3px;
    border-radius: 999px;
    background: currentColor;
}
.sl-modal-close::before { transform: rotate(45deg); }
.sl-modal-close::after { transform: rotate(-45deg); }
.sl-modal-close:hover { opacity: .65; }

.sl-modal-inner { height: 100%; }

.sl-modal-heading {
    font-size: 44px;
    line-height: 1.12;
    font-weight: 400;
    color: #000;
    margin: 0 0 28px;
    letter-spacing: 0;
    font-family: 'Onest', 'Proxima Nova', sans-serif;
}

.sl-modal-divider {
    height: 1px;
    background: #252525;
    margin: 0 0 65px;
}

#slContactModal .sl-modal-form {
    gap: 63px;
}

#slContactModal .sl-modal-row {
    gap: 84px;
}

#slContactModal .sl-modal-select-wrap {
    height: 44px;
    border-bottom: 1px solid #d5d5d5;
    font-size: 0;
    line-height: 0;
    cursor: pointer;
}

#slContactModal .sl-modal-select-wrap .fancy-select-wrap,
#slContactModal .sl-modal-select-wrap .select2 {
    display: none !important;
}

#slContactModal .sl-modal-select-wrap:focus-within {
    border-bottom-color: #252525;
}

#slContactModal .sl-modal-select {
    width: 100% !important;
    height: 44px !important;
    padding: 0 !important;
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block !important;
    font-size: 20px !important;
    line-height: 24px !important;
    font-weight: 400;
    color: #555 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-image: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    box-shadow: none !important;
    cursor: pointer;
    opacity: 0;
}

#slContactModal .sl-modal-select:focus + .sl-modal-select-text {
    color: #252525 !important;
}

#slContactModal .sl-modal-select-text {
    display: block;
    width: 100%;
    height: 44px;
    padding: 4px 46px 16px 0;
    color: #555;
    font-size: 20px;
    line-height: 24px;
    font-weight: 400;
}

#slContactModal .sl-modal-select-menu {
    position: absolute;
    top: 52px;
    left: 0;
    right: 0;
    z-index: 10;
    display: grid;
    gap: 0;
    max-height: 260px;
    overflow-y: auto;
    padding: 8px 0;
    background: #fff;
    border: 1px solid #d5d5d5;
    border-radius: 10px;
    box-shadow: 0 18px 40px rgba(0,0,0,.16);
}

#slContactModal .sl-modal-select-menu[hidden] {
    display: none !important;
}

#slContactModal .sl-modal-select-option {
    display: block;
    width: 100%;
    padding: 10px 16px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #252525;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.25;
    text-align: left;
    cursor: pointer;
}

#slContactModal .sl-modal-select-option:hover {
    background: #f5f5f5;
}

#slContactModal .sl-modal-select-arrow {
    right: 3px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-right: 2px solid #000;
    border-bottom: 2px solid #000;
    transform: rotate(45deg);
}

#slContactModal .sl-modal-field {
    position: relative;
    min-height: 47px;
    display: block;
}

#slContactModal .sl-modal-message-field {
    min-height: 75px;
}

#slContactModal .sl-modal-label {
    position: absolute;
    top: 1px;
    left: 0;
    z-index: 1;
    color: #575757;
    font-size: 20px;
    line-height: 1.32;
    font-weight: 400;
    pointer-events: none;
    transition: opacity .15s ease;
}

#slContactModal .sl-modal-required {
    color: #ff0000;
}

#slContactModal .sl-modal-input,
#slContactModal .sl-modal-textarea {
    width: 100% !important;
    min-height: 47px;
    padding: 0 !important;
    color: #252525 !important;
    font-size: 20px !important;
    line-height: 1.32 !important;
    font-weight: 400;
    border: 0 !important;
    border-bottom: 1px solid #d5d5d5 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

#slContactModal .sl-modal-textarea {
    min-height: 75px;
    resize: none;
}

#slContactModal .sl-modal-input:focus,
#slContactModal .sl-modal-textarea:focus {
    border-bottom-color: #252525;
    outline: none;
}

#slContactModal .sl-modal-input:not(:placeholder-shown) + .sl-modal-label,
#slContactModal .sl-modal-textarea:not(:placeholder-shown) + .sl-modal-label {
    opacity: 0;
}

#slContactModal .sl-modal-submit-wrap {
    display: flex;
    justify-content: flex-end;
}

#slContactModal .sl-modal-submit {
    width: 177px !important;
    height: 65px !important;
    margin: 0 !important;
    padding: 0 24px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #252525 !important;
    border: 0 !important;
    border-radius: 999px !important;
    color: #fff !important;
    font-size: 20px !important;
    line-height: 1 !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
    box-shadow: none !important;
}

#slContactModal .sl-modal-submit:hover {
    background: #000 !important;
    transform: none !important;
}

#slContactModal .sl-modal-inner .gform_wrapper {
    font-family: 'Onest', 'Proxima Nova', sans-serif;
}

@media (max-width: 900px) {
    .sl-modal-overlay {
        padding: 14px;
    }

    .sl-modal {
        width: 100%;
        height: auto;
        max-width: 798px;
        max-height: calc(100dvh - 28px);
        overflow-y: auto;
        border-radius: 24px;
        padding: 40px 32px 34px;
    }

    .sl-modal-close {
        top: 20px;
        right: 20px;
        width: 34px;
        height: 34px;
    }

    .sl-modal-close::before,
    .sl-modal-close::after {
        width: 25px;
        height: 2px;
    }

    .sl-modal-heading {
        font-size: 36px;
        margin-bottom: 24px;
        padding-right: 42px;
    }

    .sl-modal-divider {
        margin-bottom: 38px;
    }

    #slContactModal .sl-modal-form {
        gap: 34px;
    }

    #slContactModal .sl-modal-row {
        gap: 34px;
    }
}

@media (max-width: 560px) {
    .sl-modal {
        border-radius: 22px;
        padding: 34px 24px 28px;
    }

    .sl-modal-heading {
        font-size: 32px;
    }

    #slContactModal .sl-modal-row {
        grid-template-columns: 1fr;
    }

    #slContactModal .sl-modal-select,
    #slContactModal .sl-modal-select-text,
    #slContactModal .sl-modal-label,
    #slContactModal .sl-modal-input,
    #slContactModal .sl-modal-textarea,
    #slContactModal .sl-modal-submit {
        font-size: 18px;
    }

    #slContactModal .sl-modal-submit {
        width: 154px;
        height: 58px;
    }
}
