:root {
    --primary-color: #cf3645;
    --secondary-color: #2ecc71;
    --accent-color: #e74c3c;
    --text-color: #707070;
}
*{
    padding: 0;
    margin: 0;
    text-decoration: none;
    box-sizing: border-box;
    font-family: "Inter", system-ui;
    color: var(--text-color );
}
ul li, ol li{
    color:#ffffff;
}
body{
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    background: #484848;
}
@font-face{
    font-family: dklong;
    src: url(../font/DKLongreach.otf);
}
@font-face{
    font-family: todayshop;
    src: url(../font/TodaySHOP-Bold.otf);
}
.rojo{
    color: var(--primary-color);
}
.dklong{
    font-family: dklong;
}
.today{
    font-family: todayshop;
}
.banner-home{
    height: 100vh;
	min-height:600px;
	position:relative
}
.is-3by2{
    background:#333333;
}
.slider-banner{
    top: 50%;
    /* left: 6%; */
    transform: translate(0%,-50%);
}
.contenido-banner{
    width: 90%;
    max-width: 900px;
/*    padding-left: 5% !important;*/
}
.titulo-banner{
    color: #FFF;
    font-family: "Inter", system-ui;
    font-size: 3em;
    font-style: normal;
    font-weight: 700;
    line-height: 48px;
}
.subtitulo-banner{
    color: #ffffff;
    font-family: "Inter", system-ui;
    font-size: 1.2em;
    font-style: normal;
    font-weight: 300;
    strong{
        color: #fff;
    }
}
.btn-vermas{
    display: flex;
    width: 240px;
    padding: 12px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    border: 1px solid #fff;
    text-transform: uppercase;
    font-weight: 600;
    transition: background 0.3s ease;
}
.btn-vermas:hover{
    color: #fff;
    background: #ff1915;
    border: none;
}
.slick-dots {
    text-align: center;
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 5%;
    left:50%;
    transform: translate(0,-50%);
}
.slick-dots li {
    margin-right: 15px;
    margin-bottom: 15px;
}
.slick-dots li button {
    background: none;
    border: 1px solid #FFF;
    font-size: 0;
    line-height: 0;
    width: 12px;
    height: 12px;
    padding: 0;
    border-radius: 50%;
    outline: none;
    display: block;
    cursor: pointer;
}
.slick-dots li.slick-active button {
    background: #FFF;
}
.contenido-home{
    padding: 100px 0;
}
.contenido-home p,
.contenido-home h2{
    color: #ffffff;
    font-size: 1.3em;
    font-weight: 300;
    line-height: 35px;
}
.contenido-home h2 strong{
    color: #ffffff !important;
    font-weight: 500;
}
.contenido-nosotros p strong,
.contenido-nosotros p{
    color: #ffffff !important;
    font-weight: 500;
}
.wrap{
    width: 85%;
    margin: 0 auto;
}
.bg-sello{
    background: #ffffff;
    transition: background 0.5s ease;
}
.bg-sello:hover{
    background: rgb(212, 69, 87);
    p{
        color: #ffffff;
    }
}
.cuadro-indicador{
    background:var(--primary-color);
/*    height: 350px;*/
    display: grid;
    place-items: center;
    padding: 15%;
    transition: background 0.5s ease;
}
.cuadro-indicador:hover{
    background: #ba2d3b;
}
.cuadro-indicador p, 
.cuadro-indicador p span{
    line-height: 20px;
}
.titulo-seccion{
    color: #ffffff;
    font-weight: 600;
}
.img-novedad{
    position: relative;
    overflow: hidden;    
}
.img-novedad figure img{
    transition: transform 0.3s ease;
}
.img-novedad .linea {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 15px;
    background-color: var(--primary-color);
    transition: height 0.3s ease;
    z-index: 1;
}

.img-novedad:hover{ 
    .linea {
        height: 25px; /* Aumenta el alto de la línea en 5px al hacer hover */
    }    
}
.img-novedad:hover figure img{
        transform: scale(1.1);
}
figure img{
    object-fit: contain;
}
p.titulo-novedad{
    color: #ffffff;
    text-transform: uppercase;
    margin: 20px 0;
    font-weight: 600;
}
.extracto p{
    color: #B9B9B9;
    font-weight: 300;
    font-size: 0.85em;
}
footer{
    background: var(--primary-color);
/*    margin-top: 60px;*/

    .wrap{
        padding: 50px 0;
    }
}
.rectangular .slick-dots,
.slider-galeria .slick-dots{
    bottom: unset;
    left: unset;
    transform: unset;
    position: relative;
    margin-top: 30px;
    flex-wrap: wrap;
}
.rectangular .slick-dots li button,
.slider-galeria .slick-dots li button {
    background:#D1D1D1;
    border-radius: 0%;
    width: 50px;
    border: none;
}
.rectangular .slick-dots li.slick-active button,
.slider-galeria .slick-dots li.slick-active button {
    background: var(--primary-color);
}
footer p{
    font-size: 0.85em;
    font-weight: 300;
}
footer p.ciudad{
    font-weight: 600;
}
footer .redes a:not(:last-child){
    padding-right: 5px;
}
footer img.logo-footer{
	max-width:150px;
}
.titulo-banner-interior {
    position: absolute;
    top: 50%;
    left: 7%;
    font-size: 3em;
}
#banner-interior {
    position: relative;
    height: 70vh;
    /* min-height: 700px; */
    background-position: center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}

.contenedor-categoria {
    max-width: 100%;
    padding: 10px;
    border:1px solid #ffffff;    
    transition: background 0.3s ease;
    min-height:50px;
    p{
        color: #ffffff !important;
        font-size: 0.85em;
        line-height: 15px;
    }
}
.contenedor-categoria:hover,
.contenedor-categoria.active{
    border:none;
    background:var(--primary-color);
    border: 1px solid var(--primary-color);
}
.contenido-servicio p{
    color: #ffffff;
}
.contenedor-cuadro-servicio {
    position: relative;
    width: 150px;
    max-width: 100%;
    padding: 10px;
    background:var(--primary-color);
    transition: background 0.3s ease;
    p{
        color: #ffffff !important;
        font-size: 0.85em;
        line-height: 15px;
    }
}
.contenedor-cuadro-servicio:hover,
.contenedor-cuadro-servicio.active {
    background:#95333c;
}
.contenedor-cuadro-servicio.active::after {
    transform: translate(-50%, 0);
    content: '';
    position: absolute;
    bottom: -25px;
    left: 50%;
    width: 30px;
    height: 15px;
    background-image: url(../img/crevron.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.contenedor-cuadro-area {
    position: relative;
    width: 150px;
    max-width: 100%;
    padding: 10px;
    background:var(--primary-color);
    transition: background 0.3s ease;
    p{
        color: #ffffff !important;
        font-size: 0.85em;
        line-height: 15px;
    }
}
.contenedor-cuadro-area:hover,
.contenedor-cuadro-area.active {
    background:#95333c;
}
.contenedor-cuadro-area.active::after {
    transform: translate(-50%, 0);
    content: '';
    position: absolute;
    bottom: -25px;
    left: 50%;
    width: 30px;
    height: 15px;
    background-image: url(../img/crevron.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
/* Estilos para el botón */
.btn-cotiza {
  max-width: 100%;
    width: 600px;
    display: inline-block;
    padding: 25px 30px;
    border: 1px solid white;
    border-radius: 50px;
    background-color: transparent;
    color: white;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cotiza:hover {
  background-color: white; 
  color: black;
}
.interior-nota p,
.interior-nota ul,
.interior-nota ol{
    font-weight: 200;
}
.interior-nota p,
.interior-nota strong{
    color: #ffffff;
}
a.volver{
    color: #A7A7A7;
}
.compartir img{
    max-width: 20px;
}
a.grid__item{
    width: 100%;
}
.grid__item {
 align-items: center;
 justify-content: center;
 color: inherit;
 text-decoration: none;
 padding:0 4px;
 }
 .grid__description.active {
 max-height: 100%;
 }
 .grid__description {
 max-height: 0;
 overflow: hidden;
 /*   background: #aaa; */
 width:100%;
 
 }
 .cuadro-rojo{
    background: var(--primary-color) ;
    min-height: 150px;
    height: 100%;
 }
 .cuadro-rojo hr{
    background: #8d8d8d;
    width: 60px;
    height: 1px;
    margin: 0.5rem 0
 }
 .contenedor-persona{
    background: #ffffff;
        display: flex;
        flex-direction: column;
        justify-content: flex-end; /* Esto alinea el contenido (la imagen) al fondo del div */
        height: 100%; /* Ajusta el tamaño según sea necesario */
        transition: background 0.3s ease;
 }
 /*.contenedor-persona:hover,
 .contenedor-persona.active{
    background: #cf3646;
 }*/
 .contenedor-persona:hover img.fade{
    opacity: 1;
 }
 .contenedor-persona img.fade{
    opacity: 0.5;
 }
 .contenedor-ejecutivos{
    background: #393939;
 }
 .contenedor-sucursal {
    max-width: 100%;
    padding: 15px;   
    background: #cf3744;
    transition: all 0.3s ease;
    min-height:50px;
    p{
        color: #ffffff !important;
        font-size: 0.85em;
        line-height: 15px;
        text-align: left;
    }
}
.sucursales{
    opacity: 0.6;
    .info-sucursal p{
        color: #ffffff;
        text-align: left;
        padding-left: 15px;
    }
}
.sucursales:hover,
.sucursales.active{
    opacity: 1;
}
input.submit{
    letter-spacing: 3px;
    background: #CF3744;
    border: none;
    color: #ffffff;
    width: 100%;
    max-width: 200px;
    height: 40px;
    text-transform: uppercase;
    font-weight: 500;
    transition: all 0.3s ease;
}
input.submit:hover{
    background: #8c3f46;
}
.clic{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 600;
    color: #ffffff;
}
 
.grid.proyectos .grid__item,
.grid.directorio .grid__item,
.grid.ejecutivos .grid__item{
    opacity: 0.4;
    transition: all 0.3s ease;
}
.grid.proyectos .grid__item.active,
.grid.proyectos .grid__item:hover,
.grid.directorio .grid__item.active,
.grid.directorio .grid__item:hover,
.grid.ejecutivos .grid__item.active,
.grid.ejecutivos .grid__item:hover{
    opacity: 1;
}
.language-toggle {
    display: inline-flex;
    border: 2px solid #fff; /* Borde externo */
    border-radius: 25px;
    overflow: hidden;
    background-color: transparent;
}

.language-btn {
    padding: 3px 7px;
    border: none;
    background-color: transparent;
    color: #fff;
    font-weight: 500;
    cursor: pointer;
    outline: none;
    transition: background-color 0.3s;
    font-size: 0.85em;
}

.language-btn.active {
    background-color: #fff; /* Fondo blanco para el botón activo */
    color: #000; /* Color del texto del botón activo */
}
.search-container {
    position: relative;
    display: inline-block;
}

.search-icon {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 15px; /* Ajusta el tamaño del icono según tu diseño */
}

.search-input-wrapper {
    position: absolute;
    top: 40px;
    right: 0;
    display: none; /* Oculto por defecto */
    z-index: 2;
}

.search-input {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 150px; /* Ajusta el ancho del input */
    outline: none;
}
        .form-wrap{
            border: 1px solid #979696;
    border-radius: 5px;
        }
        .nv-nav-search {
    display: flex;
    align-items: center;
    right: auto;
    left: 0;
    top: 100%;
        background-color:#ffffff;
        opacity: 1;
    visibility: visible;
    padding: 10px;
}
.search-form {
    display: flex;
    max-width: 100%;
    line-height: 1;
}
.search-field {
    width: 200px;
    border: none;
    border-radius: 5px;
}
input.search-field:focus-visible {
    outline: none;
    border: none;
    box-shadow: none;
}
.search-form .search-submit {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 45px;
    z-index: 1;
    border-radius: 5px;
    border: 0;
    position: relative;
}
.contenedor-persona .linea{
    position: absolute;
    background: var(--primary-color);
    height: 5px;
    top: 0;
    left: 0;
    width: 100%;
    transition: height 0.5s ease;
}
.contenedor-persona img{
    position: relative;
    z-index: 2;
}
.contenedor-persona:hover .linea{
    height: 100%;
}
nav.navigation{
    display: none;
}
.pagination-link.is-current {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}
.pagination-link {
    background-color: #959595;
    border-color: #959595;
    color: #fff;
    font-size: 0.7em;
    font-weight: 500;
}
.bg-text {
    background: url('/wp-content/themes/pya/img/bg-text.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    transition: background-size 1s ease;
}

.bg-text:hover {
    background-size: 110%;
}
.bg-tecnologia {
    background: url('/wp-content/uploads/2024/10/bg-tecnologia.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    transition: background-size 1s ease;
}

.bg-tecnologia:hover {
    background-size: 110%;
}
.panel a{
    background: #fff;
    font-size: 0.85em;
}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
    border-color: #ffb900;
    color: #fff !important;
}
.wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.aborted .wpcf7-response-output {
    border-color: #dc3232;
    color: #fff !important;
}
.wpcf7 form.sent .wpcf7-response-output {
    border-color: #46b450; /* Green */
    color: #fff !important;
}
.wpcf7-spinner {
    display: block !important;
}
.linea-tiempo {
        min-width: 100%; 
        overflow-x: auto; 
    }
.linea-tiempo img {
        min-width: 800px;
        height: auto;
    }
.slick-next{
        position: absolute;
    bottom: 45%;
    right: -1%;
    }
    .slick-prev{
        position: absolute;
    bottom: 45%;
    left: -1%;
    }
.slider-novedades .slick-next,
.slider-galeria .slick-next{
        position: absolute;
    bottom: 55%;
    right: -1%;
    }
   .slider-novedades .slick-prev,
.slider-galeria .slick-prev{
        position: absolute;
    bottom: 55%;
    left: -1%;
    }
.banner-home video {
    position: absolute;
    top: 1px;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
}
.bg-video{
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100.15%;
	background:rgba(0,0,0,0.5);
}
.btn-linkedin{
	background: transparent;
    border: none;
    padding-top: 15px;
	cursor:pointer;
	position:absolute;
	left:15px;
}
.descripcion p{
	color:#ffffff;
	padding-bottom: 15px;
	font-weight:200;
}
ul.slick-dots{
	list-style: none;
}
@media (max-width: 1200px) {
.search-input-wrapper {
    z-index: 99999;
}
}
@media (max-width: 768px) {
	.contenedor-cuadro-servicio.active::after,
    .contenedor-cuadro-area.active::after {
    bottom: -15px;
    width: 20px;
    height: 15px;
    }
	#banner-interior {
    position: relative;
    height: 50vh;
    min-height: 400px;
    }
	.banner-home{
		height:70vh;
		
	}
	.bg-text{
		background-size:cover;
	} 
	.contenido-home {
    padding: 30px 0;
	}
    .contenido-home h2{
        font-size: 1.1em;
    }
    .rectangular .slick-dots li button {
        width: 25px;
    }
    .titulo-banner{
        font-size: 2em;
    }
    .subtitulo-banner{
        font-size: 1em;
    }
  .btn-cotiza {
    font-size: 14px;
  }
  .titulo-banner-interior {
    font-size: 2em;
}
.titulo-novedad{
    height: unset !important;
}
}

@media (max-width: 480px) {
    .cuadro-indicador{
        padding: 20% 10%;
    }
    .cuadro-indicador p, .cuadro-indicador span {
        line-height: 15px;
    }
  .btn-cotiza {
    font-size: 12px;
  }
}
@media screen and (min-width: 48em) {
    .grid {
    display: grid;
    grid-template-areas:
    "item item item"
    "desc desc desc";
    grid-template-columns: 1fr 1fr 1fr;
    }
    .grid__description {
    grid-area: desc;
    } 
    .grid.directorio {
        display: grid;
        grid-template-areas:
        "item item item item item"
        "desc desc desc desc desc";
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;

        }   
        .grid.ejecutivos {
            display: grid;
            grid-template-areas:
            "item item item item"
            "desc desc desc desc";
            grid-template-columns: 1fr 1fr 1fr 1fr;
    
            }                 
}