/* Fuentes */
@font-face {
    font-family: 'Acumin';
    src: url('../../font/rehabimad/AcuminVariableConcept.otf.woff2');
}


/* Popup Notificación */

.notification-popup-container {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #73737375;
    justify-content: center;
    align-items: center;
    z-index: 100;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: none;
    visibility: hidden;
}

.notification-popup-container.popup-show {
    display: flex;
    opacity: 1;
    visibility: visible;
    }

.notification-popup-container-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 101;
}

.notification-popup {
    width: 585px;
    max-height: 820px;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: relative;
    background-color: white;
    padding-bottom: 20px;
}

.notification-popup > p:first-of-type {
    color: #4AACB1;
    text-align: center;
    font-size: 25px;
    font-style: normal;
    font-weight: 700;
}

.notification-popup > p:nth-of-type(2) {
     color: #037474;
     text-align: center;
     font-size: 25px;
     font-style: normal;
     font-weight: 700;
     max-width: 90%;
}

.notification-popup > p:nth-of-type(3) {
    color: #037474;
    text-align: center;
    font-size: 25px;
    font-style: normal;
    font-weight: 700;
}

.notification-popup > ul {
    max-width: 85%;
    color: #037474;
    margin-bottom: 30px;
    margin-top: 0;
    line-height: 30px;
    margin-right: 120px;
    margin-left: 120px;
    font-size: 17px;
}

.notification-popup > a {
    background: #FBBA33;
    padding: 14px 75px;
    border-radius: 10px;
    color: white;
    margin-bottom: 40px;
    text-decoration: none;
    font-size: 22px;
}

.notification-popup-video-container {
    width: 100%;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.notification-popup-video-container img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.notification-popup-video {
    width: 101%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
}

@media (max-width: 1440px) {
    .notification-popup{
        width: 470px;
    }
    /*
    .notification-popup-video-container {
        height: 250px;
    }
     */

    .notification-popup-video-container img{
        width: 100%;
        height: 100%;
    }

    .notification-popup > p:first-of-type {
        font-size: 23px;
        margin: 10px 20px;
    }

    .notification-popup > p:nth-of-type(2) {
        font-size: 23px;
        margin: 10px 20px;
    }

    .notification-popup > p:nth-of-type(3) {
        font-size: 23px;
        margin: 10px 20px;
    }

    .notification-popup > ul {
        line-height: 20px;
        margin-right: 40px;
        margin-left: 40px;
        font-size: 15px;
    }

    .notification-popup > a {
        font-size: 20px;
        padding: 10px 35px;
        margin-bottom: 10px;
    }
}


@media (max-width: 1000px) {
    .notification-popup {
        width: 400px;
    }

    .notification-popup > p:first-of-type {
        font-size: 18px;
        margin-right: 40px;
        margin-left: 40px;
    }

    .notification-popup > p:nth-of-type(2){
        font-size: 18px;
        padding-right: 40px;
        padding-left: 40px;
    }

    .notification-popup > p:nth-of-type(3){
        font-size: 18px;
    }
}

@media (max-width: 520px) {
    .notification-popup {
        padding-bottom: 0;
    }

    .notification-popup-video-container {
        height: 150px;
    }

    .notification-popup > p:first-of-type {
        margin: 25px 20px;
    }

    .notification-popup > p:nth-of-type(2) {
        padding-right: 20px;
        padding-left: 20px;
    }

    .notification-popup > p:nth-of-type(3) {
        margin-right: 0px;
        margin-left: 0px;
        padding-right: 20px;
        padding-left: 20px;
    }

    .notification-popup > a {
        font-size: 18px;
    }
}

@media (max-width: 450px) {
    .notification-popup {
        width: 85%;
    }

    .notification-popup-video-container img {
        height: 100%;
    }

    .notification-popup > ul {
        margin-right: 10px;
        margin-left: 10px;
        line-height: 25px;
        margin-bottom: 5px;
    }

    .notification-popup > p:nth-of-type(3) {
        margin-left: 0;
        margin-right: 0;
        font-size: 14px;
        margin-bottom: 10px;
    }

    .notification-popup > p:nth-of-type(2) {
        font-size: 14px;
        margin-bottom: 10px;
        margin-top: 0px;
    }

    .notification-popup > p:first-of-type {
        margin-bottom: 10px;
        margin-top: 10px;
        padding: 0 30px;
        margin-right: 5px;
        margin-left: 5px;
        font-size: 14px;
    }

    .notification-popup-video-container {
        height: 130px;
    }

    .notification-popup > a {
        padding: 10px 10px;
        margin-bottom: 15px;
        font-size: 15px;
    }

    .notification-popup > ul {
        font-size: 13px;
    }
}




/* Principal */

body {
    font-family: 'Acumin', serif;
    margin: 0;
}

h1, h2, h3, h4, h5 {
    font-family: 'Acumin', serif;
}

main {
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 1;
    background-color: transparent;
    overflow: hidden;
}

footer {
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 1;
}

.button-main {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    text-align: center;
    color: #FFF;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    border-radius: 10px;
    background-color: #FBBA33;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.button-main img {
    margin-left: 10px;
}

.button-main:hover {
    background-color: #F1890A;
}

.button-main-dark {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    text-align: center;
    color: #FFF;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    border-radius: 10px;
    background-color: #FBBA33;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.button-main-dark img {
    margin-left: 10px;
}

.button-main-dark:hover {
    background-color: #F1890A !important;
}

.button-main-dark img {
    transition: filter 0.3s ease;
}

.button-main-dark:hover img {
    filter: invert(44%) sepia(27%) saturate(366%) hue-rotate(33deg) brightness(92%) contrast(90%);
}

.floating-button {
    z-index: 50;
    display: flex;
    position: fixed;
    bottom: 30px;
    left: 20px;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid #ffffff;
    background: #4AACB1;
    box-shadow: #00000026 0 4px 8px 0;
    color: #FFF;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    padding: 11px 29px;
    width: fit-content;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.floating-button:hover {
    transform: translateY(-5px);
}

.floating-button img {
    margin-right: 10px;
}

@media (max-width: 900px) {
    .floating-button {
        padding: 0;
        height: 70px;
        width: 70px;
        align-items: center;
        border-radius: 50px;
        bottom: 20px;
        right: 20px;
    }

    .floating-button span {
        display: none;
    }

    .floating-button img {
        width: 40px;
        height: 40px;
        margin-left: 17px;
        margin-top: 3px;
    }
}


/* Menú de inicio */

.nav-bar-container {
    max-width: 1200px;
    width: 100%;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    right: 0;
    display: flex;
    flex-direction: column;
    z-index: 50;
    padding: 0 30px;
    box-sizing: border-box;
}

.sub-header {
    height: 50px;
    display: flex;
    justify-content: space-between;
    transition: height 0.3s ease;
}

.sub-header a {
    text-decoration: none;
    color: white;
    font-size: 10px;
}

.sub-header > div {
    display: flex;
    align-items: end;
    gap: 15px;
}

.sub-header > div:nth-of-type(2) img {
    width: 100%;
}

.sub-header-logos img {
    width: auto;
    height: 18px;
}

.sub-header-buttons {
    display: none;
    gap: 15px;
}

.sub-header-buttons > a {
    width: 130px;
    height: 35px;
    text-decoration: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.sub-header-buttons > a:nth-of-type(1) {
    background-color: #4AACB1;
    color: white;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.sub-header-buttons > a:nth-of-type(1):hover {
    background-color: white;
    color: #4AACB1;
}

.sub-header-buttons > a:nth-of-type(2) {
    background-color: #FBBA33;
    padding: 10px;
    box-sizing: border-box;
}

.sub-header-buttons > a:nth-of-type(2):hover {
    background-color: #F1890A;
}

.nav-language {
    color: white;
    font-size: 13px;
    font-weight: 200;
}

.nav-language a {
    color: white;
    font-size: 15px;
    font-weight: 200;
}

.nav-language a.active {
    font-weight: 500;
}

.nav-bar {
    height: 60px;
    padding: 15px 20px 15px 20px;
    display: flex;
    box-sizing: border-box;
    justify-content: space-between;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.70);
    margin-top: 15px;
    backdrop-filter: blur(10px);
}

.nav-logo {
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-logo img {
    margin-top: 5px;
    margin-right: 20px;
}

.nav-logo p {
    width: 95px;
    color: #3C8C8F;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    font-size: 18px;
}

.opened {
    backdrop-filter: blur(10px);
}

.nav-link {
    color: #3C8C8F;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    margin-left: 20px;
    line-height: normal;
}

.nav-link.active {
    font-weight: 700;
}

.nav-button-container {
    display: flex;
    justify-content: end;
    align-items: center;
    position: relative;
    border-left: 1px solid #3d8c8f;
}

.nav-button-floating-container {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 10px;
    top: 35px;
    height: 0;
    overflow: hidden;
    transition: height 0.5s ease;
}

.nav-button-container:hover .nav-button-floating-container {
    height: 190px;
}

.nav-bar > .nav-button-container:hover > a {
    background-color: rgba(255, 255, 255, 0);
}

.nav-button-container:hover .button-main > img {
    transform: rotate(-90deg);
}

.nav-button-container img {
    transition: transform 0.5s ease;
}

.nav-button-container > a {
    width: 110px;
    background-color: rgba(255, 255, 255, 0);
    color: #3C8C8F;
}

.nav-button-floating-container > a {
    width: 110px;
}

.nav-button-floating-container > a:nth-of-type(1) {
    margin-top: 20px;
}

.nav-button-floating-container > a:nth-of-type(3) {
    margin-bottom: 20px;
}

.nav-button-floating-container > a:hover {

}

.nav-responsive-button img {
    width: 20px;
}

.nav-responsive-button {
    display: none;
}

.header-mobile-menu-container {
    display: none;
    background-color: rgba(225, 225, 225, 0.4);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
    z-index: 40;
    backdrop-filter: blur(10px);
}

.nav-links > .nav-button-container {
    display: none;
}

@media (max-width: 1400px) {
    .nav-links {
        gap: 30px;
    }

    .nav-link {
        font-size: 12px;
    }

    .button-main {
        padding: 10px 20px;
        font-size: 16px;
    }

    .nav-bar {
        height: 55px;
        margin-top: 10px;
    }

    .nav-logo p {
        font-size: 14px;
    }

    .sub-header {
        height: 40px;
    }
}

@media (max-width: 950px) {
    .nav-links {
        flex-direction: column;
        align-items: end;
        position: fixed;
        right: 0;
        top: 70px;
        gap: 17px;
        display: none;
        background-color: rgba(255, 255, 255, 0.70);
        padding: 20px;
        z-index: 100;
        border-radius: 15px;
    }

    .nav-button-container {
        display: none;
        min-width: 0;
    }

    .nav-link {
        font-size: 17px;
    }

    .nav-responsive-button {
        display: flex;
        align-items: center;
        cursor: pointer;
    }

    .nav-bar {
        padding: 15px 30px 15px 30px;
        width: 100%;
    }

    .nav-bar > .nav-button-container {
        display: none;
    }
    
    .nav-links > .nav-button-container {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .nav-button-container {
        border: none;
    }

    .nav-button-container > a {
        width: 110px;
        background-color: #3C8C8F;
        color: white;
    }
}

@media (max-width: 550px) {
    .nav-bar-container {
        padding: 0 15px;
    }

    .nav-bar {
        margin-top: 15px;
    }

    .nav-links {
        right: 0;
        top: 65px;
    }

    .sub-header > div:nth-of-type(2) img {
        height: 14px;
    }

    .sub-header > div {
        gap: 10px;
    }

    .sub-header-buttons > a {
        width: 80px;
        height: 30px;
    }

    .sub-header-logos > a {
        width: 90px;
    }

    .sub-header-logos img {
        width: 100%;
        height: auto;
    }

    .nav-language a {
        font-size: 13px;
    }

    .sub-header-buttons > a:nth-of-type(1) {
        font-size: 13px;
    }

    .sub-header-buttons {
        gap: 10px;
    }
}

/* Footer */

footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px;
    margin: auto;
    background-color: #037474;
    color: white;
}

.footer-info {
    display: flex;
    max-width: 1600px;
    width: 100%;
    margin: auto;
}

.footer-info img {
    width: 250px;
}

.footer-info > div {
    width: 50%;
}

.footer-info > div:first-of-type {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 35px;
}

.footer-info > div:last-of-type {
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: space-between;
}

.footer-info h1 {
    color: #F5EDF7;
    font-size: 72px;
    font-weight: 500;
    line-height: 72px;
    margin: 0;
}

.footer-info > div:first-of-type p {
    color: #F5EDF7;
    font-size: 24px;
    font-weight: 300;
    line-height: 36px;
    max-width: 430px;
    margin: 0;
}

.footer-info > div:last-of-type p {
    color: #FFF;
    font-size: 20px;
    font-weight: 400;
    line-height: 32px;
    max-width: 250px;
    margin: 0;
}

.footer-logos {
    display: flex;
    gap: 20px;
    width: fit-content;
}

.footer-logos img {
    width: 30px;
    height: 30px;
}

.footer-banner {
    display: flex;
    flex-direction: column;
    max-width: 1600px;
    width: 100%;
    margin: 40px auto 0 auto;
    border-top: solid 1px #FFF;
    padding-top: 50px;
    gap: 50px;
}

.footer-banner > div:first-of-type {
    display: flex;
    gap: 40px;
    justify-content: space-between;
}

.footer-banner-section img {
    height: fit-content;
    box-sizing: content-box;
}

.footer-banner-section:nth-of-type(1) {
    width: 40%;
}

.footer-banner-section:nth-of-type(2) {
    width: 30%;
    justify-content: left;
}

.footer-banner-section:nth-of-type(2) > a {
    width: 50%;
}

.footer-banner-section:nth-of-type(3) {
    width: 30%;
}

.footer-banner-section {
    position: relative;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.footer-banner-section > label {
    color: #FFF;
    font-size: 12px;
    font-weight: 300;
    position: absolute;
    top: -20px;
    left: 0;
}

.footer-banner a {
    color: #FFF;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
}

.footer-banner a:hover {
    text-decoration: underline;
}

.footer-banner img {
    margin-left: auto;
    box-sizing: border-box;
    padding-right: 20px;
    max-height: 45px;
    width: 100%;
}

.footer-info-whatsapp {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #F5EDF7;
    font-size: 22px;
    font-weight: 300;
    line-height: 36px;
    text-decoration: none;
}

.footer-info-whatsapp:hover {
    text-decoration: underline;
}

.footer-info-whatsapp img {
    height: 26px;
}

.button-footer:hover {
    background-color: #3C8C8F;
    font-size: 26px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

footer .button-main {
    width: 150px;
    font-weight: 500;
    font-size: 22px;
}

footer .button-main:hover {
    background-color: white;
    color: #3C8C8F;
}

footer .footer-contacto {
    line-height: 1.3;
    font-weight: 300;
}

footer .footer-contacto a {
    color: #FFF;
    text-decoration: none;
    font-size: 22px;
}


@media (max-width: 1500px) {
    .footer-info h1 {
        font-size: 58px;
    }

    .footer-info > div:first-of-type p {
        font-size: 22px;
        line-height: 34px;
    }

    .footer-info > div:last-of-type p {
        font-size: 18px;
        line-height: 24px;
    }
}

@media (max-width: 900px) {
    .footer-info {
        flex-direction: column;
        gap: 50px;
        align-items: center;
    }

    .footer-info > div {
        width: 100%;
    }

    .footer-info-whatsapp {
        white-space: nowrap;
        font-size: 20px;
        gap: 10px;
    }

    .footer-info-whatsapp img {
        height: 30px;
    }

    .footer-banner {
        align-items: center;
    }

    .footer-banner img {
        margin-left: 0;
        margin-bottom: 40px;
    }

    .footer-info > div:last-of-type {
        align-items: baseline;
        gap: 15px;
    }

    .footer-logos {
        gap: 15px;
    }

    footer {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 70px 20px;
        margin: auto;
        background: #3C8C8F;
        color: white;
    }

    .footer-info > div:first-of-type {
        gap: 20px;
    }

    .footer-banner > div:first-of-type {
        flex-direction: column;
        gap: 40px;
    }

    .footer-banner-section:nth-of-type(1), .footer-banner-section:nth-of-type(2), .footer-banner-section:nth-of-type(3) {
        width: 100%;
    }

    .footer-banner-section > label {
        font-size: 16px;
        top: -30px;
        font-weight: 600;
    }

    .footer-banner > div:last-of-type {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
}

/* Chatobot */

.chatbot-button, #chatHeader, #sendButton, .user {
    background-color: #3C8C8F !important;
}

/* Save Date */

.save-date__container{
    background-color: #4AACB1;
    position: fixed;
    margin-left: 20px;
    top: 90%;
    z-index: 10;
    border-radius: 10px;
    display: flex;
    flex-direction: row;
    padding: 15px 30px;
    justify-content: center;
    gap: 5px;
    box-shadow: #00000059 1px 1px 9px 2px;
}

.save-date__link a{
    display: block;
    text-decoration: none;
    color: white;
    padding-top: 2px;
}

.responsive-image__mobile{
    display: none;
}

@media (max-width: 500px){
    .responsive-image__mobile{
        display: block;
    }

    .responsive-image{
        display: none;
    }
}

.save-date__text{
    padding-top: 3px;
}