/* =========================================================
   ESTILOS GENERALES Y RESETS
   ========================================================= */
body {
    background-color: #0D0D0D;
    color: #e0e0e0;
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

/* =========================================================
   SECCIÓN PRINCIPAL DE CAPACITACIÓN
   ========================================================= */
.hero-trabaja {
    padding: 130px 20px 60px; /* Separación perfecta con el menú superior */
    background: radial-gradient(circle at center, rgba(81, 45, 109, 0.2) 0%, rgba(13, 13, 13, 0.95) 70%), #0D0D0D;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.trabaja-container {
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
}

/* =========================================================
   BLOQUE INFORMATIVO DE ENCABEZADO
   ========================================================= */
.trabaja-encabezado {
    text-align: center;
    margin-bottom: 25px;
}

.trabaja-encabezado h1 {
    font-size: clamp(22px, 4vw, 36px);
    margin-bottom: 6px;
    background: linear-gradient(to right, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
    font-weight: 800;
}

.trabaja-encabezado h2 {
    font-size: 1rem;
    color: #A0A0A0;
    margin-bottom: 16px;
    font-weight: 400;
}

.trabaja-encabezado .description {
    color: #CCCCCC;
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 620px;
    margin: 0 auto 18px auto;
}

.trabaja-encabezado .description strong {
    color: #FFFFFF;
}

/* Tarjeta Dorada Integrada */
.pricing-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 10px;
    padding: 14px 18px;
    max-width: 460px;
    margin: 0 auto 16px auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
}

.pricing-card .course-tag {
    color: #FFFFFF;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.pricing-card .price-text {
    color: #DDDDDD;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.pricing-card .price-text span {
    color: #D4AF37;
    font-weight: 800;
    font-size: 1.15rem;
}

.pricing-card .scholarship-text {
    color: #999999;
    font-size: 0.8rem;
}

.instruction-text {
    color: #888888;
    font-size: 0.88rem;
    margin-top: 10px;
}

/* =========================================================
   TARJETA Y FORMULARIO
   ========================================================= */
.form-card {
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid rgba(191, 149, 63, 0.4);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), 0 0 20px rgba(81, 45, 109, 0.25);
    backdrop-filter: blur(10px);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-card:hover {
    border-color: rgba(252, 246, 186, 0.7);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.9), 0 0 25px rgba(81, 45, 109, 0.4);
}

.cose-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.form-group label {
    color: #fcf6ba;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.form-group input, 
.form-group select {
    width: 100%;
    padding: 11px 14px;
    background: #181818;
    border: 1px solid rgba(191, 149, 63, 0.3);
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.92rem;
    box-sizing: border-box;
    outline: none;
    transition: all 0.3s ease;
}

.form-group input:focus, 
.form-group select:focus {
    border-color: #fcf6ba;
    box-shadow: 0 0 8px rgba(191, 149, 63, 0.5);
    background: #1e1e1e;
}

.form-group select option {
    background: #181818;
    color: #ffffff;
}

/* Área de Subida de Archivo PDF */
.file-drop-area {
    position: relative;
    padding: 22px 15px;
    background: #181818;
    border: 2px dashed rgba(191, 149, 63, 0.4);
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-drop-area:hover {
    border-color: #fcf6ba;
    background: #222222;
}

.file-drop-area input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-msg {
    color: #b0b0b0;
    font-size: 0.88rem;
    pointer-events: none;
}

/* Botón Morado Corporativo */
.submit-btn {
    background: #512D6D;
    color: #ffffff;
    padding: 13px 20px;
    border: 1px solid rgba(191, 149, 63, 0.3);
    border-radius: 30px;
    font-size: 0.98rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 6px;
}

.submit-btn:hover {
    background: #6d3e91;
    border-color: #fcf6ba;
    box-shadow: 0 0 20px rgba(109, 62, 145, 0.6);
    transform: translateY(-2px);
}

.submit-btn:disabled {
    background: #333333;
    border-color: #555555;
    color: #888888;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
/* =========================================================
   GRUPO DE BOTONES EN PARALELO
   ========================================================= */
.btn-group {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    width: 100%;
    box-sizing: border-box;
}

/* Regla común: Forzar alto identico en píxeles y quitar estilos nativos */
.btn-group .submit-btn,
.btn-group .btn-secondary {
    flex: 1;
    width: 100%;
    height: 48px; /* Alto fijo exacto para ambos */
    line-height: 48px; /* Centra el texto verticalmente */
    padding: 0 15px; /* Quita el padding vertical para evitar descuadres */
    font-size: 0.98rem;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border-radius: 30px;
    font-family: inherit; /* Unifica la fuente exacta */
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

/* Ajustes de borde específico para que NO sume píxeles extra */
.btn-group .submit-btn {
    border: 1px solid rgba(191, 149, 63, 0.3);
}

.btn-group .btn-secondary {
    background: transparent;
    border: 1px solid #D4AF37;
    color: #fcf6ba;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-group .btn-secondary:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: #fcf6ba;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

/* Ajuste para móviles */
@media (max-width: 480px) {
    .btn-group {
        flex-direction: column;
        gap: 10px;
    }

    .btn-group .submit-btn,
    .btn-group .btn-secondary {
        width: 100%;
        height: 48px; /* Mantiene la misma altura al apilarse */
    }
}