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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

/* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-scrolled {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo-img {
    height: 50px;
    width: auto;
}

.navbar-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #F24130;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #F24130;
    transition: width 0.3s ease;
}

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

.nav-btn {
    background: linear-gradient(135deg, #F24130 0%, #F23838 100%);
    padding: 0.75rem 1.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-btn::after {
    display: none;
}

.nav-btn:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(242, 65, 48, 0.5);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 2px;
    background-color: white;
    transition: all 0.3s ease-in-out;
    border-radius: 2px;
}

/* Animations for hamburger */
.menu-toggle.active .top {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active .middle {
    opacity: 0;
}

.menu-toggle.active .bottom {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 900px) {
    .navbar-container {
        padding: 0 1.5rem;
    }

    .navbar-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(13, 13, 13, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
        gap: 2rem;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .navbar-menu.active {
        right: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-link {
        font-size: 1.5rem;
    }

    .nav-btn {
        width: auto;
        min-width: 200px;
        text-align: center;
        margin-top: 1rem;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    background-image: url('/img/fondo.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 0 3rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.hero-title {
    font-size: 5rem;
    font-weight: 700;
    color: #F24130;
    margin: 0;
    line-height: 1.1;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 3rem;
    font-weight: 400;
    color: #999;
    margin: 1rem 0 0 0;
    line-height: 1.2;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

.hero-vision {
    font-size: 6rem;
    font-weight: 700;
    color: white;
    margin: 0.5rem 0 3rem 0;
    line-height: 1.1;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.7);
}

.hero-cta {
    display: inline-block;
    background: linear-gradient(135deg, #F24130 0%, #F23838 100%);
    color: white;
    padding: 1rem 3rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(242, 65, 48, 0.4);
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(242, 65, 48, 0.6);
}

/* Sections */
.section {
    padding: 5rem 2rem;
}

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

.section-title {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: #0D0D0D;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: #F24130;
    margin: 0 auto 2rem;
}

.section-description {
    text-align: center;
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 3rem;
}

/* Nosotros Section */
.section-nosotros {
    background: white;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.content-text h3 {
    font-size: 1.75rem;
    color: #0D0D0D;
    margin-bottom: 1.5rem;
}

.content-text p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-icon {
    width: 24px;
    height: 24px;
    color: #F24130;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-card {
    padding: 2rem;
    border-radius: 1rem;
    color: white;
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-red {
    background: linear-gradient(135deg, #F24130, #F23838);
}

.stat-purple {
    background: linear-gradient(135deg, #9333ea, #7c3aed);
}

.stat-blue {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.stat-dark {
    background: linear-gradient(135deg, #404040, #0D0D0D);
}

.stat-value {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
}

/* Productos Section */
.section-productos {
    background: linear-gradient(to bottom, #f9fafb, #f3f4f6);
}

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

.product-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(242, 65, 48, 0.2);
}

.product-header {
    padding: 3rem 2rem;
    color: white;
    text-align: center;
}

.product-blue {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.product-red {
    background: linear-gradient(135deg, #F24130, #F23838);
}

.product-dark {
    background: linear-gradient(135deg, #404040, #0D0D0D);
}

.product-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
}

.product-header h3 {
    font-size: 2rem;
    font-weight: 800;
    margin: 0;
}

.product-body {
    padding: 2rem;
}

.product-body h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0D0D0D;
    margin-bottom: 1rem;
}

.product-body p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.product-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.product-features li {
    padding: 0.5rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #F24130;
    font-weight: 700;
}

.product-btn {
    display: block;
    background: linear-gradient(135deg, #F24130, #F23838);
    color: white;
    text-align: center;
    padding: 0.875rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.product-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(242, 65, 48, 0.4);
}

/* Distribution Section */
.section-white {
    background: white;
}

.distribution-content p {
    text-align: center;
    color: #555;
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    text-align: center;
    padding: 2rem;
    background: #f9fafb;
    border-radius: 1rem;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-card h4 {
    font-size: 1.25rem;
    color: #0D0D0D;
    margin-bottom: 0.5rem;
}

.benefit-card p {
    color: #666;
}

/* Clientes Section */
.section-light {
    background: #f9fafb;
}

.clients-content p {
    text-align: center;
    color: #555;
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

.testimonial {
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-text {
    font-size: 1.25rem;
    font-style: italic;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.testimonial-author {
    text-align: right;
    color: #F24130;
    font-weight: 600;
}

/* Contact Section */
.section-contact {
    background: linear-gradient(135deg, #1a1a1a, #0D0D0D);
    color: white;
}

.section-contact .section-title,
.section-contact .section-description {
    color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 1rem;
    backdrop-filter: blur(10px);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 0.5rem;
    font-family: inherit;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #F24130, #F23838);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(242, 65, 48, 0.5);
}

.success-message {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid #22c55e;
    border-radius: 0.5rem;
    color: #86efac;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 1rem;
    backdrop-filter: blur(10px);
}

.info-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: white;
}

.info-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background: #0D0D0D;
    color: white;
    padding: 2rem;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 2rem;
    }

    .hero-vision {
        font-size: 4rem;
    }

    .content-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 3rem 1rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-vision {
        font-size: 3.5rem;
    }

    .hero-content {
        padding: 0 1.5rem;
    }

    .hero-cta {
        padding: 0.875rem 2rem;
        font-size: 1rem;
        width: 100%;
        text-align: center;
    }
}
