/* ================================
   FORMULARIO VOZ ACTIVA
   Diseño adaptado a la página
   ================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    width: 100%;
    min-height: 100%;
    font-family: Arial, Helvetica, sans-serif;
    background: #e8e0d5;
    color: #1a1e28;
}

/* Fondo general de la página del formulario */
body {
    padding: 70px 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* Tarjeta principal del formulario */
.voz-activa-form {
    width: 100%;
    max-width: 940px;
    background: #ebdcc5;
    padding: 55px 60px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(40, 52, 86, 0.14);
}

/* Filas dobles */
.form-row {
    display: flex;
    gap: 32px;
    width: 100%;
}

.form-row .form-group {
    flex: 1;
}

/* Grupos */
.form-group {
    margin-bottom: 34px;
}

/* Labels */
.form-label {
    display: block;
    font-size: 1.08rem;
    font-weight: 500;
    color: #232a38;
    margin-bottom: 14px;
    line-height: 1.35;
}

.label-note {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 400;
    color: #5a6070;
    line-height: 1.4;
}

/* Inputs y textarea */
.form-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #b99263;
    padding: 10px 4px 11px;
    font-size: 1rem;
    color: #232a38;
    font-family: Arial, Helvetica, sans-serif;
    transition: border-color 0.25s ease, background-color 0.25s ease;
}

.form-input:focus {
    outline: none;
    border-bottom: 2px solid #232a38;
    background-color: rgba(255, 255, 255, 0.16);
}

.textarea-custom {
    min-height: 100px;
    resize: vertical;
}

/* Grids de radios */
.radio-grid-1,
.radio-grid-2,
.radio-grid-3 {
    display: grid;
    gap: 14px;
}

.radio-grid-1 {
    grid-template-columns: 1fr;
}

.radio-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.radio-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* Opciones tipo tarjeta */
.custom-radio {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 54px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.26);
    border: 1px solid rgba(185, 146, 99, 0.55);
    border-radius: 6px;
    cursor: pointer;
    color: #232a38;
    font-size: 0.97rem;
    line-height: 1.3;
    transition: all 0.25s ease;
}

.custom-radio:hover {
    background: rgba(255, 255, 255, 0.42);
    border-color: #b99263;
    transform: translateY(-1px);
}

.custom-radio input {
    appearance: none;
    -webkit-appearance: none;
    width: 17px;
    height: 17px;
    min-width: 17px;
    border: 2px solid #b99263;
    border-radius: 50%;
    margin-right: 10px;
    background: transparent;
    position: relative;
    cursor: pointer;
}

.custom-radio input:checked {
    border-color: #232a38;
    background: #232a38;
    box-shadow: inset 0 0 0 4px #ebdcc5;
}

.custom-radio input:checked + span {
    font-weight: 600;
}

/* Caja para subir archivos */
.file-upload-box {
    width: 100%;
    min-height: 130px;
    border: 1.5px dashed #b99263;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    transition: all 0.25s ease;
}

.file-upload-box:hover {
    background: rgba(255, 255, 255, 0.38);
    border-color: #232a38;
}

/* Botón elegir archivos */
.btn-file-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #232a38;
    color: #ffffff;
    padding: 14px 26px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-file-custom:hover {
    background: #30384b;
    transform: translateY(-1px);
}

.icon-small {
    width: 22px;
    height: 22px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* Botón final */
.form-submit-row {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.btn-solid-submit {
    min-width: 220px;
    background: #232a38;
    color: #ffffff;
    border: none;
    padding: 15px 34px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 700;
    font-family: Arial, Helvetica, sans-serif;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-solid-submit:hover {
    background: #30384b;
    transform: translateY(-2px);
}

.btn-solid-submit:active {
    transform: translateY(0);
}

/* Estados requeridos / accesibilidad */
.form-input:required,
.custom-radio input:required {
    box-shadow: none;
}

.form-input::placeholder {
    color: #777;
}

/* ================================
   RESPONSIVE
   ================================ */

@media (max-width: 900px) {
    body {
        padding: 45px 18px;
    }

    .voz-activa-form {
        padding: 45px 35px;
    }

    .radio-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 680px) {
    body {
        padding: 30px 14px;
    }

    .voz-activa-form {
        padding: 35px 22px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .radio-grid-2,
    .radio-grid-3 {
        grid-template-columns: 1fr;
    }

    .form-label {
        font-size: 1rem;
    }

    .custom-radio {
        font-size: 0.95rem;
        padding: 13px 14px;
    }

    .file-upload-box {
        min-height: 115px;
        padding: 20px;
    }

    .btn-file-custom {
        width: 100%;
        padding: 14px 18px;
    }

    .btn-solid-submit {
        width: 100%;
    }
}