
/* =========================================================
   NIBBLY — SERVICE PAGE
   Premium Light White + Cyan UI
   Mobile First / Root Project
   ========================================================= */

:root{
    --service-cyan:#a3f1ff;
    --service-cyan-2:#08b9e8;
    --service-cyan-3:#009ed1;
    --service-navy:#092542;
    --service-text:#31506b;
    --service-muted:#6d8799;
    --service-bg:#f8fdff;
    --service-white:#ffffff;
    --service-line:#dff3f8;
    --service-shadow:0 18px 50px rgba(14,80,110,.10);
    --service-shadow-hover:0 25px 65px rgba(14,80,110,.16);
    --service-radius:28px;
}


/* =========================================================
   GLOBAL
   ========================================================= */

.nbl-service-page{
    width:100%;
    min-height:100vh;
    background:
        radial-gradient(circle at 8% 8%, rgba(163,241,255,.20), transparent 28%),
        radial-gradient(circle at 92% 20%, rgba(163,241,255,.13), transparent 25%),
        linear-gradient(180deg,#ffffff 0%,#f8fdff 48%,#ffffff 100%);
    color:var(--service-navy);
    overflow:hidden;
}

.nbl-service-page *,
.nbl-service-page *::before,
.nbl-service-page *::after{
    box-sizing:border-box;
}

.nbl-service-page img{
    max-width:100%;
}

.nbl-service-page a{
    text-decoration:none;
}

.nbl-service-page button,
.nbl-service-page input{
    font:inherit;
}

.nbl-service-page .nbl-container{
    width:calc(100% - 10px);
    max-width:none;
    margin-left:5px;
    margin-right:5px;
}


/* =========================================================
   HERO
   ========================================================= */

.nbl-service-hero{
    position:relative;
    padding:55px 0 35px;
}

.nbl-service-hero::before{
    content:"";
    position:absolute;
    width:420px;
    height:420px;
    top:-180px;
    right:-160px;
    background:radial-gradient(
        circle,
        rgba(163,241,255,.35),
        rgba(163,241,255,0) 70%
    );
    pointer-events:none;
}

.nbl-service-hero-grid{
    position:relative;
    z-index:2;
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(380px,.85fr);
    align-items:center;
    gap:55px;
    min-height:470px;
}

.nbl-service-hero-copy{
    max-width:700px;
}

.nbl-service-hero-copy .nbl-kicker{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:9px 15px;
    border:1px solid var(--service-line);
    border-radius:999px;
    background:rgba(255,255,255,.82);
    box-shadow:0 8px 25px rgba(14,80,110,.06);
    color:var(--service-cyan-3);
    font-size:12px;
    font-weight:800;
    letter-spacing:.12em;
    text-transform:uppercase;
}

.nbl-service-hero-copy h1{
    margin:18px 0 15px;
    font-size:clamp(40px,5vw,72px);
    line-height:1.02;
    letter-spacing:-.045em;
    font-weight:900;
    color:var(--service-navy);
}

.nbl-service-hero-copy h1 span{
    color:var(--service-cyan-3);
}

.nbl-service-hero-copy p{
    max-width:650px;
    margin:0;
    color:var(--service-text);
    font-size:17px;
    line-height:1.75;
}

.nbl-service-hero-buttons{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:27px;
}

.nbl-service-hero-buttons .nbl-btn{
    min-height:48px;
}


/* =========================================================
   HERO VISUAL
   ========================================================= */

.nbl-service-hero-visual{
    position:relative;
    min-height:450px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.nbl-service-visual-card{
    position:relative;
    width:min(430px,100%);
    min-height:390px;
    padding:35px;
    border:1px solid rgba(163,241,255,.85);
    border-radius:42px;
    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.98),
            rgba(241,252,255,.95)
        );
    box-shadow:
        0 35px 90px rgba(14,80,110,.13),
        inset 0 1px 0 rgba(255,255,255,.9);
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
}

.nbl-service-visual-card::before{
    content:"";
    position:absolute;
    width:250px;
    height:250px;
    border-radius:50%;
    background:rgba(163,241,255,.38);
    filter:blur(40px);
}

.nbl-service-visual-card::after{
    content:"";
    position:absolute;
    inset:18px;
    border:1px dashed rgba(8,185,232,.22);
    border-radius:32px;
    pointer-events:none;
}

.nbl-service-visual-card img{
    position:relative;
    z-index:2;
    width:170px;
    height:170px;
    object-fit:contain;
    border-radius:35px;
    filter:drop-shadow(0 20px 30px rgba(8,185,232,.18));
}

.nbl-floating-service{
    position:absolute;
    z-index:5;
    display:flex;
    align-items:center;
    gap:9px;
    padding:12px 15px;
    border:1px solid rgba(163,241,255,.75);
    border-radius:16px;
    background:rgba(255,255,255,.92);
    backdrop-filter:blur(14px);
    box-shadow:0 15px 35px rgba(14,80,110,.11);
    color:var(--service-navy);
    font-size:13px;
    font-weight:800;
    white-space:nowrap;
    animation:serviceFloat 4s ease-in-out infinite;
}

.nbl-floating-service i{
    color:var(--service-cyan-3);
    font-size:18px;
}

.service-float-one{
    top:35px;
    left:-12px;
}

.service-float-two{
    top:145px;
    right:-18px;
    animation-delay:.8s;
}

.service-float-three{
    bottom:55px;
    left:-22px;
    animation-delay:1.5s;
}

.service-float-four{
    bottom:25px;
    right:5px;
    animation-delay:2.2s;
}

@keyframes serviceFloat{
    0%,100%{
        transform:translateY(0);
    }
    50%{
        transform:translateY(-9px);
    }
}


/* =========================================================
   INTRO
   ========================================================= */

.nbl-service-intro{
    padding:25px 0 40px;
}

.nbl-service-intro-card{
    position:relative;
    padding:30px 35px;
    border:1px solid var(--service-line);
    border-radius:var(--service-radius);
    background:rgba(255,255,255,.90);
    box-shadow:var(--service-shadow);
    text-align:center;
    overflow:hidden;
}

.nbl-service-intro-card::before{
    content:"";
    position:absolute;
    top:0;
    left:20%;
    width:60%;
    height:3px;
    background:linear-gradient(
        90deg,
        transparent,
        var(--service-cyan-2),
        transparent
    );
}

.nbl-service-intro-card h2{
    margin:0 0 10px;
    color:var(--service-navy);
    font-size:clamp(24px,3vw,38px);
    font-weight:900;
    letter-spacing:-.025em;
}

.nbl-service-intro-card p{
    max-width:850px;
    margin:0 auto;
    color:var(--service-text);
    line-height:1.75;
}


/* =========================================================
   SERVICE LIST
   ========================================================= */

.nbl-service-list-section{
    padding:35px 0 70px;
}

.nbl-service-search-wrap{
    max-width:700px;
    margin:0 auto 22px;
}

.nbl-service-search{
    width:100%;
    height:58px;
    padding:0 20px 0 50px;
    border:1px solid var(--service-line);
    border-radius:18px;
    outline:none;
    background:#fff;
    color:var(--service-navy);
    box-shadow:0 12px 35px rgba(14,80,110,.07);
    transition:.25s ease;
}

.nbl-service-search:focus{
    border-color:var(--service-cyan-2);
    box-shadow:
        0 0 0 4px rgba(163,241,255,.25),
        0 15px 35px rgba(14,80,110,.08);
}

.nbl-service-filters{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap:9px;
    margin-bottom:35px;
}

.nbl-service-filters button{
    min-height:40px;
    padding:9px 17px;
    border:1px solid var(--service-line);
    border-radius:999px;
    background:#fff;
    color:var(--service-text);
    cursor:pointer;
    font-size:13px;
    font-weight:800;
    transition:.25s ease;
}

.nbl-service-filters button:hover,
.nbl-service-filters button.active{
    border-color:var(--service-cyan-2);
    background:var(--service-cyan);
    color:var(--service-navy);
    transform:translateY(-2px);
}


/* =========================================================
   SERVICE GRID
   ========================================================= */

.nbl-service-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:20px;
}

.nbl-service-main-card{
    position:relative;
    min-width:0;
    border:1px solid var(--service-line);
    border-radius:30px;
    background:#fff;
    box-shadow:var(--service-shadow);
    overflow:hidden;
    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.nbl-service-main-card:hover{
    transform:translateY(-8px);
    border-color:rgba(8,185,232,.35);
    box-shadow:var(--service-shadow-hover);
}

.nbl-service-card-image{
    position:relative;
    height:210px;
    overflow:hidden;
    background:linear-gradient(
        135deg,
        #eefcff,
        #ffffff
    );
}

.nbl-service-card-image img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    transition:transform .5s ease;
}

.nbl-service-main-card:hover .nbl-service-card-image img{
    transform:scale(1.07);
}

.nbl-service-card-image::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        180deg,
        transparent 55%,
        rgba(9,37,66,.15)
    );
    pointer-events:none;
}

.nbl-service-card-number{
    position:absolute;
    top:14px;
    left:14px;
    z-index:3;
    width:38px;
    height:38px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid rgba(255,255,255,.7);
    border-radius:12px;
    background:rgba(255,255,255,.88);
    backdrop-filter:blur(10px);
    color:var(--service-cyan-3);
    font-size:12px;
    font-weight:900;
}

.nbl-service-card-icon{
    position:absolute;
    z-index:4;
    right:16px;
    bottom:-25px;
    width:72px;
    height:72px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:5px solid #fff;
    border-radius:22px;
    background:
        linear-gradient(
            145deg,
            var(--service-cyan),
            #eaffff
        );
    box-shadow:0 12px 30px rgba(8,185,232,.18);
    color:var(--service-cyan-3);
    font-size:30px;
}

.nbl-service-card-content{
    padding:38px 22px 23px;
}

.nbl-service-card-content h3{
    margin:0 0 8px;
    color:var(--service-navy);
    font-size:22px;
    font-weight:900;
    letter-spacing:-.02em;
}

.nbl-service-card-content p{
    margin:0;
    min-height:67px;
    color:var(--service-text);
    font-size:14px;
    line-height:1.65;
}

.nbl-service-card-category{
    display:inline-flex;
    align-items:center;
    margin:0 0 9px;
    padding:6px 10px;
    border-radius:999px;
    background:#effcff;
    color:var(--service-cyan-3);
    font-size:10px;
    font-weight:900;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.nbl-service-feature-row{
    display:flex;
    flex-wrap:wrap;
    gap:7px;
    margin:17px 0;
}

.nbl-service-feature-row span{
    padding:7px 9px;
    border:1px solid var(--service-line);
    border-radius:9px;
    background:#fbfeff;
    color:var(--service-muted);
    font-size:11px;
    font-weight:700;
}

.nbl-service-card-button{
    width:100%;
    min-height:46px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    border:1px solid var(--service-cyan-2);
    border-radius:14px;
    background:linear-gradient(
        135deg,
        var(--service-cyan),
        #dfffff
    );
    color:var(--service-navy);
    cursor:pointer;
    font-weight:900;
    transition:.25s ease;
}

.nbl-service-card-button:hover{
    background:linear-gradient(
        135deg,
        #8deeff,
        var(--service-cyan)
    );
    transform:translateY(-2px);
    box-shadow:0 12px 25px rgba(8,185,232,.15);
}

.nbl-service-no-result{
    display:none;
    padding:45px 20px;
    border:1px dashed var(--service-line);
    border-radius:24px;
    background:#fff;
    text-align:center;
    color:var(--service-muted);
}


/* =========================================================
   WHY NIBBLY
   ========================================================= */

.nbl-service-why{
    padding:75px 0;
    background:
        radial-gradient(
            circle at 50% 0,
            rgba(163,241,255,.22),
            transparent 40%
        );
}

.nbl-service-benefit-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:17px;
    margin-top:35px;
}

.nbl-service-benefit-card{
    padding:27px 21px;
    border:1px solid var(--service-line);
    border-radius:25px;
    background:rgba(255,255,255,.92);
    box-shadow:0 12px 35px rgba(14,80,110,.07);
    text-align:center;
    transition:.3s ease;
}

.nbl-service-benefit-card:hover{
    transform:translateY(-6px);
    border-color:rgba(8,185,232,.4);
    box-shadow:var(--service-shadow);
}

.nbl-service-benefit-card i{
    width:62px;
    height:62px;
    margin:0 auto 17px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:20px;
    background:var(--service-cyan);
    color:var(--service-cyan-3);
    font-size:25px;
}

.nbl-service-benefit-card h3{
    margin:0 0 8px;
    color:var(--service-navy);
    font-size:17px;
    font-weight:900;
}

.nbl-service-benefit-card p{
    margin:0;
    color:var(--service-text);
    font-size:13px;
    line-height:1.65;
}


/* =========================================================
   LOCAL MARKET
   ========================================================= */

.nbl-service-local{
    padding:70px 0;
}

.nbl-service-local-card{
    display:grid;
    grid-template-columns:1fr 1fr;
    align-items:center;
    gap:45px;
    padding:42px;
    border:1px solid var(--service-line);
    border-radius:35px;
    background:
        linear-gradient(
            135deg,
            #ffffff,
            #f1fcff
        );
    box-shadow:var(--service-shadow);
    overflow:hidden;
}

.nbl-service-local-copy{
    min-width:0;
}

.nbl-service-local-copy .nbl-kicker{
    color:var(--service-cyan-3);
    font-size:11px;
    font-weight:900;
    letter-spacing:.12em;
    text-transform:uppercase;
}

.nbl-service-local-copy h2{
    margin:10px 0 13px;
    color:var(--service-navy);
    font-size:clamp(28px,3.5vw,48px);
    line-height:1.08;
    font-weight:900;
    letter-spacing:-.035em;
}

.nbl-service-local-copy p{
    margin:0;
    color:var(--service-text);
    line-height:1.75;
}

.nbl-service-local-points{
    display:grid;
    gap:11px;
    margin-top:23px;
}

.nbl-service-local-points div{
    display:flex;
    align-items:center;
    gap:10px;
    color:var(--service-navy);
    font-size:14px;
    font-weight:800;
}

.nbl-service-local-points i{
    color:var(--service-cyan-3);
}

.nbl-service-local-visual{
    position:relative;
    min-height:340px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.nbl-local-orbit{
    position:absolute;
    width:280px;
    height:280px;
    border:1px dashed rgba(8,185,232,.32);
    border-radius:50%;
    animation:localRotate 18s linear infinite;
}

.nbl-local-orbit::before,
.nbl-local-orbit::after{
    content:"";
    position:absolute;
    border:1px dashed rgba(8,185,232,.18);
    border-radius:50%;
}

.nbl-local-orbit::before{
    inset:35px;
}

.nbl-local-orbit::after{
    inset:70px;
}

@keyframes localRotate{
    to{
        transform:rotate(360deg);
    }
}

.nbl-local-center{
    position:relative;
    z-index:3;
    width:125px;
    height:125px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid var(--service-line);
    border-radius:35px;
    background:#fff;
    box-shadow:
        0 20px 45px rgba(14,80,110,.12),
        0 0 0 12px rgba(163,241,255,.12);
}

.nbl-local-center img{
    width:75px;
    height:75px;
    object-fit:contain;
}

.nbl-local-node{
    position:absolute;
    z-index:5;
    width:72px;
    height:72px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid var(--service-line);
    border-radius:22px;
    background:#fff;
    color:var(--service-cyan-3);
    box-shadow:0 12px 30px rgba(14,80,110,.10);
    font-size:25px;
}

.nbl-local-node:nth-child(2){
    top:15px;
    left:50%;
    transform:translateX(-50%);
}

.nbl-local-node:nth-child(3){
    right:15px;
    top:50%;
    transform:translateY(-50%);
}

.nbl-local-node:nth-child(4){
    bottom:15px;
    left:50%;
    transform:translateX(-50%);
}

.nbl-local-node:nth-child(5){
    left:15px;
    top:50%;
    transform:translateY(-50%);
}


/* =========================================================
   CTA
   ========================================================= */

.nbl-service-cta{
    padding:25px 0 75px;
}

.nbl-service-cta-card{
    position:relative;
    display:grid;
    grid-template-columns:auto 1fr auto;
    align-items:center;
    gap:25px;
    padding:35px;
    border:1px solid rgba(8,185,232,.30);
    border-radius:32px;
    background:
        linear-gradient(
            135deg,
            #effcff,
            #ffffff
        );
    box-shadow:var(--service-shadow);
    overflow:hidden;
}

.nbl-service-cta-card::before{
    content:"";
    position:absolute;
    width:250px;
    height:250px;
    right:-80px;
    top:-120px;
    border-radius:50%;
    background:rgba(163,241,255,.35);
    filter:blur(15px);
}

.nbl-service-cta-icon{
    position:relative;
    z-index:2;
    width:76px;
    height:76px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:25px;
    background:var(--service-cyan);
    color:var(--service-cyan-3);
    font-size:30px;
}

.nbl-service-cta-copy{
    position:relative;
    z-index:2;
}

.nbl-service-cta-copy h2{
    margin:0 0 7px;
    color:var(--service-navy);
    font-size:27px;
    font-weight:900;
}

.nbl-service-cta-copy p{
    margin:0;
    color:var(--service-text);
    line-height:1.6;
}

.nbl-service-cta-actions{
    position:relative;
    z-index:2;
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}


/* =========================================================
   MODAL
   ========================================================= */

.nbl-service-modal{
    position:fixed;
    inset:0;
    z-index:9999;
    display:none;
    align-items:center;
    justify-content:center;
    padding:20px;
    background:rgba(9,37,66,.50);
    backdrop-filter:blur(9px);
}

.nbl-service-modal.active{
    display:flex;
}

.nbl-service-modal-box{
    position:relative;
    width:min(650px,100%);
    max-height:90vh;
    overflow:auto;
    padding:32px;
    border:1px solid var(--service-line);
    border-radius:30px;
    background:#fff;
    box-shadow:0 35px 100px rgba(9,37,66,.25);
    animation:serviceModalIn .25s ease;
}

@keyframes serviceModalIn{
    from{
        opacity:0;
        transform:translateY(15px) scale(.98);
    }
    to{
        opacity:1;
        transform:none;
    }
}

.nbl-service-modal-close{
    position:absolute;
    top:15px;
    right:15px;
    width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid var(--service-line);
    border-radius:13px;
    background:#fff;
    color:var(--service-navy);
    cursor:pointer;
    font-size:18px;
}

.nbl-service-modal-close:hover{
    background:var(--service-cyan);
}

.nbl-service-modal-icon{
    width:72px;
    height:72px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:18px;
    border-radius:22px;
    background:var(--service-cyan);
    color:var(--service-cyan-3);
    font-size:30px;
}

.nbl-service-modal h2{
    margin:0 0 10px;
    color:var(--service-navy);
    font-size:30px;
    font-weight:900;
}

.nbl-service-modal p{
    color:var(--service-text);
    line-height:1.75;
}

body.nbl-modal-open{
    overflow:hidden;
}


/* =========================================================
   SHARED SECTION HEADING
   ========================================================= */

.nbl-service-section-heading{
    max-width:760px;
    margin:0 auto 35px;
    text-align:center;
}

.nbl-service-section-heading .nbl-kicker{
    display:inline-block;
    margin-bottom:8px;
    color:var(--service-cyan-3);
    font-size:11px;
    font-weight:900;
    letter-spacing:.13em;
    text-transform:uppercase;
}

.nbl-service-section-heading h2{
    margin:0 0 10px;
    color:var(--service-navy);
    font-size:clamp(29px,4vw,46px);
    line-height:1.08;
    font-weight:900;
    letter-spacing:-.035em;
}

.nbl-service-section-heading p{
    margin:0;
    color:var(--service-text);
    line-height:1.7;
}


/* =========================================================
   REVEAL
   ========================================================= */

.nbl-service-page .nbl-reveal{
    opacity:1;
    transform:none;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width:1000px){

    .nbl-service-hero-grid{
        grid-template-columns:1fr;
        gap:35px;
        text-align:center;
    }

    .nbl-service-hero-copy{
        max-width:850px;
        margin:auto;
    }

    .nbl-service-hero-copy p{
        margin:auto;
    }

    .nbl-service-hero-buttons{
        justify-content:center;
    }

    .nbl-service-hero-visual{
        min-height:390px;
    }

    .nbl-service-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .nbl-service-benefit-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .nbl-service-local-card{
        grid-template-columns:1fr;
    }

    .nbl-service-local-copy{
        text-align:center;
    }

    .nbl-service-local-points{
        max-width:450px;
        margin-left:auto;
        margin-right:auto;
        text-align:left;
    }

    .nbl-service-cta-card{
        grid-template-columns:auto 1fr;
    }

    .nbl-service-cta-actions{
        grid-column:1 / -1;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width:820px){

    .nbl-service-hero{
        padding:35px 0 20px;
    }

    .nbl-service-hero-grid{
        min-height:auto;
    }

    .nbl-service-hero-copy h1{
        font-size:42px;
    }

    .nbl-service-hero-copy p{
        font-size:15px;
        line-height:1.7;
    }

    .nbl-service-hero-visual{
        min-height:330px;
    }

    .nbl-service-visual-card{
        width:min(360px,92vw);
        min-height:310px;
        padding:25px;
        border-radius:32px;
    }

    .nbl-service-visual-card img{
        width:135px;
        height:135px;
    }

    .nbl-floating-service{
        padding:9px 11px;
        font-size:11px;
    }

    .nbl-floating-service i{
        font-size:15px;
    }

    .service-float-one{
        top:15px;
        left:0;
    }

    .service-float-two{
        top:95px;
        right:-2px;
    }

    .service-float-three{
        bottom:38px;
        left:0;
    }

    .service-float-four{
        bottom:12px;
        right:0;
    }

    .nbl-service-intro{
        padding:15px 0 30px;
    }

    .nbl-service-intro-card{
        padding:25px 18px;
    }

    .nbl-service-list-section{
        padding:25px 0 50px;
    }

    .nbl-service-grid{
        grid-template-columns:1fr;
        gap:16px;
    }

    .nbl-service-card-image{
        height:220px;
    }

    .nbl-service-benefit-grid{
        grid-template-columns:1fr 1fr;
    }

    .nbl-service-local{
        padding:50px 0;
    }

    .nbl-service-local-card{
        padding:25px 18px;
        gap:20px;
        border-radius:28px;
    }

    .nbl-service-local-visual{
        min-height:290px;
    }

    .nbl-local-orbit{
        width:240px;
        height:240px;
    }

    .nbl-service-cta{
        padding-bottom:50px;
    }

    .nbl-service-cta-card{
        grid-template-columns:1fr;
        text-align:center;
        padding:28px 20px;
    }

    .nbl-service-cta-icon{
        margin:auto;
    }

    .nbl-service-cta-actions{
        justify-content:center;
        grid-column:auto;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width:520px){

    .nbl-service-page .nbl-container{
        width:calc(100% - 10px);
        margin-left:5px;
        margin-right:5px;
    }

    .nbl-service-hero-copy h1{
        font-size:35px;
        letter-spacing:-.04em;
    }

    .nbl-service-hero-buttons{
        display:grid;
        grid-template-columns:1fr;
    }

    .nbl-service-hero-buttons .nbl-btn{
        width:100%;
        justify-content:center;
    }

    .nbl-service-hero-visual{
        min-height:290px;
    }

    .nbl-service-visual-card{
        min-height:275px;
        width:calc(100% - 20px);
    }

    .nbl-service-visual-card img{
        width:115px;
        height:115px;
    }

    .nbl-floating-service{
        padding:8px 9px;
        font-size:10px;
        border-radius:12px;
    }

    .nbl-floating-service i{
        font-size:13px;
    }

    .nbl-service-search{
        height:52px;
        border-radius:15px;
        font-size:14px;
    }

    .nbl-service-filters{
        justify-content:flex-start;
        overflow-x:auto;
        flex-wrap:nowrap;
        padding:2px 2px 8px;
        scrollbar-width:none;
    }

    .nbl-service-filters::-webkit-scrollbar{
        display:none;
    }

    .nbl-service-filters button{
        flex:0 0 auto;
        white-space:nowrap;
    }

    .nbl-service-card-image{
        height:200px;
    }

    .nbl-service-card-content{
        padding:37px 18px 18px;
    }

    .nbl-service-card-content h3{
        font-size:20px;
    }

    .nbl-service-card-content p{
        min-height:auto;
    }

    .nbl-service-card-icon{
        width:65px;
        height:65px;
        font-size:26px;
        border-radius:19px;
    }

    .nbl-service-benefit-grid{
        grid-template-columns:1fr;
    }

    .nbl-service-benefit-card{
        padding:23px 18px;
    }

    .nbl-service-local-copy h2{
        font-size:31px;
    }

    .nbl-service-local-visual{
        min-height:260px;
    }

    .nbl-local-orbit{
        width:210px;
        height:210px;
    }

    .nbl-local-center{
        width:100px;
        height:100px;
        border-radius:28px;
    }

    .nbl-local-center img{
        width:60px;
        height:60px;
    }

    .nbl-local-node{
        width:58px;
        height:58px;
        border-radius:18px;
        font-size:20px;
    }

    .nbl-service-cta-copy h2{
        font-size:23px;
    }

    .nbl-service-cta-actions{
        width:100%;
        display:grid;
        grid-template-columns:1fr;
    }

    .nbl-service-cta-actions .nbl-btn{
        width:100%;
        justify-content:center;
    }

    .nbl-service-modal{
        padding:10px;
    }

    .nbl-service-modal-box{
        padding:25px 18px;
        border-radius:24px;
    }

    .nbl-service-modal h2{
        font-size:25px;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion:reduce){

    .nbl-service-page *,
    .nbl-service-page *::before,
    .nbl-service-page *::after{
        animation-duration:.01ms !important;
        animation-iteration-count:1 !important;
        transition-duration:.01ms !important;
        scroll-behavior:auto !important;
    }
}


/* =========================================================
   IMAGE FALLBACK
   ========================================================= */

.nbl-service-card-image img[src=""],
.nbl-service-card-image img:not([src]){
    display:none;
}


/* =========================================================
   SAFETY — NO HORIZONTAL OVERFLOW
   ========================================================= */

html,
body{
    max-width:100%;
    overflow-x:hidden;
}

.nbl-service-page{
    max-width:100vw;
}

.nbl-service-grid,
.nbl-service-benefit-grid,
.nbl-service-local-card,
.nbl-service-cta-card{
    min-width:0;
}

.nbl-service-main-card,
.nbl-service-benefit-card,
.nbl-service-local-card{
    overflow:hidden;
}