/* =============================================
   PQRS - Peticiones, Quejas, Reclamos y Sugerencias
   ============================================= */

/* Variables CSS para consistencia */
:root {
     --primary-orange: #f25c05;
     --secondary-orange: #ff8a47;
     --dark-bg: #2c3e50;
     --light-bg: #f8f9fa;
     --success-green: #28a745;
     --warning-yellow: #ffc107;
     --danger-red: #dc3545;
     --info-blue: #17a2b8;
     --text-dark: #2c3e50;
     --text-muted: #6c757d;
     --white: #ffffff;
}

/* Estilos base */
* {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
}

body {
     font-family: 'Rubik', sans-serif;
     line-height: 1.6;
     color: var(--text-dark);
     overflow-x: hidden;
}

/* =============================================
   HERO SECTION PQRS - ESTILO LIMPIO Y PROFESIONAL
   ============================================= */

/* Hero Section Base */
.hero-pqrs {
     position: relative;
     background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
     min-height: 85vh;
     display: flex;
     align-items: center;
     overflow: hidden;
     color: var(--text-dark);
}

/* Hero Background Effects */
.hero-background {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     z-index: 1;
}

/* Ondas de fondo */
.hero-waves {
     position: absolute;
     bottom: 0;
     left: 0;
     width: 100%;
     height: 100%;
     overflow: hidden;
}

.wave {
     position: absolute;
     bottom: 0;
     left: 0;
     width: 200%;
     height: 200px;
     background: linear-gradient(135deg, rgba(242, 92, 5, 0.1) 0%, rgba(255, 138, 71, 0.05) 100%);
     border-radius: 50%;
     animation: wave-animation 15s ease-in-out infinite;
}

.wave.wave-1 {
     animation-delay: 0s;
     opacity: 0.8;
}

.wave.wave-2 {
     animation-delay: 5s;
     opacity: 0.6;
     height: 250px;
}

.wave.wave-3 {
     animation-delay: 10s;
     opacity: 0.4;
     height: 300px;
}

@keyframes wave-animation {

     0%,
     100% {
          transform: translateX(-25%) rotate(0deg);
     }

     50% {
          transform: translateX(-75%) rotate(180deg);
     }
}

/* Grid de fondo */
.hero-grid {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     opacity: 0.05;
}

.grid-line {
     position: absolute;
     background: var(--primary-orange);
}

.grid-line:nth-child(1) {
     width: 1px;
     height: 100%;
     left: 20%;
}

.grid-line:nth-child(2) {
     width: 1px;
     height: 100%;
     left: 40%;
}

.grid-line:nth-child(3) {
     width: 1px;
     height: 100%;
     left: 60%;
}

.grid-line:nth-child(4) {
     width: 1px;
     height: 100%;
     left: 80%;
}

.grid-line:nth-child(5) {
     width: 100%;
     height: 1px;
     top: 50%;
}

/* Contenido del hero */
.hero-content {
     position: relative;
     z-index: 2;
     padding: 2rem 0;
}

/* Badge superior */
.hero-badge {
     display: inline-flex;
     align-items: center;
     background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
     color: white;
     padding: 0.5rem 1.5rem;
     border-radius: 50px;
     font-size: 0.9rem;
     font-weight: 600;
     margin-bottom: 1.5rem;
     box-shadow: 0 4px 15px rgba(242, 92, 5, 0.3);
}

/* Título principal */
.hero-title {
     font-size: 3.5rem;
     font-weight: 800;
     line-height: 1.1;
     margin-bottom: 1rem;
}

.title-highlight {
     color: var(--primary-orange);
     display: block;
}

.title-main {
     color: var(--text-dark);
     display: block;
}

/* Subtítulo */
.hero-subtitle {
     font-size: 1.5rem;
     font-weight: 400;
     color: var(--text-muted);
     margin-bottom: 1.5rem;
     line-height: 1.4;
}

/* Descripción */
.hero-description {
     font-size: 1.1rem;
     color: var(--text-muted);
     margin-bottom: 2rem;
     line-height: 1.6;
}

/* Métricas del hero */
.hero-metrics {
     display: flex;
     gap: 2rem;
     margin-bottom: 2.5rem;
     flex-wrap: wrap;
}

.metric-item {
     text-align: center;
}

.metric-value {
     font-size: 2rem;
     font-weight: 800;
     color: var(--primary-orange);
     display: block;
     line-height: 1;
}

.metric-label {
     font-size: 0.9rem;
     color: var(--text-muted);
     font-weight: 500;
     margin-top: 0.25rem;
}

/* Botones del hero */
.hero-buttons {
     display: flex;
     gap: 1rem;
     flex-wrap: wrap;
}

.btn-hero-primary {
     background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
     color: white;
     padding: 1rem 2rem;
     border: none;
     border-radius: 12px;
     font-weight: 600;
     text-decoration: none;
     transition: all 0.3s ease;
     box-shadow: 0 8px 25px rgba(242, 92, 5, 0.3);
}

.btn-hero-primary:hover {
     transform: translateY(-3px);
     box-shadow: 0 12px 35px rgba(242, 92, 5, 0.4);
     color: white;
}

.btn-hero-secondary {
     background: white;
     color: var(--primary-orange);
     padding: 1rem 2rem;
     border: 2px solid var(--primary-orange);
     border-radius: 12px;
     font-weight: 600;
     text-decoration: none;
     transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
     background: var(--primary-orange);
     color: white;
     transform: translateY(-3px);
}

/* Visual del hero */
.hero-visual {
     position: relative;
     z-index: 2;
     padding: 2rem 0;
}

/* Dashboard de PQRS */
.pqrs-dashboard-container {
     max-width: 500px;
     margin: 0 auto;
}

.pqrs-dashboard-card {
     background: white;
     border-radius: 20px;
     padding: 2rem;
     box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
     border: 1px solid rgba(242, 92, 5, 0.1);
}

.dashboard-header {
     display: flex;
     justify-content: space-between;
     align-items: center;
     margin-bottom: 2rem;
     padding-bottom: 1rem;
     border-bottom: 1px solid #eee;
}

.dashboard-header h4 {
     margin: 0;
     color: var(--text-dark);
     font-weight: 700;
}

.status-indicator {
     width: 12px;
     height: 12px;
     border-radius: 50%;
     background: #28a745;
     position: relative;
}

.status-indicator.online::before {
     content: '';
     position: absolute;
     width: 12px;
     height: 12px;
     border-radius: 50%;
     background: #28a745;
     animation: pulse 2s infinite;
}

@keyframes pulse {
     0% {
          transform: scale(1);
          opacity: 1;
     }

     100% {
          transform: scale(2);
          opacity: 0;
     }
}

/* Grid de tipos PQRS */
.pqrs-types-grid {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 1rem;
     margin-bottom: 2rem;
}

.pqrs-type-box {
     display: flex;
     align-items: center;
     padding: 1rem;
     border-radius: 12px;
     transition: all 0.3s ease;
     cursor: pointer;
}

.pqrs-type-box.peticion {
     background: rgba(23, 162, 184, 0.1);
     border: 1px solid rgba(23, 162, 184, 0.2);
}

.pqrs-type-box.queja {
     background: rgba(255, 193, 7, 0.1);
     border: 1px solid rgba(255, 193, 7, 0.2);
}

.pqrs-type-box.reclamo {
     background: rgba(220, 53, 69, 0.1);
     border: 1px solid rgba(220, 53, 69, 0.2);
}

.pqrs-type-box.sugerencia {
     background: rgba(40, 167, 69, 0.1);
     border: 1px solid rgba(40, 167, 69, 0.2);
}

.pqrs-type-box:hover {
     transform: translateY(-2px);
     box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.type-icon {
     margin-right: 0.75rem;
     font-size: 1.2rem;
}

.pqrs-type-box.peticion .type-icon {
     color: #17a2b8;
}

.pqrs-type-box.queja .type-icon {
     color: #ffc107;
}

.pqrs-type-box.reclamo .type-icon {
     color: #dc3545;
}

.pqrs-type-box.sugerencia .type-icon {
     color: #28a745;
}

.type-data {
     flex: 1;
}

.type-name {
     display: block;
     font-weight: 600;
     color: var(--text-dark);
     margin-bottom: 0.25rem;
}

.type-desc {
     font-size: 0.8rem;
     color: var(--text-muted);
}

/* Sección de progreso */
.pqrs-progress-section {
     background: #f8f9fa;
     border-radius: 12px;
     padding: 1.5rem;
}

.progress-header {
     display: flex;
     justify-content: space-between;
     align-items: center;
     margin-bottom: 1rem;
}

.progress-header span:first-child {
     font-weight: 600;
     color: var(--text-dark);
}

.progress-status {
     background: #28a745;
     color: white;
     padding: 0.25rem 0.75rem;
     border-radius: 20px;
     font-size: 0.8rem;
     font-weight: 600;
}

.progress-steps {
     display: flex;
     justify-content: space-between;
     gap: 0.5rem;
}

.step {
     flex: 1;
     text-align: center;
     padding: 0.5rem;
     border-radius: 8px;
     font-size: 0.8rem;
     font-weight: 500;
     background: #e9ecef;
     color: var(--text-muted);
     transition: all 0.3s ease;
}

.step.active {
     background: var(--primary-orange);
     color: white;
}

/* Utilidades */
.min-vh-75 {
     min-height: 75vh;
}

/* Responsive */
@media (max-width: 768px) {
     .hero-title {
          font-size: 2.5rem;
     }

     .hero-subtitle {
          font-size: 1.25rem;
     }

     .hero-metrics {
          gap: 1rem;
          justify-content: center;
     }

     .metric-value {
          font-size: 1.5rem;
     }

     .hero-buttons {
          justify-content: center;
     }

     .pqrs-types-grid {
          grid-template-columns: 1fr;
     }

     .progress-steps {
          flex-direction: column;
          gap: 0.5rem;
     }
}

/* =============================================
   TIPOS DE PQRS
   ============================================= */
.pqrs-types-section {
     padding: 5rem 0;
     background: var(--light-bg);
}

.pqrs-type-card {
     background: var(--white);
     border-radius: 20px;
     padding: 2.5rem;
     text-align: center;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
     transition: all 0.3s ease;
     height: 100%;
     border: 1px solid rgba(242, 92, 5, 0.1);
     position: relative;
     overflow: hidden;
}

.pqrs-type-card::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     height: 5px;
     background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
}

.pqrs-type-card:hover {
     transform: translateY(-10px);
     box-shadow: 0 20px 40px rgba(242, 92, 5, 0.2);
}

.pqrs-type-icon {
     width: 80px;
     height: 80px;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     margin: 0 auto 1.5rem;
     font-size: 2.5rem;
     color: var(--white);
}

.pqrs-type-card.peticion .pqrs-type-icon {
     background: linear-gradient(135deg, var(--info-blue), #138496);
}

.pqrs-type-card.queja .pqrs-type-icon {
     background: linear-gradient(135deg, var(--danger-red), #c82333);
}

.pqrs-type-card.reclamo .pqrs-type-icon {
     background: linear-gradient(135deg, var(--warning-yellow), #e0a800);
}

.pqrs-type-card.sugerencia .pqrs-type-icon {
     background: linear-gradient(135deg, var(--success-green), #218838);
}

.pqrs-type-title {
     font-size: 1.5rem;
     font-weight: 700;
     margin-bottom: 1rem;
     color: var(--text-dark);
}

.pqrs-type-description {
     color: var(--text-muted);
     font-size: 1rem;
     line-height: 1.6;
}

/* =============================================
   FORMULARIO PQRS
   ============================================= */
.pqrs-form-section {
     padding: 5rem 0;
     background: var(--white);
}

.pqrs-form-container {
     background: var(--white);
     border-radius: 25px;
     padding: 3rem;
     box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
     border: 1px solid rgba(242, 92, 5, 0.1);
}

.pqrs-form-header {
     text-align: center;
     margin-bottom: 3rem;
}

.pqrs-form-title {
     font-size: 2.5rem;
     font-weight: 800;
     color: var(--text-dark);
     margin-bottom: 1rem;
}

.pqrs-form-subtitle {
     font-size: 1.2rem;
     color: var(--text-muted);
}

/* Estilos del formulario */
.form-group {
     margin-bottom: 2rem;
}

.form-label {
     font-weight: 600;
     color: var(--text-dark);
     margin-bottom: 0.5rem;
     display: block;
     font-size: 1.1rem;
}

.form-control {
     border: 2px solid #e9ecef;
     border-radius: 12px;
     padding: 1rem 1.25rem;
     font-size: 1rem;
     transition: all 0.3s ease;
     width: 100%;
     font-family: 'Rubik', sans-serif;
}

.form-control:focus {
     border-color: var(--primary-orange);
     box-shadow: 0 0 0 0.2rem rgba(242, 92, 5, 0.25);
     outline: none;
}

.form-select {
     border: 2px solid #e9ecef;
     border-radius: 12px;
     padding: 1rem 1.25rem;
     font-size: 1rem;
     transition: all 0.3s ease;
     width: 100%;
     font-family: 'Rubik', sans-serif;
     background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e");
}

.form-select:focus {
     border-color: var(--primary-orange);
     box-shadow: 0 0 0 0.2rem rgba(242, 92, 5, 0.25);
     outline: none;
}

textarea.form-control {
     min-height: 150px;
     resize: vertical;
}

/* Botón de envío */
.pqrs-submit-btn {
     background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
     border: none;
     border-radius: 50px;
     color: var(--white);
     font-size: 1.2rem;
     font-weight: 700;
     padding: 1rem 3rem;
     cursor: pointer;
     transition: all 0.3s ease;
     text-transform: uppercase;
     letter-spacing: 1px;
     box-shadow: 0 8px 25px rgba(242, 92, 5, 0.3);
     display: block;
     margin: 2rem auto 0;
}

.pqrs-submit-btn:hover {
     transform: translateY(-3px);
     box-shadow: 0 12px 35px rgba(242, 92, 5, 0.4);
}

/* =============================================
   INFORMACIÓN ADICIONAL
   ============================================= */
.pqrs-info-section {
     padding: 5rem 0;
     background: var(--light-bg);
}

.pqrs-info-card {
     background: var(--white);
     border-radius: 20px;
     padding: 2.5rem;
     text-align: center;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
     height: 100%;
     border-top: 5px solid var(--primary-orange);
}

.pqrs-info-icon {
     font-size: 3rem;
     color: var(--primary-orange);
     margin-bottom: 1.5rem;
}

.pqrs-info-title {
     font-size: 1.5rem;
     font-weight: 700;
     margin-bottom: 1rem;
     color: var(--text-dark);
}

.pqrs-info-text {
     color: var(--text-muted);
     line-height: 1.6;
}

/* =============================================
   RESPONSIVE DESIGN
   ============================================= */
@media (max-width: 768px) {
     .pqrs-hero-title {
          font-size: 2.5rem;
     }

     .pqrs-hero-subtitle {
          font-size: 1.4rem;
     }

     .pqrs-hero-description {
          font-size: 1rem;
     }

     .pqrs-form-container {
          padding: 2rem;
          margin: 1rem;
     }

     .pqrs-form-title {
          font-size: 2rem;
     }

     .pqrs-type-card {
          margin-bottom: 2rem;
     }
}

@media (max-width: 576px) {
     .pqrs-hero-title {
          font-size: 2rem;
     }

     .pqrs-form-container {
          padding: 1.5rem;
     }

     .pqrs-submit-btn {
          width: 100%;
          padding: 1rem 2rem;
     }
}

/* =============================================
   ANIMACIONES ADICIONALES
   ============================================= */
.fade-in {
     animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
     from {
          opacity: 0;
          transform: translateY(20px);
     }

     to {
          opacity: 1;
          transform: translateY(0);
     }
}

.slide-up {
     animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
     from {
          opacity: 0;
          transform: translateY(50px);
     }

     to {
          opacity: 1;
          transform: translateY(0);
     }
}

/* =============================================
   ALERTAS Y NOTIFICACIONES
   ============================================= */
.pqrs-alert {
     border-radius: 12px;
     padding: 1rem 1.5rem;
     margin-bottom: 2rem;
     border: none;
     font-weight: 500;
}

.pqrs-alert-success {
     background: linear-gradient(135deg, #d4edda, #c3e6cb);
     color: #155724;
     border-left: 4px solid var(--success-green);
}

.pqrs-alert-warning {
     background: linear-gradient(135deg, #fff3cd, #ffeaa7);
     color: #856404;
     border-left: 4px solid var(--warning-yellow);
}

.pqrs-alert-info {
     background: linear-gradient(135deg, #d1ecf1, #bee5eb);
     color: #0c5460;
     border-left: 4px solid var(--info-blue);
}