/* =========================================================
   SEFTON HOMEPAGE MOBILE UPGRADE v55
   Keeps PWA v53. No bottom sheet.
   ========================================================= */

.mobile-home-shortcuts{
    display:none;
}

@media(max-width:760px){

    html,body{
        max-width:100%;
        overflow-x:hidden;
    }

    /* ---------------- HERO ---------------- */
    .hero.hero-classic{
        min-height:auto !important;
        padding-bottom:24px !important;
    }

    .hero-content{
        padding-top:34px !important;
        padding-bottom:18px !important;
    }

    .hero-kicker{
        display:inline-flex !important;
        align-items:center;
        gap:7px;
        padding:7px 10px !important;
        border:1px solid rgba(255,255,255,.18);
        border-radius:999px;
        background:rgba(10,31,40,.22);
        backdrop-filter:blur(8px);
        -webkit-backdrop-filter:blur(8px);
    }

    .hero-kicker .mobile-kicker-icon{
        width:17px;
        height:17px;
        display:grid;
        place-items:center;
        color:#e7c262;
    }

    .hero-kicker .mobile-kicker-icon .classic-svg{
        width:14px;
        height:14px;
    }

    .hero-content h1{
        max-width:96% !important;
        margin-top:12px !important;
        font-size:clamp(38px,11vw,56px) !important;
        line-height:.98 !important;
        letter-spacing:-.045em !important;
    }

    .hero-description{
        max-width:96% !important;
        margin-top:16px !important;
        font-size:14px !important;
        line-height:1.65 !important;
    }

    .hero-actions{
        display:grid !important;
        grid-template-columns:1fr !important;
        gap:9px !important;
        width:100% !important;
        margin-top:21px !important;
    }

    .hero-actions .button,
    .hero-actions .sefton-pwa-install{
        width:100% !important;
        min-height:51px !important;
        box-sizing:border-box;
        border-radius:10px !important;
    }

    .hero-actions .text-link{
        min-height:42px;
        display:flex !important;
        align-items:center;
        justify-content:center;
    }

    .hero-assurance{
        display:grid !important;
        grid-template-columns:1fr !important;
        gap:7px !important;
        margin-top:18px !important;
    }

    .hero-assurance span{
        min-height:38px;
        padding:0 11px;
        border:1px solid rgba(255,255,255,.12);
        border-radius:10px;
        background:rgba(6,24,32,.24);
        font-size:10px !important;
    }

    .hero-assurance .classic-svg{
        width:17px !important;
        height:17px !important;
        color:#e3bf62;
    }

    /* Keep the hero information card compact on mobile. */
    .hero-world-card{
        margin-top:12px !important;
        padding:17px !important;
        border-radius:16px !important;
    }

    .hero-world-card h3{
        font-size:23px !important;
        line-height:1.08 !important;
    }

    .hero-world-card > p:not(.eyebrow){
        font-size:11px !important;
        line-height:1.55 !important;
    }

    .hero-status-grid{
        gap:6px !important;
    }

    .hero-status-grid span{
        min-width:0;
        padding:8px 5px !important;
    }

    /* ---------------- MOBILE SHORTCUTS ---------------- */
    .mobile-home-shortcuts{
        display:grid;
        grid-template-columns:repeat(4,minmax(0,1fr));
        gap:8px;
        padding:14px 12px;
        border-bottom:1px solid #edf0f1;
        background:#fff;
    }

    .mobile-home-shortcuts a{
        min-width:0;
        min-height:82px;
        padding:9px 5px;
        border:1px solid #e5eaeb;
        border-radius:14px;
        display:flex;
        flex-direction:column;
        align-items:center;
        justify-content:center;
        gap:7px;
        background:linear-gradient(180deg,#fff,#fbfcfc);
        color:#17323d;
        text-decoration:none;
        box-shadow:0 7px 18px rgba(15,41,53,.04);
    }

    .mobile-home-shortcuts .shortcut-icon{
        width:40px;
        height:40px;
        border-radius:12px;
        display:grid;
        place-items:center;
        color:#97171e;
        background:
            radial-gradient(circle at 85% 10%,rgba(217,177,84,.25),transparent 35%),
            #f8e9ea;
    }

    .mobile-home-shortcuts .shortcut-icon .classic-svg{
        width:21px;
        height:21px;
    }

    .mobile-home-shortcuts strong{
        max-width:100%;
        overflow:hidden;
        text-overflow:ellipsis;
        white-space:nowrap;
        font-size:9px;
        font-weight:800;
    }

    /* ---------------- ACCOUNT STRIP ---------------- */
    .premium-account-strip{
        margin:12px !important;
        padding:17px 15px !important;
        border-radius:15px !important;
        grid-template-columns:45px minmax(0,1fr) !important;
        gap:12px !important;
    }

    .premium-account-strip .square-icon{
        width:44px !important;
        height:44px !important;
        border-radius:13px !important;
        display:grid !important;
        place-items:center !important;
        background:linear-gradient(145deg,#94171e,#b9232c) !important;
        color:#fff !important;
        font-size:0 !important;
    }

    .premium-account-strip .square-icon .classic-svg{
        width:21px;
        height:21px;
    }

    .premium-account-strip .account-mini-proof,
    .premium-account-strip > .button{
        grid-column:1/-1;
        width:100% !important;
        box-sizing:border-box;
    }

    /* ---------------- STAT / PROOF CARDS ---------------- */
    .confidence-ribbon{
        display:flex !important;
        gap:10px !important;
        overflow-x:auto !important;
        scroll-snap-type:x mandatory;
        scrollbar-width:none;
        padding:14px 12px !important;
    }

    .confidence-ribbon::-webkit-scrollbar{
        display:none;
    }

    .confidence-ribbon article{
        flex:0 0 70%;
        min-width:0;
        scroll-snap-align:start;
        border-radius:15px !important;
    }

    .confidence-icon{
        width:44px !important;
        height:44px !important;
        border-radius:13px !important;
        display:grid !important;
        place-items:center !important;
        color:#95171e !important;
        background:#f7e8e9 !important;
    }

    .confidence-icon .classic-svg{
        width:22px !important;
        height:22px !important;
    }

    .home-proof-strip{
        display:flex !important;
        gap:10px !important;
        overflow-x:auto !important;
        scroll-snap-type:x mandatory;
        scrollbar-width:none;
        padding:14px 12px !important;
    }

    .home-proof-strip::-webkit-scrollbar{
        display:none;
    }

    .home-proof-strip article{
        flex:0 0 84%;
        scroll-snap-align:start;
        padding:18px !important;
        border-radius:15px !important;
    }

    .home-proof-strip > article > span{
        width:46px !important;
        height:46px !important;
        flex:0 0 46px !important;
        display:grid !important;
        place-items:center !important;
        border-radius:14px !important;
        color:#95171e !important;
        background:#f8e9ea !important;
    }

    /* ---------------- MEMBER BAND ---------------- */
    .premium-member-band{
        margin:13px 12px !important;
        padding:18px 15px !important;
        border-radius:15px !important;
    }

    .premium-member-band > span{
        display:flex !important;
        align-items:center;
        gap:7px;
    }

    .premium-member-band .member-band-icon{
        width:23px;
        height:23px;
        display:grid;
        place-items:center;
        color:#e1bd60;
    }

    .premium-member-band .member-band-icon .classic-svg{
        width:17px;
        height:17px;
    }

    /* ---------------- SERVICES ---------------- */
    .section{
        padding-top:48px !important;
        padding-bottom:48px !important;
    }

    .section-heading{
        margin-bottom:24px !important;
    }

    .section-heading h2{
        font-size:clamp(31px,9vw,42px) !important;
        line-height:1.04 !important;
    }

    .service-grid{
        gap:10px !important;
    }

    .service-card{
        min-height:auto !important;
        padding:16px !important;
        border-radius:15px !important;
        display:grid !important;
        grid-template-columns:48px minmax(0,1fr) !important;
        gap:13px !important;
        align-items:start !important;
        box-shadow:0 9px 24px rgba(15,41,53,.05) !important;
    }

    .service-emoji{
        width:46px !important;
        height:46px !important;
        margin:0 !important;
        border-radius:14px !important;
        display:grid !important;
        place-items:center !important;
        color:#94171e !important;
        background:
            radial-gradient(circle at 85% 10%,rgba(217,177,84,.23),transparent 35%),
            #f7e8e9 !important;
    }

    .service-emoji .classic-svg{
        width:23px !important;
        height:23px !important;
    }

    .service-card h3{
        margin:4px 0 0 !important;
        font-size:20px !important;
        line-height:1.08 !important;
    }

    .service-card p{
        margin-top:7px !important;
        font-size:11px !important;
        line-height:1.55 !important;
    }

    .service-card .explore{
        margin-top:11px !important;
    }

    /* ---------------- BANKING EXPERIENCE ---------------- */
    .home-banking-experience-grid{
        display:flex !important;
        gap:10px !important;
        overflow-x:auto !important;
        scroll-snap-type:x mandatory;
        scrollbar-width:none;
        padding-bottom:5px;
    }

    .home-banking-experience-grid::-webkit-scrollbar{
        display:none;
    }

    .experience-card{
        flex:0 0 86%;
        scroll-snap-align:start;
        border-radius:16px !important;
    }

    .experience-icon{
        width:47px !important;
        height:47px !important;
        border-radius:14px !important;
        display:grid !important;
        place-items:center !important;
        color:#96171e !important;
        background:#f8e9ea !important;
    }

    .experience-icon .classic-svg{
        width:23px !important;
        height:23px !important;
    }

    /* ---------------- GLOBAL EXPERIENCE ---------------- */
    .global-pin{
        width:10px !important;
        height:10px !important;
        overflow:hidden;
        border-radius:50% !important;
        color:transparent !important;
        background:#d8af55 !important;
        box-shadow:0 0 0 5px rgba(216,175,85,.13);
    }

    /* Founder / story icon presentation */
    .founder-copy-icon,
    .story-point-icon,
    .value-card .square-icon,
    .classic-vision .service-emoji,
    .classic-insights .service-emoji{
        border-radius:13px !important;
        color:#95171e !important;
        background:#f7e8e9 !important;
    }

    /* PWA v53 stays intact, just improve its button on mobile. */
    .sefton-pwa-install.is-visible{
        display:flex !important;
        width:100% !important;
        min-height:51px !important;
        border-radius:10px !important;
    }
}

@media(max-width:390px){
    .mobile-home-shortcuts{
        gap:6px;
        padding-left:9px;
        padding-right:9px;
    }

    .mobile-home-shortcuts a{
        min-height:76px;
    }

    .mobile-home-shortcuts .shortcut-icon{
        width:37px;
        height:37px;
    }

    .mobile-home-shortcuts strong{
        font-size:8px;
    }

    .confidence-ribbon article{
        flex-basis:78%;
    }

    .home-proof-strip article{
        flex-basis:90%;
    }

    .experience-card{
        flex-basis:91%;
    }
}
