:root {
    --primary-bg: #F5EFE0;
    --primary-color: #1A3329;
    --primary-dark: #0F2818;
    --primary-light: #BCA685;
    --accent: #BCA685;
    --gold: #C9B596;
    --gold-light: #EFE7D8;
    --gold-dark: #8C7449;
    --gold-accent: #DFCBB0;
    --gradient-gold: linear-gradient(135deg, #EFE7D8 0%, #D8C7A8 50%, #BCA685 100%);
    --gradient-gold-subtle: linear-gradient(135deg, rgba(201, 181, 150, 0.18), rgba(239, 231, 216, 0.08));
    --shadow-gold: 0 4px 18px rgba(140, 116, 73, 0.22);
    --secondary-color: #2F4A3D;
    --text-dark: #0F2818;
    --text-medium: #333333;
    --text-light: #555555;
    --text-subtle: #777777;
    --white: #ffffff;
    --border-light: rgba(26, 51, 41, 0.08);
    --border-medium: rgba(26, 51, 41, 0.15);
    --border-gold: rgba(201, 181, 150, 0.45);
    --shadow-light: 0 2px 12px rgba(26, 51, 41, 0.06);
    --shadow-medium: 0 4px 20px rgba(26, 51, 41, 0.1);
    --shadow-heavy: 0 8px 32px rgba(26, 51, 41, 0.15);
    --shadow-intense: 0 16px 48px rgba(26, 51, 41, 0.2);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color), #3D5A4D);
    --gradient-hero: linear-gradient(135deg, rgba(11, 28, 17, 0.88), rgba(26, 51, 41, 0.78));
    --gradient-subtle: linear-gradient(135deg, rgba(26, 51, 41, 0.02), rgba(47, 74, 61, 0.01));
    --border-radius-sm: 6px;
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    --transition-quick: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --elastic: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--primary-bg);
    overflow-x: hidden;
    opacity: 0;
    animation: pageLoad 0.8s ease-out forwards;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@keyframes pageLoad {
    to {
        opacity: 1;
    }
}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(26, 51, 41, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(15, 40, 24, 0.2) 0%, transparent 50%),
        linear-gradient(135deg, #0F2818 0%, #1A3329 25%, #B8924A 50%,rgb(184, 146, 74) 75%, #0F2818 100%);
    background-size: 400% 400%, 300% 300%, 100% 100%;
    animation: incaGradient 1s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    overflow: hidden;
}

.loading-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(15, 40, 24, 0.08) 2px,
            rgba(15, 40, 24, 0.08) 4px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 3px,
            rgba(26, 51, 41, 0.06) 3px,
            rgba(26, 51, 41, 0.06) 6px
        );
    animation: stoneTexture 1s ease-in-out infinite;
}

.loading-screen::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 15% 15%, rgba(15, 40, 24, 0.3) 1px, transparent 1px),
        radial-gradient(circle at 85% 25%, rgba(184, 146, 106, 0.25) 1px, transparent 1px),
        radial-gradient(circle at 25% 85%, rgba(26, 51, 41, 0.2) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(47, 74, 61, 0.3) 1px, transparent 1px);
    background-size: 80px 80px, 60px 60px, 100px 100px, 70px 70px;
    animation: incaStones 1s ease-in-out infinite;
    opacity: 0.5;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    color: #F5EFE0;
    position: relative;
    z-index: 10;
    filter: drop-shadow(0 0 8px rgba(26, 51, 41, 0.4));
}

.loading-spinner {
    width: 64px;
    height: 64px;
    position: relative;
    margin: 0 auto 24px;
}

.loading-spinner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top: 3px solid #1A3329;
    border-right: 3px solid #0F2818;
    border-radius: 50%;
    animation: incaSpin 2.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
    filter: drop-shadow(0 0 12px rgba(26, 51, 41, 0.5));
}

.loading-spinner::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    width: calc(100% - 12px);
    height: calc(100% - 12px);
    border: 2px solid transparent;
    border-bottom: 2px solid #B8924A;
    border-left: 2px solid #2F4A3D;
    border-radius: 50%;
    animation: incaSpinReverse 2s ease-in-out infinite;
}

.inca-pattern {
    position: absolute;
    width: 96px;
    height: 96px;
    border: 2px solid rgba(26, 51, 41, 0.3);
    border-radius: 0;
    transform: rotate(45deg);
    animation: incaFloat 6s ease-in-out infinite;
}

.inca-pattern::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60%;
    height: 60%;
    border: 1px solid rgba(15, 40, 24, 0.4);
    transform: translate(-50%, -50%) rotate(45deg);
    animation: incaPulse 3s ease-in-out infinite;
}

.inca-pattern::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30%;
    height: 30%;
    background: rgba(47, 74, 61, 0.5);
    transform: translate(-50%, -50%) rotate(45deg);
    animation: incaGlow 5s ease-in-out infinite;
}

.loading-text {
    font-family: 'Georgia', serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(
        45deg,
        #1A3329 0%,
        #F5EFE0 25%,
        #0F2818 50%,
        #B8924A 75%,
        #1A3329 100%
    );
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textWeave 4s ease-in-out infinite, textGlow 2.5s ease-in-out infinite alternate;
    margin-top: 8px;
}

@keyframes incaGradient {
    0%, 100% {
        background-position: 0% 50%, 0% 50%, 0% 0%;
    }
    25% {
        background-position: 100% 50%, 50% 100%, 0% 0%;
    }
    50% {
        background-position: 100% 100%, 100% 0%, 0% 0%;
    }
    75% {
        background-position: 0% 100%, 50% 50%, 0% 0%;
    }
}

@keyframes stoneTexture {
    0% {
        transform: translateX(0) translateY(0);
    }
    25% {
        transform: translateX(-3px) translateY(2px);
    }
    50% {
        transform: translateX(2px) translateY(-3px);
    }
    75% {
        transform: translateX(-2px) translateY(3px);
    }
    100% {
        transform: translateX(0) translateY(0);
    }
}

@keyframes incaStones {
    0% {
        background-position: 0% 0%, 0% 0%, 0% 0%, 0% 0%;
    }
    100% {
        background-position: 80px 80px, -60px 60px, 100px -100px, -70px 70px;
    }
}

@keyframes incaSpin {
    0% {
        transform: rotate(0deg) scale(1);
        border-top-color: #1A3329;
        border-right-color: #0F2818;
    }
    25% {
        transform: rotate(90deg) scale(1.01);
        border-top-color: #0F2818;
        border-right-color: #B8924A;
    }
    50% {
        transform: rotate(180deg) scale(1);
        border-top-color: #B8924A;
        border-right-color: #2F4A3D;
    }
    75% {
        transform: rotate(270deg) scale(1.01);
        border-top-color: #2F4A3D;
        border-right-color: #1A3329;
    }
    100% {
        transform: rotate(360deg) scale(1);
        border-top-color: #1A3329;
        border-right-color: #0F2818;
    }
}

@keyframes incaSpinReverse {
    0% {
        transform: rotate(0deg);
        border-bottom-color: #B8924A;
        border-left-color: #2F4A3D;
    }
    50% {
        border-bottom-color: #2F4A3D;
        border-left-color: #1A3329;
    }
    100% {
        transform: rotate(-360deg);
        border-bottom-color: #B8924A;
        border-left-color: #2F4A3D;
    }
}

@keyframes incaFloat {
    0%, 100% {
        transform: rotate(45deg) translateY(0px) scale(1);
        opacity: 0.4;
    }
    50% {
        transform: rotate(45deg) translateY(-12px) scale(1.03);
        opacity: 0.7;
    }
}

@keyframes incaPulse {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(45deg) scale(1);
        border-color: rgba(15, 40, 24, 0.3);
    }
    50% {
        transform: translate(-50%, -50%) rotate(45deg) scale(1.1);
        border-color: rgba(26, 51, 41, 0.6);
    }
}

@keyframes incaGlow {
    0%, 100% {
        background: rgba(47, 74, 61, 0.4);
        transform: translate(-50%, -50%) rotate(45deg) scale(1);
    }
    50% {
        background: rgba(26, 51, 41, 0.7);
        transform: translate(-50%, -50%) rotate(45deg) scale(1.15);
    }
}

@keyframes textWeave {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes textGlow {
    0% {
        filter: drop-shadow(0 0 4px rgba(26, 51, 41, 0.4));
    }
    100% {
        filter: drop-shadow(0 0 16px rgba(26, 51, 41, 0.7));
    }
}

.loading-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(26, 51, 41, 0.5);
    border-radius: 50%;
    animation: particleFloat 10s ease-in-out infinite;
}

.particle:nth-child(odd) {
    background: rgba(184, 146, 106, 0.4);
    animation-duration: 8s;
    animation-delay: -1.5s;
}

.particle:nth-child(3n) {
    background: rgba(47, 74, 61, 0.3);
    animation-duration: 12s;
    animation-delay: -3s;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-80px) translateX(40px) rotate(180deg);
        opacity: 0;
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


@keyframes slideDown {
    to {
        transform: translateY(0);
    }
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-bottom: 1px solid transparent;
    transform: translateY(-100%);
    animation: slideDown 1s var(--elastic) 0.4s forwards;
}

.navbar.scrolled {
    background: rgba(245, 239, 224, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: var(--shadow-light);
    padding: 12px 0;
    border-bottom-color: var(--border-light);
}
.navbar .logo span {
    color: var(--gold-light); 
    text-shadow: 0 2px 6px rgba(0,0,0,0.5); 
    transition: var(--transition-smooth);
}
.navbar.scrolled .logo span {
    color: var(--primary-color); 
    text-shadow: none;
}
.navbar .logo:hover span {
    color: var(--gold); 
}

.navbar.scrolled .logo:hover span {
    color: var(--gold-dark); 
}
.navbar .logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.85)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
    transition: var(--transition-smooth);
}
.navbar.scrolled .logo img {
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.15));
}
.logo {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: 700;
    color: #FDFBF7;
    text-decoration: none;
    gap: var(--spacing-sm);
    transition: var(--transition-smooth);
    text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.navbar.scrolled .logo {
    color: var(--primary-dark);
    text-shadow: none;
}

.nav-links a {
    color: #FAF5E8;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition-smooth);
    position: relative;
    padding: var(--spacing-sm) 0;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.navbar.scrolled .nav-links a {
    color: var(--primary-dark);
    font-weight: 600;
    text-shadow: none;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2.5px;
    background: var(--gradient-gold); 
    transition: var(--transition-smooth);
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(201, 181, 150, 0.4);
}

.navbar.scrolled .nav-links a::before {
    background: var(--gradient-gold);
    box-shadow: 0 0 6px rgba(140, 116, 73, 0.3);
}

.nav-links a:hover {
    color: var(--gold-light); 
    transform: translateY(-1px);
}

.navbar.scrolled .nav-links a:hover {
    color: var(--gold-dark);
}

.nav-links a:hover::before {
    width: 100%;
}

.lang-switch {
    display: flex;
    border: 1.5px solid rgba(201, 181, 150, 0.5);
    border-radius: 32px;
    overflow: hidden;
    transition: var(--transition-smooth);
    background: rgba(15, 40, 24, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.navbar.scrolled .lang-switch {
    border-color: rgba(201, 181, 150, 0.4);
    background: var(--white);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: var(--shadow-light);
}

.lang-btn {
    padding: 7px 14px;
    text-decoration: none;
    background: transparent;
    color: #FAF5E8; 
    cursor: pointer;
    transition: var(--transition-smooth);
    font-weight: 600;
    font-size: 13px;
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.navbar.scrolled .lang-btn {
    color: var(--primary-dark);
    text-shadow: none;
}

.lang-btn.active {
    background: var(--gradient-gold);
    color: #0F2818 !important;
    text-shadow: none;
    font-weight: 700;
    border-radius: 32px;
}

.navbar.scrolled .lang-btn.active {
    background: var(--gradient-gold);
    color: #0F2818 !important;
}

.lang-btn:hover {
    color: var(--gold-light);
}

.navbar.scrolled .lang-btn:hover {
    color: var(--gold-dark);
}

.lang-btn:hover::before,
.lang-btn.active::before {
    left: 0;
}

.lang-btn.active,
.lang-btn:hover {
    color: #F5EFE0; 
}

.navbar.scrolled .lang-btn.active,
.navbar.scrolled .lang-btn:hover {
    color: var(--white);
}


#cart-icon, #cart-icon-mobile {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px !important;
    border-radius: 50% !important;
    background: rgba(245, 245, 220, 0.15) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 2px solid rgba(245, 245, 220, 0.3) !important;
    transition: var(--transition-smooth) !important;
    color: #F5F5DC !important; 
    font-size: 18px !important;
    width: 44px !important;
    height: 44px !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2) !important;
    z-index: 1 !important;
    isolation: isolate !important;
}

.navbar.scrolled #cart-icon, 
.navbar.scrolled #cart-icon-mobile {
    background: transparent !important;
    backdrop-filter: none !important;  
    -webkit-backdrop-filter: none !important;
    border-color: var(--border-medium) !important;
    color: var(--text-medium) !important;
    text-shadow: none !important;
}
#cart-icon:hover, #cart-icon-mobile:hover {
    background: rgba(245, 245, 220, 0.25) !important;
    transform: scale(1.08) !important;
    color: #F5EFE0 !important;
    border-color: rgba(245, 245, 220, 0.5) !important;
    box-shadow: 0 4px 16px rgba(245, 245, 220, 0.2) !important;
}

.navbar.scrolled #cart-icon:hover, 
.navbar.scrolled #cart-icon-mobile:hover {
    background: rgba(26, 51, 41, 0.08) !important;
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    box-shadow: var(--shadow-light) !important;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    position: relative;
    padding: var(--spacing-xs);
    border-radius: 32px;
    transition: var(--transition-smooth);
    background: rgb(255, 255, 255);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(245, 245, 220, 0.2);
}

.navbar.scrolled .user-profile {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-color: transparent;
}

.user-profile:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.navbar.scrolled .user-profile:hover {
    background: rgba(162, 65, 65, 0.08);
}

.user-profile span {
    font-size: 14px;
    font-weight: 500;
    color: #F5F5DC;
    transition: var(--transition-smooth);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.navbar.scrolled .user-profile span {
    color: var(--text-medium);
    text-shadow: none;
}

.user-profile:hover span {
    color: #F5EFE0;
}

.navbar.scrolled .user-profile:hover span {
    color: var(--primary-color);
}

.navbar .btn-primary {
    background: rgba(245, 245, 220, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #F5F5DC;
    box-shadow: 0 4px 20px rgba(245, 245, 220, 0.15);
    border: 1px solid rgba(245, 245, 220, 0.2);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.navbar.scrolled .btn-primary {
    background: var(--gradient-primary);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: var(--shadow-light);
    border: none;
    color: var(--white);
    text-shadow: none;
}

.navbar .btn-secondary {
    background: rgba(245, 245, 220, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #F5F5DC;
    border: 1.5px solid rgba(245, 245, 220, 0.3);
    position: relative;
    z-index: 1;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.navbar.scrolled .btn-secondary {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    color: var(--primary-color);
    border-color: var(--border-medium);
    text-shadow: none;
}

.navbar .btn-secondary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(245, 245, 220, 0.25);
    transition: var(--transition-smooth);
    z-index: -1;
    border-radius: 32px;
}

.navbar.scrolled .btn-secondary::after {
    background: var(--gradient-primary);
}

.navbar .btn-secondary:hover::after {
    width: 100%;
}

.navbar .btn-secondary:hover {
    color: #F5EFE0;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(245, 245, 220, 0.2);
}

.navbar.scrolled .btn-secondary:hover {
    color: var(--white);
    box-shadow: var(--shadow-medium);
}
@media (max-width: 768px) {
    .navbar {
        padding: 12px 0;
    }

    .navbar.scrolled {
        padding: 8px 0;
    }
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--spacing-xl);
}

.logo {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    gap: var(--spacing-sm);
    transition: var(--transition-smooth);
}

.logo:hover {
    transform: scale(1.02);
}

.logo img {
    transition: var(--transition-smooth);
    object-fit: contain;
}

.logo:hover img {
    transform: rotate(3deg);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--spacing-2xl);
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: #F5F5DC; 
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition-smooth);
    position: relative;
    padding: var(--spacing-sm) 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.nav-links a:hover {
    color: var(--primary-color);
    transform: translateY(-1px);
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-smooth);
    transform: translateX(-50%);
    border-radius: 1px;
}

.nav-links a:hover::before {
    width: 100%;
}

.auth-buttons {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    position: relative;
}

.lang-switch {
    display: flex;
    border: 1.5px solid var(--border-medium);
    border-radius: 32px;
    overflow: hidden;
    transition: var(--transition-smooth);
    background: var(--white);
}

.lang-switch:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-light);
    border-color: var(--primary-color);
}

.lang-btn {
    padding: 8px 14px;
    text-decoration: none;
    background: transparent;
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition-smooth);
    font-weight: 600;
    font-size: 13px;
    position: relative;
    overflow: hidden;
}

.lang-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: var(--transition-smooth);
    z-index: -1;
}

.lang-btn:hover::before,
.lang-btn.active::before {
    left: 0;
}

.lang-btn.active,
.lang-btn:hover {
    color: var(--white);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 10px 20px;
    border: none;
    border-radius: 32px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition-smooth);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transform: perspective(1px) translateZ(0);
    white-space: nowrap;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: var(--transition-quick);
}

.btn:hover::before {
    left: 100%;
    transition: var(--transition-quick);
}

.btn-primary {
            background: var(--primary-color);
            color: var(--white);
        }

        .btn-primary:hover {
            background: var(--primary-dark);
            transform: translateY(-3px);
            box-shadow: var(--shadow-hover);
        }


.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 1.5px solid var(--border-medium);
    position: relative;
    z-index: 1;
}

.btn-secondary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--gradient-primary);
    transition: var(--transition-smooth);
    z-index: -1;
    border-radius: 32px;
}

.btn-secondary:hover::after {
    width: 100%;
}

.btn-secondary:hover {
    color: var(--white);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    position: relative;
    padding: var(--spacing-xs);
    border-radius: 32px;
    transition: var(--transition-smooth);
    background: rgba(245, 245, 220, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(245, 245, 220, 0.2);
}

.user-profile:hover {
    background: rgba(26, 51, 41, 0.08);
    transform: translateY(-1px);
}

.user-profile img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--primary-light);
    object-fit: cover;
    transition: var(--transition-smooth);
}

.user-profile:hover img {
    transform: scale(1.05);
    box-shadow: var(--shadow-light);
}

.user-profile span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-medium);
    transition: var(--transition-smooth);
}

.user-profile:hover span {
    color: var(--primary-color);
}

.user-profile .logout-btn {
    padding: var(--spacing-xs);
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.user-profile .logout-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: rotate(180deg);
}

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 10s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-image.active {
    opacity: 1;
    transform: scale(1.15);
}

.hero-image.fade-out {
    opacity: 0;
    transform: scale(1.1);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    transition: opacity 0.8s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
    color: var(--white);
    max-width: 680px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    animation: heroContentSlide 1.5s var(--elastic) 1.2s forwards;
}

@keyframes heroContentSlide {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-content h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    margin-bottom: var(--spacing-lg);
    font-weight: 700;
    text-shadow: 2px 4px 12px rgba(0,0,0,0.3);
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.hero-content p {
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    margin-bottom: var(--spacing-2xl);
    opacity: 0.95;
    text-shadow: 1px 2px 6px rgba(0,0,0,0.25);
    line-height: 1.6;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    transform: translateY(40px) scale(0.9);
    opacity: 0;
    animation: buttonSlide 1s var(--bounce) forwards;
    padding: 12px 24px;
    font-size: 15px;
}

.hero-buttons .btn:nth-child(1) {
    animation-delay: 1.8s;
}

.hero-buttons .btn:nth-child(2) {
    animation-delay: 2s;
}

.btn-gold {
    background: linear-gradient(135deg, #EFE7D8 0%, #D8C7A8 50%, #BCA685 100%) !important;
    color: #0F2818 !important;
    font-weight: 700 !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 4px 18px rgba(140, 116, 73, 0.25) !important;
    text-shadow: none !important;
    transition: all 0.35s ease !important;
}

.btn-gold:hover {
    background: linear-gradient(135deg, #FFFFFF 0%, #E2D3BE 100%) !important;
    color: #0F2818 !important;
    box-shadow: 0 6px 24px rgba(140, 116, 73, 0.35) !important;
    transform: translateY(-2px) scale(1.02) !important;
}

.hero-highlight {
    background: linear-gradient(135deg, #FFFFFF 0%, #EFE7D8 40%, #DFCBB0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
}

@keyframes buttonSlide {
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.hero-indicators {
    position: absolute;
    bottom: var(--spacing-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--spacing-sm);
    z-index: 3;
    opacity: 0;
    animation: indicatorsSlide 0.8s ease 2.2s forwards;
}

@keyframes indicatorsSlide {
    to {
        opacity: 1;
    }
}

.hero-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
}

.hero-indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--white);
    border-radius: 50%;
    transition: var(--transition-smooth);
    transform: translate(-50%, -50%);
}

.hero-indicator:hover::before,
.hero-indicator.active::before {
    width: 100%;
    height: 100%;
}

.hero-indicator:hover {
    transform: scale(1.2);
}

.section {
    padding: 80px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    transition: var(--transition-slow);
}

.section-header.animate {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    color: var(--primary-dark);
    margin-bottom: var(--spacing-lg);
    position: relative;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3.5px;
    background: var(--gradient-gold);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(140, 116, 73, 0.25);
    animation: underlineGrow 1.2s var(--bounce) 0.6s forwards;
}

@keyframes underlineGrow {
    to {
        width: 72px;
    }
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-medium);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 400;
}

.tours-section {
    background: var(--primary-bg);
    position: relative;
}

.tours-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, rgba(26, 51, 41, 0.02));
    pointer-events: none;
}

.tour-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 48px;
    gap: var(--spacing-md);
}

.category-btn {
    padding: 10px 22px;
    background: var(--white);
    border: 1.5px solid rgba(26, 51, 41, 0.16);
    border-radius: 32px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13.5px;
    transition: var(--transition-smooth);
    color: var(--primary-dark);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.category-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    transition: var(--transition-smooth);
    z-index: -1;
}

.category-btn:hover::before {
    left: 0;
}

.category-btn.active::before {
    left: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.category-btn.active {
    color: var(--white) !important;
    border-color: var(--gold) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 18px rgba(140, 116, 73, 0.22) !important;
}

.category-btn:hover {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    border-color: var(--gold);
}

.tours-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-xl);
    perspective: 1000px;
}


.tour-card {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10), 0 1px 3px rgba(0, 0, 0, 0.06);
    background: #FBF4E8;
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-slow);
    opacity: 0;
    transform: translateY(80px) rotateX(10deg) scale(0.9);
    position: relative;
    height: 500px;
    display: flex;
    flex-direction: column;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid #E8DEC8;
    isolation: isolate;
}

.tour-card.animate {
    opacity: 1;
    transform: translateY(0) rotateX(0) scale(1);
}

.tour-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(26, 51, 41, 0.14);
    border: 1px solid #DFD4BC;
}

.tour-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        transparent 30%,
        rgba(248, 242, 232, 0.05) 35%,
        rgba(248, 242, 232, 0.15) 40%,
        rgba(248, 242, 232, 0.35) 45%,
        rgba(248, 242, 232, 0.55) 50%,
        rgba(248, 242, 232, 0.75) 55%,
        rgba(248, 242, 232, 0.9) 60%,
        rgb(248, 242, 232) 65%
    );
    pointer-events: none;
    z-index: 1;
    border-radius: var(--border-radius-lg);
}

.tour-card:hover::before {
    background: linear-gradient(
        to bottom,
        transparent 0%,
        transparent 30%,
        rgba(248, 242, 232, 0.02) 35%,
        rgba(248, 242, 232, 0.1) 40%,
        rgba(248, 242, 232, 0.25) 45%,
        rgba(248, 242, 232, 0.45) 50%,
        rgba(248, 242, 232, 0.65) 55%,
        rgba(248, 242, 232, 0.85) 60%,
        rgb(248, 242, 232) 65%
    );
}

.tour-price-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(15, 40, 24, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #F5EFE0;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(201, 181, 150, 0.45);
    z-index: 5;
    letter-spacing: -0.2px;
}

.tour-price-badge .price-from {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
    color: #C9B596;
}

.tour-price-badge .price-amount {
    font-size: 15px;
    font-weight: 700;
    color: #FFFFFF;
}

.tour-image {
    display: none;
}

.tour-content {
    flex: 1;
    padding: var(--spacing-lg);
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
    z-index: 2;
    margin-top: 200px;
    min-height: 240px;
}

.tour-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-dark);
    margin: 0 0 var(--spacing-md) 0;
    line-height: 1.3;
    letter-spacing: -0.2px;
    height: 48px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 4px 6px rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 3;
    flex-shrink: 0;
}

.tour-info {
    flex: 1;
    margin-bottom: var(--spacing-sm);
    display: flex;
    flex-direction: column;
}

.tour-info-fixed {
    flex-shrink: 0;
    margin-bottom: var(--spacing-xs);
}

.tour-info-variable {
    flex: 1;
    overflow: hidden;
    max-height: 55px;
}

.tour-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 6px;
    font-size: 13.5px;
    color: var(--text-medium);
    line-height: 1.35;
    text-shadow: none;
}

.tour-info-item i {
    color: var(--gold);
    margin-right: 10px;
    font-size: 14px;
    margin-top: 2px;
    width: 16px;
    flex-shrink: 0;
    filter: drop-shadow(0 1px 2px rgba(140, 116, 73, 0.25));
}

.tour-info-item span {
    font-weight: 600;
    color: var(--primary-dark);
    margin-right: 4px;
}

.tour-duration,
.tour-schedule {
    color: var(--text-medium);
    font-weight: 500;
    white-space: nowrap;
}

.tour-includes {
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.tour-actions {
    text-align: center;
    margin-top: auto; 
    padding-top: var(--spacing-sm);
    flex-shrink: 0; 
}

.tour-actions .btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: 1.5px solid var(--gold);
    padding: 11px 22px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 13.5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 8px;
    transition: all 0.35s ease;
    box-shadow: 0 4px 14px rgba(26, 51, 41, 0.18);
}

.tour-actions .btn i {
    color: var(--gold-light);
    transition: transform 0.3s ease;
}

.tour-actions .btn:hover {
    background: var(--gradient-gold);
    color: var(--primary-dark);
    border-color: var(--gold-dark);
    box-shadow: 0 6px 20px rgba(140, 116, 73, 0.25);
    transform: translateY(-2px);
}

.tour-actions .btn:hover i {
    color: var(--primary-dark);
    transform: scale(1.15);
}
.guias-section {
    background: #F4EBDC;
    position: relative;
}

.guias-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, rgba(26, 51, 41, 0.02), transparent);
    pointer-events: none;
}

.guias-filters {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.guias-filters select {
    padding: 10px 18px;
    border: 1.5px solid var(--border-medium);
    border-radius: 32px;
    background: var(--white);
    cursor: pointer;
    font-size: 14px;
    color: var(--text-medium);
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-light);
    font-weight: 500;
}

.guias-filters select:hover,
.guias-filters select:focus {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-medium);
    transform: translateY(-1px);
    outline: none;
}

.guias-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.guia-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-2xl);
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition-slow);
    opacity: 0;
    transform: translateY(60px) scale(0.9) rotateY(8deg);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.guia-card.animate {
    opacity: 1;
    transform: translateY(0) scale(1) rotateY(0);
}

.guia-card:hover {
    transform: translateY(-10px) scale(1.01) rotateY(-1deg);
    box-shadow: var(--shadow-heavy);
}

.guia-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-smooth);
}

.guia-card:hover::before {
    transform: scaleX(1);
}

.guia-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    margin: 0 auto var(--spacing-lg);
    border: 3px solid var(--primary-light);
    object-fit: cover;
    transition: var(--transition-smooth);
    position: relative;
}

.guia-avatar::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: -1;
}

.guia-card:hover .guia-avatar {
    transform: scale(1.08) rotate(3deg);
}

.guia-card:hover .guia-avatar::before {
    opacity: 1;
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1) rotate(-3deg); 
        opacity: 0.6; 
    }
    50% { 
        transform: scale(1.03) rotate(3deg); 
        opacity: 0.2; 
    }
}

.guia-name {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    letter-spacing: -0.2px;
}

.guia-rating {
    display: flex;
    justify-content: center;
    gap: 3px;
    margin-bottom: var(--spacing-md);
    align-items: center;
}

.guia-rating .star {
    color: var(--gold);
    transition: var(--transition-smooth);
    font-size: 14px;
}

.guia-card:hover .guia-rating .star {
    animation: starTwinkle 1.2s ease-in-out infinite;
}

@keyframes starTwinkle {
    0%, 100% { 
        transform: scale(1) rotate(0deg); 
    }
    50% { 
        transform: scale(1.15) rotate(8deg); 
    }
}

.experiencias-section {
    background: var(--primary-bg);
    position: relative;
}

.experiencias-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, rgba(26, 51, 41, 0.02));
    pointer-events: none;
}

.photos-mural {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: 48px;
}

.photo-item {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition-slow);
    opacity: 0;
    transform: translateY(50px) scale(0.95) rotateZ(2deg);
    border: 1px solid var(--border-light);
}

.photo-item.animate {
    opacity: 1;
    transform: translateY(0) scale(1) rotateZ(0);
}

.photo-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: var(--transition-slow);
}

.photo-item:hover {
    transform: translateY(-10px) scale(1.01) rotateZ(-1deg);
    box-shadow: var(--shadow-heavy);
}

.photo-item:hover img {
    transform: scale(1.08) rotate(1deg);
}

.photo-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
    padding: var(--spacing-lg);
    color: var(--white);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    transform: translateY(12px);
    transition: var(--transition-smooth);
}

.photo-item:hover .photo-info {
    transform: translateY(0);
}

.photo-info .small-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--white);
    transition: var(--transition-smooth);
}

.photo-item:hover .photo-info .small-avatar {
    transform: scale(1.08) rotate(-3deg);
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    margin-bottom: var(--spacing-2xl);
}

.carousel {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-item {
    flex: 0 0 100%;
    position: relative;
}

.experiencia-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    margin: 0 var(--spacing-md);
    transition: var(--transition-smooth);
    border: 1px solid var(--border-light);
}

.experiencia-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: var(--shadow-heavy);
}

.experiencia-content {
    padding: var(--spacing-2xl);
}

.experiencia-user {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.experiencia-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2.5px solid var(--primary-light);
    transition: var(--transition-smooth);
}

.experiencia-card:hover .experiencia-avatar {
    transform: scale(1.1) rotate(8deg);
}

.experiencia-name {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 16px;
    letter-spacing: -0.2px;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.96);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    color: var(--primary-color);
    font-size: 16px;
    box-shadow: var(--shadow-light);
    z-index: 10;
    border: 1px solid var(--border-light);
}

.carousel-nav:hover {
    background: var(--white);
    box-shadow: var(--shadow-medium);
    transform: translateY(-50%) scale(1.1) rotate(8deg);
}

.carousel-nav.prev {
    left: var(--spacing-md);
}

.carousel-nav.next {
    right: var(--spacing-md);
}

.add-experiencia {
    max-width: 580px;
    margin: 48px auto 0;
    text-align: center;
}

.add-experiencia form {
    background: var(--white);
    padding: var(--spacing-2xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
    margin-top: var(--spacing-lg);
    transition: var(--transition-smooth);
    border: 1px solid var(--border-light);
}

.add-experiencia form:hover {
    box-shadow: var(--shadow-heavy);
    transform: translateY(-4px);
}

.add-experiencia textarea {
    width: 100%;
    min-height: 100px;
    padding: var(--spacing-md);
    border: 1.5px solid var(--border-medium);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-md);
    font-family: inherit;
    resize: vertical;
    transition: var(--transition-smooth);
    font-size: 14px;
    line-height: 1.6;
}

.add-experiencia textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 51, 41, 0.08);
    transform: scale(1.01);
}

.add-experiencia input[type="file"] {
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-sm);
    border: 2px dashed var(--border-medium);
    border-radius: var(--border-radius);
    width: 100%;
    transition: var(--transition-smooth);
}

.add-experiencia input[type="file"]:hover {
    border-color: var(--primary-color);
    background: rgba(26, 51, 41, 0.04);
    transform: scale(1.01);
}

.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 64px 0 var(--spacing-xl);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--spacing-2xl);
    padding: 0 var(--spacing-xl);
}

.footer-section h3 {
    color: var(--primary-light);
    margin-bottom: var(--spacing-lg);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.2px;
}

.footer-section p, .footer-section li {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--spacing-sm);
    line-height: 1.6;
    transition: var(--transition-smooth);
    font-size: 14px;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: var(--transition-smooth);
    position: relative;
}

.footer-section a:hover {
    color: var(--primary-light);
    transform: translateX(6px);
}

.footer-section a::before {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-light);
    transition: var(--transition-smooth);
}

.footer-section a:hover::before {
    width: 100%;
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transform: scale(0);
    transition: var(--transition-smooth);
    border-radius: 50%;
}

.social-link:hover::before {
    transform: scale(1);
}

.social-link:hover {
    transform: translateY(-4px) scale(1.1) rotate(8deg);
    box-shadow: var(--shadow-medium);
}

.social-link i {
    position: relative;
    z-index: 1;
    font-size: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: var(--spacing-lg);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    margin-top: var(--spacing-2xl);
    font-size: 14px;
}

.whatsapp-button {
    position: fixed;
    bottom: var(--spacing-lg);
    right: var(--spacing-lg);
    background: var(--gradient-secondary);
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-medium);
    animation: whatsappPulse 2.5s infinite;
}

@keyframes whatsappPulse {
    0%, 100% { 
        box-shadow: var(--shadow-medium), 0 0 0 0 rgba(37, 211, 102, 0.6);
        transform: scale(1);
    }
    50% { 
        box-shadow: var(--shadow-heavy), 0 0 0 12px rgba(37, 211, 102, 0);
        transform: scale(1.03);
    }
}

.whatsapp-button:hover {
    background: #128C7E;
    transform: scale(1.15) rotate(8deg);
    animation: none;
    box-shadow: var(--shadow-heavy);
}

.whatsapp-button i {
    color: var(--white);
    font-size: 26px;
    transition: var(--transition-smooth);
}

.whatsapp-button:hover i {
    transform: scale(1.08) rotate(-8deg);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 3px;
    z-index: 1001;
    padding: var(--spacing-sm);
    transition: var(--transition-smooth);
}

.mobile-menu:hover {
    transform: scale(1.05);
}

.mobile-menu span {
    width: 24px;
    height: 2.5px;
    background: var(--primary-color);
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.mobile-nav {
    position: fixed;
    top: 64px;
    right: -100%;
    width: 100%;
    max-width: 320px;
    height: calc(100vh - 64px);
    background: var(--white);
    box-shadow: var(--shadow-heavy);
    transition: var(--transition-slow);
    z-index: 999;
    padding: var(--spacing-2xl);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    border-left: 1px solid var(--border-light);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav a {
    color: var(--text-medium);
    text-decoration: none;
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--border-light);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition-smooth);
    position: relative;
}

.mobile-nav a:hover {
    color: var(--primary-color);
    transform: translateX(12px) scale(1.01);
}

.mobile-nav a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-smooth);
}

.mobile-nav a:hover::before {
    width: 100%;
}

.mobile-auth-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.google-signin-container {
    position: fixed;
    top: 72px;
    right: var(--spacing-lg);
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-heavy);
    z-index: 1001;
    display: none;
    transition: var(--transition-smooth);
    border: 1px solid var(--border-light);
}

.google-signin-container.active {
    display: block;
    animation: slideInDown 0.4s var(--elastic);
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-24px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.google-signin-container .close-btn {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition-smooth);
    padding: var(--spacing-xs);
    border-radius: 50%;
}

.google-signin-container .close-btn:hover {
    color: var(--primary-color);
    background: rgba(26, 51, 41, 0.08);
    transform: rotate(180deg) scale(1.08);
}

#cart-icon, #cart-icon-mobile {
    position: relative !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

#cart-count, #cart-count-mobile {
    position: fixed !important;
    top: var(--cart-counter-top, 10px) !important;
    right: var(--cart-counter-right, 20px) !important;
    background: linear-gradient(135deg, #dc2626, #ef4444) !important;
    color: white !important;
    border-radius: 50% !important;
    width: 20px !important;
    height: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif !important;
    border: 2px solid white !important;
    box-shadow: 
        0 2px 8px rgba(220, 38, 38, 0.5),
        0 0 0 1px rgba(0, 0, 0, 0.1),
        0 4px 16px rgba(220, 38, 38, 0.25) !important;
    z-index: 9999 !important;
    isolation: isolate !important;
    pointer-events: none !important;
    user-select: none !important;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    transform: scale(0) !important;
    opacity: 0 !important;
}

@media (max-width: 768px) {
    #cart-count, #cart-count-mobile {
        width: 20px !important;
        height: 20px !important;
        font-size: 10px !important;
        top: -5px !important;
        right: -5px !important;
        border-width: 1.5px !important;
    }
}

@media (max-width: 480px) {
    #cart-count, #cart-count-mobile {
        width: 18px !important;
        height: 18px !important;
        font-size: 9px !important;
        top: -4px !important;
        right: -4px !important;
    }
}


@keyframes cartBounce {
    0% { 
        transform: scale(0) rotate(-180deg); 
        opacity: 0;
    }
    50% { 
        transform: scale(1.4) rotate(8deg); 
        opacity: 1;
    }
    100% { 
        transform: scale(1) rotate(0); 
        opacity: 1;
    }
}

#cart-count:not([data-count="0"]), 
#cart-count-mobile:not([data-count="0"]) {
    transform: scale(1) !important;
    opacity: 1 !important;
    animation: cartCounterShow 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards !important;
}

#cart-count[data-count="0"], 
#cart-count-mobile[data-count="0"] {
    display: none !important;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.animate {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.stagger-animation > * {
    opacity: 0;
    transform: translateY(50px) scale(0.9) rotateX(10deg);
    transition: var(--transition-slow);
}

.stagger-animation.animate > *:nth-child(1) { 
    animation: slideUpStagger 0.8s var(--bounce) 0.08s forwards; 
}
.stagger-animation.animate > *:nth-child(2) { 
    animation: slideUpStagger 0.8s var(--bounce) 0.2s forwards; 
}
.stagger-animation.animate > *:nth-child(3) { 
    animation: slideUpStagger 0.8s var(--bounce) 0.32s forwards; 
}
.stagger-animation.animate > *:nth-child(4) { 
    animation: slideUpStagger 0.8s var(--bounce) 0.44s forwards; 
}
.stagger-animation.animate > *:nth-child(5) { 
    animation: slideUpStagger 0.8s var(--bounce) 0.56s forwards; 
}
.stagger-animation.animate > *:nth-child(6) { 
    animation: slideUpStagger 0.8s var(--bounce) 0.68s forwards; 
}

@keyframes slideUpStagger {
    to {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0);
    }
}

.tour-categories .category-btn {
    opacity: 0;
    transform: translateY(24px) scale(0.95);
    transition: var(--transition-slow);
}

.tour-categories.animate .category-btn:nth-child(1) { 
    animation: slideUpStagger 0.6s var(--elastic) 0.08s forwards; 
}
.tour-categories.animate .category-btn:nth-child(2) { 
    animation: slideUpStagger 0.6s var(--elastic) 0.16s forwards; 
}
.tour-categories.animate .category-btn:nth-child(3) { 
    animation: slideUpStagger 0.6s var(--elastic) 0.24s forwards; 
}
.tour-categories.animate .category-btn:nth-child(4) { 
    animation: slideUpStagger 0.6s var(--elastic) 0.32s forwards; 
}

.guias-filters select {
    opacity: 0;
    transform: translateY(24px) scale(0.95);
    transition: var(--transition-slow);
}

.guias-filters.animate select:nth-child(1) { 
    animation: slideUpStagger 0.6s var(--elastic) 0.08s forwards; 
}
.guias-filters.animate select:nth-child(2) { 
    animation: slideUpStagger 0.6s var(--elastic) 0.16s forwards; 
}
.guias-filters.animate select:nth-child(3) { 
    animation: slideUpStagger 0.6s var(--elastic) 0.24s forwards; 
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 1024px) {
    .nav-container {
        padding: 0 var(--spacing-lg);
    }
    
    .container {
        padding: 0 var(--spacing-lg);
    }
    
    .section {
        padding: 64px 0;
    }
    
    .hero-content h1 {
        font-size: clamp(2rem, 4vw, 2.8rem);
    }
    
    .tours-container {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: var(--spacing-lg);
    }
    
    .guias-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: var(--spacing-lg);
    }
}


@media (max-width: 768px) {
    :root {
        --spacing-xs: 3px;
        --spacing-sm: 6px;
        --spacing-md: 12px;
        --spacing-lg: 18px;
        --spacing-xl: 24px;
        --spacing-2xl: 36px;
    }

    .navbar {
        padding: 8px 0;
    }

    .navbar.scrolled {
        padding: 6px 0;
    }

    .nav-container {
        padding: 0 var(--spacing-lg);
    }

    .nav-links {
        display: none;
    }

    .auth-buttons {
        display: none;
    }

    .mobile-menu {
        display: flex;
    }

    .hero-content h1 {
        font-size: clamp(1.8rem, 6vw, 2.4rem);
        margin-bottom: var(--spacing-lg);
    }

    .hero-content p {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
        margin-bottom: var(--spacing-xl);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-md);
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 12px 24px;
    }

    .section {
        padding: 48px 0;
    }

    .section-title {
        font-size: clamp(1.6rem, 5vw, 2rem);
        margin-bottom: var(--spacing-md);
    }

    .section-header {
        margin-bottom: 48px;
    }

    .container {
        padding: 0 var(--spacing-lg);
    }

    .tours-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .tour-categories {
        gap: var(--spacing-sm);
        margin-bottom: 32px;
    }

    .category-btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    .guias-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .guias-filters {
        flex-direction: column;
        gap: var(--spacing-md);
        margin-bottom: 32px;
    }

    .guias-filters select {
        width: 100%;
        padding: 10px 16px;
    }

    .photos-mural {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: var(--spacing-md);
        margin-bottom: 32px;
    }

    .photo-item img {
        height: 240px;
    }

    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .carousel-nav.prev {
        left: var(--spacing-sm);
    }

    .carousel-nav.next {
        right: var(--spacing-sm);
    }

    .experiencia-content {
        padding: var(--spacing-lg);
    }

    .add-experiencia {
        margin: 32px auto 0;
    }

    .add-experiencia form {
        padding: var(--spacing-lg);
        margin-top: var(--spacing-md);
    }

    .footer {
        padding: 48px 0 var(--spacing-lg);
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-xl);
        padding: 0 var(--spacing-lg);
    }

    .google-signin-container {
        width: 90%;
        max-width: 280px;
        right: 50%;
        transform: translateX(50%);
        top: 64px;
    }

    .whatsapp-button {
        width: 48px;
        height: 48px;
        bottom: var(--spacing-md);
        right: var(--spacing-md);
    }

    .whatsapp-button i {
        font-size: 22px;
    }

    #cart-count, #cart-count-mobile {
        width: 18px !important;
        height: 18px !important;
        font-size: 9px !important;
        top: -6px !important;
        right: -6px !important;
    }

    .btn {
        padding: 10px 18px;
        font-size: 13px;
    }

    .tour-header {
        display: none;
    }

    .tour-title {
        font-size: 16px;
        margin-bottom: var(--spacing-xs);
    }

    .tour-schedule {
        font-size: 12px;
    }

    .tour-content {
        padding: var(--spacing-md);
    }

    .tour-details {
    display: none;
}
    .guia-card {
        padding: var(--spacing-lg);
    }

    .guia-avatar {
        width: 80px;
        height: 80px;
        margin-bottom: var(--spacing-md);
    }

    .guia-name {
        font-size: 16px;
        margin-bottom: var(--spacing-xs);
    }

    .guia-rating {
        margin-bottom: var(--spacing-sm);
    }

    .guia-rating .star {
        font-size: 13px;
    }

    .experiencia-user {
        gap: var(--spacing-sm);
        margin-bottom: var(--spacing-md);
    }

    .experiencia-avatar {
        width: 36px;
        height: 36px;
    }

    .experiencia-name {
        font-size: 14px;
    }

    .social-links {
        gap: var(--spacing-sm);
        justify-content: center;
    }

    .social-link {
        width: 36px;
        height: 36px;
    }

    .social-link i {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: clamp(1.6rem, 7vw, 2rem);
    }

    .hero-content p {
        font-size: clamp(0.85rem, 4vw, 1rem);
    }

    .btn {
        padding: 10px 16px;
        font-size: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 240px;
    }

    .section-title {
        font-size: clamp(1.4rem, 6vw, 1.8rem);
    }

    .section-subtitle {
        font-size: 14px;
    }

    .category-btn {
        padding: 7px 14px;
        font-size: 11px;
    }

    .photos-mural {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .photo-item img {
        height: 220px;
    }

    .whatsapp-button {
        width: 44px;
        height: 44px;
    }

    .whatsapp-button i {
        font-size: 20px;
    }

    .section {
        padding: 40px 0;
    }

    .container {
        padding: 0 var(--spacing-md);
    }

    .nav-container {
        padding: 0 var(--spacing-md);
    }

    .footer-content {
        padding: 0 var(--spacing-md);
    }

    .mobile-nav {
        padding: var(--spacing-lg);
        max-width: 280px;
    }

    .guias-filters select {
        padding: 9px 14px;
        font-size: 13px;
    }

    .loading-text {
        font-size: 14px;
        letter-spacing: 1.5px;
    }

    .loading-spinner {
        width: 56px;
        height: 56px;
        margin-bottom: 20px;
    }

    .hero-indicators {
        bottom: var(--spacing-lg);
        gap: var(--spacing-xs);
    }

    .hero-indicator {
        width: 8px;
        height: 8px;
    }

    .tour-image {
        height: 180px;
    }

    .add-experiencia textarea {
        min-height: 80px;
        padding: var(--spacing-sm);
        font-size: 13px;
    }

    .footer-section h3 {
        font-size: 16px;
        margin-bottom: var(--spacing-md);
    }

    .footer-section p, .footer-section li {
        font-size: 13px;
        margin-bottom: var(--spacing-xs);
    }

    .footer-bottom {
        font-size: 12px;
        padding-top: var(--spacing-md);
        margin-top: var(--spacing-lg);
    }
}

@media (max-width: 360px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    .nav-container {
        padding: 0 var(--spacing-sm);
    }

    .hero-buttons .btn {
        max-width: 200px;
        padding: 9px 14px;
    }

    .mobile-nav {
        max-width: 260px;
        padding: var(--spacing-md);
    }

    .whatsapp-button {
        width: 40px;
        height: 40px;
        bottom: var(--spacing-sm);
        right: var(--spacing-sm);
    }

    .whatsapp-button i {
        font-size: 18px;
    }

    .tour-header,
    .tour-content {
        padding: var(--spacing-sm);
    }

    .guia-card {
        padding: var(--spacing-md);
    }

    .experiencia-content {
        padding: var(--spacing-md);
    }

    .add-experiencia form {
        padding: var(--spacing-md);
    }
}

.scroll-to-top {
    position: fixed;
    bottom: 80px;
    right: var(--spacing-lg);
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition-smooth);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 999;
    box-shadow: var(--shadow-medium);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: var(--shadow-heavy);
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 60px;
        right: var(--spacing-md);
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}
@media (max-width: 768px) {
    .tour-card {
        height: 380px;
    }
    
    .tour-image {
        height: 50%;
    }
    
    .tour-content {
        padding: var(--spacing-md);
    }
    
    .tour-title {
        font-size: 16px;
        margin-bottom: var(--spacing-sm);
    }
    
    .tour-info-item {
        font-size: 13px;
        margin-bottom: var(--spacing-xs);
    }
    
    .tour-actions .btn {
        padding: 8px 16px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .tour-card {
        height: 360px;
    }
    
    .tour-image {
        height: 48%;
    }
    
    .tour-title {
        font-size: 15px;
    }
    
    .tour-info-item {
        font-size: 12px;
    }
}

.tours-loading {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.tours-loading.active {
    opacity: 1;
    transform: scale(1);
}

.tours-loading-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid transparent;
    border-top: 3px solid var(--primary-color);
    border-right: 3px solid var(--primary-light);
    border-radius: 50%;
    animation: toursLoadingSpin 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
    position: relative;
}

.tours-loading-spinner::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: calc(100% - 6px);
    height: calc(100% - 6px);
    border: 2px solid transparent;
    border-bottom: 2px solid var(--secondary-color);
    border-radius: 50%;
    animation: toursLoadingSpinReverse 1s ease-in-out infinite;
}

.tours-loading-text {
    margin-top: 16px;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

@keyframes toursLoadingSpin {
    0% { 
        transform: rotate(0deg); 
        border-top-color: var(--primary-color);
        border-right-color: var(--primary-light);
    }
    50% { 
        transform: rotate(180deg); 
        border-top-color: var(--primary-light);
        border-right-color: var(--secondary-color);
    }
    100% { 
        transform: rotate(360deg); 
        border-top-color: var(--primary-color);
        border-right-color: var(--primary-light);
    }
}

@keyframes toursLoadingSpinReverse {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

.tours-container.filtering {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.tours-container.showing {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
/*
 * Mural de fotos
 */
.mural-container {
    background: #F5EFE0;
    position: relative;
    padding: 40px 20px;
    min-height: 600px;
    overflow: hidden;
    border-radius: 12px;
}

.photos-mural {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.polaroid-frame {
    background: #fff;
    padding: 12px 12px 48px 12px;
    box-shadow: 
        0 4px 6px rgba(0,0,0,0.1),
        0 1px 3px rgba(0,0,0,0.08),
        0 8px 15px rgba(0,0,0,0.05);
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    max-width: 280px;
    margin: 0 auto;
    will-change: transform;
}

.polaroid-frame:nth-child(1) {
    transform: rotate(-3deg);
    background: linear-gradient(135deg, #fff 0%, #faf8f6 100%);
}

.polaroid-frame:nth-child(2) {
    transform: rotate(2deg);
    background: linear-gradient(135deg, #fff 0%, #f6f8fa 100%);
}

.polaroid-frame:nth-child(3) {
    transform: rotate(-4deg);
    background: linear-gradient(135deg, #fff 0%, #faf6f8 100%);
}

.polaroid-frame:nth-child(4) {
    transform: rotate(1deg);
    background: linear-gradient(135deg, #fff 0%, #f6faf7 100%);
}

.polaroid-frame:nth-child(5) {
    transform: rotate(-2deg);
    background: linear-gradient(135deg, #fff 0%, #faf7f6 100%);
}

.polaroid-frame:nth-child(6) {
    transform: rotate(3deg);
    background: linear-gradient(135deg, #fff 0%, #f6f7fa 100%);
}

.polaroid-frame:nth-child(7) {
    transform: rotate(-1deg);
    background: linear-gradient(135deg, #fff 0%, #f8faf6 100%);
}

.polaroid-frame:nth-child(8) {
    transform: rotate(2deg);
    background: linear-gradient(135deg, #fff 0%, #faf6f7 100%);
}

.polaroid-frame:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow: 
        0 8px 16px rgba(0,0,0,0.15),
        0 3px 6px rgba(0,0,0,0.1),
        0 16px 32px rgba(0,0,0,0.08);
    z-index: 10;
}

.polaroid-image-container {
    position: relative;
    width: 100%;
    background: #1a1a1a;
    overflow: hidden;
}

.polaroid-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.polaroid-image.portrait {
    aspect-ratio: 3/4;
}

.polaroid-image.landscape {
    aspect-ratio: 4/3;
}

.polaroid-image.square {
    aspect-ratio: 1/1;
}

.polaroid-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px 4px 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Courier New', monospace;
}

.polaroid-user {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #4a4a4a;
    font-weight: 500;
    max-width: 60%;
}

.polaroid-user img {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #e0e0e0;
}

.polaroid-user span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.polaroid-date {
    font-size: 10px;
    color: #888;
    font-style: italic;
}

@media (max-width: 768px) {
    .mural-container {
        padding: 30px 15px;
        min-height: 500px;
    }
    
    .photos-mural {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 20px;
    }
    
    .polaroid-frame {
        padding: 8px 8px 36px 8px;
        max-width: 200px;
    }
    
    .polaroid-info {
        padding: 6px 3px 4px;
    }
    
    .polaroid-user {
        font-size: 10px;
    }
    
    .polaroid-user img {
        width: 16px;
        height: 16px;
    }
    
    .polaroid-date {
        font-size: 9px;
    }
}

@media (max-width: 480px) {
    .photos-mural {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 15px;
    }
    
    .polaroid-frame {
        max-width: 180px;
        padding: 6px 6px 32px 6px;
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
    opacity: 0;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.polaroid-frame:nth-child(1) { animation-delay: 0.1s; }
.polaroid-frame:nth-child(2) { animation-delay: 0.2s; }
.polaroid-frame:nth-child(3) { animation-delay: 0.3s; }
.polaroid-frame:nth-child(4) { animation-delay: 0.4s; }
.polaroid-frame:nth-child(5) { animation-delay: 0.5s; }
.polaroid-frame:nth-child(6) { animation-delay: 0.6s; }
.polaroid-frame:nth-child(7) { animation-delay: 0.7s; }
.polaroid-frame:nth-child(8) { animation-delay: 0.8s; }
.comentarios-carousel {
    width: 100%;
    height: 450px;
    overflow: hidden;
    position: relative;
    background: var(--primary-bg);
    border-radius: var(--border-radius-lg);
    margin: 48px 0;
}

.comentarios-track {
    display: flex;
    height: 100%;
    will-change: transform;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.comentarios-track:active {
    cursor: grabbing;
}

.comentarios-track.dragging {
    cursor: grabbing;
}

.comentario-card {
    background: #FFFFFF;
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    margin-right: var(--spacing-lg);
    min-width: 310px;
    max-width: 310px;
    height: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 8px 24px rgba(26, 51, 41, 0.08);
    transition: var(--transition-smooth);
    border: 1px solid rgba(201, 181, 150, 0.35);
    border-top: 3.5px solid var(--gold);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.comentario-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3.5px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transition: var(--transition-smooth);
}

.comentario-card:hover::before {
    transform: scaleX(1);
}

.comentario-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 36px rgba(26, 51, 41, 0.14), 0 0 0 1px rgba(201, 181, 150, 0.45);
    border-color: var(--gold);
}

.comentario-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 2.5px solid var(--gold);
    object-fit: cover;
    margin-bottom: var(--spacing-sm);
    transition: var(--transition-smooth);
    position: relative;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(140, 116, 73, 0.2);
}

.comentario-avatar::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    background: var(--gradient-gold);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: -1;
}

.comentario-card:hover .comentario-avatar {
    transform: scale(1.06);
}

.comentario-card:hover .comentario-avatar::before {
    opacity: 1;
    animation: avatarPulse 2s infinite;
}

.comentario-texto {
    flex: 1;
    font-style: italic;
    font-size: 15px;
    line-height: 1.55;
    color: var(--text-dark);
    margin: var(--spacing-md) 0;
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: center;
}

.comentario-info {
    margin-top: auto;
    flex-shrink: 0;
}

.comentario-nombre {
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 14.5px;
    margin-bottom: 2px;
    letter-spacing: -0.1px;
}

.comentario-fecha {
    font-size: 11.5px;
    color: var(--text-subtle);
    opacity: 0.85;
}

@keyframes slideInfinite {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-324px * var(--total-cards)));
    }
}

@keyframes avatarPulse {
    0%, 100% {
        transform: scale(1.05);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.08);
        opacity: 0.3;
    }
}

@media (max-width: 768px) {
    .comentarios-carousel {
        height: 380px;
        margin: 32px 0;
    }
    
    .comentario-card {
        min-width: 260px;
        max-width: 260px;
        height: 320px;
        padding: var(--spacing-md);
    }
    
    .comentario-avatar {
        width: 44px;
        height: 44px;
        margin-bottom: var(--spacing-xs);
    }
    
    .comentario-texto {
        font-size: 14px;
        -webkit-line-clamp: 6;
        margin: var(--spacing-sm) 0;
    }
    
    .comentario-nombre {
        font-size: 13px;
    }
    
    .comentario-fecha {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .comentarios-carousel {
        height: 340px;
    }
    
    .comentario-card {
        min-width: 220px;
        max-width: 220px;
        height: 280px;
        padding: var(--spacing-sm);
    }
    
    .comentario-avatar {
        width: 40px;
        height: 40px;
    }
    
    .comentario-texto {
        font-size: 13px;
        -webkit-line-clamp: 5;
    }
    
    .comentario-nombre {
        font-size: 12px;
    }
    
    .comentario-fecha {
        font-size: 9px;
    }
}

@media (max-width: 768px) {
    .tours-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        max-width: 340px;
        margin: 0 auto;
    }

    .tour-card {
        height: 420px;
        max-width: 340px;
        margin: 0 auto;
        width: 100%;
        min-height: 400px;
    }

    .tour-content {
        padding: var(--spacing-md);
        margin-top: 180px;
        min-height: 220px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .tour-title {
        font-size: 16px;
        margin-bottom: var(--spacing-sm);
        height: auto;
        min-height: 40px;
        line-height: 1.3;
        -webkit-line-clamp: 2;
    }

    .tour-info {
        flex: 1;
        max-height: none;
        overflow: visible;
        margin-bottom: var(--spacing-sm);
    }

    .tour-info-item {
        font-size: 13px;
        margin-bottom: var(--spacing-xs);
        min-height: 18px;
        align-items: flex-start;
    }

    .tour-info-item i {
        font-size: 12px;
        margin-top: 1px;
        width: 14px;
    }

    .tour-info-item.description .tour-includes {
        font-size: 12px;
        line-height: 1.3;
        max-height: 32px;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .tour-duration,
    .tour-schedule {
        font-size: 12px;
        font-weight: 500;
    }

    .tour-actions {
        margin-top: auto;
        padding-top: var(--spacing-xs);
        flex-shrink: 0;
    }

    .tour-actions .btn {
        padding: 10px 18px;
        font-size: 13px;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .tours-container {
        max-width: 320px;
        gap: var(--spacing-md);
    }

    .tour-card {
        height: 400px;
        max-width: 320px;
        min-height: 380px;
    }

    .tour-content {
        padding: var(--spacing-sm);
        margin-top: 160px;
        min-height: 200px;
    }

    .tour-title {
        font-size: 15px;
        min-height: 36px;
        margin-bottom: var(--spacing-xs);
    }

    .tour-info-item {
        font-size: 12px;
        margin-bottom: 4px;
    }

    .tour-info-item i {
        font-size: 11px;
        width: 12px;
    }

    .tour-info-item.description .tour-includes {
        font-size: 11px;
        max-height: 28px;
    }

    .tour-duration,
    .tour-schedule {
        font-size: 11px;
    }

    .tour-actions .btn {
        padding: 9px 16px;
        font-size: 12px;
    }
}

@media (max-width: 360px) {
    .tours-container {
        max-width: 300px;
    }

    .tour-card {
        max-width: 300px;
        height: 380px;
        min-height: 360px;
    }

    .tour-content {
        padding: 12px;
        margin-top: 150px;
        min-height: 190px;
    }

    .tour-title {
        font-size: 14px;
        min-height: 32px;
    }

    .tour-actions .btn {
        padding: 8px 14px;
        font-size: 11px;
    }
}

.facebook-button {
    position: fixed;
    bottom: calc(var(--spacing-lg) + 72px);
    right: var(--spacing-lg);
    background: linear-gradient(135deg,rgb(54, 121, 209) 0%,rgb(83, 139, 212) 100%);
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-medium);
    animation: facebookPulse 2.5s infinite;
    animation-delay: 0.5s; 
}

@keyframes facebookPulse {
    0%, 100% { 
        box-shadow: var(--shadow-medium), 0 0 0 0 rgba(0, 110, 255, 0.6);
        transform: scale(1);
    }
    50% { 
        box-shadow: var(--shadow-heavy), 0 0 0 12px rgba(24, 119, 242, 0);
        transform: scale(1.03);
    }
}

.facebook-button:hover {
    background:rgb(13, 104, 224);
    transform: scale(1.15) rotate(-8deg);
    animation: none;
    box-shadow: var(--shadow-heavy);
}

.facebook-button i {
    color: var(--white);
    font-size: 26px;
    transition: var(--transition-smooth);
}

.facebook-button:hover i {
    transform: scale(1.08) rotate(8deg);
}

@media (max-width: 768px) {
    .facebook-button {
        width: 48px;
        height: 48px;
        bottom: calc(var(--spacing-md) + 64px); 
        right: var(--spacing-md);
    }

    .facebook-button i {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .facebook-button {
        width: 44px;
        height: 44px;
        bottom: calc(var(--spacing-sm) + 56px); 
    }

    .facebook-button i {
        font-size: 20px;
    }
}

@media (max-width: 360px) {
    .facebook-button {
        width: 40px;
        height: 40px;
        bottom: calc(var(--spacing-sm) + 52px); 
        right: var(--spacing-sm);
    }

    .facebook-button i {
        font-size: 18px;
    }
}
.discount-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    animation: gentleFloat 3s ease-in-out infinite;
}

.badge-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.discount-percentage {
    font-size: 22px;
    font-weight: 800;
    color: rgb(197, 157, 115);
    line-height: 1;
    margin-bottom: 0;
}

.discount-off {
    font-size: 11px;
    font-weight: 700;
    color: rgb(197, 157, 115);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}

@keyframes gentleFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-4px) scale(1.02);
    }
}

.discount-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    animation: gentleFloat calc(2.5s + (1s * sin(var(--index, 0)))) ease-in-out infinite;
    animation-delay: calc(-3s * cos(var(--index, 0)));
}

.tour-card:nth-child(3n+1) .discount-badge {
    animation-duration: 2.7s;
    animation-delay: -0.3s;
}

.tour-card:nth-child(3n+2) .discount-badge {
    animation-duration: 3.2s;
    animation-delay: -1.4s;
}

.tour-card:nth-child(3n+3) .discount-badge {
    animation-duration: 2.9s;
    animation-delay: -2.1s;
}

.tour-card:nth-child(5n+1) .discount-badge {
    animation-duration: 3.1s;
}

.tour-card:nth-child(5n+4) .discount-badge {
    animation-delay: -0.8s;
}

.badge-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.discount-percentage {
    font-size: 22px;
    font-weight: 800;
    color: rgb(197, 157, 115);
    line-height: 1;
    margin-bottom: 0;
}

.discount-off {
    font-size: 11px;
    font-weight: 700;
    color:rgb(197, 157, 115);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}

@keyframes gentleFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-4px) scale(1.02);
    }
}

.discount-badge .discount-percentage {
    font-size: clamp(18px, 3.5vw, 22px);
}

.discount-badge .discount-off {
    font-size: clamp(9px, 2vw, 11px);
}

.discount-badge:empty {
    display: none;
}
