/*!
Theme Name: Truall Lena v1
Theme URI: https://truall.com/
Version: 1.0.0
Template: Divi
Description: Tema Child Divi implementado por Agencia Truall.
Author: Agencia Truall
Author URI: https://truall.com/
License: GNU General Public License v2
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* =========================================================
   TRUALL v1 — LENA Y CÍA.
   Estilos personalizados
   ========================================================= */

/* ---------- Firma Truall ---------- */

#truall {
	background-color: #191919;
	padding: 12px 5px 15px;
	text-align: center;
}

a.opacity-truall img {
	opacity: 0.2;
	transition: opacity 0.2s ease;
}

a.opacity-truall:hover img {
	opacity: 1;
}

a.opacity-sup img {
	opacity: 1;
}

a.opacity-sup:hover img {
	opacity: 0.8;
}


/* ---------- Menús ---------- */

.modern-menu-widget a:hover {
	text-decoration: none;
	background: #fafafa;
	color: #00748b;
}

.modern-menu-widget li.current-menu-item a {
	color: #fff;
	background: #00748b;
}

#top-menu li li a {
	padding: 6px 13px;
	width: 251px;
}

.nav li ul {
	position: absolute;
	padding: 20px 0;
	z-index: 9999;
	width: 290px;
	background: #fff;
	visibility: hidden;
	opacity: 0;
	border-top: 3px solid #2ea3f2;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	text-align: left;
}

#et-top-navigation #menu-item-192 a {
	background-color: #36bb22;
	color: #fff;
	padding: 10px;
}

#et-top-navigation #menu-item-193 a {
	background-color: #b1976b;
	color: #fff;
	padding: 10px;
}


/* ---------- Contenido / Divi ---------- */

.et_pb_post .entry-content {
	padding-bottom: 0;
	text-align: center;
}

.et-social-icons {
	text-align: center !important;
}

.et_overlay::before,
.et_pb_bg_layout_light.et_pb_module.et_pb_button,
.et_pb_bg_layout_light .et_pb_more_button,
.et_pb_bg_layout_light .et_pb_newsletter_button,
.et_pb_bg_layout_light .et_pb_promo_button,
.et_pb_contact_submit,
.et_pb_filterable_portfolio .et_pb_portfolio_filters li a.active,
.et_pb_filterable_portfolio .et_pb_portofolio_pagination ul li a.active,
.et_pb_gallery .et_pb_gallery_pagination ul li a.active,
.et_pb_member_social_links a:hover,
.et_pb_pricing_table_button,
.et_pb_pricing li a,
.et_pb_sum {
	color: #fff;
}

.et_pb_bg_layout_light.et_pb_button:hover,
.et_pb_bg_layout_light .et_pb_button:hover {
	border: 2px solid #fff;
}

.et_pb_contact_submit,
.et_password_protected_form .et_submit_button,
.et_pb_bg_layout_light .et_pb_newsletter_button,
.comment-reply-link,
.form-submit .et_pb_button,
.et_pb_bg_layout_light .et_pb_promo_button,
.et_pb_bg_layout_light .et_pb_more_button,
.et_pb_contact p input[type="checkbox"]:checked + label i::before,
.et_pb_bg_layout_light.et_pb_module.et_pb_button {
	color: #b1976b !important;
}

a {
	color: #000;
}

.activa {
	cursor: pointer;
	text-align: center;
	background-color: #23b71b;
	padding: 12px;
	margin-right: auto;
	margin-left: auto;
	width: 50%;
	border-radius: 40px;
	color: #fff;
}

.et-pb-controllers {
	position: absolute;
	bottom: 20px;
	left: 0;
	width: 100%;
	text-align: center;
	z-index: 10;
	display: none;
}

.et-animated li span .et_pb_counter_amount {
	opacity: 1;
	-webkit-animation: slideWidth 5s cubic-bezier(.77, 0, .175, 1) 1;
	animation: slideWidth 5s cubic-bezier(.77, 0, .175, 1) 1;
	position: relative;
}


/* ---------- Utilidades responsive ---------- */

/* Mantiene 2, 3 o 4 columnas en tablet/móvil cuando la clase
   se asigna a la fila correspondiente de Divi. */
@media only screen and (max-width: 980px) {

	.endos .et_pb_column {
		width: 50% !important;
	}

	.entres .et_pb_column {
		width: 33.33% !important;
	}

	.encuatro .et_pb_column {
		width: 25% !important;
	}
}

@media only screen and (max-width: 479px) {

	body .ocultar-en-movil {
		display: none !important;
	}
}


/* ---------- Control de overflow ---------- */

html,
body {
	width: 100% !important;
	overflow-x: hidden !important;
}
.tr_header_lena {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
/* =========================================================
   LENA & CÍA. · BARRA DE CONTACTO MÓVIL
   ========================================================= */

.tr_mobile_contact {
    display: none;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media only screen and (max-width: 767px) {

    /*
     * Reserva espacio inferior para evitar que
     * la barra tape el último contenido de la página.
     */
    body {
        padding-bottom: 84px;
    }


    /*
     * Contenedor flotante.
     */
    .tr_mobile_contact {
        position: fixed;

        left: 12px;
        right: 12px;
        bottom: calc(12px + env(safe-area-inset-bottom));

        z-index: 999999;

        display: grid;
        grid-template-columns: 1fr 1fr;

        overflow: hidden;

        border-radius: 13px;

        background-color: #ffffff;

        box-shadow:
            0 8px 28px rgba(0, 0, 0, .22);

        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }


    /*
     * Botón base.
     */
    .tr_mobile_contact__item {
        display: flex;

        align-items: center;
        justify-content: center;

        gap: 10px;

        min-width: 0;
        min-height: 58px;

        padding: 10px 14px;

        color: #ffffff !important;

        font-family: inherit;
        font-size: 16px;
        font-weight: 500;
        line-height: 1;

        text-decoration: none !important;

        -webkit-tap-highlight-color: transparent;

        transition:
            opacity .18s ease,
            transform .18s ease;
    }


    /*
     * WhatsApp.
     */
    .tr_mobile_contact__whatsapp {
        background-color: #10b927;
    }


    /*
     * Teléfono.
     */
    .tr_mobile_contact__phone {
        background-color: #b59b6d;
    }


    /*
     * Feedback táctil.
     */
    .tr_mobile_contact__item:active {
        opacity: .88;

        transform: scale(.985);
    }


    /*
     * Icono.
     */
    .tr_mobile_contact__icon {
        display: flex;

        flex: 0 0 auto;

        align-items: center;
        justify-content: center;

        width: 22px;
        height: 22px;

        color: #ffffff;
    }


    .tr_mobile_contact__icon svg {
        display: block;

        width: 22px;
        height: 22px;

        fill: currentColor;
    }


    /*
     * Texto.
     */
    .tr_mobile_contact__label {
        display: block;

        white-space: nowrap;
    }

}
/* =========================================================
   LENA & CÍA. · ÁREAS DE PRÁCTICA · BLURBS MOBILE
   ========================================================= */

@media only screen and (max-width: 767px) {

	.tr_area_blurb.et_pb_blurb_position_left .et_pb_blurb_content {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		max-width: 100%;
	}

	.tr_area_blurb .et_pb_main_blurb_image {
		margin-right: 0 !important;
		margin-bottom: 14px !important;
		line-height: 1;
	}

	.tr_area_blurb .et_pb_blurb_container {
		padding-left: 0 !important;
	}

	.tr_area_blurb .et_pb_module_header {
		padding-bottom: 12px;
		font-size: 24px;
		line-height: 1.2em;
		letter-spacing: 0.5px;
	}

	.tr_area_blurb .et_pb_blurb_description {
		font-size: 16px;
		line-height: 1.8em;
	}

	.tr_area_blurb .et-pb-icon {
		font-size: 34px;
		line-height: 1;
	}

}
/* =========================================================
   LENA & CÍA. · LA FIRMA · INDICADORES
   ========================================================= */

.tr_firma_stats {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 42px 65px !important;
}

.tr_firma_stat_number {
    margin-bottom: 12px !important;
    color: #b69a68 !important;
    font-size: 52px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}

.tr_firma_stat_title {
    color: #292929 !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.2px !important;
}

.tr_firma_stat_wide {
    grid-column: 1 / -1 !important;
    padding-top: 32px !important;
    border-top: 1px solid #dedbd5 !important;
}

@media only screen and (max-width: 767px) {

    .tr_firma_stats {
        gap: 30px 24px !important;
    }

    .tr_firma_stat_number {
        font-size: 40px !important;
    }

    .tr_firma_stat_title {
        font-size: 14px !important;
    }

    .tr_firma_stat_wide {
        padding-top: 26px !important;
    }

}
