:root {
    --color-fresa: #4092f0;
    --color-menta: #f7a336;
    --color-choco: #e7d7ab;
    --color-social: #8e44ad;
    --color-wsp: #25d366;
    --nav-height-mobile: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    overflow-x: hidden;
    /* Prevent horizontal scroll on iOS */
    height: -webkit-fill-available;
    /* iOS height fix */
}

body {
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    /* Evita scroll horizontal indeseado */
    width: 100%;
    background: linear-gradient(180deg, #faf8f4 0%, #f9f6f0 100%);
    min-height: 100vh;
    min-height: -webkit-fill-available;
    /* iOS height fix */
    -webkit-font-smoothing: antialiased;
    /* Crisp text on iOS */
}

/* --- NAVEGACIÓN (PC) --- */
.unique-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: 95%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 15px 50px;
    border-radius: 40px 60px 40px 60px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow: hidden;
}

.unique-nav:hover {
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

/* Efecto Ripple al hacer clic en la barra */
.unique-nav::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(64, 146, 240, 0.3), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease-out, height 0.6s ease-out, opacity 0.6s ease-out;
    opacity: 0;
    pointer-events: none;
}

.unique-nav.ripple::before {
    width: 500px;
    height: 500px;
    opacity: 1;
    animation: rippleEffect 0.6s ease-out;
}

@keyframes rippleEffect {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        width: 500px;
        height: 500px;
        opacity: 0;
    }
}

.logo {
    font-family: 'Anton', sans-serif;
    font-size: 2rem;
    color: #333;
    margin-right: 40px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: inline-block;
    position: relative;
}

.logo:hover {
    transform: scale(1.15) rotate(10deg);
    animation: bounce 0.6s ease;
}

.logo:active {
    transform: scale(0.9) rotate(-5deg);
}

@keyframes bounce {

    0%,
    100% {
        transform: scale(1.15) rotate(10deg) translateY(0);
    }

    50% {
        transform: scale(1.15) rotate(10deg) translateY(-5px);
    }
}

.unique-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.unique-nav a {
    text-decoration: none;
    color: #444;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.85rem;
    position: relative;
    padding: 8px 12px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: inline-block;
}

/* Línea animada debajo de los enlaces */
.unique-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: currentColor;
    transform: translateX(-50%);
    transition: width 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: 2px;
}

.unique-nav a:hover::after,
.unique-nav a:active::after {
    width: 100%;
}

/* Efectos hover y active en navegación */
.nav-item-fresa a:hover,
.nav-item-fresa a:active {
    color: var(--color-fresa);
    transform: translateY(-3px) scale(1.05);
}

.nav-item-menta a:hover,
.nav-item-menta a:active {
    color: var(--color-menta);
    transform: translateY(-3px) scale(1.05);
}

.nav-item-choco a:hover,
.nav-item-choco a:active {
    color: var(--color-choco);
    transform: translateY(-3px) scale(1.05);
}

.nav-item-social a:hover,
.nav-item-social a:active {
    color: var(--color-social);
    transform: translateY(-3px) scale(1.05);
}

.nav-item-tienda a:hover,
.nav-item-tienda a:active {
    color: #25d366;
    transform: translateY(-3px) scale(1.05);
}

/* Efecto de clic/tap en los botones */
.unique-nav a:active {
    transform: translateY(-1px) scale(0.95);
}

/* Animación de brillo al pasar el mouse */
.unique-nav li {
    position: relative;
    overflow: hidden;
}

.unique-nav li::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
    pointer-events: none;
}

.unique-nav li:hover::before {
    left: 100%;
}

/* --- PALETAS FLOTANTES --- */
.floating-popsicle {
    position: absolute;
    font-size: 60px;
    opacity: 0.7;
    animation: floatPopsicle 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 5;
    will-change: transform;
    /* Hardware acceleration for iOS */
    -webkit-backface-visibility: hidden;
    /* Prevent flickering */
    backface-visibility: hidden;
}

.floating-popsicle img {
    width: 60px;
    height: auto;
    display: block;
}

.floating-popsicle:nth-child(1) {
    animation-delay: 0s;
    animation-duration: 5s;
}

.floating-popsicle:nth-child(2) {
    animation-delay: 0.5s;
    animation-duration: 6s;
}

.floating-popsicle:nth-child(3) {
    animation-delay: 1s;
    animation-duration: 7s;
}

.floating-popsicle:nth-child(4) {
    animation-delay: 1.5s;
    animation-duration: 5.5s;
}

.floating-popsicle:nth-child(5) {
    animation-delay: 2s;
    animation-duration: 6.5s;
}

.floating-popsicle:nth-child(6) {
    animation-delay: 2.5s;
    animation-duration: 7.5s;
}

.floating-popsicle:nth-child(7) {
    animation-delay: 3s;
    animation-duration: 6s;
}

.floating-popsicle:nth-child(8) {
    animation-delay: 3.5s;
    animation-duration: 5.5s;
}

@keyframes floatPopsicle {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    25% {
        transform: translateY(-20px) rotate(5deg);
    }

    50% {
        transform: translateY(-40px) rotate(-5deg);
    }

    75% {
        transform: translateY(-20px) rotate(3deg);
    }
}

/* --- CONTADOR DE VISITAS INTERACTIVO --- */
.view-counter-container {
    margin-top: 40px;
    display: inline-flex;
    align-items: center;
    gap: 25px;
    padding: 25px 40px;
    background: linear-gradient(135deg,
            rgba(64, 146, 240, 0.95) 0%,
            rgba(142, 68, 173, 0.95) 100%);
    border-radius: 30px;
    box-shadow:
        0 10px 40px rgba(64, 146, 240, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset,
        0 20px 60px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    animation: fadeInUp 0.8s ease-out, floatCounter 4s ease-in-out infinite;
    will-change: transform;
    /* Hardware acceleration */
}

.view-counter-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 30%,
            rgba(255, 255, 255, 0.3) 50%,
            transparent 70%);
    animation: shimmer 3s linear infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.view-counter-container:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow:
        0 15px 50px rgba(64, 146, 240, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.3) inset,
        0 25px 80px rgba(0, 0, 0, 0.3);
}

.view-counter-container:active {
    transform: translateY(-4px) scale(1.02);
}

/* Icono del ojo */
.counter-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: pulseIcon 2s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.counter-icon svg {
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    animation: blink 4s ease-in-out infinite;
}

@keyframes pulseIcon {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
}

@keyframes blink {

    0%,
    90%,
    100% {
        opacity: 1;
    }

    95% {
        opacity: 0.3;
    }
}

/* Contenido del contador */
.counter-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    z-index: 2;
}

.counter-label {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.counter-number-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.counter-number {
    font-family: 'Anton', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: white;
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(255, 255, 255, 0.5);
    display: inline-block;
    min-width: 100px;
    text-align: left;
    line-height: 1;
}

.counter-sparkle {
    font-size: 1.5rem;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }

    25% {
        transform: scale(1.3) rotate(15deg);
        opacity: 0.8;
    }

    50% {
        transform: scale(0.8) rotate(-15deg);
        opacity: 1;
    }

    75% {
        transform: scale(1.2) rotate(10deg);
        opacity: 0.9;
    }
}

/* Barra de progreso decorativa */
.counter-bar {
    width: 200px;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.counter-bar-fill {
    height: 100%;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.8) 0%,
            rgba(255, 255, 255, 1) 50%,
            rgba(255, 255, 255, 0.8) 100%);
    border-radius: 10px;
    animation: fillBar 2s ease-out forwards, shimmerBar 2s linear infinite;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

@keyframes fillBar {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

@keyframes shimmerBar {
    0% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(1.3);
    }

    100% {
        filter: brightness(1);
    }
}

/* Animación cuando el número cambia */
.counter-number.counting {
    animation: countUpNew 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes countUpNew {
    0% {
        transform: scale(0.5) translateY(20px);
        opacity: 0;
        filter: blur(10px);
    }

    50% {
        transform: scale(1.3) translateY(-10px);
        opacity: 1;
        filter: blur(0px);
    }

    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
        filter: blur(0px);
    }
}

/* Partículas decorativas */
.counter-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Animaciones base */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatCounter {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .view-counter-container {
        flex-direction: column;
        gap: 15px;
        padding: 20px 30px;
        text-align: center;
    }

    .counter-icon {
        width: 60px;
        height: 60px;
    }

    .counter-icon svg {
        width: 30px;
        height: 30px;
    }

    .counter-number {
        font-size: 2.5rem;
        text-align: center;
    }

    .counter-bar {
        width: 150px;
    }

    .counter-content {
        align-items: center;
    }
}

/* --- CAPAS Y LAYOUT --- */
.layers-container {
    width: 100%;
    position: relative;
}

.layer {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100dvh;
    /* Dynamic viewport height for modern browsers */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
}

/* --- COLORES DE FONDO --- */
#layer1 {
    background: linear-gradient(135deg, var(--color-fresa) 0%, #5ba3f5 100%);
}

#layer2 {
    background: linear-gradient(135deg, var(--color-menta) 0%, #ffc266 100%);
    min-height: 100vh;
    height: auto;
    position: relative;
    overflow: visible;
    padding: 60px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#layer3 {
    background: linear-gradient(135deg, var(--color-choco) 0%, #f5e6c8 100%);
    min-height: auto;
    height: auto;
    padding: 100px 20px 200px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    z-index: 20;
}

#layer4 {
    background: linear-gradient(135deg, var(--color-social) 0%, #a569bd 100%);
    min-height: 100vh;
    height: auto;
    position: relative;
    z-index: 10;
    /* Permite crecer si hay muchas fotos */
}

/* --- MARQUEE (TEXTO FONDO) --- */
.marquee {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%) rotate(-5deg);
    white-space: nowrap;
    font-family: 'Anton', sans-serif;
    font-size: 15vw;
    opacity: 0.1;
    color: #000;
    text-transform: uppercase;
    animation: scrollText 30s linear infinite;
    pointer-events: none;
    width: 200%;
}

@keyframes scrollText {
    from {
        transform: translateY(-50%) rotate(-5deg) translateX(0);
    }

    to {
        transform: translateY(-50%) rotate(-5deg) translateX(-50%);
    }
}

/* --- SCROLL ANIMATIONS --- */
.scroll-animate {
    opacity: 0;
    transform: translateY(20px);
    /* Reduced from 50px */
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    /* Faster timing */
}

.scroll-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* --- CONTENIDO GENERAL --- */
.content {
    z-index: 10;
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    opacity: 0;
    animation: slideUp 0.8s forwards 0.3s;
    padding: 20px;
}

.content.full-width {
    width: 95%;
    max-width: 1400px;
    padding: 40px 20px;
    min-height: auto;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content h2 {
    font-family: 'Anton', sans-serif;
    font-size: 5rem;
    text-transform: uppercase;
    text-shadow: 4px 4px 0px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
    line-height: 1.2;
}

.content p {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* --- WAVE TEXT ANIMATION --- */
.wave-text {
    display: inline-block;
    margin-bottom: 10px;
}

.wave-text span {
    display: inline-block;
    animation: wave 2s ease-in-out infinite;
    margin: 0 2px;
}

/* Delay escalonado para cada letra (12 letras) */
.wave-text span:nth-child(1) {
    animation-delay: 0s;
}

.wave-text span:nth-child(2) {
    animation-delay: 0.1s;
}

.wave-text span:nth-child(3) {
    animation-delay: 0.2s;
}

.wave-text span:nth-child(4) {
    animation-delay: 0.3s;
}

.wave-text span:nth-child(5) {
    animation-delay: 0.4s;
}

.wave-text span:nth-child(6) {
    animation-delay: 0.5s;
}

.wave-text span:nth-child(7) {
    animation-delay: 0.6s;
}

.wave-text span:nth-child(8) {
    animation-delay: 0.7s;
}

.wave-text span:nth-child(9) {
    animation-delay: 0.8s;
}

.wave-text span:nth-child(10) {
    animation-delay: 0.9s;
}

.wave-text span:nth-child(11) {
    animation-delay: 1s;
}

.wave-text span:nth-child(12) {
    animation-delay: 1.1s;
}

@keyframes wave {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Container for alternating images */
.helado-container {
    position: relative;
    width: 450px;
    max-width: 90%;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.helado-img {
    position: absolute;
    width: 450px;
    max-width: 90%;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.3));
    transition: opacity 1s ease-in-out;
    opacity: 0;
    animation: heartbeat 1.5s ease-in-out infinite;
}

.helado-img.active {
    opacity: 1 !important;
}

/* Hacer la imagen de paletas trio más grande */
#helado2 {
    width: 480px;
    max-width: 95%;
    animation: heartbeatLarge 1.5s ease-in-out infinite;
}

#helado2.active {
    animation: heartbeatLarge 1.5s ease-in-out infinite;
}

.helado-img:hover {
    animation-play-state: paused;
}

/* Heartbeat Animation normal */
@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    14%,
    42% {
        transform: scale(1.08);
    }

    28%,
    70% {
        transform: scale(1);
    }
}

/* Heartbeat Animation para imagen más grande */
@keyframes heartbeatLarge {

    0%,
    100% {
        transform: scale(1.08);
    }

    14%,
    42% {
        transform: scale(1.16);
    }

    28%,
    70% {
        transform: scale(1.08);
    }
}

/* --- SLIDERS --- */

/* 1. Slider Experiencias (Pequeño) */
/* --- VIDEO EXPERIENCIAS --- */
.video-wrapper {
    margin-top: 40px;
    margin-bottom: 40px;
    width: 95%;
    max-width: 1000px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    animation: zoomInVideo 1s ease-out forwards;
    transform: scale(0.8);
    opacity: 0;
}

.experience-video {
    width: 100%;
    max-height: 70vh;
    height: auto;
    display: block;
    object-fit: contain;
}

@keyframes zoomInVideo {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* --- SECCIÓN SOBRE NOSOTROS --- */
.about-section {
    margin-top: 60px;
    width: 100%;
    max-width: 900px;
    padding: 20px;
}

.about-card-single {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    padding: 40px 35px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card-single:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.about-title {
    font-family: 'Anton', sans-serif;
    font-size: 2.5rem;
    color: var(--color-choco);
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.1);
}

.about-intro {
    font-size: 1.1rem;
    color: #555;
    text-align: center;
    line-height: 1.7;
    margin-bottom: 30px;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(247, 163, 54, 0.08);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.value-item:hover {
    background: rgba(247, 163, 54, 0.15);
    transform: translateX(5px);
}

.value-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.value-text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

.value-text strong {
    color: var(--color-choco);
    font-weight: 700;
}

/* Responsive para móvil */
@media (max-width: 768px) {
    .about-section {
        margin-top: 40px;
        padding: 15px;
    }

    .about-card-single {
        padding: 25px 20px;
        border-radius: 20px;
    }

    .about-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .about-intro {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .about-values {
        gap: 12px;
    }

    .value-item {
        padding: 12px;
        gap: 12px;
    }

    .value-icon {
        font-size: 1.5rem;
    }

    .value-text {
        font-size: 0.85rem;
    }
}

/* --- CARRUSEL HORIZONTAL DE SABORES --- */
.sabores-carousel-container {
    position: inherit;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 100px;
}

.sabores-carousel {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 30px 10px 50px 10px;
    -webkit-overflow-scrolling: touch;
}

/* Ocultar scrollbar pero mantener funcionalidad */
.sabores-carousel::-webkit-scrollbar {
    display: none;
}

.sabores-carousel {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.sabor-card-carousel {
    flex: 0 0 380px;
    min-height: 580px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
    border-radius: 35px;
    padding: 30px;
    text-decoration: none;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    scroll-snap-align: center;
    position: relative;
    overflow: visible;
}

.sabor-card-carousel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(247, 163, 54, 0.1) 0%, rgba(247, 163, 54, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
    border-radius: 35px;
}

.sabor-card-carousel:hover::before {
    opacity: 1;
}

.sabor-card-carousel:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
}

.sabor-img-wrapper-carousel {
    width: 100%;
    height: 300px;
    border-radius: 25px;
    overflow: hidden;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
}

.sabor-img-wrapper-carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
}

.sabor-card-carousel:hover .sabor-img-wrapper-carousel img {
    transform: scale(1.1) rotate(3deg);
}

.sabor-info-carousel {
    text-align: center;
    width: 100%;
    position: relative;
    z-index: 1;
}

.sabor-info-carousel h3 {
    font-family: 'Anton', sans-serif;
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.sabor-desc {
    font-size: 1rem;
    color: #7f8c8d;
    margin-bottom: 15px;
    font-weight: 500;
    font-style: italic;
}

.sabor-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-menta);
    margin: 15px 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Botón rediseñado con efecto Pulse Glow */
.enter-store-btn {
    background: white;
    color: #FF512F;
    padding: 20px 50px;
    font-family: 'Anton', sans-serif;
    font-size: 2rem;
    border: 4px solid #FF512F;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(255, 81, 47, 0.5);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    margin-top: 30px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.enter-store-btn:hover {
    background: #FF512F;
    color: white;
    transform: scale(1.1) rotate(-2deg);
    box-shadow: 0 0 30px rgba(255, 81, 47, 0.8), 0 10px 20px rgba(0, 0, 0, 0.1);
}

.enter-store-btn::before {
    content: '🍦';
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: 0.3s;
}

.enter-store-btn:hover::before {
    left: 20px;
    opacity: 1;
}

.enter-store-btn::after {
    content: '🛒';
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: 0.3s;
}

.enter-store-btn:hover::after {
    right: 20px;
    opacity: 1;
}

.sabor-btn-carousel {
    background: linear-gradient(135deg, #f7a336 0%, #f39c12 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 15px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 10px 25px rgba(247, 163, 54, 0.4);
    transition: all 0.3s ease;
}

.sabor-btn-carousel:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(247, 163, 54, 0.6);
}

/* Botones de navegación */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 3px solid rgba(247, 163, 54, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.carousel-btn:hover {
    background: var(--color-menta);
    border-color: var(--color-menta);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 12px 30px rgba(247, 163, 54, 0.4);
}

.carousel-btn:hover svg {
    stroke: white;
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-btn svg {
    stroke: var(--color-menta);
    transition: stroke 0.3s ease;
}

.carousel-btn-left {
    left: 10px;
}

.carousel-btn-right {
    right: 10px;
}

/* Responsive para móvil */
@media (max-width: 768px) {
    .sabores-carousel-container {
        padding: 20px 10px;
    }

    .carousel-btn {
        display: none;
    }

    .sabor-card-carousel {
        flex: 0 0 280px;
        padding: 25px 20px;
    }

    .sabor-img-wrapper-carousel {
        height: 240px;
    }

    .sabor-info-carousel h3 {
        font-size: 1.5rem;
    }
}

/* --- TÍTULO ANIMADO SABORES --- */
.sabores-title {
    font-size: 4rem;
    margin-bottom: 5px;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    gap: 5px;
    font-family: 'Anton', sans-serif;
    color: white;
}

.sabores-letter {
    display: inline-block;
    animation: bounce 2s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.1s);
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    25% {
        transform: translateY(-15px) scale(1.1);
    }

    50% {
        transform: translateY(0) scale(1);
    }
}

/* Responsive para móvil */
@media (max-width: 768px) {
    .sabores-title {
        font-size: 2.5rem;
        gap: 3px;
    }
}

/* --- COMMUNITY SLIDESHOW --- */
.community-slideshow {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 400px;
    margin: 40px auto;
    overflow: hidden;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.community-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: translateX(100%);
    animation: slideShow 30s infinite;
    /* Updated for 10 images */
}

.community-slide:nth-child(1) {
    animation-delay: 0s;
}

.community-slide:nth-child(2) {
    animation-delay: 3s;
}

.community-slide:nth-child(3) {
    animation-delay: 6s;
}

.community-slide:nth-child(4) {
    animation-delay: 9s;
}

.community-slide:nth-child(5) {
    animation-delay: 12s;
}

.community-slide:nth-child(6) {
    animation-delay: 15s;
}

.community-slide:nth-child(7) {
    animation-delay: 18s;
}

.community-slide:nth-child(8) {
    animation-delay: 21s;
}

.community-slide:nth-child(9) {
    animation-delay: 24s;
}

.community-slide:nth-child(10) {
    animation-delay: 27s;
}

@keyframes slideShow {
    0% {
        opacity: 0;
        transform: translateX(100%);
    }

    5% {
        opacity: 1;
        transform: translateX(0);
    }

    16.66% {
        opacity: 1;
        transform: translateX(0);
    }

    22% {
        opacity: 0;
        transform: translateX(-100%);
    }

    100% {
        opacity: 0;
        transform: translateX(-100%);
    }
}

/* --- BOTÓN WHATSAPP --- */
.btn-wsp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background-color: var(--color-wsp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: transform 0.3s;
    animation: pulse 2s infinite;
}

.btn-wsp img {
    width: 35px;
    height: 35px;
}

.btn-wsp:hover {
    transform: scale(1.1);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* --- FOOTER --- */
.footer-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 60px 20px 100px 20px;
    text-align: center;
    position: relative;
    z-index: 100;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 40px auto;
    align-items: start;
}

.footer-info {
    text-align: left;
}

.footer-address,
.footer-phone,
.footer-hours {
    font-size: 1.1rem;
    margin: 15px 0;
    color: #e0e0e0;
}

.footer-phone a {
    color: var(--color-menta);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.footer-phone a:hover {
    color: #ffc107;
}

/* Redes Sociales */
.social-links {
    margin-top: 30px;
}

.social-links h3 {
    font-family: 'Anton', sans-serif;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon.facebook {
    background: #1877f2;
}

.social-icon.tiktok {
    background: #000000;
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(247, 163, 54, 0.4);
}

.social-icon svg {
    color: white;
}

/* Mapa */
.map-container {
    width: 100%;
}

.map-frame {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-info {
        text-align: center;
    }

    .footer-address,
    .footer-phone,
    .footer-hours {
        font-size: 1rem;
    }

    .social-icons {
        justify-content: center;
    }

    .map-frame {
        height: 300px;
    }
}

/* =========================================
   MEDIA QUERY: DISEÑO RESPONSIVO (MÓVIL)
   ========================================= */
@media (max-width: 1024px) {

    /* 1. Resetear el comportamiento Sticky para evitar cortes */
    .layer {
        position: relative;
        height: auto;
        min-height: 100vh;
        padding: 80px 0 120px 0;
        /* Más espacio abajo para el menú más grande */
        display: flex;
        flex-direction: column;
    }

    /* Vertical Video for Mobile (Social Media Style) */
    .video-wrapper {
        width: 100%;
        max-width: 320px;
        /* Mobile width */
        aspect-ratio: 9/16;
        /* Vertical Ratio */
        margin: 20px auto;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    }

    .experience-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        /* Ensures video fills the vertical frame */
        border-radius: 30px;
    }

    /* 2. Navegación Inferior Flotante (MÁS GRANDE AHORA) */
    .unique-nav {
        position: fixed !important;
        top: auto !important;
        bottom: 25px !important;
        left: 5% !important;
        width: 90% !important;
        max-width: none !important;
        transform: none !important;
        padding: 30px 0;
        border-radius: 50px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.15);
    }

    /* Prevenir cambios de posición en hover y efectos */
    .unique-nav:hover {
        transform: none !important;
        box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.15);
    }

    /* Desactivar efecto ripple de posición en móvil */
    .unique-nav::before {
        display: none;
    }

    .unique-nav.ripple::before {
        display: none;
    }

    .logo {
        display: none;
    }

    .unique-nav ul {
        width: 100%;
        justify-content: space-evenly;
        gap: 0;
    }

    .unique-nav a {
        font-size: 0.9rem;
        font-weight: 800;
        padding: 8px 5px;
        display: flex;
        flex-direction: column;
        align-items: center;
        color: #444 !important;
    }

    /* Resetear animaciones de enlaces en móvil */
    .unique-nav a::after {
        display: none;
    }

    .unique-nav a:hover,
    .unique-nav a:active {
        transform: scale(1.05) !important;
    }

    /* Colores hover en móvil */
    .nav-item-fresa a:hover,
    .nav-item-fresa a:active {
        color: var(--color-fresa) !important;
    }

    .nav-item-menta a:hover,
    .nav-item-menta a:active {
        color: var(--color-menta) !important;
    }

    .nav-item-choco a:hover,
    .nav-item-choco a:active {
        color: var(--color-choco) !important;
    }

    .nav-item-social a:hover,
    .nav-item-social a:active {
        color: var(--color-social) !important;
    }

    /* Desactivar efecto de brillo en móvil */
    .unique-nav li::before {
        display: none;
    }

    /* 3. Ajustes de Tipografía Móvil */
    .content h2 {
        font-size: 3rem;
        margin-bottom: 20px;
    }

    .content p {
        font-size: 1rem;
        padding: 0 20px;
    }

    .marquee {
        font-size: 10vw;
        width: 300%;
    }

    /* 4. Ajustes de Sliders en Móvil */
    .slider {
        height: 280px;
        margin-top: 10px;
    }

    .slide {
        width: 220px;
        height: 220px;
    }

    /* Showcase Slider: Manual Swipe enabled */
    .showcase-slider {
        height: 440px;
        overflow-x: auto;
        /* Enable scroll */
        scroll-snap-type: x mandatory;
        /* Snap effect */
        -webkit-overflow-scrolling: touch;
        /* Hide scrollbar */
        scrollbar-width: none;
    }

    .showcase-slider::-webkit-scrollbar {
        display: none;
    }

    .showcase-track {
        width: max-content;
        /* Fit content */
        animation: none;
        /* Disable auto-scroll */
        padding: 0 50vw 0 20px;
        /* Spacer to center first/last */
    }

    .showcase-card {
        width: 260px;
        /* Keep them big */
        height: 360px;
        margin: 0 15px;
        scroll-snap-align: center;
        /* Snap code */
    }

    /* 5. Galería Social Móvil */
    .living-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    /* 6. Botón WhatsApp (Más grande como solicitado) */
    .btn-wsp {
        bottom: 130px;
        right: 20px;
        width: 75px;
        /* Increased from 60px */
        height: 75px;
        /* Increased from 60px */
    }

    .btn-wsp img {
        width: 45px;
        height: 45px;
    }

    /* Increased from 32px */

    /* 7. Ajuste Footer */
    .footer-section {
        padding-bottom: 150px;
        /* Espacio extra de seguridad */
    }

    /* 8. Ajustes Entrance Store Móvil */
    .store-entrance-container h2 {
        font-size: 2.5rem !important;
        /* Reducir tamaño de título */
        margin-bottom: 20px;
    }

    .store-image-wrapper {
        max-width: 280px;
        /* Reducir tamaño de imagen */
    }

    .enter-store-btn {
        font-size: 1.2rem;
        /* Reducir tamaño de botón */
        padding: 15px 30px;
        border-width: 3px;
    }
}

/* ===== STORE ENTRANCE SECTION ===== */
.store-entrance-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 30px;
    padding: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.store-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    /* Reduced max-width for the cart icon */
    border-radius: 20px;
    /* overflow: hidden; Removed to let the cart 'move' freely if needed, though border-radius cuts it */
    /* box-shadow: 0 20px 50px rgba(0,0,0,0.3); Removed heavy box-shadow for a cleaner icon look */
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
    /* Better for transparent images */
    transition: transform 0.3s ease;
    animation: drive 3s ease-in-out infinite;
}

.store-image-wrapper:hover {
    transform: scale(1.05) rotate(-5deg);
}

.store-image {
    width: 100%;
    height: auto;
    display: block;
    /* border-radius: 20px; */
}

@keyframes drive {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-10px) rotate(5deg);
    }

    50% {
        transform: translateY(0) rotate(0deg);
    }

    75% {
        transform: translateY(-5px) rotate(-5deg);
    }

    100% {
        transform: translateY(0) rotate(0deg);
    }
}