:root {
    --navy: #006633;
    --teal: #00796B;
    --teal-lt: #E0F2F1;
    --red: #C62828;
    --border: #CBD5E1;
    --bg: #F7F9FC;
    --white: #FFFFFF;
    --text: #1E293B;
    --muted: #64748B;
    --radius: 8px;
    --shadow: 0 4px 24px rgba(13, 31, 60, .09);
}

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

body {
    font-family: Lato, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 32px 16px 64px;
}

.card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 680px;
    overflow: hidden;
}

/* ── Header ── */
.card-header {
    background: var(--navy);
    padding: 36px 48px 32px;
    position: relative;
}

.card-header::after {
    content: '';
    display: block;
    height: 4px;
    background: linear-gradient(90deg, var(--teal) 0%, #26C6DA 100%);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.card-header h1 {
    font-family: Lato, serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.2;
}

.card-header p {
    margin-top: 6px;
    font-size: .875rem;
    color: rgba(255, 255, 255, .6);
    font-weight: 300;
}

.req-note {
    margin-top: 12px;
    font-size: .78rem;
    color: rgba(255, 255, 255, .5);
}

.req-note span {
    color: #FF8A80;
    font-weight: 600;
}

/* ── Body ── */
.card-body {
    padding: 40px 48px 48px;
}

/* ── Section ── */
.section {
    margin-bottom: 36px;
}

.section:last-of-type {
    margin-bottom: 0;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: Lato, serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--teal-lt);
}

.section-label .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--teal);
    flex-shrink: 0;
}

/* ── Grid ── */
.grid {
    display: grid;
    gap: 18px;
}

.grid-2 {
    grid-template-columns: 1fr 1fr;
}

.col-full {
    grid-column: 1 / -1;
}

/* ── Field ── */
.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

label {
    font-size: .8rem;
    font-weight: 500;
    color: var(--muted);
    letter-spacing: .04em;
    text-transform: uppercase;
}

.asterisk {
    color: var(--red);
    margin-left: 2px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    font-family: Lato, sans-serif;
    font-size: .95rem;
    color: var(--text);
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 14px;
    transition: border-color .2s, box-shadow .2s;
    outline: none;
    -webkit-appearance: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(0, 121, 107, .12);
    background: var(--white);
}

select[multiple] {
    height: 160px;
    padding: 8px 10px;
}

select[multiple] option {
    padding: 4px 6px;
    border-radius: 4px;
}

select[multiple] option:checked {
    background: var(--teal-lt);
    color: var(--teal);
}

textarea {
    resize: vertical;
    min-height: 96px;
}

/* hint text */
.hint {
    font-size: .75rem;
    color: var(--muted);
    margin-top: 2px;
    font-style: italic;
}

/* ── Divider ── */
.divider {
    border: none;
    border-top: 1.5px solid var(--teal-lt);
    margin: 36px 0;
}

/* ── Submit ── */
.submit-wrap {
    margin-top: 36px;
    text-align: right;
}

input[type="submit"] {
    font-family: Lato, sans-serif;
    font-size: .95rem;
    font-weight: 500;
    color: var(--white);
    background: var(--teal);
    border: none;
    border-radius: var(--radius);
    padding: 13px 40px;
    cursor: pointer;
    letter-spacing: .02em;
    transition: background .2s, transform .15s, box-shadow .2s;
    box-shadow: 0 4px 14px rgba(0, 121, 107, .3);
}

input[type="submit"]:hover {
    background: #005A4F;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 121, 107, .38);
}

input[type="submit"]:active {
    transform: translateY(0);
}

@media (max-width: 520px) {

    .card-header,
    .card-body {
        padding-left: 24px;
        padding-right: 24px;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }
}