:root {
    --brand-primary: #1c6dd0;
    --brand-primary-dark: #0d3b84;
    --brand-accent: #f4b41a;
    --surface: #ffffff;
    --surface-muted: #f3f6fb;
    --text-color: #1a2433;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    background-color: var(--surface-muted);
    color: var(--text-color);
}

.header {
    background: #ffffffd9;
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.header__logo img{
    width: 100%;
}

.hero__background-overlay {
    background: linear-gradient(120deg, rgba(12, 36, 68, 0.68), rgba(12, 36, 68, 0.25));
}

.hero__wrapper {
    gap: 2.5rem;
}

.hero__content .form {
    background: var(--surface);
    border-radius: 18px;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 24px 45px rgba(9, 24, 45, 0.18);
}

.form-steps {
    display: block;
}

.step {
    display: none;
}

.step.step--active {
    display: block;
}


.banner--location {
    background: rgba(255, 255, 255, 0.92);
    color: var(--brand-primary-dark);
    border-left: 4px solid var(--brand-primary);
    border-radius: 12px;
    padding: 0.85rem 2.5rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.banner--location .icon-fill-pin {
    color: var(--brand-primary);
}

.btn--primary {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
    border: none;
    box-shadow: 0 16px 28px rgba(28, 109, 208, 0.28);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    color: #ffffff;
}

.btn--primary:hover,
.btn--primary:focus,
.btn--primary:active {
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(13, 59, 132, 0.35);
    color: #ffffff;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
}

.btn--primary .btn__text,
.btn--primary:hover .btn__text,
.btn--primary:focus .btn__text,
.btn--primary:active .btn__text {
    color: #ffffff;
}

.form-input-group input.form-input {
    border-radius: 12px;
    border: 1px solid rgba(12, 36, 68, 0.15);
    padding: 0.85rem 1rem;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.form-input-group input.form-input:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 4px rgba(28, 109, 208, 0.2);
    outline: none;
}

.radio__button {
    border-radius: 12px;
    border: 1px solid rgba(12, 36, 68, 0.15);
    padding: 0.65rem 0.85rem;
    transition: border 0.2s ease, background 0.2s ease;
}

.form-group__label-input,
.radio__button-text,
.zip-control__location,
.step__title,
.step__header-title {
    color: var(--text-color);
}

.radio__button label input[type="radio"] + .radio__button-text {
    color: var(--text-color);
}

.radio__button label input[type="radio"]:checked + .radio__button-text {
    color: var(--brand-primary-dark);
    font-weight: 600;
}

.radio__button label:hover input:not(:checked) + .radio__button-text {
    color: var(--brand-primary-dark);
}

.radio__button label:hover input:not(:checked) + .radio__button-text:before,
.radio__button-text:before {
    background-color: var(--surface);
    border-color: rgba(12, 36, 68, 0.25);
}


.radio__button label:hover input:not(:checked) + span + .radio__button-text {
    color: var(--brand-primary-dark);
}

.radio__button label:hover input:not(:checked) + span + .radio__button-text:before {
    background-color: var(--surface);
    border-color: rgba(12, 36, 68, 0.25);
}
.radio__button input:checked ~ .radio__custom-select {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
}

.progress-bar__background {
    background: rgba(12, 36, 68, 0.12);
}

.progress-bar__fill {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
}

.call-link {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    padding: 0.4rem 1rem;
}

.value-props__list {
    background: rgba(255, 255, 255, 0.88);
    border-radius: 16px;
    padding: 1rem;
}

.step__title {
    color: var(--brand-primary-dark);
    font-weight: 600;
}

.step__secure-text {
    color: rgba(12, 36, 68, 0.75);
}

.zip-control {
    border-radius: 12px;
    border: 1px solid rgba(12, 36, 68, 0.15);
    background: rgba(12, 36, 68, 0.05);
}

.zip-control__button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    color: var(--brand-primary-dark);
}

.back-btn {
    color: var(--brand-primary-dark);
}

.modal-overlay[hidden] {
    display: none;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(9, 24, 45, 0.65);
    display: grid;
    place-items: center;
    padding: 1.5rem;
    z-index: 1200;
}

.modal {
    background: var(--surface);
    border-radius: 18px;
    max-width: 520px;
    width: 100%;
    box-shadow: 0 32px 48px rgba(9, 24, 45, 0.25);
    position: relative;
    overflow: hidden;
}

.modal__body {
    padding: 2.25rem 2rem 2rem;
}

.modal__title {
    margin: 0 0 0.75rem;
    font-size: 1.5rem;
    color: var(--brand-primary-dark);
}

.modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    border: none;
    background: none;
    font-size: 1.75rem;
    color: var(--brand-primary-dark);
    cursor: pointer;
}

.modal__content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.form__status {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    display: none;
    font-weight: 500;
    background: rgba(28, 109, 208, 0.12);
    color: var(--brand-primary-dark);
}


.form__status--info {
    display: block;
    background: rgba(28, 109, 208, 0.12);
    color: var(--brand-primary-dark);
}
.form__status--error {
    display: block;
    background: #ffe5e5;
    color: #8b1a1a;
}

.form__status--success {
    display: block;
    background: #e5f7ec;
    color: #0b5d2f;
}

@media (min-width: 768px) {
    .hero__wrapper {
        align-items: flex-start;
    }

    .hero__content .form {
        padding: 2rem 2.5rem;
    }
}

@media (max-width: 767px) {
    .banner--location {
        padding: 0.85rem 1rem;
    }
    .header__logo img {
            width: 50px;
        }
    .hero__content .form {
        padding: 1.5rem;
        box-shadow: 0 12px 24px rgba(9, 24, 45, 0.12);
    }
}

.form-group__error-message {
    display: none;
    color: #8b1a1a;
    font-size: 0.85rem;
    margin-top: 0.35rem;
}

.form-group.has-error .form-group__error-message {
    display: block;
}

.form-group.has-error .form-input {
    border-color: #c62828;
}

.parent-error.has-error {
    border-color: #c62828;
}


.parent-error.has-error fieldset,
.parent-error.has-error .radio__button {
    border-color: #c62828;
}

/* Keep placeholder text visible and styled */
#zip::-webkit-input-placeholder,
#firstName::-webkit-input-placeholder,
#lastName::-webkit-input-placeholder,
#address::-webkit-input-placeholder,
#homePhone::-webkit-input-placeholder,
#email::-webkit-input-placeholder {
    color: #767475;
    opacity: 1;
}

#zip::placeholder,
#firstName::placeholder,
#lastName::placeholder,
#address::placeholder,
#homePhone::placeholder,
#email::placeholder {
    color: #767475;
    opacity: 1;
}



.inline-location-row {
    margin-top: 10px;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.inline-location-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0f766e;
    font-weight: 600;
}

.inline-location-edit {
    background: none;
    border: none;
    cursor: pointer;
    color: #0f766e;
    font-size: 14px;
}

.inline-zip-edit {
    display: flex;
    align-items: center;
    gap: 8px;
}

.inline-zip-input {
    width: 96px;
    padding: 6px 8px;
    border: 1px solid #d0d7e2;
    border-radius: 6px;
    font-size: 14px;
}

.inline-zip-edit[hidden] {
    display: none !important;
}

.inline-zip-apply,
.inline-zip-cancel {
    padding: 6px 10px;
    font-size: 13px;
    border-radius: 6px;
    border: 1px solid #d0d7e2;
    background: #fff;
    cursor: pointer;
}

.inline-zip-apply {
    background: #eef6ff;
    border-color: #c6ddff;
}

body.modal-open {
    overflow: hidden;
}
.site-footer {
    background: #0f172a;
    color: #e5e7eb;
    margin-top: 0;
}

.site-footer a {
    color: inherit;
    text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus {
    color: #93c5fd;
}

.site-footer__container {
    display: grid;
    gap: 2rem;
    padding: 3rem 15px;
}

.site-footer__brand {
    max-width: 340px;
}

.site-footer__logo {
    max-width: 180px;
    margin-bottom: 1rem;
}

.site-footer__brand p {
    margin: 0 0 1rem;
    color: #d1d5db;
    line-height: 1.6;
}

.site-footer__contact span {
    font-weight: 600;
}

.site-footer__column {
    min-width: 0;
}

.site-footer__heading {
    margin: 0 0 1rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #9ca3af;
}

.site-footer__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .65rem;
}

.site-footer__bottom {
    border-top: 1px solid rgba(148, 163, 184, .25);
    margin-top: 2.5rem;
}

.site-footer__bottom-inner {
    padding: 1.5rem 15px 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    color: #94a3b8;
    font-size: .9rem;
}

.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

@media (min-width: 768px) {
    .site-footer__container {
        grid-template-columns: 1.2fr 1fr 1fr;
        align-items: start;
    }

    .site-footer__bottom-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}
