/* ==========================================================================
   ESTILOS GENERALES Y BASE DE LA PLATAFORMA
   ========================================================================== */
body {
    background-color: #121212;
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 20px;
    line-height: 1.6;
}

.contenedor-principal {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
}

/* ==========================================================================
   ENCABEZADO (CABECERA-RED)
   ========================================================================== */
#cabecera-red {
    text-align: center;
    margin-bottom: 50px;
    padding-top: 20px;
}

.logo-contenedor {
    margin-bottom: 15px;
}

.logo-arbol {
    max-height: 90px;
    width: auto;
    display: inline-block;
}

#cabecera-red h1 {
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin: 0 0 10px 0;
    color: #ffffff;
}

#cabecera-red .subtitulo {
    color: #007bff;
    font-size: 1.1rem;
    margin: 0;
    font-weight: 400;
}

/* ==========================================================================
   SECCIÓN: PRESENTACIÓN DEL EQUIPO PROFESIONAL
   ========================================================================== */
#equipo-profesional {
    background: #1a1a1a; 
    padding: 35px; 
    border-radius: 8px; 
    border: 1px solid #333; 
    margin-bottom: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

#equipo-profesional h2 {
    color: #ffffff; 
    margin-top: 0; 
    margin-bottom: 20px;
    font-size: 1.8rem; 
    border-bottom: 1px solid #333; 
    padding-bottom: 12px;
}

.texto-presentacion {
    color: #ccccff; 
    font-size: 1.05rem;
    margin-bottom: 20px;
}

/* AVAL INSTITUCIONAL DE AGABA */
.respaldo-institucional {
    background: #1f242d; 
    border-left: 4px solid #007bff; 
    padding: 22px; 
    margin-top: 30px; 
    border-radius: 4px; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.respaldo-institucional p {
    color: #ffffff; 
    font-size: 1rem; 
    margin: 0; 
    font-weight: 500; 
    font-style: italic;
}
/* ==========================================================================
   SECCIÓN: CAMPOS DE ACCIÓN (LAS 6 TARJETAS DE SERVICIOS)
   ========================================================================== */
#servicios-consultoria {
    margin-bottom: 50px;
}

#servicios-consultoria h2 {
    color: #ffffff;
    font-size: 1.8rem;
    border-bottom: 1px solid #333;
    padding-bottom: 12px;
    margin-top: 0;
    margin-bottom: 15px;
}

.introduccion-servicios {
    color: #cccccc;
    font-size: 1.05rem;
    margin-bottom: 30px;
}

/* Grilla Responsiva para las tarjetas */
.grilla-tarjetas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

/* Tarjeta Individual de Servicio */
.tarjeta-servicio {
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 25px;
    border-radius: 8px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

/* Efecto sutil al pasar el mouse */
.tarjeta-servicio:hover {
    transform: translateY(-5px);
    border-color: #007bff;
    box-shadow: 0 6px 15px rgba(0, 123, 255, 0.15);
}

.icono-servicio {
    font-size: 2rem;
    margin-bottom: 15px;
}

.tarjeta-servicio h3 {
    color: #ffffff;
    font-size: 1.3rem;
    margin: 0 0 12px 0;
    font-weight: 600;
}

.tarjeta-servicio p {
    color: #aaaaaa;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}
/* ==========================================================================
   SECCIÓN: FORMULARIOS (EMPRESAS Y POSTULANTES)
   ========================================================================== */
#formularios-red {
    margin-bottom: 50px;
}

#formularios-red h2 {
    color: #ffffff;
    font-size: 1.8rem;
    border-bottom: 1px solid #333;
    padding-bottom: 12px;
    margin-top: 0;
    margin-bottom: 15px;
}

.introduccion-formularios {
    color: #cccccc;
    font-size: 1.05rem;
    margin-bottom: 35px;
}

/* Contenedor de dos columnas */
.contenedor-bloques-formularios {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.bloque-formulario {
    flex: 1;
    min-width: 340px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.encabezado-bloque {
    margin-bottom: 25px;
    border-bottom: 1px solid #2d2d2d;
    padding-bottom: 15px;
}

.encabezado-bloque h3 {
    color: #ffffff;
    font-size: 1.4rem;
    margin: 0 0 5px 0;
}

.encabezado-bloque p {
    color: #007bff;
    font-size: 0.95rem;
    margin: 0;
}

/* Estructura de Campos */
.formulario-solicitud {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.grupo-campo {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.grupo-campo label {
    color: #dddddd;
    font-size: 0.95rem;
    font-weight: 500;
}

.grupo-campo input[type="text"],
.grupo-campo input[type="email"],
.grupo-campo input[type="tel"],
.grupo-campo select,
.grupo-campo textarea {
    background: #121212;
    color: #ffffff;
    border: 1px solid #444;
    padding: 12px;
    border-radius: 4px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.grupo-campo input:focus,
.grupo-campo select:focus,
.grupo-campo textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.4);
}

.grupo-campo textarea {
    height: 120px;
    resize: vertical;
}

.grupo-campo input[type="file"] {
    color: #aaaaaa;
    font-size: 0.9rem;
    padding: 5px 0;
}

.nota-campo {
    color: #888888;
    font-size: 0.8rem;
    margin-top: 2px;
}

/* Botones de Envío */
.boton-enviar {
    background: #007bff;
    color: #ffffff;
    border: none;
    padding: 14px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
    margin-top: 10px;
}

.boton-enviar:hover {
    background: #0056b3;
}

.boton-enviar:active {
    transform: scale(0.98);
}

.boton-postulante {
    background: #28a745;
}

.boton-postulante:hover {
    background: #218838;
}

/* ==========================================================================
   PIE DE PÁGINA (PIE-CONSULTORIA)
   ========================================================================== */
#pie-consultoria {
    margin-top: 60px;
    border-top: 1px solid #333;
    padding-top: 30px;
    text-align: center;
}

#pie-consultoria p {
    color: #777777;
    font-size: 0.9rem;
    margin: 0 0 20px 0;
}

.enlaces-retorno {
    margin-bottom: 20px;
}

.boton-volver {
    display: inline-block;
    color: #007bff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.2s ease;
}

.boton-volver:hover {
    color: #0056b3;
    transform: translateX(-3px);
}

/* Adaptación para pantallas chicas */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    #cabecera-red h1 {
        font-size: 2rem;
    }
    .bloque-formulario {
        padding: 20px;
    }
}
