
/* =========================================
   QUANTEX ANALYTICS - RATE CARD
========================================= */

.rate-hero {
    position: relative;
    overflow: hidden;
    padding: 85px 0;
    color: white;
    background:
        radial-gradient(circle at 85% 10%, rgba(18,184,166,.18), transparent 32%),
        var(--navy);
}

.rate-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 75px;
    align-items: center;
}

.rate-hero h1 {
    max-width: 720px;
    color: white;
    margin-bottom: 23px;
}

.rate-hero-grid > div:first-child > p {
    max-width: 650px;
    color: #c7d5e5;
    line-height: 1.9;
}

.rate-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 30px;
}

.rate-hero-note {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 25px;
    color: #d2deea;
    font-size: .82rem;
}

.rate-hero-card {
    padding: 35px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 13px;
    background: rgba(255,255,255,.07);
    backdrop-filter: blur(12px);
}

.rate-document-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-bottom: 24px;
    border-radius: 10px;
    color: var(--teal);
    background: rgba(18,184,166,.14);
    font-size: 2rem;
}

.rate-hero-card .rate-label {
    display: block;
    margin-bottom: 12px;
    color: #6ce5d6;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.rate-hero-card h2 {
    color: white;
    font-size: 1.75rem;
    letter-spacing: -.5px;
}

.rate-hero-card h3 {
    margin-top: 8px;
    color: #c5d4e4;
    font-size: 1rem;
    font-weight: 500;
}

.document-divider {
    height: 1px;
    margin: 25px 0;
    background: rgba(255,255,255,.16);
}

.document-detail {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-bottom: 18px;
}

.document-detail span {
    color: #a9bacd;
    font-size: .78rem;
}

.document-detail strong {
    color: white;
    font-size: .92rem;
}

.document-disclaimer {
    margin-top: 25px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.16);
    color: #bdcad9;
    font-size: .76rem;
    line-height: 1.8;
}

/* INTRODUCTION */

.pricing-intro {
    background: #f5f8fb;
}

.pricing-heading {
    max-width: 790px;
    margin: 0 auto 35px;
    text-align: center;
}

.pricing-heading h2 {
    margin-bottom: 18px;
}

.pricing-heading > p {
    line-height: 1.9;
}

.pricing-notice {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    max-width: 950px;
    margin: 0 auto 65px;
    padding: 22px;
    border: 1px solid #b8e7df;
    border-radius: 9px;
    background: #eaf9f6;
}

.notice-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--teal-dark);
    color: white;
    font-weight: 800;
}

.pricing-notice strong {
    display: block;
    margin-bottom: 5px;
    color: var(--navy);
}

.pricing-notice p {
    font-size: .88rem;
    line-height: 1.8;
}

/* CATEGORY CARDS */

.rate-category {
    margin-bottom: 55px;
    padding: 32px;
    border: 1px solid #e0e7ef;
    border-radius: 12px;
    background: white;
    box-shadow: 0 8px 25px rgba(16,36,62,.035);
    scroll-margin-top: 105px;
}

.category-heading {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 27px;
}

.category-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 55px;
    height: 55px;
    border-radius: 10px;
    background: #e2f8f4;
    color: var(--teal-dark);
    font-size: 1.7rem;
    font-weight: 700;
}

.category-number {
    display: block;
    margin-bottom: 8px;
    color: var(--teal-dark);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.category-heading h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.category-heading p {
    font-size: .9rem;
    line-height: 1.8;
}

/* RATE TABLE */

.rate-table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #e3eaf1;
    border-radius: 8px;
}

.rate-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    text-align: left;
}

.rate-table th {
    padding: 16px 18px;
    background: #10243e;
    color: white;
    font-size: .77rem;
    font-weight: 700;
    letter-spacing: .2px;
    white-space: nowrap;
}

.rate-table td {
    padding: 17px 18px;
    border-bottom: 1px solid #e9eef4;
    color: #536277;
    font-size: .86rem;
    vertical-align: middle;
}

.rate-table tbody tr:last-child td {
    border-bottom: none;
}

.rate-table tbody tr:nth-child(even) {
    background: #f8fafc;
}

.rate-table tbody tr:hover {
    background: #eef9f7;
}

.rate-table td:first-child {
    min-width: 220px;
    color: var(--navy);
    font-weight: 600;
}

.rate-table td:nth-child(2) {
    min-width: 145px;
    white-space: nowrap;
}

.rate-table td:last-child {
    min-width: 175px;
    white-space: nowrap;
}

.rate-table td strong {
    color: var(--teal-dark);
    font-weight: 800;
}

/* QUOTATION TERMS */

.terms-section {
    background: white;
}

.terms-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 90px;
    align-items: start;
}

.terms-grid > div:first-child > p {
    margin-top: 22px;
    line-height: 1.9;
}

.terms-list {
    display: flex;
    flex-direction: column;
}

.term-item {
    display: flex;
    gap: 20px;
    padding: 23px 0;
    border-bottom: 1px solid #e4eaf1;
}

.term-item:first-child {
    padding-top: 0;
}

.term-item:last-child {
    border-bottom: none;
}

.term-item > span {
    color: var(--teal-dark);
    font-family: var(--font-heading);
    font-size: .9rem;
    font-weight: 800;
}

.term-item h3 {
    margin-bottom: 8px;
    font-size: 1rem;
}

.term-item p {
    font-size: .88rem;
    line-height: 1.8;
}

/* CUSTOM QUOTE FORM */

.custom-quote-section {
    background:
        radial-gradient(circle at 10% 90%, rgba(18,184,166,.13), transparent 32%),
        var(--navy);
}

.quote-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 80px;
    align-items: start;
}

.quote-copy {
    padding-top: 25px;
}

.quote-copy h2 {
    color: white;
    margin-bottom: 22px;
}

.quote-copy > p {
    color: #c5d3e2;
    line-height: 1.9;
    margin-bottom: 28px;
}

.quote-benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: #e2ebf4;
    font-size: .9rem;
}

.quote-benefit span {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(18,184,166,.18);
    color: #6ce5d6;
    font-weight: 800;
}

.quote-form {
    padding: 35px;
    border-radius: 12px;
    background: white;
    box-shadow: 0 20px 55px rgba(0,0,0,.13);
}

.quote-form > h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.quote-form > p {
    margin-bottom: 24px;
    font-size: .86rem;
    line-height: 1.8;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 19px;
}

.form-group label {
    color: var(--navy);
    font-size: .82rem;
    font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    min-height: 47px;
    padding: 12px 13px;
    border: 1px solid #d7e0e9;
    border-radius: 6px;
    background: #fbfcfe;
    color: var(--text);
    font: inherit;
    font-size: .88rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 125px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: 2px solid rgba(18,184,166,.25);
    border-color: var(--teal-dark);
}

.quote-submit {
    width: 100%;
    border: none;
    cursor: pointer;
}

.quote-form .form-disclaimer {
    margin-top: 15px;
    margin-bottom: 0;
    color: #738197;
    font-size: .75rem;
}

.quote-form .form-message {
    margin: 12px 0 0;
    font-size: .84rem;
}

/* PRINT / SAVE AS PDF */

@media print {
    @page {
        size: A4;
        margin: 14mm;
    }

    body {
        background: white !important;
        color: #17263b;
        font-size: 10pt;
    }

    .site-header,
    .rate-hero-actions,
    .rate-hero-note,
    .custom-quote-section,
    .site-footer,
    .cta-section,
    .terms-section,
    .slider-arrows,
    .menu-toggle {
        display: none !important;
    }

    .rate-hero {
        padding: 20px 0;
        background: white !important;
        color: #17263b;
    }

    .rate-hero h1,
    .rate-hero-card h2,
    .rate-hero-card h3 {
        color: #17263b;
    }

    .rate-hero-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .rate-hero-card {
        padding: 15px;
        border: 1px solid #cbd5e1;
        background: white;
    }

    .rate-hero-card .rate-label,
    .document-detail strong {
        color: #087f78;
    }

    .document-detail span,
    .document-disclaimer {
        color: #536277;
    }

    .section-padding,
    .pricing-intro {
        padding: 20px 0;
        background: white !important;
    }

    .pricing-heading {
        margin-bottom: 20px;
    }

    .pricing-notice {
        margin-bottom: 20px;
        padding: 12px;
        background: white;
    }

    .rate-category {
        margin-bottom: 20px;
        padding: 12px;
        box-shadow: none;
        break-inside: avoid;
    }

    .rate-table th {
        background: #e9eef4 !important;
        color: #10243e !important;
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }

    .rate-table th,
    .rate-table td {
        padding: 8px;
        font-size: 8pt;
    }

    .rate-table td:last-child,
    .rate-table td:nth-child(2) {
        white-space: normal;
    }

    .rate-table-wrap {
        overflow: visible;
    }

    .rate-table {
        min-width: 0;
    }

    a {
        text-decoration: none;
    }

    .rate-category,
    .rate-table tr {
        break-inside: avoid;
    }
}

/* TABLET */

@media (max-width: 900px) {
    .rate-hero-grid,
    .terms-grid,
    .quote-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .rate-hero-card {
        max-width: 550px;
    }

    .terms-grid {
        gap: 30px;
    }

    .quote-copy {
        padding-top: 0;
    }
}

/* MOBILE */

@media (max-width: 600px) {
    .rate-hero {
        padding: 60px 0;
    }

    .rate-hero h1 {
        font-size: 2.55rem;
        letter-spacing: -1px;
    }

    .rate-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .rate-hero-actions .btn {
        width: 100%;
    }

    .rate-hero-card {
        padding: 25px;
    }

    .pricing-heading {
        text-align: left;
    }

    .pricing-notice {
        padding: 16px;
    }

    .rate-category {
        padding: 18px;
        margin-bottom: 30px;
    }

    .category-heading {
        gap: 13px;
    }

    .category-icon {
        width: 43px;
        height: 43px;
        font-size: 1.4rem;
    }

    .category-heading h3 {
        font-size: 1.2rem;
    }

    .category-heading p {
        font-size: .83rem;
    }

    .rate-table {
        min-width: 570px;
    }

    .rate-table th,
    .rate-table td {
        padding: 13px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .quote-form {
        padding: 23px;
    }

    .quote-form > h3 {
        font-size: 1.3rem;
    }
}
