/* Contact Us Second Part — Best Premium Version */

.cusp-best-section{
    width:100%;
    padding:clamp(36px,4vw,68px) clamp(14px,3vw,50px);
    font-family:inherit;
}

.cusp-best-header{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(320px,.74fr);
    align-items:end;
    gap:clamp(24px,6vw,120px);
    margin-bottom:clamp(22px,3vw,42px);
}

.cusp-best-title-wrap{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.cusp-best-eyebrow{
    color:#07988f;
    font-size:13px;
    font-weight:900;
    letter-spacing:.16em;
    text-transform:uppercase;
}

.cusp-best-heading{
    margin:0;
    color:#132943;
    font-family:Georgia,"Times New Roman",serif;
    font-size:clamp(46px,5.1vw,96px);
    font-weight:800;
    line-height:.94;
    letter-spacing:-.055em;
}

.cusp-best-intro{
    margin:0 0 7px;
    color:#6f7e92;
    font-size:clamp(18px,1.5vw,29px);
    font-weight:650;
    line-height:1.52;
    max-width:760px;
}

.cusp-best-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:clamp(16px,1.5vw,28px);
}

.cusp-best-card{
    position:relative;
    min-height:clamp(238px,20vw,410px);
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    padding:clamp(26px,2vw,40px);
    border:1px solid rgba(173,214,216,.75);
    border-radius:clamp(24px,1.8vw,38px);
    background:#fff;
    text-decoration:none !important;
    overflow:hidden;
    isolation:isolate;
    box-shadow:
        0 26px 62px rgba(13,39,63,.07),
        inset 0 1px 0 rgba(255,255,255,.95);
    transform:translateZ(0);
    transition:
        transform .24s ease,
        box-shadow .24s ease,
        border-color .24s ease,
        background .24s ease;
}

.cusp-best-card::before{
    content:"";
    position:absolute;
    inset:0;
    border-radius:inherit;
    pointer-events:none;
    background:
        linear-gradient(135deg,rgba(255,255,255,.9),rgba(255,255,255,0) 40%),
        radial-gradient(circle at 18% 12%,rgba(0,151,140,.08),transparent 32%);
    z-index:-1;
}

.cusp-best-card::after{
    content:"";
    position:absolute;
    left:22px;
    right:22px;
    bottom:0;
    height:1px;
    background:linear-gradient(90deg,transparent,rgba(0,151,140,.34),transparent);
    opacity:0;
    transition:opacity .24s ease;
}

.cusp-best-card:hover{
    transform:translateY(-7px);
    border-color:rgba(0,151,140,.5);
    background:#fbfffd;
    box-shadow:
        0 40px 92px rgba(13,39,63,.14),
        inset 0 1px 0 rgba(255,255,255,.95);
}

.cusp-best-card:hover::after{
    opacity:1;
}

.cusp-best-card.is-featured{
    border-color:#07988f;
    box-shadow:
        0 30px 72px rgba(0,151,140,.13),
        0 10px 28px rgba(13,39,63,.06),
        inset 0 1px 0 rgba(255,255,255,.95);
}

.cusp-best-glow{
    position:absolute;
    right:-58px;
    top:-58px;
    width:168px;
    height:168px;
    border-radius:999px;
    background:radial-gradient(circle,rgba(0,151,140,.17),transparent 68%);
    opacity:.85;
    pointer-events:none;
    transition:transform .24s ease,opacity .24s ease;
}

.cusp-best-card:hover .cusp-best-glow{
    transform:scale(1.08);
    opacity:1;
}

.cusp-best-topline{
    width:100%;
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:10px;
    margin-bottom:clamp(22px,2vw,32px);
}

.cusp-best-icon{
    width:clamp(64px,4.5vw,94px);
    height:clamp(64px,4.5vw,94px);
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:24px;
    background:#e9fbf8;
    color:#06988f;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.9),
        0 12px 25px rgba(0,151,140,.08);
    transition:transform .24s ease;
}

.cusp-best-card:hover .cusp-best-icon{
    transform:translateY(-2px) scale(1.03);
}

.cusp-best-icon i{
    font-size:clamp(25px,2.15vw,40px);
}

.cusp-best-icon svg{
    width:clamp(25px,2.15vw,40px);
    height:clamp(25px,2.15vw,40px);
    fill:currentColor;
}

.cusp-best-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:7px 10px;
    border-radius:999px;
    background:#e9fbf8;
    color:#087f78;
    font-size:12px;
    font-weight:850;
    line-height:1;
    letter-spacing:-.01em;
    white-space:nowrap;
}

.cusp-best-card-title{
    display:block;
    color:#132943;
    font-size:clamp(22px,1.8vw,36px);
    font-weight:850;
    line-height:1.05;
    letter-spacing:-.05em;
    margin-bottom:clamp(11px,1vw,18px);
}

.cusp-best-card-desc{
    display:block;
    color:#748397;
    font-size:clamp(15.5px,1.3vw,26px);
    font-weight:650;
    line-height:1.44;
}

.cusp-best-desc-mobile{
    display:none;
}

.cusp-best-arrow{
    position:absolute;
    right:24px;
    bottom:22px;
    width:38px;
    height:38px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    background:#e9fbf8;
    color:#06988f;
    font-size:21px;
    font-weight:900;
    opacity:0;
    transform:translateX(-8px);
    transition:opacity .24s ease,transform .24s ease,background .24s ease;
}

.cusp-best-card:hover .cusp-best-arrow{
    opacity:1;
    transform:translateX(0);
}

/* Tablet */
@media (max-width:1100px){
    .cusp-best-header{
        grid-template-columns:1fr;
        align-items:start;
        gap:14px;
    }

    .cusp-best-intro{
        margin:0;
        max-width:850px;
    }

    .cusp-best-grid{
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    }

    .cusp-best-card{
        min-height:260px;
    }
}

/* Mobile: exact 2x2 premium square layout */
@media (max-width:767px){
    .cusp-best-section{
        padding:22px 10px;
    }

    .cusp-best-header{
        display:flex;
        flex-direction:column;
        gap:7px;
        margin-bottom:12px;
    }

    .cusp-best-eyebrow{
        font-size:10px;
        letter-spacing:.14em;
    }

    .cusp-best-heading{
        font-size:clamp(29px,9.4vw,42px);
        line-height:.96;
        letter-spacing:-.055em;
    }

    .cusp-best-intro{
        font-size:12.6px;
        line-height:1.35;
        font-weight:650;
        max-width:100%;
    }

    .cusp-best-grid{
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
        gap:9px;
    }

    .cusp-best-card{
        min-height:clamp(136px,35vw,168px);
        padding:11px 10px 10px;
        border-radius:19px;
        box-shadow:
            0 13px 32px rgba(13,39,63,.085),
            inset 0 1px 0 rgba(255,255,255,.95);
    }

    .cusp-best-card:hover{
        transform:translateY(-2px);
    }

    .cusp-best-glow{
        width:88px;
        height:88px;
        right:-38px;
        top:-38px;
    }

    .cusp-best-topline{
        align-items:center;
        margin-bottom:8px;
        gap:6px;
    }

    .cusp-best-icon{
        width:38px;
        height:38px;
        min-width:38px;
        border-radius:13px;
    }

    .cusp-best-icon i{
        font-size:17px;
    }

    .cusp-best-icon svg{
        width:17px;
        height:17px;
    }

    .cusp-best-badge{
        max-width:66px;
        overflow:hidden;
        text-overflow:ellipsis;
        padding:5px 7px;
        font-size:9.4px;
        letter-spacing:-.02em;
    }

    .cusp-best-card-title{
        font-size:14.8px;
        line-height:1.05;
        letter-spacing:-.045em;
        margin-bottom:5px;
    }

    .cusp-best-desc-desktop{
        display:none;
    }

    .cusp-best-desc-mobile{
        display:-webkit-box;
        font-size:10.6px;
        line-height:1.23;
        font-weight:650;
        -webkit-line-clamp:3;
        -webkit-box-orient:vertical;
        overflow:hidden;
    }

    .cusp-best-arrow{
        opacity:1;
        transform:none;
        width:23px;
        height:23px;
        right:8px;
        bottom:8px;
        font-size:13px;
    }
}

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

    .cusp-best-grid{
        gap:8px;
    }

    .cusp-best-card{
        min-height:132px;
        padding:10px 9px;
        border-radius:17px;
    }

    .cusp-best-heading{
        font-size:30px;
    }

    .cusp-best-intro{
        font-size:12px;
        line-height:1.32;
    }

    .cusp-best-icon{
        width:35px;
        height:35px;
        min-width:35px;
        border-radius:12px;
    }

    .cusp-best-icon i{
        font-size:15px;
    }

    .cusp-best-icon svg{
        width:15px;
        height:15px;
    }

    .cusp-best-badge{
        display:none;
    }

    .cusp-best-card-title{
        font-size:14px;
        margin-bottom:4px;
    }

    .cusp-best-desc-mobile{
        font-size:10px;
        line-height:1.2;
        -webkit-line-clamp:3;
    }

    .cusp-best-arrow{
        display:none;
    }
}


/* ===== Mobile repair patch: support cards + dark CTA contrast ===== */
@media (max-width: 767px) {
    .cusp-best-section,
    .cusp-section,
    .wcsp-section {
        padding-left: 20px !important;
        padding-right: 20px !important;
        overflow-x: hidden !important;
    }

    .cusp-best-heading,
    .cusp-heading,
    .wcsp-heading {
        color: #132943 !important;
        font-size: clamp(38px, 11vw, 52px) !important;
        line-height: 1.02 !important;
        letter-spacing: -0.05em !important;
    }

    .cusp-best-intro,
    .cusp-intro,
    .wcsp-intro {
        color: #6f7e92 !important;
        font-size: 16px !important;
        line-height: 1.48 !important;
        font-weight: 650 !important;
    }

    .cusp-best-grid,
    .cusp-grid,
    .wcsp-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    .cusp-best-card,
    .cusp-card,
    .wcsp-card {
        min-height: 158px !important;
        padding: 13px 12px !important;
        border-radius: 20px !important;
        background: #ffffff !important;
        color: #132943 !important;
        box-shadow: 0 14px 34px rgba(13,39,63,.08), inset 0 1px 0 rgba(255,255,255,.95) !important;
        border-color: rgba(173,214,216,.75) !important;
    }

    .cusp-best-icon,
    .cusp-icon,
    .wcsp-icon {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        border-radius: 14px !important;
        margin-bottom: 10px !important;
        color: #07988f !important;
        background: #e9fbf8 !important;
    }

    .cusp-best-card-title,
    .cusp-card-title,
    .wcsp-card-title {
        color: #132943 !important;
        font-size: 15px !important;
        line-height: 1.08 !important;
        font-weight: 850 !important;
        margin-bottom: 6px !important;
    }

    .cusp-best-card-desc,
    .cusp-card-desc,
    .wcsp-card-desc {
        color: #748397 !important;
        font-size: 10.8px !important;
        line-height: 1.25 !important;
        font-weight: 650 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    .cusp-best-arrow,
    .cusp-arrow,
    .wcsp-arrow {
        display: none !important;
    }

    .wc-dark-cta,
    .wch-dark-cta,
    .waycare-dark-cta,
    .need-service-card,
    .service-soon-card,
    .cusp-dark-card,
    .wcsp-dark-card,
    [class*="dark-cta"],
    [class*="service-soon"] {
        color: #ffffff !important;
    }

    .wc-dark-cta *,
    .wch-dark-cta *,
    .waycare-dark-cta *,
    .need-service-card *,
    .service-soon-card *,
    .cusp-dark-card *,
    .wcsp-dark-card *,
    [class*="dark-cta"] *,
    [class*="service-soon"] * {
        color: #ffffff !important;
        opacity: 1 !important;
    }

    .wc-dark-cta a,
    .wch-dark-cta a,
    .waycare-dark-cta a,
    .need-service-card a,
    .service-soon-card a,
    .cusp-dark-card a,
    .wcsp-dark-card a,
    [class*="dark-cta"] a,
    [class*="service-soon"] a {
        background: #35d7b4 !important;
        color: #ffffff !important;
        padding: 12px 18px !important;
        border-radius: 999px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-decoration: none !important;
        font-weight: 850 !important;
    }
}

@media (max-width: 390px) {
    .cusp-best-section,
    .cusp-section,
    .wcsp-section {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .cusp-best-grid,
    .cusp-grid,
    .wcsp-grid {
        gap: 9px !important;
    }

    .cusp-best-card,
    .cusp-card,
    .wcsp-card {
        min-height: 148px !important;
        padding: 11px 10px !important;
    }
}
