/* Georgia GAPP landing page — aligned to Figma */
.gapp-page {
    background: #F5F5F5;
    color: #26257C;
    overflow-x: hidden;
}

.gapp-page .container {
    max-width: 1320px;
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
    box-sizing: border-box;
}

.gapp-page h1,
.gapp-page h2,
.gapp-page h3 {
    font-family: 'antennamedium', sans-serif;
    font-weight: 500;
    color: #21409A;
    margin: 0;
}

.gapp-page p,
.gapp-page li,
.gapp-page label,
.gapp-page input,
.gapp-page select,
.gapp-page button,
.gapp-page a {
    font-family: "Open Sans", sans-serif;
}

.gapp-accent { color: #F9B018; }

.gapp-section,
.gapp-hero,
.gapp-helps {
    scroll-margin-top: 140px;
}

.gapp-section {
    padding: 80px 0;
    background: #fff;
}

.gapp-section-heading {
    text-align: center;
    margin: 0 auto 64px;
    max-width: 1100px;
}

.gapp-section-heading h2 {
    font-size: 48px;
    line-height: 64px;
    margin-bottom: initial;
    padding: initial;
}

.gapp-section-heading p {
    font-size: 20px;
    line-height: 28px;
    color: #26257C;
    margin: 0;
}

.gapp-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
}

.gapp-btn-chevron {
    display: inline-flex !important;
    align-items: center;
    gap: 12px;
    padding-right: 24px !important;
}

.gapp-btn-chevron img {
    display: block;
    width: 24px;
    height: 24px;
}

.gapp-page .secondary-btn.gapp-btn-chevron:hover img {
    filter: brightness(0) invert(1);
}

.gapp-center-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 48px;
}

.gapp-footnote {
    text-align: center;
    font-size: 20px;
    line-height: 28px;
    color: #26257C;
    margin: 64px 0 50px;
}

/* ===== Hero ===== */
.gapp-hero {
    padding: 48px 0 64px;
    background: #F5F5F5;
}

.gapp-hero-grid {
    display: flex;
    align-items: center;
    gap: 64px;
}

.gapp-hero-media {
    flex: 1 1 52%;
    min-width: 0;
}

.gapp-hero-media img {
    display: block;
    width: 100%;
    height: auto;
}

.gapp-hero-copy {
    flex: 0 1 560px;
    max-width: 560px;
    min-width: 0;
}

.gapp-hero-copy h1 {
    font-size: 48px;
    line-height: 64px;
    margin-bottom: 16px;
}

.gapp-hero-copy > p {
    font-size: 20px;
    line-height: 28px;
    margin: 0 0 48px;
    color: #26257C;
}

.gapp-hero-copy strong { font-weight: 700; }

.gapp-serving {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
}

.gapp-serving img {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
}

.gapp-serving p {
    margin: 0;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    color: #26257C;
}

/* ===== Eligibility ===== */
.gapp-eligibility {
    background: #fff;
    padding-bottom: 40px;
}

.gapp-elig-grid {
    display: grid;
    gap: 0;
}

.gapp-elig-top {
    grid-template-columns: repeat(3, 1fr);
    position: relative;
}

/* .gapp-elig-top::after {
    content: "";
    position: absolute;
    left: 40px;
    right: 40px;
    bottom: 0;
    height: 2px;
    background: #F9B018;
} */

.gapp-elig-bottom {
    grid-template-columns: repeat(2, 1fr);
    /* max-width: 900px; */
    margin: 64px auto 0;
}

.gapp-elig-card {
    text-align: center;
    padding: 40px 48px;
    position: relative;
}

.gapp-elig-top .gapp-elig-card {
    padding: 40px 48px 104px;
}

.gapp-elig-top .gapp-elig-card:not(:last-child)::after,
.gapp-elig-bottom .gapp-elig-card:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 48px;
    right: 0;
    bottom: 48px;
    width: 2px;
    background: #F9B018;
}

.gapp-elig-top .gapp-elig-card:before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: calc(100% - 80px);
    height: 2px;
    background: #F9B018;
}
    

.gapp-elig-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gapp-elig-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    display: block;
}

.gapp-elig-card h3 {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 8px;
}

.gapp-elig-card p {
    font-size: 16px;
    line-height: 24px;
    margin: 0;
    color: #26257C;
}

/* ===== Not Sure / Family split ===== */
.gapp-not-sure {
    background: #fff;
    padding-top: 64px;
}

.gapp-family {
    background: #F5F5F5;
    padding: 160px 0;
}
.gapp-split {
    display: flex;
    align-items: center;
    gap: 40px;
}

.gapp-split-media {
    flex: 0 0 48%;
    max-width: 640px;
}

.gapp-split-media img {
    display: block;
    width: 100%;
    height: auto;
}

.gapp-bullet-list {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    min-width: 0;
}

.gapp-bullet-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 40px;
    font-family: 'antennamedium', sans-serif;
    font-size: 24px;
    line-height: 32px;
    color: #21409A;
}

.gapp-bullet-list li:last-child { margin-bottom: 0; }

.gapp-bullet-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 8px;
    height: 8px;
    background: #21409A;
}

.gapp-family-copy {
    flex: 1;
    min-width: 0;
}

.gapp-family-copy p {
    font-size: 20px;
    line-height: 28px;
    color: #26257C;
    margin: 0 0 40px;
}

.gapp-family-copy p:last-child { margin-bottom: 0; }

/* ===== How Modani Helps + Form ===== */
.gapp-helps {
    display: flex;
    align-items: stretch;
    background: #fff;
}

.gapp-helps-left {
    flex: 0 0 45%;
    background: #F5F5F5;
    display: flex;
    justify-content: flex-end;
}

.gapp-helps-inner {
    width: 100%;
    max-width: 646px;
    padding: 80px 100px 80px 30px;
    box-sizing: border-box;
}

.gapp-helps-inner h2 {
    font-size: 48px;
    line-height: 64px;
    margin-bottom: 40px;
    text-align: center;
}
.gapp-helps .gapp-bullet-list {
    margin-left: 16px;
}
.gapp-helps-intro {
    font-size: 20px;
    line-height: 28px;
    margin: 0 0 40px;
    color: #26257C;
}

.gapp-helps-left .gapp-bullet-list li {
    margin-bottom: 40px;
}

.gapp-helps-right {
    flex: 1;
    padding: 80px 20px 80px 110px;
    display: flex;
    justify-content: flex-start;
    background: #FBFBFB;
}

.gapp-form-wrap {
    width: 100%;
    max-width: 600px;
}

.gapp-form-wrap > h3 {
    font-size: 32px;
    line-height: 48px;
    text-align: center;
    margin-bottom: 8px;
}

.gapp-form-wrap > p {
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    margin: 0 0 40px;
    color: #26257C;
}

.gapp-form-group { margin-bottom: 24px; }

.gapp-form-group label {
    display: block;
    font-size: 14px;
    line-height: 20px;
    color: #26257C;
    margin: 0 0 8px 16px;
}

.gapp-form-group input[type="text"],
.gapp-form-group input[type="tel"],
.gapp-form-group input[type="email"],
.gapp-form-group select {
    width: 100%;
    height: 48px;
    border: 1px solid #D8D6D6;
    border-radius: 24px;
    padding: 12px 16px;
    font-size: 16px;
    color: #26257C;
    background: #fff;
    box-sizing: border-box;
    outline: none;
}

.gapp-form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%2321409A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.gapp-form-group input.error,
.gapp-form-group select.error {
    border-color: red;
}

.gapp-form-group label.error {
    color: red;
    font-size: 12px;
    line-height: 20px;
    display: block;
    margin: 6px 0 0 16px;
}

.gapp-form-group.agree-terms label.error {
    margin: 0;
    order: 3;
    flex-basis: 100%;
}

.gapp-hp {
    position: absolute !important;
    left: -9999px !important;
    height: 0 !important;
    width: 0 !important;
    opacity: 0 !important;
}

.gapp-form-group.agree-terms {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.gapp-form-group.agree-terms input { margin-top: 4px; }
.gapp-form-group.agree-terms label {
    margin: 0;
    font-size: 13px;
    line-height: 18px;
}

.gapp-form-note {
    text-align: center;
    font-size: 16px;
    line-height: 24px;
    color: #26257C;
    margin: 16px 0 40px;
}

.gapp-form-note a {
    color: #21409A;
    text-decoration: underline;
}

.gapp-form-wrap .dynamic,
.gapp-form-wrap .loading {
    text-align: center;
    margin: 0 0 16px;
}

.gapp-form-actions { justify-content: center; }

.gapp-phone-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 12px;
    padding: 8px 32px !important;
}

.gapp-phone-btn img {
    width: 32px;
    height: 32px;
}

/* ===== Services ===== */
.gapp-services { background: #fff; }

.gapp-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 64px 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.gapp-service-card { text-align: center; }

.gapp-service-img {
    width: 100%;
    max-width: 312px;
    aspect-ratio: 1;
    margin: 0 auto 24px;
    overflow: hidden;
}

.gapp-service-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gapp-service-card h3 {
    font-size: 20px;
    line-height: 28px;
    color: #26257C;
    margin-bottom: 8px;
}

.gapp-service-card p {
    font-size: 16px;
    line-height: 24px;
    color: #26257C;
    margin: 0;
}

/* ===== Process ===== */
.gapp-process { background: #F5F5F5; }

.gapp-process-row {
    display: flex;
    align-items: center;
    gap: 64px;
    margin-bottom: 0;
}

.gapp-process-row.is-reverse { flex-direction: row-reverse; }

.gapp-process-copy,
.gapp-process-media {
    flex: 1 1 50%;
    min-width: 0;
}

.gapp-process-copy {
    position: relative;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
}
.gapp-process-row:nth-child(1) .gapp-process-copy {
    background: url(../images/gapp/number-1.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.gapp-process-row:nth-child(2) .gapp-process-copy {
    background: url(../images/gapp/number-2.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.gapp-process-row:nth-child(3) .gapp-process-copy {
    background: url(../images/gapp/number-3.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.gapp-process-row:nth-child(4) .gapp-process-copy {
    background: url(../images/gapp/number-4.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.gapp-process-row:nth-child(5) .gapp-process-copy {
    background: url(../images/gapp/number-5.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.gapp-process-num {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'antennamedium', sans-serif;
    font-size: 280px;
    line-height: 1;
    color: rgba(33, 64, 154, 0.07);
    pointer-events: none;
    z-index: 0;
    user-select: none;
}

.gapp-process-copy h3,
.gapp-process-copy p { position: relative; z-index: 1; }

.gapp-process-copy h3 {
    font-size: 32px;
    line-height: 48px;
    margin-bottom: 16px;
}

.gapp-process-copy p {
    font-size: 20px;
    line-height: 28px;
    margin: 0;
    color: #26257C;
}

.gapp-process-media img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0;
    object-fit: cover;
    max-height: 455px;
}

/* ===== Needs ===== */
.gapp-needs { background: #fff; }

.gapp-needs-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
}

.gapp-need-card {
    text-align: center;
    padding: 40px 48px;
    position: relative;
}

.gapp-need-card:not(:nth-child(4n))::after {
    content: "";
    position: absolute;
    top: 32px;
    right: 0;
    bottom: 32px;
    width: 2px;
    background: #F9B018;
}

.gapp-need-card:nth-child(-n+4)::after {
    bottom: 64px;
}
.gapp-need-card:nth-child(-n+4)::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: calc(100% - 80px);
    height: 2px;
    background: #F9B018;
}
.gapp-need-card:nth-child(-n+4) {
    padding-bottom: 104px;
    margin-bottom: 64px;
}

.gapp-need-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gapp-need-icon img {
    max-width: 80px;
    max-height: 80px;
    width: auto;
    height: auto;
    display: block;
}

.gapp-need-card h3 {
    font-size: 20px;
    line-height: 28px;
}

/* ===== FAQ ===== */
.gapp-faq { background: #F5F5F5; }

.gapp-accordion {
    max-width: 1096px;
    margin: 0 auto;
    list-style: none;
    padding: 0;
}

.gapp-page .gapp-accordion > li {
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid #F9B018 !important;
    margin: 0 0 40px !important;
    padding: 0 0 40px !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}
.gapp-page .gapp-accordion > li:last-child {
    border-bottom: initial !important;
    margin-bottom: initial !important;
}

.gapp-page .gapp-accordion > li > h3 {
    font-size: 24px;
    line-height: 32px;
    padding: 0 48px 0 0 !important;
    color: #21409A;
    font-family: 'antennamedium', sans-serif;
    font-weight: 500;
    position: relative;
    cursor: pointer;
    background: none !important;
    border: initial;
}

.gapp-page .gapp-accordion > li > h3 .icon {
    position: absolute;
    right: 0;
    top: 4px;
}

.gapp-page .gapp-accordion li div.answer {
    padding: 16px 48px 0 0 !important;
}

.gapp-page .gapp-accordion li div.answer p {
    font-size: 16px;
    line-height: 24px;
    color: #26257C;
    margin: 0;
}

/* ===== Responsive ===== */
@media (max-width: 1290px) {
    .gapp-helps-right {
        padding: 60px;
    }
    .gapp-helps-inner {
        padding: 60px 50px;
    }
    .gapp-elig-top .gapp-elig-card {
        padding: 30px 30px 64px;
    }
    .gapp-elig-bottom {
        margin: 30px auto 0;
    }
}

@media (max-width: 1199px) {
    .gapp-section-heading h2,
    .gapp-hero-copy h1,
    .gapp-helps-inner h2 {
        font-size: 36px;
        line-height: 48px;
    }

    .gapp-helps { flex-direction: column; }

    .gapp-helps-left,
    .gapp-helps-right {
        flex: none;
        justify-content: center;
    }
    .gapp-page .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    .gapp-helps-inner {
        max-width: 700px;
        padding: 60px 20px;
        margin: 0 auto;
    }
    .gapp-process-row {
        gap: 20px;
    }
    .gapp-need-card:nth-child(-n+4) {
        padding-bottom: 64px;
        margin-bottom: 30px;
    }
    .gapp-need-card {
        text-align: center;
        padding: 30px;
        position: relative;
    }
    .gapp-need-card:nth-child(-n+4)::after {
        bottom: 32px;
    }
    .gapp-need-card:nth-child(-n+4)::before {
        width: calc(100% - 60px);
    }

    .gapp-helps-inner h2 { text-align: center; }

    .gapp-helps-right { padding: 40px; }

    .gapp-form-wrap { margin: 0 auto; }

    .gapp-process-num { font-size: 160px; }

    .gapp-hero-grid { gap: 40px; }
}

@media (max-width: 991px) {
    .gapp-hero-grid,
    .gapp-split,
    .gapp-process-row,
    .gapp-process-row.is-reverse {
        flex-direction: column;
    }

    .gapp-hero-media,
    .gapp-hero-copy,
    .gapp-split-media,
    .gapp-process-copy,
    .gapp-process-media {
        max-width: 100%;
        flex: none;
        width: 100%;
    }

    .gapp-elig-top,
    .gapp-elig-bottom,
    .gapp-services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gapp-elig-bottom { max-width: none; }

    .gapp-needs-grid { grid-template-columns: 1fr 1fr; }

    .gapp-need-card:nth-child(-n+4) { border-bottom: 0; }
    /* .gapp-need-card:nth-child(-n+6) { border-bottom: 2px solid #F9B018; } */
    .gapp-need-card:not(:nth-child(4n))::after { display: none; }
    .gapp-need-card:nth-child(odd)::after {
        content: "";
        display: block;
        position: absolute;
        top: 32px;
        right: 0;
        bottom: 32px;
        width: 2px;
        background: #F9B018;
    }

    /* .gapp-elig-top::after { display: none; } */
    .gapp-elig-top .gapp-elig-card:not(:last-child)::after,
    .gapp-elig-bottom .gapp-elig-card:not(:last-child)::after {
        display: none;
    }

    .gapp-bullet-list li {
        font-size: 20px;
        line-height: 28px;
        margin-bottom: 24px;
    }
}

@media (max-width: 767px) {
    .gapp-page .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .gapp-section { padding: 48px 0; }

    .gapp-section-heading { margin-bottom: 32px; }

    .gapp-section-heading h2,
    .gapp-hero-copy h1,
    .gapp-helps-inner h2,
    .gapp-form-wrap > h3 {
        font-size: 28px;
        line-height: 36px;
    }

    .gapp-section-heading p,
    .gapp-hero-copy > p,
    .gapp-footnote,
    .gapp-family-copy p,
    .gapp-process-copy p,
    .gapp-helps-intro {
        font-size: 16px;
        line-height: 24px;
    }

    .gapp-hero-copy > p { margin-bottom: 24px; }

    .gapp-elig-top,
    .gapp-elig-bottom,
    .gapp-services-grid,
    .gapp-needs-grid {
        grid-template-columns: 1fr;
    }
    .gapp-services-grid {
        gap: 30px;
    }
    .gapp-elig-top .gapp-elig-card {
        padding: 30px;
    }
    .gapp-elig-bottom {
        margin-top: initial;
    }
    .gapp-elig-bottom .gapp-elig-card:before {
        content: "";
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: 0;
        width: calc(100% - 80px);
        height: 2px;
        background: #F9B018;
    }
    .gapp-need-card:nth-child(-n+4) {
        padding-bottom: 30px;
        margin-bottom: initial;
    }
    
    .gapp-need-card::before, .gapp-need-card:nth-child(-n+4)::before {
        content: "";
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: 0;
        width: calc(100% - 40px);
        height: 2px;
        background: #F9B018;
    }


    .gapp-need-card:nth-child(odd)::after { display: none; }

    .gapp-cta-row {
        flex-direction: column;
        align-items: stretch;
    }

    .gapp-cta-row .primary-btn,
    .gapp-cta-row .secondary-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
        box-sizing: border-box;
    }

    .gapp-process-num { font-size: 100px; }

    .gapp-process-copy {
        min-height: 0;
        padding: 24px 0;
    }

    .gapp-process-copy h3 {
        font-size: 24px;
        line-height: 32px;
    }

    .gapp-page .gapp-accordion > li > h3 {
        font-size: 18px;
        line-height: 26px;
    }

    .gapp-helps-inner { padding: 40px 20px; }
    .gapp-helps-right { padding: 20px; }
}
