/* WT Menu - Joyride header & navigation
 * Translated from the "Header & Navigation" design system mockup.
 */

.wt-header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.wt-header *,
.wt-header *::before,
.wt-header *::after {
    box-sizing: border-box;
}

.wt-header__inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 32px;
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

/* ---------- Brand ---------- */
.wt-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex: none;
}

.wt-brand__mark {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #1a2b4a;
}

.wt-brand__name {
    font-weight: 800;
    font-size: 21px;
    letter-spacing: -.03em;
    color: #1a2b4a;
}

.wt-brand__logo {
    max-height: 60px;
    width: auto;
    display: block;
}

/* ---------- Collapsible area (nav + actions) ---------- */
.wt-collapse {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 30px;
}

/* ---------- Nav ---------- */
.wt-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 30px;
}

.wt-nav__list li {
    margin: 0;
    padding: 0;
}

.wt-nav__list a {
    text-decoration: none;
    color: #5b6675;
    font-size: 14.5px;
    font-weight: 600;
    transition: color .15s ease;
    white-space: nowrap;
}

.wt-nav__list a:hover {
    color: #1a2b4a;
}

.wt-nav__list .current-menu-item > a,
.wt-nav__list .current_page_item > a {
    color: #1a2b4a;
    font-weight: 700;
}

/* ---------- Actions (phone + CTA) ---------- */
.wt-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: none;
}

.wt-phone {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    color: #1a2b4a;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    transition: color .15s ease;
}

.wt-phone:hover {
    color: #2980b9;
}

.wt-cta {
    text-decoration: none;
    background: linear-gradient(135deg, #40BEDC, #2980b9);
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .02em;
    cursor: pointer;
    transition: all .25s ease;
    white-space: nowrap;
}

.wt-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(41, 128, 185, .3);
}

.wt-cta:active {
    transform: translateY(0);
}

/* ---------- Hamburger (hidden on desktop) ---------- */
.wt-burger {
    display: none;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 11px;
    border: 1px solid rgba(26, 43, 74, .12);
    background: #fff;
    cursor: pointer;
    padding: 0;
    flex: none;
}

/* Keep the icon lines visible regardless of theme/Elementor global svg rules.
 * Do not set `display` here — the open/close toggle rules below own that. */
.wt-burger svg {
    width: 20px;
    height: 20px;
    fill: none;
}

.wt-burger svg path {
    stroke: #1a2b4a;
}

.wt-burger__close {
    display: none;
}

.wt-burger[aria-expanded="true"] {
    background: #f5f7fa;
}

.wt-burger[aria-expanded="true"] .wt-burger__open {
    display: none;
}

.wt-burger[aria-expanded="true"] .wt-burger__close {
    display: block;
}

/* ===================== MOBILE ===================== */
@media (max-width: 992px) {
    .wt-header__inner {
        min-height: 62px;
        padding: 0 18px;
        gap: 12px;
        flex-wrap: wrap;
    }

    .wt-brand__logo {
        max-height: 48px;
    }

    .wt-burger {
        display: grid;
    }

    .wt-collapse {
        flex-basis: 100%;
        order: 3;
        display: none;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 8px 0 18px;
        border-top: 1px solid rgba(26, 43, 74, .08);
    }

    .wt-collapse.is-open {
        display: flex;
    }

    .wt-nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .wt-nav__list a {
        font-size: 16px;
        padding: 13px 4px;
        border-bottom: 1px solid rgba(26, 43, 74, .06);
        display: block;
        color: #1a2b4a;
    }

    .wt-nav__list li:last-child a {
        border-bottom: none;
    }

    .wt-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-top: 14px;
    }

    .wt-phone {
        justify-content: center;
        font-size: 15px;
        padding: 8px 4px;
    }

    .wt-cta {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* ===================== FOOTER ===================== */
.wt-footer {
    background: #1a2b4a;
    color: #fff;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.wt-footer *,
.wt-footer *::before,
.wt-footer *::after {
    box-sizing: border-box;
}

.wt-footer__inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 56px 32px 44px;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 40px;
}

/* ---------- Brand ---------- */
.wt-footer__brand-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.wt-footer__logo {
    max-height: 84px;
    width: auto;
    display: block;
}

.wt-footer__brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.wt-footer__brand-name {
    font-weight: 800;
    font-size: 24px;
    letter-spacing: -.03em;
    color: #fff;
}

/* ---------- Columns ---------- */
.wt-footer__title {
    margin: 0 0 18px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.wt-footer__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wt-footer__list li {
    margin: 0;
    padding: 0;
}

.wt-footer__list a {
    text-decoration: none;
    color: rgba(255, 255, 255, .72);
    font-size: 15px;
    font-weight: 500;
    transition: color .15s ease;
}

.wt-footer__list a:hover {
    color: #40BEDC;
}

/* ---------- Social ---------- */
.wt-footer__icons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.wt-social {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    transition: background .2s ease, transform .2s ease;
}

.wt-social:hover {
    background: #40BEDC;
    transform: translateY(-2px);
}

.wt-social svg {
    width: 18px;
    height: 18px;
    display: block;
}

/* ---------- Bottom bar ---------- */
.wt-footer__bar {
    background: #141f38;
}

.wt-footer__bar-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 16px 32px;
    font-size: 13.5px;
    color: rgba(255, 255, 255, .6);
}

@media (max-width: 992px) {
    .wt-footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
        padding: 40px 20px 32px;
    }

    .wt-footer__bar-inner {
        padding: 14px 20px;
    }
}

@media (max-width: 560px) {
    .wt-footer__inner {
        grid-template-columns: 1fr;
    }
}
