/* Base CSS */

@import "../css/base/fonts.css";
@import "../css/base/reset.css";
@import "../css/base/tools.css";
@import "../css/base/variables.css";
@import "../css/components/main-header.css";
@import "../css/components/main-footer.css";
@import "../css/leaflet-map.css";

/* Main Styles */

.text-heading-site {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    margin: 60px auto;
    margin-top: 0;
    gap: 15px;
    position: relative;
    padding-top: 10px;
}

.text-heading-site .heading-site-title {
    font-size: clamp(24px , 4vw , 28px); 
    color: #223558;
    overflow: hidden;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    text-align: center;
    font-weight: 600;
    position: relative;
}

.text-heading-site .heading-site-subtitle {
    font-size: clamp(14px , 3vw , 16px);
    color: #88A0B7;
    width: 100%;
    max-width: 720px;
    overflow: hidden;
    display: -webkit-box !important;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    text-align: center;
    text-align-last: center;
    font-weight: 600;
    line-height: 35px !important;
}

.text-heading-site .heading-site-link {
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #223558;
    font-size: clamp(14px, 2vw, 16px);
    font-weight: 600;
    padding: 16px;
    border-radius: 15px;
}

/* Whatsapp Button */

.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    background: #253D45;
    box-shadow: 0px 4px 20px 0px #539C8A;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 5px;
    overflow: hidden;
    max-width: 75px;
    transition: opacity .5s ease, visibility .5s ease, transform .5s ease, max-width .5s ease;
    opacity: 1;
    visibility: visible;
}

.whatsapp-btn.hide {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-50%) translateX(20px);
}

.whatsapp-btn.open {
    max-width: 300px;
}

.whatsapp-btn .whatsapp-icon {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    background: #6ECEB7;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    margin-left: -8px;
    transition: margin-left .5s ease;
}

.whatsapp-btn.open .whatsapp-icon {
    margin-left: 0;
}

.whatsapp-btn .whatsapp-content {
    display: flex;
    max-width: 0;
    overflow: hidden;
    align-items: start;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    flex-grow: 1;
    padding-left: 0;
    opacity: 0;
    visibility: hidden;
    white-space: nowrap;
    transition: max-width .5s ease, opacity .5s ease, padding-left .5s ease;
}

.whatsapp-btn.open .whatsapp-content {
    max-width: 300px;
    padding-left: 20px;
    opacity: 1;
    visibility: visible;
}

.whatsapp-btn .whatsapp-content .whatsapp-text {
    font-size: 12px;
    font-weight: 700;
    color: #FFFFFF;
    text-align: right;
    text-align-last: right;
}

.whatsapp-btn .whatsapp-content .whatsapp-number {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.whatsapp-content .whatsapp-number a {
    font-size: 13px;
    font-weight: 800;
    color: #FFFFFF;
    direction: ltr;
    text-wrap: nowrap;
}

.whatsapp-content .whatsapp-number .number-separator {
    width: 1px;
    height: 10px;
    background: #efefef65;
}

/* All Media Queris Main Styles */

@media screen and (max-width: 992px) {
    .text-heading-site {
        margin-bottom: 30px;
    }
    .whatsapp-btn {
        right: 20px;
    }
}