﻿/* ========================================
   CROWNLINE TERMS PAGE
   BLUE / WHITE / GOLD THEME
======================================== */

:root {
    --cl-blue: #0A2540;
    --cl-blue-dark: #071A2D;
    --cl-blue-light: #12395F;
    --cl-gold: #D4AF37;
    --cl-gold-dark: #B8941F;
    --cl-white: #FFFFFF;
    --cl-bg: #F5F7FA;
    --cl-text: #172033;
    --cl-muted: #687386;
    --cl-border: #E2E7ED;
}


/* ========================================
   TERMS HERO
======================================== */

.terms-hero {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: center;
    background: var(--cl-blue);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.terms-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(7, 26, 45, .94), rgba(10, 37, 64, .82) );
}

.terms-hero-content {
    position: relative;
    z-index: 1;
    color: #ffffff;
}


    /* ========================================
   HERO GOLD ACCENT
======================================== */

    .terms-hero-content::before {
        content: "";
        display: block;
        width: 55px;
        height: 4px;
        margin-bottom: 18px;
        background: var(--cl-gold);
        border-radius: 4px;
    }


/* ========================================
   HERO TITLE
======================================== */

.terms-hero h1 {
    margin: 0 0 12px;
    color: #ffffff !important;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.5px;
}

.terms-hero p {
    max-width: 650px;
    margin: 0;
    color: rgba(255, 255, 255, .82) !important;
    font-size: 16px;
    line-height: 1.7;
}


/* ========================================
   BREADCRUMB
======================================== */

.terms-breadcrumb {
    padding: 15px 0;
    background: #ffffff;
    border-bottom: 1px solid var(--cl-border);
}

    .terms-breadcrumb .container {
        display: flex;
        align-items: center;
        gap: 10px;
        color: var(--cl-muted);
        font-size: 13px;
    }

    .terms-breadcrumb a {
        color: var(--cl-blue) !important;
        text-decoration: none;
        font-weight: 600;
        transition: color .2s ease;
    }

        .terms-breadcrumb a:hover {
            color: var(--cl-gold-dark) !important;
        }

    .terms-breadcrumb span:last-child {
        color: var(--cl-muted);
    }


/* ========================================
   TERMS SECTION
======================================== */

.terms-section {
    padding: 75px 0 85px;
    background: var(--cl-bg);
}

.terms-wrapper {
    width: 100%;
    max-width: 950px;
    margin: 0 auto;
}


/* ========================================
   INTRO
======================================== */

.terms-intro {
    margin-bottom: 45px;
}

    .terms-intro .section-label {
        display: inline-block;
        margin-bottom: 10px;
        color: var(--cl-gold-dark) !important;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 1.8px;
        text-transform: uppercase;
    }

    .terms-intro h2 {
        margin: 0 0 15px;
        color: var(--cl-blue) !important;
        font-size: 34px;
        font-weight: 700;
        line-height: 1.25;
    }

    .terms-intro p {
        margin: 0;
        color: var(--cl-muted) !important;
        font-size: 15px;
        line-height: 1.8;
    }


/* ========================================
   TERMS ITEMS
======================================== */

.terms-item {
    position: relative;
    padding: 28px 0;
    border-bottom: 1px solid #D9E0E8;
}

    .terms-item:first-of-type {
        border-top: 1px solid #D9E0E8;
    }


    /* ========================================
   TERMS TITLE
======================================== */

    .terms-item h3 {
        position: relative;
        margin: 0 0 14px;
        padding-bottom: 12px;
        color: var(--cl-blue) !important;
        font-size: 19px;
        font-weight: 700;
        line-height: 1.4;
    }


        /* ========================================
   GOLD ACCENT LINE
======================================== */

        .terms-item h3::after {
            content: "";
            display: block;
            width: 38px;
            height: 3px;
            margin-top: 10px;
            background: var(--cl-gold);
            border-radius: 3px;
        }


    /* ========================================
   TERMS TEXT
======================================== */

    .terms-item p {
        margin: 0;
        color: var(--cl-muted) !important;
        font-size: 14px;
        line-height: 1.85;
    }


    /* ========================================
   TERMS LISTS
======================================== */

    .terms-item ul,
    .terms-item ol {
        margin-top: 12px;
        margin-bottom: 0;
        padding-left: 22px;
        color: var(--cl-muted);
    }

    .terms-item li {
        margin-bottom: 8px;
        font-size: 14px;
        line-height: 1.75;
    }

        .terms-item li::marker {
            color: var(--cl-gold-dark);
        }


    /* ========================================
   LINKS
======================================== */

    .terms-item a {
        color: var(--cl-blue) !important;
        font-weight: 600;
        text-decoration: none;
    }

        .terms-item a:hover {
            color: var(--cl-gold-dark) !important;
            text-decoration: underline;
        }


/* ========================================
   CONTACT BOX
======================================== */

.terms-contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 55px;
    padding: 38px 40px;
    background: var(--cl-blue);
    color: #ffffff;
    border: 1px solid var(--cl-blue-light);
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(10, 37, 64, .16);
}


    /* ========================================
   CONTACT CONTENT
======================================== */

    .terms-contact span {
        color: var(--cl-gold) !important;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 1.7px;
        text-transform: uppercase;
    }

    .terms-contact h3 {
        margin: 8px 0;
        color: #ffffff !important;
        font-size: 24px;
        font-weight: 700;
    }

    .terms-contact p {
        margin: 0;
        color: rgba(255, 255, 255, .72) !important;
        line-height: 1.6;
    }


/* ========================================
   CONTACT BUTTON
======================================== */

.terms-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 24px;
    background: var(--cl-gold);
    color: var(--cl-blue) !important;
    border: 1px solid var(--cl-gold);
    border-radius: 6px;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

    .terms-contact-btn:hover {
        background: #ffffff;
        border-color: #ffffff;
        color: var(--cl-blue) !important;
        transform: translateY(-2px);
    }


/* ========================================
   TEXT SELECTION
======================================== */

.terms-section ::selection {
    background: var(--cl-gold);
    color: var(--cl-blue);
}


/* ========================================
   TABLET / MOBILE
======================================== */

@media (max-width: 768px) {

    .terms-hero {
        min-height: 260px;
        padding: 45px 0;
    }

        .terms-hero h1 {
            font-size: 34px;
        }

        .terms-hero p {
            font-size: 15px;
        }

    .terms-section {
        padding: 55px 0;
    }

    .terms-intro {
        margin-bottom: 35px;
    }

        .terms-intro h2 {
            font-size: 27px;
        }

    .terms-item {
        padding: 24px 0;
    }

        .terms-item h3 {
            font-size: 18px;
        }

        .terms-item p,
        .terms-item li {
            font-size: 14px;
        }

    .terms-contact {
        padding: 30px;
        flex-direction: column;
        align-items: flex-start;
    }

        .terms-contact h3 {
            font-size: 21px;
        }

    .terms-contact-btn {
        width: 100%;
    }
}


/* ========================================
   SMALL MOBILE
======================================== */

@media (max-width: 480px) {

    .terms-hero {
        min-height: 230px;
    }

        .terms-hero h1 {
            font-size: 29px;
        }

        .terms-hero p {
            font-size: 14px;
        }

    .terms-section {
        padding: 45px 0;
    }

    .terms-contact {
        padding: 25px 20px;
    }

        .terms-contact h3 {
            font-size: 20px;
        }
}
