﻿:root {
    --eh-red: #C8102E;
    --eh-red-dark: #a50d26;
    --eh-text: #111;
    --eh-muted: #555;
    --eh-border: #ddd;
    --eh-panel: #f6f6f6;
    --eh-focus: #2b6cb0;
    --eh-radius: 6px;
    --eh-space: 14px;
    --eh-fontstack: "Heritage Moderne Web Light", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

html, body {
    font-family: var(--eh-fontstack);
    color: var(--eh-text);
}

h1 {
    font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.25rem);
    line-height: 1.2;
    margin: 0 0 calc(var(--eh-space)*1.25);
    letter-spacing: 0.2px;
}

h2 {
    font-size: clamp(1.15rem, 1rem + 0.7vw, 1.5rem);
    margin: calc(var(--eh-space)*1.25) 0 var(--eh-space);
}

p, li {
    line-height: 1.6;
}

ul {
    padding-left: 1.2rem;
}

.hint {
    color: var(--eh-muted);
}

.error {
    color: var(--eh-red);
    margin-top: 6px;
}

.form-wrapper {
    background: #fff;
    border: 1px solid #eee;
    border-radius: var(--eh-radius);
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
    padding: calc(var(--eh-space)*1.25);
}

.step {
    display: none;
    background: var(--eh-panel);
    border: 1px solid #eee;
    border-radius: var(--eh-radius);
    padding: calc(var(--eh-space)*1.25);
}

    .step.active {
        display: block;
    }

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-block: var(--eh-space);
}

label {
    font-weight: 600;
}

.required::after {
    content: " *";
    color: var(--eh-red);
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    appearance: none;
    width: 100%;
    border: 1px solid var(--eh-border);
    border-radius: var(--eh-radius);
    padding: 10px 12px;
    font-size: 1rem;
    background: #fff;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

    input:focus, select:focus, textarea:focus {
        outline: 3px solid rgba(43,108,176,.25);
        outline-offset: 1px;
        border-color: var(--eh-focus);
        box-shadow: 0 0 0 2px rgba(43,108,176,.15);
    }

fieldset {
    border: 0;
    padding: 0;
    margin: var(--eh-space) 0;
}

    fieldset legend {
        font-weight: 700;
        margin-bottom: 6px;
    }

    fieldset label {
        font-weight: 500;
        margin-right: 16px;
    }

.actions {
    margin-top: calc(var(--eh-space)*1.25);
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

    .actions button {
        border: 0;
        border-radius: var(--eh-radius);
        padding: 12px 18px;
        font-weight: 800;
        letter-spacing: .4px;
        text-transform: uppercase;
        cursor: pointer;
    }

        .actions button[type="submit"],
        #nextBtn {
            background: var(--eh-red);
            color: #fff;
        }

            .actions button[type="submit"]:hover,
            #nextBtn:hover {
                background: var(--eh-red-dark);
            }

#prevBtn {
    background: #fff;
    color: var(--eh-text);
    border: 1px solid var(--eh-border);
}

    #prevBtn:hover {
        border-color: #bbb;
    }

.validation-summary-errors, [asp-validation-summary] {
    background: #fff3f3;
    border: 1px solid #f7d6d9;
    color: #7a0014;
    padding: 10px 12px;
    border-radius: var(--eh-radius);
    margin-bottom: var(--eh-space);
}

.g-recaptcha {
    margin-top: var(--eh-space);
}

a {
    color: var(--eh-text);
    text-underline-offset: 2px;
}

    a:hover {
        text-decoration: none;
    }

@media (min-width: 600px) {
    .form-wrapper {
        padding: calc(var(--eh-space)*1.75);
    }
}

@media (min-width: 960px) {
    .form-wrapper {
        max-width: 860px;
        margin-inline: auto;
    }
}
.eh-intro {
    font-family: var(--eh-fontstack);
    color: var(--eh-text);
    margin: 0 auto;
    padding: clamp(12px, 2vw, 20px);
    max-width: 860px;
}

    .eh-intro h1 {
        font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.3rem);
        line-height: 1.2;
        margin: 0 0 calc(var(--eh-space)*1.2);
        letter-spacing: .2px;
        position: relative;
        padding-bottom: .35rem;
        
    }

    

    .eh-intro p {
        margin: .7rem 0;
        line-height: 1.65;
        color: var(--eh-text);
    }

    .eh-intro .lead {
        font-size: clamp(1.03rem, .95rem + .5vw, 1.2rem);
        color: var(--eh-text);
    }

    .eh-intro ul {
        margin: .6rem 0 .9rem 1.1rem;
        padding: 0;
    }

    .eh-intro li {
        margin: .35rem 0;
        line-height: 1.6;
    }

    .eh-intro .hint {
        color: var(--eh-muted);
        margin-top: .4rem;
        font-size: .975rem;
    }

    .eh-intro a {
        color: var(--eh-text);
        text-underline-offset: 2px;
    }

        .eh-intro a:hover {
            text-decoration: none;
        }

.eh-note {
    background: #f6f6f6;
    border: 1px solid var(--eh-border);
    border-radius: var(--eh-radius);
    padding: calc(var(--eh-space)*1.1);
    margin: calc(var(--eh-space)*1.2) 0;
}

@media (min-width: 960px) {
    .eh-intro {
        margin-bottom: 18px;
    }
}


.field.checkbox {
    display: flex;
    align-items: center; 
    gap: .5rem; 
    flex-direction: row;
}

    .field.checkbox label {
        display: inline; 
        margin: 0; 
    }

    .field.checkbox .error {
        margin-left: .75rem; 
    }