﻿﻿﻿ /* ==========================================================================
   sCommon.css - Common styles for Mushata pages
   ========================================================================== */
/* ---- Local Font: Fraunces (headings) ---- */
@font-face {
    font-family: 'Fraunces';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/fraunces/fraunces-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Fraunces';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/fraunces/fraunces-600.woff2') format('woff2');
}

@font-face {
    font-family: 'Fraunces';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/fraunces/fraunces-700.woff2') format('woff2');
}

@font-face {
    font-family: 'Fraunces';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/fraunces/fraunces-italic-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Fraunces';
    font-style: italic;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/fraunces/fraunces-italic-600.woff2') format('woff2');
}

/* ---- Local Font: Source Sans 3 (body) ---- */
@font-face {
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/source-sans-3/source-sans-3-300.woff2') format('woff2');
}

@font-face {
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/source-sans-3/source-sans-3-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/source-sans-3/source-sans-3-500.woff2') format('woff2');
}

@font-face {
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/source-sans-3/source-sans-3-600.woff2') format('woff2');
}

@font-face {
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/source-sans-3/source-sans-3-700.woff2') format('woff2');
}

/* ---- reset & base ---- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ==========================================================================
   Terms Section
   ========================================================================== */
.terms-section {
    padding-top: 60px;
    padding-bottom: 40px;
    position: relative;
    background: #faf8f5;
    min-height: 100vh;
}

.terms-bg-wrapper {
    position: relative;
}

.terms-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 40px 20px 8px;
}

/* ---- headings ---- */
.terms-heading {
    text-align: left;
    padding: 4px 0 14px;
}

    .terms-heading h1,
    .terms-main-title {
        font-family: 'Fraunces', serif;
        font-weight: 700;
        font-size: 2.8rem;
        letter-spacing: 1.5px;
        color: #1e2b2b;
        margin-bottom: 0.15rem;
    }

/* override for the div-based title */
.terms-main-title {
    font-family: 'Fraunces', sans-serif !important;
    font-weight: 500 !important;
    font-size: 38px !important;
}

    .terms-heading h1 span,
    .terms-main-title span {
        color: #b8860b;
        font-style: italic;
    }

.terms-heading h3 {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 300;
    font-size: 1.35rem;
    letter-spacing: 1px;
    color: #556363;
    margin-top: 0.3rem;
}

    .terms-heading h3 strong {
        font-weight: 600;
        color: #b8860b;
        border-bottom: 2px solid #d4af37;
        padding-bottom: 2px;
    }

/* ---- content card ---- */
.terms-card {
    position: relative;
    background: #ffffff;
    border-radius: 18px;
    padding: 34px 38px 30px;
    box-shadow: 0 8px 24px -10px rgba(20,20,20,0.10);
    border: 1px solid #ece6d8;
    border-top: none;
    overflow: hidden;
    margin: 0px 0 6px;
}

    .terms-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #f3d98b, #d4af37 45%, #b8860b 100%);
    }

/* ---- body ---- */
.terms-body {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 18.5px;
    line-height: 1.85;
    color: #2f3d3d;
    text-align: justify;
    letter-spacing: 0.1px;
}

    .terms-body p {
        margin-bottom: 16px;
    }

    /* ---- bullet list ---- */
    .terms-body ul {
        list-style: none;
        padding: 0;
        margin: 18px 0 20px;
    }

        .terms-body ul li {
            position: relative;
            padding: 16px 0 16px 38px;
            border-bottom: 1px solid #f3efe9;
            font-family: 'Source Sans 3', sans-serif;
            font-size: 18px;
            line-height: 1.8;
            color: #2f3d3d;
        }

            .terms-body ul li:last-child {
                border-bottom: none;
            }

            .terms-body ul li::before {
                content: "\f058";
                font-family: "Font Awesome 6 Free";
                font-weight: 900;
                color: #b8860b;
                position: absolute;
                left: 0;
                top: 18px;
                font-size: 1.15rem;
                opacity: 0.9;
            }

/* ---- contact note ---- */
.terms-contact-note {
    text-align: left;
    font-weight: 700;
    font-size: 18.5px;
    color: #556363;
}

/* ---- bottom accent ---- */
.terms-footer {
    text-align: center;
    padding: 16px 0 6px;
    font-family: 'Fraunces', serif;
    font-weight: 400;
    font-size: 1.4rem;
    color: #4a5a5a;
    letter-spacing: .5px;
    border-top: 1px solid #e8e0d5;
    margin-top: 20px;
    width: 70%;
    margin-left: auto;
    margin-right: auto;
}

    .terms-footer i {
        color: #b8860b;
        margin-right: 8px;
    }

/* ==========================================================================
   Responsive tweaks
   ========================================================================== */
@media only screen and (max-width: 600px) {
    .terms-heading h1,
    .terms-main-title {
        font-size: 2rem;
    }

    .terms-main-title {
        font-size: 2rem !important;
    }

    .terms-heading h3 {
        font-size: 1.15rem;
    }

    .terms-card {
        padding: 24px 20px 22px;
        border-radius: 14px;
    }

    .terms-body {
        font-size: 16.5px;
    }

        .terms-body ul li {
            font-size: 16px;
            padding: 14px 0 14px 32px;
        }

            .terms-body ul li::before {
                top: 16px;
                font-size: 1.05rem;
            }

    .terms-footer {
        font-size: 1.2rem;
        width: 90%;
    }
}

@media only screen and (min-width: 600px) and (max-width: 992px) {
    .terms-card {
        padding: 28px 28px 26px;
    }
}


/* ==========================================================================
   FAQ Section (extends .terms-section / .terms-card / .terms-body)
   ========================================================================== */

/* ---- FAQ list wrapper ---- */
.faq-list {
    margin: 4px 0 8px;
}

/* ---- FAQ item ---- */
.faq-item {
    border-bottom: 1px solid #f3efe9;
}

    .faq-item:last-child {
        border-bottom: none;
    }

/* ---- FAQ question (clickable) ---- */
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 20px 0 20px 38px;
    position: relative;
    cursor: pointer;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 18.5px;
    font-weight: 600;
    color: #1e2b2b;
    letter-spacing: 0.1px;
    transition: color 0.2s ease;
    user-select: none;
}

    .faq-question::before {
        content: "\f059"; /* fa-circle-question */
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        color: #b8860b;
        position: absolute;
        left: 0;
        top: 21px;
        font-size: 1.15rem;
        opacity: 0.9;
    }

    .faq-question:hover {
        color: #b8860b;
    }

/* ---- chevron icon ---- */
.faq-icon {
    font-size: 0.95rem;
    color: #b8860b;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.faq-open .faq-icon {
    transform: rotate(180deg);
}

/* ---- FAQ answer (collapsed by default, slides down on open) ---- */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.faq-open .faq-answer {
    max-height: 1500px; /* generous ceiling for long answers */
}

/* ---- inner content wrapper (keeps padding out of the animated box) ---- */
.faq-answer-inner {
    padding: 0 0 20px 38px;
}

    .faq-answer-inner p {
        font-family: 'Source Sans 3', sans-serif;
        font-size: 18px;
        line-height: 1.8;
        color: #2f3d3d;
        margin: 0;
        text-align: justify;
    }

/* ---- FAQ answer bullet list ---- */
.faq-steps {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .faq-steps li {
        position: relative;
        padding: 8px 0 8px 28px;
        font-family: 'Source Sans 3', sans-serif;
        font-size: 18px;
        line-height: 1.8;
        color: #2f3d3d;
    }

        .faq-steps li::before {
            content: "\f0da"; /* fa-caret-right */
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            color: #b8860b;
            position: absolute;
            left: 0;
            top: 11px;
            font-size: 1.05rem;
            opacity: 0.85;
        }

/* ---- FAQ responsive ---- */
@media only screen and (max-width: 600px) {
    .faq-question {
        font-size: 16.5px;
        padding: 16px 0 16px 32px;
    }

        .faq-question::before {
            top: 17px;
            font-size: 1.05rem;
        }

    .faq-answer-inner {
        padding: 0 0 16px 32px;
    }

        .faq-answer-inner p,
        .faq-steps li {
            font-size: 16px;
        }
}


/* ==========================================================================
   Sitemap Section (extends .terms-section / .terms-container / .terms-heading)
   ========================================================================== */

/* ---- cards grid ---- */
.sitemap-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
    margin: 18px 0 6px;
    align-items: stretch;
}

/* ---- individual card (mirrors .terms-card styling) ---- */
.sitemap-card {
    position: relative;
    flex: 1 1 320px;
    max-width: 360px;
    background: #ffffff;
    border-radius: 18px;
    padding: 26px 24px 26px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 24px -10px rgba(20, 20, 20, 0.10);
    border: 1px solid #ece6d8;
    border-top: none;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

    .sitemap-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #f3d98b, #d4af37 45%, #b8860b 100%);
    }

    .sitemap-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px -16px rgba(184, 134, 11, 0.22);
        border-color: #d4af37;
    }

/* premium card accent */
.sitemap-card-premium {
    border-color: #d4af37;
}

/* ---- card badge ---- */
.card-badge {
    position: absolute;
    top: 24px;
    right: 18px;
    background: #b8860b;
    color: #fff;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1.2px;
    padding: 5px 14px;
    border-radius: 40px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(184, 134, 11, 0.25);
}

    .card-badge.badge-popular {
        background: #1e2b2b;
    }

    .card-badge.badge-special {
        background: #8b6b3d;
    }

/* ---- card header ---- */
.sitemap-header {
    text-align: center;
    padding: 30px 0 12px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    margin-bottom: 16px;
}

    .sitemap-header h5 {
        font-family: 'Fraunces', serif;
        font-weight: 500;
        font-size: 1.5rem;
        letter-spacing: 1.8px;
        color: #1e2b2b;
        margin: 0;
    }

    .sitemap-header .count {
        font-family: 'Source Sans 3', sans-serif;
        font-size: 0.95rem;
        font-weight: 400;
        color: #7a8a8a;
        letter-spacing: 1.2px;
        margin-top: 6px;
        text-transform: uppercase;
    }

/* ---- link list ---- */
.sitemap-list {
    list-style: none;
    padding: 0;
    margin: 0 0 8px;
    flex: 1;
}

    .sitemap-list li {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 11px 0;
        border-bottom: 1px solid #f3efe9;
        font-family: 'Source Sans 3', sans-serif;
        font-size: 1.15rem;
        font-weight: 400;
        color: #2f3d3d;
        letter-spacing: 0.2px;
    }

        .sitemap-list li:last-child {
            border-bottom: none;
        }

        .sitemap-list li i {
            color: #b8860b;
            font-size: 1.1rem;
            width: 24px;
            text-align: center;
            opacity: 0.9;
            flex-shrink: 0;
        }

        .sitemap-list li a {
            color: #1e2b2b;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.2s ease;
            flex: 1;
        }

            .sitemap-list li a:hover {
                color: #b8860b;
            }

/* ---- sitemap responsive ---- */
@media only screen and (max-width: 600px) {
    .sitemap-card {
        flex: 1 1 100%;
        max-width: 400px;
        margin: 0 auto;
        padding: 22px 20px 24px;
    }

    .sitemap-header h5 {
        font-size: 1.55rem;
    }

    .sitemap-list li {
        font-size: 1.05rem;
    }

    .sitemap-grid {
        gap: 18px;
    }
}

@media only screen and (min-width: 600px) and (max-width: 992px) {
    .sitemap-card {
        flex: 1 1 300px;
        max-width: 340px;
    }
}



/* ==========================================================================
   Payment Section (extends .terms-section / .terms-container)
   ========================================================================== */

/* ---- heading row (title left, meta right) ---- */
.payment-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
    padding-bottom: 12px;
    margin-bottom: 18px;
}

    .payment-heading h2 {
        font-family: 'Fraunces', serif;
        font-weight: 700;
        font-size: 2.1rem;
        color: #1e2b2b;
        letter-spacing: 0.5px;
        margin: 0;
    }

        .payment-heading h2 i {
            color: #b8860b;
            margin-right: 10px;
        }

    .payment-heading .sub-gold {
        font-family: 'Source Sans 3', sans-serif;
        font-weight: 400;
        color: #7a8a8a;
        font-size: 1.05rem;
        letter-spacing: 0.3px;
    }

        .payment-heading .sub-gold i {
            color: #b8860b;
            margin-right: 6px;
        }

/* ---- hint / info box ---- */
.hint-box {
    background: rgba(212, 175, 55, 0.04);
    border-left: 3px solid #d4af37;
    padding: 14px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    color: #3a4a4a;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1.05rem;
    line-height: 1.65;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
}

    .hint-box > i {
        color: #b8860b;
        font-size: 1.2rem;
        flex-shrink: 0;
    }

    .hint-box .hint-sub {
        opacity: 0.75;
        font-size: 1rem;
    }

    .hint-box .hint-chevron {
        font-size: 0.75rem;
        margin-right: 4px;
    }

    .hint-box .link-gold {
        color: #b8860b;
        font-weight: 500;
        text-decoration: none;
        border-bottom: 1px dashed #d4af37;
        padding-bottom: 2px;
        transition: color 0.2s ease, border-color 0.2s ease;
    }

        .hint-box .link-gold:hover {
            color: #8b6b3d;
            border-bottom-color: #8b6b3d;
        }

/* ---- summary cards ---- */
.summary-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 22px;
}

.summary-card {
    position: relative;
    flex: 1 1 170px;
    background: #ffffff;
    border-radius: 14px;
    padding: 16px 18px;
    box-shadow: 0 6px 18px -10px rgba(0, 0, 0, 0.08);
    border: 1px solid #ece6d8;
    border-top: none;
    overflow: hidden;
    transition: all 0.2s ease;
}

    .summary-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, #f3d98b, #d4af37 45%, #b8860b 100%);
    }

    .summary-card:hover {
        transform: translateY(-3px);
        border-color: #d4af37;
        box-shadow: 0 12px 26px -12px rgba(184, 134, 11, 0.16);
    }

    .summary-card .label {
        font-family: 'Source Sans 3', sans-serif;
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 1.2px;
        color: #8a9a9a;
        font-weight: 500;
    }

    .summary-card .value {
        font-family: 'Fraunces', serif;
        font-size: 1.85rem;
        font-weight: 700;
        color: #1e2b2b;
        margin-top: 3px;
        line-height: 1.2;
    }

        .summary-card .value small {
            font-family: 'Source Sans 3', sans-serif;
            font-size: 0.95rem;
            font-weight: 300;
            color: #7a8a8a;
            margin-left: 5px;
        }

        .summary-card .value .gold {
            color: #b8860b;
        }

        .summary-card .value.value-date {
            font-size: 1.5rem;
        }

        .summary-card .value.value-status {
            font-size: 1.3rem;
            color: #1e6b4a;
            font-family: 'Source Sans 3', sans-serif;
            font-weight: 600;
        }

            .summary-card .value.value-status i {
                color: #b8860b;
                font-size: 1.3rem;
                margin-right: 6px;
            }

/* ---- history table card ---- */
.history-card {
    position: relative;
    background: #ffffff;
    border-radius: 18px;
    padding: 22px 20px 24px;
    box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.07);
    border: 1px solid #ece6d8;
    border-top: none;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

    .history-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #f3d98b, #d4af37 45%, #b8860b 100%);
    }

    .history-card:hover {
        border-color: rgba(212, 175, 55, 0.3);
    }

    .history-card .card-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 8px;
        border-bottom: 1px solid #f0ebe3;
        padding-bottom: 12px;
        margin-bottom: 16px;
    }

        .history-card .card-header h4 {
            font-family: 'Fraunces', serif;
            font-weight: 600;
            font-size: 1.5rem;
            color: #1e2b2b;
            margin: 0;
        }

            .history-card .card-header h4 i {
                color: #b8860b;
                margin-right: 8px;
            }

        .history-card .card-header .badge-count {
            background: rgba(184, 134, 11, 0.08);
            color: #1e2b2b;
            padding: 4px 14px;
            border-radius: 40px;
            font-family: 'Source Sans 3', sans-serif;
            font-size: 0.88rem;
            font-weight: 500;
            letter-spacing: 0.3px;
            border: 1px solid rgba(212, 175, 55, 0.2);
        }

            .history-card .card-header .badge-count i {
                color: #b8860b;
                margin-right: 4px;
            }

/* ---- table scroll wrapper (replaces inline overflow-x) ---- */
.table-scroll {
    overflow-x: auto;
}

/* ---- table ---- */
.history-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1.05rem;
}

    .history-table thead th {
        font-weight: 600;
        color: #4a5a5a;
        letter-spacing: 0.4px;
        padding: 12px 8px;
        border-bottom: 1px solid #e8e0d5;
        text-align: center;
        font-size: 0.85rem;
        text-transform: uppercase;
    }

    .history-table tbody td {
        padding: 14px 8px;
        text-align: center;
        border-bottom: 1px solid #f3efe9;
        color: #1e2b2b;
        font-weight: 400;
    }

    .history-table tbody tr:last-child td {
        border-bottom: none;
    }

    .history-table tbody tr:hover {
        background: rgba(212, 175, 55, 0.03);
    }

/* ---- status badge ---- */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 15px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.2px;
    background: #e8f0e8;
    color: #1e6b4a;
}

    .status-badge i {
        font-size: 0.5rem;
        margin-right: 6px;
        color: currentColor;
    }

    .status-badge.active {
        background: #e3f0e8;
        color: #1e6b4a;
    }

    .status-badge.pending {
        background: #fdf0e0;
        color: #a67c2e;
    }

    .status-badge.expired {
        background: #f5e8e8;
        color: #a54a4a;
    }

/* ---- payment mode cell ---- */
.payment-mode {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

    .payment-mode i {
        color: #b8860b;
        font-size: 0.95rem;
        width: 18px;
    }

/* ---- history card footer ---- */
.history-footer {
    margin-top: 20px;
    border-top: 1px solid #f0ebe3;
    padding-top: 14px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    color: #7a8a8a;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.92rem;
}

    .history-footer i {
        color: #b8860b;
        margin-right: 4px;
    }

/* ---- payment responsive ---- */
@media only screen and (max-width: 700px) {
    .payment-heading h2 {
        font-size: 1.7rem;
    }

    .payment-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .summary-grid {
        gap: 10px;
    }

    .summary-card {
        flex: 1 1 130px;
        padding: 13px 14px;
    }

        .summary-card .value {
            font-size: 1.5rem;
        }

            .summary-card .value.value-date {
                font-size: 1.25rem;
            }

            .summary-card .value.value-status {
                font-size: 1.1rem;
            }

    .history-card {
        padding: 16px 12px 18px;
    }

    .history-table thead th,
    .history-table tbody td {
        padding: 10px 4px;
        font-size: 0.92rem;
    }

    .history-table {
        font-size: 0.92rem;
    }

    .status-badge {
        padding: 3px 12px;
        font-size: 0.78rem;
    }

    .payment-mode i {
        font-size: 0.85rem;
    }

    .hint-box {
        font-size: 0.98rem;
        padding: 12px 14px;
    }

        .hint-box .hint-sub {
            font-size: 0.9rem;
        }

    .history-footer {
        font-size: 0.85rem;
    }
}

/* ---- card-stacked table on very small screens ---- */
@media only screen and (max-width: 500px) {
    .history-table thead {
        display: none;
    }

    .history-table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 11px 6px;
        border-bottom: 1px solid #f0ebe3;
        text-align: right;
    }

        .history-table tbody td::before {
            content: attr(data-label);
            font-weight: 600;
            color: #4a5a5a;
            text-transform: uppercase;
            font-size: 0.78rem;
            letter-spacing: 0.4px;
        }

    .history-table tbody tr {
        display: block;
        margin-bottom: 10px;
        border: 1px solid #f0ebe3;
        border-radius: 14px;
        padding: 4px 10px;
        background: #fff;
    }

        .history-table tbody tr:last-child {
            margin-bottom: 0;
        }

    .history-table tbody td:last-child {
        border-bottom: none;
    }

    .payment-mode {
        justify-content: flex-end;
    }
}

/* ==========================================================================
   Membership / Plan Section (extends .terms-section / .terms-container)
   ========================================================================== */

/* ---- plan cards grid ---- */
.plan-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 18px 0 6px;
    align-items: stretch;
}

/* ---- individual plan card (matches .terms-card chrome) ---- */
.plan-card {
    position: relative;
    flex: 1 1 270px;
    max-width: 300px;
    background: #ffffff;
    border-radius: 18px;
    padding: 22px 20px 24px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 24px -10px rgba(20, 20, 20, 0.10);
    border: 1px solid #ece6d8;
    border-top: none;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

    .plan-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #f3d98b, #d4af37 45%, #b8860b 100%);
    }

    .plan-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px -16px rgba(184, 134, 11, 0.22);
        border-color: #d4af37;
    }

/* featured plan accent */
.plan-card-premium {
    border-color: #d4af37;
}

/* ---- plan card header ---- */
.plan-header {
    text-align: center;
    padding: 40px 0 10px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    margin-bottom: 14px;
}

    .plan-header h5 {
        font-family: 'Fraunces', serif;
        font-weight: 500;
        font-size: 1.5rem;
        letter-spacing: 1.5px;
        color: #1e2b2b;
        margin: 0;
    }

    .plan-header .price {
        font-family: 'Fraunces', serif;
        font-size: 2rem;
        font-weight: 400;
        color: #1e2b2b;
        letter-spacing: 0.5px;
        margin-top: 4px;
    }

        .plan-header .price small {
            font-family: 'Source Sans 3', sans-serif;
            font-size: 0.95rem;
            font-weight: 300;
            color: #7a8a8a;
            margin-left: 3px;
        }

/* ---- tagline ---- */
.plan-tagline {
    color: #b15e5e;
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    text-align: center;
    padding: 5px 0 12px;
    border-bottom: 1px dashed #e8e0d5;
    margin-bottom: 12px;
    letter-spacing: 0.2px;
}

    .plan-tagline i {
        color: #b8860b;
        margin-right: 6px;
    }

/* ---- feature list ---- */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    flex: 1;
}

    .feature-list li {
        display: flex;
        align-items: center;
        gap: 9px;
        padding: 9px 0;
        border-bottom: 1px solid #f3efe9;
        font-family: 'Source Sans 3', sans-serif;
        font-size: 1.05rem;
        font-weight: 400;
        color: #2f3d3d;
        letter-spacing: 0.1px;
        line-height: 1.55;
    }

        .feature-list li:last-child {
            border-bottom: none;
        }

        .feature-list li i {
            color: #b8860b;
            font-size: 1.05rem;
            width: 20px;
            text-align: center;
            opacity: 0.85;
            flex-shrink: 0;
        }

/* ---- luxury CTA button ---- */
.btn-luxury {
    width: 100%;
    border: 1.5px solid #b8860b;
    border-radius: 40px;
    padding: 11px 10px;
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1px;
    color: #1e2b2b;
    transition: all 0.2s ease;
    cursor: pointer;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
}

    .btn-luxury:hover {
        background: #b8860b;
        color: #fff;
        border-color: #b8860b;
        box-shadow: 0 8px 18px rgba(184, 134, 11, 0.25);
        transform: scale(1.015);
    }

/* ---- plan responsive ---- */
@media only screen and (max-width: 600px) {
    .plan-card {
        flex: 1 1 100%;
        max-width: 360px;
        margin: 0 auto;
        padding: 20px 18px 22px;
    }

    .plan-grid {
        gap: 16px;
    }

    .plan-header h5 {
        font-size: 1.35rem;
    }

    .plan-header .price {
        font-size: 1.8rem;
    }

    .plan-tagline {
        font-size: 0.95rem;
    }

    .feature-list li {
        font-size: 1rem;
    }
}

@media only screen and (min-width: 600px) and (max-width: 992px) {
    .plan-card {
        flex: 1 1 260px;
        max-width: 300px;
    }
}


/* ==========================================================================
   Contact Section (extends .terms-section / .terms-container / .terms-heading)
   ========================================================================== */

/* ---- contact card (mirrors .terms-card chrome) ---- */
.contact-card {
    position: relative;
    max-width: 640px;
    width: 100%;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 18px;
    padding: 2rem 2.2rem 2.2rem;
    box-shadow: 0 8px 24px -10px rgba(20, 20, 20, 0.10);
    border: 1px solid #ece6d8;
    border-top: none;
    overflow: hidden;
    transition: box-shadow 0.25s ease;
}

    .contact-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #f3d98b, #d4af37 45%, #b8860b 100%);
    }

    .contact-card:hover {
        box-shadow: 0 20px 40px -16px rgba(184, 134, 11, 0.22);
    }

/* ---- form header ---- */
.form-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
}

    .form-header i {
        font-size: 1.15rem;
        color: #b8860b;
        background: #faf3df;
        border: 1px solid #eddfb0;
        padding: 0.6rem;
        border-radius: 12px;
        line-height: 1;
    }

    .form-header h1 {
        font-family: 'Fraunces', serif;
        font-size: 1.7rem;
        font-weight: 600;
        letter-spacing: -0.01em;
        color: #1e2b2b;
        margin: 0;
    }

        .form-header h1 span {
            color: #b8860b;
            font-style: italic;
        }

/* ---- subhead ---- */
.subhead {
    color: #556363;
    margin-bottom: 1.4rem;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1.05rem;
    padding-left: 0.9rem;
    border-left: 2px solid #b8860b;
    line-height: 1.55;
}

/* ---- form groups ---- */
.form-group {
    margin-bottom: 1.05rem;
}

.contact-card label {
    display: block;
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.02em;
    color: #1e2b2b;
    margin-bottom: 0.35rem;
}

    .contact-card label i {
        margin-right: 6px;
        color: #b8860b;
        font-size: 0.9rem;
        width: 14px;
        text-align: center;
    }

.required {
    color: #b8860b;
    font-weight: 700;
    margin-left: 2px;
}

/* ---- inputs / textareas / selects ---- */
.contact-card input[type="text"],
.contact-card input[type="email"],
.contact-card input[type="tel"],
.contact-card textarea,
.contact-card select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1.05rem;
    font-family: 'Source Sans 3', sans-serif;
    background: #ffffff;
    border: 1.4px solid #ece6d8;
    border-radius: 10px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    color: #1e2b2b;
    box-sizing: border-box;
}

    .contact-card input:focus,
    .contact-card textarea:focus,
    .contact-card select:focus {
        outline: none;
        border-color: #b8860b;
        background: #ffffff;
        box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.15);
    }

    .contact-card input::placeholder,
    .contact-card textarea::placeholder {
        color: #a3a3a3;
        font-weight: 300;
    }

.contact-card textarea {
    resize: vertical;
    min-height: 120px;
}

/* ---- two-column row ---- */
.form-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

    .form-row .form-group {
        flex: 1 1 180px;
        margin-bottom: 1.05rem;
    }

/* ---- select styled with gold chevron ---- */
.contact-card select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23b8860b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    background-size: 16px;
    cursor: pointer;
    padding-right: 2.4rem;
}

/* ---- checkbox group ---- */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin: 0.9rem 0 0.4rem;
    flex-wrap: wrap;
}

    .checkbox-group input[type="checkbox"] {
        width: 18px;
        height: 18px;
        margin-top: 0.15rem;
        flex-shrink: 0;
        accent-color: #b8860b;
        border-radius: 4px;
        cursor: pointer;
    }

    .checkbox-group label {
        font-weight: 400;
        font-size: 1rem;
        color: #556363;
        margin-bottom: 0;
        display: inline;
    }

    .checkbox-group a {
        color: #b8860b;
        font-weight: 500;
        text-decoration: underline;
        text-underline-offset: 2px;
    }

        .checkbox-group a:hover {
            color: #8b6b3d;
        }

/* ---- submit button ---- */
.btn-submit {
    background: #1e2b2b;
    color: #f3d98b;
    border: 1px solid #1e2b2b;
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 0.9rem 1.6rem;
    border-radius: 10px;
    width: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
    margin-top: 0.7rem;
    letter-spacing: 0.5px;
}

    .btn-submit:hover {
        background: #22283a;
        color: #b8860b;
        border-color: #b8860b;
    }

    .btn-submit:active {
        transform: scale(0.985);
    }

/* ---- validation styles ---- */
.validation-summary {
    background: #fdf5f0;
    border: 1px solid #eab99a;
    color: #9a4a1f;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    margin-bottom: 1.1rem;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1rem;
}

    .validation-summary ul {
        margin: 0;
        padding-left: 1.3rem;
    }

.field-validation-error {
    color: #b3521f;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.9rem;
    display: block;
    margin-top: 0.25rem;
}

.contact-card input.input-validation-error,
.contact-card textarea.input-validation-error,
.contact-card select.input-validation-error {
    border-color: #d97a3f;
    background: #fdf7f2;
}

/* ---- success message ---- */
.success-message {
    background: #fbf6e6;
    border: 1px solid #d4af37;
    color: #6b5410;
    padding: 0.95rem 1.2rem;
    border-radius: 12px;
    text-align: center;
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 500;
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

    .success-message i {
        font-size: 1.2rem;
        margin-right: 0.4rem;
        color: #b8860b;
    }

/* ---- contact responsive ---- */
@media only screen and (max-width: 600px) {
    .contact-card {
        padding: 1.5rem 1.2rem 1.7rem;
        border-radius: 14px;
    }

    .form-header h1 {
        font-size: 1.45rem;
    }

    .subhead {
        font-size: 0.98rem;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

        .form-row .form-group {
            flex: 1 1 auto;
        }

    .btn-submit {
        font-size: 1rem;
    }
}

.btn-login {
    width: 100%;
    padding: 12px;
    background: lightseagreen;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

    .btn-login:hover {
        background: #45a049;
    }
