:root {
    --navy: #272F60;
    --red:  #D72638;
    --bg:   #F5F6FA;
    --text: #1a1a1a;
    --muted:#6b7280;
    --line: #e5e7eb;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
}

.hero {
    background: var(--navy);
    line-height: 0;
    text-align: center;
    max-width: 860px;
    margin: 1rem auto 0;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}
.hero-inner {
    display: block;
    width: 100%;
}
.hero-inner img {
    display: block;
    width: 100%;
    height: auto;
}
.kicker {
    margin: 0;
    font-size: .8rem;
    letter-spacing: .25em;
    opacity: .85;
    text-transform: uppercase;
}
.hero h1 {
    margin: .35em 0 .25em;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
    letter-spacing: .01em;
}
.dates {
    margin: 0 0 1.25rem;
    font-size: 1rem;
    opacity: .92;
}
.claim {
    margin: 0;
    display: inline-block;
    background: rgba(255,255,255,.08);
    border-left: 3px solid var(--red);
    padding: .5rem .85rem;
    font-size: .95rem;
    font-weight: 500;
}

.card {
    max-width: 860px;
    margin: 0 auto 2rem;
    background: #fff;
    border-radius: 0 0 12px 12px;
    padding: 2.5rem 3rem;
    box-shadow: 0 6px 24px rgba(27,42,91,.08);
    display: block;
}
.card-info {
    margin-bottom: 1.75rem;
}
.card-form {
    display: block;
}
.card h2 {
    margin: 0 0 .5em;
    color: var(--navy);
    font-size: 1.35rem;
    font-weight: 700;
}
.lead {
    margin: 0;
    color: var(--muted);
    font-size: .95rem;
}

.alert {
    margin-bottom: 1rem;
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: .65rem .85rem;
    font-size: .9rem;
}

fieldset.tipo {
    border: 0;
    padding: 0;
    margin: 0 0 1rem;
}
fieldset.tipo legend {
    font-size: .85rem;
    color: var(--muted);
    margin-bottom: .5rem;
    padding: 0;
}
fieldset.tipo label {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-right: 1rem;
    margin-bottom: .35rem;
    cursor: pointer;
    font-size: .95rem;
}
fieldset.tipo input[type="radio"] {
    accent-color: var(--navy);
}

.field {
    display: block;
    margin-bottom: 1.25rem;
}
.field > span {
    display: block;
    font-size: .85rem;
    color: var(--muted);
    margin-bottom: .35rem;
}
.field input[type="text"] {
    width: 100%;
    padding: .7rem .85rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: .04em;
    transition: border-color .15s, box-shadow .15s;
}
.field input[type="text"]:focus {
    outline: none;
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(27,42,91,.12);
}
.field input[type="text"][aria-invalid="true"] {
    border-color: var(--red);
}
.hint {
    display: block;
    margin-top: .35rem;
    font-size: .8rem;
    color: var(--muted);
    min-height: 1em;
}
.hint.error { color: var(--red); }

button[type="submit"] {
    width: 100%;
    background: var(--navy);
    color: #fff;
    border: 0;
    padding: .85rem 1rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s, transform .05s;
}
button[type="submit"]:hover { background: #14204a; }
button[type="submit"]:active { transform: translateY(1px); }

footer {
    text-align: center;
    color: var(--muted);
    font-size: .8rem;
    padding: 1rem 0 2rem;
}

@media (max-width: 640px) {
    .hero { margin: .5rem .75rem 0; border-radius: 8px 8px 0 0; }
    .card { margin: 0 .75rem 1.5rem; padding: 1.5rem 1.25rem; border-radius: 0 0 8px 8px; }
    fieldset.tipo label { margin-right: .65rem; }
}
