:root {
    --ec-header-ink: #123b4a;
    --ec-header-teal: #5ce1e6;
    --ec-header-orange: #ff8a3d;
    --ec-header-orange-hover: #ed7024;
    --ec-footer-aqua: #dff8f8;
    --ec-header-shadow: 0 8px 26px rgba(18, 59, 74, .16);
}

/* Hide the former theme or Elementor header after the coded header is active. */
.ectc-has-global-header #masthead,
.ectc-has-global-header .elementor-location-header,
.ectc-has-global-header header.site-header,
.ectc-has-global-header .main-header-bar-wrap {
    display: none !important;
}

/* Hide legacy theme-builder footers once the coded footer is active. */
.ectc-has-global-footer #colophon,
.ectc-has-global-footer .elementor-location-footer,
.ectc-has-global-footer footer.site-footer,
.ectc-has-global-footer .site-footer:not(.ec-site-footer) {
    display: none !important;
}

.ec-site-header {
    background: var(--ec-header-ink);
    box-shadow: var(--ec-header-shadow);
    color: #fff;
    margin: 0 !important;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 9999;
}

.admin-bar .ec-site-header {
    top: 32px;
}

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

.ec-site-header__inner {
    align-items: center;
    display: grid;
    gap: 30px;
    grid-template-columns: auto 1fr auto;
    min-height: 76px;
    padding: 8px clamp(22px, 4vw, 68px);
    width: 100%;
}

.ec-site-brand,
.ec-site-brand__link {
    align-items: center;
    display: inline-flex;
    line-height: 0;
}

.ec-site-brand__link {
    text-decoration: none;
}

.ec-site-brand__logo {
    display: block;
    height: auto;
    max-height: 54px;
    max-width: 260px;
    width: auto;
}

.ec-site-nav {
    align-items: center;
    display: flex;
    gap: clamp(18px, 2.2vw, 34px);
    justify-content: center;
}

.ec-site-nav a,
.ec-header-phone {
    color: #fff;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .065em;
    text-decoration: none;
    text-transform: uppercase;
}

.ec-site-nav a:hover,
.ec-site-nav a:focus,
.ec-header-phone:hover,
.ec-header-phone:focus {
    color: var(--ec-header-teal);
}

.ec-site-header__actions {
    align-items: center;
    display: flex;
    gap: 18px;
}

.ec-header-phone {
    white-space: nowrap;
}

.ec-header-cta {
    background: var(--ec-header-orange);
    border-radius: 999px;
    color: var(--ec-header-ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: .84rem;
    font-weight: 900;
    padding: 12px 19px;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.ec-header-cta:hover,
.ec-header-cta:focus {
    background: var(--ec-header-orange-hover);
    color: #fff;
}

.ec-mobile-menu {
    display: none;
    position: relative;
}

.ec-site-footer {
    background: var(--ec-header-ink);
    border-top: 6px solid var(--ec-header-teal);
    color: #fff;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    padding: 58px clamp(22px, 4vw, 68px) 22px;
    width: 100%;
}

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

.ec-site-footer__grid {
    display: grid;
    gap: clamp(34px, 4vw, 64px);
    grid-template-columns: 1.35fr .72fr .72fr .65fr;
    margin: 0 auto;
    max-width: 1280px;
}

.ec-site-footer h2,
.ec-site-footer h3 {
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
}

.ec-site-footer h2 {
    font-size: clamp(1.7rem, 2.8vw, 2.5rem);
    line-height: 1.08;
    margin: 6px 0 14px;
}

.ec-site-footer h3 {
    font-size: 1rem;
    margin: 0 0 16px;
}

.ec-site-footer p {
    color: var(--ec-footer-aqua);
    line-height: 1.6;
    margin: 0;
    max-width: 520px;
}

.ec-site-footer__eyebrow {
    color: var(--ec-header-teal) !important;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.ec-site-footer nav {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.ec-site-footer a {
    color: var(--ec-footer-aqua);
    text-decoration: none;
}

.ec-site-footer a:hover,
.ec-site-footer a:focus {
    color: var(--ec-header-orange);
}

.ec-site-footer__brand > a {
    display: block;
    margin-top: 10px;
    overflow-wrap: anywhere;
    width: max-content;
}

.ec-site-footer__phone {
    color: #fff !important;
    font-size: 1.15rem;
    font-weight: 900;
}

.ec-site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, .18);
    display: flex;
    font-size: .75rem;
    gap: 24px;
    justify-content: space-between;
    margin: 42px auto 0;
    max-width: 1280px;
    padding-top: 20px;
}

.ec-site-footer__bottom span {
    color: var(--ec-footer-aqua);
}

@media (max-width: 1040px) {
    .ec-site-header__inner {
        gap: 18px;
        grid-template-columns: 1fr auto;
        min-height: 70px;
    }

    .ec-site-nav,
    .ec-site-header__actions {
        display: none;
    }

    .ec-site-brand__logo {
        max-height: 50px;
        max-width: 225px;
    }

    .ec-mobile-menu {
        display: block;
    }

    .ec-mobile-menu summary {
        background: var(--ec-header-orange);
        border-radius: 999px;
        color: var(--ec-header-ink);
        cursor: pointer;
        font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
        font-size: .82rem;
        font-weight: 900;
        list-style: none;
        padding: 10px 16px;
        text-transform: uppercase;
    }

    .ec-mobile-menu summary::-webkit-details-marker {
        display: none;
    }

    .ec-mobile-menu nav {
        background: var(--ec-header-ink);
        border: 1px solid rgba(92, 225, 230, .5);
        border-radius: 16px;
        box-shadow: var(--ec-header-shadow);
        display: flex;
        flex-direction: column;
        min-width: 270px;
        padding: 12px;
        position: absolute;
        right: 0;
        top: calc(100% + 12px);
    }

    .ec-mobile-menu nav a {
        border-bottom: 1px solid rgba(255, 255, 255, .14);
        color: #fff;
        font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
        font-size: .82rem;
        font-weight: 800;
        letter-spacing: .055em;
        padding: 11px 12px;
        text-decoration: none;
        text-transform: uppercase;
    }

    .ec-mobile-menu nav a:last-child {
        border-bottom: 0;
    }

    .ec-mobile-menu nav a:hover,
    .ec-mobile-menu nav a:focus {
        color: var(--ec-header-teal);
    }

    .ec-mobile-menu nav .ec-mobile-menu__cta {
        background: var(--ec-header-orange);
        border-radius: 10px;
        color: var(--ec-header-ink);
        margin-top: 8px;
        text-align: center;
    }

    .ec-site-footer__grid {
        gap: 42px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ec-site-footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 782px) {
    .admin-bar .ec-site-header {
        top: 46px;
    }
}

@media (max-width: 600px) {
    /* Some themes hide the WordPress toolbar but leave the admin-bar body class. */
    .admin-bar .ec-site-header {
        top: 0;
    }

    .ec-site-header__inner {
        padding-inline: 16px;
    }

    .ec-site-brand__logo {
        max-height: 44px;
        max-width: 190px;
    }

    .ec-mobile-menu nav {
        min-width: min(270px, calc(100vw - 32px));
    }

    .ec-site-footer {
        padding-top: 46px;
    }

    .ec-site-footer__grid {
        grid-template-columns: 1fr;
    }

    .ec-site-footer__brand {
        grid-column: auto;
    }

    .ec-site-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }
}

@media print {
    .ec-site-header,
    .ec-site-footer {
        display: none !important;
    }
}
