/* =========================
   FUENTES (mismo naming)
   ========================= */

@font-face {
    font-family: 'Soin-Bold';
    src: url('../fonts/SoinSansNeue-Bold.woff2') format('woff2'),
        url('../fonts/SoinSansNeue-Bold.woff') format('woff');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Soin-BoldItalic';
    src: url('../fonts/SoinSansNeue-BoldItalic.woff2') format('woff2'),
        url('../fonts/SoinSansNeue-BoldItalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Soin-ExtraLight';
    src: url('../fonts/SoinSansNeue-ExtraLight.woff2') format('woff2'),
        url('../fonts/SoinSansNeue-ExtraLight.woff') format('woff');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Sofia';
    src: url('../fonts/SofiaPro.woff2') format('woff2'),
        url('../fonts/SofiaPro.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Soin-Black';
    src: url('../fonts/SoinSansNeue-Black.woff2') format('woff2'),
        url('../fonts/SoinSansNeue-Black.woff') format('woff');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Soin-BlackItalic';
    src: url('../fonts/SoinSansNeue-BlackItalic.woff2') format('woff2'),
        url('../fonts/SoinSansNeue-BlackItalic.woff') format('woff');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Soin-Light';
    src: url('../fonts/SoinSansNeue-Light.woff2') format('woff2'),
        url('../fonts/SoinSansNeue-Light.woff') format('woff');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Soin-LightItalic';
    src: url('../fonts/SoinSansNeue-LightItalic.woff2') format('woff2'),
        url('../fonts/SoinSansNeue-LightItalic.woff') format('woff');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Soin-Italic';
    src: url('../fonts/SoinSansNeue-Italic.woff2') format('woff2'),
        url('../fonts/SoinSansNeue-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Soin-Heavy';
    src: url('../fonts/SoinSansNeue-Heavy.woff2') format('woff2'),
        url('../fonts/SoinSansNeue-Heavy.woff') format('woff');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Soin-Hairline';
    src: url('../fonts/SoinSansNeue-Hairline.woff2') format('woff2'),
        url('../fonts/SoinSansNeue-Hairline.woff') format('woff');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Soin-ExtraLightItalic';
    src: url('../fonts/SoinSansNeue-ExtraLightItalic.woff2') format('woff2'),
        url('../fonts/SoinSansNeue-ExtraLightItalic.woff') format('woff');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Soin-HeavyItalic';
    src: url('../fonts/SoinSansNeue-HeavyItalic.woff2') format('woff2'),
        url('../fonts/SoinSansNeue-HeavyItalic.woff') format('woff');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Soin-HairlineItalic';
    src: url('../fonts/SoinSansNeue-HairlineItalic.woff2') format('woff2'),
        url('../fonts/SoinSansNeue-HairlineItalic.woff') format('woff');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Soin-ThinItalic';
    src: url('../fonts/SoinSansNeue-ThinItalic.woff2') format('woff2'),
        url('../fonts/SoinSansNeue-ThinItalic.woff') format('woff');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Soin-Roman';
    src: url('../fonts/SoinSansNeue-Roman.woff2') format('woff2'),
        url('../fonts/SoinSansNeue-Roman.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Soin-Thin';
    src: url('../fonts/SoinSansNeue-Thin.woff2') format('woff2'),
        url('../fonts/SoinSansNeue-Thin.woff') format('woff');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Soin-Medium';
    src: url('../fonts/SoinSansNeue-Medium.woff2') format('woff2'),
        url('../fonts/SoinSansNeue-Medium.woff') format('woff');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Soin-MediumItalic';
    src: url('../fonts/SoinSansNeue-MediumItalic.woff2') format('woff2'),
        url('../fonts/SoinSansNeue-MediumItalic.woff') format('woff');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}



/* =========================
   BASE / LAYOUT
   ========================= */
html, body{
  overflow-x: hidden;
  font-family: 'Soin-Light';
  width: 100%;
  float: left;
  font-size: 16px;
}

/* =========================
   HEADER / NAV
   ========================= */

.slogan{
  padding: 15px;
  text-align: center;
  font-size: 20px;  
  font-family: 'Soin-Medium';
}


.slogan strong{
  font-family: 'Soin-Black';

}

header{
  padding: 0;
  width: 100%;
  float: left;
  position: relative;
  z-index: 1;
  background: #182743;
}

/*.home header,
.contactanos header,
.contact-us header{ background: transparent; position: absolute; }*/

.navbar-toggler{ color:#3a3a3a; }

.navbar{
  border-radius: 25px;
  margin: 0;
}

header nav li{ 
  padding: 0 .8rem; 
}

nav .nav-link{
  font-size:17px;
  position: relative;
  padding:.5rem 1rem;
  transition: color .3s ease;
  color:#fff;  
  font-family: 'Soin-Medium';
}

.navbar-nav .nav-link.active, 
.navbar-nav .nav-link:hover{
  color: #fff;
}


/* Links de nav y dropdown con subrayado animado */
.inicio .navbar-nav .nav-link{
  color:#fff;
}

header .inicio .nav-link:hover,
/*header .nav-link.active,
.navbar-nav .nav-link.active,*/
.inicio .navbar-nav .nav-link.show{
  color:#fff !important;
}


header .inicio .nav-link:hover,
/*header .nav-link.active,
.navbar-nav .nav-link.active,*/
.inicio .navbar-nav .nav-link.show{
  color:#000 !important;
}

.logo {
    width: 50%;
    object-fit: contain;
    height: 50%;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 100px;
}

header .nav-link {
  position: relative;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

/* Línea debajo (oculta por defecto) */
header .nav-link::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 0%;
  height: 4px;
  background-color: #007bff;
  border-radius: 4px;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

/* Efecto hover o activo */
header .nav-link:hover::after,
header .nav-link.active::after {
  width: 100%;
}

header .nav-link:hover {
  color: #aad4ff;
}


.main-carousel {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  float: left;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
.main-carousel button{
    display:none;
}


.main-carousel .carousel-cell {
  width: 100%;
  height: 100vh;
  margin: 0;
  padding: 0;
  position: relative;
  display: flex;
}

.main-carousel .carousel-cell video {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  display: block; /* evita el pequeño espacio por inline-block */
  filter: brightness(0.85);
  transition: transform 1.2s ease;
}
.slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block; /* evita el pequeño espacio por inline-block */

}
.slide-image video {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  display: block; /* evita el pequeño espacio por inline-block */
 
}
.main-carousel .carousel-cell.is-selected img {
  transform: scale(1.05);
}

.main-carousel .slide-caption {
  position: absolute;
  top: 30%;
  left: 20%;
  color: #fff;
  z-index: 10;
  width: 60%;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.main-carousel .slide-caption h2 {
  font-size: 40px;
  text-align: center;
  font-family: 'Soin-Medium';
  text-transform: uppercase;
}

.main-carousel .slide-caption h2 strong{
  font-size: 60px;
  width: 100%;
  display: block;
  font-family: 'Soin-Black';
}

a.btn-cta{
  width: 100%;
  display: block;
  background: #0f58e7;
  color: #fff;
  text-align: center;
  display: block;
  font-size: 20px;
  padding: 7px;
  border-radius: 10px;
  border: 1px solid #0f58e7;
  text-decoration: none;
  transition: all 0.35s ease-in-out;
  position: relative;
  overflow: hidden;
  margin-top: 3rem;
}


a.btn-cta:hover{
  background-color: transparent;
  border-color: #0f58e7;
  color: #fff;
}

.proyecto-card  a.btn-cta:hover{
  background-color: transparent;
  border-color: #0f58e7;
  color: #0f58e7;
}

.proyecto-card p{
  text-align: left;
  font-size: 18px;
  margin-bottom: 10px;
}

/* Efecto “brillo” sutil que viaja */
a.btn-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, rgba(15,88,231,0.3), rgba(15,88,231,0));
  transition: all 0.6s ease;
}

a.btn-cta:hover::before {
  left: 100%;
}

/* Ocultar flechas nativas de Flickity *
.main-carousel .flickity-button {
  background: none !important;
  border: none !important;
  color: transparent !important;
}

/* Personalización de botones *
.main-carousel .flickity-prev-next-button.previous::before,
.main-carousel .flickity-prev-next-button.next::before {
  content: '';
  position: absolute;
  top: 50%;
  width: 70px;
  height: 58px;
  transform: translateY(-50%);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* Flecha izquierda *
.main-carousel .flickity-prev-next-button.previous,
.main-carousel .flickity-prev-next-button svg {
  display: none;
}

/* Flecha derecha *
.main-carousel .flickity-prev-next-button.next{
  background-image: url('../img/flecha-slider.png')!important;
  right: 5%;
  top:10%;
  width: 70px;
  height: 58px;
}

/* Ajustes de hover 
.main-carousel .flickity-prev-next-button:hover::before {
  filter: brightness(1.3);
  transform: translateY(-50%) scale(1.1);
  transition: all 0.2s ease;
}*/

.servicios-home{
  padding:10rem 0 10rem;
  background: #192843;
  width: 100%;
  float: left;
}

.servicios-home h2{
  text-transform: uppercase;
  text-align: center;
  font-size: 50px;
  font-family: 'Soin-Roman';
  color: #fff;
  margin-bottom: 2rem;
}

.servicios-home p{
  text-align: center;
  font-size: 22px;
  color: #fff;
  margin-bottom: 10rem;
}


.servicio-card {
  background-color: #101d3f;
  border-radius: 12px;
  padding: 3rem 1rem;
  text-align: center;
  color: #fff;
  text-decoration: none;
  transition: all 0.35s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
  width: 100%;
  display: block;
}

/* Ícono */
.servicio-icono img {
  margin-bottom: 1rem;
  filter: brightness(1.8);
  transition: transform 0.4s ease;
  margin-bottom: 4rem;
}

/* Hover con efecto de iluminación */
.servicio-card:hover {
  background-color: #0066ff;
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 102, 255, 0.4);
}

.servicio-card:hover .servicio-icono img {
  transform: scale(1.1);
}

/* Título */
.servicio-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  font-family: 'Soin-Bold';
}

.servicios-home a.btn-cta{
  margin: 6rem 0 0;
}


.nosotros-home{
  background: #192743;
  padding: 10rem 0 0;
  color: #fff;
}

.nosotros-home h2{
	text-transform:uppercase;
}

.nosotros-home h2 em{
    font-family: 'Soin-BoldItalic';
}

.nosotros-home p{
	font-size:20px;
}

.nosotros-carousel{
	margin-bottom:8rem;
	border-radius:20px;
}


.nosotros-carousel img{
	border-radius:20px;
  min-width: 100%;
    border-radius: 20px;
    height: 100%;
    object-fit: cover;
    min-height:600px;
}

a.btn-cta-blanco{
  width: 100%;
  display: block;
  background: #fff;
  color: #000;
  text-align: center;
  display: block;
  font-size: 20px;
  padding: 7px;
  border-radius: 10px;
  border: 1px solid #fff;
  text-decoration: none;
  transition: all 0.35s ease-in-out;
  position: relative;
  overflow: hidden;
  margin-top: 3rem;
  font-family: 'Sofia';

}


a.btn-cta-blanco:hover{
  background-color: transparent;
  border-color: #fff;
  color: #fff;
}

/* Efecto “brillo” sutil que viaja */
a.btn-cta-blanco::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.3), rgba(255,255,255,0));
  transition: all 0.6s ease;
}

a.btn-cta-blanco:hover::before {
  left: 100%;
}

.nosotros-home a{
  display:block;
  margin-top: 3rem;
}

.nosotros-home span{
  display:block;
  text-transform:uppercase;
  width:100%;
  font-family: 'Soin-Bold';
}

.nosotros-carousel .flickity-prev-next-button {
    top: 106%;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transform: translateY(-50%);
}

.nosotros-carousel .flickity-prev-next-button svg{
	display:none;	
}

.nosotros-carousel .flickity-prev-next-button{
	background: url(../img/flecha-derecha.svg) no-repeat;
	background-size:100%;
}

.nosotros-carousel .flickity-prev-next-button.previous {
    left: 10px;
    transform: rotate(180deg) !important;
    left: 35%;
	margin-top:-22px;
}

.nosotros-carousel .flickity-prev-next-button.next{
   right: 35%;
}

.parallax-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  padding: 15% 0;
  color: #fff;
}

.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform: translateZ(0);
}

.section-stats {
  background-color: #0066ff;
  border-radius: 15px;
  padding: 2.5rem 1.5rem;
  color: #fff;
  position: relative;
  z-index: 2;
  margin-bottom: -10%;
}

.stat-box img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  filter: brightness(2);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  font-family: 'Soin-Bold';
}

.stat-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  color: #e5e9f5;
  font-family: 'Soin-Medium';
}

/* Fondo con scroll parallax JS */
.parallax-content {
  position: relative;
  z-index: 2;
}

@media (max-width: 992px) {
  .parallax-section { padding: 4rem 0; }
  .section-stats { margin-bottom: 2rem; }
}


.parallax-section p{
  font-size: 33px;
  text-align: center;
}

.parallax-section p strong{
  font-family: 'Soin-Bold';
}

.unidad-img{
  margin-top: 4rem;
}

.unidad-img img{
  border-radius: 20px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.unidad-jgs-steel-manufacturing img {
    height: 100px;
    margin-top: 30px;
}

.unidad-card:hover img {
  transform: scale(1.08);
}

.btn-absoluto{
  position: absolute;
  top: -24px;
  width: 100%;
}

.unidades-btn{
  margin-top: 0!important;
}

.unidades-btn:hover{
  background: #fff!important;
  color: #121416!important;
}

.certificaciones{
  padding: 6rem 0;
  position: relative;
}

.certificaciones h2{
  text-transform: uppercase;
  font-family: 'Soin-Bold';
}

.cert-tab {
  background: none;
  border: none;
  outline: none;
  text-align: center;
  color: #0f58e7;
  font-weight: 500;
  transition: all 0.3s ease;
}

.cert-tab img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  margin-bottom: 0.5rem;
  transition: transform 0.3s ease;
}

.cert-tab span {
  display: inline-block;
  border: 1px solid #0f58e7;
  background: transparent;
  color: #0f58e7;
  border-radius: 13px;
  font-family: 'Sofia';
  font-size: 17px;
  padding: 4px 14px;
  transition: all 0.3s ease;
}

.cert-tab:hover img {
  transform: scale(1.1);
}

.cert-tab.active span {
  background: #0f58e7;
  color: #fff;
}

.cert-tab.active img {
  transform: scale(1.1);
}

/* Barra azul decorativa */
.barra {
  width: 100%;
  height: 1px;
  background-color: #0f58e7;
  margin: 2rem 0;
  position: relative;
}

.barra::before{
  width: 10%;
  height: 11px;
  border-radius: 10px;
  background: #0f58e7;
  position: absolute;
  top: -5px;
  content: "";
  display: block;
}

/* Contenido */
.texto-cert {
  font-size: 1rem;
  color: #333;
  line-height: 1.7;
  max-width: 90%;
  min-height: 170px;
}

.tab-pane {
  animation: fadeIn 0.4s ease forwards;
  padding: 2rem;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .cert-tab img {
    width: 80px;
    height: 80px;
  }
}

.certificaciones .nav-tabs{
  border-bottom: 0;
}

.certificaciones li.nav-item {
    width: 15%;
}

.certificaciones .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    color:#121416;
    background-color: transparent;
    border-color: transparent;
}

.certificaciones .nav-tabs .nav-link:focus, 
.certificaciones .nav-tabs .nav-link:hover{
  border-color: transparent;
}

.tab-pane h3{    
  font-family: 'Soin-BlackItalic';
  font-size: 25px;
  margin-top: 2rem;
}

.tab-pane p,
.tab-pane ul{
  font-size: 20px;
}

.tab-pane p strong{
  font-family: 'Soin-Bold';
}


.proyectos-demsa{
  padding: 0 0 6rem;
  position: relative;
}

.proyectos-demsa h2{
  text-transform: uppercase;
  font-family: 'Soin-Bold';
}

.proyectos-demsa a.btn-cta:hover{
  color: #0f58e7;
}

.barra-corta{
  width: 10%;
  height: 11px;
  border-radius: 10px;
  background: #0f58e7;
  margin-bottom: 2rem;
}

.proyectos-demsa p{
  font-size: 22px;
}

.slider-proyectos {
  color: #fff;
}

.slider-proyectos h2 {
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
}/*

.main-carousel {
  margin-top: 2rem;
}
*/
.slider-proyectos .carousel-cell {
  width: 32%;
  margin-right: 5px;
  overflow: hidden;
  position: relative;
  transition: transform 0.4s ease;
}

.slider-proyectos .carousel-cell.is-selected {
  transform: scale(1.02);
}

.proyecto-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.proyecto-titulo {
  font-size: 21px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 1rem;
  text-align: center;
  color: #fff;
  font-family: 'Soin-Bold';
  background: #0F58E8;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  min-height: 82px;
}

.slider-proyectos .flickity-page-dots .dot {
  background: #fff;
  opacity: 0.6;
}

.slider-proyectos .flickity-page-dots .dot.is-selected {
  opacity: 1;
}
                                                                                                                                                                                                                                                                            
.slider-proyectos .flickity-button {
  border-radius: 50%;
}

.slider-proyectos .flickity-button:hover {
  background: #0f58e7;
}

@media (max-width: 992px) {
  .slider-proyectos .carousel-cell {
    width: 90%;
  }
  .proyecto-img img {
    height: 300px;
  }

  .slider-proyectos .carousel-cell{
    width: 33%;
  }

}

.clientes-home{
  padding: 3rem 0;
}

.slider-clientes {
  color: #0b1b3f;
  overflow: hidden;
}

.carousel-clientes .carousel-cell {
  width: 20%;
  margin-right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.carousel-clientes .carousel-cell:hover {
  opacity: 1;
  transform: scale(1.05);
}

.carousel-clientes .cliente-logo {
  object-fit: contain;
  filter: grayscale(0);
  transition: filter 0.3s ease;
}

.carousel-clientes .carousel-cell:hover .cliente-logo {
  filter: grayscale(100%);
}

footer{
    float: left;
    width: 100%;
    padding: 4rem 0 1rem;
    background: #122031;
}

footer a{
  display: block;
  font-family: 'Soin-Bold';
  font-size: 17px;
}

footer a:hover,
footer .nav-link:hover{
  color: #0d4ecc;
}

footer .nav-link{
  color: #fff;
  font-size: 17px;
  font-family: 'Soin-Light';
}


footer a.contacto:hover svg path{
  fill:#0d4ecc;
}

footer svg{
  width: 100%;
}

footer strong{
  display: block;
  font-size: 24px;
  font-family: 'Soin-Bold';
}

footer h4{
  font-family: 'Soin-Bold';
  font-size: 24px;
  margin-bottom: 1rem;
  color: #fff;
}

footer ul{
  margin: 0;
  padding: 0;
}

footer a.red-social{
  display: inline-block;
  font-family: 'Soin-Bold';
  font-size: 17px;
  margin-bottom: 1rem;
}

footer .copy{
  text-align: center;
  margin: 3rem 0 0;
  color: #fff;
}

.fondo{
  padding: 4rem 0
}

.nosotros h2{
  text-transform: uppercase;
  font-size: 47px;
  font-family: 'Soin-Bold';
}

.linea-azul{
  width: 80%;
  border-color: #005aff;
  opacity:1;
}

.nosotros h3{
  text-transform: uppercase;
  font-size: 47px;
  font-family: 'Soin-Medium';
  color: #052e60;
  margin-top:4rem;
}

.nosotros p,
.nosotros ul{
  font-family: 'Sofia';
  font-size:18px;
}

.nosotros p strong{
  font-family: 'Soin-Bold';
}

.nosotros h3{  
  text-transform: initial;
  font-size: 30px;
  font-family: 'Soin-Medium';
}

.mvv {
  background-color: #fff;
  color: #0b1b3f;
  margin: 0;
}

.mvv-tabs {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.mvv-tab {
  background: #0b1b3f;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 2rem 1.5rem;
  width: 180px;
  height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: all 0.35s ease;
  text-transform: uppercase;
}

.mvv-tab img {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
}

.mvv-tab.active,
.mvv-tab:hover {
  background-color: #0f58e7;
  transform: translateY(-5px);
}

.mvv-tab span {
  font-weight: 600;
  letter-spacing: 1px;
}

.nosotros .tab-pane {
  animation: fadeInUp 0.4s ease forwards;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .mvv-tab {
    width: 45%;
    height: 150px;
    padding: 1.5rem;
  }

  .mvv-tabs {
    gap: 1rem;
  }
}

.nosotros .tab-pane{
    padding:0;
}

.nosotros .tab-pane h3,
.politicas h3{
    font-size:30px;
    text-transform: uppercase;
}

.linkeado a{
  background: #0f58e7;
  color: #fff;
  border: 1px solid #0f58e7;
  border-radius: 8px;
  padding: 8px 20px;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
  transition: all 0.3s 
ease;
}


.linkeado a:hover{
    background: transparent;
    color: #0f58e7;
}

.nosotros .tab-pane p,
.politicas p{
}

.bg-azul{
    text-align:center;
    background:#182744;
    padding:6rem 0;
    min-height:55vh;
    float:left;
    width:100%;
}

.bg-azul h1{
    color:#fff;
  font-family: 'Soin-Medium';
  text-transform:uppercase;
  margin-bottom:1rem;
}

.bg-azul p{
    color:#fff;
  font-family: 'Sofia';
}

.servicios .wp-block-image img{
  width: 100%;
  margin-top: 2rem;
}

.servicios .mvv-tabs,
.proyectos .mvv-tabs{
    width:100%;
    margin-top: 7rem;
}

.servicios article,
.proyectos article{

  margin-top: -18rem;
  display: block;
  float: left;
  width: 100%;
}

.servicios .mvv,
.proyectos .mvv{
  background: transparent;
}

.servicios .mvv-tab span,
.proyectos .mvv-tab span{
  font-family: 'Soin-Bold';
  text-transform: initial;
  font-size: 26px;
  line-height: 26px;
}

.servicios .tab-pane h3,
.proyectos .tab-pane h3 {
    text-transform: uppercase;
    color: #005aff;
    font-family: 'Soin-Bold';
}

.servicios .mvv-tab,
.proyectos .mvv-tab{
    width: 22%;
    padding: 2rem;
    height: auto;
}

.servicios .mvv-tab img ,
.proyectos .mvv-tab img {
    width: 120px;
    height: 100px;
    margin-bottom: 1rem;
}

.proyectos-img img{
  object-fit: cover;
  width: 100%;
  height: 444px;
  margin-bottom: 1rem;
  display: block;
}

.proyectos .proyecto-titulo {
    font-size: 20px;
    padding: 0!important;
    text-align: left;
    color: #03244d;
    height: auto;
    min-height: auto;
    background: transparent;
}

.proyectos .tab-pane h2{
  font-size: 40px;
  color: #004ddb;
  text-transform: uppercase;
  font-family: 'Sofia';
}


.proyectos .tab-pane h2 span{
  color: #03244d;
  font-family: 'Soin-Bold';
}

.unidades-de-negocio .fondo{
  width: 100%;
  float: left;
}

.unidades-de-negocio h1{
  text-align: center;
  text-transform: uppercase;
  color: #004ddb;
  font-family: 'Sofia';
  font-size: 40px;
}


.unidades-de-negocio h1 span{
  font-family: 'Soin-Bold';
  color: #082866;
}

.unidades-de-negocio .fondo-azul{
  background: #182744;
  padding: 4rem 0;
  width: 100%;
  float: left;
}



.unidades-negocio {
  color: #fff;
}

.unidades-tabs {
  gap: 1rem;
  flex-wrap: wrap;
}

.unidad-tab {
  background: transparent;
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  width: 20%;
}

.unidad-tab img {
  width: 80%;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.unidad-tab.active {
  background:transparent;
  transform: translateY(-8px);
}

.unidad-tab.active::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 12px solid #fff;
}

.unidad-tab:hover img {
  transform: scale(1.05);
}

.logo img {
  max-width: 220px;
  height: auto;
  object-fit: contain;
}

.contenido-unidad {
  color: #2b2b2b;
  font-size: 1rem;
  line-height: 1.6;
  background: #fff;
  border-radius: 12px;
  padding: 2rem 0;
}

.btn-cta {
  background: #0f58e7;
  color: #fff;
  border: 1px solid #0f58e7;
  border-radius: 8px;
  padding: 8px 20px;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-cta:hover {
  background: transparent;
  color: #0f58e7;
}


.unidades-de-negocio .tab-pane{
  width: 100%;
  float: left;
}

.unidades-de-negocio .tab-pane h3{
  text-align: left;
}

.contenido-unidad p strong{
  font-family: 'Soin-Bold';
  color: #005aff;
}

.contenido-unidad .wp-block-buttons .wp-block-button__link{
  border-radius: 10px!important;
  background: #005aff;
}

.interna{
  padding: 6rem 0;
  width: 100%;
  float: left;
}

.interna h1{
  text-transform: uppercase;
  text-align: center;
  color: #004ddb;
  font-family: 'Soin-Bold';
}

.interna .type-proyecto  h1{
  text-transform: uppercase;
  text-align: left;
  color: #004ddb;
  font-family: 'Soin-Bold';
}

.fondo-contacto{
  padding: 6rem 0;
  width: 100%;
  float: left;
}

.fondo-contacto h2{
  text-transform: uppercase;
  font-size: 40px;
  color: #3c3c3c;
  font-family: 'Sofia';
  margin-bottom: 0;
}

.fondo-contacto h2 strong{
  color: #004ddb;
  font-family: 'Soin-Bold';
  margin-bottom: 0;
}

.fondo-contacto h3 {
    color: #3c3c3c;
    font-family: 'Soin-Roman';
    line-height: 10px;
    margin-bottom: 6rem;
}

.fondo-contacto h4{
  font-family: 'Soin-Bold';
  color: #073164;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.fondo-contacto p{
  color: #000;
  font-size: 22px;
}

.fondo-contacto a{
  color: #000;
}


/* ======== SECCIÓN CONTACTO CON TABS ======== */
.contacto-tabs {
    background: #f9fafc;
    float: left;
    width: 100%;
}

.contacto-tabs h2 {
  color: #0b1b3f;
  font-weight: 600;
}

/* ======== TABS (botones principales arriba del formulario) ======== */
.contacto-tablist {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.contacto-tab {
  background: #0b1b3f;
  color: #fff;
  border: none;
  border-radius: 12px;
  width: 260px;
  text-align: center;
  padding: 1.8rem 1rem;
  cursor: pointer;
  transition: all 0.35s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  position: relative;
  z-index: 2;
}

.contacto-tab img {
  width: 90px;
  height: 90px;
  margin-bottom: 0.8rem;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.contacto-tab span {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  font-size: 20px;
  font-family: 'Sofia';
}

.contacto-tab:hover {
  background: #0f58e7;
  transform: translateY(-4px);
}

.contacto-tab.active {
  background: #0f58e7;
  color: #fff;
  transform: translateY(-8px);
}

.contacto-tab.active::after {
  /*content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 12px solid #0f58e7;*/
}

/* ======== FORMULARIO ======== */
.formulario-box {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
  padding: 3rem 4rem;
  max-width: 900px;
  margin: 0 auto;
  transition: all 0.3s ease;
  margin-bottom: 6rem;
}

.formulario-box h3 {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 600;
  color: #2b2b2b;
  margin-bottom: 2rem;
}

/* Contact Form 7 Styles */
.formulario-box input,
.formulario-box textarea,
.formulario-box select {
  width: 100%;
  background: #f5f7fa;
  border: none;
  border-radius: 50px;
  padding: 12px 20px;
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #333;
  transition: all 0.3s ease;
}

.formulario-box textarea {
  border-radius: 12px;
  height: 120px;
  resize: none;
}

.formulario-box input:focus,
.formulario-box textarea:focus,
.formulario-box select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(15, 88, 231, 0.2);
}

.formulario-box input[type="submit"],
.formulario-box button {
  background: #0f58e7;
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  border: none;
  border-radius: 50px;
  padding: 10px 40px;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-block;
}

.formulario-box input[type="submit"]:hover {
  background: transparent;
  color: #0f58e7;
  border: 2px solid #0f58e7;
}

/* ======== RESPONSIVE ======== */
@media (max-width: 768px) {
  .contacto-tablist {
    gap: 1rem;
  }

  .contacto-tab {
    width: 100%;
    max-width: 400px;
  }

  .formulario-box {
    padding: 2rem;
  }
}

.contenido-single{
  padding: 6rem 0;
  width: 100%;
  float: left;
}

.contenido-single h1{
  text-align: center;
  text-transform: uppercase;

}
.contenido p,
.contenido ul{

  font-size: 22px;
  font-family: 'Sofia';
}

.redes{
  position: fixed;
  right: 1%;
  top: 55%;
  z-index: 1;
}

  @media (min-width: 1919px){
    .main-carousel {
      height: 66vh;
    }

    .parallax-section {
        height: 70vh;
    }

    .bg-azul {
        min-height: 35vh;
    }
  }

@media (min-width: 768px) and (max-width: 1024px){

  html,
  body{
    text-align: center;
  }

  .navbar-toggler {
    color: #fff;
  }
  .main-carousel {
      height: 70vh;
  }

  .main-carousel .carousel-cell {
    height: 70vh;
  }

  .main-carousel .slide-caption {
      left: 10%;
      width: 80%;
  }
  
  .main-carousel .slide-caption h2 {
      font-size: 30px;
  }

  .main-carousel .slide-caption h2 strong {
      font-size: 50px;
  }

  .servicio-card {
      padding: 3rem 1rem 0;
  }

  .nosotros-home p {
      font-size: 14px;
  }

  .parallax-section p {
      font-size: 25px;
  }

  .parallax-section {
      height: 45vh;
  }

  .slider-proyectos .carousel-cell,
  .carousel-clientes .carousel-cell{
      width: 50%;
  }

  .barra-corta {
      margin-left: 45%;
  }

  .linea-azul {
      width: 100%;
  }

  .mvv-tab {
      width: 30%;
  }

  .servicios .mvv-tab, .proyectos .mvv-tab {
      width: 22%;
      padding: 2rem 2rem;
  }

  .servicios .mvv-tab span, .proyectos .mvv-tab span {
      font-size: 18px;
      line-height: 22px;
  }

  .bg-azul {
      min-height: 45vh;
  }

  .contenido-servicio,
  .servicios .tab-pane h3, 
  .proyectos .tab-pane h3,
  .proyectos .tab-pane h2,
  .proyectos .proyecto-titulo,
  .tab-pane p, 
  .tab-pane ul,
  .unidades-de-negocio .tab-pane h3{
      text-align: center;
  }

  .proyectos-img img {
      height: 250px;
  }

  .contenido-unidad .is-layout-flex {
      display: block!important;
      width: 100%!important;
  }

  .contenido-unidad .wp-block-buttons>.wp-block-button {
      display: inline-block;
      margin: 0;
      width: 100%;
  }

  .unidad-tab {
      width: 30%;
  }

  .unidades-de-negocio h1 {
      font-size: 32px;
  }

  .contacto-tab {
      width: 100%;
      max-width: 30%;
  }
}

@media (max-width: 767px){

  html,
  body{
    text-align: center;
  }

  .navbar-toggler {
    color: #fff;
  }
  .main-carousel {
      height: 70vh;
  }

  .main-carousel .carousel-cell {
    height: 70vh;
  }

  .main-carousel .slide-caption {
      left: 10%;
      width: 80%;
  }
  
  .main-carousel .slide-caption h2 {
      font-size: 20px;
  }

  .main-carousel .slide-caption h2 strong {
      font-size: 40px;
  }

  .servicio-card {
      padding: 3rem 1rem 0;
  }

  .nosotros-home p {
      font-size: 14px;
  }

  .parallax-section p {
      font-size: 25px;
  }

  .inicio .parallax-section {
      height: 120vh;
  }

  .slider-proyectos .carousel-cell,
  .carousel-clientes .carousel-cell{
      width: 100%;
  }

  .barra-corta {
      margin-left: 45%;
  }

  .linea-azul {
      width: 100%;
  }

  .mvv-tab {
      width: 30%;
  }

  .servicios .mvv-tab, .proyectos .mvv-tab {
      width: 22%;
      padding: 2rem 2rem;
  }

  .servicios .mvv-tab span, .proyectos .mvv-tab span {
      font-size: 18px;
      line-height: 22px;
  }

  .bg-azul {
      min-height: auto;
  }

  .servicios article, .proyectos article {
      margin-top: 0rem;
  }

  .contenido-servicio,
  .servicios .tab-pane h3, 
  .proyectos .tab-pane h3,
  .proyectos .tab-pane h2,
  .proyectos .proyecto-titulo,
  .tab-pane p, 
  .tab-pane ul,
  .unidades-de-negocio .tab-pane h3{
      text-align: center;
  }

  .proyectos-img img {
      height: 250px;
  }

  .contenido-unidad .is-layout-flex {
      display: block!important;
      width: 100%!important;
  }

  .contenido-unidad .wp-block-buttons>.wp-block-button {
      display: inline-block;
      margin: 0;
      width: 100%;
  }

  .unidad-tab {
      width: 30%;
  }

  .unidades-de-negocio h1 {
      font-size: 32px;
  }

  .contacto-tab {
      width: 100%;
      max-width: 30%;
  }

  .section-stats {
      margin-top: 4rem;
  }

  footer .img-logo-footer{
    margin: 3rem 0;
  }

  footer a.contacto svg{
    width: 15%;
    margin-bottom: 1rem;
  }

  .nosotros .parallax-section {
    height: 30vh;
  }

  .nosotros .tab-pane h3, 
  .politicas h3 {
      font-size: 26px;
  }

  .nosotros p, .nosotros ul {
      font-size: 16px;
  }

  .accordion-servicios .accordion-button {
    background-color: #0b1b3f;
    color: #fff;
    border-radius: 10px;
    padding: 1.5rem 1.8rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease-in-out;
    text-align: left;
  }

  .accordion-servicios .accordion-button:hover {
    background-color: #0f58e7;
    color: #fff;
  }

  .accordion-servicios .accordion-button:not(.collapsed) {
    background-color: #0f58e7;
    color: #fff;
    box-shadow: none;
  }

  .accordion-servicios .accordion-button:focus {
    box-shadow: none;
  }

  .accordion-servicios .accordion-item {
    border: none;
    background: transparent;
  }

  .accordion-servicios .accordion-body {
    background: #fff;
    border-radius: 0 0 12px 12px;
    padding: 2rem;
    color: #333;
    line-height: 1.7;
    font-size: 1rem;
  }

  .accordion-servicios .icono-servicio img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: brightness(0) invert(1);
  }

  .accordion-servicios .titulo-servicio {
    display: inline-block;
    vertical-align: middle;
  }

  .accordion-servicios .accordion-item:not(:last-child) {
    margin-bottom: 1.2rem;
  }

  .accordion-servicios h4{
    display: none;
  }

  .accordion-proyectos .accordion-button {
    background-color: #0b1b3f;
    color: #fff;
    border-radius: 10px;
    padding: 1.5rem 1.8rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease-in-out;
    text-align: left;
  }

  .accordion-proyectos .accordion-button:hover {
    background-color: #0f58e7;
    color: #fff;
  }

  .accordion-proyectos .accordion-button:not(.collapsed) {
    background-color: #0f58e7;
    color: #fff;
    box-shadow: none;
  }

  .accordion-proyectos .accordion-item {
    border: none;
    background: transparent;
  }

  .accordion-proyectos .accordion-body {
    background: #fff;
    border-radius: 0 0 12px 12px;
    padding: 2rem;
    color: #333;
    line-height: 1.7;
    font-size: 1rem;
  }

  .accordion-proyectos .icono-categoria img {
    width: 55px;
    height: 55px;
    object-fit: contain;
    filter: brightness(0) invert(1);
  }

  .accordion-proyectos .titulo-categoria {
    font-size: 1.1rem;
    text-transform: capitalize;
  }

  .proyecto-card {
    background: #f8f9fc;
    border-radius: 10px;
    padding: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .proyecto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  }

  .proyecto-titulo {
    font-weight: 600;
    font-size: 1rem;
  }

  .proyectos-img img {
    border-radius: 8px;
    transition: transform 0.3s ease;
  }

  .proyectos-img img:hover {
    transform: scale(1.05);
  }

  .proyectos a.btn-cta {
    margin-top: 0;
  }

  .accordion-unidades .accordion-button,
   .accordion-item:first-of-type>.accordion-header .accordion-button{
    background-color: #0b1b3f;
    color: #fff;
    border-radius: 10px;
    padding: 1.5rem 1.8rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease-in-out;
    text-align: center;
    justify-content: center;
  }

  .accordion-unidades .accordion-button:hover,
   .accordion-unidades .accordion-button:active,
   .accordion-unidades .accordion-button:focus {
    background-color: #fff;
    color: #0b1b3f;
  }

  .accordion-unidades .accordion-button:not(.collapsed) {
    background-color: #0b1b3f;
    color: #fff;
    box-shadow: none;
  }

  .accordion-unidades .accordion-item {
    border: none;
    background: transparent;
  }

  .accordion-unidades .accordion-body {
    background: #fff;
    border-radius: 0 0 12px 12px;
    padding: 2rem;
    color: #333;
    line-height: 1.7;
    font-size: 1rem;
  }

  .icono-unidad img {
    width: 120px;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
  }

  .icono-unidad img:hover {
    transform: scale(1.05);
  }

  .placeholder-logo {
    width: 120px;
    height: 80px;
    background-color: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
  }

  .titulo-unidad {
    font-size: 1.1rem;
    text-transform: capitalize;
  }

  .accordion-unidades .accordion-item:not(:last-child) {
    margin-bottom: 1.2rem;
  }

  .contenido-unidad p {
    margin-bottom: 1rem;
  }

  .accordion-unidades .btn-cta {
    display: inline-block;
    background-color: #0f58e7;
    color: #fff;
    padding: 10px 25px;
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid #0f58e7;
    transition: all 0.3s ease;
  }

  .accordion-unidades .btn-cta:hover {
    background-color: transparent;
    color: #0f58e7;
  }

  h3.text-primary.text-uppercase.fw-bold.mb-3,
  .contenido-unidad p{
    text-align: center;
  }

  .fondo-contacto h2 {
      font-size: 30px;
   }

   .accordion-contacto .accordion-button {
     background-color: #0b1b3f;
     color: #fff;
     border-radius: 10px;
     padding: 1.5rem 1.8rem;
     font-weight: 600;
     font-size: 1.1rem;
     transition: all 0.3s ease-in-out;
     text-align: left;
   }

   .accordion-contacto .accordion-button:hover {
     background-color: #0f58e7;
     color: #fff;
   }

   .accordion-contacto .accordion-button:not(.collapsed) {
     background-color: #0f58e7;
     color: #fff;
     box-shadow: none;
   }

   .accordion-contacto .accordion-item {
     border: none;
     background: transparent;
   }

   .accordion-contacto .accordion-body {
     background: #fff;
     border-radius: 0 0 12px 12px;
     padding: 2rem;
     color: #333;
     line-height: 1.7;
     font-size: 1rem;
   }

   .icono-contacto {
     width: 45px;
     height: 45px;
     filter: brightness(0) invert(1);
   }

   .titulo-contacto {
     font-size: 1.1rem;
     text-transform: capitalize;
   }

   .accordion-contacto .accordion-item:not(:last-child) {
     margin-bottom: 1.2rem;
   }

   .formulario-box h3 {
     color: #0b1b3f;
     font-weight: 700;
   }

   .formulario-box form {
     max-width: 700px;
     margin: 0 auto;
   }

   .accordion-contacto .wpcf7 form input,
   .accordion-contacto .wpcf7 form textarea {
     border-radius: 10px;
     border: 1px solid #ccc;
     padding: 12px 15px;
     width: 100%;
     font-size: 0.95rem;
     margin-bottom: 1rem;
   }

   .accordion-contacto .wpcf7 form input[type="submit"] {
     background-color: #0f58e7;
     color: #fff;
     border: none;
     font-weight: 600;
     padding: 12px 40px;
     border-radius: 8px;
     transition: all 0.3s ease;
   }

   .accordion-contacto .wpcf7 form input[type="submit"]:hover {
     background-color: #fff;
     color: #0f58e7;
     border: 1px solid #0f58e7;
   }

   .inicio button.accordion-button{
    background: transparent;
   }

   .inicio h4.text-uppercase.text-primary.fw-bold.mb-2,
   .texto-cert {
       text-align: center;
   }

   .servicios-home .col-xl-3.col-sm-3.col-6 {
       margin-bottom: 3rem;
   }

   .nosotros h2 {
       font-size: 37px;
   }

   .nosotros .tab-pane h3, 
   .politicas h3{
    text-align: center;
   }

   footer a {
       font-size: 14px;
   }

   footer strong{
    font-size: 18px;
   }

   .inicio .main-carousel .flickity-prev-next-button {
      top: 90%;
  }

  .accordion .logo img {
      display: none;
  }

  .accordion-unidades .accordion-button:hover,
   .accordion-unidades .accordion-button:active,
   .accordion-unidades .accordion-button:focus {
    background-color: #0b1b3f;
    color: #fff;
  }


}