/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/


@font-face {
    font-family: 'Lora';
    src: url('assets/fonts/Lora-Bold.eot');
    src: url('assets/fonts/Lora-Bold.eot?#iefix') format('embedded-opentype'),
        url('assets/fonts/Lora-Bold.woff2') format('woff2'),
        url('assets/fonts/Lora-Bold.woff') format('woff'),
        url('assets/fonts/Lora-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lora';
    src: url('assets/fonts/Lora-SemiBold.eot');
    src: url('assets/fonts/Lora-SemiBold.eot?#iefix') format('embedded-opentype'),
        url('assets/fonts/Lora-SemiBold.woff2') format('woff2'),
        url('assets/fonts/Lora-SemiBold.woff') format('woff'),
        url('assets/fonts/Lora-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lora';
    src: url('assets/fonts/Lora-Medium.eot');
    src: url('assets/fonts/Lora-Medium.eot?#iefix') format('embedded-opentype'),
        url('assets/fonts/Lora-Medium.woff2') format('woff2'),
        url('assets/fonts/Lora-Medium.woff') format('woff'),
        url('assets/fonts/Lora-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lora';
    src: url('assets/fonts/Lora-Regular.eot');
    src: url('assets/fonts/Lora-Regular.eot?#iefix') format('embedded-opentype'),
        url('assets/fonts/Lora-Regular.woff2') format('woff2'),
        url('assets/fonts/Lora-Regular.woff') format('woff'),
        url('assets/fonts/Lora-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Alegreya';
    src: url('assets/fonts/Alegreya-Medium.eot');
    src: url('assets/fonts/Alegreya-Medium.eot?#iefix') format('embedded-opentype'),
        url('assets/fonts/Alegreya-Medium.woff2') format('woff2'),
        url('assets/fonts/Alegreya-Medium.woff') format('woff'),
        url('assets/fonts/Alegreya-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Alegreya';
    src: url('assets/fonts/Alegreya-Regular.eot');
    src: url('assets/fonts/Alegreya-Regular.eot?#iefix') format('embedded-opentype'),
        url('assets/fonts/Alegreya-Regular.woff2') format('woff2'),
        url('assets/fonts/Alegreya-Regular.woff') format('woff'),
        url('assets/fonts/Alegreya-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Alegreya';
    src: url('assets/fonts/Alegreya-ExtraBold.eot');
    src: url('assets/fonts/Alegreya-ExtraBold.eot?#iefix') format('embedded-opentype'),
        url('assets/fonts/Alegreya-ExtraBold.woff2') format('woff2'),
        url('assets/fonts/Alegreya-ExtraBold.woff') format('woff'),
        url('assets/fonts/Alegreya-ExtraBold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Alegreya';
    src: url('assets/fonts/Alegreya-Bold.eot');
    src: url('assets/fonts/Alegreya-Bold.eot?#iefix') format('embedded-opentype'),
        url('assets/fonts/Alegreya-Bold.woff2') format('woff2'),
        url('assets/fonts/Alegreya-Bold.woff') format('woff'),
        url('assets/fonts/Alegreya-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

:root {
    --black: #000000;
    --white: #ffffff;
}


/***************
GENERAL
***************/
h1, .h1, h2, .h2 { color: var(--black); font-family: 'Alegreya', sans-serif; font-weight: bold; }
h3, .h3, h4, .h4, h5, h6 { font-family: 'Alegreya', sans-serif; font-weight: 500; }
body, p, ul li, ol li { font-family: 'Lora', sans-serif; font-weight: normal; }
a, button { transition: .5s all ease; -webkit-transition: .5s all ease; -moz-transition: .5s all ease; }

.sub-text { background-color: var(--nectar-extra-color-1); border-radius: 5px; color: var(--nectar-accent-color)!important; display: inline-block; padding: 10px 15px; }


h1, .h1 { font-size: 60px; line-height: 70px; }
h2, .h2 { font-size: 50px; line-height: 60px; }
h3, .h3 { font-size: 30px; line-height: 40px; }
h4, .h4 { font-size: 25px; line-height: 30px; }
h5, .h5 { font-size: 20px; line-height: 25px; }
h6 { font-size: 15px; line-height: 20px; letter-spacing: 3px; }
body, p, ul li, ol li { font-size: 18px; line-height: 25px; }



@media (max-width: 1299px) {
	h1, .h1 { font-size: 60px; line-height: 65px; }
	h2, .h2 { font-size: 40px; line-height: 45px; }
	h3, .h3 { font-size: 28px; line-height: 33px; }
	h4, .h4 { font-size: 23px; line-height: 28px; }
}

@media (max-width: 999px) {
	h1, .h1 { font-size: 40px; line-height: 45px; }
	h2, .h2 { font-size: 35px; line-height: 40px; }
	h3, .h3 { font-size: 28px; line-height: 30px; }
	h4, .h4 { font-size: 22px; line-height: 26px; }
	body, p, ul li, ol li { font-size: 16px; line-height: 22px; } 
}

@media (max-width: 690px) {
	h1, .h1 { font-size: 35px; line-height: 40px; }
	h2, .h2 { font-size: 32px; line-height: 38px; }
	h3, .h3 { font-size: 22px; line-height: 27px; }
	h4, .h4 { font-size: 20px; line-height: 24px; }  
    h5 { font-size: 18px; line-height: 25px; }
    h6 { font-size: 13px; }
}


/***************
HEADER
***************/
#header-outer .menu-title-text { font-family: 'Alegreya', sans-serif; font-size: 18px; font-weight: bold; letter-spacing: 2px; line-height: 22px; text-transform: uppercase; }

body.material #header-outer #social-in-menu i { background-color: var(--white); border-radius: 50%; color: var(--nectar-accent-color); display: inline-block; height: 35px; line-height: 37px; margin-right: 5px; text-align: center; width: 36px; }


/***************
FOOTER
***************/
#global-copyright p { font-size: 15px; }
#global-copyright a { opacity: 1; }
#global-copyright a:hover { color: var(--nectar-accent-color); }


/***************
HOMEPAGE
***************/
.circle-icon { align-items: center; background-color: var(--nectar-extra-color-1); border-radius: 50%; display: inline-block; height: 80px; line-height: 60px; width: 80px; transform: tr; text-align: center; }

.bd-circle .vc_column-inner { align-items: center; border: 2px solid var(--nectar-extra-color-1); border-radius: 50%; color: var(--nectar-accent-color); display: inline-block; height: 350px; line-height: 65px; text-align: center; width: auto; }
.bd-circle h3 { color: var(--nectar-accent-color); }
.bd-circle .vc_column-inner:hover { background-color: var(--nectar-extra-color-1); }


@media (max-width: 1440px) {
    .bd-circle .vc_column-inner { height: 300px; }
}

@media (max-width: 1200px) {
    .bd-circle .vc_column-inner { height: 250px; }
}

@media (max-width: 1080px) {
    .bd-circle .vc_column-inner { height: 220px; }
    .bd-circle h3 { font-size: 25px; line-height: 35px; }
    .bd-circle .nectar-milestone .number, .bd-circle .nectar-milestone .symbol { font-size: 40px; }
}

@media (max-width: 999px) {
    .bd-circle .vc_column-inner { height: 350px; }
    .bd-circle h3 { font-size: 30px; line-height: 35px; }
    .bd-circle .nectar-milestone .number, .bd-circle .nectar-milestone .symbol { font-size: 60px; }
}

@media (max-width: 680px) {
    .bd-circle .vc_column-inner { height: 250px; }
}

@media (max-width: 480px) {
    .bd-circle .vc_column-inner { height: 170px; }
    .bd-circle h3 { font-size: 18px; line-height: 20px; margin-top: -10px; }
    .bd-circle .nectar-milestone .number, .bd-circle .nectar-milestone .symbol { font-size: 40px; }
}

@media (max-width: 390px) {
    .bd-circle .vc_column-inner { height: 150px; }
    .bd-circle h3 { margin-top: -12px; }
    .bd-circle .nectar-milestone .number, .bd-circle .nectar-milestone .symbol { font-size: 38px; }
}


/***************
PAGE
***************/
.process-container { align-items: center!important; display: flex!important; justify-content: center!important; max-width: 1600px!important; position: relative; }

.process-item { align-items: center; background-color: #ffffff; background-position: center; background-repeat: no-repeat; background-size: cover; border: 2px solid var(--nectar-extra-color-1); border-radius: 50%; display: flex; 
flex-direction: column; flex-shrink: 0; height: 350px; justify-content: center; margin: 0 -20px; padding: 45px; position: relative; text-align: center; transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1); width: 350px; }

/* Overlay blanco semitransparente */
.process-item::before { content: ''; background: rgba(255, 255, 255, 0.95); border-radius: 50%; bottom: 0; left: 0; position: absolute; right: 0; top: 0; transition: all 0.6s ease; z-index: 1; }
.process-item:hover::before { background: rgba(0, 55, 105,0.8); }

/* Contenido del círculo */
.process-content { position: relative; width: 100%; z-index: 2!important; }

.process-icon { display: block; height: 75px!important; margin: 0 auto 20px; width: 75px!important; }

.process-number { color: var(--nectar-accent-color); font-family: 'Alegreya', sans-serif; font-weight: bold; margin-bottom: 12px!important; transition: color 0.6s ease; }

.process-description { color: #777; font-size: 15px!important; line-height: 20px; transition: color 0.6s ease; }

/* Texto blanco en hover */
.process-item:hover .process-number,
.process-item:hover .process-description { color: var(--white); }

/* Efecto hover - se desplaza hacia arriba y crece */
.process-item:hover { box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2); margin: 0 20px; transform: translateY(-40px) scale(1.1); z-index: 10; }

/* Los círculos vecinos se apartan */
.process-container:has(.process-item:nth-child(1):hover) .process-item:nth-child(2),
.process-container:has(.process-item:nth-child(2):hover) .process-item:nth-child(3),
.process-container:has(.process-item:nth-child(3):hover) .process-item:nth-child(4),
.process-container:has(.process-item:nth-child(4):hover) .process-item:nth-child(5) { transform: translateX(60px); }

.process-container:has(.process-item:nth-child(2):hover) .process-item:nth-child(1),
.process-container:has(.process-item:nth-child(3):hover) .process-item:nth-child(2),
.process-container:has(.process-item:nth-child(4):hover) .process-item:nth-child(3),
.process-container:has(.process-item:nth-child(5):hover) .process-item:nth-child(4) { transform: translateX(-60px); }

/* Imágenes de fondo - REEMPLAZA CON TUS URLs */
.process-item:nth-child(1) { background-image: url('assets/img/igualdad.jpg'); }

.process-item:nth-child(2) { background-image: url('assets/img/calidad.jpg'); }

.process-item:nth-child(3) { background-image: url('assets/img/innovación.jpg'); }

.process-item:nth-child(4) { background-image: url('assets/img/compromiso.jpg'); }

.process-item:nth-child(5) { background-image: url('assets/img/cercanía.jpg'); }

/***Sección servicios***/

.services-section { align-items: flex-start; display: flex; justify-content: center; margin: 0 auto; max-width: 1600px; padding: 0; }

/* Columna izquierda - Imagen */
.services-image { flex: 1; height: 600px; max-width: 700px; overflow: hidden; position: relative; }

.image-wrapper { height: 100%; left: 0; width: 100%; position: absolute; top: 0; transition: opacity 0.6s ease; }
.image-wrapper img { height: 100%; object-fit: cover; width: 100%; }
.image-wrapper.active { opacity: 1; z-index: 2; }
.image-wrapper:not(.active) { opacity: 0; z-index: 1; }

/* Tarjeta con icono y descripción */
.info-card { background: #0cc0df; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); left: 40px; max-width: 320px; padding: 30px; position: absolute; top: 40px; transition: opacity 0.6s ease; z-index: 10; }
.info-card.active { opacity: 1; }
.info-card:not(.active) { opacity: 0; position: absolute; }

.info-icon { height: 60px; margin-bottom: 20px; width: 60px; }

.info-icon img { height: 100%; width: 100%; object-fit: contain; }

.info-text { color: var(--white); font-size: 16px; line-height: 20px; }

/* Columna derecha - Lista de servicios */
.services-list { background: var(--white); display: flex; flex: 1; flex-direction: column; justify-content: center; min-height: 600px; padding: 0 80px; }

.service-item { align-items: center; border-bottom: 2px solid #e5e5e5; cursor: pointer; display: flex; justify-content: space-between; padding: 25px 0; transition: all 0.3s ease; }
.service-item:last-child { border-bottom: none; }

.service-title { color: var(--nectar-accent-color); font-size: 35px; line-height: 45px; font-weight: 600; transition: color 0.3s ease; }

.service-arrow { align-items: center; border: 2px solid var(--nectar-accent-color); border-radius: 50%; display: flex; flex-shrink: 0; justify-content: center; height: 50px; margin-left: 20px; transition: all 0.3s ease; width: 50px; }
.service-arrow svg { height: 20px; stroke: var(--nectar-accent-color); transition: stroke 0.3s ease; width: 20px; }

/* Hover en servicio */
.service-item:hover .service-title { color: var(--nectar-accent-color); }

.service-item:hover .service-arrow { background: var(--nectar-accent-color); border-color: var(--nectar-accent-color); }

.service-item:hover .service-arrow svg { stroke: var(--white); }


@media (max-width: 1435px) {
    .service-title { font-size: 30px; line-height: 35px; }
}

@media (max-width: 1400px) {
    .process-item { height: 270px!important; margin: 0 -10px; padding: 30px; width: 270px!important; }
    .process-icon { height: 50px!important; width: 50px!important; }
    .process-number { font-size: 20px; line-height: 25px; }
    .process-description { font-size: 13px!important; line-height: 20px!important; }
}

@media (max-width: 1200px) {
    .process-container { flex-wrap: wrap; gap: 20px; }
    .process-item { height: 260px!important; margin: 0; width: 260px!important; }
    .process-item:hover { margin: 0; }
    .process-container:has(.process-item:hover) .process-item { transform: none; }
    .process-item:hover { transform: translateY(-20px) scale(1.05); }

    .services-image { height: 700px!important; }
}

@media (max-width: 1024px) {
    .services-section { flex-direction: column; }
    .services-image { min-height: 500px; }
    .services-list { padding: 40px; }
    .service-title { font-size: 32px; }
}

@media (max-width: 999px) {
    .services-section { align-items: center; flex-direction: column; }
    .services-image { height: 400px; max-width: 100%; order: 1; position: relative; width: 100%; }
    .image-wrapper { height: 100%; position: absolute; width: 100%; }
    .info-card { left: 20px; max-width: 90%; padding: 20px; position: absolute; top: 20px; }
    .services-list { min-height: auto; order: 2; padding: 40px 20px; width: 100%; }
    .service-title { font-size: 25px; line-height: 32px; }
    .service-arrow { height: 40px; width: 40px; }
}

@media (max-width: 768px) {
    .process-title { font-size: 32px; }
    .process-item { height: 220px!important; width: 220px!important; }

    .info-card { left: 20px; max-width: calc(100% - 40px); top: 20px; }
    .services-list { padding: 30px 20px; }
    .service-title { font-size: 28px; }
    .service-arrow { height: 40px; width: 40px; }
}

@media (max-width: 680px) {
    .process-item { height: 280px!important; padding: 25px; width: 280px!important; }
    .process-container:has(.process-item:nth-child(1):hover) .process-item:nth-child(2),
    .process-container:has(.process-item:nth-child(2):hover) .process-item:nth-child(3),
    .process-container:has(.process-item:nth-child(3):hover) .process-item:nth-child(4),
    .process-container:has(.process-item:nth-child(4):hover) .process-item:nth-child(5) { transform: translateX(0); }

    .process-container:has(.process-item:nth-child(2):hover) .process-item:nth-child(1),
    .process-container:has(.process-item:nth-child(3):hover) .process-item:nth-child(2),
    .process-container:has(.process-item:nth-child(4):hover) .process-item:nth-child(3),
    .process-container:has(.process-item:nth-child(5):hover) .process-item:nth-child(4) { transform: translateX(0); }
}

@media (max-width: 599px) {
  .services-image { height: 400px; }

  .info-card { left: 17px; max-width: 90%; padding: 18px; top: 270px; }
  .info-text { font-size: 15px; line-height: 20px; }

  .service-title { font-size: 24px; line-height: 30px; }

  .service-arrow { height: 40px; width: 40px; }
}


/***************
CONTACT
***************/
.toggle>.toggle-title a { font-size: 25px; line-height: 30px; }

.contact-form textarea { max-height: 180px; }
.contact-form ::placeholder { color: var(--nectar-accent-color)!important; opacity: 0.5; }
.contact-form .wpcf7-form p span { color: black!important; font-size: 15px; line-height: 20px; }
.contact-form .wpcf7-form p span a { color: var(--nectar-accent-color)!important; font-size: 15px; line-height: 20px; text-decoration: underline; }
.contact-form .wpcf7-form p span a:hover { color: black!important; }
.contact-form .small { color: black!important; font-size: 13px; line-height: 18px; margin-top: 10px; }
.contact-form .small a { color:var(--nectar-accent-color)!important; font-size: 13PX; line-height: 18px; text-decoration: underline; }
.contact-form .small a:hover { color: black!important; }
.frase { color: var(--black); font-size: 20px; font-style: italic; font-weight: bold; margin-top: 10px; }
body[data-form-submit=regular] .container-wrap input[type=submit] { background-color: var(--nectar-accent-color)!important; font-size: 18px; margin-top: 10px; text-transform: uppercase; }
.wpcf7-list-item { margin: 0!important; }


@media (max-width: 680px) {
    .toggle>.toggle-title a { font-size: 20px; line-height: 25px; }
}





