﻿
.inner-parallax {
    font-family: 'SourceSansProBlack';
}
/**************************/
.portal-title {
    text-align: center;
    padding: 25px;
    color: #152c3d;
    font-family: 'SourceSansProBlack';
}

.portal-title-left {
    margin: 0;
    color: #152c3d;
    font-family: 'SourceSansProBlack', sans-serif;
    font-size: 2.8rem; /* grande pero no exagerado */
    line-height: 1.2;
    text-align: left;
}
/* Título pequeño de sección */
.portal-section {
    margin: 0;
    padding-left: 10px;
    color: #152c3d;
    font-family: 'SourceSansProBlack', sans-serif;
    font-size: 2.0rem; /* pequeño */
    text-align: left;
}

/* Subtítulo principal (más grande que productos) */
.portal-subtitle {
    margin-top: 0.25rem;
    padding-left: 10px;
    color: #152c3d;
    font-family: 'SourceSansProBlack', sans-serif;
    font-size: 2.8rem; /* más grande */
    line-height: 1.3;
    text-align: left;
}



/* Responsividad */
@media (min-width: 768px) {
    .portal-subtitle {
        font-size: 3rem;
    }
}

@media (min-width: 1200px) {
    .portal-subtitle {
        font-size: 3.5rem;
    }
}




.m-link-hover {
    position: relative;
}

    .m-link-hover:hover .m-link-hover__panel {
        background-color: rgba(38,48,66,0.64);
        visibility: visible;
        transition: all ease 0.3s;
        opacity: 1;
    }

.m-link-hover__panel {
    text-align: center;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    visibility: hidden;
    align-items: center;
    transition: all ease 0.3s;
    opacity: 0;
}

.m-link-hover__panel-desc {
    margin-top: 1rem;
}

.owl-carousel .prev-slide:hover {
    background-position: 0px -53px;
}

.owl-carousel .next-slide:hover {
    background-position: -24px -53px;
}

.owl-stage-outer {
    margin-left: 50px;
    margin-right: 50px;
}

.owl-prev {
    width: 35px;
    height: 100px;
    position: absolute;
    top: 40%;
    margin-left: -20px;
    display: block !important;
    border: 0px solid black;
    margin-top: -40px;
}

.owl-next {
    width: 35px;
    height: 100px;
    position: absolute;
    top: 40%;
    right: 0px;
    display: block !important;
    border: 0px solid black;
}

    .owl-prev i, .owl-next i {
        /*transform: scale(1,6);*/
        color: #ccc;
        font-size: 50px;
        transform: scale(1,1.5);
        width: 100%;
    }

.linkw .owl-prev {
    width: 35px;
    height: 100px;
    position: absolute;
    top: 15%;
    margin-left: -20px;
    display: block !important;
    border: 0px solid black;
    margin-top: -40px;
}

.linkw .owl-next {
    width: 35px;
    height: 100px;
    position: absolute;
    top: 15%;
    right: 0px;
    display: block !important;
    border: 0px solid black;
}

.linkw .owl-prev i, .owl-next i {
    /*transform: scale(1,6);*/
    color: #ccc;
    font-size: 50px;
    transform: scale(1,1.5);
    width: 100%;
}

ul.iconed-list {
    list-style: none;
    padding: 10px;
}

    ul.iconed-list > li {
        padding-left: 1.3em;
    }

        ul.iconed-list > li:before {
            content: "\f00c"; /* FontAwesome Unicode */
            font-family: FontAwesome;
            display: inline-block;
            margin-left: -1.3em; /* same as padding-left set on li */
            width: 1.3em; /* same as padding-left set on li */
        }

.carousel-top-lawyers {
    /*display: flex;
    margin: auto;*/
}

.carousel-caption {
    top: 50%;
}

/*.carousel-item {
    max-height: 700px;
}*/
.carousel-item img {
    filter: brightness(0.5);
    height: calc(100vh);
}

.fixed-bottom {
    z-index: 9999
}

.blog-item.m-widget19__header {
    margin-top: 0 !important;
}

.back-arrow-detail {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    padding: 6px 0;
    font-size: 15px;
    color: white;
    line-height: 25px;
}

    .back-arrow-detail:hover {
        color: white;
    }

    .back-arrow-detail > i {
        margin-left: -5px;
    }

.arrow {
    box-sizing: border-box;
    height: 5vw;
    width: 5vw;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.5);
    border-width: 0px 2px 2px 0px;
    transform: rotate(45deg);
    transition: border-width 150ms ease-in-out;
    margin-top: -50px;
}

    .arrow:hover {
        border-bottom-width: 4px;
        border-right-width: 4px;
    }

#full {
    height: 100vh;
    background-color: #256347;
}

.container-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
}

article p {
    background: inherit;
    font-size: 1rem;
    line-height: 2rem;
}
/*article p::after {
        content: '...';
        background: inherit;
        position: absolute;
        left: 0rem;
    }*/
.blog-description {
    max-height: 14rem;
    overflow: hidden
}

    .blog-description p::after {
        bottom: 2rem;
    }

.hidde-extra-content {
    max-height: 14rem;
    overflow: hidden;
}

.hidde-extra-content-2 {
    max-height: 15rem;
    overflow: hidden;
}

.circular--landscape {
    display: inline-block;
    position: relative;
    width: 152px;
    height: 152px;
    overflow: hidden;
    border-radius: 50%;
}

    .circular--landscape img {
        max-height: 135px;
        max-width: 135px;
        width: auto;
        height: 100%;
        margin-left: -50px;
    }


.m-header .m-header__top {
    height: 0px;
    /*-webkit-box-shadow: 5px 25px 20px 20px rgba(20, 20, 19, 0.5) !important;
    box-shadow: 5px 25px 20px 20px rgba(20, 20, 19, 0.5) !important;*/
}

.m-header .m-header__bottom {
    height: 65px;
    /*font-weight:bold;*/
    font-family: 'SourceSansProBold'
}

.m-header--fixed.m-header--minimize-off .m-header {
    height: 65px
}

.m-header--fixed .m-header .m-header__top {
    z-index: 100
}

/*INICIAL*/


.m-header--fixed.m-header--minimize-off .m-header .m-header__top {
    height: 0px;
    /*-webkit-box-shadow: 5px 25px 20px 20px rgba(20, 20, 19, 0.5) !important;
    box-shadow: 5px 25px 20px 20px rgba(20, 20, 19, 0.5) !important;*/
}

.m-header--minimize-on .m-scroll-top--shown .m-header .m-header__bottom {
    height: 36px;
}
/*SUBIENDO*/ /*ESTA BIEN*/
.m-scroll-top--shown.m-header--minimize-off .m-header .m-header__bottom .nav-link,
.m-scroll-top--shown.m-header--minimize-off .m-header .m-header__bottom .m-topbar__welcome,
.m-scroll-top--shown.m-header--minimize-off .m-header .m-header__bottom .m-topbar__username {
    color: #152c3d !important
}

.m-scroll-top--shown.m-header--minimize-off .m-header .m-header__bottom .img_logo2 {
    content: url('../../../images/logo/logo_horizontal.png') !important;
}



.m-scroll-top--shown.m-header--minimize-off .m-header .m-header__top {
    height: 0px;
}

.m-scroll-top--shown.m-header--minimize-off .m-header .m-header__bottom {
    /*height: 36px;*/
    -webkit-box-shadow: 0px 5px 15px -8px rgba(10,0,0,0.5) !important;
    box-shadow: 0px 5px 15px -8px rgba(10,0,0,0.5) !important
}

    .m-scroll-top--shown.m-header--minimize-off .m-header,
    .m-scroll-top--shown.m-header--minimize-off .m-header .m-header__bottom .bg-header-transparent {
        background-color: white !important;
        -webkit-box-shadow: 0px 0px 0px 0px rgba(10,20,20,0.5) !important;
        box-shadow: 0px 0px 0px 0px rgba(10,20,20,0.5) !important
    }


/*************/
/*INICIAL*/ /*ESTA BIEN*/
/*.m-aside--offcanvas-default*/
.m-aside--offcanvas-default .m-header .m-header__top {
    background-color: #f8f9fa !important
}



.m-aside--offcanvas-default .bg-header-transparent .nav-link,
.m-aside--offcanvas-default .bg-header-transparent .m-topbar__welcome,
.m-aside--offcanvas-default .bg-header-transparent .m-topbar__username {
    color: #f8f9fa !important
}

.m-aside--offcanvas-default .bg-header-transparent .img_logo2 {
    content: url('../../../images/logo/logo_horizontal_blanco.png') !important;
}

.m-header__bottom .bg-header-transparent {
}
/*BAJANDO*/
/*.m-aside--offcanvas-default .m-header--minimize-on .m-scroll-top--shown*/
/*BAJANDO*/ /*ESTA BIEN*/
.m-header--minimize-on .m-header .m-header__top {
    -webkit-box-shadow: 5px -25px 20px 20px rgba(10, 20, 19, 0.5) !important;
    box-shadow: 5px -25px 20px 20px rgba(10, 20, 19, 0.5) !important;
}

.m-header--minimize-on .m-header,
.m-header--minimize-on .m-header .m-header__bottom {
    background-color: #f8f9fa !important;
    -webkit-box-shadow: 0px 0px 0px 0px rgba(10,20,20,0.5) !important;
    box-shadow: 0px 0px 0px 0px rgba(10,20,20,0.5) !important
}

    .m-header--minimize-on .m-header .m-header__bottom .nav-link,
    .m-header--minimize-on .m-header .m-header__bottom .m-topbar__welcome,
    .m-header--minimize-on .m-header .m-header__bottom .m-topbar__username {
        color: #152c3d !important
    }

.m-aside--offcanvas-default .m-header,
.m-aside--offcanvas-default .m-header .m-header__bottom {
    background-color: transparent !important;
    -webkit-box-shadow: inset 0px 40px 30px 0px rgba(10,20,20,0.3) !important;
    box-shadow: inset 0px 40px 30px 0px rgba(10,20,20,0.3) !important
}

.m-header--minimize-on .m-header .m-header__bottom .img_logo2 {
    content: url('../../../images/logo/logo_horizontal.png') !important;
}
/*****/
.m-header--minimize-on .m-header,
.m-header--minimize-on .m-header .m-header__bottom {
    /*background-color: #0f7f97 !important;*/
    -webkit-box-shadow: 0px 0px 0px 0px rgba(10,20,20,0.5) !important;
    box-shadow: 0px 0px 0px 0px rgba(10,20,20,0.5) !important
}

.m-aside--offcanvas-default .m-scroll-top--shown .m-header--minimize-off .m-header .m-header__bottom {
    background-color: blue !important;
}
/*SUBIENDO*/
/*.m-aside--offcanvas-default .m-scroll-top--shown .m-header--minimize-off*/
/*ARRIBA*/
/*.m-aside--offcanvas-default .m-header--minimize-off*/
/*m-scroll-top--shown m-header--minimize-off*/
.m-scroll-top--shown .m-header--minimize-off .m-header__top {
    -webkit-box-shadow: 5px 25px 20px 20px rgba(20, 20, 19, 0.5) !important;
    box-shadow: 5px 25px 20px 20px rgba(20, 20, 19, 0.5) !important;
}

.m-header .m-header__bottom .m-topbar__welcome,
.m-header .m-header__bottom .m-topbar__username {
    padding: 6.5px;
}

    .m-header .m-header__bottom .m-topbar__welcome:hover,
    .m-header .m-header__bottom .m-topbar__username:hover,
    .m-header .m-header__bottom .navbar .navbar-nav .nav-item .nav-link:hover {
        transition: color 0.3s ease;
        color: #b3a76c;
        box-shadow: 0 3px 0 0 #b3a76c;
    }

.m-info-list {
    color: #FFF;
    display: flex;
    margin: 0;
    padding: 0;
    flex-direction: row;
    height: 100%;
    justify-content: space-between;
    align-items: center;
}

.m-topbar--left {
    float: left;
}

.m-info-list__item {
    list-style: none;
    display: flex;
    flex-direction: row;
    background-color: transparent
}

    .m-info-list__item .m-info-list__item-badge {
        margin-right: 10px;
        display: flex;
        align-items: center;
        background-color: transparent
    }

        .m-info-list__item .m-info-list__item-badge a {
            color: #898b96;
            background-color: transparent
        }


.carousel-products-owl img {
    display: unset !important;
}

.carousel-products-owl .owl-nav .owl-prev:hover,
.carousel-products-owl .owl-nav .owl-next:hover {
    background-color: whitesmoke;
}

.carousel-products-owl .owl-nav .owl-prev:hover,
.carousel-products-owl .owl-nav .owl-next:hover {
    background-color: #0f1d29;
}



.carousel-testimonies-owl img {
    display: unset !important;
}

.carousel-testimonies-owl .owl-nav .owl-prev:hover,
.carousel-testimonies-owl .owl-nav .owl-next:hover {
    background-color: whitesmoke;
}

.carousel-testimonies-owl .owl-nav .owl-prev:hover,
.carousel-testimonies-owl .owl-nav .owl-next:hover {
    background-color: #0f1d29;
}

.m-main-carousel__indicators-page, .m-main-carousel__indicators-total {
    color: white
}


.show-read-more .more-text {
    display: none;
}

.m-section {
    margin: 0;
    min-height: 30vh;
}
/**************/
/*.circle {
    padding: 13px 20px;
    border-radius: 50%;
    background-color: #dfe8ef;
    color: #fff;
    max-height: 50px;
    z-index: 2;
}*/
.lc-step-title {
    color: #1b969b;
    font-weight: bold;
    font-family: 'SourceSansProBold';
    font-size: 35px
}

.lc-step-number {
    color: #dfe8ef;
    font-size: 35px
}

.how-it-works {
    padding: 30px
}

    .how-it-works.row .col-2 {
        align-self: stretch;
    }

        .how-it-works.row .col-2::after {
            content: "";
            position: absolute;
            border-left: 3px solid #dfe8ef;
            z-index: 1;
        }

        .how-it-works.row .col-2.bottom::after {
            height: 50%;
            left: 50%;
            top: 50%;
        }

        .how-it-works.row .col-2.full::after {
            height: 100%;
            left: calc(50% - 3px);
        }

        .how-it-works.row .col-2.top::after {
            height: 50%;
            left: 50%;
            top: 0;
        }


.timeline div {
    padding: 0;
    height: 40px;
}

.timeline hr {
    border-top: 3px solid #dfe8ef;
    margin: 0;
    top: 17px;
    position: relative;
}

.timeline .col-2 {
    display: flex;
    overflow: hidden;
}

.timeline .corner {
    border: 3px solid #dfe8ef;
    width: 100%;
    position: relative;
    border-radius: 15px;
}

.timeline .top-right {
    left: 50%;
    top: -50%;
}

.timeline .left-bottom {
    left: -50%;
    top: calc(50% - 3px);
}

.timeline .top-left {
    left: -50%;
    top: -50%;
}

.timeline .right-bottom {
    left: 50%;
    top: calc(50% - 3px);
}


.owl-prev, .owl-next {
    top: 20%;
}

.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span {
    background: #1b969b !important;
    transform: scale(1.2)
}

.owl-theme .owl-dots .owl-dot span {
    margin: 5px 3px;
}

.loading {
    text-align: center;
    padding: 20px;
    font-size: 1.1rem;
    color: #666;
}

/*--------------------------NOSOTROS---------------------*/
#about .badge {
    letter-spacing: .08em;
}

@media (max-width: 576px) {
    #about h1 {
        font-size: 1.6rem;
    }

    #about .lead {
        font-size: 1rem;
    }
}
#about {
    color: #2C3E4F; /* Texto principal en Gris Antracita */
}

    #about h1,
    #about h2,
    #about h3,
    #about strong {
        color: #2C3E4F; /* Titulares y negritas en Gris Antracita */
    }

    #about h1 {
        display: inline-block;
        padding-bottom: 5px;
        margin-bottom: 20px;
    }

    #about .card {
        background-color: #fff;
        border-left: 5px solid #007D5E; /* Línea verde esmeralda lateral */
        transition: transform 0.2s ease-in-out;
    }

        #about .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 15px rgba(0,0,0,0.1);
        }

    #about i {
        color: #007D5E; /* Íconos en verde esmeralda */
    }

    #about .lead {
        color: #2C3E4F; /* Descripción en gris antracita */
    }

    #about ul li strong {
        color: #2C3E4F;
    }

.btn.btn-default, .btn.btn-secondary, banner{
    background: #21252900;
    border-color: #ebedf2;
}


/* ===== Products ===== */
.products-quote {
    font-style: normal;
    color: #2C3E4F;
    margin-top: 6px;
    position: relative;
}

.products-card {
    background: transparent;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.products-avatar img {
    width: 220px; /* ajusta el tamaño a lo que quieras */
    height: 220px;
    border-radius: 12px; /* esquinas suaves cuadradas */
    object-fit: cover;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    margin: 0 auto;
}


/* ===== Testimonios ===== */
.portal-testimonials .portal-title-left {
    padding-left: 0; /* opcional: alinea con el container */
}

.testimonial-card {
    background: transparent;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.testimonial-avatar img {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.testimonial-name {
    font-family: 'SourceSansProBold';
    font-size: 18px;
    margin: 8px 0 0 0;
    color: #152c3d;
    text-transform: uppercase;
    line-height: 1.2;
}

.testimonial-rating {
    font-size: 14px;
    color: #384854;
}

.testimonial-score {
    font-family: 'SourceSansProBold';
    margin-right: 8px;
    color: #152c3d;
}

.fa-star.checked {
    color: orange; /* ya lo tienes; lo repetimos por claridad local */
}


.testimonial-quote {
    font-style: italic;
    color: #2C3E4F;
    margin-top: 6px;
    position: relative;
}

    .testimonial-quote i.fa-quote-left {
        margin-right: 6px;
        opacity: 0.6;
    }

    .testimonial-quote i.fa-quote-right {
        margin-left: 6px;
        opacity: 0.6;
    }

/* Aseguramos que sobrescriba Metronic */
.portal-testimonials .testimonial-header {
    text-align: left;
    margin-bottom: 2rem;
}

.portal-testimonials .testimonial-title {
    font-size: 1rem !important; /* pequeño, estilo etiqueta */
    font-weight: 700 !important;
    color: #2c3e50 !important;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
    display: block;
}

.portal-testimonials .testimonial-subtitle {
    font-size: 1.6rem !important;
    font-weight: 700 !important;
    color: #2c3e50 !important;
    margin: 0;
}

/* Responsivo */
@media (max-width: 768px) {
    .portal-testimonials .testimonial-title {
        font-size: 0.9rem !important;
    }

    .portal-testimonials .testimonial-subtitle {
        font-size: 1.3rem !important;
    }
}




/* Avatar  y seguro */
.portal-testimonials .testimonial-avatar {
    width: 110px;
    height: 110px;
    margin: 0 auto 12px;
    border-radius: 8px !important;
    overflow: hidden; /* recorta en círculo */
    flex-shrink: 0;
}

    .portal-testimonials .testimonial-avatar img {
        width: 100% !important;
        height: 100% !important;
        border-radius: 0 !important;
        overflow: hidden;
        object-fit: cover !important; /* rellena sin deformar */
        display: block;
    }


.owl-carousel .owl-nav button.owl-prev, .owl-carousel .owl-nav button.owl-next, .owl-carousel button.owl-dot {
    background: #2C3E4F;
    color: #212529b3;
    border: none;
    padding: 0 !important;
    font: inherit;
}


/* Estilos de la franja */
/* Franja */
.logo-strip {
    background-color: #fff;
    width: 100%;
    padding: 25px 0;
}

    .logo-strip .container {
        max-width: 100%;
        padding: 0 30px;
    }

    .logo-strip .logos {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 40px; /* más compacto */
        flex-wrap: wrap;
    }

        .logo-strip .logos img {
            max-height: 65px; /* antes 80px */
            max-width: 120px; /* evita que los logos largos se desproporcionen */
            width: auto;
            object-fit: contain;
            transition: all 0.4s ease;
            filter: grayscale(100%); /* logos en blanco y negro */
            opacity: 0.7;
        }

            .logo-strip .logos img:hover {
                transform: scale(1.1);
                filter: grayscale(0%); /* recupera color */
                opacity: 1;
            }

/* Responsive */
@media (max-width: 992px) {
    .logo-strip .logos {
        gap: 30px;
    }

        .logo-strip .logos img {
            max-height: 55px; /* más pequeño en tablet */
            max-width: 100px;
        }
}

@media (max-width: 576px) {
    .logo-strip .logos {
        gap: 15px;
    }

        .logo-strip .logos img {
            max-height: 45px; /* más pequeño en móvil */
            max-width: 80px;
        }
}




.m-portlet.m-portlet--bordered {
    border: transparent;
}




/* Solo para el carrusel de productos */
.carousel-products-owl .owl-stage-outer {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.carousel-products-owl .owl-stage {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.carousel-products-owl .owl-item {
    margin-right: 0 !important; /* sin separación entre cards */
}

/* Asegura que el card no meta ancho extra */
.carousel-products-owl .item,
.carousel-products-owl .products-card,
.carousel-products-owl .m-portlet {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
}



/* Solo para el carrusel de productos */
.carousel-testimonies-owl .owl-stage-outer {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.carousel-testimonies-owl .owl-stage {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.carousel-testimonies-owl .owl-item {
    margin-right: 0 !important; /* sin separación entre cards */
}

/* Asegura que el card no meta ancho extra */
.carousel-testimonies-owl .item,
.carousel-testimonies-owl .testimonies-card,
.carousel-testimonies-owl .m-portlet {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
}


.carousel-products-owl .card,
.carousel-products-owl .card img {
    max-width: 100%;
    height: auto;
    object-fit: cover; /* para que no estire */
    box-sizing: border-box;
}

.owl-nav {
    position: absolute;
    top: 25%;
    width: 100%;
    transform: translateY(-20%);
    display: flex;
    justify-content: space-between;
    pointer-events: none; /* para que el área no bloquee clicks */
}

    .owl-nav button {
        background: none;
        border: none;
        pointer-events: auto; /* reactiva solo el botón */
    }

        .owl-nav button.owl-prev,
        .owl-nav button.owl-next {
            width: 30px;
            height: 30px;
            display: flex; /* flexbox */
            align-items: center; /* centra verticalmente */
            justify-content: center; /* centra horizontalmente */
            font-size: 10px; /* no necesario si usas <i> */
            line-height: normal; /* resetea el line-height */
            padding: 0;
        }

.owl-prev i,
.owl-next i {
    color: #ccc;
    font-size: 16px; /* ajusta aquí el tamaño real de la flecha */
}
