:root {
    /* Nueva paleta de colores - Azul/Verde predominante */
    --primary-blue: #0066CC;      /* Azul principal */
    --primary-blue-dark: #004C99; /* Azul oscuro */
    --primary-green: #00A86B;     /* Verde principal */
    --accent-teal: #03A696;       /* Teal para acentos */
    --accent-orange: #F59E0B; /* Naranja original para compatibilidad */
    --accent-green: #04BF8A;      /* Verde claro para acentos */
    --dark-bg: #0A0F0D;           /* Fondo negro */
    --dark-bg-light: #1A1F1C;     /* Fondo gris oscuro */
    --light-text: #F5F7F6;        /* Texto claro */
    --card-bg: #FFFFFF;           /* Fondo de tarjetas - Blanco */
    --card-bg-dark: #1A2320;      /* Fondo de tarjetas oscuras */
    --text-main: #333333;         /* Texto principal */
    --text-muted: #666666;        /* Texto secundario */
    --border-color: #E0E0E0;      /* Bordes claros */
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --card-shadow-hover: 0 15px 40px rgba(0, 102, 204, 0.15);
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-main);
    background-color: #FFFFFF; /* Fondo blanco */
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.display-title {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 3px;
}

/* Fondo con efecto gradiente sutil */
.gradient-bg {
    background: linear-gradient(135deg, 
        rgba(0, 102, 204, 0.03) 0%, 
        rgba(0, 168, 107, 0.03) 25%, 
        rgba(3, 166, 150, 0.03) 50%, 
        rgba(4, 191, 138, 0.03) 75%, 
        rgba(0, 102, 204, 0.03) 100%);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    animation: gradientShift 20s ease infinite;
    background-size: 400% 400%;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Navbar moderna estilo biotechagro */
.navbar {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    z-index: 1000;
}

.navbar.scrolled {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 2px;
    color: var(--primary-blue) !important;
}

.logo-navbar {
    height: 50px;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo-navbar:hover {
    transform: scale(1.05);
}

.nav-link {
    color: var(--text-main) !important;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s;
    margin: 0 0.25rem;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-green));
    transition: width 0.3s;
    border-radius: 2px;
}

.nav-link:hover::before {
    width: 80%;
}

.nav-link:hover {
    color: var(--primary-blue) !important;
}

/* Botones modernos */
.btn-modern {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.2);
}

.btn-modern::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.7s;
    z-index: -1;
}

.btn-modern:hover::before {
    left: 100%;
}

.btn-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.3);
}

.btn-accent {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 8px;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.2);
}

.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.3);
    color: white;
}

/* Efectos de revelado al scrollear */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Títulos de sección con efecto moderno */
.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--primary-blue);
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-green));
    border-radius: 2px;
}

/* Cards modernas estilo biotechagro */
.card-modern {
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: var(--card-shadow);
}

.card-modern:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--primary-blue);
}

/* Efecto de texto que aparece */
.text-appear {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.text-appear.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Footer estilo moderno */
.footer {
    background: var(--dark-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), transparent);
}

.text-light-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

.hover-accent:hover {
    color: var(--primary-green) !important;
}

/* Scroll personalizado */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--primary-blue), var(--primary-green));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, var(--primary-blue-dark), var(--primary-green));
}

/* Precios destacados */
.price-badge {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.2);
}

.price-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s;
    box-shadow: var(--card-shadow);
}

.price-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-blue);
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.15);
}

/* Animación para flecha de scroll */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Sponsor Grid */
.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 2rem;
    align-items: center;
    justify-items: center;
}

.sponsor-logo {
    filter: grayscale(1);
    opacity: 0.7;
    transition: all 0.3s;
    max-height: 80px;
    object-fit: contain;
    width: 100%;
}

.sponsor-logo:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .section-title { font-size: 2rem; }
    .display-title { font-size: 3rem; }
    .logo-navbar { height: 40px; }
    .navbar-brand span { font-size: 1.2rem; }
}

/* ============ CORRECCIÓN PARA NOTEBOOKS (14 Pulgadas / 1366px) ============ */
@media (min-width: 992px) and (max-width: 1450px) {

    /* 1. OCULTAMOS EL TEXTO LARGO DEL TÍTULO (Clave para ganar espacio) */
    .brand-text {
        display: none !important;
    }
    
    /* Si querés que se vea algo, podés descomentar esto para mostrar solo "FIESTA": */
    /*
    .brand-text { display: block !important; font-size: 0; }
    .brand-text::after { content: "LA FIESTA"; font-size: 1.2rem; }
    */

    /* 2. ACHICAMOS EL BOTÓN GIGANTE */
    .btn-accent {
        padding: 0.5rem 1rem !important; /* Menos relleno */
        font-size: 0.9rem !important;    /* Letra más chica */
        width: auto !important;          /* Que se ajuste al contenido */
    }

    /* 3. MENÚ MÁS COMPACTO */
    .navbar-nav .nav-link {
        font-size: 0.95rem !important;  /* Letra un pelín más chica */
        margin: 0 0.2rem !important;    /* Menos separación entre items */
    }

    /* 4. REDUCIMOS LA ALTURA DE LA BARRA */
    .navbar {
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
    }
    
    /* Logo un poco más chico para acompañar */
    .navbar-brand img {
        height: 40px !important; 
    }
}