/* ============================================================
   PQRS PAGE
   ============================================================ */

.pqrs-hero {
    padding: 4rem 0 2rem;
    text-align: center;
    position: relative;
}

.pqrs-hero .container {
    padding: 2rem 0;
}

.pqrs-hero .s-label {
    margin: 0 auto 2rem;
    justify-content: center;
    display: inline-flex;
}

.pqrs-titulo {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-light) 0%, var(--secondary) 50%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    filter: drop-shadow(0 4px 30px rgba(139, 92, 246, 0.4));
    letter-spacing: -1px;
}

.pqrs-subtitulo {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.6;
}

.pqrs-subtitulo small {
    color: var(--text-dim);
    display: block;
    margin-top: 8px;
    font-size: 0.85rem;
}

/* === FORMULARIO === */
.pqrs-form-section {
    padding: 2rem 0 4rem;
}

.pqrs-form {
    max-width: 920px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.pqrs-fieldset {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
}

.pqrs-fieldset legend {
    padding: 0 0.8rem;
    color: var(--secondary);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.pqrs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.pqrs-grid .form-group {
    grid-column: span 1;
}

.pqrs-grid .form-group:nth-child(odd):last-child {
    grid-column: span 2;
}

/* === SELECTOR VISUAL DE TIPO === */
.pqrs-tipos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.7rem;
}

.pqrs-tipo {
    cursor: pointer;
    position: relative;
}

.pqrs-tipo input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pqrs-tipo span {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0.6rem;
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--border-radius);
    color: var(--text-light);
    font-weight: 600;
    text-align: center;
    transition: all 0.25s ease;
    background: rgba(255, 255, 255, 0.03);
    font-size: 0.92rem;
}

.pqrs-tipo:hover span {
    border-color: var(--secondary);
    background: rgba(0, 229, 168, 0.08);
    transform: translateY(-2px);
}

.pqrs-tipo input[type="radio"]:checked + span {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(0, 229, 168, 0.18));
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.3);
    color: var(--text-light);
    transform: translateY(-2px);
}

.pqrs-tipo input[type="radio"]:checked + span::after {
    content: '✓';
    position: absolute;
    top: 6px;
    right: 10px;
    color: var(--secondary);
    font-weight: 700;
}

/* === ADJUNTOS DROPZONE === */
.adjuntos-dropzone {
    position: relative;
    border: 2px dashed rgba(139, 92, 246, 0.4);
    border-radius: var(--border-radius);
    padding: 1.8rem 1rem;
    text-align: center;
    transition: all 0.25s ease;
    background: rgba(139, 92, 246, 0.04);
    cursor: pointer;
}

.adjuntos-dropzone:hover,
.adjuntos-dropzone.dragover {
    border-color: var(--secondary);
    background: rgba(0, 229, 168, 0.08);
    transform: translateY(-1px);
}

.adjuntos-dropzone input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.adjuntos-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    pointer-events: none;
}

.adjuntos-icon {
    font-size: 2.5rem;
    margin-bottom: 4px;
}

.adjuntos-info strong {
    color: var(--text-light);
    font-size: 0.95rem;
}

.adjuntos-info small {
    color: var(--text-dim);
    font-size: 0.78rem;
}

/* Lista de archivos seleccionados */
.adjuntos-lista {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.adjuntos-lista[hidden] {
    display: none;
}

.adjuntos-lista li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0.9rem;
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 8px;
    font-size: 0.88rem;
    color: var(--text-light);
}

.adjuntos-lista .adj-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.adjuntos-lista .adj-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.adjuntos-lista .adj-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.adjuntos-lista .adj-size {
    color: var(--text-dim);
    font-size: 0.78rem;
    margin-left: 8px;
    flex-shrink: 0;
}

.adjuntos-lista .adj-remove {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    margin-left: 8px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.adjuntos-lista .adj-remove:hover {
    background: #ef4444;
    color: white;
    transform: scale(1.1);
}

/* Botón submit grande */
.pqrs-submit {
    padding: 1rem 2.4rem;
    font-size: 1.05rem;
    font-weight: 700;
}

/* === INFO LEGAL === */
.pqrs-info {
    padding: 2rem 0 4rem;
    background: rgba(139, 92, 246, 0.04);
}

.pqrs-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.pqrs-info-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--border-radius);
    padding: 1.8rem 1.5rem;
    text-align: center;
    transition: all 0.25s ease;
}

.pqrs-info-card:hover {
    transform: translateY(-4px);
    border-color: var(--secondary);
    box-shadow: 0 15px 40px rgba(0, 229, 168, 0.15);
}

.pqrs-info-icon {
    font-size: 2.5rem;
    margin-bottom: 0.6rem;
}

.pqrs-info-card h3 {
    color: var(--secondary);
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.pqrs-info-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.hint {
    color: var(--text-dim);
    font-size: 0.78rem;
    margin-top: 3px;
    display: block;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .pqrs-form {
        padding: 1.5rem 1rem;
    }
    .pqrs-grid {
        grid-template-columns: 1fr;
    }
    .pqrs-grid .form-group:nth-child(odd):last-child {
        grid-column: span 1;
    }
    .pqrs-tipos {
        grid-template-columns: repeat(2, 1fr);
    }
    .pqrs-titulo {
        font-size: 2rem;
    }
}
