:root {
    color-scheme: light;
    font-family: Arial, sans-serif;
    color: #1d2939;
    background: #f5f3ef;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 24px 16px;
}

.contenedor {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
}

.cabecera {
    margin-bottom: 28px;
}

.marca {
    color: #9b7534;
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 0.08em;
}

h1 {
    margin: 10px 0;
    color: #172b4d;
    font-size: clamp(2rem, 8vw, 3.5rem);
    line-height: 1.05;
}

.cabecera p:not(.marca) {
    color: #52606d;
    line-height: 1.6;
}

form {
    padding: 24px;
    border: 1px solid #e2ded7;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 35px rgba(23, 43, 77, 0.08);
}

.campo {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

input,
select,
textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #cbd2d9;
    border-radius: 9px;
    font: inherit;
    background: #fff;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: 3px solid rgba(155, 117, 52, 0.2);
    border-color: #9b7534;
}

small,
.ayuda {
    display: block;
    margin-top: 7px;
    color: #697586;
    font-size: 0.85rem;
}

.privacidad {
    margin: 22px 0;
    color: #52606d;
    font-size: 0.9rem;
    line-height: 1.5;
}

.privacidad label {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    font-weight: normal;
}

.privacidad input {
    width: auto;
    margin-top: 4px;
}

a {
    color: #8a652b;
}

button {
    width: 100%;
    padding: 15px;
    border: 0;
    border-radius: 9px;
    color: #fff;
    background: #172b4d;
    cursor: pointer;
    font: inherit;
    font-weight: bold;
}

button:hover {
    background: #243f6b;
}

button:disabled {
    opacity: 0.65;
    cursor: wait;
}

.exito,
.error {
    margin-top: 18px;
    padding: 12px;
    border-radius: 8px;
    line-height: 1.4;
}

.exito {
    color: #176b43;
    background: #e8f6ee;
}

.error {
    color: #a32929;
    background: #fdecec;
}

@media (max-width: 480px) {
    body {
        padding: 16px 10px;
    }

    form {
        padding: 18px;
    }
}