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

:root {
    /* Paleta de colores Premium */
    --primary: #1A5F56;
    /* Deeper, more professional Teal */
    --primary-dark: #133E39;
    /* Darker variant for contrast */
    --primary-light: #4DB6AC;
    /* Vibrant but refined accent */
    --secondary: #E09F3E;
    /* Muted Gold/Orange like 'f4a261' but richer */
    --accent: #D35400;
    /* Burnt Orange instead of bright red-orange */
    --accent-light: #F6B17A;

    /* Tonos neutros sofisticados */
    --text-dark: #1F2937;
    /* Charcoal Gray, softer than pure black */
    --text-medium: #4B5563;
    /* Cool Gray */
    --text-light: #9CA3AF;
    --bg-light: #F3F4F6;
    /* Light Gray/Cool tint */
    --bg-white: #FFFFFF;
    --bg-cream: #FFFCF9;
    /* Subtle warm cream for sections */

    /* Colores de soporte */
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;

    /* Sombras Elevadas (Softer, more diffused) */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
}

html.dark-mode {
    --primary: #4DB6AC;
    /* Brighter in dark mode */
    --primary-dark: #26A69A;
    --primary-light: #80CBC4;
    --secondary: #F4A261;
    --accent: #E76F51;

    --text-dark: #F9FAFB;
    /* Almost white */
    --text-medium: #D1D5DB;
    /* Light Gray */
    --text-light: #9CA3AF;
    --bg-light: #111827;
    /* Very dark blue-gray */
    --bg-white: #1F2937;
    /* Dark gray card background */
    --bg-cream: #131F2E;
    /* Slightly different dark tone */

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.6);
}

html.dark-mode body {
    background: #0f1419;
}

html.dark-mode .navbar {
    background: linear-gradient(135deg, #2d5a4a 0%, #1f5449 100%);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #5eb89a;
    box-shadow: 0 2px 8px rgba(45, 90, 74, 0.3);
}

html.dark-mode .hero {
    background: linear-gradient(135deg, #0f1419 0%, #1a2332 50%, #233140 100%);
}

html.dark-mode .feature-card,
html.dark-mode .product-card,
html.dark-mode .audience-card,
html.dark-mode .blog-card {
    background: var(--bg-white);
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* White subtle border for dark mode */
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@500;600;700;800&display=swap');

:root {
    /* ... color vars inherited from above ... */

    /* Typography Scale - Premium & Coherent */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;

    /* Desktop Sizes */
    --h1-size: 3.5rem;
    --h2-size: 2.5rem;
    --h3-size: 1.75rem;
    --h4-size: 1.5rem;
    --body-size: 1rem;
    --small-size: 0.875rem;
}

body {
    font-family: var(--font-body);
    font-size: var(--body-size);
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    /* Geometric fonts need less negative spacing than organic ones */
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 0.5em;
}

h1 {
    font-size: var(--h1-size);
    font-weight: 800;
}

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

h3 {
    font-size: var(--h3-size);
}

h4 {
    font-size: var(--h4-size);
}

/* Mobile Typography adjustment */
@media (max-width: 768px) {
    :root {
        --h1-size: 2.5rem;
        --h2-size: 2rem;
        --h3-size: 1.5rem;
        --h4-size: 1.25rem;
    }
}

/* Navbar mejorado */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 2rem 5%;
    /* Aumentado aún más espacio arriba y abajo */
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(45, 122, 110, 0.05);
}



.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Navegación reorganizada para botón de dark mode */
.nav-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Móvil: logo al centro, menú extrema derecha */
@media (max-width: 968px) {
    .navbar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: 80px !important;
        /* Altura fija para la navbar en móvil */
        z-index: 1001 !important;
        /* Mayor z-index para estar encima del menú */
        background: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(20px) !important;
        border-bottom: 1px solid rgba(45, 122, 110, 0.05) !important;
    }

    /* Navbar móvil en modo oscuro - PRIORIDAD ALTA */
    html.dark-mode .navbar {
        background: linear-gradient(135deg, #2d5a4a 0%, #1f5449 100%) !important;
        backdrop-filter: blur(10px) !important;
        border-bottom: 2px solid #5eb89a !important;
        box-shadow: 0 2px 8px rgba(45, 90, 74, 0.3) !important;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        /* Exactamente debajo de la navbar */
        left: 0;
        width: 100vw;
        /* Ancho completo de viewport */
        height: calc(100vh - 80px);
        /* Altura restante de viewport */
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
        flex-direction: column;
        padding: 0;
        gap: 0;
        align-items: stretch;
        justify-content: flex-start;
        z-index: 1000;
        overflow-y: auto;
        /* Scroll si contenido es largo */
        border-top: 2px solid var(--primary);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);

        /* Animación suave de deslizamiento */
        transform: translateX(100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-links.active {
        transform: translateX(0);
        opacity: 1;
        pointer-events: all;
    }

    /* Evitar que el fondo tenga scroll cuando menú abierto */
    body.menu-open {
        overflow: hidden;
    }

    .nav-left {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        flex: none;
        z-index: 10;
    }

    .logo {
        position: relative;
        z-index: 2;
    }

    .dark-mode-navbar {
        display: flex !important;
        position: relative;
        top: auto;
        right: auto;
        margin-left: 1rem;
    }

    .menu-toggle {
        position: absolute !important;
        right: 20px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        display: flex !important;
        z-index: 1002;
        /* Por encima de la navbar */
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
    }

    .menu-toggle span {
        width: 25px;
        height: 3px;
        background: var(--primary);
        transition: all 0.3s ease;
        border-radius: 2px;
        display: block;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .nav-container {
        justify-content: center !important;
        position: relative;
        width: 100%;
        padding: 0 20px;
    }

    /* Ajustar items del menú en móvil */
    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 1rem;
        border-radius: 10px;
        transition: all 0.3s ease;
        font-size: 1.1rem;
        margin: 0.5rem 0;
    }

    .nav-links a:hover {
        background: var(--bg-light);
        transform: translateY(-2px);
    }

    /* Ajustar tamaño del botón dark mode móvil */
    .dark-mode-toggle {
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.9);
        border: 2px solid var(--primary);
    }
}

/* Desktop: ocultar botón móvil, mostrar desktop */
@media (min-width: 969px) {
    .nav-left .dark-mode-navbar {
        display: none;
    }

    .nav-links .dark-mode-desktop {
        display: block !important;
        margin-left: 0;
    }

    .nav-links .dark-mode-desktop .dark-mode-navbar {
        display: flex;
    }
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Logo blanco en modo oscuro */
html.dark-mode .logo-light {
    display: none !important;
}

html.dark-mode .logo-dark {
    display: inline !important;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    box-shadow: var(--shadow-sm);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-medium);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(45, 122, 110, 0.2);
    font-size: 0.95rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px rgba(45, 122, 110, 0.4);
    filter: brightness(1.1);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--primary);
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(45, 122, 110, 0.2);
}

.dark-mode-toggle {
    background: transparent;
    border: none;
    color: var(--primary);
    width: 32px;
    height: 32px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.8rem;
    padding: 0;
}

.dark-mode-toggle:hover {
    color: var(--primary-dark);
    transform: scale(1.1);
}



.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    transition: all 0.3s;
    border-radius: 2px;
}

/* Hero Section mejorado */
.hero {
    margin-top: 60px;
    min-height: 90vh;
    /* Slightly shorter for better above-fold view */
    display: flex;
    align-items: center;
    justify-content: center;
    /* Cleaner, more subtle gradient */
    background: linear-gradient(180deg, var(--bg-cream) 0%, #FFFFFF 100%);
    position: relative;
    overflow: hidden;
    padding: 3rem 5% 2rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    opacity: 0.1;
    /* More subtle opacity */
    filter: blur(60px);
    /* Enhance blur for softness */
    animation: float 25s infinite ease-in-out;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    opacity: 0.1;
    animation: float 30s infinite ease-in-out reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-30px, 40px) scale(1.05);
    }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-content {
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    animation: slideInLeft 0.8s ease-out;
    box-shadow: 0 4px 15px rgba(45, 122, 110, 0.25);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateY(20px);
        /* Changed to up-fade for better stack effect */
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 4rem;
    /* Slightly larger */
    line-height: 1.1;
    color: var(--primary-dark);
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    animation: slideInLeft 0.8s ease-out 0.2s backwards;
    text-align: center;
    /* Center */
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-medium);
    margin-bottom: 2.5rem;
    animation: slideInLeft 0.8s ease-out 0.4s backwards;
    line-height: 1.6;
    text-align: center;
    /* Center */
    max-width: 90%;
    /* prevent lines being too long */
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    animation: slideInLeft 0.8s ease-out 0.6s backwards;
    justify-content: center;
    /* Center buttons */
}

.hero-image {
    position: relative;
    animation: slideInRight 0.8s ease-out 0.4s backwards;
    margin-top: 3rem;
    /* Add space between navbar and image */
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
}

/* Features Section mejorado */
.features {
    padding: 7rem 5%;
    background: var(--bg-white);
}

.features-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-badge {
    display: inline-block;
    background: var(--bg-light);
    color: var(--primary);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 2px solid var(--primary);
}

.section-title {
    font-size: 2.8rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

/* Unified section title styling for consistency - ALL sections */
.section-title,
.dual-title,
#contacto .newsletter-container h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-medium);
    max-width: 700px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    padding: 3rem;
    background: white;
    /* Clean white background */
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
    /* Extremely subtle border */
    box-shadow: var(--shadow-sm);
    /* Start with a shadow */
}

.feature-card:hover {
    transform: translateY(-5px);
    /* Less aggressive movement */
    box-shadow: var(--shadow-xl);
    /* Deeper shadow on hover */
    border-color: transparent;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.2rem;
    color: white;
    box-shadow: 0 8px 25px rgba(45, 122, 110, 0.2);
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-medium);
    line-height: 1.8;
}

/* Dual Audience Section mejorado */
.dual-audience {
    padding: 7rem 5%;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

/* Mobile order: Show "Para Mayoristas" first on mobile */
@media (max-width: 768px) {
    .dual-grid {
        display: flex;
        flex-direction: column;
    }

    .audience-first-mobile {
        order: -1;
        /* Bring mayoristas card to first position on mobile */
    }
}

/* Enhanced Blog Dark Mode Styles */
html.dark-mode .blog-header {
    background: linear-gradient(135deg, #0f1419 0%, #1a2332 50%, #233140 100%);
}

html.dark-mode .blog-header h1 {
    color: var(--text-dark);
}

html.dark-mode .blog-header p {
    color: white;
}

html.dark-mode .blog-categories {
    background: linear-gradient(135deg, #1a355c 0%, #2b5ba8 50%, #3b72cc 100%);
    color: white;
}

html.dark-mode .blog-posts {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #293449 100%);
    color: white;
}

html.dark-mode .blog-card {
    background: var(--bg-white);
    border: 1px solid rgba(94, 184, 154, 0.1);
}

/* Blog cards styled like product cards */
.blog-card {
    background: white;
    border-radius: 30px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-md);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

html.dark-mode .blog-card-title {
    color: var(--text-dark);
}

html.dark-mode .blog-card-title a {
    color: var(--text-dark);
}

html.dark-mode .blog-card-excerpt {
    color: var(--text-medium);
}

html.dark-mode .blog-card-tags span {
    background: var(--bg-light);
    color: var(--text-medium);
}

html.dark-mode .blog-card-category {
    background: var(--primary);
    color: white;
}

html.dark-mode .category-filter {
    background: var(--bg-light);
    color: var(--text-medium);
    border-color: var(--primary-light);
}

html.dark-mode .category-filter.active {
    background: var(--primary);
    color: white;
}

html.dark-mode .blog-search input {
    background: var(--bg-white);
    color: var(--text-dark);
    border-color: var(--primary-light);
}

html.dark-mode .blog-search input::placeholder {
    color: var(--text-medium);
}

html.dark-mode .blog-stats div:first-child {
    color: var(--text-medium);
}

html.dark-mode .blog-stats div:last-child {
    color: var(--text-medium);
}

.dual-audience::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.dual-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.dual-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 5rem;
    color: white;
}

.dual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.audience-card {
    background: white;
    color: var(--text-dark);
    padding: 3.5rem;
    border-radius: 30px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.audience-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.audience-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 10px rgba(45, 122, 110, 0.2));
    color: var(--primary);
}

.audience-card h3 {
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.audience-card p {
    color: var(--text-medium);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.audience-list {
    list-style: none;
    margin-bottom: 2.5rem;
}

.audience-list li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--bg-light);
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-medium);
}

.audience-list li::before {
    content: '✓';
    color: white;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* Products Section mejorado */
.products {
    padding: 7rem 5%;
    background: var(--bg-cream);
}

.products-container {
    max-width: 1400px;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 3rem;
}

.product-card {
    background: white;
    border-radius: 30px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.product-image {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* border-radius removed to fix corners */
    transition: transform 0.5s ease;
    background: white;
}

/* Product Modal / Lightbox */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 1000px;
    border-radius: 30px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    max-height: 90vh;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
    opacity: 1;
}

.modal-image {
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
}

.modal-image img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.modal-details {
    padding: 3rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-dark);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 10;
    transition: transform 0.2s ease;
}

.modal-close:hover {
    transform: scale(1.1);
    background: var(--primary-light);
    color: white;
}

.modal-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(26, 95, 86, 0.1);
    color: var(--primary);
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    align-self: flex-start;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
    line-height: 1.1;
}

.modal-description {
    color: var(--text-medium);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.modal-specs {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 16px;
}

.spec-item h4 {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spec-item p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.modal-actions {
    margin-top: auto;
}

/* Responsive Modal */
@media (max-width: 900px) {
    .modal-content {
        grid-template-columns: 1fr;
        max-height: 85vh;
        overflow-y: auto;
    }

    .modal-image {
        height: 300px;
        padding: 1rem;
    }

    .modal-details {
        padding: 2rem;
    }
}

.product-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(0, 0, 0, 0.05) 100%);
    border-radius: 8px;
}

.product-info {
    padding: 2.5rem;
}

.product-badge {
    display: inline-block;
    background: rgba(26, 95, 86, 0.1);
    /* Transparent primary bg */
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(26, 95, 86, 0.1);
}

/* Próximamente badge - verde en móvil oscuro */
@media (max-width: 768px) {
    html.dark-mode .product-badge {
        background: var(--primary) !important;
        color: white !important;
    }

    html.dark-mode .product-info h3.special-green {
        color: var(--primary) !important;
    }

    html.dark-mode .product-info p.special-green {
        color: var(--text-light) !important;
    }
}

.product-info h3 {
    font-size: 1.6rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.product-info p {
    color: var(--text-medium);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* CTA Section mejorado */
/* CTA Section mejorado */
.cta {
    padding: 5rem 5%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--secondary) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    /* Card/Box Styling */
    border-radius: 40px;
    /* Rounded corners */
    margin: 4rem 5% 6rem;
    /* Separation from previous section and sides */
    box-shadow: 0 20px 40px rgba(45, 122, 110, 0.15);
    /* Soft depth */
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.cta-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 2.5rem;
    /* More consistent with other headers */
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: white !important;
    /* Explicitly white as requested */
}

.cta p {
    font-size: 1.15rem;
    /* Balanced with body text */
    margin-bottom: 2.5rem;
    opacity: 1;
    /* Fully visible */
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0fdfa;
    /* Slightly tinted white for harmony/readability */
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn-white {
    background: white;
    color: var(--primary);
    padding: 1.1rem 2.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.25);
}

/* Footer mejorado */
.footer {
    background: var(--primary-dark);
    color: white;
    padding: 5rem 5% 2rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-light);
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    line-height: 2.2;
    display: block;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Mobile-only line breaks in hero section */
.mobile-line-break {
    display: block;
    animation: elegantLineReveal 0.8s ease-out;
    animation-fill-mode: both;
}

.animated-line:nth-child(1) {
    animation-delay: 0.3s;
}

.animated-line:nth-child(2) {
    animation-delay: 0.6s;
}

.animated-line:nth-child(3) {
    animation-delay: 0.9s;
}

/* Ensure ExpoBoyaca section is visible on mobile */
.expoboyaca-moved {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.expoboyaca-moved #expoboyaca-placeholder {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
}

/* Mobile specific styles for ExpoBoyaca */
@media (max-width: 768px) {
    .expoboyaca-moved {
        padding: 3rem 1rem !important;
        margin: 2rem 0 !important;
    }

    .expoboyaca-moved #expoboyaca-placeholder {
        width: 100% !important;
    }

    .expoboyaca-counter {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
}

@keyframes elegantLineReveal {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}



@media (min-width: 969px) {
    .mobile-line-break {
        display: none;
    }
}

/* Galería Interactiva - Estilo Apple Premium */
.animated-photo-gallery {
    padding: 8rem 0;
    background: var(--bg-white);
    overflow: hidden;
}

.gallery-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 4%;
    position: relative;
}

.gallery-wrapper {
    position: relative;
    /* Allow buttons to float properly */
}

.gallery-slider {
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 40px 0 60px 0;
    /* Space for shadow */
    margin: -40px 0 -60px 0;
    /* Negative margin to counteract padding */
}

.gallery-slider::-webkit-scrollbar {
    display: none;
}

.gallery-track {
    display: flex;
    width: max-content;
    gap: 32px;
    /* Generous breathing room */
    padding: 0 4px;
    /* Prevent shadow clipping on edges */
}

.gallery-image {
    position: relative;
    width: 360px;
    /* Optimal reading width */
    height: 480px;
    /* 3:4 Aspect ratio - Classy */
    flex: 0 0 auto;
    scroll-snap-align: center;
    border-radius: 28px;
    /* Smooth Apple-like curvature */
    overflow: hidden;
    cursor: pointer;
    background: #f0f0f0;
    /* Placeholder color */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04), 0 4px 8px rgba(0, 0, 0, 0.02);
    /* Ultra-soft shadow */
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
    will-change: transform;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    /* Slow, elegant zoom */
}

.gallery-image:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 8px 16px rgba(0, 0, 0, 0.04);
}

.gallery-image:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
    /* Subtle gradient */
    color: white;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.gallery-image:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-overlay h3 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.gallery-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.5;
}

/* Navigation Buttons - Always Visible */
.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: var(--text-dark);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 20;
    opacity: 1;
}

.prev-btn {
    left: -28px;
}

.next-btn {
    right: -28px;
}

.gallery-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.gallery-btn:active {
    transform: translateY(-50%) scale(0.95);
}

/* Responsive */
@media (max-width: 768px) {
    .animated-photo-gallery {
        padding: 4rem 0;
        background: transparent;
        overflow: visible;
    }

    .gallery-header {
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .gallery-slider {
        width: 100%;
        overflow-x: scroll !important;
        overflow-y: visible;
        /* Temporarily show scrollbar to verify scrolling works */
        scrollbar-width: thin;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        padding: 20px 0 40px 0;
        margin: -20px 0 -40px 0;
        min-height: 460px;
    }

    /* Show scrollbar on mobile for debugging */
    .gallery-slider::-webkit-scrollbar {
        display: block;
        height: 4px;
    }

    .gallery-slider::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.3);
        border-radius: 2px;
    }

    .gallery-track {
        display: flex;
        gap: 16px;
        padding: 0 5%;
        width: max-content;
    }

    .gallery-image {
        width: 80vw;
        max-width: 320px;
        height: 420px;
        flex-shrink: 0;
        scroll-snap-align: center;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
        border-radius: 24px;
        background: #f5f5f5;
    }

    .gallery-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .gallery-btn {
        display: flex;
        width: 44px;
        height: 44px;
        font-size: 1rem;
        background: rgba(255, 255, 255, 0.95);
    }

    .prev-btn {
        left: 10px;
    }

    .next-btn {
        right: 10px;
    }

    .newsletter-container {
        padding: 0 1.5rem;
        width: 100%;
        box-sizing: border-box;
    }
}

/* Cleaned */

/* Responsive mejorado */
@media (max-width: 968px) {
    .nav-links {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        padding: 3rem 2rem;
        box-shadow: var(--shadow-lg);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    html.dark-mode .nav-links {
        background: var(--bg-white);
    }

    .nav-links.active {
        right: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .nav-container {
        justify-content: center;
        position: relative;
    }

    .logo {
        margin: 0;
    }

    .menu-toggle {
        position: absolute;
        right: 5%;
    }

    .hero-container,
    .dual-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero h1,
    .section-title,
    .dual-title,
    #contacto .newsletter-container h2 {
        font-size: 2.8rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .hero-buttons {
        justify-content: center;
    }

    /* Force center text on mobile/tablet */
    .hero-content {
        align-items: center;
        text-align: center;
    }

    .hero h1,
    .hero p {
        text-align: center;
    }

    .section-title,
    .dual-title,
    .cta h2 {
        font-size: 2.2rem;
    }

    /* Unified title sizing for mobile - BIGGER titles */
    .section-title,
    #contacto .newsletter-container h2,
    .dual-title {
        font-size: 2.8rem;
    }

    .audience-card {
        padding: 2.5rem;
    }
}

/* Contact buttons spacing on mobile */
@media (max-width: 640px) {
    .hero {
        padding-top: 2rem;
    }

    .hero h1 {
        font-size: 2.8rem;
        text-align: center;
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .hero p {
        font-size: 1.05rem;
    }

    .features-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .section-title,
    .dual-title,
    #contacto .newsletter-container h2 {
        font-size: 2.8rem;
    }

    .cta h2 {
        font-size: 1.8rem;
    }

    .feature-card,
    .product-info {
        padding: 2rem;
    }

    /* Mejorar botones en móvil - SIDE BY SIDE */
    .btn-primary,
    .btn-secondary,
    .expoboyaca-toggle-btn {
        font-size: 0.9rem !important;
        padding: 0.8rem 1.2rem !important;
        margin-bottom: 0;
    }

    .hero-buttons {
        flex-direction: row !important;
        gap: 0.8rem !important;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        width: 100%;
    }

    .hero-buttons a,
    .hero-buttons button {
        min-width: auto !important;
        width: auto !important;
        flex: 0 1 auto;
        text-align: center;
        margin-bottom: 0 !important;
        white-space: nowrap;
    }
}

/* Botones específicos para móviles very small */
@media (max-width: 380px) {
    .hero-buttons {
        flex-direction: column !important;
        gap: 0.8rem !important;
    }

    .hero-buttons a,
    .hero-buttons button {
        width: 100% !important;
    }
}

/* ========= ANIMATIONS ========== */

/* MOBILE PERFORMANCE - Selective animation disabling */
@media (max-width: 768px) {

    /* Disable MOST animations for performance, but keep critical ones */
    html:not(.galeria-active) *,
    html:not(.galeria-active) *::before,
    html:not(.galeria-active) *::after {
        animation: none !important;
        transition: none !important;
    }

    /* Allow gallery animations - they're crucial for UX */
    .animated-photo-gallery *,
    .animated-photo-gallery *::before,
    .animated-photo-gallery *::after {
        animation: initial !important;
        transition: initial !important;
    }

    .gallery-track {
        animation: slideGallery 30s linear infinite !important;
        /* Force GPU acceleration for mobile */
        transform: translateZ(0);
        will-change: transform;
    }

    /* Alternative method for gallery - create a mobile-specific class */
    .gallery-mobile-active {
        animation: initial !important;
    }

    /* Force gallery to show and animate */
    .animated-photo-gallery {
        animation: initial !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
    }

    .animated-photo-gallery .gallery-slider {
        animation: initial !important;
        opacity: 1 !important;
        visibility: visible !important;
        overflow: hidden !important;
    }

    .animated-photo-gallery .gallery-track {
        animation: slideGallery 30s linear infinite !important;
        transform: translateZ(0) !important;
        will-change: transform !important;
    }

    .animated-photo-gallery .gallery-image {
        animation: initial !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .time-block:nth-child(1)::before {
        animation: shimmer 4s ease-in-out infinite !important;
    }

    .time-block:nth-child(2)::before {
        animation: shimmer 4s ease-in-out 0.3s infinite !important;
    }

    .time-block:nth-child(3)::before {
        animation: shimmer 4s ease-in-out 0.6s infinite !important;
    }

    .time-block:nth-child(4)::before {
        animation: shimmer 4s ease-in-out 0.9s infinite !important;
    }

    /* Allow countdown animations */
    .expoboyaca-counter .counter-header h3 i {
        animation: circusBounce 2.5s ease-in-out infinite !important;
    }

    /* Only allow critical animations */
    .notification {
        animation: slideIn 0.3s ease-out !important;
    }

    .popup {
        animation: fadeIn 0.3s ease-in !important;
    }

    /* Disable expensive backdrop filters on mobile */
    .navbar {
        backdrop-filter: none !important;
        background: rgba(255, 255, 255, 0.98) !important;
    }

    .cookie-banner {
        backdrop-filter: none !important;
        background: var(--bg-white) !important;
    }

    .expoboyaca-counter {
        backdrop-filter: none !important;
        background: rgba(255, 255, 255, 0.95) !important;
    }
}

/* MOBILE OPTIMIZATIONS - Specific mobile fixes */
@media (max-width: 768px) {

    /* Force hardware acceleration for critical elements only */
    .hero,
    .hero-image img {
        will-change: transform;
        transform: translateZ(0);
    }

    /* Optimize video performance */
    .background-video {
        transform: translateZ(0);
        will-change: auto;
    }

    /* Reduce shadow complexity on mobile */
    .feature-card:hover {
        transform: none !important;
        box-shadow: none !important;
    }
}

/* Transitions & Transforms */


@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(-100%);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-30px, 40px) scale(1.05);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes cookie-bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-8px);
    }

    60% {
        transform: translateY(-4px);
    }
}

/* Gallery Animations */
@keyframes slideGallery {
    0% {
        transform: translateX(0);
    }

    16.67% {
        transform: translateX(0);
    }

    /* Detener por imagen */
    16.67% {
        transform: translateX(-16.67%);
    }

    33.33% {
        transform: translateX(-16.67%);
    }

    /* Detener por imagen */
    33.33% {
        transform: translateX(-33.33%);
    }

    50% {
        transform: translateX(-33.33%);
    }

    /* Detener por imagen */
    50% {
        transform: translateX(-50%);
    }

    66.67% {
        transform: translateX(-50%);
    }

    /* Detener por imagen */
    66.67% {
        transform: translateX(-66.67%);
    }

    83.33% {
        transform: translateX(-66.67%);
    }

    /* Detener por imagen */
    83.33% {
        transform: translateX(-83.33%);
    }

    100% {
        transform: translateX(-83.33%);
    }
}

@keyframes overlayFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Counter Animation */
@keyframes counterAppear {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes numberChange {
    0% {
        transform: scale(1) rotateZ(0deg);
        opacity: 1;
    }

    25% {
        transform: scale(1.3) rotateZ(5deg);
        opacity: 0.8;
        color: var(--primary-light);
    }

    75% {
        transform: scale(0.95) rotateZ(-2deg);
        opacity: 0.95;
    }

    100% {
        transform: scale(1) rotateZ(0deg);
        opacity: 1;
        color: var(--primary-dark);
    }
}

@keyframes lineGrow {
    from {
        width: 0;
    }

    to {
        width: 80px;
    }
}

@keyframes timerSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes buttonAppear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes formSlideDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes eventActive {
    from {
        opacity: 0;
        transform: scale(0.8) rotate(-5deg);
    }

    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes borderPulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.02);
    }
}

@keyframes iconBounce {
    from {
        transform: scale(0) rotate(180deg);
    }

    to {
        transform: scale(1) rotate(0deg);
    }
}

@keyframes houseSway1 {

    0%,
    100% {
        transform: translateX(0px) rotate(0deg);
    }

    25% {
        transform: translateX(2px) rotate(0.5deg);
    }

    50% {
        transform: translateX(-1px) rotate(-0.3deg);
    }

    75% {
        transform: translateX(1px) rotate(0.2deg);
    }
}

@keyframes houseSway2 {

    0%,
    100% {
        transform: scale(0.8) translateX(0px);
    }

    30% {
        transform: scale(0.8) translateX(2px);
    }

    70% {
        transform: scale(0.8) translateX(-1px);
    }
}

@keyframes houseSway3 {

    0%,
    100% {
        transform: scale(0.9) translateX(0px) rotate(0deg);
    }

    40% {
        transform: scale(0.9) translateX(1px) rotate(0.3deg);
    }

    80% {
        transform: scale(0.9) translateX(-1px) rotate(-0.2deg);
    }
}

@keyframes blossomFloat {
    0% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
        opacity: 0.8;
    }

    25% {
        transform: translateY(-20px) translateX(10px) rotate(90deg);
        opacity: 0.9;
    }

    50% {
        transform: translateY(-40px) translateX(5px) rotate(180deg);
        opacity: 0.7;
    }

    75% {
        transform: translateY(-30px) translateX(-5px) rotate(270deg);
        opacity: 0.8;
    }

    100% {
        transform: translateY(-50px) translateX(-10px) rotate(360deg);
        opacity: 0.6;
    }
}

@keyframes cloudFloat1 {
    0% {
        transform: translateX(0px) translateY(0px) scale(1);
    }

    25% {
        transform: translateX(50px) translateY(5px) scale(1.1);
    }

    50% {
        transform: translateX(100px) translateY(-5px) scale(0.9);
    }

    75% {
        transform: translateX(150px) translateY(0px) scale(1.05);
    }

    100% {
        transform: translateX(200px) translateY(-10px) scale(1);
    }
}

@keyframes cloudFloat2 {
    0% {
        transform: translateX(0px) translateY(0px);
    }

    50% {
        transform: translateX(-200px) translateY(10px);
    }

    100% {
        transform: translateX(-400px) translateY(0px);
    }
}

@keyframes cloudFloat3 {
    90% {
        opacity: 1;
    }

    100% {
        transform: translateX(110vw) translateY(0px) rotate(0deg);
        opacity: 0;
    }
}

@keyframes gentlePulse {

    0%,
    100% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1.05);
    }
}

@keyframes circusBounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    30% {
        transform: translateY(-8px) rotate(5deg);
    }

    40% {
        transform: translateY(-4px) rotate(-3deg);
    }

    60% {
        transform: translateY(-6px) rotate(2deg);
    }

    70% {
        transform: translateY(-3px) rotate(-1deg);
    }
}

@keyframes elegantLineReveal {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* Utility Classes */
.animate-in {
    animation: fadeInUp 0.8s ease-out;
}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Colombian Country Seals */
.colombian-industry-seal {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    border: 2px solid rgba(255, 204, 0, 0.4);
    border-radius: 25px;
    padding: 6px 12px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.colombian-flag-mini {
    width: 20px;
    height: 16px;
    background: linear-gradient(to bottom,
            #FFCC00 33.33%,
            #0033A0 33.33% 66.66%,
            #CD202C 66.66%);
    border-radius: 2px;
    position: relative;
}

.colombian-industry-seal span {
    font-size: 0.85rem;
    color: #2D5A4A;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ExpoBoyaca Badge */
.expoboyaca-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    border: 2px solid rgba(45, 122, 110, 0.4);
    border-radius: 25px;
    padding: 8px 16px;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(45, 122, 110, 0.15);
}

.expoboyaca-flag-mini {
    width: 24px;
    height: 18px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 3px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: white;
    box-shadow: 0 2px 6px rgba(45, 122, 110, 0.2);
}

.expoboyaca-flag-mini::after {
    content: '🎪';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
}

.expoboyaca-badge span {
    font-size: 1.5rem;
    color: var(--primary-dark);
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Footer Colombian Badge */
.colombian-footer-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1rem;
    padding: 8px 0;
}

.colombian-flag-tiny {
    width: 16px;
    height: 12px;
    background: linear-gradient(to bottom,
            #FFCC00 33.33%,
            #0033A0 33.33% 66.66%,
            #CD202C 66.66%);
    border-radius: 1px;
    position: relative;
}

.colombian-footer-badge span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Hero Colombian Badge (if needed for future reference) */
.hero-badge.colombian-badge {
    background: linear-gradient(135deg, #0033A0 0%, #CD202C 100%);
    border: 2px solid #FFCC00;
    color: white;
}

.hero-badge.colombian-badge .colombian-flag {
    width: 18px;
    height: 14px;
    background: linear-gradient(to bottom,
            #FFCC00 33.33%,
            #0033A0 33.33% 66.66%,
            #CD202C 66.66%);
    margin-right: 8px;
    border-radius: 1px;
}

/* Banderas colombianas corregidas - franjas horizontales oficiales:
   Amarillo (#FFCC00) - tercio superior
   Azul (#0033A0) - tercio medio
   Rojo (#CD202C) - tercio inferior */

/* Sección Contacto - Igual tamaño que otras secciones */
#contacto .newsletter-container h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

#contacto .newsletter-container>p {
    font-size: 1.3rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    font-weight: 500;
}

/* Popup Modal Flotante */
.popup {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    overflow: auto;
    animation: fadeIn 0.3s ease-in;
}

.popup.show {
    display: block;
}

.popup-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    margin: 5% auto;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: slideUp 0.4s ease-out;
}

html.dark-mode .popup-content {
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.popup-content h2 {
    margin: 0 0 10px 0;
    color: var(--primary-dark);
    font-size: 28px;
    text-align: center;
}

.popup-content p {
    margin: 0 0 30px 0;
    color: var(--text-medium);
    text-align: center;
    font-size: 15px;
}

/* Formulario del popup */
.popup form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.popup input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    font-family: var(--font-body);
    transition: border-color 0.3s ease;
}

.popup input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45, 122, 110, 0.1);
}

/* Custom Checkbox con JavaScript - Ocultar input real */
.privacy-checkbox {
    display: flex !important;
    align-items: flex-start !important;
    gap: 15px !important;
    margin: 15px 0 !important;
    cursor: pointer !important;
    padding: 12px !important;
    border: 2px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
}

.privacy-checkbox:hover {
    border-color: rgba(255, 255, 255, 0.2) !important;
    background: rgba(255, 255, 255, 0.06) !important;
}

/* Ocultar el input checkbox real */
.privacy-checkbox input[type="checkbox"] {
    position: absolute !important;
    opacity: 0 !important;
    width: 1px !important;
    height: 1px !important;
    pointer-events: none !important;
}

/* Custom checkbox simulador */
/* ==========================================================================
   PURE CSS CHECKBOX COMPONENT (Robust & Clean)
   ========================================================================== */

/* The Layout Container */
.checkbox-field {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 12px;
    align-items: start;
    text-align: left;
    margin-top: 1.2rem;
    position: relative;
    width: 100%;
}

/* The Wrapper for Input + Visual */
.checkbox-stack {
    position: relative;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* The Native Input: Invisible but Clickable (The Engine) */
.checkbox-native {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
    margin: 0;
}

/* The Visual Box: Reacts to Native Input */
.checkbox-visual {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary);
    border-radius: 6px;
    background: white;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    pointer-events: none;
    /* Let clicks pass to input */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Hover State */
.checkbox-stack:hover .checkbox-visual {
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 3px rgba(45, 122, 110, 0.1);
}

/* Checked State - The Magic */
.checkbox-native:checked+.checkbox-visual {
    background: var(--primary);
    border-color: var(--primary);
}

/* Checkmark Icon */
.checkbox-native:checked+.checkbox-visual::after {
    content: '✓';
    color: white;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    display: block;
    animation: checkPop 0.2s ease-out;
}

@keyframes checkPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* The Text Label */
.checkbox-text {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-dark);
    padding-top: 1px;
    /* Visual centering */
}

.checkbox-text a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 600;
    position: relative;
    z-index: 5;
    /* Ensure link is clickable */
}

.checkbox-text a:hover {
    color: var(--primary-dark);
}

.custom-checkbox.checked::before {
    content: '✓' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    font-weight: 700 !important;
    color: white !important;
}

.privacy-checkbox span {
    font-size: 14px !important;
    line-height: 1.5 !important;
    color: var(--text-dark) !important;
    flex: 1 !important;
    font-weight: 400 !important;
    pointer-events: none !important;
    /* Evitar problemas con clicks */
}

.privacy-checkbox .popup-link {
    color: var(--primary) !important;
    text-decoration: underline !important;
    font-weight: 500 !important;
    transition: color 0.3s ease !important;
    cursor: pointer !important;
}

.privacy-checkbox .popup-link:hover {
    color: var(--primary-light) !important;
    text-decoration: underline !important;
}

/* El contenedor clickable incluye toda el área */
.privacy-checkbox {
    user-select: none !important;
}

/* Botón de envío del popup */
.popup button[type="submit"] {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.popup button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(45, 122, 110, 0.3);
}

.close {
    color: #999;
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close:hover,
.close:focus {
    color: var(--primary-dark);
    background: var(--bg-light);
}

#subscriptionForm {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

#subscriptionForm input[type="text"],
#subscriptionForm input[type="email"],
#subscriptionForm input[type="tel"] {
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    font-family: var(--font-body);
    transition: all 0.3s ease;
    background: white;
}

html.dark-mode #subscriptionForm input[type="text"],
html.dark-mode #subscriptionForm input[type="email"],
html.dark-mode #subscriptionForm input[type="tel"] {
    background: var(--bg-white);
    border-color: rgba(94, 184, 154, 0.2);
    color: var(--text-dark);
}

#subscriptionForm input[type="text"]:focus,
#subscriptionForm input[type="email"]:focus,
#subscriptionForm input[type="tel"]:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(45, 122, 110, 0.15);
}

.privacy-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 13px;
    color: var(--text-medium);
    cursor: pointer;
    margin-top: 5px;
}

.privacy-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary);
    margin-top: 2px;
    flex-shrink: 0;
}

.privacy-checkbox span {
    line-height: 1.6;
}

.popup-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.popup-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

#subscriptionForm button[type="submit"] {
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    font-family: var(--font-heading);
    box-shadow: 0 4px 15px rgba(45, 122, 110, 0.25);
}

#subscriptionForm button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 122, 110, 0.35);
}

#subscriptionForm button[type="submit"]:active {
    transform: translateY(0);
}

/* Responsive para popup */
@media (max-width: 640px) {
    .popup-content {
        margin: 10% auto;
        padding: 30px 25px;
        width: 95%;
    }

    .popup-content h2 {
        font-size: 24px;
    }

    .popup-content p {
        font-size: 14px;
        margin-bottom: 25px;
    }

    #subscriptionForm {
        gap: 15px;
    }

    #subscriptionForm input[type="text"],
    #subscriptionForm input[type="email"],
    #subscriptionForm input[type="tel"] {
        padding: 12px 15px;
        font-size: 14px;
    }

    .privacy-checkbox {
        font-size: 12px;
    }

    #subscriptionForm button[type="submit"] {
        padding: 12px 18px;
        font-size: 15px;
    }

    .colombian-industry-seal {
        padding: 4px 8px;
        margin-bottom: 1.5rem;
    }

    .colombian-flag-mini {
        width: 16px;
        height: 12px;
    }

    .colombian-industry-seal span {
        font-size: 0.7rem;
    }
}

/* Cookie Banner - Full Width Premium Bar */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    background: rgba(255, 255, 255, 0.95);
    /* High opacity for readability */
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    /* Subtle border */
    border-radius: 0;
    /* No rounding */
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
    /* Upward shadow */
    backdrop-filter: blur(16px);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    padding: 0;
}

/* Show state */
.cookie-banner.show {
    transform: translateY(0);
}

.cookie-container {
    max-width: 1200px;
    /* Limit content width */
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    flex-direction: row;
    /* Horizontal layout */
    align-items: center;
    gap: 2rem;
}

.cookie-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: var(--shadow-sm);
    /* No bounce animation */
}

.cookie-content {
    flex: 1;
}

.cookie-content h4 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.cookie-content p {
    color: var(--text-medium);
    line-height: 1.5;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.cookie-actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.btn-cookie-accept {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    /* Slightly squarer for professional look */
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
    box-shadow: 0 4px 6px rgba(26, 95, 86, 0.2);
}

.btn-cookie-accept:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-cookie-essential,
.btn-cookie-customize {
    background: transparent;
    color: var(--text-medium);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.btn-cookie-essential:hover,
.btn-cookie-customize:hover {
    background: rgba(0, 0, 0, 0.03);
    color: var(--text-dark);
    border-color: rgba(0, 0, 0, 0.2);
}

.cookie-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 5px;
    transition: color 0.2s;
}

.cookie-close:hover {
    color: var(--text-dark);
}

/* Duplicate media query removed */

/* Legacy styles removed */

/* Cookie Banner Dark Mode */
html.dark-mode .cookie-banner {
    background: rgba(30, 30, 30, 0.98);
    /* Almost opaque */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

/* Waitlist Feature */
.btn-waitlist {
    background: linear-gradient(135deg, #8338ec 0%, #3a86ff 100%);
    box-shadow: 0 4px 15px rgba(58, 134, 255, 0.3);
    border: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-waitlist:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(58, 134, 255, 0.4);
}

.waitlist-content {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 3rem !important;
    max-width: 500px !important;
}

.waitlist-header {
    margin-bottom: 2rem;
}

.waitlist-icon {
    width: 70px;
    height: 70px;
    background: rgba(131, 56, 236, 0.1);
    color: #8338ec;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.waitlist-form {
    width: 100%;
}

.form-group {
    margin-bottom: 1rem;
}

.form-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #eee;
    border-radius: 12px;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #8338ec;
}

.btn-block {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* Purchase Options Feature */
.btn-buy {
    background: linear-gradient(135deg, var(--primary) 0%, #2a9d8f 100%);
    box-shadow: 0 4px 15px rgba(42, 157, 143, 0.3);
    border: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(42, 157, 143, 0.4);
}

.purchase-content {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 3rem !important;
    max-width: 600px !important;
}

.gallery-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.dual-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.purchase-header {
    margin-bottom: 2rem;
}

.purchase-header h2 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.purchase-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    width: 100%;
}

.purchase-option {
    background: var(--bg-white);
    border: 2px solid transparent;
    border-radius: 20px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.purchase-option:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.option-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.web-icon {
    background: rgba(42, 157, 143, 0.1);
    color: #2a9d8f;
}

.whatsapp-icon {
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
}

.purchase-option:hover .web-icon {
    background: #2a9d8f;
    color: white;
}

.purchase-option:hover .whatsapp-icon {
    background: #25D366;
    color: white;
}

.purchase-option h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.purchase-option p {
    color: var(--text-medium);
    font-size: 0.9rem;
}

@media (max-width: 640px) {
    .purchase-options {
        grid-template-columns: 1fr;
    }
}

/* Wholesale Feature */
.btn-wholesale {
    background: linear-gradient(135deg, #DAA520 0%, #B8860B 100%);
    box-shadow: 0 4px 15px rgba(218, 165, 32, 0.3);
    border: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-wholesale:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(218, 165, 32, 0.4);
}

@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }
}

html.dark-mode .cookie-content h4 {
    color: var(--text-light);
}

html.dark-mode .cookie-content p {
    color: var(--text-medium);
}

html.dark-mode .btn-cookie-accept {
    background: var(--primary);
    color: white;
}

html.dark-mode .btn-cookie-accept:hover {
    background: var(--primary-light);
}

html.dark-mode .btn-cookie-essential,
html.dark-mode .btn-cookie-customize {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-medium);
}

html.dark-mode .btn-cookie-essential:hover,
html.dark-mode .btn-cookie-customize:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--text-light);
}

/* Cookie Banner Responsive */
@media (max-width: 768px) {
    .cookie-container {
        padding: 1rem 1.5rem;
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .cookie-icon {
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
        margin: 0 auto;
    }

    .cookie-content h4 {
        font-size: 1.1rem;
    }

    .cookie-content p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    .cookie-actions {
        justify-content: center;
        gap: 0.8rem;
        width: 100%;
    }

    .btn-cookie-accept,
    .btn-cookie-essential,
    .btn-cookie-customize {
        padding: 0.7rem;
        font-size: 0.9rem;
        width: 100%;
        /* Stack full width on mobile */
    }
}

/* Expoboyaca Standalone Section - Modern Premium Design */
.expoboyaca-standalone {
    margin-top: 40px;
    padding: 5rem 3rem;
    position: relative;
    overflow: hidden;
}

/* Video de fondo */
.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Video específico para sección Expoboyaca - SIN opacidad */
.background-video:not(.wellness-video) {
    opacity: 1;
    /* Sin filtro de opacidad - video completo */
    filter: none;
}

/* Video específico para sección de bienestar - FORZAR VISIBILIDAD y OSCURECER */
.wellness-video {
    opacity: 1 !important;
    display: block !important;
    visibility: visible !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    z-index: 0 !important;
    /* OSCURECER EL VIDEO DIRECTAMENTE - Solución nítida sin capas extra */
    filter: brightness(0.6) saturate(1.1) !important;
}

/* Overlay negro simple como respaldo - detrás del texto */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Solo un tinte negro suave por si el filtro falla, pero muy sutil */
    background: rgba(0, 0, 0, 0.2);
    z-index: 1 !important;
}

/* Contenido principal encima del video y overlay */
.expoboyaca-standalone>div,
.features-with-video>div {
    position: relative;
    z-index: 10;
}

/* Texto verde en la sección de bienestar con video - solo títulos principales */
.features-with-video .section-title,
.features-with-video h3 {
    color: var(--primary) !important;
    text-shadow: none !important;
}

/* Texto blanco simple en sección con video */
.features-with-video .section-title,
.features-with-video h3,
.features-with-video .section-subtitle,
.features-with-video p,
.features-with-video i,
.features-with-video .fas,
.features-with-video .far,
.features-with-video .fab {
    color: white !important;
}

/* Revertir opción nuclear: Limpiar fondo del contenedor de texto */
.features-with-video .features-container>div {
    background: transparent !important;
    padding: 0;
    border-radius: 0;
    backdrop-filter: none;
    box-shadow: none;
}

/* Nueva capa elegante para la sección Expoboyaca - igual que en bienestar */
.expoboyaca-standalone .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg,
            rgba(255, 255, 255, 0.1) 0%,
            rgba(255, 255, 255, 0.05) 25%,
            rgba(45, 122, 110, 0.15) 50%,
            rgba(95, 185, 155, 0.1) 75%,
            rgba(255, 255, 255, 0.05) 100%);
    z-index: 1;
    backdrop-filter: blur(0.5px);
}

@keyframes gentlePulse {

    0%,
    100% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1.05);
    }
}

.expoboyaca-standalone #expoboyaca-placeholder {
    position: relative;
    z-index: 2;
}

/* Mobile Responsive - Expoboyaca Standalone */
@media (max-width: 968px) {
    .expoboyaca-standalone {
        margin-top: 30px;
        padding: 3.5rem 2.5rem;
        background: linear-gradient(135deg,
                rgba(45, 122, 110, 0.18) 0%,
                rgba(94, 184, 154, 0.15) 40%,
                rgba(244, 162, 97, 0.10) 70%,
                rgba(255, 255, 255, 0.08) 100%);
    }
}

@media (max-width: 768px) {
    .expoboyaca-standalone {
        margin-top: 20px;
        padding: 2.5rem 1.5rem;
        background: linear-gradient(135deg,
                rgba(45, 122, 110, 0.20) 0%,
                rgba(94, 184, 154, 0.18) 50%,
                rgba(244, 162, 97, 0.12) 100%);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.4),
            0 6px 20px rgba(45, 122, 110, 0.15);
    }
}

/* Expoboyaca Countdown Timer - Attractive Design */
.expoboyaca-counter {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 251, 0.95) 100%);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    margin: 2.5rem auto;
    max-width: 800px;
    width: 90%;
    box-shadow:
        0 12px 36px rgba(45, 122, 110, 0.12),
        0 6px 24px rgba(45, 122, 110, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(45, 122, 110, 0.1);
    text-align: center;
    backdrop-filter: blur(12px);
    position: relative;
    animation: counterAppear 1.2s ease-out;
    transition: all 0.3s ease;
}

/* Static expoboyaca counter positioned above hero content - fullscreen in web */
#expoboyaca-placeholder .expoboyaca-counter {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    position: static;
    z-index: auto;
}

@media (min-width: 1400px) {
    #expoboyaca-placeholder .expoboyaca-counter {
        max-width: 1200px;
    }
}

.expoboyaca-counter::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 26px;
    background: linear-gradient(135deg,
            rgba(45, 122, 110, 0.3) 0%,
            rgba(94, 184, 154, 0.2) 50%,
            rgba(244, 162, 97, 0.2) 100%);
    z-index: -1;
    opacity: 0.7;
}

@keyframes counterAppear {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.expoboyaca-counter:hover {
    transform: translateY(-3px);
    box-shadow:
        0 20px 40px rgba(45, 122, 110, 0.15),
        0 8px 32px rgba(45, 122, 110, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

/* Dark Mode support for Expoboyaca Counter */
html.dark-mode .expoboyaca-counter {
    background: linear-gradient(135deg, rgba(23, 32, 42, 0.98) 0%, rgba(35, 40, 50, 0.95) 100%);
    border: 2px solid rgba(94, 184, 154, 0.2);
    box-shadow:
        0 12px 36px rgba(0, 0, 0, 0.3),
        0 6px 24px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(94, 184, 154, 0.1);
}

html.dark-mode .expoboyaca-counter .counter-header h3 {
    color: var(--text-dark);
}

html.dark-mode .expoboyaca-counter .counter-header p {
    color: var(--text-medium);
}

html.dark-mode .time-block {
    background: linear-gradient(145deg,
            rgba(35, 40, 50, 0.95) 0%,
            rgba(23, 32, 42, 0.9) 100%);
    border: 1px solid rgba(94, 184, 154, 0.2);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.3),
        0 4px 16px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(35, 40, 50, 0.8),
        inset 0 -1px 0 rgba(94, 184, 154, 0.1);
}

html.dark-mode .time-number {
    color: var(--text-dark);
}

html.dark-mode .time-label {
    color: var(--text-medium);
}

html.dark-mode .expoboyaca-counter:hover {
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(35, 40, 50, 0.95);
}

.expoboyaca-counter .counter-header h3 {
    color: var(--primary-dark);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    position: relative;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* FontAwesome Icon Animation - Replaces old emoji */
.expoboyaca-counter .counter-header h3 i {
    font-size: 2.5rem;
    animation: circusBounce 2.5s ease-in-out infinite;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

@keyframes circusBounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    30% {
        transform: translateY(-8px) rotate(5deg);
    }

    40% {
        transform: translateY(-4px) rotate(-3deg);
    }

    60% {
        transform: translateY(-6px) rotate(2deg);
    }

    70% {
        transform: translateY(-3px) rotate(-1deg);
    }
}

.expoboyaca-counter .counter-header h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 50%, var(--secondary) 100%);
    border-radius: 2px;
    animation: lineGrow 1.5s ease-out;
}

@keyframes lineGrow {
    from {
        width: 0;
    }

    to {
        width: 80px;
    }
}

.expoboyaca-counter .counter-header p {
    color: var(--text-medium);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    font-weight: 500;
    opacity: 0;
    animation: textFadeIn 1.5s ease-out 0.3s forwards;
}

@keyframes textFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.counter-timer {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    animation: timerSlideUp 1.2s ease-out 0.5s both;
}

@keyframes timerSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.time-block {
    background: linear-gradient(145deg,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(248, 250, 251, 0.9) 100%);
    padding: 1.5rem 1.2rem;
    border-radius: 16px;
    min-width: 72px;
    box-shadow:
        0 8px 24px rgba(45, 122, 110, 0.15),
        0 4px 16px rgba(45, 122, 110, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 -1px 0 rgba(45, 122, 110, 0.05);
    border: 1px solid rgba(45, 122, 110, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.time-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(94, 184, 154, 0.1),
            transparent);
    transition: left 0.6s ease-in-out infinite;
}

.time-block:nth-child(1)::before {
    animation: shimmer 4s ease-in-out infinite;
}

.time-block:nth-child(2)::before {
    animation: shimmer 4s ease-in-out 0.3s infinite;
}

.time-block:nth-child(3)::before {
    animation: shimmer 4s ease-in-out 0.6s infinite;
}

.time-block:nth-child(4)::before {
    animation: shimmer 4s ease-in-out 0.9s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.time-block:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow:
        0 16px 32px rgba(45, 122, 110, 0.2),
        0 8px 24px rgba(45, 122, 110, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.time-number {
    display: block;
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--primary-dark);
    line-height: 1;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
    animation: numberPulse 2s ease-in-out infinite;
}

@keyframes numberPulse {

    0%,
    100% {
        transform: scale(1);
        color: var(--primary-dark);
    }

    50% {
        transform: scale(1.05);
        color: var(--primary);
    }
}

.counter-buttons {
    display: flex;
    justify-content: center;
    gap: 2px;
    margin-bottom: 2rem;
    flex-direction: row;
}

.expoboyaca-link,
.google-calendar-btn {
    animation: buttonAppear 1.5s ease-out 1s both;
}

.expoboyaca-link:hover,
.google-calendar-btn:hover {
    transform: translateY(-3px) scale(1.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.time-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-medium);
    margin-top: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.expoboyaca-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: transparent;
    color: var(--primary);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--primary);
    position: relative;
}

.expoboyaca-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(45, 122, 110, 0.3);
}

/* Counter Buttons Container - Responsive Layout */
.counter-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    margin-bottom: 2rem;
    flex-direction: row;
}

/* Unified Button Appearance Animation */
.expoboyaca-link,
.google-calendar-btn {
    animation: buttonAppear 1.5s ease-out 1.2s both;
}

/* Google Calendar Button - Simplified Blue Style */
.google-calendar-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: #007bff;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    min-width: auto;
}

.google-calendar-btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

@keyframes buttonAppear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Layout for Counter Buttons */
@media (max-width: 768px) {
    .counter-buttons {
        flex-direction: column;
        gap: 0.5rem;
        align-items: stretch;
    }

    .expoboyaca-link,
    .google-calendar-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ExpoBoyacá Form Styling - Beautiful Sliding Panel */
#expoboyaca-form {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border: 2px solid var(--primary-dark);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 2rem !important;
    box-shadow: 0 12px 36px rgba(45, 122, 110, 0.15);
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    animation: formSlideDown 0.6s ease-out forwards;
}

@keyframes formSlideDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

#expoboyaca-form form {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.2rem !important;
}

#expoboyaca-form input {
    padding: 1rem 1.2rem !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.15) 0%,
            rgba(255, 255, 255, 0.1) 100%) !important;
    color: white !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    outline: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    position: relative;
}

#expoboyaca-form input::placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 400 !important;
}

#expoboyaca-form input:focus {
    border-color: rgba(255, 255, 255, 0.5) !important;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.25) 0%,
            rgba(255, 255, 255, 0.15) 100%) !important;
    box-shadow:
        0 0 0 3px rgba(94, 184, 154, 0.2),
        0 4px 16px rgba(0, 0, 0, 0.2) !important;
    transform: translateY(-1px);
}

#expoboyaca-form button[type="submit"] {
    background: linear-gradient(135deg, var(--primary), var(--primary-light)) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    padding: 1rem 1.2rem !important;
    border-radius: 50px !important;
    color: white !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 16px rgba(45, 122, 110, 0.3) !important;
    position: relative !important;
    overflow: hidden !important;
}

#expoboyaca-form button[type="submit"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: left 0.5s ease;
}

#expoboyaca-form button[type="submit"]:hover::before {
    left: 100%;
}

#expoboyaca-form button[type="submit"]:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary)) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(45, 122, 110, 0.4) !important;
}

#expoboyaca-form a[href="https://www.expoboyaca.com/"] {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.15) 0%,
            rgba(255, 255, 255, 0.1) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    padding: 1rem 1.2rem !important;
    border-radius: 50px !important;
    color: white !important;
    text-decoration: none !important;
    text-align: center !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2) !important;
}

#expoboyaca-form a[href="https://www.expoboyaca.com/"]:hover {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.25) 0%,
            rgba(255, 255, 255, 0.15) 100%) !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.1) !important;
}

#expoboyaca-form h3 {
    color: white !important;
    margin-bottom: 0.8rem !important;
    text-align: center !important;
    font-size: 2.8rem !important;
    font-weight: 700 !important;
}

#expoboyaca-form p {
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 1.5rem !important;
    text-align: center !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    line-height: 1.6 !important;
}

#expoboyaca-form .expoboyaca-form-buttons {
    display: flex !important;
    justify-content: space-between !important;
    gap: 1rem !important;
    flex-wrap: wrap !important;
}

/* Responsive for ExpoBoyacá Form */
@media (max-width: 968px) {
    #expoboyaca-form h3 {
        font-size: 2.2rem !important;
    }

    /* Dark Mode support for mobile - dark solid tone */
    html.dark-mode #expoboyaca-form {
        background: linear-gradient(135deg, #1a2332 0%, #2d3748 100%) !important;
        border-color: #5eb89a !important;
        box-shadow: 0 8px 24px rgba(26, 35, 50, 0.3) !important;
    }
}

@media (max-width: 768px) {
    #expoboyaca-form {
        padding: 1.5rem 1rem !important;
        margin: 1.5rem 0 !important;
        border-radius: 12px !important;
        /* Default light background in mobile */
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%) !important;
        backdrop-filter: blur(20px) !important;
    }

    /* Mobile dark mode - same solid dark color as web version */
    html.dark-mode #expoboyaca-form {
        background: linear-gradient(135deg, #1a2332 0%, #2d3748 100%) !important;
        border-color: #5eb89a !important;
        box-shadow: 0 8px 24px rgba(26, 35, 50, 0.3) !important;
    }

    #expoboyaca-form h3 {
        font-size: 1.8rem !important;
    }

    #expoboyaca-form form {
        gap: 1rem !important;
    }

    #expoboyaca-form input {
        padding: 0.9rem 1rem !important;
        border-radius: 10px !important;
        font-size: 0.9rem !important;
        /* Ensure inputs stay readable on dark background */
        background: rgba(255, 255, 255, 0.15) !important;
        border-color: rgba(255, 255, 255, 0.3) !important;
    }

    #expoboyaca-form button[type="submit"],
    #expoboyaca-form a[href="https://www.expoboyaca.com/"] {
        padding: 0.9rem 1rem !important;
        border-radius: 10px !important;
        font-size: 0.9rem !important;
    }

    #expoboyaca-form .expoboyaca-form-buttons {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.8rem !important;
    }
}

@media (max-width: 480px) {
    #expoboyaca-form {
        padding: 1rem 0.8rem !important;
        margin: 1rem 0 !important;
        border-radius: 10px !important;
        /* Ensure consistent background */
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%) !important;
    }

    /* Dark mode for smallest screens */
    html.dark-mode #expoboyaca-form {
        background: linear-gradient(135deg, #2d5a4a 0%, #1f5449 100%) !important;
    }

    #expoboyaca-form h3 {
        font-size: 1.5rem !important;
        margin-bottom: 0.5rem !important;
    }

    #expoboyaca-form p {
        font-size: 0.9rem !important;
        margin-bottom: 1rem !important;
    }

    #expoboyaca-form input {
        padding: 0.8rem 0.9rem !important;
        border-radius: 8px !important;
        font-size: 0.85rem !important;
        /* Enhanced readability */
        background: rgba(255, 255, 255, 0.15) !important;
        border-color: rgba(255, 255, 255, 0.3) !important;
        color: white !important;
    }

    #expoboyaca-form button[type="submit"],
    #expoboyaca-form a[href="https://www.expoboyaca.com/"] {
        padding: 0.8rem 0.9rem !important;
        border-radius: 8px !important;
        font-size: 0.85rem !important;
    }
}

.event-link:active {
    transform: translateY(-2px) scale(1.01);
}

.event-link i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.event-link:hover i {
    transform: rotate(5deg);
}

.event-active-message {
    background: linear-gradient(135deg, #52b788 0%, #4caf50 100%);
    color: white;
    padding: 2rem 3rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    box-shadow:
        0 8px 32px rgba(82, 183, 136, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: eventActive 1.5s ease-out;
    position: relative;
    overflow: hidden;
}

.event-active-message::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    animation: borderPulse 3s ease-in-out infinite;
}

@keyframes eventActive {
    from {
        opacity: 0;
        transform: scale(0.8) rotate(-5deg);
    }

    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes borderPulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.02);
    }
}

.event-active-message i {
    font-size: 3rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    animation: iconBounce 1s ease-out 0.5s;
}

@keyframes iconBounce {
    from {
        transform: scale(0) rotate(180deg);
    }

    to {
        transform: scale(1) rotate(0deg);
    }
}

.event-active-message .event-dates {
    font-size: 1.2rem;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Mobile Responsive Animations */
@media (max-width: 968px) {

    /* Center text for mobile blog content */
    .blog-post-content p,
    .blog-post-content h2,
    .blog-post-content h3,
    .blog-post-content h4,
    .blog-post-content li,
    .blog-post-content .impact-card h4,
    .blog-post-content .impact-card p {
        text-align: center !important;
    }

    /* Center heading section */
    .blog-post-header h1 {
        text-align: center !important;
    }

    /* Center user bio section for mobile */
    .author-bio h4,
    .author-bio p {
        text-align: center !important;
    }

    /* Center tag section */
    .blog-post-tags h4 {
        text-align: center !important;
    }

    /* Center related posts section */
    .related-posts h3 {
        text-align: center !important;
    }

    .expoboyaca-counter {
        width: 95%;
        padding: 2.5rem 2rem;
        margin: 2rem auto;
    }

    .hero .expoboyaca-counter {
        width: 92%;
        margin: 1.5rem auto 2rem;
        padding: 2rem 1.8rem;
    }

    .expoboyaca-counter .counter-header h3 {
        font-size: 1.9rem;
    }

    .expoboyaca-counter .counter-header p {
        font-size: 1.1rem;
        margin-bottom: 1.8rem;
    }

    .counter-timer {
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .time-block {
        padding: 1.3rem 1.1rem;
        min-width: 68px;
    }

    .time-number {
        font-size: 2.4rem;
    }

    .time-label {
        font-size: 0.8rem;
    }

    .expoboyaca-link,
    .google-calendar-btn {
        padding: 1rem 1.8rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .expoboyaca-counter {
        width: 95%;
        padding: 2rem 1.5rem;
        margin: 1.5rem auto 2rem;
    }

    html.dark-mode .expoboyaca-counter {
        background: linear-gradient(135deg, #1a2332 0%, #2d3748 100%) !important;
        border-color: #5eb89a !important;
        box-shadow:
            0 8px 24px rgba(26, 35, 50, 0.3),
            inset 0 1px 0 rgba(35, 40, 50, 0.8) !important;
    }

    .hero .expoboyaca-counter {
        width: 95%;
        margin: 1.5rem auto 2rem;
        padding: 1.8rem 1.5rem;
    }

    html.dark-mode .expoboyaca-counter:hover {
        box-shadow:
            0 20px 40px rgba(0, 0, 0, 0.4),
            0 8px 32px rgba(0, 0, 0, 0.1),
            inset 0 1px 0 rgba(35, 40, 50, 0.95) !important;
    }

    .expoboyaca-counter .counter-header h3 {
        font-size: 1.8rem;
        gap: 0.4rem;
    }

    .expoboyaca-counter .counter-header p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .counter-timer {
        gap: 0.8rem;
        flex-direction: row;
        justify-content: center;
    }

    .time-block {
        padding: 1.2rem 1rem;
        min-width: 60px;
    }

    .time-number {
        font-size: 2.2rem;
    }

    .time-label {
        font-size: 0.75rem;
    }

    .expoboyaca-link,
    .google-calendar-btn {
        padding: 0.9rem 1.6rem;
        font-size: 0.9rem;
        min-width: auto;
        width: auto;
        flex: 1;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .expoboyaca-counter {
        padding: 1.5rem 1rem;
        margin: 1.5rem 0;
    }

    .counter-timer {
        flex-direction: row;
        gap: 0.5rem;
    }

    .time-block {
        padding: 1rem 0.8rem;
        min-width: 55px;
    }

    .time-number {
        font-size: 1.8rem;
    }

    .time-label {
        font-size: 0.7rem;
    }
}

/* Tunja Colonial Animated Scene - SVG Vectors */
.tunja-colonial-scene {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(180deg,
            #87CEEB 0%,
            #98D8E8 30%,
            #B0E0E6 70%,
            #E6F3FF 100%);
    margin: 0;
    z-index: 5;
}

.colonial-backdrop {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Colonial Houses - SVG Vectors */
.colonial-house {
    position: absolute;
    bottom: 20px;
    display: block;
}

.house-1 {
    left: 15%;
    animation: houseSway1 12s ease-in-out infinite;
    width: 80px;
    height: 70px;
}

.house-2 {
    left: 45%;
    transform: scale(0.8);
    animation: houseSway2 10s ease-in-out infinite 1s;
    width: 64px;
    height: 56px;
}

.house-3 {
    right: 15%;
    transform: scale(0.9);
    animation: houseSway3 14s ease-in-out infinite 2s;
    width: 72px;
    height: 63px;
}

.house-1 svg,
.house-2 svg,
.house-3 svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* House Swaying Animations */
@keyframes houseSway1 {

    0%,
    100% {
        transform: translateX(0px) rotate(0deg);
    }

    25% {
        transform: translateX(2px) rotate(0.5deg);
    }

    50% {
        transform: translateX(-1px) rotate(-0.3deg);
    }

    75% {
        transform: translateX(1px) rotate(0.2deg);
    }
}

@keyframes houseSway2 {

    0%,
    100% {
        transform: scale(0.8) translateX(0px);
    }

    30% {
        transform: scale(0.8) translateX(2px);
    }

    70% {
        transform: scale(0.8) translateX(-1px);
    }
}

@keyframes houseSway3 {

    0%,
    100% {
        transform: scale(0.9) translateX(0px) rotate(0deg);
    }

    40% {
        transform: scale(0.9) translateX(1px) rotate(0.3deg);
    }

    80% {
        transform: scale(0.9) translateX(-1px) rotate(-0.2deg);
    }
}

/* Floating Blossoms - SVG Vectors */
.floating-blossom {
    position: absolute;
    width: 20px;
    height: 20px;
    animation: blossomFloat 15s linear infinite;
    opacity: 0.9;
}

.blossom-1 {
    top: 20%;
    left: 5%;
    animation-delay: 0s;
    animation-duration: 20s;
}

.blossom-2 {
    top: 35%;
    left: 60%;
    animation-delay: 5s;
    animation-duration: 18s;
}

.blossom-3 {
    top: 50%;
    left: 25%;
    animation-delay: 10s;
    animation-duration: 16s;
}

@keyframes blossomFloat {
    0% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
        opacity: 0.8;
    }

    25% {
        transform: translateY(-20px) translateX(10px) rotate(90deg);
        opacity: 0.9;
    }

    50% {
        transform: translateY(-40px) translateX(5px) rotate(180deg);
        opacity: 0.7;
    }

    75% {
        transform: translateY(-30px) translateX(-5px) rotate(270deg);
        opacity: 0.8;
    }

    100% {
        transform: translateY(-50px) translateX(-10px) rotate(360deg);
        opacity: 0.6;
    }
}

/* Sky Clouds */
.sky-cloud {
    position: absolute;
    font-size: 2em;
    color: #FFFFFF;
    opacity: 0.8;
}

.cloud-1 {
    top: 25%;
    left: 10%;
    animation: cloudFloat1 25s linear infinite;
    animation-delay: 0s;
}

.cloud-2 {
    top: 15%;
    left: 50%;
    animation: cloudFloat2 30s linear infinite;
    animation-delay: 5s;
}

.cloud-3 {
    top: 30%;
    right: 10%;
    animation: cloudFloat3 20s linear infinite;
    animation-delay: 10s;
    font-size: 1.5em;
}

@keyframes cloudFloat1 {
    0% {
        transform: translateX(0px) translateY(0px) scale(1);
    }

    25% {
        transform: translateX(50px) translateY(5px) scale(1.1);
    }

    50% {
        transform: translateX(100px) translateY(-5px) scale(0.9);
    }

    75% {
        transform: translateX(150px) translateY(0px) scale(1.05);
    }

    100% {
        transform: translateX(200px) translateY(-10px) scale(1);
    }
}

@keyframes cloudFloat2 {
    0% {
        transform: translateX(0px) translateY(0px);
    }

    50% {
        transform: translateX(-200px) translateY(10px);
    }

    100% {
        transform: translateX(-400px) translateY(0px);
    }
}

@keyframes cloudFloat3 {
    90% {
        opacity: 1;
    }

    100% {
        transform: translateX(110vw) translateY(0px) rotate(0deg);
        opacity: 0;
    }
}

/* Town Silhouette */
.town-silhouette {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(45deg,
            #8B7355 0%,
            #654321 25%,
            #4A2C17 50%,
            #8B7355 75%,
            #654321 100%);
    border-top: 3px solid #2F1B0F;
}

.silhouette-mountain {
    position: absolute;
    bottom: 0;
    left: 70%;
    width: 300px;
    height: 60px;
    background: linear-gradient(to right,
            transparent 0%,
            #4A2C17 10%,
            #654321 25%,
            #8B7355 50%,
            #654321 75%,
            transparent 100%);
    clip-path: polygon(0 100%, 20% 0%, 40% 100%, 60% 0%, 80% 100%, 100% 100%);
}

/* Pulse Animation for Numbers Change */
.time-number.updated {
    animation: numberChange 0.6s ease-out;
}

@keyframes numberChange {
    0% {
        transform: scale(1) rotateZ(0deg);
        opacity: 1;
    }

    25% {
        transform: scale(1.3) rotateZ(5deg);
        opacity: 0.8;
        color: var(--primary-light);
    }

    75% {
        transform: scale(0.95) rotateZ(-2deg);
        opacity: 0.95;
    }

    100% {
        transform: scale(1) rotateZ(0deg);
        opacity: 1;
        color: var(--primary-dark);
    }
}

/* ========================================= */
/* APP GLOWFIT ECOSYSTEM SECTION             */
/* ========================================= */

.app-ecosystem {
    padding: 6rem 5%;
    background: white;
    overflow: hidden;
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.app-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Typography & Content */
.eyebrow {
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 1rem;
}

.app-content h2 {
    font-size: 2.8rem;
    color: var(--primary-dark);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.app-content p.description {
    font-size: 1.1rem;
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

/* Steps Styling */
.app-steps {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    margin-bottom: 2.5rem;
}

.app-step {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
}

.step-number {
    background: var(--primary-light);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(45, 122, 110, 0.2);
}

.step-text h4 {
    color: var(--primary-dark);
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.step-text p {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.5;
    margin-bottom: 0;
}

/* Image & Background Blob */
.app-image {
    position: relative;
    text-align: center;
}

.app-blob {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(45, 122, 110, 0.08) 0%, transparent 70%);
    z-index: 0;
}

.app-image img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 500px;
    /* Constrain max size */
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s ease;
}

.app-image img:hover {
    transform: translateY(-10px);
}

/* Tablet & Mobile Responsiveness */
/* Tablet & Mobile Responsiveness - SANDWICH LAYOUT */
@media (max-width: 968px) {
    .app-container {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    /* Dissolve the content wrapper so children become direct flex items */
    .app-content {
        display: contents;
    }

    /* 1. Header Elements (Titles ONLY) First */
    .app-content .eyebrow,
    .app-content h2 {
        order: 1;
        width: 100%;
    }

    /* 2. Image Second */
    .app-image {
        order: 2;
        margin: 1rem 0 1.5rem;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .app-image img {
        max-width: 90%;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    }

    /* 3. Description AFTER Image */
    .app-content p.description {
        order: 3;
        width: 100%;
        margin-bottom: 2rem;
        /* Add breathing room */
    }

    /* 4. Steps & Actions Last */
    .app-steps,
    .app-content>div:last-child {
        order: 4;
        width: 100%;
        align-items: center;
    }

    .app-steps {
        align-items: flex-start;
        /* Keep internal step alignment nice */
        text-align: left;
        max-width: 450px;
        /* Constrain reading width */
        margin: 0 auto 2rem;
    }

    /* Ensure specific styling persists despite 'contents' display */
    .app-content h2 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
}

/* ========================================= */
/* FORCE FIX: HERO BUTTONS LAYOUT & STYLE    */
/* ========================================= */

.hero-buttons {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 1.5rem !important;
    width: 100% !important;
    margin-top: 2rem !important;
}

/* Ensure buttons behave as flex items but don't stretch */
.hero-buttons .btn-buy,
.hero-buttons .btn-wholesale {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    min-width: 180px !important;
    /* Minimum professional width */
    max-width: 100% !important;
    flex: 0 1 auto !important;
    margin: 0 !important;
    padding: 1rem 2rem !important;
    font-size: 1.1rem !important;
    margin-right: 0 !important;
    /* Clear any legacy margin */
}

/* Specific styling for the anchor tag to look like button */
a.btn-wholesale {
    text-align: center;
    text-decoration: none !important;
    line-height: 1.2;
}

/* On very small mobile vertical stack is acceptable if needed, 
   but user wants side-by-side mostly. */
@media (max-width: 400px) {
    .hero-buttons {
        gap: 0.8rem !important;
    }

    .hero-buttons .btn-buy,
    .hero-buttons .btn-wholesale {
        min-width: auto !important;
        padding: 0.8rem 1.2rem !important;
        font-size: 0.95rem !important;
    }
}