/* =========================================================
   SYARAT & KETENTUAN
========================================================= */

.terms-page {
    background: #f6f8f7;
    color: #17352f;
}

/* =========================================================
   HERO
========================================================= */

.terms-hero {
    position: relative;
    min-height: 460px;
    height: 460px;
    overflow: hidden;
    color: #ffffff;
}

.terms-hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.terms-hero-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
}

.terms-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            90deg,
            rgba(8, 38, 31, 0.82) 0%,
            rgba(8, 38, 31, 0.64) 42%,
            rgba(8, 38, 31, 0.28) 75%,
            rgba(8, 38, 31, 0.16) 100%
        );
}

.terms-hero-container {
    width: min(1180px, calc(100% - 48px));
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.terms-hero-content {
    width: 100%;
    max-width: 900px;
    padding: 50px 0;
}


/* =========================================================
   BREADCRUMB
========================================================= */

.terms-breadcrumb {
    margin-bottom: 25px;
}

.terms-breadcrumb ol {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
}

.terms-breadcrumb li {
    display: flex;
    align-items: center;
    gap: 9px;
}

.terms-breadcrumb a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    transition: color 0.2s ease;
}

.terms-breadcrumb a:hover {
    color: #01ff00;
}

.terms-breadcrumb span {
    color: rgba(255, 255, 255, 0.55);
}

.terms-breadcrumb li:last-child span {
    color: #ffffff;
    font-weight: 600;
}


/* =========================================================
   EYEBROW
========================================================= */

.terms-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: #ff6500;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.terms-hero-eyebrow::before {
    content: "";
    width: 32px;
    height: 3px;
    border-radius: 999px;
    background: #01ff00;
}


/* =========================================================
   HERO TITLE
========================================================= */

.terms-hero h1 {
    margin: 0;
    max-width: 850px;
    color: #ffffff;
    font-size: clamp(40px, 5vw, 60px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.035em;
}

.terms-hero-content > p {
    max-width: 820px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
    line-height: 1.75;
}

/* =========================================================
   CONTENT SECTION
========================================================= */

.terms-content-section {
    padding: 34px 0 90px;
    background: #f6f8f7;
}

.terms-container {
    width: min(1080px, calc(100% - 48px));
    margin: 0 auto;
}


/* =========================================================
   CONTENT CARD
========================================================= */

.terms-content {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(23, 53, 47, 0.06);
    border-radius: 24px;
    padding: 48px 58px 54px;
    box-shadow:
        0 15px 40px rgba(23, 53, 47, 0.06),
        0 2px 8px rgba(23, 53, 47, 0.025);
}


/* Aksen kecil di bagian atas card */
.terms-content::before {
    content: "";
    display: block;
    width: 48px;
    height: 4px;
    margin-bottom: 25px;
    border-radius: 999px;
    background: #01ff00;
}


/* =========================================================
   CMS TYPOGRAPHY
========================================================= */

.terms-content > *:first-child {
    margin-top: 0;
}

.terms-content > *:last-child {
    margin-bottom: 0;
}

.terms-content h2 {
    margin: 38px 0 16px;
    color: #17352f;
    font-size: 30px;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.terms-content h2:first-child {
    margin-top: 0;
}

.terms-content h3 {
    margin: 30px 0 13px;
    color: #23483f;
    font-size: 22px;
    line-height: 1.35;
    font-weight: 750;
}

.terms-content h4 {
    margin: 25px 0 10px;
    color: #23483f;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;
}

.terms-content p {
    margin: 0 0 18px;
    color: #4f6962;
    font-size: 16px;
    line-height: 1.85;
}

.terms-content strong {
    color: #17352f;
    font-weight: 700;
}

.terms-content em {
    color: #58716a;
}

.terms-content a {
    color: #e85d00;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.terms-content a:hover {
    color: #17352f;
}


/* =========================================================
   LIST
========================================================= */

.terms-content ul,
.terms-content ol {
    margin: 12px 0 24px;
    padding-left: 27px;
    color: #4f6962;
}

.terms-content li {
    margin-bottom: 10px;
    padding-left: 5px;
    font-size: 16px;
    line-height: 1.75;
}

.terms-content li::marker {
    color: #ff6500;
    font-weight: 700;
}


/* =========================================================
   BLOCKQUOTE
========================================================= */

.terms-content blockquote {
    margin: 28px 0;
    padding: 20px 24px;
    border-left: 4px solid #ff6500;
    border-radius: 0 12px 12px 0;
    background: #f7faf8;
    color: #49635b;
}

.terms-content blockquote p {
    margin-bottom: 0;
}


/* =========================================================
   TABLE
========================================================= */

.terms-content table {
    width: 100%;
    margin: 25px 0;
    border-collapse: collapse;
    border: 1px solid #e1e9e5;
}

.terms-content th,
.terms-content td {
    padding: 13px 15px;
    border: 1px solid #e1e9e5;
    text-align: left;
    vertical-align: top;
    font-size: 15px;
    line-height: 1.6;
}

.terms-content th {
    background: #f2f7f4;
    color: #17352f;
    font-weight: 700;
}

.terms-content td {
    color: #4f6962;
}


/* =========================================================
   CTA
========================================================= */

.terms-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    margin-top: 38px;
    padding: 35px 40px;
    border-radius: 22px;
    background:
        linear-gradient(
            135deg,
            #17352f 0%,
            #245047 100%
        );
    box-shadow: 0 18px 40px rgba(23, 53, 47, 0.14);
}

.terms-cta-content {
    max-width: 700px;
}

.terms-cta-eyebrow {
    display: inline-block;
    margin-bottom: 9px;
    color: #01ff00;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.terms-cta h2 {
    margin: 0;
    color: #ffffff;
    font-size: 28px;
    line-height: 1.25;
    font-weight: 800;
}

.terms-cta p {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    line-height: 1.7;
}

.terms-cta-action {
    flex-shrink: 0;
}

.terms-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 25px;
    border-radius: 999px;
    background: #ff6500;
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(255, 101, 0, 0.25);
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.terms-cta-button:hover {
    background: #e85d00;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(255, 101, 0, 0.3);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .terms-hero-container {
        min-height: 360px;
    }

    .terms-content {
        padding: 42px 40px;
    }

    .terms-cta {
        padding: 30px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .terms-hero-container,
    .terms-container {
        width: min(100% - 32px, 680px);
    }
    
    .terms-hero {
    min-height: 420px;
    height: 420px;
}

.terms-hero-container {
    min-height: 0;
}

    .terms-hero-content {
        padding: 42px 0 48px;
    }

    .terms-breadcrumb {
        margin-bottom: 22px;
    }

    .terms-breadcrumb ol {
        font-size: 13px;
        gap: 7px;
    }

    .terms-breadcrumb li {
        gap: 7px;
    }

    .terms-hero-eyebrow {
        margin-bottom: 12px;
        font-size: 11px;
    }

    .terms-hero-eyebrow::before {
        width: 26px;
        height: 2px;
    }

    .terms-hero h1 {
        font-size: 38px;
        line-height: 1.1;
    }

    .terms-hero-content > p {
        margin-top: 17px;
        font-size: 16px;
        line-height: 1.7;
    }

    .terms-content-section {
        padding: 40px 0 60px;
    }

    .terms-content {
        padding: 30px 23px;
        border-radius: 18px;
    }

    .terms-content h2 {
        margin-top: 30px;
        margin-bottom: 13px;
        font-size: 25px;
    }

    .terms-content h3 {
        margin-top: 25px;
        font-size: 20px;
    }

    .terms-content p {
        margin-bottom: 16px;
        font-size: 15px;
        line-height: 1.8;
    }

    .terms-content ul,
    .terms-content ol {
        padding-left: 23px;
    }

    .terms-content li {
        font-size: 15px;
        line-height: 1.7;
    }

    .terms-content table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .terms-cta {
        flex-direction: column;
        align-items: flex-start;
        gap: 23px;
        margin-top: 25px;
        padding: 28px 24px;
        border-radius: 18px;
    }

    .terms-cta h2 {
        font-size: 24px;
    }

    .terms-cta p {
        font-size: 14px;
    }

    .terms-cta-action {
        width: 100%;
    }

    .terms-cta-button {
        width: 100%;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .terms-hero-container,
    .terms-container {
        width: min(100% - 24px, 680px);
    }

    .terms-hero-content {
        padding: 34px 0 40px;
    }

    .terms-hero h1 {
        font-size: 33px;
    }

    .terms-content {
        padding: 25px 19px;
        border-radius: 16px;
    }

    .terms-content h2 {
        font-size: 23px;
    }

    .terms-content h3 {
        font-size: 19px;
    }

    .terms-content p,
    .terms-content li {
        font-size: 14.5px;
    }

    .terms-cta {
        padding: 25px 20px;
    }

}