/* VARIABLES DE DISEÑO CORPORATIVO Y EDITORIAL */
:root {
    --color-pergamino: #fdfcf9;
    --azul-corporativo: #1e293b;
    --gris-texto: #475569;
    --oro-marca: #d97706;
    --oro-hover: #b45309;
    --borde-suave: #e2e8f0;
    --sombra-elegante: 0 10px 30px rgba(30, 41, 59, 0.04);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--color-pergamino);
    color: var(--azul-corporativo);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Playfair Display', Georgia, serif;
}

/* NAVEGACIÓN */
.grafo-header {
    background-color: #ffffff;
    padding: 0.5rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.02);
    border-bottom: 1px solid var(--borde-suave);
}

.grafo-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-estudio img {
    height: 70px;
    width: auto;
    display: block;
}

.menu-interno a {
    text-decoration: none;
    color: var(--gris-texto);
    margin-left: 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}
.menu-interno a:hover { color: var(--oro-marca); }

.btn-destacado-nav {
    background-color: var(--azul-corporativo);
    color: white !important;
    padding: 0.5rem 1.2rem;
    border-radius: 6px;
}
.btn-destacado-nav:hover { background-color: var(--oro-marca) !important; }

.btn-volver-particular { font-style: italic; color: #3b82f6 !important; }
.btn-volver-particular:hover { color: #1d4ed8 !important; }

/* HERO BANNER */
.grafo-hero {
    background: linear-gradient(rgba(30, 41, 59, 0.88), rgba(15, 23, 42, 0.95)), url('https://unsplash.com') no-repeat center/cover;
    color: white;
    padding: 7rem 1rem;
    text-align: center;
}

.hero-bloque { max-width: 800px; margin: 0 auto; }
.grafo-hero h1 { font-size: 2.8rem; margin-bottom: 1.2rem; color: #fef08a; line-height: 1.2; }
.grafo-hero p { font-size: 1.15rem; color: #cbd5e1; margin-bottom: 2.5rem; font-weight: 300; }

.hero-botones { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn-oro {
    background-color: var(--oro-marca);
    color: white;
    text-decoration: none;
    padding: 0.9rem 2rem;
    border-radius: 6px;
    font-weight: bold;
    transition: transform 0.2s, background 0.2s;
}
.btn-oro:hover { transform: translateY(-2px); background-color: var(--oro-hover); }

.btn-linea {
    border: 2px solid #ffffff;
    color: white;
    text-decoration: none;
    padding: 0.8rem 2rem;
    border-radius: 6px;
    font-weight: bold;
    transition: all 0.3s;
}
.btn-linea:hover { background-color: white; color: var(--azul-corporativo); }

/* SECCIÓN EMPRESAS */
.seccion-empresas { padding: 5rem 1rem; background-color: #f8fafc; }
.contenedor-general { max-width: 1100px; margin: 0 auto; text-align: center; }
.subtitulo-seccion { color: var(--gris-texto); margin-bottom: 3.5rem; font-size: 1.05rem; max-width: 700px; margin-left: auto; margin-right: auto; }

.servicios-rrhh-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }

.rrhh-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: left;
    box-shadow: var(--sombra-elegante);
    border: 1px solid var(--borde-suave);
    transition: transform 0.3s;
}
.rrhh-card:hover { transform: translateY(-4px); border-color: var(--oro-marca); }
.card-icon { font-size: 2.2rem; display: block; margin-bottom: 1rem; }
.rrhh-card h3 { font-size: 1.3rem; margin-bottom: 0.8rem; color: var(--azul-corporativo); }
.rrhh-card p { font-size: 0.95rem; color: var(--gris-texto); line-height: 1.6; }

/* SECCIÓN FORMULARIO */
.seccion-candidatos { padding: 5rem 1rem; display: flex; justify-content: center; }

.formulario-rrhh-contenedor {
    background-color: white;
    padding: 3.5rem 3rem;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(30, 41, 59, 0.06);
    border: 1px solid var(--borde-suave);
}

.formulario-rrhh-contenedor h2 { color: var(--azul-corporativo); font-size: 2rem; margin-bottom: 0.5rem; text-align: center; }
.form-intro { color: var(--gris-texto); font-size: 0.95rem; margin-bottom: 2.5rem; text-align: center; }

.grupo-input { margin-bottom: 1.8rem; display: flex; flex-direction: column; }
.grupo-input label { margin-bottom: 0.5rem; font-weight: 600; font-size: 0.95rem; color: var(--azul-corporativo); }

.grupo-input input[type="text"],
.grupo-input input[type="email"],
.grupo-input select {
    padding: 0.85rem;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    background-color: #ffffff;
    color: var(--azul-corporativo);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}
.grupo-input input:focus, .grupo-input select:focus { border-color: var(--oro-marca); }

.instruccion-foto { font-size: 0.85rem; color: var(--gris-texto); margin-bottom: 0.6rem; font-style: italic; }
.grupo-input input[type="file"] { display: none; }

.btn-subir-archivo { padding: 0.85rem; border-radius: 6px; text-align: center; cursor: pointer; font-weight: 600; font-size: 0.95rem; transition: all 0.3s; }
.archivo-cv-btn { background-color: #f1f5f9; color: var(--azul-corporativo); border: 1px solid #cbd5e1; }
.archivo-cv-btn:hover { background-color: #e2e8f0; }

.archivo-img-btn { background-color: #fff7ed; color: var(--oro-marca); border: 2px dashed var(--oro-marca); }
.archivo-img-btn:hover { background-color: #ffedd5; }

.archivo-status-text { display: block; margin-top: 0.4rem; font-size: 0.85rem; color: #10b981; font-weight: 600; }

.btn-enviar-postulacion {
    width: 100%;
    background-color: var(--oro-marca);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.15);
    transition: background 0.3s, transform 0.2s;
    margin-top: 1rem;
}
.btn-enviar-postulacion:hover { background-color: var(--oro-hover); transform: translateY(-1px); }

/* FOOTER */
.grafo-footer { background-color: #0f172a; color: #94a3b8; text-align: center; padding: 3.5rem 1rem; font-size: 0.9rem; }
.credito-logo { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-top: 1.2rem; font-size: 0.85rem; color: #64748b; }
credito-logo img {
    height: 35px;
    width: auto;
    /* BORRA O COMENTA LA LÍNEA DE ABAJO: */
    /* filter: brightness(0) invert(1); */ 
    opacity: 1; /* Súbelo a 1 para que se vea con total nitidez */
}
/* RESPONSIVO */
@media (max-width: 768px) {
    .grafo-nav { flex-direction: column; gap: 1rem; }
    .menu-interno a { margin: 0 0.5rem; font-size: 0.85rem; }
    .grafo-hero h1 { font-size: 2.1rem; }
    .formulario-rrhh-contenedor { padding: 2rem 1.5rem; }
}
