/* Contact Us Service Areas Map — Best Premium Elementor Widget */

.cusam-best-section{
    width:100%;
    padding:clamp(34px,4vw,64px) clamp(14px,3vw,48px);
    font-family:inherit;
}

.cusam-best-card{
    display:grid;
    grid-template-columns:1.08fr .92fr;
    max-width:1740px;
    margin:0 auto;
    overflow:hidden;
    background:#fff;
    border:1px solid rgba(173,214,216,.72);
    border-radius:clamp(26px,2vw,42px);
    box-shadow:
        0 30px 86px rgba(13,39,63,.08),
        inset 0 1px 0 rgba(255,255,255,.95);
}

.cusam-best-map-side{
    position:relative;
    min-height:560px;
    padding:clamp(34px,3.2vw,52px);
    background:#f5fbf7;
    overflow:hidden;
}

.cusam-best-map-side::before{
    content:"";
    position:absolute;
    inset:0;
    background:
        radial-gradient(circle at 30% 30%, rgba(0,151,140,.11), transparent 32%),
        radial-gradient(circle at 80% 92%, rgba(216,189,66,.18), transparent 38%);
    pointer-events:none;
}

.cusam-best-map-frame{
    position:relative;
    z-index:1;
    width:100%;
    min-height:540px;
    height:100%;
    overflow:hidden;
    border:3px dashed #a8e1de;
    border-radius:36px;
    background:#eef8f4;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.9),
        0 20px 48px rgba(13,39,63,.075);
}

.cusam-best-map-frame iframe{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    border:0;
    filter:saturate(.86) contrast(.97) brightness(1.03);
}

.cusam-best-map-frame::after{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(245,251,247,.38);
    pointer-events:none;
}

.cusam-best-map-card{
    position:absolute;
    left:22px;
    bottom:22px;
    z-index:2;
    display:grid;
    grid-template-columns:auto 1fr;
    gap:12px;
    align-items:center;
    max-width:360px;
    padding:15px 16px;
    border:1px solid rgba(173,214,216,.72);
    border-radius:20px;
    background:rgba(255,255,255,.88);
    backdrop-filter:blur(16px);
    box-shadow:0 18px 46px rgba(13,39,63,.12);
}

.cusam-best-map-pin{
    color:#07988f;
    font-size:18px;
}

.cusam-best-map-card-title{
    display:block;
    color:#132943;
    font-size:15px;
    font-weight:900;
    line-height:1.1;
}

.cusam-best-map-card-text{
    display:block;
    margin-top:3px;
    color:#6f7e92;
    font-size:12.5px;
    font-weight:650;
    line-height:1.25;
}

.cusam-best-map-button{
    position:relative;
    z-index:2;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:48px;
    margin-top:18px;
    padding:0 18px;
    border-radius:999px;
    background:#07988f;
    color:#fff !important;
    text-decoration:none !important;
    font-size:14px;
    font-weight:900;
    box-shadow:0 16px 36px rgba(0,151,140,.18);
    transition:transform .22s ease, box-shadow .22s ease;
}

.cusam-best-map-button:hover{
    transform:translateY(-2px);
    box-shadow:0 22px 46px rgba(0,151,140,.25);
}

.cusam-best-map-toggle{
    display:none;
}

.cusam-best-content{
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:clamp(38px,3.6vw,66px);
}

.cusam-best-label{
    display:inline-flex;
    align-items:center;
    gap:12px;
    width:fit-content;
    color:#07988f;
    font-size:clamp(12px,1vw,17px);
    font-weight:950;
    letter-spacing:.22em;
    line-height:1;
    text-transform:uppercase;
    margin-bottom:24px;
}

.cusam-best-label-icon{
    font-size:1.2em;
    letter-spacing:0;
}

.cusam-best-heading{
    margin:0;
    color:#132943;
    font-family:Georgia,"Times New Roman",serif;
    font-size:clamp(42px,4.55vw,78px);
    font-weight:850;
    line-height:.96;
    letter-spacing:-.055em;
}

.cusam-best-description{
    margin:24px 0 24px;
    color:#6f7e92;
    font-size:clamp(16px,1.22vw,23px);
    font-weight:650;
    line-height:1.5;
    max-width:760px;
}

.cusam-best-check{
    padding:16px;
    margin-bottom:18px;
    border:1px solid rgba(219,232,236,.92);
    border-radius:22px;
    background:#fbfdfe;
}

.cusam-best-check-title{
    color:#132943;
    font-size:15px;
    font-weight:900;
    line-height:1.1;
    margin-bottom:10px;
}

.cusam-best-check-row{
    display:grid;
    grid-template-columns:1fr auto;
    gap:10px;
}

.cusam-best-check-input{
    width:100%;
    min-height:46px;
    padding:0 14px;
    border:1px solid #dbe8ec;
    border-radius:15px;
    background:#fff;
    color:#132943;
    font-size:14px;
    font-weight:650;
    outline:none;
}

.cusam-best-check-button{
    min-height:46px;
    padding:0 16px;
    border:0;
    border-radius:15px;
    background:#07988f;
    color:#fff;
    font-size:14px;
    font-weight:900;
    cursor:pointer;
}

.cusam-best-filters{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:16px;
}

.cusam-best-filters button{
    min-height:38px;
    padding:0 14px;
    border:1px solid #dbe8ec;
    border-radius:999px;
    background:#fff;
    color:#536173;
    font-size:13px;
    font-weight:900;
    cursor:pointer;
    transition:background .2s ease, color .2s ease, border-color .2s ease;
}

.cusam-best-filters button.is-active{
    background:#e9fbf8;
    color:#087f78;
    border-color:rgba(0,151,140,.28);
}

.cusam-best-cities{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
}

.cusam-best-city{
    display:flex;
    flex-direction:column;
    gap:7px;
    min-height:76px;
    padding:13px 14px;
    border:1px solid #dbe8ec;
    border-radius:18px;
    background:#fbfdfe;
    color:#132943;
    text-decoration:none !important;
    box-shadow:0 10px 26px rgba(13,39,63,.035);
    transition:transform .22s ease, background .22s ease, border-color .22s ease, box-shadow .22s ease, opacity .2s ease;
}

a.cusam-best-city:hover{
    transform:translateY(-2px);
    background:#fff;
    border-color:rgba(0,151,140,.32);
    box-shadow:0 16px 34px rgba(13,39,63,.07);
}

.cusam-best-city.is-hidden{
    display:none;
}

.cusam-best-city-name{
    color:#132943;
    font-size:clamp(15px,1vw,18px);
    font-weight:900;
    line-height:1.05;
    letter-spacing:-.03em;
}

.cusam-best-city-meta{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    align-items:center;
}

.cusam-best-status,
.cusam-best-service{
    display:inline-flex;
    align-items:center;
    min-height:23px;
    padding:0 8px;
    border-radius:999px;
    font-size:11px;
    font-weight:900;
    line-height:1;
    background:#fff;
    border:1px solid rgba(219,232,236,.9);
}

.cusam-status-available .cusam-best-status{
    color:#087f78;
    background:#e9fbf8;
}

.cusam-status-limited .cusam-best-status{
    color:#9a6b00;
    background:#fff8e5;
}

.cusam-status-quote .cusam-best-status{
    color:#7a4fb3;
    background:#f4efff;
}

.cusam-status-soon .cusam-best-status{
    color:#6f7e92;
    background:#f2f5f7;
}

.cusam-best-service{
    color:#536173;
    background:#fff;
}

.cusam-best-trust-note{
    margin:16px 0 0;
    color:#6f7e92;
    font-size:13.5px;
    font-weight:700;
    line-height:1.4;
}

/* Tablet */
@media (max-width:1100px){
    .cusam-best-card{
        grid-template-columns:1fr;
    }

    .cusam-best-map-side{
        min-height:400px;
    }

    .cusam-best-map-frame{
        min-height:360px;
    }

    .cusam-best-content{
        padding:34px;
    }
}

/* Mobile */
@media (max-width:767px){
    .cusam-best-section{
        padding:22px 10px;
    }

    .cusam-best-card{
        border-radius:24px;
        grid-template-columns:1fr;
        box-shadow:
            0 18px 46px rgba(13,39,63,.08),
            inset 0 1px 0 rgba(255,255,255,.95);
    }

    .cusam-best-content{
        order:1;
        padding:24px 16px 16px;
    }

    .cusam-best-map-side{
        order:2;
        min-height:auto;
        padding:12px;
    }

    .cusam-best-label{
        gap:8px;
        font-size:10.5px;
        letter-spacing:.18em;
        margin-bottom:13px;
    }

    .cusam-best-heading{
        font-size:clamp(32px,10vw,46px);
        line-height:.98;
    }

    .cusam-best-description{
        margin:15px 0 16px;
        font-size:13.8px;
        line-height:1.42;
    }

    .cusam-best-check{
        padding:12px;
        margin-bottom:13px;
        border-radius:18px;
    }

    .cusam-best-check-title{
        font-size:13.5px;
        margin-bottom:8px;
    }

    .cusam-best-check-row{
        grid-template-columns:1fr;
        gap:8px;
    }

    .cusam-best-check-input,
    .cusam-best-check-button{
        min-height:43px;
        border-radius:14px;
        font-size:13px;
    }

    .cusam-best-filters{
        gap:7px;
        margin-bottom:12px;
    }

    .cusam-best-filters button{
        min-height:34px;
        padding:0 11px;
        font-size:12px;
    }

    .cusam-best-cities{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:8px;
    }

    .cusam-best-city{
        min-height:78px;
        padding:10px;
        border-radius:16px;
        gap:6px;
    }

    .cusam-best-city-name{
        font-size:13.4px;
    }

    .cusam-best-status,
    .cusam-best-service{
        min-height:20px;
        padding:0 6px;
        font-size:9.4px;
    }

    .cusam-best-trust-note{
        font-size:12.2px;
        margin-top:12px;
    }

    .cusam-best-map-frame{
        min-height:230px;
        border-width:2px;
        border-radius:19px;
    }

    .cusam-best-map-card{
        left:12px;
        bottom:12px;
        right:12px;
        max-width:none;
        padding:11px 12px;
        border-radius:16px;
    }

    .cusam-best-map-card-title{
        font-size:13px;
    }

    .cusam-best-map-card-text{
        font-size:11px;
    }

    .cusam-best-map-button{
        width:100%;
        min-height:43px;
        margin-top:10px;
        font-size:13px;
    }

    .cusam-best-map-toggle{
        display:none;
        width:100%;
        min-height:44px;
        margin-bottom:10px;
        border:1px solid rgba(0,151,140,.24);
        border-radius:16px;
        background:#e9fbf8;
        color:#087f78;
        font-size:13px;
        font-weight:900;
    }

    .cusam-mobile-collapsed .cusam-best-map-toggle{
        display:block;
    }

    .cusam-mobile-collapsed .cusam-best-map-frame,
    .cusam-mobile-collapsed .cusam-best-map-button{
        display:none;
    }

    .cusam-mobile-collapsed.is-open .cusam-best-map-frame,
    .cusam-mobile-collapsed.is-open .cusam-best-map-button{
        display:block;
    }
}

/* Small phones */
@media (max-width:390px){
    .cusam-best-section{
        padding-left:8px;
        padding-right:8px;
    }

    .cusam-best-content{
        padding:22px 13px 14px;
    }

    .cusam-best-heading{
        font-size:31px;
    }

    .cusam-best-description{
        font-size:13px;
    }

    .cusam-best-cities{
        gap:7px;
    }

    .cusam-best-city{
        min-height:74px;
        padding:9px;
        border-radius:15px;
    }

    .cusam-best-city-name{
        font-size:12.6px;
    }

    .cusam-best-status,
    .cusam-best-service{
        font-size:8.8px;
        padding:0 5px;
    }

    .cusam-best-map-frame{
        min-height:215px;
    }
}


/* v3.0.1 — If a city's Status Label is empty, the status badge disappears cleanly.
   The city card automatically returns to a cleaner normal chip/card format. */
.cusam-best-city.cusam-no-status .cusam-best-city-meta{
    margin-top:1px;
}

.cusam-best-city.cusam-no-status .cusam-best-service{
    background:#fff;
    color:#6f7e92;
    border-color:rgba(219,232,236,.9);
}

.cusam-best-city.cusam-no-meta{
    justify-content:center;
    min-height:58px;
}

.cusam-best-city.cusam-no-meta .cusam-best-city-name{
    font-size:clamp(15px,1.08vw,19px);
}

@media (max-width:767px){
    .cusam-best-city.cusam-no-meta{
        min-height:46px;
        align-items:center;
        text-align:center;
    }

    .cusam-best-city.cusam-no-meta .cusam-best-city-name{
        font-size:13.4px;
    }
}


/* v3.1.0 — Real area checker result box */
.cusam-best-check-result{
    display:none;
    margin-top:10px;
    padding:12px 13px;
    border-radius:16px;
    border:1px solid rgba(219,232,236,.9);
    background:#fff;
}

.cusam-best-check-result.is-visible{
    display:block;
}

.cusam-best-check-result strong{
    display:block;
    color:#132943;
    font-size:13.5px;
    font-weight:900;
    line-height:1.2;
    margin-bottom:4px;
}

.cusam-best-check-result span{
    display:block;
    color:#6f7e92;
    font-size:12.5px;
    font-weight:650;
    line-height:1.35;
}

.cusam-best-check-result.is-success{
    background:#e9fbf8;
    border-color:rgba(0,151,140,.22);
}

.cusam-best-check-result.is-limited{
    background:#fff8e5;
    border-color:rgba(154,107,0,.20);
}

.cusam-best-check-result.is-quote{
    background:#f4efff;
    border-color:rgba(122,79,179,.18);
}

.cusam-best-check-result.is-soon,
.cusam-best-check-result.is-unknown{
    background:#f7fafb;
    border-color:rgba(111,126,146,.18);
}

.cusam-best-city.cusam-best-highlight{
    animation: cusamBestPulse 1.6s ease;
}

@keyframes cusamBestPulse{
    0%{transform:scale(1); box-shadow:0 10px 26px rgba(13,39,63,.035);}
    35%{transform:scale(1.025); box-shadow:0 18px 42px rgba(0,151,140,.18); border-color:rgba(0,151,140,.42);}
    100%{transform:scale(1); box-shadow:0 10px 26px rgba(13,39,63,.035);}
}

@media (max-width:767px){
    .cusam-best-check-result{
        padding:10px 11px;
        border-radius:14px;
    }

    .cusam-best-check-result strong{
        font-size:12.6px;
    }

    .cusam-best-check-result span{
        font-size:11.8px;
    }
}


/* v3.2.0 — Search-only cities stay hidden from the public city list but still work in the checker. */
.cusam-best-city.cusam-search-only{
    display:none !important;
}

/* v3.3.0 checker uses a JSON city database, so hidden/search-only cities are matched reliably. */
