/* Header-only styles loaded site-wide to avoid full theme CSS bleed on Bricks pages. */

.ql-site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    background: #ffffff;
}

body.page-template-seo-page .ql-site-header,
body.page-template-seo-page-php .ql-site-header {
    border-bottom: 1px solid #e5e7eb;
}

.ql-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 96px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    gap: 8px;
}

.ql-header-inner--seo {
    max-width: none;
    padding: 0 16px;
}

.ql-header-left,
.ql-header-right {
    display: flex;
    align-items: center;
}

.ql-header-right {
    justify-content: flex-end;
    gap: 8px;
    height: 100%;
}

.ql-header-logo {
    display: block;
    width: 128px;
    height: auto;
}

.ql-nav-desktop {
    display: none;
}

.ql-header-cta-wrap {
    display: none;
}

.ql-header-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 128px;
    padding: 16px 16px;
    border: 1px solid #e11282;
    border-radius: 9999px;
    background: #e11282;
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
    font-size: 15px;
    line-height: 20px;
    font-family: Google Sans, sans-serif;
}

.ql-header-call-icon {
    display: inline-flex;
    width: 18px;
    height: 14px;
    flex: 0 0 auto;
}

.ql-header-call-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.ql-header-call:hover {
    background: #cb0f75;
}

.ql-mobile-toggle-wrap {
    position: relative;
    z-index: 80;
    transform: scale(0.75);
}

.menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.bars {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 16px;
}

.bar {
    display: block;
    width: 100%;
    height: 2px;
    background: #0d181c;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.bars.is-cross .bar--top {
    transform: translateY(7px) rotate(45deg);
}

.bars.is-cross .bar--middle {
    opacity: 0;
}

.bars.is-cross .bar--bottom {
    transform: translateY(-7px) rotate(-45deg);
}

.ql-header-spacer {
    margin-bottom: 80px;
}

/* Desktop nav */
@media (min-width: 768px) {
    .ql-header-inner {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        height: 96px;
        padding: 0 16px;
    }

    .ql-header-inner--seo {
        padding: 0 32px;
    }

    .ql-header-left {
        justify-self: start;
    }

    .ql-header-right {
        justify-self: end;
    }

    .ql-header-logo {
        width: 176px;
    }

    .ql-nav-desktop {
        display: flex;
        align-items: center;
        justify-self: center;
        height: 100%;
    }

    .ql-header-cta-wrap {
        display: flex;
    }

    .ql-mobile-toggle-wrap {
        display: none;
    }

    .ql-header-spacer {
        margin-bottom: 96px;
    }
}

.ql-nav-desktop>ul {
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    gap: 28px;
}

.ql-nav-desktop>ul>li {
    display: flex;
    align-items: center;
    height: 100%;
    color: #2a2944;
    font-family: Google Sans, sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
}

.ql-nav-desktop a {
    color: inherit;
    text-decoration: none;
    font: inherit;
}

.ql-nav-desktop .menu-item-has-children {
    position: relative;
}

.ql-nav-desktop .sub-menu {
    position: absolute;
    top: calc(100% - 4px);
    left: 0;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    list-style: none;
    margin: 0;
    padding: 12px 16px;
    width: 192px;
    background: #ffffff;
    border-top: 4px solid #e11282;
    border-radius: 0 0 2px 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    transition: opacity 0.25s ease;
    z-index: 90;
}

.ql-nav-desktop .menu-item-has-children:hover>.sub-menu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.ql-nav-desktop .sub-menu li {
    border-bottom: 1px solid rgba(212, 212, 212, 0.2);
    padding: 12px 0;
    font-family: Google Sans, sans-serif;
    font-size: 15px;
    line-height: 22px;
    font-weight: 400;
}

.ql-nav-desktop .sub-menu li:last-child {
    border-bottom: 0;
}

/* Mobile nav */
.ql-mobile-nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ql-mobile-nav-section {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 70;
    width: min(384px, 85%);
    height: 100%;
    background: #ffffff;
    transform: translateX(0);
    transition: transform 0.3s ease;
}

.ql-mobile-nav-mode.dark .ql-mobile-nav-section {
    background: #313770;
}

.ql-mobile-nav-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    padding: 24px;
    box-sizing: border-box;
    text-align: left;
}

.ql-nav-mobile {
    width: 100%;
}

.ql-nav-mobile ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ql-nav-mobile li {
    border-bottom: 1px solid #d4d4d4;
    padding: 24px 8px;
    font-family: Google Sans, sans-serif;
    font-size: 20px;
    line-height: 28px;
    font-weight: 400;
    color: #313770;
}

.ql-mobile-nav-mode.dark .ql-nav-mobile li {
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.ql-nav-mobile li a {
    color: inherit;
    text-decoration: none;
    padding-left: 12px;
}

.ql-nav-mobile .sub-menu li {
    border: 0;
    padding: 12px 16px;
    font-family: Inter, sans-serif;
    font-size: 18px;
    line-height: 28px;
    font-weight: 400;
}

.ql-nav-mobile .current-menu-parent>a,
.ql-nav-mobile .current-menu-item>a {
    position: relative;
}

.ql-nav-mobile .current-menu-parent>a::before,
.ql-nav-mobile .current-menu-item>a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 4px;
    transform: translateY(-50%);
    border-radius: 2px;
    background: #d4d4d4;
}

.ql-mobile-nav-mode.dark .ql-nav-mobile .current-menu-parent>a::before,
.ql-mobile-nav-mode.dark .ql-nav-mobile .current-menu-item>a::before {
    background: #e11282;
}

.ql-nav-mobile .sub-menu li a::before {
    content: none;
}

.ql-mobile-book-call {
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    width: 90%;
    max-width: 320px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 18px 16px;
    text-decoration: none;
    color: #ffffff;
    background: #e11282;
    font-family: Google Sans, sans-serif;
    font-size: 18px;
    line-height: 24px;
    font-weight: 400;
    border-radius:50px;
}

.ql-mobile-nav-mode.dark .ql-mobile-book-call {
    color: #2a2944;
    background: #ffffff;
}

/* Utility hooks toggled by site.js */
.opacity-0 {
    opacity: 0;
}

.invisible {
    visibility: hidden;
    pointer-events: none;
}

.translate-x-full {
    transform: translateX(100%);
}