/*Font Awesome Fonts*/
@font-face {
    font-family: 'FontAwesome';
    //in url add your folder path of FontAwsome Fonts
    src: url('https://agenciaaltoyclaro.com/wp-content/themes/altoyclaro/webfonts/fa-solid-900.ttf') format('truetype');
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    float: left;
    font-family: 'Archivo Narrow', sans-serif;
    width: 100%;
}

#wrapper {
    margin: 0 auto;

}

#container {
    margin-top: -145px;
    float: left;
    width: 100%;
    overflow: hidden;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

li {
    margin: 0 0 20px 0px;
    background: url(https://agenciaaltoyclaro.com/altoyclaro/wp-content/uploads/2017/10/red_square.png) no-repeat left 10px;
    background-size: 8px;
    padding-left: 25px;
}



button {
    background: transparent;
    border: 7px solid #e7463f;
    padding: 10px 0px;
    padding-left: 20px;
    text-align: left;
    width: 250px;
    color: #282828;
    font-size: 1.4rem;
    font-family: 'Archivo Narrow', sans-serif;
    font-weight: 700;
    cursor: pointer;
    outline: none;
    transition: all 100ms ease;
}

.flechita::after {
    font-family: 'FontAwesome';
    content: "\f054";
    margin-left: 125px;
    font-size: 1.6rem;
    float: right;
    margin: 4px 15px 0 0;
    font-weight: 900;
}

/* Sweep To Right */
.hvr-sweep-to-right {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    position: relative;
    -webkit-transition-property: color;
    transition-property: color;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
}

.hvr-sweep-to-right:before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #e7463f;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: 0 50%;
    transform-origin: 0 50%;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}

.hvr-sweep-to-right:hover,
.hvr-sweep-to-right:focus,
.hvr-sweep-to-right:active {
    color: white;
}

.hvr-sweep-to-right:hover:before,
.hvr-sweep-to-right:focus:before,
.hvr-sweep-to-right:active:before {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}

/* Trim */
.hvr-trim {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    position: relative;
}

.hvr-trim:before {
    content: '';
    position: absolute;
    border: white solid 3px;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    opacity: 0;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: opacity;
    transition-property: opacity;
}

.hvr-trim:hover:before,
.hvr-trim:focus:before,
.hvr-trim:active:before {
    opacity: 1;
    text-decoration: none;
}



button a {
    text-decoration: none;
}

button a:hover {
    text-decoration: none;
}

.button_noticia_a {
    text-decoration: none;
}

.button_noticia_a:hover {
    text-decoration: none;
}

.noticia_content .button_noticia_a:hover {
    text-decoration: none;
}




.button_noticia {
    background: #e7463f;
    color: white;
    width: 6em;
    font-size: 1.2rem;
    padding: 5px 0px;
    text-align: center;
    margin-top: 20px;
    transition: all 400ms ease;
    display: block;
    border: 0;
    padding: 10px 0px;
}

.button_noticia a {
    color: white;
}

.button_noticia_a:hover {
    text-decoration: none;
}

.raya {
    display: inherit;
    background: black;
    padding: 6px 20px;
    width: 100px;
}

.flecha_boton {
    color: #282828;
    padding: 0px 9px;
    margin-left: 115px;
    top: 6px;
    position: relative;
}

.banner {
    background-repeat: no-repeat;
    background-size: 100%;
    float: left;
    width: 100%;
    min-height: 450px;
}

.limit1200 {
    max-width: 1200px !important;
}

.margin0auto {
    margin: 0 auto !important;
}

/*********************************/
/**********HEADER*****************/
/*********************************/

header {
    float: left;
    width: 100%;
    position: relative;
}

#header_mobile {
    display: none;
}

.close_button_mobile {
    display: none;
}



#logo {
    position: fixed;
    top: -5px;
    left: -5px;
    z-index: 3;
}

#logo img {
    height: 140px;
}

#mobile_menu {
    display: none;
}

header li {
    background: none;
}

.img_separador_movil {
    display: none;
}

nav {
    font-size: 1.1rem;
    padding: 1em 0em 1em 2.5em;
    float: left;

}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;

}

nav li {
    float: left;
    padding-right: 1.4em;
}

nav a {
    text-decoration: none;
    color: #707070;
    font-weight: 600;
}

nav,
.phone {
    padding: 1em 0em 1em 4.5em;
}

.phone {
    float: right;
    padding-right: 2em;
}

.phone a {
    text-decoration: none;
    color: #707070;
    font-weight: 600;
    font-size: 1.5rem;
    background-repeat: no-repeat;
    background-size: 1.4em;
    padding: 0em 0em 0.2em 2.1em;
}


/*********************************/
/**********HOME*****************/
/*********************************/

.home_banner {
    height: 740px;
    text-align: center;
    background-size: 70% !important;
}

.home_banner h1 {
    margin: 0;
    margin-top: 250px;
}

.spanh1 {
    font-size: 2rem;
    color: #fff;
    display: block;
    margin-top: -24px;
    letter-spacing: 0.45rem;
    text-shadow: 0px 0px 11px #3535359e;
    line-height: 2rem;
}

.home_banner_content .raya {
    display: inherit;
    background: #ffffff;
    padding: 6px 20px;
    width: 100px;
    margin: 0 auto;
    /* padding: 20px; */
    margin-top: 20px;
    margin-bottom: 20px;
    box-shadow: 0px 0px 11px #3535359e;
}

.home_banner p {
    color: #fff;
    font-size: 1.6rem;
    margin: 0;
    text-shadow: 0px 0px 11px #3535359e;
    line-height: 1.8rem;
    letter-spacing: .2rem;
}

.bloque_gordo {
    width: 53%;
    height: 620px;
    background: #e7463f;
    right: 0;
    position: absolute;
    top: 0;
    margin-top: 150px;
}

.bloque_gordo img,
.bloque_gordo span {
    bottom: 0;
    position: absolute;
    left: 0;
}

.bloque_gordo img {
    margin-bottom: 60px;
    margin-left: 38px;
    width: 40px;
}

.bloque_gordo span {
    color: white;
    margin: 0 0 28px 25px;
}

.home_banner_content {
    position: relative;
    z-index: 2;
}

#que_es {
    width: 100%;
    float: left;
    padding: 0px 0 0 0;
    background-repeat: no-repeat !important;
    background-position: top right !important;
    background-size: 35% !important;
    margin-top: 97px;
}

.que_es_content {
    height: 600px;
    background-repeat: no-repeat !important;
    background-position: 65% top !important;
    background-size: 600px 600px !important;
}

.que_es_div {
    width: 40%;
    box-sizing: border-box;
}

.que_es_div img {
    width: 100%;
}

#que_es span,
.texto_slide span {
    color: #f44b48;
    font-weight: 900;
    font-size: 1.6rem;
}

.texto_slide span {
    line-height: 1.5rem;
}

#que_es span {
    float: right;
    margin-right: 60px;
    padding-top: 50px;
}

#que_es h2,
.texto_slide h3 {
    clear: both;
    color: #414141;
    font-size: 3rem;
    line-height: 3rem;
    margin: 0;

}


#que_es h2 {
    text-align: right;
    margin-right: 60px;
    clear: both;
}

#que_es .raya {
    background: #e7463f;
    position: relative;
    margin: 20px 0 20px 0;
    padding: 5px 20px;
}

#que_es img {
    float: right;
    margin: 20px 0px;
}

#que_es p {
    clear: both;
    color: #868485;
    margin: 0;
    margin-right: 60px;
    text-align: right;
    font-size: 1.08rem;
}

#clientes {
    float: left;
    width: 100%;

}

.clientes_container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    /* Ajusta el espacio entre elementos */
}

.cliente_div {
    width: calc(20% - 10px);
    /* 20% para que haya 5 en fila, restando el gap */
    display: flex;
    justify-content: center;
    align-items: center;
}

.cliente_div img {
    max-width: 100%;
    height: auto;
    width: 70%;
}



#clientes_div_mobile {
    display: none;
}

.puntos_mobile {
    display: none;
}

.titulo_clientes {
    text-align: center;
    font-size: 43px;
    color: #e7463f;
    background-size: 100% !important;
}

.separador_servicios {
    display: none;
}

.titulo_clientes h2 {
    padding: 75px 0 0 0;
    margin: 0;
    color: #e7463f;
    position: relative;
    top: 17px;
}

.titulo_clientes img {
    top: -12px;
    position: relative;
    left: -86px;
}

.clientes_div {
    padding-top: 60px;
    color: #4b4b4b;
}

.clientes-hidden {
    padding-top: 10px;
}

.cliente1,
.cliente2 {
    width: 60%;
    float: left;
}

.cliente1 img {
    float: left;
    margin-top: 30px;
    margin-right: 10%;
    margin-left: 5%;
}

.cliente1 p {
    float: right;
    width: 50%;
}

.cliente1 .raya {
    width: 50%;
    margin: 0 auto;
    background-color: #e7463f;
    padding: 5px 20px;
    margin-top: 30px;
}

.cliente2 {
    margin-top: -80px;
}

.cliente2 p {
    float: left;
    width: 60%;
    margin-left: 5%;
    padding-top: 0;
    margin-top: 5px;
}

.cliente2 img {
    float: right;

}

.raya_div {
    float: left;
    width: 100%;
}

.cliente3 {
    float: left;
    width: 40%;
}

.cliente3 .raya_div {
    width: auto;
    margin: 0 12%;
}

.cliente3 .raya {
    width: 10px;
    height: 350px;
    padding: 0;
    background: #e7463f;
}

.cliente4 {
    width: 100%;
    float: left;
}

.cliente4 .margin0auto {
    width: 80%;

}

.cliente4 .raya {
    background: #e7463f;
    padding: 5px 0px;
    margin-top: 60px !important;
    margin-bottom: 50px !important;
    width: 50%;
}

.cliente4 p {
    float: left;
    width: 50%;
    margin-left: 10%;
    margin-right: 3%;
}

.cliente4 img {
    margin-top: 27px;
    float: left;
}

#servicios {
    float: left;
    width: 100%;
    margin-bottom: 70px;
}

.separador-blanco {
    float: left;
    background: white;
    width: 100%;
    height: 100px;
}

#servicios_slider {
    position: relative;
    margin-top: 50px;
    margin-bottom: 50px;
}



.titulo_servicios {
    background-repeat: repeat-x !important;

}

.patron_servicios {
    float: left;
    width: 100%;
    height: 20px;
    background: white;
    margin-top: -20px;

}

.h2_servicios {
    background: white;
    width: 50%;
    text-align: center;
    color: #e7463f;
    padding: 24px 0px 25px 0;
    font-size: 2.8rem;
}

.h2_servicios h2 {
    padding: 0;
    margin: 0px 0 70px 0;
}

.h2_servicios .raya {
    background: #e7463f;
    left: 50%;
    position: relative;
    margin-left: 20px;
    top: -50px;
    padding: 5px 20px;
}

.servicio_num_1-title {
    margin-bottom: 45px;
}

.servicio_num_1-title h2 {
    margin-bottom: 18px;
}



.slick-slide {
    width: 500px;
    margin-top: 40px;
    transition: all 900ms ease;
    outline: none;

}

.slick-center {
    margin-top: 0.5px;
}

.slick-slide img {
    width: 485px;
    height: 485px;
    transition: all 900ms ease;
    margin: 0 auto;
    transform: scale(0.9);
}

.slick-center img {
    transform: scale(1);
}




.slick-slide .texto_slide {
    opacity: 0;
    padding: 0;
    text-align: center;
    transition: all 900ms ease;
}

.slide-derecha,
.slide-izquierda {
    opacity: 0.1 !important;
}

.slide-derecha {
    margin-left: 50px !important;
}

.slide-izquierda {
    margin-right: 50px !important;
}

.slick-center .texto_slide {
    opacity: 1;
    padding: 0;
    text-align: center;
    transition: all 900ms ease;
}

.texto_slide p {
    text-align: left;
    font-size: 1.15rem;
}

.slick-slide .texto_slide img {
    width: auto !important;
    height: auto !important;
    left: -60px;
    position: relative;
}

.slick-center img {
    transition: 0.5s;
}

.slick-center .texto_slide img {
    border: 0;
    margin: 20px 0;
    left: -60px;
    position: relative;
}

.texto_slide {
    margin-top: 80px;
    color: #525252;
}

.texto_slide img {}

.texto_slide h3 {
    margin: 14px 0 0 0;
    font-size: 3.2rem;
}

.texto_slide .raya {
    padding: 4px 30px;
    background: #e7463f;
    margin: 0 auto;
    margin-top: 24px;
    margin-bottom: 35px;
}

.slick-arrow {
    display: none !important;
}

.slick-dots {
    text-align: center;
    position: relative;
    top: 559px;
    z-index: 2;
    padding-left: 14px;
}

.slick-dots li {
    list-style: none;
    display: inline;
    padding-right: 8px;
    background: none;
    padding-left: 0px;

}

.slick-dots button {
    background: #d7d7d7;
    border: 0;
    border-radius: 50%;
    color: transparent;
    width: 18px;
    height: 18px;
    cursor: pointer;
    padding: 0;
    transition: all 400ms ease;
}

.slick-dots button:hover {
    background: #e7463f;
    transition: all 400ms ease;

}

.slick-dots .slick-active button {
    background: #e7463f;
    transition: 1s;
}

.slick-slide .texto_slide button {
    margin-top: 20px;
}

#noticias {
    float: left;
    width: 100%;
    height: 1290px;
}

.titulo_noticias {
    background: white;
    /*background: linear-gradient(90deg, white 50%, #e7463f 50%);*/
    z-index: 1;
    position: relative;
}

#noticias h2 {
    font-size: 4.2rem;
    line-height: 55px;
    color: white;
    background: #e7463f;
    background-image: url("https://agenciaaltoyclaro.com/wp-content/uploads/2018/12/1920px-ancho_blanco.png");
    background-repeat: no-repeat;
    background-position: -795px -260px;
    background-size: 1300px;
    position: relative;
    padding: 90px 0;
    width: 28.4%;
    padding-left: 35%;
    left: 10%;
    z-index: 2;
}

.noticias {
    padding: 50px 2%;
}

.noticias img:nth-child(1) {
    top: -290px;
    position: relative;
    z-index: 3;
    float: left;
}

.noticias img:nth-child(3) {
    top: 2px;
    position: relative;
    z-index: 3;
    float: right;
}

.noticia_content {
    float: right;
    width: 40%;
    background: white;
    position: relative;
    left: -3.1%;
    padding: 30px 7% 30px 7%;
    top: -50px;
}

.noticia_content:nth-child(4) {
    width: 46.5%;
    position: relative;
    padding-top: 36px;
    float: none;
    left: 0;
    margin-top: 850px;
    position: relative;
    top: -530px;
    padding: 30px 4% 30px;
}


.noticias .post-categories {
    list-style: none;
    padding-left: 0px;
}

.noticias .post-categories a {
    text-decoration: none;
    color: #e7463f;
    font-size: 1.5rem;
    font-weight: 800;
}

.noticias h3 {
    margin: 3px 0px 10px 0;
}

.noticias p {
    color: #656565;
}

.noticia_content a {
    text-decoration: none;
    color: #3c3a3b;
    font-size: 2rem;
    line-height: 1.8rem;
}

.noticia_content a:hover {
    text-decoration: underline;
}



.noticia_content button a {
    color: white;
    font-size: inherit;
    text-decoration: none;
}

.noticia_content button a:hover {
    text-decoration: none;
}

.noticia_content li {
    background: none;
    padding: 0;
    margin: 0;
}

.ver_blog {
    background: white;
}

.ver_blog_a {
    margin-top: -480px;
    position: relative;
    float: left;
    left: 7%;
}



/*********************************/
/**********SERVICIO***************/
/*********************************/

.page_banner {
    height: 450px;
}

.servicio_wrap {
    width: 100%;
}

.servicio_wrap {
    width: 100%;
}

.banner_servicio {
    height: 420px;
}

.servicio_title {
    background: url('https://agenciaaltoyclaro.com/altoyclaro/wp-content/uploads/2017/09/home__0086_PATTERN.png') no-repeat 440% -280px, linear-gradient(90deg, transparent 50%, #E7463F 50%);
    color: white;
    height: auto;
    text-align: center;
    margin-top: -240px;
}


.servicio_title img {
    width: 30%;
}

.servicio_title h1 {
    background: #e7463f;
    font-size: 4rem;
    margin: 0 auto;
    width: 30%;
    padding: 35px 0 85px 70px;
    text-align: left;
    line-height: 4rem;
}


.servicio_title span {
    display: block;
    font-size: 1.7rem;

}

#servicio_intro {
    width: 100%;
    float: left;
    padding: 0px 0 0 0;
    background-repeat: no-repeat !important;
    background-position: top right !important;
    background-size: 35% !important;
    margin-top: 0px;
}

.servicio_intro_content {
    background-repeat: no-repeat !important;
    background-position: 69% 50px !important;
    background-size: 500px 500px !important;
    margin-top: -75px !important;
}

.servicio_intro_content_div {
    width: 40%;
    box-sizing: border-box;
}

.servicio_intro_content_texto img {
    width: 100%;
}

.servicio_intro_content span {
    color: #f44b48;
    font-weight: 900;
    font-size: 1.6rem;
}



#servicio_intro span {
    float: right;
    margin-right: 60px;
    padding-top: 110px;
}

.servicio_numero_span {
    color: #f44b48;
    font-weight: 900;
    font-size: 1.3rem;
}

#servicio_intro h2 {
    clear: both;
    color: #414141;
    font-size: 3rem;
    line-height: 3rem;
    margin: 0;

}


#servicio_intro h2 {
    text-align: right;
    margin-right: 39px;
    clear: both;
    padding-top: 15px;
}

#servicio_intro .raya {
    background: #e7463f;
    position: relative;
    margin: 20px 45px 20px 0;
    padding: 5px 20px;
}

#servicio_intro img {
    float: right;
    margin: 20px 0px;
}

#servicio_intro p,
.contadores-title p,
.contador-texto {
    clear: both;
    color: #868485;
    margin: 0;
    margin-right: 14px;
    text-align: left;
    font-size: 1.08rem;
    margin-left: 12px;
    margin-bottom: 20px;
}

.servicio_background_section {
    background: #f7f7f7;
    float: left;
    width: 100%;
}

.servicio_numero {
    padding: 60px 0;
    color: #fff;
    text-align: center;
    margin-top: 70px;
}

/* Centrar número y posicionar "+" sin afectar el centrado */
.servicio_numero .contador-numero.contador-mas,
.servicio_numero .contador-numero {
    display: inline-block !important;
    position: relative;
}

.servicio_numero .contador-numero.contador-mas::before {
    content: "+";
    font: inherit;
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 6px;
}

.page-template-servicio .contador-euros::after {
    content: "M€";
    font: inherit;
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-22%);
    margin-right: 6px;
    font-size: 1.5rem;
}



.servicio_numero_content {}

servicio_numero_content_div {
    width: 100%;
    float: left;
}

.servicio_numero .contadores-title {
    margin-bottom: 45px;
}

.contadores-title h2 {
    text-align: center;
    margin-right: 60px;
    clear: both;
    color: #414141;
    font-size: 3rem;
    line-height: 3rem;
    margin: 0;
}



.servicio_numero .contadores-title h3 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 15px;
    color: #ffffff;
}

.servicio_numero .contadores-title p {
    width: 100%;
    margin: 0;
    margin-top: 20px;
    text-align: center;
    padding: 0;
    max-width: 500px;
    margin: 0 auto;
    margin-top: 20px;
    font-size: 1.1rem;
}

.servicio_numero .contadores-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.servicio_numero .contador-item {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    padding: 30px 20px;
    background: #ffffff;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 6px solid #e7473f;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}



.servicio_numero .contador-numero {
    font-size: 3.5rem;
    font-weight: 700;
    color: #414141;
    margin-bottom: 10px;
    display: block;
    line-height: 1;
}

.servicio_numero .contador-simbolo {
    font-size: 2rem;
    color: #4CAF50;
    margin-left: 5px;
}

.servicio_numero .contador-texto {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.2;
    margin: 0;
    padding: 0;
    text-align: center;
}

.servicio_texto_1_span,
.servicio_num_1_span {
    color: #f44b48;
    font-weight: 900;
    font-size: 1.3rem;
}

.servicio_num_1 {
    padding: 60px 0px;
}

.servicio_num_1-title {
    text-align: center;
}

.servicio_num_1-title h2 {}



.span_servicios_mobile {
    display: none;
}

.page-template-servicio h2 {
    font-size: 3em;
    line-height: 1em;
    margin-top: 13px;
}

.page-template-servicio h3 {
    text-align: center;
    font-size: 2.2em;
    line-height: 1.3em;
    padding-top: 15px;
}

.page-template-servicio .titulo_caso {
    padding: 0;
    text-align: left;
    font-size: initial;
}



.page-template-servicio .raya {
    background: #e7463f;
    text-align: center;
    margin: 0 auto;
    width: 5%;
    margin-top: 20px;
}

.page-template-servicio p,
.page-template-servicio h2,
.page-template-servicio h3,
.servicios_servicios,
.page-template-servicio ul {
    padding: 0px 5% 0px 5%;
}

.page-template-servicio .entradilla_caso {
    padding: 0;
}

.page-template-servicio .noticia_content:nth-child(4) {
    margin-top: 861px;
}

.page-template-servicio p,
.page-template-servicio li,
.page-template-servicio strong {
    font-size: 1.1em;
}




.page-template-servicio strong {
    color: #e7463f;
    font-weight: 900;
}

.raya_service_titulo_2 {
    padding: 0px 0 0px 0%;
}

.parrafo_left {
    width: 50%;
    float: left;
}

.parrafo_right {
    width: 50%;
    float: right;
}

.parrafo_right_rojo {
    background: #e7463f;

}

.parrafo_right_rojo p {
    color: white;
}

.content_top_servicio {
    float: left;
    background-image: url('https://agenciaaltoyclaro.com/altoyclaro/wp-content/uploads/2017/09/home__0015_PATTERN.png');
    /* fallback */
    background-image: url('https://agenciaaltoyclaro.com/altoyclaro/wp-content/uploads/2017/09/home__0015_PATTERN.png'), linear-gradient(90deg white, 90deg white);
    /* W3C */
    background-repeat: no-repeat;
    background-position: top right;
}


#servicios_name {
    background: #e7463f;
    color: white;
    float: left;
    width: 70%;
    padding: 35px 0 110px 70px;
    margin-left: 30%;
    margin-top: 176px;
}

#servicios_name h1 {
    float: left;
    font-size: 4em;
    font-weight: 700;
    padding: 0;
    margin: 0;
}

#servicios_name span {
    display: block;
    font-size: 0.5em;
    text-align: center;
}

.servicio_imagen {
    display: none;
}

.intro_service img {
    float: right;
    width: 550px;
    height: auto;
    margin-top: -60px;
    z-index: 2;
    position: relative;
    max-width: 50%;
}

.servicios_servicios {
    color: #e7463f;
    font-weight: 800;
    font-size: 1.5em;
}

.page-template-servicio nav {
    width: 33%;
}

.intro_service_content {
    float: left;
    width: 50%;
    text-align: right;
    padding: 90px 0 40px 0;
}

.intro_service_content p {
    text-align: left;
}

.intro_service_content .raya {
    margin: unset;
    float: right;
    margin-bottom: 40px;
}

.raya_service_titulo_2 {
    width: 100%;
    text-align: right;
    float: left;
}

.gris,
.blanco,
.final_service {
    float: left;
    width: 100%;
    font-weight: 500;
}

.gris {
    background: #f7f7f7;
    padding: 0px 0 40px 0;
}

.final_service {
    margin: 50px 0 70px 0;
    position: relative;
    background-image: url(https://agenciaaltoyclaro.com/altoyclaro/wp-content/uploads/2017/09/home__0015_PATTERN.png);
    background-repeat: no-repeat;
    background-position: bottom left;
    padding-bottom: 50px;
}

.final_service_content {
    background: #e5e5e5;
    text-align: center;
    font-size: 1.4rem;
    color: #807c7b;
    font-weight: 800;
    padding: 1px 0 20px 0;
}

.final_service_content p {
    padding: 0;
}

.servicio_texto_1 {
    float: left;
    width: 100%;
    padding: 50px 0 40px 0;
}

.servicio_texto_1_span .raya {
    background: #e7463f;
    margin: 0;
    width: 5%;
    margin-top: 0;
}

.servicio_texto_1-title h2 {
    padding: 0 !important;
    margin: 10px 0 20px 0;
}

.servicio_texto_1-title .raya {
    margin: 0;
}

.servicio_texto_1-columns {
    display: flex;
    gap: 40px 0;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0 20px 0;
}

.servicio_texto_1-column {
    flex: 1;
    margin-right: 25px;
}

.servicio_texto_1-column_2 {
    margin-left: 25px;
    margin-right: 0px;
}

.servicio_texto_1-column p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #333;
    padding-left: 0px;
    padding-right: 0px;
}

.servicio_num_1_ul_ol {
    width: 52%;
    float: left;
}

.servicio_num_1_ul_ol ul,
.servicio_num_1_ul_ol li {
    margin: 0;
    padding: 0;
}


.servicio_num_1_ul_ol li {
    margin-bottom: 25px;
    position: relative;
    padding-left: 24px;
    padding: 30px;
    background: #ffffff;
}



.servicio_num_1_ul_ol li::before {
    content: "";
    position: absolute;
    color: #e7463f;
    font-size: 50px;
    left: -8px;
    top: 35px;
    width: 18px;
    height: 18px;
    background-color: red;
}

.servicio_num_1_side {
    float: right;
    width: 42%;
}

.servicio_num_1_side img {
    width: 100%;
}

.page-template-servicio .titulo_clientes h2 {
    padding: 55px 0 0;
    font-size: 1.5em;
    margin-bottom: 12px;
}

.page-template-servicio .hvr-sweep-to-right {
    margin-bottom: 50px;
}

.servicio_cta {
    color: #ffffff;
    height: auto;
    margin-bottom: 70px;
    background: url(https://agenciaaltoyclaro.com/wp-content/uploads/2018/12/1-1.png) center center;
    background-size: 600px;
    background-attachment: fixed;
    padding: 50px 0px;
    position: relative;
}

.servicio_cta_content {
    padding: 70px 0px;
    background: #e7463f;
    position: relative;
    z-index: 2;
}

.servicio_cta-title {
    width: 75%;
    float: left;
}

.servicio_cta-title h2 {
    margin: 0;
}

.servicio_cta-title h2,
.servicio_cta-text p {
    padding: 0 10%;
}

.servicio_cta-text p {
    padding: 0 11%;
}

.servicio_cta-title .raya {
    background: #ffffff;
    margin: 0 0 0 10%;
    width: 5%;
    margin-top: 20px;
    left: 0;
    padding: 4px 20px;
}

.servicio_cta-columns {
    display: flex;
    width: 100%;
    display: flex;
    width: 100%;
    gap: 10px;
}

.servicio_cta-text {
    width: 65%;
}

.servicio_cta-text p {
    font-size: 1.75rem;
    margin-top: 10px;
}

.servicio_cta-button button {
    margin-top: 20px;
    background: 0 0;
    border: 7px solid #ffffff;
    padding: 10px 0;
    padding-left: 20px;
    text-align: left;
    width: 250px;
    color: #fff;
    font-size: 1.4rem;
    font-family: 'Archivo Narrow', sans-serif;
    font-weight: 700;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
}

.servicio_cta-button button.hvr-sweep-to-right:hover {
    color: #e7463f !important;
    background: #ffffff !important;
}

.servicio_cta-button button.hvr-sweep-to-right:before {
    display: none !important;
}

.servicio_cta-button .hvr-sweep-to-right {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    position: relative;
    -webkit-transition-property: color;
    transition-property: color;
    -webkit-transition-duration: .3s;
    transition-duration: .3s;
}

.servicio_contacto_button {
    position: fixed;
    top: 40px;
    right: 20px;
    background: #ffffff;
    z-index: 9;
    font-size: 20px;
    width: 190px;
    height: 60px;
}

.servicio_contacto_button:after {
    font-size: 1.4rem;
    margin: 3px 15px 0 0;
}

.phone
/*********************************/
/**********CONTACTO*****************/
/*********************************/

#servicios_name {
    background-image: url(https://agenciaaltoyclaro.com/altoyclaro/wp-content/uploads/2017/09/home__0086_PATTERN.png);
    background-repeat: no-repeat;
    background-position: 500px -270px;
}

.entry-title span {
    text-align: left !important;
}

.entry-title img {
    width: 60%;
}

.mapa {
    float: left;
    width: 100%;
    height: 400px;
}


/* Páginas por defecto (política de privacidad, aviso legal, etc.) */
body.page-template-default #content {
    max-width: 780px;
    margin: 90px auto 100px;
    padding: 0 30px;
}

body.page-template-default .entry-title {
    background: #e7463f;
    color: white;
    font-size: 3.4rem;
    line-height: 3.3rem;
    padding: 50px 7% 70px 40px;
    margin: 120px 0 20px -40px;
    width: calc(100% + 30px + (100vw - 780px) / 2);
}

body.page-template-default {
    overflow-x: hidden;
}

body.page-template-default .entry-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #414141;
}

body.page-template-default .entry-content p {
    margin-bottom: 1em;
}

body.page-template-default .entry-content a {
    color: #e7463f;
}

body.page-template-default .entry-content ul {
    list-style: none;
    padding-left: 1.2em;
}

body.page-template-default .entry-content ul li {
    position: relative;
    padding-left: 1em;
    margin-bottom: 0.4em;
}

body.page-template-default .entry-content ul li::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    background: #e7463f;
    position: absolute;
    left: 0;
    top: 0.55em;
}

body.page-template-default .entry-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    margin: -0.6em 0 1.8em 0;
    font-family: 'Archivo Narrow', sans-serif;
}

body.page-template-default .entry-content table th {
    background: #e7463f;
    color: #ffffff;
    padding: 12px 18px;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
}

body.page-template-default .entry-content table td {
    padding: 10px 18px;
    border-bottom: 1px solid #ebebeb;
    color: #414141;
    vertical-align: top;
}

body.page-template-default .entry-content table tr:nth-child(even) td {
    background: #f7f7f7;
}



.content_contacto {
    margin: 70px 0 50px 0;
    float: left;
    width: 100%;
    background: url(https://agenciaaltoyclaro.com/altoyclaro/wp-content/uploads/2018/09/patrongris2.png) no-repeat;
    background-size: 1000px;
    background-position: 220% 90%;
}


.texto_contacto {
    float: left;
    width: 30%;
    padding-left: 10%;
}

.texto_contacto .servicios_servicios {
    font-size: 1.8em;
    padding: 0;
}

.texto_contacto .contacta_nosotros {
    font-size: 2.5em;
    font-weight: 900;
    color: #494648;
    margin: 7px 0 28px 0;

}

.texto_contacto p {
    color: #918a8c;
    font-weight: 900;
    font-size: 1.3em;
    margin: 0;
}

.texto_contacto a {
    color: #918a8c;
    font-weight: 900;
    margin: 0;
    text-decoration: none;
}

.texto_contacto a:hover {
    text-decoration: underline;
}



.texto_contacto .raya {
    background: #e7463f;
    margin-bottom: 30px;
}

.formulario {
    float: right;
    width: 50%;
    padding-left: 10%;
}

.formulario input {
    background: #f4f4f4;
    height: 45px;
    padding: 0 10px 0 15px;
    border: 0;
    width: 80%;
    font-size: 1rem;
    font-family: 'Archivo Narrow', sans-serif;
}

.formulario textarea {
    background: #f4f4f4;
    border: 0;
    padding: 10px 10px 0 15px;
    width: 80%;
    font-size: 1rem;
    font-family: 'Archivo Narrow', sans-serif;
}

.formulario input[type=submit] {
    background: #e7463f;
    color: white;
    width: 150px;
    cursor: pointer;
    font-size: 1.3rem;
    padding: 0;
}

.formulario input[type=submit]:hover {
    background-color: #918a8c;
    cursor: pointer;
    -webkit-transition: background-color 1s ease-out;
    -moz-transition: background-color 1s ease-out;
    -o-transition: background-color 1s ease-out;
    transition: background-color 1s ease-out;
}

.formulario .wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 14px;
}

.formulario input[type="checkbox"] {
    height: 18px;
    width: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: #e7463f;
    cursor: pointer;
    float: none;
}

.formulario .wpcf7-list-item label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #656565;
    line-height: 1.45;
}

.formulario .wpcf7-list-item {
    padding-top: 8px;
    padding-bottom: 8px;
    margin: 0;
}

.formulario form>span[style] {
    font-size: 11px !important;
    color: #b0abac !important;
    font-style: italic;
    line-height: 1.5;
    display: block;
    margin-bottom: 4px !important;
}

.formulario [data-name*="checkbox"] {
    margin-bottom: 28px;
}

div.wpcf7-validation-errors {
    border: none !important;
    background: #e7463f;
    color: white;
    margin: 20px 0 0 0 !important;
}

div.wpcf7-mail-sent-ok {
    background: #398f14;
    border: 0;
    color: white;
    margin: 20px 0 0 0 !important;
}

span.wpcf7-list-item {
    margin: 0 !important;
    padding-top: 20px;
    padding-bottom: 10px;
}



/*********************************/
/**********BLOG*****************/
/*********************************/


.single-post .phone {
    display: none;
}


#content_blog,
#content_servicio {
    float: left;
    width: 100%;
}

.blog_banner {
    height: 420px;
}

.blog_title {
    background: url('https://agenciaaltoyclaro.com/altoyclaro/wp-content/uploads/2017/09/home__0086_PATTERN.png') no-repeat 440% -280px, linear-gradient(90deg, transparent 50%, #E7463F 50%);
    color: white;
    height: auto;
    text-align: center;
    margin-top: -240px;
}


.blog_title img {
    width: 30%;
}

.blog_title h1 {
    background: #e7463f;
    font-size: 4rem;
    margin: 0 auto;
    width: 30%;
    padding: 35px 0 110px 70px;
    text-align: left;
}


.blog_title span {
    display: block;
    font-size: 1.7rem;

}

.blogimg {
    width: 150px;
}

.blog_title p {
    margin: 0;

}

.blog_wrap {
    width: 100%;
}

.grid {
    margin-top: -75px !important;
}

.grid-sizer,
.grid-item {
    width: 31.3333%;
    float: left;
    margin-bottom: 35px;
}


.gutter-sizer {
    width: 2%;
}

.post img {
    width: 100%;
    height: 100%;
    margin-bottom: 15px;
}

.blog_wrap h2 {
    line-height: 1.7rem;
    margin-top: 5px;
}


.blog_wrap h2 a {
    text-decoration: none;
    font-size: 2.1rem;
    color: #313131;
    transition: all 400ms ease;

}

.blog_wrap h2 a:hover {
    text-decoration: underline;
    transition: all 400ms ease;
}

.blog_wrap .entry {
    color: #918d8e;
    font-weight: 500;
}

.blog_wrap .meta_post {
    color: #918d8e;
    font-size: 1rem;
    font-weight: 500;
}

.cat_post a {
    color: #e7463f;
    text-decoration: none;
    font-weight: 600;
    transition: all 400ms ease;
}

.cat_post a:hover {
    text-decoration: underline;
    transition: all 400ms ease;
}



.post_text {
    padding: 0 2%;
}

.paginacion {
    text-align: right;
    padding: 5px 0px;
    margin-bottom: 90px !important;
}

.page-numbers {
    color: #918d8e;
    padding: 5px 10px;
    border: 2px solid #918d8e;
    text-decoration: none;
    transition: all 200ms ease;
}

.page-numbers:hover {
    background: #918d8e;
    color: white;
    transition: all 200ms ease;
}

.paginacion .current {
    color: white;
    background: #e7463f;
    border: 2px solid #e7463f;
}

.wp-block-image figcaption {
    font-style: italic;
}

.single .wp-block-image img {
    height: auto;
}

.featherlight .featherlight-content .caption {
    font-family: 'Archivo Narrow', sans-serif;
}



/*********************************/
/**********SINGLE*****************/
/*********************************/

.single #header {
    background: white;
    height: 65px;

}

#container .single a {
    color: #e7463f;
}

.banner_single {
    background-size: 100% !important;
    background-repeat: no-repeat !important;
    /*background: url('https://agenciaaltoyclaro.com/altoyclaro/wp-content/uploads/2017/09/home__0086_PATTERN.png') no-repeat 420% bottom left;*/
    height: 750px;
    float: left;
    width: 100%;


}

.parallax-window {
    height: 750px;
    background: transparent;
}

.single #content {}

.title_single {
    width: 67.8%;
    float: right;
    margin-top: -275px;
}



.single .meta_post {
    padding: 20px 7%;
    float: left;
    width: 86%;
    font-size: 1.2rem;
    background: white;
}

.single h1 {
    background: #e7463f;
    color: white;
    padding: 50px 7% 70px 7%;
    font-size: 3.4rem;
    margin: 0;
    float: left;
    width: 86%;
    line-height: 3.3rem;
    min-height: 89px;
}

.single #content {
    float: right;
    width: 70%;
    font-size: 1.2rem;
    margin: 40px 0 70px 0;
}

.single #content ul li {
    background: none;
    position: relative;
    padding-left: 22px;
    list-style: none;
}

.single #content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    background: #e7463f;
}

.single #sidebar {
    float: left;
    width: 30%;
    margin-top: 62px;
    position: relative;
    overflow: hidden;
}


/* Contenido full-width cuando no hay TOC */
.single #content.content-full {
    width: 75% !important;
    float: none !important;
    margin: 40px auto 70px !important;
}

/*********************************/
/****** TOC — Índice lateral *****/
/*********************************/

.toc-nav {
    box-sizing: border-box;
    padding-right: 40px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    scrollbar-width: none;
}

.toc-nav::-webkit-scrollbar {
    display: none;
}

.toc-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    color: #e7463f;
    margin: 0 0 16px 0;
    padding: 0 0 14px 0;
    border-bottom: 1px solid #e8e8e8;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-item {
    margin: 0;
    padding: 0;
    background: none;
}

.toc-item::before {
    display: none;
}

.toc-link {
    display: block;
    padding: 7px 0 7px 14px;
    font-size: 0.92rem;
    font-weight: 500;
    color: #aaa;
    text-decoration: none;
    border-left: 2px solid #ebebeb;
    line-height: 1.45;
    transition: color 0.2s ease, border-color 0.2s ease;
    font-family: 'Archivo Narrow', sans-serif;
    overflow-wrap: break-word;
    word-break: break-word;
}

.toc-h3 .toc-link {
    font-size: 0.85rem;
    padding-left: 24px;
    font-weight: 400;
}

.toc-link:hover {
    color: #414141;
    border-left-color: #c8c8c8;
    text-decoration: none;
}

.toc-link.toc-active {
    color: #e7463f;
    border-left-color: #e7463f;
    font-weight: 600;
}

/* TOC: H2 con toggle */
.toc-toggle {
    display: inline-block;
    vertical-align: middle;
    margin-left: 5px;
    cursor: pointer;
    position: relative;
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

.toc-toggle-icon {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -3px;
    margin-left: -4px;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #bbb;
    transform: rotate(-90deg);
    transition: transform 0.2s ease;
}

.toc-item.toc-open>.toc-link .toc-toggle-icon {
    transform: rotate(0deg);
    border-top-color: #e7463f;
}

/* Sub-lista H3: oculta por defecto */
.toc-sub-list {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-item.toc-open>.toc-sub-list {
    display: block;
}

.single #content p:first-of-type:not(.wp-caption p)::first-letter {
    font-size: 5.5rem;
    float: left;
    line-height: 1.1rem;
    color: #e7463f;
    font-weight: 700;
    padding: 28px 10px 13px 0;
}

.wp-caption-text {
    color: #959595;
    font-size: 1rem;
    margin: 0px 0 30px 0;
    font-style: italic;
}

#content .meta_post {
    display: none;
}

.xoxo li {
    background: white;
}

.comparte li {
    background: #b4b4b4;
    max-width: 66%;
    padding: 12px 0 12px 5%;
    color: white;
    margin-bottom: 10px;
    transition: 0.5s;
}

.comparte li:hover {
    background: #8c8c8c;
    transition: 0.5s;
}

.comparte li img {
    width: 11px;
    float: right;
    right: 7%;
    position: relative;
    top: -2px;
}

.comparte_twitter img {
    width: 24px !important;
    right: 6% !important;
    top: 0px !important;
}

.comparte a {
    text-decoration: none;
}

.comparte_linkedin img {
    width: 30px !important;
    right: 6% !important;
    top: -5px !important;
}

.comparte_mail img {
    width: 25px !important;
    right: 7% !important;
    top: -2px !important;
}


/*********************************/
/**********404*****************/
/*********************************/



.cuatrocerocuatro {
    width: 100%;
    text-align: center;
    margin-top: 80px !important;
    margin-bottom: 80px !important;
}

.cuatrocerocuatro h2 {
    font-size: 35px;
}

.cuatrocerocuatro p {
    font-size: 22px;
}

/*********************************/
/*******LIGHTBOX CONTACTO********/
/*********************************/
.modal-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    padding: 0;
    /* Sin aire por arriba/abajo para permitir pegado total */
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(3px);
    pointer-events: none;
    /* Deja pasar scroll y clicks al contenedor padre */
}

.modal-container {
    background: url('https://agenciaaltoyclaro.com/wp-content/uploads/2018/12/1-1.png') #ffffff;
    background-repeat: no-repeat;
    background-position: -250px 120%;
    position: relative;
    border-radius: 0;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    margin: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 10px solid #e7463f;
    animation: modalEntrada 0.3s ease-out;
    display: flex;
    flex-direction: column;
}

@keyframes modalEntrada {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-30px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* ---- Botón de cierre modal ---- */
.modal-close {
    position: absolute;
    top: -5px;
    right: -5px;

    background: #e7463f;
    color: #fff;
    border: 0;
    border-left: 4px solid #e7463f;
    border-bottom: 4px solid #e7463f;
    border-radius: 0;
    width: 50px;
    height: 50px;
    font-size: 38px;
    font-weight: 700;
    cursor: pointer;
    transition: all .3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    line-height: 1;
}

.modal-close-icon {
    width: 100%;
    position: absolute;
    top: 3px;
    left: 12px;
}

.modal-close:hover {
    background: #c93b35;
}

.modal-content {
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1 1 auto;
    padding-right: 15px;
}

/* TÍTULOS Y ESPACIADO */
.modal-lightbox .pantalla h3 {
    font-family: 'Archivo Narrow', sans-serif;
    font-size: 1.9rem;
    color: #414141;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

.modal-lightbox .pantalla p {
    font-family: 'Archivo Narrow', sans-serif;
    font-size: 1rem;
    color: #868485;
    margin-bottom: 20px;
}

/* CAMPOS DE FORMULARIO - Contenedor relativo para iconos */
.modal-lightbox .wpcf7-form-control-wrap {
    display: block;
    position: relative;
    width: 100%;
}

.modal-lightbox .wpcf7-form-control {
    background: #ffffff;
    border: 2px solid #e5e5e5;
    border-radius: 0;
    padding: 15px 20px;
    font-family: 'Archivo Narrow', sans-serif;
    font-size: 1rem;
    color: #414141;
    width: 80%;
    max-width: 400px;
    transition: all 300ms ease;
    box-sizing: border-box;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wpcf7-form-control-wrap textarea {
    max-height: 140px;
}

.modal-lightbox .wpcf7-form-control:focus {
    border-color: #e7463f;
    background: white;
    outline: none;
    box-shadow: 0 0 0 3px rgba(231, 70, 63, 0.1);
}

.modal-lightbox .wpcf7-form-control.campo-valido {
    border-color: #4CAF50 !important;
    background: #f8fff8;
    border-width: 2.5px !important;
}

.modal-lightbox .wpcf7-form-control.campo-error {
    border-color: #e7463f !important;
    background: #ff00002b !important;
    border-width: 2.5px !important;
    box-shadow: inset 0 0 8px rgba(231, 70, 63, 0.1) !important;
}

.modal-lightbox .mensaje-error {
    color: #e7463f;
    font-size: .95rem;
    font-weight: 600;
    text-align: left;
    padding: 0 5px;
    width: 80% !important;
    max-width: 400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: -15px;
    margin-bottom: 20px;
    box-sizing: border-box;
    display: block;
}

/* Forzar visualización de errores aunque CF7 intente ocultarlos */
.modal-lightbox .mensaje-error,
.modal-lightbox .wpcf7-not-valid-tip {
    color: #e7463f !important;
    font-size: .95rem !important;
    font-weight: 600 !important;
    text-align: left !important;
    padding: 0 5px !important;
    width: 80% !important;
    max-width: 400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: -15px !important;
    margin-bottom: 20px !important;
    box-sizing: border-box !important;
    display: block !important;
    /* Override the none !important */
    position: relative !important;
    z-index: 10 !important;
}

/* Evitar fondo gris/azul de autofill del navegador */
.modal-lightbox input:-webkit-autofill,
.modal-lightbox input:-webkit-autofill:hover,
.modal-lightbox input:-webkit-autofill:focus,
.modal-lightbox textarea:-webkit-autofill,
.modal-lightbox textarea:-webkit-autofill:hover,
.modal-lightbox textarea:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px #ffffff inset !important;
    -webkit-text-fill-color: #333 !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Mantener fondo rojo si hay error incluso con autofill */
.modal-lightbox .campo-error:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px #ff00002b inset !important;
}

/* Animación de error */
.shake-error {
    animation: shake 0.5s cubic-bezier(.36, .07, .19, .97) both;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    perspective: 1000px;
    border-color: #e7463f !important;
}

/* Icono de éxito (Check verde circular en la esquina) */
.modal-lightbox .success-icon {
    position: absolute;
    right: 16%;
    /* Ajustado según preferencia del usuario para alinear con el borde del input */
    top: 0;
    /* Borde superior del input */
    width: 20px;
    height: 20px;
    background-color: #24b35d;
    color: white !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    pointer-events: none;
    z-index: 5;
    /* Centrar el círculo justo en el vértice de la esquina */
    transform: translate(50%, -50%) scale(1);
    animation: fadeInScaleCorner 0.3s ease forwards;
}

@keyframes fadeInScaleCorner {
    from {
        opacity: 0;
        transform: translate(50%, -50%) scale(0.5);
    }

    to {
        opacity: 1;
        transform: translate(50%, -50%) scale(1);
    }
}

@media (max-width: 768px) {
    .modal-lightbox .success-icon {
        right: 10%;
        top: 0;
        width: 16px;
        height: 16px;
        font-size: 9px;
    }
}

@keyframes shake {

    10%,
    90% {
        transform: translate3d(-1px, 0, 0);
    }

    20%,
    80% {
        transform: translate3d(2px, 0, 0);
    }

    30%,
    50%,
    70% {
        transform: translate3d(-4px, 0, 0);
    }

    40%,
    60% {
        transform: translate3d(4px, 0, 0);
    }
}

/* INDICADORES DE PASOS CON LÍNEA CONECTORA */
.modal-lightbox .indicador-pasos {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
}

.modal-lightbox .indicador-pasos::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 56px);
    height: 2px;
    background: #e5e5e5;
    z-index: 1;
}

.modal-lightbox .paso-indicador {
    width: 28px;
    height: 28px;
    background: white;
    color: #868485;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 300ms ease;
    border: 2px solid #e5e5e5;
    position: relative;
    z-index: 2;
    margin: 0 15px;
}

.modal-lightbox .paso-indicador.pantalla-actual {
    background: #e7463f;
    color: white;
    border-color: #e7463f;
    transform: scale(1.15);
    width: 32px;
    height: 32px;
    font-size: 1rem;
    font-weight: 700;
}

.modal-lightbox .paso-indicador.paso-completado {
    background: #e7473f;
    color: #fff;
    border-color: #e7473f;
}

.modal-lightbox .paso-indicador:hover {
    transform: scale(1.1);
}

/* Desactivar interactividad en los indicadores de pasos */
.modal-lightbox .indicador-pasos {
    pointer-events: none;
    /* Evita clics en todo el contenedor de pasos */
}

.modal-lightbox .paso-indicador {
    cursor: default;
    /* No mostrar mano */
}

.modal-lightbox .paso-indicador:hover {
    transform: none;
    /* Sin efecto hover para no sugerir clic */
}

/* BOTONES EN ESQUINAS OPPUESTAS */
.modal-lightbox .pantalla {
    position: relative;
    min-height: 350px;
    padding-bottom: 70px;
}

.modal-lightbox .pantalla button[type="button"],
.modal-lightbox .pantalla button[type="submit"],
.modal-lightbox .pantalla input[type=submit] {
    background: transparent;
    border: 7px solid #e7463f;
    padding: 15px 35px;
    color: #282828;
    font-size: 1.2rem;
    font-family: 'Archivo Narrow', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: all 300ms ease;
    border-radius: 0;
    position: relative;
    margin-top: 40px;
    margin-bottom: 20px;
}

.modal-lightbox .pantalla button[type="button"]:hover,
.modal-lightbox .pantalla button[type="submit"]:hover,
.modal-lightbox .pantalla input[type=submit]:hover {
    background: #e7463f;
    color: white;
}

.form-anterior,
.form-siguiente {
    cursor: pointer;
    transition: all 300ms ease;
    border-radius: 0;
    position: absolute;
    margin-bottom: 0px;
}

.flechita_anterior:after {
    font-size: 1.1rem;
    float: left;
    content: "\f053";
}

.form-anterior {
    left: 0;
    float: left;
    font-size: 1.1rem !important;
    padding: 10px 30px !important;
}

.form-siguiente {
    right: 0;
    float: right;
}

/* Botón "Anterior" en esquina izquierda */
.modal-lightbox .pantalla button[onclick*="pantallaAnterior"] {
    left: 0;
    width: 200px;
}

/* Botón "Siguiente" o "Enviar" en esquina derecha */
.modal-lightbox .pantalla button[onclick*="siguientePantalla"],
.modal-lightbox .pantalla button[type="submit"],
.modal-lightbox .pantalla input[type="submit"] {
    right: 0;
}

.modal-lightbox .pantalla input[type="submit"] {
    background: #fdfdfd;
    color: rgb(30, 30, 30);
    width: 250px;
}

.modal-lightbox .pantalla button[type="submit"]:hover,
.modal-lightbox .pantalla input[type="submit"]:hover {
    background: #d13d36;
    border-color: #d13d36;
}

input[type="submit"].flechita:after {
    font-family: 'FontAwesome';
    content: "\f054";
    margin-left: 125px;
    font-size: 1.6rem;
    float: right;
    margin: 4px 15px 0 0;
    font-weight: 900;
}

.modal-lightbox .ultimo-boton {
    position: relative !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

/* ---- Spinner de carga CF7 ---- */

/* Ocultar el spinner nativo de CF7 (lo reemplazamos con el nuestro) */
.wpcf7-spinner {
    display: none !important;
}

/* El spinner aparece como overlay centrado sobre el modal-container */
.modal-container {
    position: relative;
    /* necesario para el overlay */
}

.wpcf7-form.is-submitting::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
    z-index: 9999;
    border-radius: 10px;
    backdrop-filter: blur(2px);
}

/* Anillo giratorio centrado sobre el overlay */
.wpcf7-form.is-submitting::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 48px;
    height: 48px;
    margin: -24px 0 0 -24px;
    border-radius: 50%;
    border: 4px solid rgba(231, 70, 63, 0.15);
    border-top-color: #e7463f;
    animation: cf7Spin 0.75s linear infinite;
    z-index: 10000;
}

@keyframes cf7Spin {
    to {
        transform: rotate(360deg);
    }
}

/* Ocultar texto del botón mientras se envía */
.wpcf7-form.is-submitting .wpcf7-submit {
    color: transparent !important;
    opacity: 1 !important;
}

.wpcf7-response-output,
.wpcf7-not-valid-tip {
    display: none !important;
}

/* PANTALLA DE ÉXITO PREMIUM */
.form-success-screen {
    text-align: center;
    padding: 60px 40px;
    animation: fadeInSuccess 0.6s ease-out forwards;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #ffffff !important;
    width: 100% !important;
    min-height: 480px;
    box-sizing: border-box;
    border-radius: 10px;
    position: relative;
    z-index: 100;
}

@keyframes fadeInSuccess {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-success-screen .raya {
    display: block;
    width: 60px;
    height: 2px;
    background: #e7463f;
    margin: 15px auto 25px;
}

.success-checkmark-wrapper {
    margin-bottom: 20px;
}

.success-checkmark-circle {
    width: 90px;
    height: 90px;
    background-color: #24b35d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 15px 30px rgba(36, 179, 93, 0.25);
    animation: circleDropIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

@keyframes circleDropIn {
    0% {
        transform: scale(0) translateY(-100px);
        opacity: 0;
    }

    60% {
        transform: scale(1.1) translateY(20px);
    }

    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.success-checkmark-check {
    width: 44px;
    height: 22px;
    border-left: 6px solid white;
    border-bottom: 6px solid white;
    transform: rotate(-45deg);
    margin-top: -6px;
    animation: checkGrow 0.5s ease-out 0.6s both;
}

@keyframes checkGrow {
    0% {
        width: 0;
        height: 0;
        opacity: 0;
    }

    50% {
        width: 0;
        height: 22px;
        opacity: 1;
    }

    100% {
        width: 44px;
        height: 22px;
        opacity: 1;
    }
}

/* ---- Pantalla de error de formulario ---- */
.form-error-screen {
    text-align: center;
    padding: 60px 40px;
    animation: fadeInSuccess 0.6s ease-out forwards;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #ffffff !important;
    width: 100% !important;
    min-height: 480px;
    box-sizing: border-box;
    border-radius: 10px;
    position: relative;
    z-index: 100;
}

.error-icon-wrapper {
    margin-bottom: 20px;
}

.error-icon-circle {
    width: 90px;
    height: 90px;
    background-color: #e7463f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 30px rgba(231, 70, 63, 0.25);
    animation: circleDropIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

.error-icon-x {
    position: relative;
    width: 38px;
    height: 38px;
    animation: checkGrow 0.4s ease-out 0.6s both;
}

.error-icon-x::before,
.error-icon-x::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 34px;
    height: 6px;
    background: #ffffff;
    border-radius: 3px;
    transform-origin: center;
}

.error-icon-x::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.error-icon-x::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.form-error-screen .raya {
    display: block;
    width: 60px;
    height: 2px;
    background: #e7463f;
    margin: 15px auto 25px;
}

.success-text a {
    color: #e7463f;
    font-weight: 600;
}

.success-title {
    color: #313131;
    font-family: 'Archivo Narrow', sans-serif !important;
    font-size: 2.8rem;
    margin-top: 15px;
    margin-bottom: 5px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.1;
}

.success-text {
    color: #666;
    font-size: 1.15rem;
    line-height: 1.45;
    max-width: 520px;
    margin: 0 auto 40px;
    font-family: 'Archivo Narrow', sans-serif;
    font-weight: 400;
}

.success-footer {
    width: 100%;
    display: flex;
    justify-content: center;
}

.success-close-btn {
    background: transparent !important;
    color: #313131 !important;
    border: 7px solid #e7463f !important;
    padding: 10px 0px;
    padding-left: 20px;
    text-align: left;
    width: 250px;
    font-size: 1.4rem;
    font-family: 'Archivo Narrow', sans-serif !important;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease-out;
    letter-spacing: 1px;
    position: relative;
    z-index: 10;
    outline: none;
}

.success-close-btn:hover,
.success-close-btn:hover::after {
    color: white !important;
}




/* GRUPOS DE FORMULARIO */
.modal-lightbox .grupo_form {
    margin-bottom: 30px;
    padding: 1px 0px;
    background: #f9f9f9;
    border-radius: 0;
    border-left: 5px solid #e7463f;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.modal-lightbox .grupo_form p:first-child {
    font-weight: 700;
    color: #414141;
    margin-bottom: 20px;
    font-size: 1.2rem;
    padding: 0 98px;
}

.modal-lightbox .mensaje-general {
    position: fixed;
    top: 30px;
    right: 30px;
    left: auto;
    background: #e7463f;
    color: white;
    padding: 20px 30px;
    border-radius: 4px;
    font-family: 'Archivo Narrow', sans-serif;
    font-weight: 700;
    z-index: 99999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    width: 320px;
    max-width: 90vw;
    word-wrap: break-word;
    border-left: 8px solid rgba(0, 0, 0, 0.2);
}

/*********************************/
/*******END LIGHTBOX CONTACTO********/
/*********************************/



/*********************************/
/**********FOOTER*****************/
/*********************************/

footer {
    float: left;
    width: 100%;
    background: linear-gradient(90deg, white 50%, #e7463f 50%);
    color: white;
    margin-bottom: 50px;
}

footer a {
    text-decoration: none;
    color: white;
    transition: all 400ms ease;
}

footer a:hover {
    text-decoration: underline;
    transition: all 400ms ease;
}

.footer_content {
    float: left;
    background: #e7463f;
    width: 80%;
    margin-left: 15%;
    padding: 40px 0 0 5%;
}

.footer_content img {
    left: -10px;
    position: relative;
}

.footer_div {
    width: 100%;
}


.footer_content_menu {
    width: 80%;
    margin-top: 5px;
    float: left;
    display: none;
}

.footer_menu_div {
    float: left;
    width: 25%;
}

.footer_menu_div ul {
    list-style: none;
    margin: 0;
    padding: 0;
    margin-right: 2%;
    margin-top: 4px;
}

.footer_menu_div li {
    margin-bottom: 12px;
    line-height: 1rem;
}

.footer_content_social {
    float: right;
    width: 17%;
    top: 67px;
    position: relative;
    margin-right: 3%;
}

.footer_content_social img {
    float: right;
    left: 0;
    margin-right: 18%;
    transition: all 900ms ease;
}

.footer_content_social img:hover {
    opacity: 0.7;
    transition: all 900ms ease;
}

#copyright {
    width: 100%;
    float: left;
    margin-top: 20px;
}

#copyright ul {
    margin: 0;
    padding: 0;
    margin-bottom: 20px;
    margin-top: 20px;
    float: left;
    position: relative;
}

#copyright_mobile {
    display: none;
}

#copyright li {
    float: left;
    list-style: none;
    padding-right: 10px;
}


/*********************************/
/**********PAGINA*****************/
/*********************************/


.page-template-default #content {
    width: 90%;
    margin: 0 auto;
    max-width: 1200px;
    margin-top: 150px;
}

.page-template-default h1 {
    font-size: 36px;
}

.page-template-servicio .phone {
    display: none;
}

.page-template-default #sidebar {
    display: none;
}

.page-template-default tr,
.page-template-default td {
    border: 1px solid grey;
}


/*********************************/
/**********COOKIES*****************/
/*********************************/


.cc-window.cc-floating {
    -webkit-box-shadow: 2px 2px 15px 0px rgba(0, 0, 0, 0.37);
    -moz-box-shadow: 2px 2px 15px 0px rgba(0, 0, 0, 0.37);
    box-shadow: 2px 2px 15px 0px rgba(0, 0, 0, 0.37);
    border: 3px solid white;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.clientes-hidden {
    background: white;
}

.clientes-hidden.fade-in {
    animation: fadeIn 0.7s ease;
}

.clientes-hidden.fade-out {
    animation: fadeOut 0.3s ease;
}

/* Flechas de navegación para el carrusel de servicios */
.servicios-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: 10;
    pointer-events: none;
}

.servicios-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(231, 70, 63, 0.9);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.servicios-arrow:hover {
    background: rgba(231, 70, 63, 1);
    transform: translateY(-50%) scale(1.1);
}

.servicios-prev {
    left: -25px;
}

.servicios-next {
    right: -25px;
}

@media screen and (max-width: 768px) {
    .servicios-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .servicios-prev {
        left: 10px;
    }

    .servicios-next {
        right: 10px;
    }
}

/* Estilos para las flechas del carrusel de servicios */
#servicios_slider {
    position: relative;
}

/* Mostrar flechas específicamente para el carrusel de servicios */
#servicios_slider .slick-arrow {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #e7463f;
    border: 3px solid #fff;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 1.7rem;
    font-family: 'Archivo Narrow', sans-serif;
    font-weight: 900;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: background 0.2s, color 0.2s, border 0.2s, transform 0.2s, top 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    outline: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.10);
    padding: 0;
    line-height: 1;
    letter-spacing: -2px;
    will-change: top, transform;
}

#servicios_slider .slick-arrow:hover {
    background: #fff;
    color: #e7463f;
    border: 3px solid #e7463f;
    transform: translateY(-50%) scale(1.08);
}

#servicios_slider .slick-prev {
    left: 260px;
}

#servicios_slider .slick-next {
    right: 260px;
}

@media screen and (max-width: 1200px) {
    #servicios_slider .slick-prev {
        left: 30px;
    }

    #servicios_slider .slick-next {
        right: 30px;
    }
}



/*********************************/
/**********FAQ SERVICIOS**********/
/*********************************/

.page-template-servicio .servicio_faq {
    float: left;
    width: 100%;
    padding: 20px 0 80px;
    background: #ffffff;
}

.page-template-servicio .servicio_faq_content {
    padding: 0 5%;
}

.page-template-servicio .servicio_faq-title {
    text-align: center;
    margin-bottom: 50px;
}

.page-template-servicio .servicio_faq-title span.servicio_faq-supertitle {
    color: #f44b48;
    font-weight: 900;
    font-size: 1.3rem;
    display: block;
}

.page-template-servicio .servicio_faq-title h2 {
    color: #414141;
    font-size: 3rem;
    line-height: 3rem;
    margin: 0 0 20px 0;
    padding: 0;
}

.page-template-servicio .servicio_faq-title .servicio_faq-raya {
    display: inline-block;
    background: #e7463f;
    width: 90px;
    margin: 0 auto;
}

.page-template-servicio .servicio_faq-list {
    max-width: 860px;
    margin: 0 auto;
}

.page-template-servicio .servicio_faq-item {
    border-bottom: 2px solid #ececec;
    overflow: hidden;
}

.page-template-servicio .servicio_faq-item:first-child {
    border-top: 2px solid #ececec;
}

.page-template-servicio .servicio_faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: transparent;
    border: none;
    padding: 22px 0;
    text-align: left;
    font-family: 'Archivo Narrow', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #282828;
    cursor: pointer;
    outline: none;
    transition: color 0.25s ease;
}

.page-template-servicio .servicio_faq-question:hover {
    color: #e7463f;
}

.page-template-servicio .servicio_faq-question::after {
    font-family: 'FontAwesome';
    content: "\f054";
    font-size: 1rem;
    font-weight: 900;
    color: #e7463f;
    margin-left: 20px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.page-template-servicio .servicio_faq-item.is-open .servicio_faq-question {
    color: #e7463f;
}

.page-template-servicio .servicio_faq-item.is-open .servicio_faq-question::after {
    transform: rotate(90deg);
}

.page-template-servicio .servicio_faq-answer {
    display: none;
    padding: 0 0 24px 0;
    color: #868485;
    font-size: 1.08rem;
    line-height: 1.65;
}

.page-template-servicio .servicio_faq-answer p {
    margin: 0 0 12px 0;
    padding: 0;
    font-size: 1.08rem;
}

.page-template-servicio .servicio_faq-answer p:last-child {
    margin-bottom: 0;
}


/*********************************/
/******* SUB-SERVICIOS GRID ******/
/*********************************/

.page-template-servicio .servicio_subservicios {
    float: left;
    width: 100%;
    padding: 90px 0 120px;
    background-color: #ffffff;
}

.page-template-servicio .servicio_subservicios-inner {
    padding: 0 5%;
}

/* Título */
.page-template-servicio .servicio_subservicios-title {
    text-align: left;
    margin-bottom: 110px;
}

.page-template-servicio .servicio_subservicios-supertitle {
    display: block;
    color: #e7463f;
    font-weight: 900;
    font-size: 1.3rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.page-template-servicio .servicio_subservicios-title h2 {
    color: #414141;
    font-size: 3.2rem;
    line-height: 3.4rem;
    margin: 0 0 18px 0;
    padding: 0;
    font-weight: 700;
}

.page-template-servicio .servicio_subservicios-title h2 strong {
    color: #e7463f;
    font-weight: 900;
}

.page-template-servicio .servicio_subservicios-raya {
    display: inline-block;
    background: #e7463f;
    height: 10px;
    width: 90px;
    margin: 0 0 22px 0;
}

.page-template-servicio .servicio_subservicios-title p {
    color: #868485;
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
    padding: 0;
    max-width: 560px;
}

/* Grid — bento stagger */
.page-template-servicio .servicio_subservicios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    align-items: start;
}

/* Columna central (cards 2 y 5) desplazadas hacia arriba — efecto bento */
.page-template-servicio .servicio_subservicios-grid .servicio_sub-card:nth-child(2),
.page-template-servicio .servicio_subservicios-grid .servicio_sub-card:nth-child(5) {
    margin-top: -50px;
}

/* Tarjeta base */
.page-template-servicio .servicio_sub-card {
    background: #ffffff;
    padding: 44px 28px 40px;
    border-radius: 16px;
    border-left: 5px solid #e7463f;
    position: relative;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

/* Tarjeta destacada — gris claro #ececec */
.page-template-servicio .servicio_sub-card--featured {
    background: #ececec;
    border-left-color: #e7463f;
}

/* Icono — caja blanca, icono rojo */
.page-template-servicio .servicio_sub-card-icon {
    font-family: 'FontAwesome';
    font-size: 1.8rem;
    color: #e7463f;
    background: #ffffff;
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    margin-bottom: 22px;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Imagen SVG dentro del icono */
.page-template-servicio .servicio_sub-card-icon img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    display: block;
}

/* Título tarjeta */
.page-template-servicio .servicio_sub-card h3 {
    color: #1a1a1a;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 10px 0;
    padding: 0;
    text-align: left;
}

/* Texto tarjeta */
.page-template-servicio .servicio_sub-card p {
    color: #888;
    font-size: 0.97rem;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* =============================================
   Herramientas grid — analítica
   ============================================= */

.servicio_subservicios--herramientas .servicio_subservicios-title {
    margin-bottom: 60px;
}

.servicio_subservicios--herramientas .servicio_herramientas-grid {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.servicio_herramienta-card {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 16px 20px;
    background: #ffffff;
    border-radius: 14px;
    border-top: 4px solid #e7463f;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.07);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.servicio_herramienta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.13);
    text-decoration: none;
}

.servicio_herramienta-icon {
    width: 66px;
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 12px;
    margin-bottom: 14px;
    flex-shrink: 0;
}

.servicio_herramienta-icon img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    display: block;
}

.servicio_herramienta-name {
    display: block;
    color: #414141;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 5px;
}

.servicio_herramienta-desc {
    display: block;
    color: #999;
    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.4;
}

.servicio_herramienta-card--api {
    border-top: 4px dashed #e7463f;
    background: #fff9f9;
    cursor: default;
}

.servicio_herramienta-card--api .servicio_herramienta-name {
    color: #e7463f;
}

.servicio_herramienta-icon--api {
    width: 66px;
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fdecea;
    border-radius: 12px;
    margin-bottom: 14px;
    flex-shrink: 0;
    font-size: 2.2rem;
    font-weight: 300;
    color: #e7463f;
    line-height: 1;
}

@media (max-width: 1024px) {
    .servicio_subservicios--herramientas .servicio_herramientas-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 760px) {
    .servicio_subservicios--herramientas .servicio_herramientas-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 560px) {
    .servicio_subservicios--herramientas .servicio_herramientas-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .servicio_herramienta-card {
        padding: 18px 12px 16px;
    }
}}

/* ── Dropdown Servicios ── */
.nav-servicios {
    list-style: none;
    padding: 0;
    margin: 0;
    float: left;
}

.nav-servicios-item {
    float: left;
    padding-right: 1.4em;
    position: relative;
}

.nav-servicios-item > a {
    text-decoration: none;
    color: #707070;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    white-space: nowrap;
}

.nav-servicios-arrow {
    font-size: 0.6rem;
    vertical-align: middle;
    margin-left: 3px;
    transition: transform 0.2s ease;
    display: inline-block;
}

.nav-servicios-item:hover .nav-servicios-arrow {
    transform: rotate(180deg);
}

.nav-servicios-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: -20px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    min-width: 210px;
    list-style: none;
    padding: 8px 0;
    margin: 0;
    z-index: 999;
    border-top: 2px solid #e7463f;
}

.nav-servicios-item:hover .nav-servicios-dropdown {
    display: block;
}

.nav-servicios-dropdown li a {
    display: block;
    padding: 10px 22px;
    color: #282828;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-servicios-dropdown li a:hover {
    color: #e7463f;
}

@media (max-width: 768px) {
    .nav-servicios {
        display: none;
    }
}

/* ── Menú principal hardcodeado ── */
#main-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#main-nav-list > li {
    float: left;
    padding-right: 1.4em;
    position: relative;
}

#main-nav-list > li > a {
    text-decoration: none;
    color: #707070;
    font-weight: 600;
    font-size: 1.1rem;
    white-space: nowrap;
}

#main-nav-list > li > a:hover {
    color: #e7463f;
}

.dropdown-arrow {
    font-size: 0.55rem;
    vertical-align: middle;
    margin-left: 2px;
    display: inline-block;
    transition: transform 0.2s ease;
}

.has-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: -20px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    min-width: 210px;
    list-style: none;
    padding: 8px 0;
    margin: 0;
    z-index: 9999;
    border-top: 2px solid #e7463f;
}

.has-dropdown:hover .nav-dropdown {
    display: block;
}

.nav-dropdown li {
    float: none !important;
    padding-right: 0 !important;
    display: block;
}

.nav-dropdown li a {
    display: block;
    padding: 10px 22px;
    color: #282828;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-dropdown li a:hover {
    color: #e7463f;
}

@media (max-width: 768px) {
    #main-nav-list {
        display: none;
    }
}
