/* ==========================================================================
   WW Business Priority — Main Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties (defaults — overridden inline by Customizer)
   -------------------------------------------------------------------------- */
:root {
    --ww-color-a: #117dc0;
    --ww-color-b: #032467;
    --ww-color-c: #fd5401;
    --ww-color-d: #6c6f71;
    --ww-body-text: #000000;
    --ww-content-bg: #efefef;
    --ww-header-bg: #ff0000;
    --ww-sticky-header-bg: #ffffff;
    --ww-footer-bg: var(--ww-color-b);
    --ww-font-menu: Optima, "Segoe UI", Arial, sans-serif;
    --ww-font-subheading: "Roboto Condensed", Arial, sans-serif;
    --ww-font-body: "Roboto", Arial, sans-serif;
    --ww-content-max-width: 1265px;
    --ww-content-min-margin: 20px;
    --ww-header-height: 195px;
    --ww-header-height-shrunk: 80px;
    --ww-shadow-dark: #cfd0d0;
    --ww-shadow-light: #efefef;
    --ww-layout-two-bar-height: 50px;
}

/* --------------------------------------------------------------------------
   2. Reset & Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--ww-font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ww-body-text);
    background-color: transparent;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--ww-color-a);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--ww-color-b);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--ww-font-menu);
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0;
}

/* Heading color hierarchy (Layout 1) — !important needed to override
   WP Bakery Custom Heading inline styles */
.ww-layout-one h1,
.ww-layout-one .entry-content h1,
.ww-layout-one .wpb_wrapper h1,
.ww-layout-one .vc_custom_heading h1 { color: var(--ww-color-a) !important; }

.ww-layout-one h2,
.ww-layout-one .entry-content h2,
.ww-layout-one .wpb_wrapper h2,
.ww-layout-one .vc_custom_heading h2 { color: var(--ww-color-b) !important; }

.ww-layout-one h3,
.ww-layout-one .entry-content h3,
.ww-layout-one .wpb_wrapper h3,
.ww-layout-one .vc_custom_heading h3 { color: var(--ww-color-c) !important; }

.ww-layout-one h4,
.ww-layout-one h5,
.ww-layout-one h6,
.ww-layout-one .entry-content h4,
.ww-layout-one .entry-content h5,
.ww-layout-one .entry-content h6,
.ww-layout-one .wpb_wrapper h4,
.ww-layout-one .wpb_wrapper h5,
.ww-layout-one .wpb_wrapper h6 { color: var(--ww-color-d) !important; }

h4, h5, h6,
.ww-subheading {
    font-family: var(--ww-font-subheading);
}

/* --------------------------------------------------------------------------
   3. Content Container
   -------------------------------------------------------------------------- */
.ww-container {
    width: 100%;
    max-width: var(--ww-content-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--ww-content-min-margin);
    padding-right: var(--ww-content-min-margin);
}

/* --------------------------------------------------------------------------
   4. Full-Width Wrapper (header, footer, menu bar — edge to edge)
   -------------------------------------------------------------------------- */
.ww-full-width {
    width: 100%;
}

/* --------------------------------------------------------------------------
   5. Site Header
   -------------------------------------------------------------------------- */
.ww-site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--ww-sticky-header-bg);
    height: var(--ww-header-height);
    transition: height 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

/* When WP admin bar is present, push header below it */
.admin-bar .ww-site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .ww-site-header {
        top: 46px; /* WP admin bar is 46px on mobile */
    }
}

/* Shrunk state */
.ww-site-header.is-shrunk {
    height: var(--ww-header-height-shrunk);
}

.ww-header-inner {
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
}

/* --- Logo --- */
.ww-logo {
    flex-shrink: 0;
    z-index: 1001;
    transition: all 0.3s ease;
}

.ww-logo img {
    height: 140px;
    width: auto;
    transition: height 0.3s ease;
    display: block;
}

.ww-site-header.is-shrunk .ww-logo img {
    height: 60px;
}

/* --- Header Right Column (Top Nav → Social → CTA, stacked) --- */
.ww-header-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    z-index: 1001;
}

/* Pad from edge when container is near its max-width */
@media (min-width: 993px) and (max-width: 1256px) {
    .ww-header-right {
        right: 8px;
    }
}

.ww-header-right-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

/* Row 1: Top Nav widget */
.ww-header-top-nav {
    font-family: var(--ww-font-subheading);
    font-size: 13px;
    padding-top: 4px;
}

/* Row 2: Social icons + action nav */
.ww-header-social {
    gap: 8px;
}

.ww-header-social a {
    color: var(--ww-body-text);
    transition: color 0.2s ease;
}

.ww-header-social a:hover {
    color: var(--ww-color-a);
}

/* Row 3: CTA widget */
.ww-header-cta {
    gap: 10px;
    padding-top: 8px;
}

/* Shrunk state — tighten spacing */
.ww-site-header.is-shrunk .ww-header-right {
    gap: 3px;
    transition: gap 0.3s ease;
}

/* --- Social Icons --- */
.ww-social-icons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ww-social-icons a.ww-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    transition: color 0.2s ease, fill 0.2s ease;
}

.ww-social-icons a.ww-social-link:hover {
    color: inherit;
}

.ww-social-icons a.ww-social-link svg {
    width: 20px;
    height: 20px;
}

.ww-social-icons a.ww-social-link svg,
.ww-social-icons a.ww-social-link svg path {
    fill: currentColor;
    transition: fill 0.2s ease;
}

.ww-social-icons a.ww-social-link:hover svg,
.ww-social-icons a.ww-social-link:hover svg path {
    fill: currentColor;
}

.ww-social-icons a.ww-social-link img {
    width: 20px;
    height: 20px;
}

/* Phone link: icon + visible number */
.ww-social-icons a.ww-social-phone {
    gap: 5px;
    font-family: var(--ww-font-subheading);
    font-size: 20px;
    font-weight: 600;
    white-space: nowrap;
}

.ww-social-icons .ww-social-phone-number {
    color: inherit;
}

.ww-social-icons a.ww-social-phone:hover .ww-social-phone-number {
    color: inherit;
}

/* --------------------------------------------------------------------------
   6. Layout One — Nav left | Logo centered | Actions right
   -------------------------------------------------------------------------- */
.ww-layout-one .ww-header-inner {
    flex-direction: row;
}

.ww-layout-one .ww-primary-nav {
    order: -1;
    margin-right: 20px;
}

.ww-layout-one .ww-logo {
    order: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* --------------------------------------------------------------------------
   7. Layout Two — Menu BELOW logo in colored bar
   -------------------------------------------------------------------------- */
.ww-layout-two .ww-header-inner {
    flex-wrap: wrap;
}

.ww-layout-two .ww-primary-nav {
    display: none; /* Hidden in header; shown in colored bar below */
}

.ww-menu-bar {
    display: none; /* Only shown in Layout Two */
    background-color: var(--ww-color-a);
    height: 50px;
    width: 100%;
    position: fixed;
    top: var(--ww-header-height);
    left: 0;
    right: 0;
    z-index: 1000;
    transition: top 0.3s ease;
}

.ww-layout-two .ww-menu-bar {
    display: block;
}

.ww-site-header.is-shrunk ~ .ww-menu-bar,
.ww-menu-bar.is-shrunk {
    top: var(--ww-header-height-shrunk);
}

.ww-menu-bar .ww-container {
    display: flex;
    align-items: center;
    height: 100%;
}

.ww-menu-bar .ww-menu-bar-nav {
    width: 100%;
}

.ww-menu-bar .ww-menu-bar-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}

.ww-menu-bar .ww-menu-bar-nav ul li a {
    display: block;
    padding: 0 20px;
    color: #ffffff;
    font-family: var(--ww-font-menu);
    font-size: 16px;
    line-height: 50px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.2s ease;
}

.ww-menu-bar .ww-menu-bar-nav ul li a:hover {
    background-color: var(--ww-color-b);
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   8. Primary Navigation (Layout One — inline in header)
   -------------------------------------------------------------------------- */
.ww-primary-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}

.ww-primary-nav ul li {
    position: relative;
}

.ww-primary-nav ul li a {
    display: block;
    padding: 8px 18px;
    font-family: var(--ww-font-menu);
    font-size: 16px;
    color: var(--ww-body-text);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.ww-primary-nav ul li a:hover {
    color: var(--ww-color-a);
}

/* Dropdown */
.ww-primary-nav ul li ul.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 220px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 1002;
    flex-direction: column;
    padding: 8px 0;
}

.ww-primary-nav ul li:hover > ul.sub-menu {
    display: flex;
}

.ww-primary-nav ul li ul.sub-menu li a {
    padding: 8px 20px;
    font-size: 14px;
}

/* --------------------------------------------------------------------------
   10. Buttons
   -------------------------------------------------------------------------- */
.ww-btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 4px;
    font-family: var(--ww-font-subheading);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    border: none;
    line-height: 1.4;
}

.ww-btn-primary {
    background-color: var(--ww-color-a);
    color: #ffffff;
}

.ww-btn-primary:hover {
    background-color: var(--ww-color-b);
    color: #ffffff;
}

.ww-btn-secondary {
    background-color: var(--ww-color-c);
    color: #ffffff;
}

.ww-btn-secondary:hover {
    background-color: var(--ww-color-d);
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   11. Hamburger Menu (Mobile)
   -------------------------------------------------------------------------- */
.ww-hamburger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1100;
    position: relative;
}

.ww-hamburger-btn span {
    display: block;
    width: 26px;
    height: 3px;
    background-color: var(--ww-body-text);
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.ww-hamburger-btn.is-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.ww-hamburger-btn.is-active span:nth-child(2) {
    opacity: 0;
}

.ww-hamburger-btn.is-active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Slide-out panel */
.ww-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    max-width: 80vw;
    height: 100vh;
    background-color: #ffffff;
    z-index: 1050;
    padding: 80px 20px 20px;
    box-shadow: -4px 0 20px rgba(0,0,0,0.15);
    transition: right 0.35s ease;
    overflow-y: auto;
}

.ww-mobile-menu.is-open {
    right: 0;
}

.ww-mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.4);
    z-index: 1040;
}

.ww-mobile-overlay.is-visible {
    display: block;
}

.ww-mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ww-mobile-menu ul li a {
    display: block;
    padding: 12px 0;
    font-family: var(--ww-font-menu);
    font-size: 18px;
    color: var(--ww-body-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #eee;
}

.ww-mobile-menu ul li a:hover {
    color: var(--ww-color-a);
}

.ww-mobile-menu ul li ul.sub-menu {
    padding-left: 16px;
}

.ww-mobile-menu ul li ul.sub-menu li a {
    font-size: 16px;
}

/* Mobile CTA below hamburger */
.ww-mobile-cta {
    display: none;
    text-align: center;
    padding: 10px 0;
}

/* --------------------------------------------------------------------------
   12. BP Bar
   -------------------------------------------------------------------------- */
.ww-bp-bar-fullwidth {
    width: 100%;
    background-color: transparent;
    padding-top: 16px;
}

.ww-bp-bar-wrapper {
    width: 100%;
    max-width: var(--ww-content-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--ww-content-min-margin);
    padding-right: var(--ww-content-min-margin);
    position: relative;
    overflow: hidden;
}

.ww-bp-bar {
    display: flex;
    gap: 10px;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
}

.ww-bp-bar-track {
    display: flex;
    gap: 10px;
    transition: transform 0.1s linear;
    will-change: transform;
}

/* Scroll zones */
.ww-bp-bar-scroll-zone {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40px;
    z-index: 10;
    cursor: pointer;
}

.ww-bp-bar-scroll-zone--left {
    left: 0;
}

.ww-bp-bar-scroll-zone--right {
    right: 0;
}

/* Button: 65% of original (349×106 → 227×69) */
.ww-bp-button {
    flex-shrink: 0;
    width: 227px;
    height: 69px;
    background-color: var(--ww-color-a);
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    padding: 0;
    cursor: pointer;
    transition: background-color 0.25s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.ww-bp-button:hover {
    background-color: var(--ww-color-b);
}

/* Circle: 65% of 78px → 51px, offset: 65% of 19px top / 11px left → 12px / 7px */
.ww-bp-button-circle {
    flex-shrink: 0;
    width: 51px;
    height: 51px;
    border-radius: 50%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 12px;
    margin-top: 7px;
}

/* Icon area: 65% of 55px → 36px */
.ww-bp-button-circle svg,
.ww-bp-button-circle img {
    width: 36px;
    height: 36px;
    fill: var(--ww-color-a);
    transition: fill 0.25s ease;
}

.ww-bp-button:hover .ww-bp-button-circle svg,
.ww-bp-button:hover .ww-bp-button-circle img {
    fill: var(--ww-color-b);
}

/* Text: offset 65% of 14px top / 20px right of circle → 9px / 13px */
.ww-bp-button-text {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-left: 13px;
    margin-top: 9px;
    overflow: hidden;
}

/* 65% of 28px → 18px */
.ww-bp-button-title-top {
    font-family: var(--ww-font-subheading);
    font-size: 18px;
    line-height: 1.1;
    color: #ffffff;
    white-space: nowrap;
}

/* 65% of 41px → 27px */
.ww-bp-button-title-bottom {
    font-family: var(--ww-font-subheading);
    font-size: 27px;
    font-weight: 400;
    line-height: 1.1;
    color: #ffffff;
    white-space: nowrap;
}

/* --------------------------------------------------------------------------
   13. Page Content Area
   -------------------------------------------------------------------------- */
.ww-page-spacer {
    height: var(--ww-header-height);
}

/* When admin bar is present, spacer needs to account for it */
.admin-bar .ww-page-spacer {
    height: calc(var(--ww-header-height) + 32px);
}

@media screen and (max-width: 782px) {
    .admin-bar .ww-page-spacer {
        height: calc(var(--ww-header-height) + 46px);
    }
}

/* Extra spacer for layout two menu bar */
.ww-layout-two .ww-page-spacer {
    height: calc(var(--ww-header-height) + 50px);
}

.admin-bar.ww-layout-two .ww-page-spacer {
    height: calc(var(--ww-header-height) + 50px + 32px);
}

@media screen and (max-width: 782px) {
    .admin-bar.ww-layout-two .ww-page-spacer {
        height: calc(var(--ww-header-height) + 50px + 46px);
    }
}

.ww-content-area {
    margin-top: 0;
    padding-top: 26px;
    background-color: var(--ww-content-bg);
    min-height: 300px;
}

.ww-content-area--has-bp-bar {
    padding-top: 0;
}

/* Home page: tighter spacing below BP bar */
.home .ww-content-area,
.front-page .ww-content-area,
body.home .ww-content-area {
    padding-top: 0;
}

.home .ww-page-content,
.front-page .ww-page-content,
body.home .ww-page-content {
    padding: 20px 0;
}

/* Page content container */
.ww-page-content {
    padding: 30px 0;
}

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
.ww-footer-map-wrapper {
    width: 100%;
    line-height: 0;
}

.ww-footer-map-wrapper .ww-google-map {
    width: 100%;
}

.ww-site-footer {
    background-color: var(--ww-footer-bg);
    color: #ffffff;
    padding: 0;
}

.ww-footer-widgets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 40px 0;
}

.ww-footer-widgets .widget {
    color: #ffffff;
}

.ww-footer-widgets .widget a {
    color: rgba(255,255,255,0.8);
    transition: color 0.2s ease;
}

.ww-footer-widgets .widget a:hover {
    color: #ffffff;
}

.ww-footer-widgets .widget-title {
    font-family: var(--ww-font-menu);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #ffffff;
}

.ww-footer-bottom {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-family: var(--ww-font-subheading);
    color: rgba(255,255,255,0.7);
}

.ww-footer-bottom a {
    color: rgba(255,255,255,0.7);
}

.ww-footer-bottom a:hover {
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   15. WP Bakery Compatibility
   -------------------------------------------------------------------------- */
.wpb_wrapper,
.vc_row,
.vc_column_container {
    font-family: var(--ww-font-body);
    color: var(--ww-body-text);
}

/* --------------------------------------------------------------------------
   16. Utility Classes
   -------------------------------------------------------------------------- */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0,0,0,0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* --------------------------------------------------------------------------
   17. Responsive
   -------------------------------------------------------------------------- */

/* Tablet: ≤ 992px — hamburger triggers */
@media (max-width: 992px) {
    .ww-primary-nav,
    .ww-menu-bar {
        display: none !important;
    }

    /* Reset layout-two spacer to not include menu bar */
    .ww-layout-two .ww-page-spacer {
        height: var(--ww-header-height);
    }

    /* Reset layout-one logo from absolute centering to normal flow */
    .ww-layout-one .ww-logo {
        position: static;
        transform: none;
    }

    .ww-hamburger-btn {
        display: block;
        margin-left: auto;
    }

    /* Hide CTA row on tablet; keep social + top nav visible */
    .ww-header-cta {
        display: none;
    }

    /* Show CTA in mobile slide-out menu instead */
    .ww-mobile-cta {
        display: block;
    }

    /* Header-right: anchor top-right, stay stacked column */
    .ww-header-right {
        top: 8px;
        transform: none;
        right: 60px; /* Make room for hamburger */
    }

    /* Footer columns: 2 on tablet */
    .ww-footer-widgets {
        grid-template-columns: repeat(2, 1fr);
    }

    .ww-footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

/* Mobile: ≤ 600px */
@media (max-width: 600px) {
    :root {
        --ww-header-height: 140px;
        --ww-header-height-shrunk: 60px;
    }

    .ww-header-inner {
        flex-wrap: wrap;
        justify-content: center;
        align-content: center;
        padding-top: 6px;
        padding-bottom: 6px;
    }

    .ww-logo {
        width: 100%;
        text-align: center;
    }

    .ww-logo img {
        height: 70px;
        margin: 0 auto;
    }

    .ww-site-header.is-shrunk .ww-logo img {
        height: 40px;
    }

    /* Header right: drop to normal flow, centered under logo */
    .ww-header-right {
        position: static;
        transform: none;
        width: 100%;
        flex-direction: column;
        align-items: center;
        margin-top: 4px;
        gap: 3px;
    }

    /* Hide CTA on mobile (CTA moves to slide-out menu) */
    .ww-header-cta {
        display: none;
    }

    /* Smaller font on mobile */
    .ww-header-top-nav {
        font-size: 12px;
    }

    /* Social row centers */
    .ww-header-social {
        justify-content: center;
    }

    /* Hide right column when header is shrunk on mobile */
    .ww-site-header.is-shrunk .ww-header-right {
        display: none;
    }

    /* Hamburger stays top-right, absolutely positioned */
    .ww-hamburger-btn {
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        margin-left: 0;
    }

    /* Scale down phone text for narrow viewports */
    .ww-social-icons a.ww-social-phone {
        font-size: 16px;
    }

    /* Footer columns: 1 on mobile */
    .ww-footer-widgets {
        grid-template-columns: 1fr;
    }

    /* BP Bar buttons: slightly smaller on mobile */
    .ww-bp-button {
        width: 200px;
        height: 62px;
    }

    .ww-bp-button-circle {
        width: 44px;
        height: 44px;
    }

    .ww-bp-button-circle svg,
    .ww-bp-button-circle img {
        width: 30px;
        height: 30px;
    }

    .ww-bp-button-title-top {
        font-size: 15px;
    }

    .ww-bp-button-title-bottom {
        font-size: 22px;
    }
}

/* Small mobile: ≤ 400px */
@media (max-width: 400px) {
    .ww-bp-button {
        width: 180px;
        height: 56px;
    }

    .ww-bp-button-circle {
        width: 40px;
        height: 40px;
        margin-left: 8px;
        margin-top: 6px;
    }

    .ww-bp-button-circle svg,
    .ww-bp-button-circle img {
        width: 26px;
        height: 26px;
    }

    .ww-bp-button-title-top {
        font-size: 13px;
    }

    .ww-bp-button-title-bottom {
        font-size: 19px;
    }
}

/* ==========================================================================
   WW Utility Classes — Cards, Buttons, Status Badges
   Work with or without the WW BP Manager plugin
   ========================================================================== */

/* --------------------------------------------------------------------------
   Card Container (.ww-bp-card)
   Apply to WPBakery rows to create card-style containers
   -------------------------------------------------------------------------- */
.ww-bp-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    margin: 20px 0;
}

.ww-bp-card > .vc_column-inner {
    padding: 0 !important;
}

.ww-bp-card h2:first-child,
.ww-bp-card h3:first-child {
    margin-top: 0;
    color: var(--ww-color-a);
}

/* Card Variants */
.ww-bp-card--compact {
    padding: 16px;
}

.ww-bp-card--flat {
    box-shadow: none;
    border: 1px solid #e2e4e7;
}

.ww-bp-card--accent {
    border-top: 4px solid var(--ww-color-c);
}

.ww-bp-card--highlight {
    border: 2px solid var(--ww-color-a);
}

/* --------------------------------------------------------------------------
   Activity Sub-cards (.ww-bp-activity)
   Hover-lift effect cards for listing items
   -------------------------------------------------------------------------- */
.ww-bp-activity {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin: 12px 0;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.ww-bp-activity:hover {
    background: #fff;
    border-color: var(--ww-color-a);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.ww-bp-activity h3,
.ww-bp-activity h4 {
    margin: 0 0 10px;
    color: var(--ww-color-b);
    transition: color 0.3s ease;
}

.ww-bp-activity:hover h3,
.ww-bp-activity:hover h4 {
    color: var(--ww-color-a);
}

.ww-bp-activity p {
    margin: 0;
    color: #666;
    font-size: 0.95em;
    line-height: 1.6;
}

a.ww-bp-activity {
    display: block;
    text-decoration: none;
    color: inherit;
}

a.ww-bp-activity:hover {
    text-decoration: none;
}

/* Activity Grid */
.ww-bp-activities {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin: 20px 0;
}

.ww-bp-activities .ww-bp-activity {
    margin: 0;
}

/* --------------------------------------------------------------------------
   Status Badges (.ww-bp-status)
   -------------------------------------------------------------------------- */
.ww-bp-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    display: inline-block;
}

.ww-bp-status--open,
.ww-bp-status--success {
    background: #d4edda;
    color: #155724;
}

.ww-bp-status--closed,
.ww-bp-status--error {
    background: #f8d7da;
    color: #721c24;
}

.ww-bp-status--warning {
    background: #fff3cd;
    color: #856404;
}

.ww-bp-status--info {
    background: #cce5ff;
    color: #004085;
}

/* --------------------------------------------------------------------------
   List Rows (.ww-bp-row) — Hours-style key/value rows
   -------------------------------------------------------------------------- */
.ww-bp-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.ww-bp-row:last-child {
    border-bottom: none;
}

.ww-bp-row--highlight {
    background: #f8f9fa;
    margin: 0 -12px;
    padding: 10px 12px;
    border-radius: 4px;
    font-weight: 600;
}

.ww-bp-row-label {
    color: #333;
}

.ww-bp-row-value {
    color: #666;
}

.ww-bp-row-value--muted {
    color: #999;
    font-style: italic;
}

/* --------------------------------------------------------------------------
   Contact Link (.ww-bp-contact)
   -------------------------------------------------------------------------- */
.ww-bp-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ww-color-a);
    text-decoration: none;
    font-weight: 600;
}

.ww-bp-contact:hover {
    color: var(--ww-color-c);
}

.ww-bp-contact svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

/* --------------------------------------------------------------------------
   CTA Buttons (.ww-bp-btn)
   Standalone button class that works anywhere
   -------------------------------------------------------------------------- */
.ww-bp-btn,
a.ww-bp-btn,
button.ww-bp-btn {
    display: inline-block;
    padding: 14px 28px;
    background: var(--ww-color-c);
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 1em;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    line-height: 1.4;
}

.ww-bp-btn:hover,
a.ww-bp-btn:hover,
button.ww-bp-btn:hover {
    background: var(--ww-color-a);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.ww-bp-btn:active,
a.ww-bp-btn:active {
    transform: translateY(0);
}

/* Secondary (Blue) */
.ww-bp-btn--secondary,
a.ww-bp-btn--secondary {
    background: var(--ww-color-a);
}

.ww-bp-btn--secondary:hover,
a.ww-bp-btn--secondary:hover {
    background: var(--ww-color-b);
}

/* Outline */
.ww-bp-btn--outline,
a.ww-bp-btn--outline {
    background: transparent;
    color: var(--ww-color-c) !important;
    border: 2px solid var(--ww-color-c);
}

.ww-bp-btn--outline:hover,
a.ww-bp-btn--outline:hover {
    background: var(--ww-color-c);
    color: #fff !important;
}

/* Sizes */
.ww-bp-btn--sm,
a.ww-bp-btn--sm {
    padding: 10px 20px;
    font-size: 0.9em;
}

.ww-bp-btn--lg,
a.ww-bp-btn--lg {
    padding: 18px 36px;
    font-size: 1.1em;
}

.ww-bp-btn--full,
a.ww-bp-btn--full {
    display: block;
    width: 100%;
}

/* --------------------------------------------------------------------------
   Utility Classes Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .ww-bp-card {
        padding: 20px;
        margin: 16px 0;
    }
    
    .ww-bp-activities {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   WPBakery Layout Fixes
   Apply these classes to rows/columns to fix common alignment issues
   -------------------------------------------------------------------------- */

/* Remove negative margins from vc_row (fixes card alignment) */
.ww-row-flush,
.ww-row-flush.vc_row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.ww-row-flush > .vc_column_container > .vc_column-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* No padding on inner column */
.ww-col-flush > .vc_column-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Remove all WPBakery spacing (for cards that handle their own) */
.ww-no-wpb-spacing.vc_row,
.ww-no-wpb-spacing .vc_column-inner {
    margin: 0 !important;
    padding: 0 !important;
}

/* Card inside WPBakery - auto-fixes common issues */
.ww-bp-card.vc_row,
.vc_row.ww-bp-card {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.ww-bp-card > .vc_column_container > .vc_column-inner,
.ww-bp-card > .wpb_column > .vc_column-inner {
    padding: 0 !important;
}

/* ==========================================================================
   Form Fields — Rounded Alpine-esque Styling
   Applies to Gravity Forms, WooCommerce, and generic forms
   ========================================================================== */

/* --- Shared input resets ------------------------------------------------- */
.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="tel"],
.gform_wrapper input[type="url"],
.gform_wrapper input[type="number"],
.gform_wrapper input[type="password"],
.gform_wrapper input[type="date"],
.gform_wrapper input[type="search"],
.gform_wrapper select,
.gform_wrapper textarea,
.woocommerce form input[type="text"],
.woocommerce form input[type="email"],
.woocommerce form input[type="tel"],
.woocommerce form input[type="url"],
.woocommerce form input[type="number"],
.woocommerce form input[type="password"],
.woocommerce form input[type="date"],
.woocommerce form input[type="search"],
.woocommerce form select,
.woocommerce form textarea,
.woocommerce-page form input[type="text"],
.woocommerce-page form input[type="email"],
.woocommerce-page form input[type="tel"],
.woocommerce-page form input[type="url"],
.woocommerce-page form input[type="number"],
.woocommerce-page form input[type="password"],
.woocommerce-page form select,
.woocommerce-page form textarea {
    border-radius: 12px;
    border: 1.5px solid #d1d5db;
    padding: 10px 16px;
    font-size: 0.95rem;
    font-family: inherit;
    background-color: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    box-sizing: border-box;
    width: 100%;
}

.gform_wrapper input[type="text"]:focus,
.gform_wrapper input[type="email"]:focus,
.gform_wrapper input[type="tel"]:focus,
.gform_wrapper input[type="url"]:focus,
.gform_wrapper input[type="number"]:focus,
.gform_wrapper input[type="password"]:focus,
.gform_wrapper input[type="date"]:focus,
.gform_wrapper input[type="search"]:focus,
.gform_wrapper select:focus,
.gform_wrapper textarea:focus,
.woocommerce form input:focus,
.woocommerce form select:focus,
.woocommerce form textarea:focus,
.woocommerce-page form input:focus,
.woocommerce-page form select:focus,
.woocommerce-page form textarea:focus {
    border-color: var(--ww-color-a, #014c8f);
    box-shadow: 0 0 0 3px rgba(1, 76, 143, 0.12);
}

/* Textareas */
.gform_wrapper textarea,
.woocommerce form textarea,
.woocommerce-page form textarea {
    border-radius: 16px;
    min-height: 120px;
    resize: vertical;
}

/* Select dropdowns — ensure consistent appearance */
.gform_wrapper select,
.woocommerce form select,
.woocommerce-page form select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
    cursor: pointer;
}

/* --- Gravity Forms: Labels ----------------------------------------------- */
.gform_wrapper .gfield_label {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--ww-color-b, #032467);
    margin-bottom: 6px;
}

.gform_wrapper .gfield_description {
    font-size: 0.85rem;
    color: #6b7280;
    margin-top: 4px;
}

/* --- Gravity Forms: Checkbox & Radio ------------------------------------- */
.gform_wrapper .gfield_checkbox .gchoice,
.gform_wrapper .gfield_radio .gchoice {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 8px;
}

.gform_wrapper .gfield_checkbox .gchoice input[type="checkbox"],
.gform_wrapper .gfield_radio .gchoice input[type="radio"] {
    flex-shrink: 0;
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: var(--ww-color-c, #fd5401);
}

.gform_wrapper .gfield_checkbox .gchoice label,
.gform_wrapper .gfield_radio .gchoice label {
    flex: 1;
    min-width: 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* "Other" choice — remove extra spacing, left-align */
.gform_wrapper .gfield_radio .gchoice br,
.gform_wrapper .gfield_checkbox .gchoice br {
    display: none;
}

.gform_wrapper .gfield_radio .gchoice .gchoice_other_control,
.gform_wrapper .gfield_checkbox .gchoice .gchoice_other_control {
    width: 100%;
    margin-top: 0 !important;
}

/* --- Gravity Forms: Submit button → matches .ww-bp-btn ------------------ */
.gform_wrapper .gform_footer input[type="submit"],
.gform_wrapper .gform_footer button,
.gform_wrapper .gform_page_footer input[type="submit"],
.gform_wrapper .gform_page_footer button {
    display: inline-block;
    padding: 14px 36px;
    background: var(--ww-color-c, #fd5401);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-family: var(--ww-font-menu, inherit);
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(253, 84, 1, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.2s ease;
    text-align: center;
    line-height: 1.4;
    white-space: nowrap;
}

.gform_wrapper .gform_footer input[type="submit"]:hover,
.gform_wrapper .gform_footer button:hover,
.gform_wrapper .gform_page_footer input[type="submit"]:hover,
.gform_wrapper .gform_page_footer button:hover {
    background-color: var(--ww-color-a, #117dc0);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(253, 84, 1, 0.4);
}

.gform_wrapper .gform_footer input[type="submit"]:active,
.gform_wrapper .gform_footer button:active,
.gform_wrapper .gform_page_footer input[type="submit"]:active,
.gform_wrapper .gform_page_footer button:active {
    transform: translateY(0);
}

/* --- Gravity Forms: Validation ------------------------------------------- */
.gform_wrapper .gfield_error input,
.gform_wrapper .gfield_error select,
.gform_wrapper .gfield_error textarea {
    border-color: #dc2626;
}

.gform_wrapper .gfield_error input:focus,
.gform_wrapper .gfield_error select:focus,
.gform_wrapper .gfield_error textarea:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.gform_wrapper .validation_message {
    color: #dc2626;
    font-size: 0.85rem;
    margin-top: 4px;
}

/* --- Gravity Forms: Confirmation message --------------------------------- */
.gform_confirmation_message {
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 6px;
    padding: 16px 20px;
    color: #166534;
}

/* --- WooCommerce: Button styling ----------------------------------------- */
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button,
.woocommerce .button,
.woocommerce-page button.button,
.woocommerce-page input.button,
.woocommerce-page a.button {
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* --- WooCommerce: Quantity input ----------------------------------------- */
.woocommerce .quantity .qty {
    border-radius: 10px;
    border: 1.5px solid #d1d5db;
    padding: 6px 10px;
}

/* --- WooCommerce: Coupon input ------------------------------------------ */
.woocommerce .coupon .input-text {
    border-radius: 12px !important;
}
