/* ===========================================================
   PDAV — Where We Serve mega menu + landing page styles
   =========================================================== */

/* ---- Mega menu container ---- */
.primary-menu .wws-menu-item { position: static; }

.primary-menu .wws-menu-item > .sub-menu.wws-mega {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    width: 100%;
    max-width: 100vw;
    background: #fff;
    border-top: 3px solid #c9a24a;
    box-shadow: 0 18px 40px rgba(0,0,0,.14);
    padding: 0;
    z-index: 1000;
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .15s ease, visibility .15s ease;
}

.primary-menu .wws-menu-item.is-open > .sub-menu.wws-mega,
.primary-menu .wws-menu-item:focus-within > .sub-menu.wws-mega {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.wws-mega-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 24px 32px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px 28px;
}

.wws-mega-col h4.wws-mega-heading {
    font-family: 'Oswald', Impact, sans-serif;
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #0b1d3a;
    margin: 0 0 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid #eadfc4;
}
.wws-mega-col h4.wws-mega-heading a { color: inherit; text-decoration: none; }
.wws-mega-col h4.wws-mega-heading a:hover { color: #c9a24a; }

.wws-mega-list { list-style: none; margin: 0; padding: 0; }
.wws-mega-list li { margin: 0; }
.wws-mega-list a {
    display: block;
    padding: 5px 0;
    font-size: 13.5px;
    line-height: 1.35;
    color: #2b3142;
    text-decoration: none;
    border-radius: 4px;
}
.wws-mega-list a:hover,
.wws-mega-list a:focus { color: #c9a24a; }

/* Desktop: small ▾ toggle next to "Where We Serve" so users can open the mega
   panel on click. Hover-open was removed because the full-width mega panel
   would otherwise overlay (and block clicks on) the hero "Get a Free Quote"
   CTA below the sticky header. */
.primary-menu .wws-menu-item > .dropdown-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 6px 8px;
    margin-left: 2px;
    font-size: .9rem;
    line-height: 1;
    color: inherit;
    border-radius: 4px;
    transition: transform .2s ease;
}
.primary-menu .wws-menu-item.is-open > .dropdown-toggle {
    transform: rotate(180deg);
}

/* ---- Mobile: turn the mega menu into a tappable accordion ---- */
@media (max-width: 900px) {
    /* "Where We Serve" parent link + toggle */
    .primary-menu .wws-menu-item { position: relative; }
    .primary-menu .wws-menu-item > a {
        display: inline-block;
        padding: 12px 0;
    }
    .primary-menu .wws-menu-item > .dropdown-toggle {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        margin-left: 6px;
        background: transparent;
        border: 1px solid rgba(255,255,255,.25);
        border-radius: 6px;
        color: inherit;
        font-size: 18px;
        line-height: 1;
        cursor: pointer;
        transition: transform .2s ease;
    }
    .primary-menu .wws-menu-item > .dropdown-toggle[aria-expanded="true"] {
        transform: rotate(180deg);
    }

    /* Hide mega panel by default; show only when .is-open is set */
    .primary-menu .wws-menu-item > .sub-menu.wws-mega,
    .primary-menu .wws-menu-item:hover  > .sub-menu.wws-mega,
    .primary-menu .wws-menu-item:focus-within > .sub-menu.wws-mega {
        display: none;
        position: static;
        width: 100%;
        max-width: 100%;
        box-shadow: none;
        border-top: 1px solid #c9a24a;
        background: #fff;
    }
    .primary-menu .wws-menu-item.is-open > .sub-menu.wws-mega {
        display: block;
    }

    .wws-mega-inner {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 8px 12px 16px;
        max-width: 100%;
    }

    /* Each service group becomes an accordion row */
    .wws-mega-col {
        border-bottom: 1px solid #eadfc4;
        padding: 0;
    }
    .wws-mega-col:last-child { border-bottom: 0; }

    .wws-mega-col h4.wws-mega-heading {
        position: relative;
        margin: 0;
        padding: 14px 44px 14px 4px;
        border-bottom: 0;
        font-size: 14px;
        cursor: pointer;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    .wws-mega-col h4.wws-mega-heading a {
        flex: 1;
        pointer-events: none; /* tap toggles instead of navigating on mobile */
    }
    .wws-mega-col h4.wws-mega-heading:after {
        content: "+";
        position: absolute;
        right: 8px;
        top: 50%;
        transform: translateY(-50%);
        width: 28px;
        height: 28px;
        line-height: 28px;
        text-align: center;
        font-size: 22px;
        font-weight: 600;
        color: #c9a24a;
        transition: transform .2s ease;
    }
    .wws-mega-col.is-open h4.wws-mega-heading:after {
        content: "−";
    }

    /* City list collapsed by default on mobile, revealed when col is open */
    .wws-mega-col .wws-mega-list { display: none; padding: 4px 4px 12px; }
    .wws-mega-col.is-open .wws-mega-list { display: block; }
    .wws-mega-list a {
        padding: 12px 8px;          /* larger touch targets */
        font-size: 15px;
        min-height: 44px;
        border-bottom: 1px solid #f5efdc;
    }
    .wws-mega-list li:last-child a { border-bottom: 0; }
}

/* =========================================================
   Landing page styles
   ========================================================= */
.wws-page { background: #fff; }

.wws-hero {
    background: linear-gradient(135deg, #0b1d3a 0%, #14315e 100%);
    color: #fff;
    padding: 56px 0 48px;
}
.wws-hero .container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.wws-breadcrumbs { font-size: 13px; opacity: .85; margin-bottom: 14px; }
.wws-breadcrumbs a { color: #f5e2a3; text-decoration: none; }
.wws-breadcrumbs a:hover { text-decoration: underline; }
.wws-eyebrow {
    display: inline-block;
    font-family: 'Oswald', Impact, sans-serif;
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #f5e2a3;
    background: rgba(255,255,255,.06);
    padding: 6px 12px;
    border-radius: 999px;
    margin: 0 0 14px;
}
.wws-h1 {
    font-family: 'Oswald', Impact, sans-serif;
    font-size: clamp(28px, 4.5vw, 44px);
    line-height: 1.12;
    margin: 0 0 14px;
    color: #fff;
}
.wws-lede { font-size: 17px; line-height: 1.55; max-width: 760px; color: #e7ecf5; }
.wws-hero-cta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; }
.wws-hero-cta .btn-ghost {
    background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4);
    padding: 12px 18px; border-radius: 6px; text-decoration: none; font-weight: 600;
}
.wws-hero-cta .btn-ghost:hover { background: rgba(255,255,255,.08); }

.wws-section { padding: 56px 0; }
.wws-section .container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.wws-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 40px;
}
@media (max-width: 900px) { .wws-grid { grid-template-columns: 1fr; gap: 28px; } }

.wws-main h2 {
    font-family: 'Oswald', Impact, sans-serif;
    font-size: 24px;
    color: #0b1d3a;
    margin: 28px 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f0e6c8;
}
.wws-main h2:first-child { margin-top: 0; }
.wws-main p { line-height: 1.65; color: #303644; margin: 0 0 14px; }
.wws-feature-list { list-style: none; padding: 0; margin: 0 0 18px; }
.wws-feature-list li {
    padding: 10px 0 10px 28px;
    border-bottom: 1px solid #f1ecdb;
    position: relative;
    color: #2b3142;
}
.wws-feature-list li:before {
    content: "✓";
    position: absolute; left: 0; top: 8px;
    color: #c9a24a; font-weight: 700;
}
.wws-steps { padding-left: 22px; line-height: 1.65; color: #303644; }
.wws-steps li { margin-bottom: 6px; }

.wws-cta-band {
    margin-top: 32px;
    background: #f7f4ea;
    border: 1px solid #ece2c2;
    border-radius: 10px;
    padding: 22px 24px;
}
.wws-cta-band h3 { margin: 0 0 6px; color: #0b1d3a; font-family: 'Oswald', Impact, sans-serif; }
.wws-cta-band p { margin: 6px 0; }

.wws-aside { display: flex; flex-direction: column; gap: 18px; }
.wws-card {
    background: #f9f7f1;
    border: 1px solid #ece2c2;
    border-radius: 10px;
    padding: 18px 18px 14px;
}
.wws-card h3 {
    margin: 0 0 10px;
    font-family: 'Oswald', Impact, sans-serif;
    font-size: 16px;
    color: #0b1d3a;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.wws-card ul { list-style: none; padding: 0; margin: 0; }
.wws-card li { padding: 6px 0; border-bottom: 1px solid #ece2c2; }
.wws-card li:last-child { border-bottom: 0; }
.wws-card a { color: #14315e; text-decoration: none; font-size: 14.5px; line-height: 1.35; }
.wws-card a:hover { color: #c9a24a; }
