/* ─── HOMEPAGE BACKGROUND ────────────────────────────────────────────────── */

.page-home .content {
    background: linear-gradient(
            180deg,
            #ffffff 0%,
            #f7fbff 20%,
            #eef7fc 34%,
            #f5faff 48%,
            #ffffff 58%,
            #f3f9fe 68%,
            #ffffff 100%
    );
}


/* ─── HERO ───────────────────────────────────────────────────────────────── */
/* Scoped to .page-home to avoid collision with interior .hero in base.css   */

.page-home .hero {
    padding: 4.875rem 0 2.5rem;
    text-align: unset;
    overflow: unset;
    background: unset;
}

.partners-bar.hide-c-text span.partners-logo-disclaimer {
    display: none;
}

.page-home .hero .hero-content {
    display: grid;
    gap: 1rem;
    align-items: center;
    position: relative;
}

.page-home .hero .hero-text h1 {
    font-size: 1.875rem;
    font-weight: 400;
    margin-bottom: 1rem;
    min-height: 2.5em;
    line-height: 0.5;
    text-align: center;
}

.page-home .hero .hero-text h1 .small-head {
    font-size: 1.5625rem;
}

.page-home .hero .hero-text h1 .gradient-text {
    display: block;
    font-size: 2.2rem;
    line-height: 1;
    min-height: 1.2em;
    margin-bottom: 0.625rem;
}

.page-home .hero .hero-text p {
    line-height: 1.2;
    text-align: center;
    font-weight: 400;
    color: #33363D;
    font-size: 1.25rem;
}

.page-home .hero .hero-form {
    padding: 1.875rem 0 0 0;
    border-radius: 0.5rem;
    color: #33363D;
}

.page-home .hero .hero-form #getQuotes {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    border-radius: 4.375rem;
    overflow: hidden;
}

.page-home .hero .hero-form .form-group {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.7rem;
    border-radius: 6.25rem;
    background: linear-gradient(white, white) padding-box,
    linear-gradient(90deg, var(--color-blue), var(--color-green), var(--color-blue)) border-box;
    border: 0.22rem solid transparent;
    background-size: 200% 100%;
    background-position: left center;
    transition: background-position 0.8s ease;
    max-width: 25rem;
    margin: 0 auto;
}

.page-home .hero .hero-form input {
    line-height: 1;
    font-weight: 600;
    padding: 0.625rem 0.625rem;
    border: 0;
    font-size: 1.25rem;
    width: 100%;
    background: #fff;
    font-family: 'Outfit', sans-serif;
}

.page-home .hero .hero-form input::placeholder {
    color: #888;
    font-weight: 500;
    text-transform: lowercase;
}

.page-home .hero .hero-form input:focus {
    border: 0;
    outline: 0;
}

.page-home .hero .hero-form .btn-solid {
    width: 14.875rem;
    font-size: 0.92rem;
}

.hero-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto -3.3125rem;
}

.page-home .hero .hero-image img {
    width: auto;
    height: auto;
    max-width: 25.625rem;
    margin: 0 auto;
    position: relative;
    display: block;
}

.page-home .hero .call-cta {
    padding-top: 1.25rem;
}

.page-home .hero .hours {
    margin: 2px 0;
    color: #898989;
    font-weight: 600;
    text-align: center;
}


/* ─── PARTNERS BAR ───────────────────────────────────────────────────────── */

.partners-bar {
    background: #fff;
    text-align: center;
    padding: 2.5rem 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    position: relative;
    z-index: 1;
}

.partners-bar .partners-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: #33363d;
    margin-bottom: 0.3rem;
    line-height: 1.2;
}

.partners-bar .partners-names {
    font-size: 1.25rem;
    color: var(--color-text);
    font-weight: 500;
}


/* ─── NON-MEDICARE BAR ───────────────────────────────────────────────────── */

.nonmedicare-bar {
    background: var(--color-green);
    padding: 0.875rem 0;
    text-align: center;
}

.nonmedicare-bar .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.nonmedicare-bar p {
    color: #fff;
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 1.2;
}

.btn-nm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 1.75rem;
    background: #fff;
    color: var(--color-text);
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: 624.9375rem;
    text-decoration: none;
    white-space: nowrap;
    font-family: 'Outfit', sans-serif;
    border: 2px solid #fff;
    transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}

.btn-nm img {
    margin-left: 0.625rem;
}

.btn-nm:hover {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.7);
}


/* ─── STATS ──────────────────────────────────────────────────────────────── */

.stats {
    padding: 4rem 0;
    background: transparent;
    z-index: 1;
    position: relative;
}

.stats h2 {
    text-align: center;
    margin-bottom: 2.1875rem;
    line-height: 1.1;
}
section.stats h2 sup {
    position: absolute;
}
@media (max-width: 64em) {
.stats h2 strong {
    display: block;
    font-size: 2.625rem;
}
}

.stats .stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin: 2rem 0 -1.25rem;
    gap: 1.2rem;
}

.stats .stats-grid .stat-item {
    text-align: center;
    margin-bottom: 1.25rem;
}

.stats .stats-grid .stat-item .icon {
    margin: 0 auto;
}
@media (max-width: 64em) {
    .stats .stats-grid .stat-item h3 {
        margin-bottom: 0.5rem;
        line-height: 1.2;
        font-size: 1.25rem;
    }
}


/* ─── AGENT + STEPS BAND ─────────────────────────────────────────────────── */

.agent-steps-band {
    background: #fff;
    box-shadow: var(--shadow);
}

.agent-section {
    padding: 3rem 0 0;
}

.agent-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 75rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.agent-card .agent-image {
    width: 100%;
}

.agent-card .agent-image img {
    width: 100%;
    height: 100%;
    max-height: 16.25rem;
    object-fit: cover;
    display: block;
    border-radius: 1rem;
}

.agent-card .agent-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.agent-card .agent-content .agent-eyebrow {
    font-size: 1.4rem;
    color: var(--color-text);
    margin-bottom: 0.15rem;
    font-weight: 400;
    line-height: 1;
}

.agent-card .agent-content h2 {
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--color-blue);
    margin-bottom: 0.875rem;
    line-height: 1;
    padding-bottom: 0.5625rem;
}

.agent-card .agent-content .agent-description {
    font-size: 1.25rem;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.agent-card .agent-content .phone-section {
    display: flex;
    justify-content: center;
}


/* ─── STEPS ──────────────────────────────────────────────────────────────── */

.steps {
    padding: 5rem 0 3rem;
    background: transparent;
    box-shadow: none;
}

.steps .container {
    position: relative;
}

.steps h2 {
    text-align: center;
}

.steps .steps-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.steps .steps-grid .step {
    display: flex;
    text-align: center;
}

.steps .steps-grid .step .step-number {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    font-size: 1.4375rem;
    background: var(--color-green);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 1rem;
    position: relative;
}

.steps .steps-grid .step h3 {
    max-width: 17.5rem;
    line-height: 1.1;
    margin: 0;
    text-align: left;
    font-size: 1.25rem;
}

.steps .steps-grid .step h3 span {
    font-weight: 600;
}

.steps .call-opt {
    text-align: center;
}

.steps .call-opt a {
    display: inline-block;
    margin: 1.875rem auto 0;
}


/* ─── INFO CARDS + TABS ──────────────────────────────────────────────────── */

.info-cards {
    padding: 3rem 0;
}

.info-cards a {
    text-decoration: none;
}

.info-cards h2 {
    text-align: center;
}

.info-cards .cards-grid {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
    grid-template-columns: 48% 48%;
}

.info-cards .cards-grid .card {
    padding: 1.5rem 1rem;
    border-radius: 0.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(white, white) padding-box,
    linear-gradient(180deg, var(--color-blue) 0%, var(--color-green) 70%) border-box;
    border: 0.22rem solid transparent;
    background-origin: border-box;
    background-clip: padding-box, border-box;
    background-size: 100% 200%;
    background-position: top center;
    transition: background-position 0.6s ease;
}

.info-cards .cards-grid .card a {
    width: 100%;
    display: block;
    color: #000000;
}

.info-cards .cards-grid .card img {
    transition: 0.4s all;
}

.info-cards .cards-grid .card:hover {
    background-position: bottom center;
}

.info-cards .cards-grid .card:hover .icon-bg {
    fill: #8EB84A;
}

.info-cards .cards-grid .card:hover .icon-check {
    fill: #6FAF38;
}

.info-cards .cards-grid .card:hover .small-btn img {
    transform: translate(4px, 0px);
}

.info-cards .cards-grid .icon {
    height: 2.875rem;
    margin: 0 auto 1rem;
    width: 100%;
}

.info-cards .cards-grid .icon .icon-bg {
    transition: fill 0.3s ease;
    fill: #0076B6;
}

.info-cards .cards-grid .icon .icon-check {
    transition: fill 0.3s ease;
    fill: #0076B6;
}

.info-cards .cards-grid h3 {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #33363D;
}

.info-cards .cards-grid .small-btn img {
    transition: 0.4s all;
}


/* ─── MATCHMAKER ─────────────────────────────────────────────────────────── */

.matchmaker {
    padding: 0 0 4rem;
}

.matchmaker-band {
    background: transparent;
    box-shadow: none;
}

.matchmaker .matchmaker-content {
    display: grid;
    gap: 2rem;
    align-items: center;
    padding: 0 1rem;
    max-width: 75rem;
    margin: 0 auto;
}

.matchmaker .matchmaker-text {
    text-align: center;
}

.matchmaker .matchmaker-text h2 {
    margin-bottom: 1rem;
}

.matchmaker .matchmaker-text p {
    font-size: 1.25rem;
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

.matchmaker .matchmaker-text .wrap {
    display: block;
    text-align: center;
}

.matchmaker .matchmaker-text .wrap .btn-outline {
    margin-bottom: 0.9375rem;
}

.matchmaker .matchmaker-text .wrap .btn-outline svg {
    margin-left: 0.625rem;
    max-width: 1rem;
    transition: 0.3s all;
}

.matchmaker .matchmaker-text .wrap .btn-outline svg path {
    fill: var(--color-blue);
    transition: all 0.3s ease;
}

.matchmaker .matchmaker-text .wrap .btn-outline:hover svg path {
    fill: #fff;
}

.matchmaker .matchmaker-image .image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.matchmaker .matchmaker-image .image img {
    width: 100%;
    max-width: 26.875rem;
    border-radius: 1.25rem;
    height: auto;
}

.matchmaker .call-cta {
    font-size: 1.25rem;
    margin-bottom: 0;
}

.matchmaker .call-cta a {
    display: block;
    text-decoration: none;
    margin-top: 0.4375rem;
}


/* ─── RESPONSIVE ─────────────────────────────────────────────────────────── */

@media (max-width: 47.9375em) {
    .info-cards .cards-grid > .card:nth-child(3) {
        grid-column: 1 / -1;
    }

    .cards-grid--five > .card:nth-child(5) {
        grid-column: 1 / -1;
    }
}

@media (min-width: 48em) {
    .page-home .hero {
        padding-top: 8rem;
    }

    .nonmedicare-bar .container {
        flex-direction: row;
        gap: 1.5rem;
    }

    .stats .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .agent-card {
        flex-direction: row;
        align-items: center;
        gap: 7rem;
    }

    .agent-card .agent-image {
        flex: 0 0 42%;
        max-width: 42%;
    }

    .agent-card .agent-image img {
        max-height: 25rem;
    }

    .agent-card .agent-content {
        text-align: left;
    }

    .agent-card .agent-content .agent-eyebrow {
        font-size: 1.9rem;
    }

    .agent-card .agent-content h2 {
        font-size: 2.375rem;
        line-height: 2rem;
    }

    .agent-card .agent-content .agent-description {
        font-size: 1.375rem;
        line-height: 2rem;
    }

    .agent-card .agent-content .phone-section {
        justify-content: flex-start;
    }

    .tab-content {
        padding: 2.5rem 3.5rem;
    }

    .steps .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .info-cards .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .cards-grid--five {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 64em) {
    .page-home .hero .hero-content {
        grid-template-columns: 50% 47%;
        gap: 2rem;
    }

    .page-home .hero .hero-text h1 {
        text-align: left;
        font-size: 3.875rem;
        font-weight: 400;
    }

    .page-home .hero .hero-text h1 .gradient-text {
        font-size: 3.8rem;
    }

    .page-home .hero .hero-text h1 .small-head {
        font-size: 2rem;
    }

    .page-home .hero .hero-text p {
        font-size: 1.5rem;
        text-align: left;
        padding-top: 0.4375rem;
        font-weight: 300;
        padding-right: 5rem;
    }

    .page-home .hero .hero-image {
        width: 40.5rem;
        height: auto;
        right: -0.5625rem;
        position: absolute;
        bottom: 0.1875rem;
    }

    .page-home .hero .hero-image img {
        max-width: 43.125rem;
        border-radius: 6.25rem;
    }

    .page-home .hero .hero-form {
        background: none;
        padding: 1.875rem 0 0 0;
    }

    .page-home .hero .hero-form p {
        font-size: 1.375rem;
        padding-top: 1.25rem;
    }

    .page-home .hero .hero-form .form-group {
        max-width: 30rem;
        margin: 0;
    }

    .page-home .hero .hero-form .form-group input {
        font-size: 1.4375rem;
        width: 17.4375rem;
    }

    .page-home .hero .hero-form .form-group .btn-solid {
        width: 16.375rem;
        font-size: 1.24rem;
    }

    .page-home .hero .hours {
        text-align: left;
        margin: 0.4375rem 0;
    }

    .partners-bar .partners-label {
        font-size: 1.4rem;
    }

    .partners-bar .partners-names {
        font-size: 1.5rem;
        font-weight: 400;
    }

    .nonmedicare-bar p {
        font-size: 1.45rem;
    }

    .stats h2 {
        font-size: 2.375rem;
    }

    .stats .stats-grid {
        max-width: 60.625rem;
        margin: 0 auto;
    }

    .stats .stat-item h3 {
        font-size: 1.375rem;
        line-height: 1.1;
        padding-top: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .stats .stat-item .icon img {
        width: 5rem;
        height: auto;
    }

    .steps {
        padding: 6.5rem 0 4.5rem;
    }

    .steps h2 {
        font-size: 2.375rem;
    }

    .steps .steps-grid {
        margin: 3rem 2rem 1rem;
    }

    .steps .steps-grid .step {
        display: block;
    }

    .steps .steps-grid .step .step-number {
        font-size: 2.5rem;
        width: 4.375rem;
        height: 4.375rem;
        margin: 0 auto;
    }

    .steps .steps-grid .step h3 {
        font-size: 1.5625rem;
        text-align: center;
        margin: 0 auto;
        padding-top: 1.25rem;
    }

    .info-cards {
        padding: 6rem 0 5rem;
    }

    .info-cards h2 {
        font-size: 2.375rem;
    }

    .info-cards h3 {
        font-size: 1.4rem;
    }

    .cards-grid--five {
        grid-template-columns: repeat(3, 1fr);
    }

    .info-tab {
        font-size: 1.2rem;
    }

    .matchmaker {
        padding: 0;
    }

    .matchmaker .matchmaker-content {
        grid-template-columns: 56% 41%;
        padding: 1rem 1rem 4rem;
    }

    .matchmaker .matchmaker-text {
        text-align: left;
        padding: 0;
    }

    .matchmaker .matchmaker-text h2 {
        font-size: 2.375rem;
    }

    .matchmaker .matchmaker-text p {
        font-size: 1.375rem;
        line-height: 2rem;
    }

    .matchmaker .matchmaker-text p.call-cta {
        margin-bottom: 0;
        font-size: 1.25rem;
    }

    .matchmaker .matchmaker-text .wrap {
        display: flex;
        text-align: left;
    }

    .matchmaker .matchmaker-text .wrap .btn-outline {
        width: 41.25rem;
        font-size: 1.375rem;
        margin-bottom: 0;
    }

    .matchmaker .call-cta {
        width: 45.625rem;
        padding-left: 1.25rem;
    }

    .matchmaker .call-cta a {
        margin-top: 0;
    }
}

@media (min-width: 67.875em) and (max-width: 73.75em) {
    .page-home .hero .hero-form .form-group {
        max-width: 28.125rem;
    }

    .page-home .hero .hero-form .form-group .btn-solid {
        width: 17rem;
        padding: 0.75rem 1.5rem;
    }

    .page-home .hero .hero-image {
        width: 41.125rem;
    }

    .page-home .hero .hero-text h1 {
        font-size: 2.9375rem;
    }

    .page-home .hero .hero-text h1 .gradient-text {
        font-size: 3.2rem;
    }

    .page-home .hero .hero-text p {
        font-size: 1.3125rem;
    }
}

@media (min-width: 64em) and (max-width: 67.75em) {
    .page-home .hero .hero-image img {
        max-width: 36.25rem;
        border-radius: 5.6875rem;
    }

    .page-home .hero .hero-text p {
        font-size: 1.25rem;
    }

    .page-home .hero .hero-text h1 {
        font-size: 2.9375rem;
    }

    .page-home .hero .hero-text h1 .gradient-text {
        font-size: 3.2rem;
    }
}

@media (min-width: 75em) {
    .stats .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .info-cards .cards-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .steps .step:nth-child(2) .step-number:before {
        content: '';
        width: 18.75rem;
        display: block;
        height: 1.4375rem;
        background-image: url(/revamp/images/steps-line.svg);
        background-repeat: no-repeat;
        position: absolute;
        left: -16.0625rem;
    }

    .steps .step:nth-child(3) .step-number:before {
        content: '';
        width: 18.75rem;
        display: block;
        height: 1.4375rem;
        background-image: url(/revamp/images/steps-line.svg);
        background-repeat: no-repeat;
        position: absolute;
        left: -16.0625rem;
    }
}