:root {
    /* Brand Colors */
    --brand-red: #dc412a;
    --brand-blue: #072c57;
    
    /* Neutral Colors */
    --bg-light: #fdfdfd;
    --text-dark: #1a1a1a;
    --text-muted: #666666;
    --white: #ffffff;
    
    /* UI Effects */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --radius-md: 12px;
    --radius-lg: 24px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--brand-blue);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center {
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

/* Typography Classes */
.brand-red-text {
    color: var(--brand-red);
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-whatsapp-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
    gap: 8px;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--brand-red);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(220, 65, 42, 0.3);
}

.btn-primary:hover {
    background-color: #c03521;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 65, 42, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--brand-blue);
    border: 2px solid var(--brand-blue);
}

.btn-secondary:hover {
    background-color: var(--brand-blue);
    color: var(--white);
}

.btn-whatsapp-large {
    background-color: #25D366; /* WhatsApp official color */
    color: var(--white);
    font-size: 1.125rem;
    padding: 16px 36px;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-large:hover {
    background-color: #20bd5a;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 48px;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-weight: 500;
    color: var(--brand-blue);
    position: relative;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--brand-red);
    transition: var(--transition);
}

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

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--brand-blue);
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 120px 24px 60px;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at top right, rgba(7, 44, 87, 0.05), transparent 40%),
                radial-gradient(circle at bottom left, rgba(220, 65, 42, 0.05), transparent 40%);
    max-width: 1200px;
    margin: 0 auto;
    gap: 48px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    width: 100%;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Beneficios Section */
.beneficios {
    padding: 100px 0;
    background-color: var(--white);
}

.grid-beneficios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.beneficio-card {
    padding: 32px 24px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
}

.beneficio-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: rgba(220, 65, 42, 0.1);
}

.icon-wrapper {
    width: 72px;
    height: 72px;
    background: rgba(7, 44, 87, 0.05);
    color: var(--brand-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 24px;
    transition: var(--transition);
}

.beneficio-card:hover .icon-wrapper {
    background: var(--brand-red);
    color: var(--white);
    transform: scale(1.1);
}

.beneficio-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.beneficio-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Productos Section */
.productos {
    padding: 100px 0;
    background-color: #f7f9fc;
}

.grid-productos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 48px;
}

.producto-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

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

.producto-img {
    height: 240px;
    background: linear-gradient(135deg, rgba(7, 44, 87, 0.03) 0%, rgba(7, 44, 87, 0.08) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    position: relative;
}

.producto-img img {
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.producto-card:hover .producto-img img {
    transform: scale(1.05);
}

.placeholder-img {
    font-size: 5rem;
    color: rgba(7, 44, 87, 0.2);
}

.producto-info {
    padding: 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.producto-info h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.producto-desc {
    color: var(--text-muted);
    margin-bottom: 24px;
    flex: 1;
}

.producto-features {
    list-style: none;
}

.producto-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
}

.producto-features li i {
    color: var(--brand-red);
}

/* Premium Card specific */
.premium-card {
    border: 2px solid var(--brand-red);
}

.premium-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--brand-red);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(220, 65, 42, 0.3);
}

.premium-card .producto-img {
    background: linear-gradient(135deg, rgba(220, 65, 42, 0.05) 0%, rgba(220, 65, 42, 0.15) 100%);
}

.floating-logo {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: auto;
    opacity: 0.8;
}

/* Distribución Section */
.distribucion {
    padding: 100px 0;
    background-color: var(--white);
}

.distribucion-content {
    background: var(--brand-blue);
    border-radius: var(--radius-lg);
    padding: 64px;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    background-image: radial-gradient(circle at top right, rgba(255, 255, 255, 0.1), transparent 40%);
}

.distribucion-text h2 {
    color: var(--white);
    margin-bottom: 24px;
}

.distribucion-text p {
    font-size: 1.125rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 800px;
}

.mercados-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
}

.mercado-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    transition: var(--transition);
}

.mercado-item:hover {
    background: var(--white);
    color: var(--brand-blue);
}

.zonas-cobertura {
    background: rgba(0, 0, 0, 0.2);
    padding: 32px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--brand-red);
}

.zonas-cobertura h3 {
    color: var(--white);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.zonas-cobertura p {
    margin-bottom: 0;
    font-weight: 500;
}

/* Contacto CTA */
.contacto {
    padding: 120px 0;
    background: linear-gradient(to bottom, #f7f9fc, var(--white));
}

.contacto h2 {
    font-size: 3rem;
    margin-bottom: 16px;
}

.contacto p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* Footer */
footer {
    background-color: #041a33; /* Darker than brand blue */
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-brand img {
    height: 56px;
    margin-bottom: 24px;
}

.footer-brand p {
    max-width: 300px;
}

.footer-links h3, .footer-contact h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 24px;
    font-family: 'Outfit', sans-serif;
}

.footer-links a {
    display: block;
    margin-bottom: 12px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--brand-red);
    padding-left: 4px;
}

.footer-contact p {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-contact i {
    color: var(--brand-red);
    font-size: 1.25rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

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

.fade-left {
    transform: translateX(30px);
}

.fade-left.active {
    transform: translateX(0);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 140px;
    }
    
    .hero-content h1 {
        font-size: 2.75rem;
    }
    
    .hero-content p {
        margin: 0 auto 32px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-btn {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .navbar.mobile-active .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 24px;
        box-shadow: var(--shadow-md);
        gap: 24px;
    }

    .navbar.mobile-active .nav-btn {
        display: inline-flex;
        margin-top: 20px;
    }

    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .distribucion-content {
        padding: 40px 24px;
    }
}
