/* ===========================================
   HERO VIDEO BACKGROUND — ESTILOS COMPLETOS
   =========================================== */

/* ---- OVERLAY OSCURO SOBRE EL VIDEO ---- */
#video-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.38); /* Ajusta 0.38 a tu gusto */
    z-index: 1;
}

/* ---- CONTENIDO ENCIMA DEL OVERLAY ---- */
#video-bg .container,
#video-bg .d-flex {
    position: relative;
    z-index: 3;
}

/* ---- CENTRAR TODO EL BLOQUE EN MEDIO EXACTO ---- */
#video-bg .d-flex {
    position: absolute !important;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

/* ---- TITULO HERO ---- */
.hero-title {
    font-size: 72px !important;       /* Tamaño del título */
    font-weight: 700 !important;
    line-height: 1.2 !important;
    max-width: 900px;
    margin: 0 auto 25px auto;
    text-align: center;
    color: #ffffff !important;
    text-shadow: 0 4px 14px rgba(0,0,0,0.55);
}

/* Si quieres que SIEMPRE quede en una sola línea en desktop */
/*
@media(min-width: 992px) {
    .hero-title {
        white-space: nowrap;
    }
}
*/

/* ---- SUBTITULO ---- */
.hero-subtitle {
    font-size: 20px !important;
    line-height: 1.6 !important;
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
    color: #ffffff !important;
    opacity: 0.92;
    text-shadow: 0 3px 12px rgba(0,0,0,0.5);
}

/* ---- FORZAR BLANCO EN TODOS LOS TEXTOS HERO ---- */
#video-bg h1,
#video-bg h2,
#video-bg h2 span,
#video-bg p,
#video-bg .highlight,
#video-bg .text-color-dark {
    color: #ffffff !important;
    fill: #ffffff !important;
}

/* ---- HIGHLIGHT DE PORTO (VISUAL) ---- */
#video-bg .highlight-primary {
    background-color: rgba(255,255,255,0.28) !important; /* Fondo highlight */
    border-radius: 4px;
    padding: 3px 6px;
}

/* ---- OPCIONAL: EFECTO FADE IN ---- */
#video-bg .hero-title,
#video-bg .hero-subtitle {
    animation: fadeInHero 1.2s ease forwards;
}

/* Animación */
@keyframes fadeInHero {
    0% { opacity: 0; transform: translateY(12px); }
    100% { opacity: 1; transform: translateY(0); }
}

/*
===========================================
 TODO se basó en tu estructura original:
 <section id="video-bg">
    .container
        .row
           .col
              .d-flex
                 <h2 class="hero-title">...</h2>
                 <p class="hero-subtitle">...</p>
===========================================
*/
/* ===== UNA SOLA LINEA HERO ===== */
@media (min-width: 992px) {

    .hero-title {
        white-space: nowrap !important;
        display: inline-block !important;
        width: auto !important;
        max-width: none !important;
    }

    .hero-title > span,
    .hero-title span {
        white-space: nowrap !important;
        display: inline !important;
    }
}


#video-bg .d-flex {
    position: absolute !important;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw !important;
    text-align: center;
    justify-content: center !important;
    align-items: center !important;
}


.image-floating {
	position: relative;
	z-index: 99;
}

.image-floating img {
	position: relative;
	z-index: 99;
	display: block;
	margin-top: 0px;  
	margin-bottom: 0px; 
	border-radius: 10px;
}

section {
	position: relative;
	z-index: 1;
}


.section-mision-vision {
	padding: 5rem 0;
	background: #ffffff;
}

/* BLOQUE VERTICAL */
.mv-block {
	margin-bottom: 3rem;
}

/* TÍTULOS */
.mv-title {
	display: inline-block;
	color: #fff;
	font-size: 2rem;
	font-weight: 800;
	padding: 0.4rem 1rem;
	margin: 0;
}

/* SUBRAYADO */
.mv-underline {
	width: 60px;
	height: 4px;
	background: #C6001D;
	margin: 0.6rem 0 1.2rem 0;
	border-radius: 2px;
}

/* BLOCK DE TEXTO */
.mv-text {
	display: inline-block;
	color: #212529;
	padding: 0.6rem 1rem;
	font-size: 1rem;
	line-height: 1.6;
	max-width: 430px;
}

/* CTA */
.mv-link {
	display: inline-block;
	margin-top: 1rem;
	font-weight: 600;
	color: #C6001D;
	text-decoration: none;
	font-size: 1.1rem;
}

.mv-link:hover {
	opacity: .8;
}

.mv-icon {
	color: #C6001D;
	font-weight: 700;
	margin-right: 6px;
	font-size: 1.2rem;
}

/* IMAGEN DERECHA */
.mv-image {
	max-width: 100%;
	border-radius: 8px;
	box-shadow: 0 20px 50px rgba(0,0,0,.25);
	filter: grayscale(100%) contrast(1.1) brightness(1.05);
}

/* RESPONSIVE */
@media(max-width: 991px) {
	.mv-text {
		max-width: 100%;
		display: block;
	}
}

.separator-corripio {
	width: 100%;
	height: 24px;   /* puedes ajustar a tu gusto */
	display: flex;
}

.separator-corripio::before,
.separator-corripio::after {
	content: "";
}

.separator-corripio {
	background: linear-gradient(
		to right,
		
		#2C2421 0%,   
		#2C2421 20%,
		
		#E30613 20%,
		#E30613 45%,
		
		#8A0014 45%,  
		#8A0014 70%,
		
		#C3B78F 70%,  
		#C3B78F 100%
	);
}

/* Solo este carrusel */
.logos-carousel img {
	max-height: 70px;
	width: auto !important;
	object-fit: contain;
	padding: 4px 12px;
}

/* Limita ancho máximo */
.logos-carousel img {
	max-height: 70px;
	max-width: 160px;
}


#video-bg-counter {
	position: relative;
	color: #fff;
}

#video-bg-counter .hero-title {
	font-size: 3rem;
	line-height: 1.2;
}

#video-bg-counter .hero-subtitle {
	font-size: 1.2rem;
}

#video-bg-counter .counters .counter strong {
	font-size: 2.4rem;
	font-weight: 800;
	display: block;
}

#video-bg-counter .counters .counter label {
	font-size: 1rem;
	opacity: .9;
}

#video-bg-counter .counters .counter {
	margin-bottom: 20px;
}

#video-bg-counter .counters {
	max-width: 900px;
	margin: 0 auto;
}

/* CONTENEDOR GENERAL PARALLAX */
.empleos-hero {
	position: relative;
	background-size: cover;
	background-position: center;
}

/* TÍTULOS GRANDES */
.empleos-title {
	color: #fff;
	font-size: 4rem;
	font-weight: 800;
	line-height: 1.1;
	margin-bottom: 1.2rem;
    text-align: left;
}

/* SUBRAYADO EDITORIAL */
.empleos-underline {
	width: 70px;
	height: 6px;
	background: #fff;
	margin-bottom: 2rem;
	border-radius: 3px;
}

/* SUBTÍTULO */
.empleos-subtitle {
	color: rgba(255,255,255,0.9);
	font-size: 1.25rem;
	line-height: 1.6;
	margin-bottom: 2.5rem;
    text-align: left;
}

/* BOTÓN REDONDO GRIS */
.empleos-btn {
	display: table;
	background: rgba(255,255,255,0.85);
	color: #555;
	padding: 14px 38px;
	border-radius: 50px;
	font-size: 1.05rem;
	font-weight: 500;
	text-decoration: none;
	transition: .25s ease;
}

.empleos-btn:hover {
	background: #fff;
	color: #222;
}


section.empleos-hero.section {
    background: var(--grey-100) !important;
}

section.empleos-hero.parallax {
    padding: 0 !important;
    margin: 0 !important;
}


/* Card general */
.blog-card {
	background: #fff;
	border-radius: 4px;
	overflow: hidden;
	box-shadow: 0 1px 4px rgba(0,0,0,.08);
	transition: .25s ease;
}

.blog-card:hover {
	box-shadow: 0 6px 20px rgba(0,0,0,.15);
}

/* Fecha */
.blog-date {
	display: block;
	font-size: .85rem;
	color: #757575;
	margin-bottom: .75rem;
	padding-left: .25rem;
}

/* Imagen */
.blog-image img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 4px;
	margin-bottom: 1rem;
}

/* Título */
.blog-title {
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.35;
	color: #333;
	margin-bottom: .75rem;
}

/* Extracto */
.blog-excerpt {
	color: #666;
	font-size: .95rem;
	line-height: 1.55;
	margin-bottom: 1rem;
	max-height: 4.5em;
	overflow: hidden;
}

/* Link Leer más */
.blog-read {
	color: #c6001e;
	font-weight: 600;
	font-size: .9rem;
	text-decoration: none;
}

.blog-read i {
	font-size: .9rem;
}

/* Hover */
.blog-read:hover {
	text-decoration: underline;
}


footer#footer a {
    transition: all .2s ease;
}

footer#footer a:hover {
    opacity: .8;
    text-decoration: none;
}

.footer-list li a {
    font-size: 14px;
    font-weight: 400;
}

.footer-copyright {
    font-size: 13px;
    letter-spacing: .3px;
}


/* SECCION ROJA */
#contacto-mapa {
    background: #b31924; /* rojo corporativo */
    color: #fff;
    text-align: center;
    padding-top: 80px;
    padding-bottom: 0;
}

/* TITULO */
#contacto-mapa .contact-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 30px;
    color:white 
}

/* BOTÓN */
#contacto-mapa .btn-contacto {
    display: inline-block;
    background: #f2f2f2;
    color: #555;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 500;
    transition: .3s ease;
}

#contacto-mapa .btn-contacto:hover {
    background: #fff;
    color: #000;
}

/* MAPA */
#contacto-mapa .mapa-wrapper iframe {
    display: block;
    width: 100%;
    border: none;
}

/* QUITA ESPACIOS ENTRE ROJO Y MAPA */
#contacto-mapa .mapa-wrapper {
    margin-top: -5px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    #contacto-mapa .contact-title {
        font-size: 32px;
    }

    #contacto-mapa .btn-contacto {
        padding: 12px 30px;
        font-size: 16px;
    }

    #contacto-mapa iframe {
        height: 400px;
    }
}

#googlemap {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
}

#googlemap .googlemap-inner {
    width: 100%;
    height: 550px;
    overflow: hidden;
}

#googlemap iframe {
    width: 100%;
    height: 100%;
    border: 0;
    pointer-events: none; /* SE BLOQUEA INTERACCIÓN COMO EN LA PÁGINA VIEJA */
}

@media (max-width: 768px) {
    #googlemap .googlemap-inner {
        height: 400px;
    }
}

.blogcorripio img{
	top:-14%;
	height: 675px;
}

/* CSS para dispositivos móviles */
@media (max-width: 768px) {
    .blogcorripio .row {
        flex-direction: column; /* Cambia la dirección de la fila a columna */
        text-align: center; /* Centra los elementos */
    }

    .blogcorripio img {
        width: 100%; /* Ajusta la imagen al 100% del contenedor */
        height: auto; /* Mantiene la proporción de la imagen */
        display: block; /* Asegura que la imagen se muestre correctamente */
        margin-bottom: 20px; /* Añade un espacio entre la imagen y el texto */
    }

    .blogcorripio .col-lg-6 {
        padding-left: 0;
        padding-right: 0;
    }

    .blogcorripio h2 {
        font-size: 24px; /* Ajusta el tamaño del título */
    }

    .blogcorripio p {
        font-size: 16px; /* Ajusta el tamaño del texto */
    }
}

/* Estilo para el enlace de Vacantes en el menú */
.vacantes-button {
    background-color: #D50032; /* Color de fondo rojo */
    color: white; /* Color del texto */
    font-weight: bold; /* Texto en negrita */
    padding: 10px 20px; /* Espaciado interno para el botón */
    border-radius: 25px; /* Bordes redondeados */
    text-transform: uppercase; /* Texto en mayúsculas */
    display: inline-block; /* Asegura que el enlace se comporte como un bloque en línea */
    text-decoration: none; /* Elimina el subrayado */
}

.vacantes-button:hover {
    background-color: #B4002D; /* Color de fondo más oscuro al pasar el cursor */
    color: white; /* Mantener texto blanco */
    transition: all 0.3s ease; /* Transición suave */
}


/* Contenedor de noticias */
.news-grid {
  display: flex;
  flex-wrap: wrap;
  row-gap: 28px;
}

/* Card base */
.blog-card {
  height: 100%;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
  transition: transform .18s ease, box-shadow .18s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0,0,0,.10);
}

/* Imagen con proporción uniforme */
.blog-image{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f4f4f4;
}

.blog-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Fecha */
.blog-date{
  display: block;
  padding: 14px 16px 6px 16px;
  font-size: 13px;
  color: #7a7a7a;
}

/* Contenido */
.blog-content{
  padding: 14px 18px 22px 18px; /* más aire */
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Título con 3 líneas máximo */
.blog-title{
  font-size: 16px;
  line-height: 1.25;
  margin: 6px 0 10px 0;
  font-weight: 800;
  text-transform: uppercase;
  color: #2b2b2b;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Extracto con 3 líneas máximo */
.blog-excerpt{
  font-size: 14px;
  line-height: 1.45;
  color: #666;
  margin: 0 0 14px 0;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* CTA siempre abajo */
.blog-read{
  margin-top: auto;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-weight: 700;
  color: #d60000;
  text-decoration: none;

  padding: 12px 14px;    
  border-radius: 10px;   
  background: rgba(214,0,0,.06); 
}


.blog-read:hover{
  text-decoration: underline;
}

/* Ajuste de columnas: que el grid no quede “corto” */
.news-wrap{
  max-width: 1200px; /* ajusta si quieres más ancho */
  margin: 0 auto;
}


.btn-ver-mas{
  display: inline-block;
  padding: 14px 34px;
  border-radius: 40px;
  border: 2px solid #d60000;
  color: #d60000;
  font-weight: 800;
  text-decoration: none;
  transition: all .2s ease;
}

.btn-ver-mas:hover{
  background: #d60000;
  color: #fff;
  text-decoration: none;
}
