:root {
    --bg-main: #140e0d;
    --bg-card: #2b201d;
    --bg-option: #3d2d27;
    --accent: #d88a4a;
    --accent-2: #d88a4a;
    --text-main: #f9f5f2;
}

* {
    font-family: "Inter", sans-serif;
}

.page-bg {
    background: radial-gradient(circle at 20% 0%, #2a1a14 0%, var(--bg-main) 45%, #100a09 100%);
}

.top-bar {
    position: relative;
    z-index: 3;
    background: rgba(20, 12, 10, 0.92);
}

.logo-box {
    padding: 0;
}

.logo-img {
    max-width: 168px;
    width: 100%;
    height: auto;
    display: block;
}

.phone-text {
    font-size: 1.08rem;
    color: var(--accent-2);
}

.phone-icon {
    font-size: 1.3rem;
}

.hero-bg {
    min-height: 690px;
    background-image: url("../img/hero-curved.png");
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-shell {
    padding-top: 1.15rem;
    padding-bottom: 2.85rem;
}

.hero-bg .container {
    z-index: 2;
}

.hero-bg::before {
    content: none;
}

.text-accent {
    color: var(--accent-2);
}

.hero-heading {
    font-family: "Inter", sans-serif;
    font-size: 58px;
    font-weight: 700;
}

.hero-subtitle {
    font-family: "Roboto", sans-serif;
    font-size: 24px;
    font-weight: 400;
}

.hero-feature-list {
    max-width: 620px;
    border-radius: 12px;
    background: #c96b2c;
    padding: 0.25rem;
}

.mobile-after-form-copy {
    margin-top: 0.6rem;
}

.feature-pill {
    color: #fff7f0;
    min-height: 68px;
    flex: 1 1 180px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
}

.feature-pill+.feature-pill {
    border-left: 1px solid rgba(255, 255, 255, 0.92);
}

.feature-pill i {
    font-size: 2.2rem;
    line-height: 1;
}

.hero-feature-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.feature-text {
    font-family: "Roboto", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.05;
}

.quote-panel {
    width: 100%;
    max-width: 645px;
    background: rgba(28, 21, 20, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

#quoteForm {
    margin-top: 0;
}

.panel-title {
    background: #c96b2c;
    color: #fff;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    font-size: 1.18rem;
    letter-spacing: 0.01em;
    padding-top: 1.02rem;
    padding-bottom: 2.35rem;
}

.panel-header-wrap {
    margin: 0;
}

.panel-arrow-badge {
    width: 62px;
    height: 62px;
    bottom: -25px;
    border-radius: 999px;
    background: #c96b2c;
    border: 6px solid #2b1d18;
    font-size: 1.7rem;
}

.progress-wrap {
    margin-top: 0.3rem;
}

.step-label {
    color: rgba(255, 255, 255, 0.52);
    font-size: 1.02rem;
    letter-spacing: 0;
    font-weight: 700;
}

.step-label.active {
    color: #d88a4a;
}

.step-track {
    width: 100%;
    height: 4px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.22);
    overflow: hidden;
}

.step-fill {
    height: 100%;
    background: linear-gradient(90deg, #d88a4a 0%, #e2a06b 100%);
    border-radius: 99px;
    transition: width 0.25s ease;
}

.form-step-stage {
    position: relative;
    overflow: hidden;
    transition: height 0.38s ease;
}

.form-step {
    position: absolute;
    inset: 0;
    width: 100%;
    transform: translateY(12px);
    pointer-events: none;
}

.form-step.is-active {
    position: relative;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.option-card {
    cursor: pointer;
    border: 2px solid rgba(166, 98, 47, 0.7);
    background: #3a271d;
    color: var(--text-main);
    min-height: 104px;
    border-radius: 1.2rem;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.form-step[data-step="1"] .option-card {
    padding: 0.65rem 0.75rem !important;
}

.form-step[data-step="1"] .col-sm-6 .option-card {
    min-height: 100%;
    height: 100%;
}

.option-card-title {
    font-family: "Roboto", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
}

.option-card:hover {
    transform: translateY(-2px);
    border-color: rgba(243, 168, 108, 0.95);
}


#priority-1.selected,
#priority-2.selected,
#priority-3.selected,
#priority-4.selected,
#priority-5.selected {
    border-color: rgba(255, 196, 145, 0.98);
    box-shadow: inset 0 0 0 1px rgba(255, 196, 145, 0.75);
    background: #4a3227;
}

#priority-5.option-card {
    min-height: 62px;
}

.btn-accent {
    --bs-btn-bg: #c96b2c;
    --bs-btn-border-color: #c96b2c;
    --bs-btn-color: #fff;
    --bs-btn-hover-bg: #b95f24;
    --bs-btn-hover-border-color: #b95f24;
    --bs-btn-active-bg: #a95520;
    --bs-btn-active-border-color: #a95520;
}

.form-control-dark {
    background: #231916;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-main);
}

.form-control-dark::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.form-control-dark:focus {
    background: #2b1f1b;
    color: #fff;
    border-color: rgba(255, 189, 132, 0.7);
    box-shadow: 0 0 0 0.2rem rgba(216, 138, 74, 0.2);
}

.form-label-dark {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.88rem;
    font-weight: 600;
}

.btn-back-link {
    color: rgba(255, 255, 255, 0.48);
    text-decoration: none;
    font-size: 0.88rem;
}

.btn-back-link:hover {
    color: #d88a4a;
}

.consent-copy {
    line-height: 1.55;
}

.content-zone {
    position: relative;
    z-index: 3;
    margin-top: 28px;
}

.intro-card {
    background: rgba(20, 14, 13, 0.62);
    max-width: 1020px;
}

.intro-card-image {
    height: 280px;
    object-fit: cover;
}

.intro-card-content {
    width: 100%;
    min-height: 280px;
}

.intro-card-content .fs-2 {
    line-height: 1.05;
}

.intro-card-content .fs-5 {
    line-height: 1.55;
}

.divider-line {
    height: 1px;
    max-width: 640px;
    background: rgba(216, 138, 74, 0.32);
}

.plus-badge {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(216, 138, 74, 0.7);
    color: #d88a4a;
    font-size: 1.7rem;
    line-height: 1;
}

.thank-you-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.thank-you-main {
    flex: 1;
}

.thank-you-center {
    position: relative;
    z-index: 2;
    min-height: 62vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.thank-you-hero-title {
    font-size: clamp(2rem, 5.2vw, 3.35rem);
    font-weight: 700;
    letter-spacing: 0.01em;
}

.thank-you-hero-copy {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.86);
}

.thank-you-footer {
    margin-top: auto;
}

@media (max-width: 991.98px) {
    .quote-panel {
        max-width: 640px;
    }

    .hero-bg {
        height: auto;
        min-height: auto;
    }

    .hero-shell {
        padding-top: 0.95rem;
        padding-bottom: 2.2rem;
    }

    .hero-bg::before {
        content: none;
    }

    .content-zone {
        margin-top: 22px;
    }
}

@media (max-width: 575.98px) {
    .hero-shell {
        padding-top: 0.35rem;
        padding-bottom: 1.4rem;
    }

    #quoteForm {
        padding: 0.75rem 0.85rem 0.9rem !important;
    }

    .progress-wrap {
        margin-top: 0;
        margin-bottom: 0.55rem !important;
    }

    .mobile-after-form-copy .hero-subtitle {
        margin-bottom: 0.55rem !important;
    }

    .top-bar .row {
        flex-wrap: nowrap;
    }

    .top-bar .col-6:first-child {
        padding-right: 0.25rem;
    }

    .top-bar .col-6:last-child {
        padding-left: 0.25rem;
    }

    .panel-title {
        font-size: 1.02rem;
        padding-top: 0.84rem;
        padding-bottom: 1.9rem;
    }

    .panel-arrow-badge {
        width: 48px;
        height: 48px;
        bottom: -20px;
        border-width: 5px;
        font-size: 1.3rem;
    }

    .step-label {
        font-size: 0.86rem;
    }

    .option-card {
        min-height: 90px;
    }

    .logo-box {
        width: auto;
        height: auto;
    }

    .logo-img {
        max-width: 136px;
    }

    .phone-text {
        font-size: 0.84rem;
        gap: 0.35rem !important;
        white-space: nowrap;
    }

    .phone-icon {
        font-size: 1.08rem;
    }

    .form-label-dark {
        font-size: 0.82rem;
    }

    .consent-copy {
        font-size: 0.72rem;
    }

    .hero-feature-list {
        flex-wrap: nowrap;
    }

    .hero-feature-list-mobile {
        flex-direction: column;
        gap: 0;
    }

    .feature-pill {
        flex: 1 1 0;
        min-height: 44px;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        text-align: left;
        padding: 0.45rem 0.6rem !important;
        gap: 0.45rem;
    }

    .feature-pill+.feature-pill {
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.92);
    }

    .hero-feature-icon {
        width: 20px;
        height: 20px;
        flex: 0 0 20px;
    }

    .feature-text {
        display: block;
        font-size: 12px;
        line-height: 1.2;
    }

    .intro-card-image,
    .intro-card-content {
        min-height: 0;
        height: auto;
    }

    .intro-card-image {
        height: 220px;
    }

    .intro-card-content {
        padding-top: 0.25rem;
    }

    .display-5 {
        font-size: 2rem;
    }

    .hero-heading {
        font-size: 34px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .thank-you-center {
        min-height: 54vh;
    }
}

@media screen and (max-width: 767px) {
    .content-zone {
        margin-top: 0;
        padding-top: 0 !important;
    }

    .container.px-4.px-lg-5.py-3 {
        padding: 0 !important;
    }
}