/* ===== HERO estático empresa ===== */
/* Hero de páginas estáticas */
.hero-estatico{
    background:#0f1216;
    color:#fff;
    /* reduce altura: antes clamp(2rem,5vw,3rem) */
    padding: clamp(1.5rem, 3vw, 2rem) 0;
}

/* Forzamos el subtítulo a gris claro en vez de negro */
.hero-estatico .lead{
    color: rgba(255,255,255,.75) !important;
}

/* ===== About / tarjeta de datos ===== */
.empresa-about .tarjeta-datos{ border-radius:14px; }

/* ===== Misión · Visión · Valores ===== */
.empresa-mvv .item-mvv{
    border-radius:14px;
    transition: transform .15s ease, box-shadow .15s ease;
}
.empresa-mvv .item-mvv:hover{
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(15,23,42,.08);
}

/* ===== Mapa ===== */
.empresa-mapa iframe{ border:0; }

/* ===== CTA inferior ===== */
.empresa-cta{ background:#f8fafc; }
.empresa-cta .cta-card{ border-radius:18px; }


/* Foto en “Quiénes somos” */
.about-photo img{
    object-fit: cover; width:100%; height:100%;
    filter: saturate(95%); /* look natural */
}

.empresa-car-photo img{
    object-fit: cover;
    width:100%;
    height:100%;
    border-radius:.75rem;   /* mismo radio que la otra */
    box-shadow:0 6px 16px rgba(0,0,0,.15);
}

@media(min-width:992px){
    .empresa-about .col-lg-7 .empresa-car-photo{ min-height:280px; }
}


.hero-valores {
    background: #0f1216 url("../assets/servicios/serv_hero_1920.png") center/cover no-repeat;
    position: relative;
    min-height: 18vh;
}
.hero-valores::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.65));
}
.hero-valores .container {
    position: relative;
    z-index: 1;
}

/* MINI HERO */
.mini-hero {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.mini-hero picture,
.mini-hero img {
    display: block;
    width: 100%;
    height: auto;
}

.mini-hero__overlay {
    position: absolute;   /* <-- Esto hace que el texto flote sobre la imagen */
    inset: 0;             /* ocupa todo el área del hero */
    display: flex;
    align-items: center;
    color: #fff;
    z-index: 2;           /* asegura que el texto quede por encima */
    background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.15) 55%, transparent);
}

.mini-hero__overlay .container {
    position: relative;
    z-index: 3;
}

.mini-hero img {
    width: 100%;
    height: 340px;           /* antes 520px → más compacto y limpio */
    object-fit: cover;
    filter: brightness(.9);
}

/* BARRA NAVEGACION ENTRE PAGINAS */
.ga-backnav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    font-size: 1rem;
    margin-bottom: 1.2rem;
    font-weight: 500;
    color: #1f2937; /* gris oscuro */
}

.ga-backnav__link {
    position: relative;
    color: #2563eb; /* azul más oscuro, elegante */
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.ga-backnav__link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: #2563eb; /* mismo tono del texto */
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.ga-backnav__link:hover::after {
    transform: scaleX(1);
}

.ga-backnav__link:hover {
    color: #1d4ed8; /* un tono más profundo al pasar el ratón */
}

.ga-backnav__title {
    color: #111827;
    font-weight: 600;
}

/* ===== Ocultar barra de navegación solo en móvil ===== */
@media (max-width: 576px){
    .ga-backnav{
        display: none !important;
    }
}



