﻿.tgp-estimator-hero {
    padding: 170px 0 70px 0;
    background: linear-gradient(135deg, #fff8f8 0%, #ffffff 100%);
    border-bottom: 1px solid #f0f0f0;
}

.tgp-estimator-wrap {
    padding: 55px 0 80px 0;
}

.tgp-estimator-card {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    padding: 35px;
}

.tgp-demo-banner {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 24px;
    padding: 13px 16px;
    border: 1px solid #f1c66d;
    border-radius: 12px;
    background: #fff8e7;
    color: #6d4b08;
    font-size: 14px;
}

.tgp-demo-banner strong {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 999px;
    background: #8a5c00;
    color: #fff;
    font-size: 12px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.tgp-tracked-test-banner {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 24px;
    padding: 13px 16px;
    border: 1px solid #8fc8a2;
    border-radius: 12px;
    background: #eef9f1;
    color: #285b38;
    font-size: 14px;
}

.tgp-tracked-test-banner strong {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 999px;
    background: #347649;
    color: #fff;
    font-size: 12px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.tgp-estimator-kicker {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #d9232d;
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

.tgp-estimator-progress {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: #f1f1f1;
    overflow: hidden;
    margin: 20px 0 8px 0;
}

.tgp-estimator-progress-bar {
    height: 10px;
    background: linear-gradient(90deg, #d9232d 0%, #ff6a6a 100%);
    border-radius: 999px;
}

.tgp-estimator-progress-text {
    font-size: 14px;
    color: #666;
}

.tgp-question-title {
    font-size: 32px;
    line-height: 1.25;
    margin-bottom: 10px;
    font-weight: 700;
    color: #1a1a1a;
}

.tgp-question-help {
    font-size: 15px;
    color: #6f6f6f;
    margin-bottom: 25px;
}

.tgp-option-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.tgp-option-btn {
    display: block;
    width: 100%;
    text-align: left;
    border: 1px solid #e4e4e4;
    background: #fff;
    color: #222;
    border-radius: 14px;
    padding: 18px 20px;
    font-size: 17px;
    font-weight: 600;
    transition: all .18s ease;
}

    .tgp-option-btn:hover {
        border-color: #d9232d;
        background: #fff5f5;
        color: #d9232d;
    }

.tgp-multi-wrap {
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
}

    .tgp-multi-wrap table {
        display: block;
        width: 100%;
        border: 0 !important;
        border-collapse: separate;
        border-spacing: 0;
    }

    .tgp-multi-wrap tbody,
    .tgp-multi-wrap tr {
        display: block;
        width: 100%;
        border: 0 !important;
    }

    .tgp-multi-wrap td {
        display: flex;
        align-items: center;
        gap: 13px;
        width: 100%;
        padding: 16px 18px !important;
        border: 1px solid #e3e3e3 !important;
        border-radius: 12px;
        background: #fff;
        vertical-align: middle;
        font-size: 16px;
        color: #222;
        cursor: pointer;
        transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
    }

    .tgp-multi-wrap tr + tr td {
        margin-top: 10px;
    }

    .tgp-multi-wrap td:hover {
        border-color: #e89a9f !important;
        background: #fffafa;
        box-shadow: 0 5px 16px rgba(217, 35, 45, .06);
    }

    .tgp-multi-wrap input[type=checkbox] {
        flex: 0 0 auto;
        width: 21px;
        height: 21px;
        margin: 0 !important;
        accent-color: #d9232d;
        cursor: pointer;
    }

    .tgp-multi-wrap label {
        flex: 1 1 auto;
        margin: 0;
        color: #222;
        font-size: 16px;
        font-weight: 650;
        line-height: 1.35;
        cursor: pointer;
    }

    .tgp-multi-wrap td:has(input[type=checkbox]:checked) {
        border-color: #d9232d !important;
        background: #fff5f5;
        box-shadow: 0 6px 18px rgba(217, 35, 45, .08);
    }

    .tgp-multi-wrap td:has(input[type=checkbox]:checked) label {
        color: #b51d26;
    }

.tgp-btn-row {
    margin-top: 22px;
}

.tgp-flow-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    margin-top: 24px;
}

.tgp-flow-actions .tmp-btn {
    padding: 12px 22px;
}

.tgp-text-action {
    color: #666;
    font-size: 15px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.tgp-text-action:hover {
    color: #d9232d;
}

.tgp-results-actions {
    padding-top: 4px;
}

.tgp-lead-card {
    margin-top: 30px;
    padding: 30px;
    border: 1px solid #eadfe0;
    border-radius: 18px;
    background: linear-gradient(135deg, #fff9f9 0%, #fff 70%);
    box-shadow: 0 10px 28px rgba(78, 25, 29, .05);
}

.tgp-lead-card-intro {
    margin-bottom: 26px;
}

.tgp-lead-card-intro h3,
.tgp-lead-success h3 {
    margin: 0 0 8px;
    color: #1b1b1b;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.25;
}

.tgp-lead-card-intro p,
.tgp-lead-success p {
    max-width: 980px;
    margin: 0;
    color: #606060;
    font-size: 15px;
    line-height: 1.7;
}

.tgp-lead-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 17px;
    margin-bottom: 0;
    padding: 0;
    list-style: none;
}

.tgp-lead-benefits li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #3f3f3f;
    font-size: 14px;
    font-weight: 650;
}

.tgp-lead-benefits i {
    color: #d9232d;
}

.tgp-lead-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 22px;
}

.tgp-lead-required-note {
    margin: 0 0 14px;
    color: #686868;
    font-size: 13px;
    font-weight: 650;
}

.tgp-lead-field label {
    display: block;
    margin-bottom: 7px;
    color: #292929;
    font-size: 14px;
    font-weight: 750;
}

.tgp-lead-field .tgp-lead-input {
    width: 100%;
    height: 52px;
    padding: 0 15px;
    border: 1px solid #dcdcdc;
    border-radius: 11px;
    background: #fff;
    color: #202020;
    font-size: 16px;
    line-height: 1.3;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.tgp-lead-field .tgp-lead-input:focus {
    border-color: #d9232d;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(217, 35, 45, .11);
}

.tgp-lead-select {
    cursor: pointer;
}

.tgp-field-error {
    display: block;
    margin-top: 6px;
    color: #ac1620;
    font-size: 13px;
    font-weight: 650;
}

.tgp-lead-validation-summary,
.tgp-lead-message {
    margin-bottom: 20px;
    padding: 13px 16px;
    border: 1px solid #efb8bc;
    border-radius: 11px;
    background: #fff2f3;
    color: #8e1720;
    font-size: 14px;
}

.tgp-lead-validation-summary ul {
    margin: 7px 0 0;
    padding-left: 20px;
}

.tgp-lead-submit-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 13px;
    margin-top: 24px;
}

.tgp-lead-privacy {
    margin: 13px 0 0;
    color: #777;
    font-size: 12px;
    line-height: 1.55;
}

.tgp-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.tgp-lead-success {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px;
    border: 1px solid #9fcfac;
    border-radius: 14px;
    background: #f1faf3;
}

.tgp-lead-success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 50%;
    background: #39844f;
    color: #fff;
    font-size: 18px;
}

.tgp-lead-email-status {
    display: block;
    margin-top: 9px;
    color: #77540c;
    font-size: 13px;
    font-weight: 650;
}

.tgp-note-box {
    margin-top: 25px;
    border-radius: 14px;
    background: #fafafa;
    border: 1px solid #ececec;
    padding: 18px 20px;
    color: #666;
    font-size: 14px;
}

.tgp-result-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.tgp-result-card {
    border: 1px solid #ececec;
    border-radius: 18px;
    padding: 26px 24px;
    background: #fff;
    height: 100%;
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}

    .tgp-result-card.recommended {
        border: 2px solid #d9232d;
        box-shadow: 0 14px 34px rgba(217,35,45,0.10);
        background: #fffafa;
    }

.tgp-result-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: #d9232d;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 12px;
}

.tgp-result-badge + .tgp-result-badge {
    margin-left: 6px;
}

.tgp-result-badge-secondary {
    background: #f4e6e7;
    color: #9f1b23;
}

.tgp-result-tier {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 4px;
    color: #1b1b1b;
}

.tgp-result-subtitle {
    color: #666;
    font-size: 15px;
    margin-bottom: 14px;
}

.tgp-price-range {
    font-size: 28px;
    line-height: 1.2;
    font-weight: 800;
    color: #d9232d;
    margin-bottom: 14px;
}

.tgp-result-desc {
    font-size: 15px;
    color: #555;
    margin-bottom: 18px;
}

.tgp-feature-list {
    margin: 0;
    padding-left: 18px;
}

    .tgp-feature-list li {
        margin-bottom: 8px;
        color: #444;
        font-size: 15px;
    }

.tgp-result-top {
    margin-bottom: 30px;
}

.tgp-error {
    color: #b00020;
    background: #fff1f1;
    border: 1px solid #ffd6d6;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 20px;
}

@media (max-width: 991px) {
    .tgp-estimator-hero {
        padding-top: 145px;
    }

    .tgp-question-title {
        font-size: 27px;
    }

    .tgp-result-grid {
        grid-template-columns: 1fr;
    }

    .tgp-lead-form-grid {
        grid-template-columns: 1fr;
    }
}

.tgp-seo-section {
    padding: 30px 0 20px 0;
}

.tgp-seo-card {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    padding: 35px;
    margin-bottom: 28px;
}

    .tgp-seo-card h2 {
        font-size: 30px;
        line-height: 1.25;
        margin-bottom: 14px;
        font-weight: 800;
        color: #1b1b1b;
    }

    .tgp-seo-card h3 {
        font-size: 22px;
        line-height: 1.3;
        margin-bottom: 10px;
        font-weight: 700;
        color: #1b1b1b;
    }

    .tgp-seo-card p {
        color: #555;
        font-size: 16px;
        line-height: 1.8;
        margin-bottom: 14px;
    }

    .tgp-seo-card ul {
        margin: 0;
        padding-left: 20px;
    }

        .tgp-seo-card ul li {
            margin-bottom: 10px;
            color: #444;
            font-size: 16px;
            line-height: 1.7;
        }

.tgp-price-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 20px;
}

.tgp-public-pricing-guide {
    border-top: 4px solid #d9232d;
}

.tgp-public-pricing-intro {
    max-width: 980px;
}

.tgp-price-summary-box {
    border: 1px solid #ececec;
    border-radius: 18px;
    background: #fff;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}

    .tgp-price-summary-box.featured {
        border: 2px solid #d9232d;
        background: #fffafa;
    }

    .tgp-price-summary-box .label {
        display: inline-block;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: .05em;
        font-weight: 700;
        color: #d9232d;
        margin-bottom: 10px;
    }

    .tgp-price-summary-box .title {
        font-size: 26px;
        font-weight: 800;
        color: #1b1b1b;
        margin-bottom: 6px;
    }

    .tgp-price-summary-box .range {
        font-size: 28px;
        line-height: 1.2;
        color: #d9232d;
        font-weight: 800;
        margin-bottom: 12px;
    }

    .tgp-price-summary-box .tgp-feature-list {
        padding-left: 18px;
        margin-top: 16px;
    }

.tgp-price-guide-meta {
    margin-top: 24px;
    padding: 18px 20px;
    border: 1px solid #ececec;
    border-radius: 14px;
    background: #fafafa;
}

    .tgp-price-guide-meta p {
        margin: 0 0 8px;
        color: #666;
        font-size: 14px;
        line-height: 1.65;
    }

    .tgp-price-guide-meta p:last-child {
        margin-bottom: 0;
    }

    .tgp-price-guide-meta a {
        color: #b51d26;
        font-weight: 700;
        text-decoration: underline;
        text-underline-offset: 3px;
    }

.tgp-faq-item {
    border-top: 1px solid #ececec;
    padding: 18px 0;
}

    .tgp-faq-item:first-child {
        border-top: 0;
        padding-top: 0;
    }

.tgp-faq-question {
    font-size: 20px;
    font-weight: 700;
    color: #1b1b1b;
    margin-bottom: 8px;
}

.tgp-cta-box {
    background: linear-gradient(135deg, #fff8f8 0%, #ffffff 100%);
    border: 2px solid #f3d4d6;
}

.tgp-cta-actions {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

@media (max-width: 991px) {
    .tgp-price-summary-grid {
        grid-template-columns: 1fr;
    }

    .tgp-seo-card h2 {
        font-size: 26px;
    }

    .tgp-seo-card h3,
    .tgp-faq-question {
        font-size: 20px;
    }
}

/* Push page content down below sticky header+nav */

.tgp-page-offset {
    padding-top: 100px;
}

/* Focused estimator mode: keep the full branded header on question one,
   then switch to a compact navigation bar for the remaining flow. */
html.tgp-estimator-focused .header-three .header-top {
    display: none !important;
}

html.tgp-estimator-focused .header-three .header-main {
    margin-top: 0 !important;
}

@media (min-width: 1200px) {
    html.tgp-estimator-focused header.header-three .header-main {
        min-height: 72px;
        padding: 0 0 0 22px;
        background: var(--color-heading-1);
        box-shadow: 0 8px 24px rgba(12, 10, 10, 0.08);
    }

    html.tgp-estimator-focused header.header-three .header-mid-one-wrapper {
        min-height: 72px;
        justify-content: flex-start;
        gap: 22px;
    }

    html.tgp-estimator-focused header.header-three .header-mid-one-wrapper > .logo-area {
        display: flex !important;
        align-self: stretch;
        align-items: center;
        flex: 0 0 118px;
        padding: 0 !important;
    }

    html.tgp-estimator-focused header.header-three .header-mid-one-wrapper > .logo-area a {
        display: flex;
        width: 100%;
        height: 100%;
        align-items: center;
        padding: 7px 0 !important;
    }

    html.tgp-estimator-focused header.header-three .header-mid-one-wrapper > .logo-area img {
        width: auto !important;
        max-width: 94px !important;
        max-height: 58px;
        padding-right: 0;
    }

    html.tgp-estimator-focused header.header-three .header-mid-one-wrapper > .nav-area {
        display: block;
        flex: 1 1 auto;
        min-width: 0;
    }

    html.tgp-estimator-focused header.header-three .nav-area > ul.mainmenu {
        display: flex;
        align-items: stretch;
        flex-wrap: nowrap;
        gap: 30px;
    }

    html.tgp-estimator-focused header.header-three .nav-area > ul.mainmenu > li.main-nav {
        display: flex;
        align-items: center;
        flex: 0 0 auto;
        min-height: 72px;
        padding: 0 !important;
    }

    html.tgp-estimator-focused header.header-three .nav-area > ul.mainmenu > li.main-nav > a {
        display: inline-flex;
        align-items: center;
        min-height: 72px;
        padding: 0;
        color: var(--color-white) !important;
        line-height: 1;
        white-space: nowrap;
    }

    html.tgp-estimator-focused header.header-three .nav-area > ul.mainmenu > li.has-droupdown > a::after {
        flex: 0 0 auto;
        margin-left: 7px;
        line-height: 1;
        vertical-align: baseline;
    }

    html.tgp-estimator-focused header.header-three .header-mid-one-wrapper > .header-right {
        align-self: stretch;
        flex: 0 0 auto;
        gap: 0;
    }

    html.tgp-estimator-focused header.header-three .header-right > .single-component {
        height: 100%;
    }

    html.tgp-estimator-focused header.header-three .header-right .single-component .tmp-btn {
        height: 100%;
        min-height: 72px;
        padding: 0 28px;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    html.tgp-estimator-focused header.header-three .header-mid-one-wrapper {
        gap: 16px;
    }

    html.tgp-estimator-focused header.header-three .header-mid-one-wrapper > .logo-area {
        flex-basis: 104px;
    }

    html.tgp-estimator-focused header.header-three .header-mid-one-wrapper > .logo-area img {
        max-width: 86px !important;
    }

    html.tgp-estimator-focused header.header-three .nav-area > ul.mainmenu {
        gap: 20px;
    }

    html.tgp-estimator-focused header.header-three .nav-area > ul.mainmenu > li.main-nav > a {
        font-size: 15px;
        letter-spacing: 0.09em;
    }

    html.tgp-estimator-focused header.header-three .header-right .single-component .tmp-btn {
        padding-right: 24px;
        padding-left: 24px;
    }
}

html.tgp-estimator-focused .tgp-estimator-wrap {
    padding-top: 92px;
    padding-bottom: 50px;
}

html.tgp-estimator-focused .tgp-estimator-card {
    padding-top: 28px;
    padding-bottom: 28px;
}

html.tgp-estimator-focused .tgp-demo-banner {
    margin-bottom: 20px;
}


@media (max-width: 1200px) {
    .tgp-page-offset {
        padding-top: 40px;
    }

    html.tgp-estimator-focused .tgp-estimator-wrap {
        padding-top: 82px;
    }
}

@media (max-width: 768px) {
    .tgp-page-offset {
        padding-top: 60px;
    }

    html.tgp-estimator-focused .tgp-estimator-wrap {
        padding-top: 76px;
        padding-bottom: 36px;
    }

    html.tgp-estimator-focused .tgp-estimator-card {
        padding: 22px 18px;
    }

    .tgp-lead-card {
        padding: 24px 20px;
    }

    .tgp-lead-card-intro h3,
    .tgp-lead-success h3 {
        font-size: 24px;
    }

    .tgp-lead-submit-row .tmp-btn {
        width: 100%;
        text-align: center;
    }
}
