/* ==========================================================
   HERO
========================================================== */

.terms-hero{
    padding:7rem 0;
    text-align:center;
    color:#fff;
    background:
    linear-gradient(rgba(0,0,0,.65),rgba(0,0,0,.65)),
    url("/static/images/backgrounds/terms.jpg");
    background-size:cover;
    background-position:center;
}

.terms-hero .container{
    max-width:850px;
}

.hero-badge{
    display:inline-flex;
    align-items:center;
    padding:.7rem 1.5rem;
    margin-bottom:1.5rem;
    border-radius:50px;
    background:rgba(255,255,255,.16);
    border:1px solid rgba(255,255,255,.22);
    backdrop-filter:blur(8px);
    color:#FFD166;
    font-weight:700;
}

.terms-hero h1{
    color:#fff;
    font-size:clamp(2.8rem,6vw,4.4rem);
    margin-bottom:1.5rem;
    text-shadow:0 5px 20px rgba(0,0,0,.35);
}

.terms-hero p{
    max-width:760px;
    margin:auto;
    color:#FFF8E8;
    line-height:1.9;
    font-size:1.08rem;
}

/* ==========================================================
   GENERAL
========================================================== */

.section{
    padding:5rem 0;
}

.terms-container{
    display:grid;
    grid-template-columns:280px 1fr;
    gap:2.5rem;
    align-items:start;
}

/* ==========================================================
   SIDEBAR
========================================================== */

.terms-sidebar{
    position:sticky;
    top:120px;
    background:#fff;
    border:1px solid var(--border);
    border-radius:18px;
    padding:2rem;
    box-shadow:0 15px 35px rgba(0,0,0,.05);
}

.terms-sidebar h3{
    margin-bottom:1.5rem;
    color:var(--primary);
}

.terms-sidebar ul{
    list-style:none;
    margin:0;
    padding:0;
}

.terms-sidebar li{
    margin-bottom:.75rem;
}

.terms-sidebar a{
    display:block;
    padding:.7rem .9rem;
    text-decoration:none;
    color:var(--text);
    border-radius:10px;
    transition:.3s;
}

.terms-sidebar a:hover{
    background:rgba(255,165,0,.08);
    color:var(--primary);
    padding-left:1.2rem;
}

/* ==========================================================
   CONTENT
========================================================== */

.terms-content{
    display:flex;
    flex-direction:column;
    gap:2rem;
}

.terms-content section{
    background:#fff;
    border:1px solid var(--border);
    border-radius:18px;
    padding:2.2rem;
    box-shadow:0 15px 35px rgba(0,0,0,.05);
}

.terms-content h2{
    color:var(--primary);
    margin-bottom:1rem;
    padding-bottom:.8rem;
    border-bottom:2px solid rgba(0,0,0,.05);
}

.terms-content p{
    color:var(--text);
    line-height:1.9;
    margin-bottom:1rem;
}

.terms-content ul{
    padding-left:1.5rem;
    margin-top:1rem;
}

.terms-content li{
    margin-bottom:.8rem;
    color:var(--text);
    line-height:1.8;
}

/* ==========================================================
   CALLOUT
========================================================== */

.terms-note{
    margin-top:1.5rem;
    padding:1.5rem;
    border-left:5px solid var(--primary);
    background:rgba(255,165,0,.08);
    border-radius:12px;
    line-height:1.8;
}

.contact-box{
    margin-top:1.5rem;
    padding:1.5rem;
    border-radius:12px;
    background:var(--surface);
    border:1px solid var(--border);
}

.contact-box p{
    margin-bottom:.8rem;
}

.contact-box p:last-child{
    margin-bottom:0;
}

/* ==========================================================
   CTA
========================================================== */

.terms-cta{
    padding:5rem 0;
    text-align:center;
    background:#111827;
}

.terms-cta h2{
    color:#fff;
    margin-bottom:1rem;
}

.terms-cta p{
    max-width:700px;
    margin:0 auto 2rem;
    color:rgba(255,255,255,.85);
    line-height:1.9;
}

.cta-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:1rem 2.5rem;
    background:var(--primary);
    color:#fff;
    text-decoration:none;
    border-radius:12px;
    font-weight:600;
    transition:.3s;
}

.cta-btn:hover{
    transform:translateY(-3px);
    filter:brightness(.95);
}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width:992px){

    .terms-container{
        grid-template-columns:1fr;
    }

    .terms-sidebar{
        position:relative;
        top:0;
    }

}

@media (max-width:768px){

    .terms-hero{
        padding:5rem 0;
    }

    .terms-sidebar,
    .terms-content section{
        padding:1.6rem;
    }

}

@media (max-width:576px){

    .section,
    .terms-cta{
        padding:4rem 0;
    }

    .terms-content h2{
        font-size:1.35rem;
    }

    .terms-sidebar a{
        padding:.6rem .8rem;
    }

}