:root {
    --primary-yellow: #f6b519;
    --bg-dark: #000000;
    --bg-light: #f9f9f9;
    --bg-footer: #0f1522;
    --text-dark: #1a1a1a;
    --text-gray: #666666;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth; 
}
body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: #ffffff;
    overflow-x: hidden;
}

/* --- HEADER & NAV --- */
header {
    background-color: rgba(0, 0, 0, 0.85); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);    
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); 
}

.logo {
    color: var(--primary-yellow);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    padding-bottom: 5px;
    position: relative; 
    transition: color 0.3s ease;
}
/* ANIMACIÓN DEL MENÚ: LÍNEA DESLIZANTE */

/* 1. Creamos la línea pero la ocultamos ajustando su ancho a 0 */
nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-yellow);
    transition: width 0.3s ease-out; 
}

/* 2. Cuando el usuario pasa el mouse, el color de la letra cambia y la línea crece */
nav a:hover {
    color: var(--primary-yellow);
}

nav a:hover::after {
    width: 100%; 
}

/* 3. Para la sección activa (la que marca el JS al hacer scroll) */
nav a.active {
    color: var(--primary-yellow);
}

nav a.active::after {
    width: 100%; 
}


/* --- ESTILOS DE LOS PUNTOS DEL SLIDER --- */
.hero-dots {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 30; 
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.4s ease;
}

.dot.active {
    background-color: var(--primary-yellow);
    width: 30px; 
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
/* --- HERO (CARRUSEL DE ANUNCIOS TIPO VENTANA) --- */
.hero-section {
    background-color: var(--bg-light); 
    background-image: none; 
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 5% 20px; 
    margin-top: 0; 
    margin-bottom: 0; 
}

/* 1. La Ventana Maestra */
.hero-slider {
    position: relative;
    width: 100%;
    max-width: 1400px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    overflow: hidden;
    will-change: transform;
}

/* 2. Todos los slides por defecto flotan y cubren el 100% de la ventana */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.hero-slide:first-child {
    position: relative; 
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* 4. Envoltorio e Imágenes */
.flyer-wrapper {
    width: 100%;
    height: 100%;
}

.flyer-bg {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover; 
    object-position: center top;
    transition: transform 0.1s ease-out;
}

.overlay-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none; 
}

/* TEXTOS Y BOTÓN (Alineación segura a la derecha) */
.hero-content {
    position: absolute;
    bottom: 10%;
    right: 8%; 
    z-index: 20;
    pointer-events: auto; 
}

.btn-pulse {
    display: inline-block;
    background-color: var(--primary-yellow);
    color: #000;
    padding: 15px 35px;
    font-family: var(--font-heading);
    font-weight: 800;
    text-decoration: none;
    border-radius: 30px;
    text-transform: uppercase;
    position: relative;
    top: -80px; 
    left: -70px;
}

/* ANIMACIONES (Solo actúan en la foto que estás viendo) */
.hero-slide.active .flyer-bg {
    animation: zoomFondo 5s infinite alternate linear;
}
@keyframes zoomFondo {
    0% { transform: scale(1); }
    100% { transform: scale(1.04); }
}

.hero-slide.active .btn-pulse {
    animation: palpitar 2s infinite;
}
@keyframes palpitar {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(246, 181, 25, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(246, 181, 25, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(246, 181, 25, 0); }
}

/* Imagen Transparente Animada */
.overlay-image-wrapper {
    position: absolute;
    width: clamp(200px, 40%, 600px); /* Tamaño que se adapta a pantallas grandes y chicas */
    bottom: 50%;
    left: 58%; /* Puesta a la izquierda para no chocar con el botón */
    opacity: 0;
    transform: translateX(150px);
    overflow: hidden; 
}

.overlay-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-slide.active .overlay-image-wrapper {
    animation: slideInRight 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: 0.3s; 
}
@keyframes slideInRight {
    0% { transform: translateX(200px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

/* Brillo de Luz */
.overlay-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    z-index: 10;
}
.hero-slide.active .overlay-image-wrapper::after {
    animation: shineGlare 1.5s ease-in-out forwards;
    animation-delay: 1.3s;
}
@keyframes shineGlare {
    0% { left: -150%; }
    100% { left: 200%; } 
}
/* --- TÍTULOS DE SECCIÓN --- */
.section-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #1a1a24;
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--primary-yellow);
    margin: 15px auto 0;
}

section {
    padding: 80px 5%;
}

/* --- PROPUESTAS --- */
.propuestas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ESTILOS DE LA TARJETA  */
.card-propuesta {
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15); 
    overflow: hidden; 
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Direcciones de entrada de las Tarjetas */
.card-propuesta:nth-child(1) { transform: translateX(-150px); transition-delay: 0s; }
.card-propuesta:nth-child(2) { transform: translateY(-150px); transition-delay: 0.2s; }
.card-propuesta:nth-child(3) { transform: translateX(150px); transition-delay: 0.4s; }

/* Estado Final de las Tarjetas */
.card-propuesta.show {
    opacity: 1;
    transform: translate(0, 0); 
}
.img-propuesta-full {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.4s ease; 
}
.card-propuesta.show:hover .img-propuesta-full {
    transform: scale(1.05);
}

/* Hover general de la tarjeta */
.card-propuesta.show:hover {
    box-shadow: 0 20px 40px rgba(246, 181, 25, 0.2); 
}

/* ESTILOS DE LA IMAGEN SUPERIOR */
.card-propuesta .img-header {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/*  EFECTO INERCIA DEL LOGO CIRCULAR  */
.card-propuesta .logo-circulo {
    width: 80px;
    height: 80px;
    background-color: #fff;
    border-radius: 50%;
    margin: -40px auto 15px;
    border: 4px solid #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
    object-fit: contain; 
    padding: 5px;
    opacity: 0;
    transition: opacity 0.5s ease-out, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card-propuesta:nth-child(1) .logo-circulo { transform: translateX(-80px); }
.card-propuesta:nth-child(2) .logo-circulo { transform: translateY(-80px); }
.card-propuesta:nth-child(3) .logo-circulo { transform: translateX(80px); }

/* TEXTOS OCULTOS INICIALMENTE */
.card-propuesta h3,
.card-propuesta p {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.card-propuesta h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.card-propuesta p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.6;
    padding: 0 25px;
}

/*  COREOGRAFÍA FINAL */

/* 1. Tarjeta Izquierda (MOAI) */
/* El logo alcanza la tarjeta a los 0.3s */
.card-propuesta:nth-child(1).show .logo-circulo {
    opacity: 1; transform: translate(0, 0); transition-delay: 0.3s;
}
/* Los textos aparecen a los 0.8s y 0.9s (justo cuando la tarjeta se detiene) */
.card-propuesta:nth-child(1).show h3 {
    opacity: 1; transform: translate(0, 0); transition-delay: 0.8s;
}
.card-propuesta:nth-child(1).show p {
    opacity: 1; transform: translate(0, 0); transition-delay: 0.9s;
}


/* 2. Tarjeta Centro (CUORE) - Todo ocurre 0.2s después que la anterior */
.card-propuesta:nth-child(2).show .logo-circulo {
    opacity: 1; transform: translate(0, 0); transition-delay: 0.5s;
}
.card-propuesta:nth-child(2).show h3 {
    opacity: 1; transform: translate(0, 0); transition-delay: 1.0s;
}
.card-propuesta:nth-child(2).show p {
    opacity: 1; transform: translate(0, 0); transition-delay: 1.1s;
}


/* 3. Tarjeta Derecha (TOP BRASAS) - Todo ocurre 0.4s después de la primera */
.card-propuesta:nth-child(3).show .logo-circulo {
    opacity: 1; transform: translate(0, 0); transition-delay: 0.7s;
}
.card-propuesta:nth-child(3).show h3 {
    opacity: 1; transform: translate(0, 0); transition-delay: 1.2s;
}
.card-propuesta:nth-child(3).show p {
    opacity: 1; transform: translate(0, 0); transition-delay: 1.3s;
}

/* EVENTOS */

#eventos {
    background-color: white;
}

.evento-banner {
    max-width: 1200px;
    margin: 0 auto 60px;
    border-radius: 20px;
    overflow: hidden;   
    cursor: pointer; 
}

.evento-banner img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}


.evento-banner:hover img {
    transform: scale(1.03); 
}

.marcas-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: #999;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 30px;
}

/*  CARRUSEL DE MARCAS  */
.carousel-container {
    display: flex;
    align-items: center;
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.marcas-grid {
    display: flex; 
    gap: 20px;
    overflow-x: auto;
    
    -ms-overflow-style: none;  
    scrollbar-width: none;  
    padding: 10px 0;
    width: 100%;
    white-space: nowrap;
}

/* Oculta scrollbar en Chrome, Safari y Opera */
.marcas-grid::-webkit-scrollbar {
    display: none; 
}

.marca-box {
    flex: 0 0 calc(25% - 15px); 
    min-width: 180px;
    scroll-snap-align: start;
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, border-color 0.3s, box-shadow 0.3s;
}
.marca-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; 
    filter: grayscale(100%) opacity(60%); 
    transition: filter 0.4s ease;
}

.marca-box:hover {
    transform: translateY(-5px);
    border-color: var(--primary-yellow);
    box-shadow: 0 8px 20px rgba(246, 181, 25, 0.15);
}
.marca-box:hover img {
    filter: grayscale(0%) opacity(100%);
}

.carousel-btn {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-gray);
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    transition: color 0.3s;
}

.carousel-btn:hover {
    color: var(--primary-yellow);
}

.prev-btn { left: 0; }
.next-btn { right: 0; }

@media (max-width: 900px) {
    .marca-box { flex: 0 0 calc(33.333% - 15px); } 
}
@media (max-width: 600px) {
    .marca-box { flex: 0 0 calc(50% - 15px); } 
}
@media (max-width: 400px) {
    .marca-box { flex: 0 0 100%; } 
}

/* --- UBICACIÓN --- */
#ubicacion {
    background-color: var(--bg-light);
}

.ubicacion-subtitle {
    text-align: center;
    color: var(--text-gray);
    max-width: 800px; 
    margin: -20px auto 50px;
    line-height: 1.6;
    font-size: 1.1rem; 
}

.ubicacion-card {
    display: flex;
    flex-wrap: wrap;
    background: #ffffff;
    border-radius: 25px; 
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    max-width: 1300px; 
    margin: 0 auto;
    overflow: hidden;
}

.mapa {
    flex: 1 1 500px;
    min-height: 600px;
}

.info-ubicacion {
    flex: 1 1 400px;
    padding: 70px; 
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-ubicacion h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem; 
    margin-bottom: 35px;
    letter-spacing: 1px;
}

.info-item {
    margin-bottom: 30px; 
}

.info-item h4 {
    color: var(--primary-yellow);
    font-family: var(--font-heading);
    font-size: 1.1rem; 
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-item p {
    color: var(--text-gray);
    margin-bottom: 0;
    line-height: 1.6;
    font-size: 1.1rem; 
}

.btn-llegar {
    background-color: #11141c;
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem; 
    text-align: center;
    text-decoration: none;
    padding: 18px; 
    border-radius: 40px;
    text-transform: uppercase;
    transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
    margin-top: 15px;
}

.btn-llegar:hover {
    background-color: var(--primary-yellow);
    color: #000;
    transform: translateY(-3px); 
    box-shadow: 0 10px 20px rgba(246, 181, 25, 0.3);
}

/* NUEVO FOOTER Y PRE-FOOTER */


.footer-wrapper {
    background-color: #0A4342; 
    color: #ffffff;
    border-radius: 50% 50% 0 0 / 100px 100px 0 0;
    margin-top: 20px;
    padding-top: 60px;
    font-family: var(--font-body);
}

/* SECCIÓN PRE-FOOTER  */
.pre-footer-app {
    padding: 0 5%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); 
    padding-bottom: 60px;
}

.app-container {
    max-width: 1400px; 
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}
/* Celular */
.app-phone {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    min-width: 250px;
}

.phone-img {
    max-width: 260px;
    height: auto;
    filter: drop-shadow(0 25px 30px rgba(0, 0, 0, 0.4)); 
    transform: rotate(-5deg);
    transition: transform 0.4s ease, filter 0.4s ease;
}

.phone-img:hover {
    transform: rotate(0deg) scale(1.05); 
    filter: drop-shadow(0 35px 45px rgba(0, 0, 0, 0.6));
}

/* Imagen de "Pedir opciones" */
.app-options {
    flex: 1.5;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    min-width: 300px;
}
.app-text-content {
    max-width: 800px; 
    text-align: left; 
    width: 100%;
}
.app-subtitle {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.app-title {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 800;
    margin-top: 5px;
    margin-bottom: 10px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.app-desc {
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #e0e0e0;
}

.action-group {
    display: inline-flex; 
    flex-direction: column; 
    align-items: center;
}

/* Contenedor de Iconos */
.order-methods {
    display: flex;
    justify-content: center; 
    gap: 70px; 
    margin-bottom: 25px; 
}

.method {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px; 
    transition: transform 0.3s ease, color 0.3s;
    cursor: pointer;
}

.method:hover {
    transform: translateY(-5px); 
    color: var(--primary-yellow); 
}

.method-icon {
    width: 75px; 
    height: 75px;
    object-fit: contain; 
    transition: transform 0.3s ease;
}

.method span {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff; 
}

/* Botón de Comenzar Pedido */
.btn-comenzar {
    display: inline-block;
    border: 2px solid #ffffff;
    color: #ffffff;
    background: transparent;
    padding: 12px 45px;
    border-radius: 40px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    transition: background 0.3s, color 0.3s, transform 0.3s;
}

.btn-comenzar:hover {
    background: #ffffff;
    color: #0A4342; 
    transform: scale(1.05);
}

/* Responsividad extra para esta sección */
@media (max-width: 1024px) {
    .app-title { font-size: 2.8rem; }
    .app-text-content { 
        text-align: center; 
        display: flex; 
        flex-direction: column; 
        align-items: center; 
    }
    .order-methods { gap: 30px; }
}

.options-img {
    max-width: 100%;
    height: auto;
}

/* FOOTER PRINCIPAL  */
.main-footer {
    padding: 60px 5% 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid-pro {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1.5fr; 
    gap: 40px;
    margin-bottom: 50px;
}

/* Títulos Naranjas */
.text-orange {
    color: #df6a38; 
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Columna 1: Marca */
.footer-brand h3 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.footer-brand p {
    font-size: 1.1rem;
    color: #e0e0e0;
    margin-bottom: 20px;
    line-height: 1.4;
}

.social-icons {
    display: flex;
    gap: 15px;
    
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border: 1px solid #ffffff;
    border-radius: 50%;
    color: #ffffff;
    transition: background 0.3s, color 0.3s;
}

.social-icons svg {
    width: 20px;
    height: 20px;
}

.social-icons a:hover {
    background-color: #df6a38;
    border-color: #df6a38;
}

/* Columna 2 y 3: Enlaces y Dirección */
.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #df6a38;
}

.address-text {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 15px;
}

.link-orange {
    color: #df6a38;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.3s;
    display: inline-block;
}

.link-orange:hover {
    transform: translateX(5px);
}

/* Columna 4: Contacto y Botón */
.footer-contact p {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.btn-outline {
    display: inline-block;
    border: 1px solid #ffffff;
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1rem;
    margin-top: 20px;
    transition: background 0.3s, color 0.3s;
}

.btn-outline:hover {
    background: #ffffff;
    color: #0b3830; 
}

/* Copyright Final */
.footer-copyright {
    color: #889996;
    font-size: 0.9rem;
    text-align: left; 
}

/* RESPONSIVE: Adaptación para Tablets y Celulares */
@media (max-width: 1024px) {
    .footer-grid-pro {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }
    .app-phone { justify-content: center; }
    .app-options { justify-content: center; }
}

@media (max-width: 600px) {
    .footer-wrapper {
        border-radius: 40px 40px 0 0 / 40px 40px 0 0; 
    }
    .footer-grid-pro {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .social-icons {
        justify-content: center;
    }
    .footer-copyright {
        text-align: center;
    }
}

/* ANIMACIÓN FADE UP GENERAL */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}
/* BOTONES RÁPIDOS (IMÁGENES CLICKABLES) */
#botones-rapidos {
    background-color: var(--bg-light); 
    padding: 0px 5% 50px; 
}

.botones-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap; 
}

/* Estructura del botón (El enlace 'a') */
.img-btn {
    display: block;
    flex: 1 1 150px;
    max-width: 300px;
    height: auto; 
    border-radius: 15px;
    overflow: hidden; 
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

/* La imagen dentro del botón */
.img-btn img {
    width: 100%;
    height: auto; 
    display: block;
}

/* Efectos al pasar el mouse por encima (Interactividad) */
.img-btn:hover {
    transform: translateY(-5px) scale(1.05); 
    box-shadow: 0 12px 30px rgba(246, 181, 25, 0.3); 
}

.img-btn:hover img {
    transform: scale(1.08);
}
/* ICONOS DE REDES SOCIALES (IMÁGENES) */
.social-icons {
    display: flex;
    gap: 20px; 
    margin-top: 15px;
}

.social-icons a {
    display: inline-block;
    transition: transform 0.3s ease; 
}

.social-icons a img {
    width: 30px; 
    height: auto;
    object-fit: contain;
    transition: filter 0.3s ease;
    margin-top: 5px;
    margin-left: 6px;
}

/* Efecto al pasar el mouse por encima */
.social-icons a:hover {
    transform: translateY(-5px); 
    filter: drop-shadow(0 5px 10px rgba(223, 106, 56, 0.4)); 
}
/* NUEVA SECCIÓN: TRES EXPERIENCIAS (MAPA) */
.experiencia-section {
    background-color: #ffffff;
    padding: 100px 5%;
}

.experiencia-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1300px; 
    margin: 0 auto;
    gap: 60px; 
}

/* --- Columna Izquierda (Texto) --- */
.experiencia-content {
    flex: 1;
    max-width: 550px;
}

.experiencia-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: #0A4342; /* El verde oscuro corporativo */
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.experiencia-desc {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: #4a4a4a;
    line-height: 1.5;
    margin-bottom: 40px;
}

/* Logos de las marcas */
.experiencia-logos {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
}

.experiencia-logos img {
    height: 150px; /* Ajusta este tamaño según tus imágenes */
    width: auto;
    object-fit: contain;
}

/* Botón "Conoce Zgourmet" */
.btn-outline-dark {
    display: inline-block;
    border: 2px solid #0A4342; /* Borde verde oscuro */
    color: #0A4342;
    background: transparent;
    padding: 12px 35px;
    border-radius: 40px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-left: 125px;
    transition: background 0.3s, color 0.3s, transform 0.3s;
}

.btn-outline-dark:hover {
    background: #0A4342;
    color: #ffffff;
    transform: scale(1.05);
}

/* --- Columna Derecha (Mapa) --- */
.experiencia-map {
    flex: 1.2; /* Toma un poco más de espacio que el texto */
    height: 500px;
    border-radius: 40px; /* Esquinas súper redondeadas idénticas al diseño */
    overflow: hidden; /* Corta el iframe para que respete las curvas */
    box-shadow: 0 15px 40px rgba(0,0,0,0.1); /* Sombra elegante */
}

.experiencia-map iframe,
.experiencia-map img {
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover; /* Por si decides usar una imagen en vez del iframe */
}

/* --- Responsive (Tablets y Móviles) --- */
@media (max-width: 1024px) {
    .experiencia-container {
        flex-direction: column;
        text-align: center;
    }
    .experiencia-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .experiencia-logos {
        justify-content: center;
    }
    .experiencia-map {
        width: 100%;
        height: 400px;
    }
}

@media (max-width: 600px) {
    .experiencia-title {
        font-size: 2.5rem; /* Letra más pequeña en celular */
    }
    .experiencia-logos {
        flex-wrap: wrap; /* Permite que los logos bajen de línea si no caben */
    }
}
/* =========================================
   ELEMENTOS MÓVILES OCULTOS EN PC
   ========================================= */
.mobile-header-text, .mobile-bottom-nav {
    display: none;
}

/* =========================================
   ADAPTACIÓN MÓVIL (APP LOOK)
   ========================================= */
@media (max-width: 768px) {
    /* --- 0. AJUSTES GENERALES DEL BODY --- */
    body {
        padding-bottom: 80px; /* Dar espacio al fixed bottom nav */
    }

    /* --- 1. HEADER Y MENÚ --- */
    header {
        justify-content: center; 
        background-color: #0A4342; /* Verde oscuro del diseño móvil */
        padding: 15px 5%;
    }
    #nav-menu {
        display: none; /* Oculta menú PC */
    }
    .logo {
        color: #ffffff; 
    }

    /* --- 2. HERO SLIDER --- */
    .hero-section {
        padding: 0 5% 20px; 
    }
    .hero-slider {
        border-radius: 20px; 
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }
    .hero-slide:first-child {
        height: 520px; /* Altura fija para evitar desbordes */
    }
    .hero-content {
        right: 0;
        left: 0;
        bottom: 15%; 
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .btn-pulse {
        top: 0;      
        left: 0;     
        padding: 12px 30px;
        font-size: 0.95rem;
    }
    .overlay-image-wrapper {
        left: 50%;
        bottom: 35%; 
        width: 65%;  
        transform: translateX(-50%); 
    }
    .hero-slide.active .overlay-image-wrapper {
        animation: slideUpMobile 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
        animation-delay: 0.3s;
    }

    /* --- 3. BOTONES RÁPIDOS (2x2) --- */
    #botones-rapidos {
        padding: 0 5% 30px; 
    }
    .botones-grid {
        display: grid;
        grid-template-columns: 1fr 1fr; 
        gap: 15px; 
    }
    .img-btn {
        margin: 0;
        width: 100%;
        max-width: 100%; 
    }

    /* --- 4. SECCIÓN PROPUESTAS --- */
    #propuestas {
        padding: 20px 5%;
        background: #ffffff;
    }
    #propuestas .section-title {
        display: none; /* Ocultar título PC */
    }
    .mobile-header-text {
        display: block;
        text-align: center;
        margin: 10px 0 30px;
    }
    .mobile-header-text h2 {
        font-family: var(--font-heading);
        font-size: 2.2rem;
        font-weight: 800;
        color: #0A4342;
        line-height: 1.1;
        margin-bottom: 8px;
        letter-spacing: -1px;
    }
    .mobile-header-text p {
        font-family: var(--font-body);
        font-size: 1rem;
        color: #666;
    }
    .propuestas-grid {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    .card-propuesta {
        border-radius: 15px;
        box-shadow: none; 
    }
    .img-propuesta-full {
        border-radius: 15px;
    }

    /* ANIMACIÓN EN CASCADA MÓVIL (CORREGIDA) */
    .card-propuesta:nth-child(1),
    .card-propuesta:nth-child(2),
    .card-propuesta:nth-child(3) {
        transform: translateX(150px); /* Todas inician a la derecha */
        opacity: 0;
    }
    
    /* Estado final forzado para móvil (Llegan a 0) */
    .card-propuesta.show {
        transform: translateX(0) !important; 
        opacity: 1 !important;
    }

    .card-propuesta:nth-child(1) { transition-delay: 0s; }
    .card-propuesta:nth-child(2) { transition-delay: 0.2s; }
    .card-propuesta:nth-child(3) { transition-delay: 0.4s; }


    /* --- 5. EXPERIENCIA Y BOTÓN --- */
    .btn-outline-dark {
        margin-left: 0; 
        margin-top: 10px; 
        font-size: 1rem; 
        width: 80%; 
        max-width: 300px; 
        text-align: center; 
    }

    /* --- 6. BARRA DE NAVEGACIÓN INFERIOR --- */
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        /* Usamos bottom y margin-bottom en negativo combinado con safe-area-inset 
           para evitar los saltos de la barra del navegador en iOS y Android */
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.95); /* Leve transparencia tipo cristal */
        backdrop-filter: blur(10px); /* Efecto cristal para que se vea nativo */
        -webkit-backdrop-filter: blur(10px);
        border-top: 1px solid rgba(0,0,0,0.05);
        
        /* Padding inferior dinámico: Si el teléfono tiene barra de gestos abajo (ej. iPhone), 
           le da espacio. Si no, usa 15px */
        padding: 10px 0 calc(15px + env(safe-area-inset-bottom)); 
        
        justify-content: space-around;
        z-index: 9999; /* Z-index extremo para que JAMÁS se quite ni quede detrás de nada */
        
        box-shadow: 0 -10px 30px rgba(0,0,0,0.08); /* Sombra más difuminada */
        
        /* ACELERACIÓN POR HARDWARE: Esto evita que se "trabe" o parpadee al hacer scroll */
        transform: translateZ(0); 
        will-change: transform;
    }
    .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: #999;
        font-size: 0.75rem;
        font-weight: 600;
        gap: 5px;
        transition: transform 0.2s ease, color 0.3s;
        /* Previene el resaltado azul que hacen los celulares al tocar un enlace */
        -webkit-tap-highlight-color: transparent; 
    }
    .nav-item:active {
        transform: scale(0.9);
    }

    .nav-item img {
        width: 24px;
        height: 24px;
        filter: grayscale(100%) opacity(50%);
        transition: filter 0.3s, transform 0.3s;
    }
    .nav-item.active {
        color: #0A4342; /* Cambiamos a tu verde corporativo en vez de negro puro */
    }
    
    .nav-item.active img {
        /* Se quita el filtro gris y se deja el ícono a todo color o con brillo */
        filter: grayscale(0%) brightness(0%); 
        transform: translateY(-2px); /* El ícono activo sube sutilmente */
    }
}
/* =========================================
   NUEVAS ANIMACIONES MÓVILES (Fuera del @media)
   ========================================= */
@keyframes slideUpMobile {
    0% { transform: translate(-50%, 50px); opacity: 0; }
    100% { transform: translate(-50%, 0); opacity: 1; }
}
/* Efecto de línea debajo del menú */
        .nav-link::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -4px;
            left: 0;
            background-color: #eab308; /* Dorado */
            transition: width 0.3s ease;
        }
        .nav-link:hover::after,
        .nav-link.active::after {
            width: 100%;
        }
        .nav-link.active {
            color: #eab308 !important;
        }