:root {
    --intro-padding: 300px;
}

#intro-text {
    width: 100%;
    background-color: #0d0d0d;
    color: #fff;
    position: relative;
    overflow: hidden;
}

#intro-text.white-background {
    background-color: white;
    color: black;
}

#intro-text.white-background.decorative-background::after {
    background-image: unset;
}

#intro-text.white-background .intro__content .link-btn {
    border-color: black;
}

#intro-text.white-background .intro__content {
    padding-top: var(--space-between-sections);
}

#intro-text.white-background .intro__content strong {
    font-family: var(--minor-font-family);
}

#intro-text.white-background .intro__badges {
    top: unset;
}

#intro-text.white-background .intro__badges img {
    height: 57px;
}

@media (max-width: 1024px) {
    #intro-text {
        margin-bottom: var(--space-between-sections);
    }
}

#intro-text.decorative-background::after {
    filter: invert(1);
    opacity: 14%;
    transform: translateY(50%);
}

.intro__image {
    z-index: 1;
    position: relative;
}

.intro__image .intro__image-background {
    width: 100%;
    height: 80vh;
    object-fit: cover;
    display: block;
    position: relative;
}

.intro__image .intro__image-background.casa-mendoza-background {
    height: 100vh;
}

.intro__image-overlay {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

/* Contenedor de botones */
.intro__image-overlay-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.intro__image-overlay-buttons a {
    color: white;
    border-color: white;
    font-size: var(--small-text-font-size);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    text-align: center;
    margin-top: unset;
    padding-block: 3px;
}

.intro__image-overlay-buttons a.reserve-table {
    background-color: white;
    color: black;
    padding-inline: 10px;
}

.intro__content {
    padding-bottom: var(--space-between-sections);
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    margin: 0 auto;
}

.gym .intro__content {
    padding-top: var(--space-between-sections);
}

.intro__description {
    width: calc(100% - 250px);
    max-width: 627px;
    margin-inline: auto;
    text-align: justify;
    z-index: 1;
}

.intro__heading {
    text-align: center;
    margin-bottom: 24px;
}

.intro__welcome {
    font-size: 14px;
    letter-spacing: 1px;
}

.intro__welcome.subtitle {
    margin-top: 45px;
    margin-inline: 63px;
    text-transform: uppercase;
    font-size: 18px;
    text-wrap: balance;
}

.intro__title {
    font-size: 22px;
    margin-inline: auto;
    margin-top: var(--space-between-sections);
    text-transform: uppercase;
    text-align: center;
    text-wrap: balance;
}

.intro__title strong {
    font-weight: 700;
}

.intro__stars {
    font-size: 22px;
}

.intro__content .link-btn {
    border: 1px solid white;
}

.intro__badges {
    position: absolute;
    right: 11%;
    top: 108px;
    display: flex;
    justify-content: end;
    gap: 24px;
}

.intro__badges a {
    display: flex;
    flex-direction: row;
}

.intro__badges img {
    height: 70px;
    object-fit: contain;
    filter: invert(1);
}

.intro__badges.spa {
    right: 16% !important;
    top: 52px !important;
}

.intro__badges.spa img {
    height: 56px;
}

@media (min-width: 1024px) {
    .intro__heading {
        margin-inline: 28px;
    }
}

@media (min-width: 767px) and (max-width: 1024px) {
    .intro__badges {
        right: 3%;
        top: 66px;
        gap: unset;
    }
}

/* Botón Lessons - Estilo largo y blanco */
.link-lessons {
    width: 100%;
    margin-top: var(--space-between-sections);
}

.link-lessons a {
    display: block;
    width: 100%;
    padding: 15px 20px;
    margin-top: unset;
    background-color: #fff;
    border: 1px solid #ddd;
    color: #333;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 14px;
    font-family: 'Poppins';
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.link-lessons a:hover {
    background-color: #f5f5f5;
    border-color: #bbb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.link-lessons a:active {
    background-color: #efefef;
}

/* Responsive - Tablet/Móvil */
@media (max-width: 992px) {
    .link-lessons {
        margin-top: var(--space-between-sections);
    }

    .link-lessons a {
        padding: 12px 16px;
        font-size: 13px;
    }
}

/* Responsive - Móvil pequeño */
@media (max-width: 576px) {
    .link-lessons {
        margin-top: var(--space-between-sections);
    }

    .link-lessons a {
        padding: 12px 16px;
        font-size: 12px;
    }
}

@media (max-width: 767px) {
    .intro__welcome.subtitle {
        margin-bottom: unset;
    }

    .intro__image .intro__image-background {
        height: 52vh;
    }

    .left-title {
        width: max-content;
        text-align: left;
        line-height: 20px;
        margin-top: 30px;
        font-size: 25px;
    }

    .intro__description {
        padding-inline: 15px;
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .intro__text {
        margin-top: 24px;
        order: 1;
    }

    .intro__badges {
        position: static;
        width: 100%;
        right: 0;
        justify-content: center;
        order: 1;
    }

    #intro-text.decorative-background::after {
        transform: scale(2) translateY(26%);
    }

}