:root {
    --bg-color: #0b0f19;
    --text-color: #e2e8f0;
    --primary-color: #6366f1;
    --primary-hover: #4f46e5;
    --secondary-color: #1e293b;
    --accent-color: #06b6d4;
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: #fff;
    line-height: 1.2;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 100;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(11, 15, 25, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--primary-color);
}

.logo-img-link {
    height: 60px;
    width: 160px; /* Damos un ancho fijo para que no empuje el menú */
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-img {
    height: 60px; 
    width: auto;
    object-fit: contain;
    transform: scale(4); /* Multiplicamos su tamaño visual por 4 */
    transform-origin: center center;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a:not(.btn-primary) {
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Botones */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
    border: none;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Utilidades Glassmorphism */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.glass-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

/* Secciones Generales */
.section {
    padding: 6rem 0;
}

.bg-darker {
    background-color: #080b13;
}

.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: #94a3b8;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

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

.mt-4 {
    margin-top: 1.5rem;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 5rem;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 15, 25, 0.9) 0%, rgba(11, 15, 25, 0.6) 100%);
}

.hero-content {
    text-align: center;
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero h1 span {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Productos */
.product-showcase {
    display: flex;
    gap: 3rem;
    padding: 3rem;
    align-items: center;
}

.product-info {
    flex: 1;
}

.product-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.product-info p {
    color: #94a3b8;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.feature-list li {
    margin-bottom: 0.8rem;
    color: #cbd5e1;
}

.product-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.flyer-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.service-card {
    padding: 2.5rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.5);
}

.service-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.service-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: #94a3b8;
    font-size: 0.95rem;
}

/* Contacto */
.contact-wrapper {
    display: flex;
    gap: 4rem;
    padding: 4rem;
}

.contact-info, .contact-form {
    flex: 1;
}

.contact-info h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.contact-info p {
    color: #94a3b8;
}

.contact-details p {
    margin-bottom: 0.5rem;
    color: #fff;
    font-weight: 500;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: #cbd5e1;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
footer {
    padding: 3rem 0;
    border-top: 1px solid var(--glass-border);
    background: var(--bg-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content p {
    color: #64748b;
    font-size: 0.9rem;
}

/* Animaciones simples */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUpAnim 0.8s forwards ease-out;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

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

/* Responsive */
@media (max-width: 768px) {
    .hero-actions {
        flex-direction: column;
    }
    
    .product-showcase {
        flex-direction: column;
        padding: 2rem;
    }
    
    .contact-wrapper {
        flex-direction: column;
        padding: 2rem;
    }
    
    .nav-links {
        display: none; /* Simplificación para móvil: Ocultar menú en este demo */
    }
    
    .mobile-toggle {
        display: block;
        width: 30px;
        height: 20px;
        position: relative;
        cursor: pointer;
    }
    
    .mobile-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background: #fff;
        position: absolute;
        transition: all 0.3s;
    }
    
    .mobile-toggle span:nth-child(1) { top: 0; }
    .mobile-toggle span:nth-child(2) { top: 9px; }
    .mobile-toggle span:nth-child(3) { top: 18px; }
}


