/*    public_html/assets/css/terms.css    */
     
 
:root{
    --main:#0f766e;
    --main-dark:#0a4f4a;
    --main-soft:#dff7f4;
    --accent:#d7a62b;
    --dark:#081916;
    --text:#0b1720;
    --muted:#58655f;
    --line:#dbeae7;
    --border:#d9e8df;
    --white:#ffffff;
    --bg:#f5fbfa;
    --shadow:0 18px 45px rgba(10,34,25,.08);
    --shadow-soft:0 10px 30px rgba(10,34,25,.05);
}

*{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
    font-size:16px;
    -webkit-text-size-adjust:100%;
}

body.terms-page{
    margin:0;
    font-family:Tahoma, Arial, sans-serif;
    background:
        radial-gradient(circle at top right, rgba(18,120,93,.10), transparent 28%),
        linear-gradient(180deg, #f7fbf8 0%, #eef7f1 100%);
    color:var(--text);
    line-height:1.8;
    overflow-x:hidden;
}

body.terms-page a{
    color:inherit;
    text-decoration:none;
}

body.terms-page img{
    max-width:100%;
    display:block;
}

body.terms-page .container{
    width:100%;
    max-width:1240px;
    margin-inline:auto;
    padding-inline:16px;
}

.terms-page .legal-hero{
    padding:38px 0 24px;
}

.terms-page .legal-hero-grid{
    display:grid;
    grid-template-columns:.9fr 1.1fr;
    gap:26px;
    align-items:stretch;
    min-width:0;
}

.terms-page .hero-main,
.terms-page .hero-side{
    border-radius:34px;
    overflow:hidden;
    border:1px solid rgba(18,120,93,.10);
    box-shadow:var(--shadow);
    min-width:0;
}

.terms-page .hero-main{
    background:rgba(255,255,255,.94);
    padding:34px 38px;
    position:relative;
}

.terms-page .hero-main::before{
    content:"";
    position:absolute;
    width:220px;
    height:220px;
    top:-40px;
    left:-40px;
    border-radius:50%;
    background:radial-gradient(circle, rgba(18,120,93,.10), transparent 70%);
    pointer-events:none;
}

.terms-page .hero-badge{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:10px 18px;
    border:1px solid rgba(18,120,93,.18);
    background:#edf8f2;
    color:#0d5f49;
    border-radius:999px;
    font-size:14px;
    font-weight:800;
    margin-bottom:20px;
}

.terms-page .hero-main h1{
    font-size:clamp(38px, 5vw, 72px);
    line-height:1.02;
    font-weight:900;
    margin:0 0 18px;
    letter-spacing:-1px;
    color:var(--text);
}

.terms-page .hero-main h1 span{
    color:#12785d;
}

.terms-page .hero-main p{
    font-size:19px;
    color:var(--muted);
    line-height:2;
    margin:0;
}

.terms-page .hero-meta{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:16px;
    margin-top:28px;
}

.terms-page .meta-card{
    background:#fff;
    border:1px solid var(--border);
    border-radius:22px;
    padding:20px 22px;
    box-shadow:var(--shadow-soft);
    min-width:0;
}

.terms-page .meta-card strong{
    display:block;
    font-size:15px;
    margin-bottom:6px;
    color:var(--text);
}

.terms-page .meta-card span{
    color:var(--muted);
    font-size:18px;
}

.terms-page .hero-side{
    background:linear-gradient(180deg, #178a67 0%, #116b52 100%);
    color:#fff;
    padding:38px 28px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    position:relative;
}

.terms-page .hero-side::before{
    content:"";
    position:absolute;
    width:180px;
    height:180px;
    top:-40px;
    right:-50px;
    border-radius:50%;
    background:rgba(255,255,255,.08);
}

.terms-page .side-icon{
    width:96px;
    height:96px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:22px;
    font-size:40px;
    color:#fff;
    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.18);
}

.terms-page .hero-side h3{
    font-size:24px;
    font-weight:900;
    margin:0 0 10px;
}

.terms-page .hero-side p{
    font-size:18px;
    line-height:2;
    color:rgba(255,255,255,.95);
    max-width:420px;
    margin:0;
}

.terms-page .legal-page{
    padding:8px 0 60px;
}

.terms-page .legal-layout{
    display:grid;
    grid-template-columns:300px minmax(0, 1fr);
    gap:24px;
    align-items:start;
    min-width:0;
}

.terms-page .legal-sidebar{
    position:sticky;
    top:110px;
    min-width:0;
}

.terms-page .sidebar-card{
    background:rgba(255,255,255,.96);
    border:1px solid rgba(18,120,93,.10);
    border-radius:28px;
    padding:26px 22px;
    box-shadow:var(--shadow-soft);
}

.terms-page .sidebar-card h3{
    font-size:20px;
    font-weight:900;
    margin:0 0 18px;
    color:var(--text);
}

.terms-page .sidebar-card a{
    display:block;
    padding:12px 14px;
    margin-bottom:8px;
    border-radius:14px;
    font-size:15px;
    font-weight:700;
    color:var(--muted);
    transition:.25s ease;
    border:1px solid transparent;
}

.terms-page .sidebar-card a:hover{
    background:#edf8f2;
    color:#0d5f49;
    border-color:rgba(18,120,93,.10);
}

.terms-page .legal-content{
    display:grid;
    gap:18px;
    min-width:0;
}

.terms-page .legal-card{
    background:rgba(255,255,255,.96);
    border:1px solid rgba(18,120,93,.10);
    border-radius:28px;
    padding:28px;
    box-shadow:var(--shadow-soft);
    min-width:0;
}

.terms-page .legal-card h2{
    font-size:28px;
    line-height:1.3;
    margin:0 0 12px;
    font-weight:900;
    color:var(--text);
}

.terms-page .legal-card p{
    font-size:17px;
    color:var(--muted);
    line-height:2;
    margin:0;
}

.terms-page .legal-list{
    list-style:none;
    margin:14px 0 0;
    display:grid;
    gap:12px;
    padding:0;
}

.terms-page .legal-list li{
    position:relative;
    padding-right:28px;
    font-size:17px;
    color:var(--muted);
    line-height:1.9;
}

.terms-page .legal-list li::before{
    content:"";
    position:absolute;
    right:0;
    top:12px;
    width:12px;
    height:12px;
    border-radius:50%;
    background:linear-gradient(135deg, #12785d, #0d5f49);
    box-shadow:0 0 0 5px rgba(18,120,93,.10);
}

.terms-page .inline-link{
    color:#0d5f49;
    font-weight:800;
    border-bottom:1px dashed rgba(18,120,93,.30);
}

.terms-page .inline-link:hover{
    color:#12785d;
}

@media (max-width:1100px){
    .terms-page .legal-hero-grid{
        grid-template-columns:1fr;
    }

    .terms-page .legal-layout{
        grid-template-columns:1fr;
    }

    .terms-page .legal-sidebar{
        position:static;
    }
}

@media (max-width:768px){
    .terms-page .legal-hero{
        padding:24px 0 18px;
    }

    .terms-page .hero-main,
    .terms-page .hero-side,
    .terms-page .sidebar-card,
    .terms-page .legal-card{
        border-radius:22px;
    }

    .terms-page .hero-main{
        padding:24px 22px;
    }

    .terms-page .hero-side{
        padding:28px 22px;
    }

    .terms-page .hero-main h1{
        font-size:44px;
    }

    .terms-page .hero-main p,
    .terms-page .hero-side p,
    .terms-page .legal-card p,
    .terms-page .legal-list li{
        font-size:16px;
    }

    .terms-page .hero-meta{
        grid-template-columns:1fr;
    }

    .terms-page .legal-card{
        padding:22px 18px;
    }

    .terms-page .legal-card h2{
        font-size:23px;
    }
}