/********** Template CSS **********/
:root {
    --primario: #004AAD;
    --secundario: #EA958B;
    --terciario: #B6D1F2;
    --cuarto: #FFD700;
    --quinto: #4380b4;
    --sexto: #4380b4;
    --white: #FAFAFA;
    --light: #FAFAFA;
    --dark: #333333;
    --fondo: #FAFAFA;
    --sales: #ffea5e;
    --greenCTA: #42d697;
}

@font-face {
    font-family: 'Angelina';
    src: url('../font/angelina_regular.ttf');
}

.body {
    background: var(--fondo) !important;
    font-family: 'Roboto', sans-serif !important;
    color: var(--secundario) !important;
}

.deco-0 {
    text-decoration: none !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
    color: var(--secundario);
}

h1,
.h1,
h2,
.h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
.h3,
h4,
.h4,
.fw-medium {
    font-weight: 600 !important;
}

h5,
.h5,
h6,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
}


/* TEXTO PALETA DE COLORES */
.text-primario {
    color: var(--primario) !important;
}

.text-secundario {
    color: var(--secundario) !important;
}

.text-terciario {
    color: var(--terciario) !important;
}

.text-cuarto {
    color: var(--cuarto) !important;
}

.text-quinto {
    color: var(--quinto) !important;
}

.text-sexto {
    color: var(--sexto) !important;
}

.text-sales {
    color: var(--sales) !important;
}

.text-greenCTA {
    color: var(--greenCTA) !important;
}

.text-fondo {
    color: var(--fondo) !important;
}

.text-dark {
    color: var(--dark) !important;
}

/* FONDO PALETA DE COLORES */
.bg-primario {
    background-color: var(--primario) !important;
}

.bg-secundario {
    background-color: var(--secundario) !important;
}

.bg-terciario {
    background-color: var(--terciario) !important;
}

.bg-cuarto {
    background-color: var(--cuarto) !important;
}

.bg-quinto {
    background-color: var(--quinto) !important;
}

.bg-sexto {
    background-color: var(--sexto) !important;
}

.bg-sales {
    background-color: var(--sales) !important;
}

.bg-greenCTA {
    background-color: var(--greenCTA) !important;
}

.bg-fondo {
    background-color: var(--fondo) !important;
}

.bg-dark {
    background-color: var(--dark) !important;
}

/* BOTONES FLOTANTES  */

.float-wsp {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 90px;
    right: 25px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
}

.my-float-wsp {
    margin-top: 14px;
}

.float-wsp:hover {
    color: #fff;
    transition: 0.2s;
}

.float-insta {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 160px;
    right: 25px;
    background: #EA0C5F;
    background: linear-gradient(0deg, #f6ba00 0%, #c0007a 100%);
    color: #ffffffe2;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
}

.my-float-insta {
    margin-top: 16px;
}

.float-insta:hover {
    color: #fff;
    transition: 0.2s;
}

.float-phone {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 230px;
    right: 25px;
    background-color: var(--dark);
    color: var(--secundario);
    border-radius: 50px;
    text-align: center;
    font-size: 27px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
}

.my-float-phone {
    margin-top: 18px;
    color: var(--white);
}

.float-phone:hover {
    -webkit-animation: headShake 1s;
    animation: headShake 1s;
}

.float-wsp:hover {
    -webkit-animation: headShake 1s;
    animation: headShake 1s;
}

.float-insta:hover {
    -webkit-animation: headShake 1s;
    animation: headShake 1s;
}

/* FONDO POCOLOCO */

.background--custom {
    background-color: #FFFFFF;
    width: 100vw;
    height: 100vh;
    position: absolute;
    overflow: hidden;
    z-index: -2;
    top: 0;
    left: 0;
}

canvas#canvas {
    z-index: 1;
    position: absolute;
    width: 100%;
    height: 60%;
    transform: rotate(-12deg) scale(2) translateY(-22%);
    --gradient-color-1: #FBDF48;
    --gradient-color-2: #4380B4;
    --gradient-color-3: #004AAD;
    --gradient-color-4: #EA958B;
    --gradient-speed: 0.000006;
}

/* =============================================================== */
/* ========== PAGINAS DE ERRORES DESARROLLO Y LANDING ============ */

/* ERROR 404 Y 500 */
.error-404 {
    min-height: 77vh;
}

.a-error {
    color: #4380b4;
}

.icon-404 {
    width: 22px !important;
    height: 22px !important;
    margin-left: 2px;
    margin-bottom: 4px;
}

.img-error {
    width: 100%;
}

/* LANDING PAGE */
.card {
    background: rgba(255, 255, 255, 0.47);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(7.4px);
    -webkit-backdrop-filter: blur(7.4px);
}

#landing {
    display: flex;
    justify-content: center;
    align-content: center;
}

.landing-text {
    color: rgb(21, 21, 21);
}

.landing-img {
    width: 250px;
}


/* BOTONES DE CONTACTO */
.rrss-btn {
    display: inline-block;
    width: 90px;
    height: 90px;
    background: var(--primario);
    margin: 10px;
    border-radius: 30%;
    box-shadow: var(--primario);
    color: var(--secundario);
    overflow: hidden;
    position: relative;
}

.rrss-btn i {
    line-height: 90px;
    font-size: 26px;
    transition: 0.2s linear;
}

.rrss-btn:hover i {
    transform: scale(1.3);
    color: var(--primario);
}

.rrss-btn::before {
    content: "";
    position: absolute;
    width: 120%;
    height: 120%;
    background: var(--secundario);
    transform: rotate(45deg);
    left: -110%;
    top: 90%;
}

.rrss-btn:hover::before {
    animation: aaa 0.7s 1;
    top: -10%;
    left: -10%;
}

@keyframes aaa {
    0% {
        left: -110%;
        top: 90%;
    }

    50% {
        left: 10%;
        top: -30%;
    }

    100% {
        top: -10%;
        left: -10%;
    }
}

/* ======== FIN PAGINAS DE ERRORES Y DESARROLLO =========== */
/* ======================================================== */

.brand {
    font-family: 'Angelina';
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primar--primario,
.btn-outline-primar--primario:hover {
    color: var(--light);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.fixed-top {
    transition: .5s;
}

.navbar-brand {
    font-family: 'Angelina';
}

.top-bar {
    height: 45px;
    color: var(--secundario);
    border-bottom: 1px solid rgba(53, 94, 252, .07);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    padding: 25px 15px;
    color: var(--secundario);
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--secundario);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid rgba(0, 0, 0, .07);
    }

    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: start;
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 3rem;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primario);
    border: 10px solid var(--primario);
}

.carousel-control-prev-icon {
    border-radius: 0 3rem 3rem 0;
}

.carousel-control-next-icon {
    border-radius: 3rem 0 0 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    padding-top: 12rem;
    padding-bottom: 6rem;
    background: url(../img/header.jpg) top left no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-weight: 500;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--terciario);
}

/* TITULOS */
.brand {
    font-size: 33px;
}

.titulo {
    font-family: 'Reem Kufi Fun', sans-serif;
    word-spacing: 10px;
}

.subtitulo {
    font-family: 'Reem Kufi Fun', sans-serif;
    word-spacing: 5px;
}

/*** Nosotros ***/
.nosotros-img {
    border-radius: 100px 0px 100px 0px;
}

/*** Servicios ***/
.servicios-item {
    width: auto;
    height: 23rem !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.bg-familiar-serv {
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3)), url(../img/servicios/servicio_familiar.webp) center;
}

.bg-civil-serv {
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3)), url(../img/servicios/servicio_civil.webp) center;
}

.bg-registro-serv {
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3)), url(../img/servicios/servicio_comercial.webp) center;
}


@media (max-width: 576px) {
    .servicios-item {
        height: 25rem !important;
    }
}

/* PUBLICACIONES RRSS */
.rrss-carousel {
    margin: 50px auto;
}

.rrss-carousel .item {
    text-align: center;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    background-color: #fff;
}

.rrss-carousel .thumbnail img {
    width: 100%;
}

.rrss-carousel .icon {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rrss-carousel .icon i {
    font-size: 24px;
    color: #fff;
}

.rrss-carousel .icon.instagram {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.rrss-carousel .icon.tiktok {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #000000;
}

.rrss-carousel .title {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: #fff;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px;
    border-radius: 15px;
}

@keyframes pulse-instagram {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(253, 89, 73, 0.7);
    }

    70% {
        transform: scale(1.3);
        box-shadow: 0 0 0 20px rgba(253, 89, 73, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(253, 89, 73, 0);
    }
}

.rrss-carousel .icon.pulse-instagram {
    animation: pulse-instagram 2s infinite;
}

@keyframes pulse-tiktok {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
    }

    70% {
        transform: scale(1.3);
        box-shadow: 0 0 0 20px rgba(253, 89, 73, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(253, 89, 73, 0);
    }
}

.rrss-carousel .icon.pulse-tiktok {
    animation: pulse-tiktok 2s infinite;
}

/* BANNER CTA */


/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {

    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {

    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-item .testimonial-text {
    background: var(--light);
    transform: scale(.8);
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--primario);
    transform: scale(1);
}

.testimonial-carousel .owl-item .testimonial-text *,
.testimonial-carousel .owl-item .testimonial-item img {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
    color: var(--light) !important;
}

.testimonial-carousel .owl-item.center .testimonial-text .testimonial-stars * {
    color: var(--cuarto) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item img {
    background: var(--primario) !important;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    color: var(--primario);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

/*** Contacto ***/
.bg-contacto {
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url(../img/contacto/bg_contacto.webp) center;
}

/*** Preguntas Frecuentes ***/
.faq-section {
    background: #fdfdfd;
    min-height: 100vh;
    padding: 10vh 0 0;
}

.faq-title h2 {
    position: relative;
    margin-bottom: 45px;
    display: inline-block;
    font-weight: 600;
    line-height: 1;
}

.faq-title h2::before {
    content: "";
    position: absolute;
    left: 50%;
    width: 60px;
    height: 2px;
    background: #E91E63;
    bottom: -25px;
    margin-left: -30px;
}

.faq-title p {
    padding: 0 190px;
    margin-bottom: 10px;
}

.faq {
    background: #FFFFFF;
    box-shadow: 0 2px 48px 0 rgba(0, 0, 0, 0.06);
    border-radius: 4px;
}

.faq .card {
    border: none;
    background: none;
    border-bottom: 1px dashed #CEE1F8;
}

.faq .card .card-header {
    padding: 0px;
    border: none;
    background: none;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

.faq .card .card-header:hover {
    background: rgba(233, 30, 99, 0.1);
    padding-left: 10px;
}

.faq .card .card-header .faq-title {
    width: 100%;
    text-align: left;
    padding: 0px;
    padding-left: 30px;
    padding-right: 30px;
    font-weight: 400;
    font-size: 15px;
    letter-spacing: 1px;
    color: #3B566E;
    text-decoration: none !important;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    cursor: pointer;
    padding-top: 20px;
    padding-bottom: 20px;
}

.faq .card .card-header .faq-title .badge {
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 14px;
    float: left;
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    border-radius: 100px;
    text-align: center;
    background: #E91E63;
    color: #fff;
    font-size: 12px;
    margin-right: 20px;
}

.faq .card .card-body {
    padding: 30px;
    padding-left: 35px;
    padding-bottom: 16px;
    font-weight: 400;
    font-size: 16px;
    color: #6F8BA4;
    line-height: 28px;
    letter-spacing: 1px;
    border-top: 1px solid #F3F8FF;
}

.faq .card .card-body p {
    margin-bottom: 14px;
}

@media (max-width: 991px) {
    .faq {
        margin-bottom: 30px;
    }

    .faq .card .card-header .faq-title {
        line-height: 26px;
        margin-top: 10px;
    }
}

/*** DERECHO CIVIL ***/
.bg-civil {
    background-image: url('../img/derechoCivil/hero-civil.webp');
    background-size: cover;
    background-position: center;
    height: 60vh;
}

.margin-top-banner-fix {
    margin-top: 120px;

}

.service-item {
    position: relative;
    border-radius: 8px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.service-item .service-img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 8px;
    overflow: hidden;
    z-index: -1;
}

.service-item .service-img img {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    object-fit: cover;
    border-radius: 10px;
}

.service-item .service-img::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .5);
    border-radius: 10px;
    z-index: 1;
}

.service-item .service-img::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transition: .5s ease-out;
    z-index: 2;
}

.service-item:hover .service-img::after {
    width: 0;
    left: auto;
    right: 0;
}

.service-item .service-text .service-icon {
    width: 140px;
    height: 140px;
    padding: 15px;
    margin-top: -70px;
    margin-bottom: 40px;
    background: #FFFFFF;
    border-radius: 140px;
    overflow: hidden;
    box-shadow: 0 0 60px rgba(0, 0, 0, .1);
}

.service-item .service-text h5,
.service-item .service-text p {
    transition: .5s;
}

.service-item:hover .service-text h5,
.service-item:hover .service-text p {
    color: #FFFFFF;
}

.service-item .service-text .btn {
    color: var(--secondary);
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .25);
}

.service-item .service-text .btn:hover {
    color: var(--dark);
    background: var(--secondary);
}

.imgBannerFix {
    margin-top: -50px;
    height: 400px;
}

@media (max-width: 1400px) {
    .imgBannerFix {
        margin-top: -86px;
        height: 400px;
    }
}

@media (max-width: 1200px) {
    .imgBannerFix {
        margin-top: -86px;
        height: 555px;
    }
}

/*** REGISTRO DE MARCA ***/
.hero-registro {
    display: flex;
    justify-content: start;
    align-items: center;
}

.bg-hero {
    background-image: url('../img/registro-de-marca/hero-registro.webp');
    background-size: cover;
    background-position: center;
    height: 60vh;
}

#proceso-registro .card {
    background-color: #fff;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

#proceso-registro .card-header {
    background-color: #fff;

}

#proceso-registro .card:hover {
    transform: translateY(-5px);
    box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.2);
}

/*** DERECHO FAMILIAR ***/
#servicios-derecho-familiar .card {
    width: 300px;
}

.bg-familiar {
    background-image: url('../img/derecho-familiar/hero-derecho-familiar.webp');
    background-size: cover;
    background-position: center;
    height: 60vh;
}

/*** TRABAJA CON NOSOTROS ***/
.glassy-card {
    background: rgba(236, 228, 231, 0.545);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(6.9px);
    -webkit-backdrop-filter: blur(6.9px);
    border: 1px solid rgba(239, 212, 223, 0.3);
}

/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    color: var(--light);
    background: var(--dark);
}

.copyright a {
    color: var(--light);
}

.copyright a:hover {
    color: var(--primario);
}

/* sweet alert pop up */
.swal2-confirm {
    border: 0;
    border-radius: 0.25em;
    background: initial;
    background-color: #004AAD!important; 
    color: #fff;
    font-size: 1em;
}


.swal2-cancel {

    border: 0;
    border-radius: 0.25em;
    background: initial;
    background-color: #EA958B!important; 
    color: #fff;
    font-size: 1em;
}
