/* ==========================================================
   YomRide public/home footer v30
   Isolated from account pages and the approved homepage header.
   ========================================================== */

.yr30-newsletter,
.yr30-footer{
    --yr30-green:#79df1c;
    --yr30-green-2:#55c915;
    --yr30-deep:#06150f;
    --yr30-deep-2:#0b2117;
    --yr30-line:rgba(255,255,255,.11);
    --yr30-muted:#aebbb4;
    font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

.yr30-newsletter{
    background:#f4f8f5;
    padding:42px 4.5vw;
}

.yr30-newsletter__inner{
    max-width:1450px;
    margin:0 auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:34px;
    padding:28px 30px;
    border:1px solid #dfe9e3;
    border-radius:24px;
    background:#fff;
    box-shadow:0 16px 50px rgba(9,35,22,.06);
}

.yr30-footer-kicker{
    display:inline-block;
    color:#3d9614;
    font-size:10px;
    font-weight:900;
    letter-spacing:.08em;
}

.yr30-newsletter h2{
    margin:7px 0 5px;
    color:#08150f;
    font-size:26px;
    line-height:1.08;
    font-weight:900;
    letter-spacing:-.04em;
}

.yr30-newsletter p{
    margin:0;
    color:#718078;
    font-size:12px;
}

.yr30-newsletter__form{
    width:min(520px,100%);
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:8px;
    padding:6px;
    border:1px solid #dce7e1;
    border-radius:16px;
    background:#f7faf8;
}

.yr30-newsletter__form input{
    min-width:0;
    min-height:47px;
    padding:0 14px;
    border:0;
    outline:0;
    background:transparent;
    color:#0b1711;
    font-size:12px;
}

.yr30-newsletter__form button{
    min-height:47px;
    padding:0 22px;
    border:0;
    border-radius:12px;
    background:linear-gradient(135deg,var(--yr30-green),var(--yr30-green-2));
    color:#07120c;
    font-size:11px;
    font-weight:900;
    cursor:pointer;
}

.yr30-footer{
    position:relative;
    overflow:hidden;
    background:
        radial-gradient(circle at 78% 18%,rgba(75,183,47,.20),transparent 30%),
        linear-gradient(135deg,#04130d 0%,#071b12 52%,#0d2c1c 100%);
    color:#fff;
}

.yr30-footer__glow{
    position:absolute;
    width:460px;
    height:460px;
    right:-150px;
    top:-220px;
    border-radius:50%;
    background:rgba(121,223,28,.08);
    filter:blur(2px);
    pointer-events:none;
}

.yr30-footer__main{
    position:relative;
    z-index:1;
    max-width:1450px;
    margin:0 auto;
    padding:60px 4.5vw 48px;
    display:grid;
    grid-template-columns:minmax(260px,1.45fr) repeat(4,minmax(140px,1fr));
    gap:42px;
}

.yr30-footer__logo{
    display:inline-flex;
    align-items:center;
    gap:12px;
    color:#fff!important;
    text-decoration:none!important;
}

.yr30-footer__logo-box,
.yr30-footer__logo-mark{
    width:48px;
    height:48px;
    border-radius:14px;
    display:grid;
    place-items:center;
    overflow:hidden;
    background:#fff;
    box-shadow:0 8px 25px rgba(0,0,0,.16);
}

.yr30-footer__logo-box img{
    width:100%;
    height:100%;
    object-fit:contain;
}

.yr30-footer__logo-mark{
    color:#123a22;
    font-size:22px;
    font-weight:950;
}

.yr30-footer__logo>strong{
    font-size:20px;
    font-weight:900;
}

.yr30-footer__brand>p{
    max-width:340px;
    margin:18px 0;
    color:var(--yr30-muted);
    font-size:12px;
    line-height:1.7;
}

.yr30-footer__trust{
    display:flex;
    flex-wrap:wrap;
    gap:7px;
    margin-bottom:20px;
}

.yr30-footer__trust>span{
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:7px 9px;
    border:1px solid var(--yr30-line);
    border-radius:999px;
    background:rgba(255,255,255,.035);
    color:#dfe9e3;
    font-size:9px;
    font-weight:750;
}

.yr30-footer__trust i{
    width:17px;
    height:17px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:rgba(121,223,28,.16);
    color:var(--yr30-green);
    font-style:normal;
}

.yr30-footer__support{
    max-width:330px;
    display:grid;
    grid-template-columns:42px minmax(0,1fr) auto;
    gap:11px;
    align-items:center;
    padding:11px;
    border:1px solid var(--yr30-line);
    border-radius:15px;
    background:rgba(255,255,255,.045);
    color:#fff!important;
    text-decoration:none!important;
    transition:.18s ease;
}

.yr30-footer__support:hover{
    transform:translateY(-1px);
    border-color:rgba(121,223,28,.34);
    background:rgba(121,223,28,.07);
}

.yr30-footer__support-icon{
    width:42px;
    height:42px;
    display:grid;
    place-items:center;
    border-radius:12px;
    background:rgba(121,223,28,.12);
    color:var(--yr30-green);
    font-size:20px;
}

.yr30-footer__support strong,
.yr30-footer__support small{
    display:block;
}

.yr30-footer__support strong{
    font-size:10px;
}

.yr30-footer__support small{
    margin-top:2px;
    color:var(--yr30-muted);
    font-size:8px;
}

.yr30-footer__support>b{
    color:var(--yr30-green);
    font-size:16px;
}

.yr30-footer__column h3{
    margin:4px 0 18px;
    color:#fff;
    font-size:12px;
    font-weight:900;
}

.yr30-footer__column>a:not(.yr30-app-link){
    display:block;
    width:max-content;
    max-width:100%;
    margin-bottom:12px;
    color:#aebbb4!important;
    font-size:10px;
    line-height:1.3;
    text-decoration:none!important;
    transition:.15s ease;
}

.yr30-footer__column>a:not(.yr30-app-link):hover{
    color:var(--yr30-green)!important;
    transform:translateX(2px);
}

.yr30-footer__apps>p{
    margin:-7px 0 12px;
    color:var(--yr30-muted);
    font-size:9px;
    line-height:1.45;
}

.yr30-app-link{
    display:flex!important;
    align-items:center;
    gap:9px;
    margin-bottom:8px;
    padding:9px 10px;
    border:1px solid var(--yr30-line);
    border-radius:12px;
    background:rgba(255,255,255,.05);
    color:#fff!important;
    text-decoration:none!important;
}

.yr30-app-link:hover{
    border-color:rgba(121,223,28,.32);
    background:rgba(121,223,28,.07);
}

.yr30-app-link img{
    width:25px;
    height:25px;
    object-fit:contain;
}

.yr30-app-link span,
.yr30-app-link small,
.yr30-app-link strong{
    display:block;
}

.yr30-app-link small{
    color:#aab8b0;
    font-size:6px;
    font-weight:800;
}

.yr30-app-link strong{
    margin-top:1px;
    font-size:9px;
}

.yr30-footer__app-note{
    color:#94a49b;
    font-size:9px;
}

.yr30-footer__bottom{
    position:relative;
    z-index:1;
    min-height:64px;
    max-width:1450px;
    margin:0 auto;
    padding:16px 4.5vw;
    border-top:1px solid var(--yr30-line);
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
}

.yr30-footer__legal{
    display:flex;
    align-items:center;
    gap:16px;
    flex-wrap:wrap;
}

.yr30-footer__legal span,
.yr30-footer__legal a{
    color:#91a098!important;
    font-size:8px;
    text-decoration:none!important;
}

.yr30-footer__legal a:hover{
    color:var(--yr30-green)!important;
}

.yr30-footer__social{
    display:flex;
    gap:7px;
}

.yr30-footer__social a{
    width:34px;
    height:34px;
    display:grid;
    place-items:center;
    border:1px solid var(--yr30-line);
    border-radius:10px;
    background:rgba(255,255,255,.035);
    color:#dce7e0!important;
    text-decoration:none!important;
    transition:.15s ease;
}

.yr30-footer__social a:hover{
    border-color:rgba(121,223,28,.38);
    background:var(--yr30-green);
    color:#07140d!important;
}

@media(max-width:1100px){
    .yr30-footer__main{
        grid-template-columns:minmax(240px,1.4fr) repeat(2,1fr);
        gap:34px 26px;
    }

    .yr30-footer__brand{
        grid-row:span 2;
    }
}

@media(max-width:760px){
    .yr30-newsletter{
        padding:26px 14px;
    }

    .yr30-newsletter__inner{
        display:block;
        padding:20px;
        border-radius:19px;
    }

    .yr30-newsletter h2{
        font-size:21px;
    }

    .yr30-newsletter p{
        font-size:10px;
    }

    .yr30-newsletter__form{
        width:100%;
        margin-top:16px;
    }

    .yr30-footer__main{
        padding:40px 18px 32px;
        grid-template-columns:1fr 1fr;
        gap:31px 20px;
    }

    .yr30-footer__brand{
        grid-column:1/-1;
        grid-row:auto;
    }

    .yr30-footer__apps{
        grid-column:1/-1;
        display:grid;
        grid-template-columns:1fr 1fr;
        gap:8px;
    }

    .yr30-footer__apps h3,
    .yr30-footer__apps p,
    .yr30-footer__apps .yr30-footer__app-note{
        grid-column:1/-1;
    }

    .yr30-app-link{
        margin:0;
    }

    .yr30-footer__bottom{
        padding:16px 18px;
        align-items:flex-start;
        flex-direction:column;
    }
}

@media(max-width:480px){
    .yr30-newsletter__form{
        grid-template-columns:1fr;
        padding:7px;
    }

    .yr30-newsletter__form button{
        width:100%;
    }

    .yr30-footer__main{
        grid-template-columns:1fr 1fr;
        gap:28px 16px;
        padding-top:34px;
    }

    .yr30-footer__column h3{
        font-size:11px;
    }

    .yr30-footer__column>a:not(.yr30-app-link){
        font-size:9px;
        margin-bottom:10px;
    }

    .yr30-footer__apps{
        grid-template-columns:1fr;
    }

    .yr30-footer__apps h3,
    .yr30-footer__apps p{
        grid-column:auto;
    }

    .yr30-footer__logo-box,
    .yr30-footer__logo-mark{
        width:44px;
        height:44px;
    }

    .yr30-footer__logo>strong{
        font-size:18px;
    }
}
