:root {
    --prim-color: #1e3b5c;
    --sec-color: #d8b983;
    --ter-color: #E8F4FF;
    --quat-color: #6599cd;
    --dark-color: #1D2127;
    --text-color: #565656;
    --disabled-color: #818181;
}

body {
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 1em;
    line-height: 26px;
    margin: 0;
}

h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1 {
    font-family: 'Poppins', sans-serif;
    margin-top: 0;
    margin-bottom: 0.4rem;
    line-height: 1.3;
    color: var(--dark-color);
    text-transform: none;
    font-weight: 600;

}

#header .header-nav.header-nav-sub-title .header-nav-main nav > ul > li > a {
    padding-right: 10px;
    padding-left: 10px;
    margin-left: 0.7rem;
    margin-right: 0.7rem;
    text-transform: none;
    font-size: 1em;
}

#header .header-nav.header-nav-sub-title .header-nav-main nav > ul > li > a > span, #header .header-nav.header-nav-sub-title-animated .header-nav-main nav > ul > li > a > span {
    font-size: .8em;
    text-transform: none;
    font-weight: normal;
    margin-top: -0.4rem;
    color: #777;
}

@media (min-width: 992px) {
    #header .header-nav-main nav > ul > li {
        padding-top: 1px;
    }
}

#header .header-logo {
    margin: 10px 0;
}

#header .header-nav-main nav > ul > li.dropdown .dropdown-menu li.active > a {
    background-color: #F1f1f1;
    color: var(--prim-color);
    font-weight: bold;
}

.sticky-header-active #header .header-body {
    -webkit-backdrop-filter: blur(30px);
    backdrop-filter: blur(30px);
    background: linear-gradient(white 0%, rgba(255, 255, 255, 0.5) 100%);
}


.grayscale {
    filter: grayscale(100%);
    opacity: 0.5;
}

.social-icons li:hover.social-icons-tiktok a {
    background: #FF0050 !important;
}

html .scroll-to-top {
    font-size: 1em;
    padding: 5px 10px 30px 10px;
    transform: translateX(-50%);
    margin: 0 50%;
    min-width: 54px;
    transition: opacity 0.3s;
    background: #404040;
    border-radius: 10px 10px 0 0;
}

/* Scrollbars */
.scrollbar {
    overflow-y: scroll;
    overflow-x: hidden;
}

.scrollbar::-webkit-scrollbar-track,
.textarea::-webkit-scrollbar-track,
.select::-webkit-scrollbar-track,
.quill-editor::-webkit-scrollbar-track {
    background-color: #f9f9f9;
}

.scrollbar::-webkit-scrollbar,
textarea::-webkit-scrollbar,
select::-webkit-scrollbar,
.quill-editor::-webkit-scrollbar {
    width: 6px;
    height: 6px;
    background-color: #f9f9f9;
}

.scrollbar::-webkit-scrollbar-thumb,
textarea::-webkit-scrollbar-thumb,
select::-webkit-scrollbar-thumb,
.quill-editor::-webkit-scrollbar-thumb {
    border-radius: 2px;
    background-color: #7f9ca9;
}

.scrollable-content ul > li {
    padding-right: 20px;
}

.quill-text p {
    margin: 0 0 10px 0;
    font-size: 90%;
    line-height: 1.4;
}

.btn-primary, .btn-secondary, .btn-quaternary {
    color: white;
}

.btn-tertiary {
    color: var(--prim-color);
}


/* Whatsapp icon */
.whatsapp-button {
    position: fixed;
    width: 84px;
    height: 36px;
    bottom: 15px;
    right: 20px;
    background-color: #25d366;
    color: #fff;
    border-radius: 30px;
    text-align: left;
    box-shadow: rgba(0, 0, 0, 0.2) 2px 2px 3px;
    z-index: 10;
    font-size: 14px;
}

.whatsapp-icon {
    margin-top: 6px;
    margin-left: 14px;
    font-size: 1.6em;
}

.bg-contact {
    background-image: url(../../img/elements/bg-watermark.png);
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
}

.word-rotator-words b {
    font-weight: 400 !important;
}

#map {
    position: relative;
}

#map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0); /* Transparente */
    cursor: pointer;
    z-index: 10; /* Asegura que esté sobre el mapa */
}

#footer .footer-copyright {
    border: 0;
    background: #333;
}

.card-item {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    border-radius: 5px;
    margin: 5px;
    border: 1px solid #cdcdcd;
    padding: 10px 10px 12px 10px;
    transition: all 0.3s ease;
}

.card-item:hover {
    -webkit-box-shadow: 1px 1px 4px 2px #dadada; /* Safari 3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
    -moz-box-shadow: 1px 1px 4px 2px #dadada; /* Firefox 3.5 - 3.6 */
    box-shadow: 1px 1px 4px 2px #dadada; /* Opera 10.5, IE 9, Firefox 4+, Chrome 6+, iOS 5 */
    position: relative;
    background-color: #fafafa;
    border: 1px solid #ccc;
    transform: translate(1px, -1px) perspective(1px);
}

.social-icons li:hover a {
    background: #151719;
    color: var(--light) !important
}

.social-icons li:hover.social-icons-twitter a {
    background: #1aa9e1 !important
}

.social-icons li:hover.social-icons-facebook a {
    background: #3b5a9a !important
}

.social-icons li:hover.social-icons-linkedin a {
    background: #0073b2 !important
}

.social-icons li:hover.social-icons-rss a {
    background: #ff8201 !important
}

.social-icons li:hover.social-icons-googleplus a {
    background: #dd4b39 !important
}

.social-icons li:hover.social-icons-pinterest a {
    background: #cc2127 !important
}

.social-icons li:hover.social-icons-youtube a {
    background: #c3191e !important
}

.text-youtube {
    color: #c3191e !important;
}

.social-icons li:hover.social-icons-instagram a {
    background: #7c4a3a !important
}

.social-icons li:hover.social-icons-skype a {
    background: #00b0f6 !important
}

.img-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    border: 3px solid #fff;
}

.pagination li .page-link {
    padding: 5px 8px !important;
    font-weight: bold;
    color: var(--prim-color);
}