/*=============================================================================*/
/* EMPRESA.CSS - HOJA DE ESTILOS 100% INDEPENDIENTE Y COMPLETA                 */
/*=============================================================================*/

:root {
    --clr-dark: #111112;          /* Negro mate arquitectónico */
    --clr-light: #F7F7F9;         /* Blanco humo suave */
    --clr-white: #FFFFFF;
    --clr-accent: #969591;        /* Color Gris/Plata según tu service.css */
    --clr-accent-hover: #77686c;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ================= RESET GENERAL ================= */
body {
    font-family: var(--font-body);
    color: #4a4a4e;
    background-color: var(--clr-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--clr-dark);
    font-weight: 700;
}

.section-padding { padding: 100px 0; }
.max-w-custom { max-width: 650px; }
.text-accent { color: var(--clr-accent) !important; }

@media (max-width: 767px) {
    .section-padding { padding: 60px 0; }
}

.section-tag {
    color: var(--clr-accent);
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    display: block;
}
.tag-light { color: var(--clr-white); opacity: 0.6; }

.section-title {
    font-size: 32px;
    letter-spacing: -0.5px;
}
.section-desc {
    font-size: 16px; 
    line-height: 1.8;
}

/* ================= NAVEGACIÓN ================= */
.modern-navbar {
    background-color: transparent; /* Fondo transparente estando arriba */
    padding: 25px 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08); /* Línea sutil elegante */
}

.modern-navbar.scrolled {
    background-color: rgba(17, 17, 18, 0.98); 
    padding: 15px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-bottom-color: transparent;
}

.navbar-logo {
    max-height: 80px; /* Tamaño sacado de tu service.css */
    width: auto;
    transition: var(--transition);
}

@media (max-width: 767px) {
    .navbar-logo { max-height: 35px; }
}

.modern-navbar .nav-link {
    color: rgba(255, 255, 255, 0.75) !important;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 16px !important;
    transition: var(--transition);
}
.modern-navbar .nav-link:hover, .modern-navbar .nav-link.active {
    color: var(--clr-white) !important;
}

.nav-cta-btn {
    background-color: var(--clr-accent);
    color: var(--clr-white) !important;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
}
.nav-cta-btn:hover {
    background-color: var(--clr-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* ================= CABECERA (HERO) DE LA EMPRESA ================= */
.empresa-hero {
    position: relative;
    padding: 180px 0 100px 0;
    /* Usa la ruta correcta de tus imágenes de fondo */
    background: linear-gradient(rgba(17, 17, 18, 0.85), rgba(17, 17, 18, 0.95)), url('../images/bg_1.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    text-align: center;
    color: var(--clr-white);
}

.empresa-hero h1 {
    color: var(--clr-white);
}

/* ================= NUESTRA HISTORIA ================= */
.historia-img-wrapper {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.15);
}

.historia-img-wrapper img {
    height: 500px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.historia-img-wrapper:hover img {
    transform: scale(1.03);
}

.historia-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--clr-accent);
    color: var(--clr-white);
    padding: 30px;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.historia-badge h3 {
    color: var(--clr-white);
    font-size: 2.5rem;
    margin: 0;
}

/* ================= MISIÓN Y VISIÓN ================= */
.mv-card {
    background-color: #19191b;
    border: 1px solid rgba(255,255,255,0.05);
    padding: 50px 40px;
    border-radius: 1rem;
    height: 100%;
    transition: var(--transition);
}

.mv-card:hover {
    transform: translateY(-5px);
    border-color: var(--clr-accent);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.mv-icon {
    font-size: 3rem;
    color: var(--clr-accent);
    margin-bottom: 20px;
    display: inline-block;
}

/* ================= VALORES CORPORATIVOS ================= */
.valor-box {
    text-align: center;
    padding: 40px 20px;
    background-color: var(--clr-white);
    border-radius: 1rem;
    height: 100%;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.valor-box:hover {
    background-color: var(--clr-white);
    border-color: var(--clr-accent);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transform: translateY(-5px);
}

.valor-box i {
    font-size: 2.5rem;
    color: var(--clr-accent);
    margin-bottom: 15px;
    display: inline-block;
}

/* ================= FOOTER ================= */
.footer-dark {
    background-color: var(--clr-dark);
    color: rgba(255,255,255,0.5);
    padding: 40px 0;
}

.footer-logo-img {
    max-height: 70px; /* Tamaño sacado de tu service.css */
    width: auto;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}

.footer-socials a { transition: var(--transition); text-decoration: none; }
.footer-socials a:hover { color: var(--clr-accent) !important; }
.footer-bottom-text { font-size: 13px; }