/*
 Theme Name: OCEANO
 Theme URI: http://example.com/
 Author: By Poncho Estudio
 Author URI: http://example.com/
 Description: OCEANO RESTAURANT.
 Version: 1.0
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Tags: light, dark, two-columns
 Text Domain: mi-tema
*/


*,
*::before,
*::after {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

img,
picture,
video {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-size: cover;
}

ul,
li {
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
}

/* VARIABLES */
:root {
    /*COLORES*/
    --blue-900: #263a56;
    --blue-sub: #313F53;
    --blue-500: #4d6082;
    --blue-300: #a9c1d9;
    --blue-100: #d6e1ea;
    --sand: #f0e7d5;
    --sand-100: rgb(240, 231, 213, 0.6);
    --white: #fbfbfb;
    --black: #242424;
    --swiper-theme-color: #FBFBFB;
    /* Cambia a tu color deseado */

    /*FONTS*/
    --headings: "fino-sans", sans-serif;
    --paragraphs: "area-normal", sans-serif;
    --monospace: "orator-std", monospace;
    --ux: "quiet-sans", sans-serif;

    /*ROUNDED*/
    --rounded-4: 4px;
    --rounded-8: 8px;
    --rounded-12: 12px;
    --rounded-100: 50px;

    /*HEADINGS*/
    --h1-: 40px;
    --h2-: 32px;
    --h3-: 24px;

    /*PARAGRAPHS*/
    --sub-heading-: 1rem;
}


h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--headings);
    letter-spacing: 0.05px;
    margin-bottom: 0;
}

p {
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}

i {
    font-size: 24px;
}

body {
    max-width: 100vw;
    margin: 0 auto;
    position: relative;
    font-family: var(--paragraphs);
    font-weight: 400;
    color: var(--black);
    background-color: var(--white);
}

.max-width {
    width: 90vw;
    margin: 0 auto;
}

/* .padding-section {
    padding-block: 14vh;
} */

.margin-section {
    margin-block: 5vh;
}

.t-heading {
    font-family: var(--headings);
}

.t-paragraphs {
    font-family: var(--paragraphs);
}

.t-monospace {
    font-family: var(--ux);
    font-size: 14px;
    line-height: 100%;
    text-transform: uppercase;
}

.t-ux {
    font-family: var(--ux);
}

.font-size-custom-s {
    font-size: 0.875rem;
}

.font-size-custom-m {
    font-size: 1rem;
}

.font-size-custom-l {
    font-size: 1.5rem;
}

.font-size-custom-xl {
    font-size: 2rem;
}

.bg-custom-dark {
    background: linear-gradient(180deg, #FBFBFB 0%, #54647A 72.09%, #263A56 100%);
    /* background: linear-gradient(to left, #263A56, #FBFBFB, #263A56); */
}

.shadow-custom {
    box-shadow: 0px 225px 63px 0px rgba(0, 0, 0, 0.00), 0px 144px 58px 0px rgba(0, 0, 0, 0.01), 0px 81px 49px 0px rgba(0, 0, 0, 0.05), 0px 36px 36px 0px rgba(0, 0, 0, 0.09), 0px 9px 20px 0px rgba(0, 0, 0, 0.10);
}


/*--------------------------------------------------------------
# HEADER
--------------------------------------------------------------*/

.header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    background-color: var(--white);
}

.header__box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-block: 8px;
}

.header__logo {
    transition: transform 0.3s ease-in-out;
}

.header__logo:hover {
    transform: scale(1.1);
}

.header__logo-svg path {
    fill: var(--blue-900);
}

.nav__links {
    list-style: none;
    margin: 0;
    padding: 0;
    color: inherit;
    display: flex;
    gap: 24px;
}

.nav__links>li {
    display: block;
    position: relative;
}

.nav__links>li>a {
    text-decoration: none;
    font-family: var(--ux);
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: var(--blue-900);
}

.nav__links__item::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: var(--blue-900);
    transition: width 0.3s ease-in-out;
}

.nav__links__item:hover::before {
    width: 100%;
}

.cta-button {
    display: flex;
    min-height: 48px;
    padding-inline: 32px;
    justify-content: center;
    align-items: center;
    gap: 0.625rem;
    border: none;
    font-family: var(--ux);
    font-size: clamp(1rem, 0.946rem + 0.286vi, 1.125rem);
    letter-spacing: 1px;
    font-weight: 400;
    color: var(--white);
    background-color: var(--blue-900);
    border: 1px solid transparent;
    border-radius: var(--rounded-100);
    text-transform: uppercase;
}

.cta-button:hover {
    background-color: var(--white);
    color: var(--blue-900);
    border: 1px solid var(--blue-900);
    transition: all 0.3s;
}

.cta-button_inv {
    color: var(--blue-900);
    background-color: var(--white);
    border: 1px solid transparent;
}

.cta-button_inv:hover {
    background-color: var(--blue-900);
    color: var(--white);
    border: 1px solid var(--white);
    transition: all 0.3s;
}

.cta-button_inv_sand {
    color: var(--blue-900);
    background-color: var(--sand);
    border: 1px solid transparent;
}

.cta-button_inv_sand:hover {
    background-color: var(--blue-900);
    color: var(--sand);
    border: 1px solid var(--sand);
    transition: all 0.3s;
}

.cta-button-mobile {
    width: 100%;
}

.button-ghost {
    border: 1px solid var(--blue-900);
}

.a_button_mobile {
    display: flex;
    width: 100%;
}


.separador {
    width: 100%;
    height: 62px;
}

.contact__heading>p {
    font-size: var(--sub-heading-);
    font-style: normal;
    font-weight: 300;
    line-height: 160%;
}


/* HEADER MOBILE */

.hamburger-menu-btn,
.close-modal-btn {
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-menu-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal-btn {
    width: 48px;
    height: 48px;
}

.close-modal-btn-box {
    width: 100%;
    height: 100%;
    display: flex;
}

.menu__burger {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.menu__line {
    width: 32px;
    height: 2px;
    background-color: var(--blue-900);
    border-radius: 2px;
}

.close-modal-btn {
    position: absolute;
    top: 10px;
    right: 24px;
}

/* MODAL FULL SCREEN */
.fullscreen-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    background-color: var(--blue-900);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    transition: transform 0.5s ease-in-out;
    transform: translateY(-100%);
    z-index: 1000;
}

.fullscreen-modal.is-active {
    transform: translateY(0);
}


.header__modal__logo-container {
    width: 75vw;
    color: var(--sand);
}

.header__modal__logo {
    width: 100%;
    height: auto;
    display: block;
}

.modal-links {
    list-style: none;
    padding: 0;
    text-align: center;
}

.modal-links__item a {
    color: var(--sand);
    font-size: 2.5rem;
    text-decoration: none;
    font-family: var(--headings);
    text-align: center;
}

.cta-button-modal {
    width: 90vw;
}

.social-cta {
    width: 48px;
    height: 48px;
    cursor: pointer;
}

.social-cta svg {
    width: 36px;
    height: 36px;
    fill: var(--sand);
}

.nav__social {
    position: absolute;
    z-index: 99;
}

/* PROYECTO INICIO */

.contact {
    padding-top: calc(5rem + 4vw);
}

.header__logo {
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header__logo>svg {
    width: 100px;
    height: auto;
}

/*FORM*/

.form-container {
    font-size: 14px;
    border-radius: var(--rounded-12);
    background-color: var(--blue-100);
    border: 1px solid rgb(222, 222, 222);
}

.form-container:hover {
    transition: all 0.3s;
}

.form__title {
    font-size: var(--h2-);
}

.form-control textarea {
    color: var(--blue-500);
}

.form__card {
    color: var(--white);
    gap: 1rem;
    border-radius: var(--rounded-12);
    /* background-color: rgba(255, 255, 255, 0.5); */
    /* backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px); */
    background: var(--blue-900);
    border: 1px solid rgb(222, 222, 222);
}

.form__card:hover {
    transition: all 0.3s;
}

.form__card__line {
    height: 1px;
    width: 100%;
    background-color: var(--white);
}

.form__map-container {
    height: 15vw;
    min-height: 200px;
    border-radius: var(--rounded-12);
    overflow: hidden;
}

.form__map-container>iframe {
    width: 100%;
    height: 100%;
}

.wpcf7-form br {
    display: none;
}

.form__privacy-link {
    text-decoration: underline;
}


/*--------------------------------------------------------------
# HERO
--------------------------------------------------------------*/

.hero {
    width: 100%;
    height: 100vh;
    background: url(/img/varios/friends_with_drinks.webp) no-repeat center center;
    background-size: cover;
}

.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--white);
    z-index: 1;
}

.hero-content {
    position: absolute;
    z-index: 4;
    color: var(--white);
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    opacity: 1;
    will-change: opacity;
    width: 80%;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    gap: 5vh;
}

.hero-content div {
    color: var(--sand);
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    --grid-gap: 0px;
    gap: var(--grid-gap);
    z-index: 2;
    /* transform: scale(3); */
    transform-origin: center center;
    will-change: transform;
}

.grid-item {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--white);
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1);
}

.main-hero-img {
    transform: scale(1);
    will-change: transform;
}

.hero__scroll__down {
    z-index: 99;
    position: absolute;
    bottom: 48px;
    width: 100px;
    height: auto;
    opacity: 0.5;
    max-width: 100%;
    overflow: hidden;
}

.grid-overlay {
    transform-origin: center center;
    will-change: transform;
    backface-visibility: hidden;
    perspective: 1000px;
}



/*--------------------------------------------------------------
# VIDEO SECTION
--------------------------------------------------------------*/

.video__section {
    background: var(--blue-900);
}

.video-background {
    width: 100%;
    height: 100%;
    /* width: 100%;
    height: 50vh; */


    /* El 100% de la altura de la vista (viewport) */
    object-fit: cover;
    /* Cubre el contenedor sin distorsionarse */
    object-position: center center;
    /* Posiciona el video para que el centro sea visible */
}

/* --- */

/* Estilos específicos para desktop y pantallas grandes */
@media (min-width: 769px) {
    .video-background {
        height: 80vh;
    }
}

/*--------------------------------------------------------------
# Section - GENERAL
--------------------------------------------------------------*/

.section-title {
    font-family: var(--headings);
    font-size: var(--h1-);
    line-height: 100%;
}

.section-subtitle {
    font-family: var(--ux);
    font-size: 16px;
    color: var(--blue-500);
    text-transform: uppercase;

}

.section-subtitle-inverted {
    color: var(--blue-100);
}

.section-margin-bottom {
    margin-bottom: clamp(3rem, 1.5rem + 8vw, 7.5rem);
}

.section-margin-block {
    margin-top: clamp(3rem, 1.5rem + 8vw, 7.5rem);
    margin-bottom: clamp(1.5rem, 0.789rem + 3.789vi, 6rem);
}

.section-title-sand {
    color: var(--sand);
}



/*--------------------------------------------------------------
# SLIDER
--------------------------------------------------------------*/

.slider-container {
    width: 100%;
    height: 25vh;
    overflow: hidden;
    /* Oculta lo que está fuera de la vista */
}

.slider-track {
    display: flex;
    animation: scroll 30s linear infinite;
    width: calc(300px * 18);
    background-color: var(--blue-sub);
}

.slider-track img {
    height: 100px;
    /* Ajusta el tamaño de tus SVG aquí */
    width: 150px;
    /* Ajusta el ancho para el espaciado si es necesario */
    margin: 0 20px;
    flex-shrink: 0;
    /* Evita que las imágenes se encojan */
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-150px * 9));
    }
}

/*--------------------------------------------------------------
# CTA section
--------------------------------------------------------------*/

.cta__section {
    position: relative;
    height: auto;
    min-height: 60vh;
    overflow: hidden;
    color: white;
    z-index: 1;
    /* Asegura que el contenido quede por encima del fondo */
    background-image:
        linear-gradient(rgba(54, 53, 53, 0.4)),
        url(img/img-inside/inside01.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: scroll;
    display: flex;
    justify-content: center;
    align-items: center;
    /* border-radius: var(--rounded-12); */
}

/*--------------------------------------------------------------
# About section
--------------------------------------------------------------*/

.about__img {
    width: 50vw;
    height: 60vh;
}

.about__text-container {
    min-height: 30vh;
    padding: 5vw;
    position: relative;
}

.about__title {
    font-size: clamp(1.75rem, 1.642rem + 0.442vi, 2.25rem);
}

.carousel-inner {
    border-radius: var(--rounded-12);
}

/*--------------------------------------------------------------
# NOSOTROS
--------------------------------------------------------------*/

.about__bg {
    width: 100vw;
    height: 50vh;
    background-image: url(http://oceano-local.local/wp-content/uploads/gallery-04.webp);
    background-repeat: no-repeat;
}

.nosotros__logo {
    width: auto;
    height: 300px;
    background-color: var(--black);
    mask: url(https://oceanomalaga.com/wp-content/uploads/nosotros__logo.png) no-repeat center;
    mask-size: contain;
}

.nosotros__img {
    border-radius: var(--rounded-4);
    overflow: hidden;
    width: auto;
    height: 100%;
}


/*--------------------------------------------------------------
# Gallery Section
--------------------------------------------------------------*/
.gallery {
    background-color: var(--white);
    /* padding: 5vh; */
}

.gallery .gallery-item {
    border: 3px solid transparent;
    overflow: hidden;
    border-radius: var(--rounded-12);
}

.gallery .gallery-item img {
    aspect-ratio: 2/1.5;
    transition: all ease-in-out 0.3s;
}

.gallery .gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-hidden {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

/* cuando se añade .show — aparece con transición */
.gallery-hidden.show {
    opacity: 1;
    transform: translateY(0);
}


/*--------------------------------------------------------------
# Review section
--------------------------------------------------------------*/

.review-section {
    background: var(--blue-900);
    padding-bottom: clamp(3rem, 1.5rem + 8vw, 7.5rem);
    color: var(--white)
}


/*--------------------------------------------------------------
# PAGE
--------------------------------------------------------------*/

.header__page {
    width: 100vw;
    height: 100vh;
    background: url(/img/cards/coffee.webp) no-repeat center center;
}


/*--------------------------------------------------------------
# LEGAL PAGE
--------------------------------------------------------------*/

.legal__container {
    margin-block: 20vh;
}


/*--------------------------------------------------------------
# FOOTER NUEVO
--------------------------------------------------------------*/

.footer__wrap {
    background-color: var(--blue-900);
    color: var(--white);
}

.footer__datos p,
span {
    font-family: var(--ux);
    text-transform: uppercase;
}

.footer__datos h4 {
    font-size: 32px;
}

.footer__datos__central {
    border-left: none;
    border-right: none;
}

.footer__social__icons {
    width: 32px;
    transition: all 0.3s;
}

.footer__social__icons:hover svg {
    fill: var(--blue-300);
    transition: all 0.3s;
}

.footer__social__icons svg {
    fill: var(--blue-900);
}


.footer__brand {
    background-color: var(--blue-900);
    width: 100%;
    bottom: 50%;
}

.footer__wrap a:hover {
    color: var(--blue-300);
}

.footer__legales a:hover {
    text-decoration: underline;
}

.footer__mini__fonts {
    font-size: 16px;
}


/*--------------------------------------------------------------
# WHATSAPP BUTTON
--------------------------------------------------------------*/

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 24px;
    right: 16px;
    background-color: var(--sand);
    color: var(--blue-900);
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 1px 1px 1px #616161;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.whatsapp-float i {
    font-size: 36px;
}

.whatsapp-float:hover {
    background-color: var(--blue-300);
    color: var(--blue-900);
    text-decoration: none;
}


/*--------------------------------------------------------------
# SEPARADOR
--------------------------------------------------------------*/

.page__separator {
    width: 100%;
}

/*--------------------------------------------------------------
# MENU PAGE
--------------------------------------------------------------*/

.menu-page__container {
    background: var(--white);
}

.menu-page-top {
    padding-top: calc(5rem + 4vw);
    /* color: var(--sand); */
}

.menu__card-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.menu__card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    overflow: hidden;
    border-radius: var(--rounded-12);
}

.menu__card-img {
    position: relative;
}

.menu__card-img img {
    width: 100%;
    aspect-ratio: 16/9;
    height: 30vh;
    display: block;
    object-fit: cover;
    transition: all 0.3s;
}

.menu__card-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    z-index: 1;
}

.menu__card-content {
    position: absolute;
    padding: 1.5rem;
    bottom: 0;
    color: var(--white);
    z-index: 2;
    display: flex;
    justify-content: start;
    align-items: center;
    width: 100%;
    gap: 1.5rem;
}

/* .menu__card-text {
    padding-left: 1.5rem;
} */

.menu__card-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.menu__card-button {
    width: fit-content;
    height: 60px;
    padding: 1rem 1rem 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--sand);
    /* backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px); */
    z-index: 3;
    color: var(--blue-900);
    border-radius: 0 0 0 8px;
}

.menu__card-button span {
    opacity: 1;
    font-family: var(--headings);
    font-size: 24px;
}

.menu__card-logo-ana {
    top: 0;
    left: 0;
    padding: 1rem;
    background-color: rgba(38, 58, 86, 0.9);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-bottom-right-radius: var(--rounded-8);
}

.menu__card-logo-ana img {
    height: 32px;
}

.menu__card-cta,
.menu__card-arrow-lg {
    display: none;
}

.menu__card__ilustration {
    width: 200px;
    height: 200px;
    background-color: var(--white);
    mask-image: url('img/ilustraciones/cafe.png');
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
}

.menu__card__ilustration-food {
    mask-image: url('img/ilustraciones/tinto_verano.png');
}

.menu__card__ilustration-tardeo {
    mask-image: url('img/ilustraciones/frappe.png');
}

.menu__card__ilustration-cocktails {
    mask-image: url('img/ilustraciones/ilustration_cocktail.png');
}

.menu__card__ilustration__black {
    background-color: var(--blue-100);
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 220px;
    z-index: -1;
}

.menu__card__ilustration__cafe {
    width: 250px;
    height: 250px;
}

/*--------------------------------------------------------------
# LOADER
--------------------------------------------------------------*/

/* Estilos adicionales para la barra de progreso */

#loading-percentage {
    font-size: 1.5rem;
    color: var(--white);
    /* Color del texto del porcentaje */
    margin-bottom: 16px;
}

#progress-bar {
    width: 200px;
    height: 8px;
    background-color: var(--sand);
    border-radius: 4px;
    overflow: hidden;
    /* Importante para que el indicador se quede dentro */
}

#progress-indicator {
    height: 100%;
    width: 0%;
    /* Empezamos en 0% */
    background-color: var(--blue-500);
    /* Color de la barra de progreso */
    transition: width 0.3s ease-out;
    /* Animación suave del progreso */
}

/* El resto de tu CSS anterior para #preloader, .hide-preloader, etc., debe permanecer. */

/* Estilo para el contenedor del pre-loader */
#preloader {
    position: fixed;
    /* Fijo para cubrir toda la ventana */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--blue-900);
    /* Color de fondo, ej: blanco */
    display: flex;
    /* Para centrar el spinner */
    justify-content: center;
    align-items: center;
    z-index: 9999;
    /* Asegura que esté por encima de todo */
    transition: height 0.5s ease;
    /* Transición suave para ocultarlo */
}

/* Estilo para el spinner (ejemplo de un spinner simple) */
.spinner {
    border: 5px solid #f3f3f3;
    /* Color claro del borde */
    border-top: 5px solid #3498db;
    /* Color del borde que gira (azul) */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    /* Animación de giro */
}

/* Animación de giro */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Clase para ocultar el loader */
.hide-preloader {
    height: 0;
    visibility: hidden;
}


/*--------------------------------------------------------------
# PÁGINA DE PRIVACIDAD
--------------------------------------------------------------*/

.privacy__container p {
    margin-bottom: 16px;
}

.privacy__container h1, h2 {
    margin-bottom: 24px;
}

.privacy__container a {
    text-decoration: underline;
}


/*--------------------------------------------------------------
# MEDIA QUERIES
--------------------------------------------------------------*/

@media (min-width: 576px) {}

@media (min-width: 768px) {
    :root {
        --h1-: 54px;
        --h2-: 32px;
        --h3-: 24px;

        /*PARAGRAPHS*/
        --sub-heading-: 1rem;
    }

    .header__logo>svg {
        width: 164px;
        height: auto;
    }

    .nav__links>li>a {
        font-size: 1rem;
    }

    .heading-1 {
        font-size: var(--h1-);
    }

    .separador {
        /* height: 82px; */

        height: 300px;
    }

    .menu__card-button i {
        font-size: 24px;
    }

    .menu__card-logo-ana img {
        height: 32px;
    }

}

@media (min-width: 992px) {
    .menu__card__ilustration__black {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 320px;
        height: 320px;
        z-index: -1;
    }

    .footer__datos__central {
        border-left: 1px solid var(--white);
        border-right: 1px solid var(--white);
    }

    .menu__card__ilustration__black {
        background-color: var(--blue-100);
        position: absolute;
        top: 50%;
        left: 65%;
        transform: translate(-50%, -50%);
        width: 500px;
        height: 500px;
        z-index: -1;
    }

    .a_button_mobile {
        display: flex;
        width: auto;
    }

    .mb-lg-6 {
        margin-bottom: 64px !important;
    }

    .cta-button-mobile {
        width: auto;
    }

    .header__box {
        padding: 16px;
    }

    /*HEROE*/
    .hero-content {
        position: absolute;
        z-index: 4;
        color: var(--white);
        text-align: center;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        opacity: 1;
        will-change: opacity;
        width: 60%;
        height: auto;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        display: flex;
        flex-direction: column;
        gap: 5vh;
    }

    /* FIN HEROE*/

    .menu__card-img img {
        width: 100%;
        aspect-ratio: 4/3;
        height: 60vh;
        display: block;
        object-fit: cover;
        transition: all 0.3s;
    }

    .menu__card-button {
        transition: opacity 0.3s ease 0.3s, transform 0.3s ease, width 0.5s ease, height 0.5s ease;
        /* z-index: 1; */
        width: 60px;
        padding: 1rem;
    }

    .menu__card-button span {
        width: 0;
        opacity: 0;
        font-family: var(--headings);
        font-size: 90px;
        color: var(--blue-100);
        z-index: 5;
    }

    .menu__card:hover .menu__card-img img {
        transform: scale(1.1);
        transition: transform 0.3s ease;
    }

    .menu__card:hover .menu__card-button {
        width: 100%;
        height: 100%;
        background: rgba(38, 58, 86, 0.35);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }

    .menu__card:hover .menu__card-button span {
        width: auto;
        opacity: 0;
        transition: opacity 0.3s ease 0.1s;
    }

    .menu__card:hover .menu__card-button i {
        display: none;
    }

    .menu__card-cta {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1rem;
        position: absolute;
        bottom: -15%;
        left: 50%;
        transform: translateX(-50%);
        opacity: 0;
        z-index: 10;
        color: var(--white);
        transition: all 0.4s ease-out;
    }

    .menu__card-cta p {
        font-family: var(--headings);
        font-size: var(--h2-);
    }

    .menu__card-cta i {
        font-size: 80px;
    }

    .menu__card-gradient {
        height: 40%;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
        z-index: 1;
    }

    @keyframes ctaSlideInAndFadeIn {
        0% {
            bottom: -15%;
            opacity: 0;
            transform: translateX(-50%);
        }

        60% {
            bottom: 50%;
            opacity: 0;
            transform: translate(-50%, 50%);
        }

        100% {
            bottom: 50%;
            opacity: 1;
            transform: translate(-50%, 50%);
        }
    }

    .cta__section {
        background-attachment: fixed;
    }



    @media (min-width: 992px) {
        .menu__card:hover .menu__card-cta {
            animation: ctaSlideInAndFadeIn 0.8s ease-out forwards;
            bottom: 50%;
            transform: translate(-50%, 50%);
            opacity: 1;
        }
    }

    .menu__card-arrow-lg {
        display: block;
        padding: 12px;
        top: 0;
        right: 0;
        z-index: 6;
        opacity: 0;
    }

    .menu__card-arrow-lg i {
        font-size: 48px;
        color: var(--white);
    }

    .menu__card:hover .menu__card-arrow-lg {
        width: auto;
        opacity: 1;
        transition: opacity 0.3s ease 0.1s;
    }
}

@media (min-width: 1200px) {

    :root {
        --h1-: 64px;
        --h2-: 36px;
        --h3-: 32px;

        /*PARAGRAPHS*/
        --sub-heading-: 1.125rem;
    }

    .heading-1 {
        font-size: var(--h1-);
    }

    .nav__links {
        gap: 1.5rem;
    }

    .nav__links>li>a {
        font-size: 1.25rem;
        letter-spacing: 0.05rem;
    }

    .section-subheading {
        max-width: 70%;
        justify-self: center;
    }

    .section-subheading-50 {
        justify-self: left;
    }

}

@media (min-width: 1400px) {
    :root {
        --h1-: 72px;
        --h2-: 48px;
        --h3-: 40px;

        /*PARAGRAPHS*/
        --sub-heading-: 1.25rem;
    }
}

.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    z-index: 1;
    will-change: transform;
}

.hero-content {
    position: absolute;
    z-index: 4;
    color: white;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    opacity: 1;
    will-change: opacity;
    /* Mantiene esta optimización */
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    /* 5 columnas */
    grid-template-rows: repeat(5, 1fr);
    /* 5 filas */
    gap: 5px;
    /* <--- CAMBIO CLAVE: El gap es fijo y siempre 5px. No lo animamos con la variable */
    z-index: 2;

    /* --- CAMBIO CLAVE: Aumentar la escala inicial muchísimo más --- */
    transform: scale(8);
    /* <-- PRUEBA ESTE VALOR. Podría necesitar ser 10, 12, etc. */
    transform-origin: center center;
    will-change: transform;
    /* Mantiene esta optimización */
}

.grid-item {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #333;
    /* Color de seguridad para las celdas */
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1);
    /* <--- ESTO ES CRÍTICO. La imagen NO se escala aquí inicialmente */
    will-change: transform;
    /* Mantiene esta optimización */
}

/* ... (El resto de tu CSS para .section, .whatsapp-float, etc.) ... */



.menu-container {
    overflow: hidden;
}

.menu-merienda {
    width: 100%;
    height: 100vh;
    border: none;
}


/* swiper */

.img-fluid {
    width: 100%;
    height: 70vh;
    border-radius: var(--rounded-12);
}

/* Estilos para el icono de "siguiente" */
.swiper-button-next::after {
    content: "";
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="%23fff"><path d="M4.646 1.646a.5.5 0 01.708 0l6 6a.5.5 0 010 .708l-6 6a.5.5 0 01-.708-.708L10.293 8 4.646 2.354a.5.5 0 010-.708z"/></svg>');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    width: 1em;
    /* Ajusta el tamaño si es necesario */
    height: 1em;
    /* Ajusta el tamaño si es necesario */
}

/* Estilos para el icono de "anterior" */
.swiper-button-prev::after {
    content: "";
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="%23fff"><path d="M11.354 1.646a.5.5 0 010 .708L5.707 8l5.647 5.646a.5.5 0 01-.708.708l-6-6a.5.5 0 010-.708l6-6a.5.5 0 01.708 0z"/></svg>');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    width: 1em;
    /* Ajusta el tamaño si es necesario */
    height: 1em;
    /* Ajusta el tamaño si es necesario */
}

/* Oculta el contenido predeterminado de Swiper para que solo se vea el SVG */
.swiper-button-next::after,
.swiper-button-prev::after {
    content: "";
}