@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    overflow-x: hidden;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: #eef0f4;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ── Header ── */
.site-header {
    background-color: #1f497d;
    padding-bottom: 16px;
    padding-top: 16px;
    padding-left: 12px;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
}

.header-phone svg {
    flex-shrink: 0;
}

/* ── Main wrapper ── */
.page-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 20px 16px;
}

@media (max-width: 720px) {
    .page-main {
        align-items: flex-start;
    }
}

.content-card {
    display: grid;
    grid-template-columns: 60% 40%;
    width: 100%;
    max-width: 1160px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.16);
}

/* ── Form panel ── */
.form-panel {
    background: #fff;
    padding: 32px 40px 36px;
}

.property-badge {
    display: inline-block;
    background-color: #1f497d;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 8px 22px;
    border-radius: 3px;
    margin-bottom: 22px;
}

.form-heading {
    font-size: 30px;
    font-weight: 800;
    color: #1f497d;
    margin-bottom: 8px;
    line-height: 1.25;
}

.form-subline {
    font-size: 16px;
    color: #555;
    margin-bottom: 4px;
}

.form-tagline {
    font-size: 18/exitpx;
    color: #444;
    font-weight: 600;
    margin-bottom: 24px;
}

.error-list {
    list-style: none;
    background: #fff5f5;
    border: 1px solid #fca5a5;
    border-radius: 4px;
    padding: 10px 14px;
    margin-bottom: 16px;
}

.error-list li {
    color: #c53030;
    font-size: 13px;
}

.field-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.field-group label {
    font-size: 14.5px;
    font-weight: 600;
    color: #2d2d2d;
}

.field-group label .req {
    color: #e53935;
    margin-left: 1px;
}

.field-group input,
.field-group select {
    width: 100%;
    height: 50px;
    padding: 0 14px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 16px;
    color: #333;
    outline: none;
    transition: border-color 0.15s;
}

.field-group input:focus {
    border-color: #1f497d;
}

.field-group input::placeholder {
    color: #b0b0b0;
}

.field-error {
    font-size: 11px;
    color: #c53030;
}

.consent-text {
    font-size: 12px;
    color: #666;
    line-height: 1.55;
    margin-bottom: 20px;
}

.btn-submit {
    background-color: #36ae47;
    color: #fff;
    border: none;
    padding: 15px 48px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.15s;
    letter-spacing: 0.2px;
}

.btn-submit:hover {
    background-color: #36ae47;
}

/* ── Testimonial panel ── */
.testimonial-panel {
    position: relative;
    background-color: #1f497d;
    background-image: url('/assets/images/family-with-kid-in-home.webp');
    background-size: cover;
    background-position: center top;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 420px;
    overflow: hidden;
}

.testimonial-content {
    position: relative;
    z-index: 1;
    padding: 28px;
}

.testimonial-intro {
    font-size: 16px;
    color: #c8d4e8;
    line-height: 1.55;
    margin-bottom: 16px;
}

.testimonial-blockquote {
    font-size: 20px;
    font-style: italic;
    color: #fff;
    line-height: 1.65;
    margin-bottom: 16px;
    padding-left: 18px;
    border-left: 3px solid #f47521;
}

.testimonial-name {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}

.testimonial-credit {
    font-size: 13px;
    color: #8a9ec0;
}

/* ── Footer ── */
.site-footer {
    background-color: #1f497d;
}

.footer-logo {
    height: 48px;
    width: auto;
}

.footer-consent {
    font-size: 11px;
    color: #ffffff;
    line-height: 1.55;
    margin-bottom: 0;
}

.footer-nav a {
    color: #ffffff;
    font-size: 12px;
    text-decoration: underline;
}

.footer-nav a:hover {
    color: #fff;
}

.footer-copyright {
    font-size: 11px;
    color: #ffffff;
    margin-bottom: 0;
}

/* ── Peace of Mind Section ── */
.peace-section {
    background: #fff;
    padding: 60px 20px 52px;
}

.peace-inner {
    max-width: 1160px;
    margin: 0 auto;
    text-align: center;
}

.peace-heading {
    font-size: 32px;
    font-weight: 800;
    color: #1f497d;
    margin-bottom: 14px;
}

.peace-subtext {
    font-size: 17px;
    color: #888;
    line-height: 1.65;
    margin-bottom: 52px;
}

.peace-icon {
    height: 72px;
    width: auto;
    margin-bottom: 24px;
    opacity: 0.55;
}

.peace-step-title {
    font-size: 18px;
    font-weight: 700;
    color: #1f497d;
    margin-bottom: 12px;
}

.peace-step-desc {
    font-size: 15px;
    color: #888;
    line-height: 1.7;
    max-width: 300px;
    margin: 0 auto;
}

/* ── Member Benefit Section ── */
.member-section-wrapper {
    background: #fff;
    display: flex;
    justify-content: center;
    padding: 28px 20px 36px;
}

.member-section {
    width: 100%;
    max-width: 1160px;
}

.as-seen-on__label {
    font-size: 11px;
    font-weight: 700;
    color: #aaa;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.as-seen-on__logo {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.member-divider {
    border: none;
    border-top: 1px solid #000000;
}

.member-benefit-heading {
    font-size: 25px;
    font-weight: 800;
    color: #1f497d;
    margin-bottom: 8px;
}

.member-benefit-desc {
    font-size: 15.5px;
    color: #555;
    line-height: 1.6;
    max-width: 600px;
}

.btn-unlock-savings {
    display: inline-block;
    background-color: #1f497d;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 14px 28px;
    border-radius: 4px;
    text-decoration: none;
    white-space: nowrap;
    text-transform: uppercase;
}

.btn-unlock-savings:hover {
    background-color: #1f497d;
    color: #fff;
}

.brand-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    overflow: hidden;
}

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

.logo img {
    width: 70%;
}

@media (max-width: 720px) {
    .content-card {
        grid-template-columns: 1fr;
    }

    .testimonial-panel {
        padding: 28px 24px;
    }

    .footer-logo {
        margin: 0 auto;
    }


    .footer-nav a {
        margin: 0 8px;
    }

    .field-row--2,
    .field-row--3 {
        grid-template-columns: 1fr;
    }

    .btn-submit {
        display: block;
        margin: 0 auto;
    }

    .member-section {
        padding: 20px 16px 24px;
    }

    .member-section .d-flex.justify-content-between {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .member-section .btn-unlock-savings {
        align-self: center;
    }

    .brand-logos-wrapper .col-3 {
        flex: 0 0 auto;
        width: 65%;
        padding-bottom: 10px;
        margin: 0 auto;
    }

    .brand-logos-small .brand-logo-item {
        padding: 12px 6px;
    }

    .peace-section {
        background: #fff;
        padding: 2px 20px 52px;
    }

    .logo img {
        height: 40px;
        width: auto;
    }

    .header-phone {
        font-size: 20px;
    }

    .peace-subtext {
        font-size: 16px;
    }
}
