/* =========================================
   1. VARIABLES Y RESET
   ========================================= */
:root { 
    --primary-color: #a4d44d; 
    --primary-hover: #8fb944; 
    --bg-dark: #494a4a; 
    --bg-darker: #363636; 
    --text-light: #ffffff; 
    --text-gray: #b0b0b0; 
    --card-white: #ffffff; 
    --transition: all 0.3s ease; 
} 

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
} 

html { 
    scroll-behavior: smooth; 
} 

body { 
    font-family: 'Inter', sans-serif; 
    background-color: var(--bg-dark); 
    color: var(--text-light); 
    line-height: 1.6; 
    overflow-x: hidden; 
} 

.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 20px; 
} 

/* =========================================
   2. HEADER Y NAVEGACIÓN (Escritorio por defecto)
   ========================================= */
header { 
    padding: 15px 0; 
    background: rgba(30, 30, 30, 0.95); 
    backdrop-filter: blur(10px); 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    border-bottom: 1px solid rgba(255,255,255,0.05); 
} 

nav { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
} 

.logo { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    text-decoration: none; 
    font-weight: 700; 
    color: #fff; 
    font-size: 1.2rem; 
} 

.logo span { color: var(--primary-color); } 

.logo-img { 
    height: 100px; 
    width: auto; 
    display: block; 
} 

/* Menú Escritorio */
.nav-links { 
    display: flex; 
    list-style: none; 
    gap: 30px; 
} 

.nav-links a { 
    color: var(--text-gray); 
    text-decoration: none; 
    font-size: 0.95rem; 
    font-weight: 500; 
    transition: var(--transition); 
} 

.nav-links a:hover, .nav-links a.active { 
    color: var(--primary-color); 
} 

/* Botón Hamburguesa (Oculto en escritorio) */
.menu-toggle { 
    display: none; 
    flex-direction: column; 
    cursor: pointer; 
    background: none; 
    border: none; 
    gap: 5px; 
    z-index: 1100; 
} 

.menu-toggle span { 
    display: block; 
    width: 25px; 
    height: 3px; 
    background: var(--primary-color); 
    transition: all 0.3s ease; 
} 

/* =========================================
   3. COMPONENTES GLOBALES Y SECCIONES
   ========================================= */
.btn { 
    padding: 12px 28px; 
    border-radius: 8px; 
    text-decoration: none; 
    font-weight: 600; 
    transition: var(--transition); 
    display: inline-block; 
} 

.btn-primary { 
    background-color: var(--primary-color); 
    color: #1a1a1a; 
    box-shadow: 0 4px 15px rgba(164, 212, 77, 0.3); 
} 

.btn-primary:hover { 
    background-color: var(--primary-hover); 
    transform: translateY(-2px); 
    box-shadow: 0 6px 20px rgba(164, 212, 77, 0.4); 
} 

.btn-secondary { 
    background-color: transparent; 
    border: 1px solid #555; 
    color: #fff; 
} 

.btn-secondary:hover { 
    border-color: var(--text-light); 
    background-color: rgba(255,255,255,0.05); 
} 

.badge { 
    color: var(--primary-color); 
    background: rgba(164, 212, 77, 0.1); 
    border: 1px solid rgba(164, 212, 77, 0.3); 
    padding: 6px 16px; 
    border-radius: 50px; 
    font-size: 0.85rem; 
    font-weight: 600; 
    display: inline-block; 
    margin-bottom: 20px; 
} 

/* Hero Section */ 
.hero { 
    padding: 120px 0 100px; 
    background: radial-gradient(circle at 80% 20%, #2c2c2c, #1e1e1e 60%); 
    overflow: hidden; 
} 

.hero-grid { 
    display: grid; 
    grid-template-columns: 1.1fr 0.9fr; 
    gap: 60px; 
    align-items: center; 
} 

h1 { 
    font-size: 3.5rem; 
    margin-bottom: 25px; 
    line-height: 1.15; 
    letter-spacing: -1px; 
} 

.highlight { color: var(--primary-color); } 

.hero-content p { 
    color: var(--text-gray); 
    font-size: 1.1rem; 
    margin-bottom: 35px; 
    max-width: 90%; 
} 

.hero-btns { 
    display: flex; 
    gap: 15px; 
} 

.hero-image { 
    position: relative; 
    z-index: 1; 
} 

.img-wrapper img { 
    width: 100%; 
    border-radius: 20px; 
    box-shadow: 0 20px 50px rgba(0,0,0,0.5); 
} 

.floating-card { 
    position: absolute; 
    bottom: 30px; 
    left: -30px; 
    background: white; 
    color: #1a1a1a; 
    padding: 15px 25px; 
    border-radius: 16px; 
    display: flex; 
    align-items: center; 
    gap: 15px; 
    box-shadow: 0 15px 35px rgba(0,0,0,0.2); 
    animation: float 4s ease-in-out infinite; 
} 

@keyframes float { 
    0%, 100% { transform: translateY(0); } 
    50% { transform: translateY(-10px); } 
} 

/* Section Problems */ 
.problems { 
    background: #f4f4f4; 
    color: #1a1a1a; 
    padding: 100px 0; 
} 

.section-subtitle { 
    color: #666; 
    font-weight: 700; 
    letter-spacing: 1px; 
    font-size: 0.9rem; 
    text-transform: uppercase; 
    display: block; 
    margin-bottom: 10px; 
    text-align: center; 
} 

.section-title { 
    font-size: 2.5rem; 
    text-align: center; 
    margin-bottom: 60px; 
} 

.grid-3 { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; 
} 

.card { 
    background: white; 
    padding: 40px; 
    border-radius: 20px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
    transition: var(--transition); 
    border: 1px solid transparent; 
} 

.card:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.08); 
    border-color: var(--primary-color); 
} 

.number { 
    color: #ff9800; 
    background: #fff3e0; 
    width: 45px; 
    height: 45px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    border-radius: 12px; 
    font-weight: 800; 
    margin-bottom: 25px; 
    font-size: 1.2rem; 
} 

/* Soluciones Section */ 
.solutions { 
    padding: 100px 0; 
    background-color: var(--bg-darker); 
    text-align: center; 
} 

.section-subtitle-green { 
    color: var(--primary-color); 
    letter-spacing: 2px; 
    font-size: 0.85rem; 
    text-transform: uppercase; 
    font-weight: 700; 
    margin-bottom: 10px; 
    display: block; 
} 

.section-title-white { 
    font-size: 2.5rem; 
    margin-bottom: 20px; 
} 

.factor-diferencial { 
    color: var(--text-gray); 
    margin-bottom: 60px; 
    font-size: 1.05rem; 
} 

.grid-solutions { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 30px; 
} 

.card-dark { 
    background: #252525; 
    padding: 40px 30px; 
    border-radius: 16px; 
    text-align: left; 
    border: 1px solid #333; 
    transition: var(--transition); 
    position: relative; 
    overflow: hidden; 
} 

.card-dark:hover { 
    border-color: var(--primary-color); 
    background: #2a2a2a; 
    transform: translateY(-8px); 
    box-shadow: 0 10px 30px rgba(0,0,0,0.3); 
} 

.icon-box { 
    background: #333; 
    width: 55px; 
    height: 55px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    border-radius: 14px; 
    margin-bottom: 25px; 
    font-size: 1.6rem; 
    transition: var(--transition); 
} 

.card-dark:hover .icon-box { 
    background: var(--primary-color); 
    color: #000; 
} 

/* Stats Section */ 
.stats { 
    padding: 100px 0; 
    background: #1a1a1a; 
    border-top: 1px solid #333; 
} 

.stats-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 80px; 
    align-items: center; 
} 

.check-list { 
    list-style: none; 
    margin: 30px 0; 
} 

.check-list li { 
    margin-bottom: 15px; 
    color: var(--text-gray); 
} 

.check-list li::before { 
    content: "✓"; 
    color: var(--primary-color); 
    margin-right: 15px; 
    font-weight: bold; 
} 

.stats-numbers { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 40px; 
} 

.counter { 
    font-size: 3.5rem; 
    font-weight: 700; 
    color: var(--primary-color); 
    display: block; 
    line-height: 1; 
    margin-bottom: 5px; 
} 

/* Contact Section */ 
.contact-section { 
    padding: 100px 0; 
    background-color: var(--bg-dark); 
} 

.contact-grid { 
    display: grid; 
    grid-template-columns: 1fr 1.2fr; 
    gap: 60px; 
    align-items: center; 
} 

.detail-item { 
    display: flex; 
    gap: 20px; 
    margin-bottom: 30px; 
} 

.detail-item .icon { 
    font-size: 1.5rem; 
    color: var(--primary-color); 
    background: rgba(164, 212, 77, 0.1); 
    width: 50px; 
    height: 50px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    border-radius: 50%; 
} 

.map-container { 
    filter: grayscale(100%) invert(90%) contrast(120%); 
    border-radius: 20px; 
    overflow: hidden; 
    box-shadow: 0 20px 50px rgba(0,0,0,0.4); 
    transition: filter 0.5s ease; 
    height: 400px; 
} 

.map-container:hover { 
    filter: grayscale(0%) invert(0%) contrast(100%); 
} 

.map-container iframe { 
    height: 100%; 
    width: 100%; 
} 

/* Footer */ 
.footer { 
    padding: 80px 0 30px; 
    background-color: #0f0f0f; 
    border-top: 1px solid #222; 
} 

.footer-grid { 
    display: grid; 
    grid-template-columns: 2fr 1fr 1fr; 
    gap: 40px; 
    margin-bottom: 50px; 
} 

.footer-brand p { 
    color: #777; 
    margin-top: 20px; 
    max-width: 300px; 
} 

.footer-links h4 { 
    color: white; 
    margin-bottom: 25px; 
} 

.footer-links ul { list-style: none; } 

.footer-links a { 
    color: #777; 
    text-decoration: none; 
    line-height: 2.2; 
    transition: var(--transition); 
} 

.footer-links a:hover { 
    color: var(--primary-color); 
    padding-left: 5px; 
} 

.footer-bottom { 
    padding-top: 30px; 
    border-top: 1px solid #222; 
    display: flex; 
    justify-content: space-between; 
    flex-wrap: wrap; 
    color: #555; 
    font-size: 0.85rem; 
} 

.legal a { 
    color: #555; 
    margin-left: 20px; 
    text-decoration: none; 
} 

/* =========================================
   4. PÁGINAS INTERNAS
   ========================================= */

/* Page Headers */ 
.page-header { 
    padding: 80px 0 60px; 
    background: radial-gradient(circle at bottom, #252525, #1e1e1e); 
    text-align: center; 
    border-bottom: 1px solid #333; 
} 

.page-header h1 { 
    font-size: 3rem; 
    margin: 15px 0; 
} 

.page-header p { 
    color: var(--text-gray); 
    max-width: 600px; 
    margin: 0 auto; 
} 

/* Utils */ 
.grid-2 { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 60px; 
    align-items: center; 
} 

.grid-2.reverse .industry-text { 
    order: 1; 
} 

.text-center { text-align: center; } 
.mb-5 { margin-bottom: 3rem; } 

/* About Page */ 
.about-content { padding: 80px 0; } 
.image-block img { 
    width: 100%; 
    border-radius: 20px; 
    box-shadow: 0 10px 40px rgba(0,0,0,0.5); 
    filter: grayscale(20%); 
} 

/* Team Section */ 
.team-section { padding: 80px 0; background-color: #1a1a1a; } 
.grid-team { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 30px; 
    text-align: center; 
} 

.team-card img { 
    width: 150px; 
    height: 150px; 
    border-radius: 50%; 
    object-fit: cover; 
    border: 3px solid var(--primary-color); 
    margin-bottom: 20px; 
    background-color: #333; 
} 

.team-info h3 { font-size: 1.2rem; color: #fff; margin-bottom: 5px; } 
.team-info span { color: var(--primary-color); font-size: 0.9rem; } 

/* Industry Page */ 
.industry-block { padding: 80px 0; border-bottom: 1px solid #2a2a2a; } 
.bg-darker { background-color: #151515; } 

.industry-img img { 
    width: 80%; 
    border-radius: 15px; 
    box-shadow: 0 5px 20px rgba(0,0,0,0.4); 
    transition: transform 0.3s ease; 
} 

.industry-block:hover .industry-img img { 
    transform: scale(1.02); 
} 

.cta-section { padding: 80px 0; background: #222; } 

/* Blog Page */ 
.blog-grid-section { padding: 80px 0; } 
.blog-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 40px; 
} 

.blog-card { 
    background: #252525; 
    border-radius: 15px; 
    overflow: hidden; 
    transition: var(--transition); 
    border: 1px solid #333; 
    display: flex; 
    flex-direction: column; 
} 

.blog-card:hover { 
    transform: translateY(-10px); 
    border-color: var(--primary-color); 
} 

.blog-img { 
    position: relative; 
    height: 300px; 
    overflow: hidden; 
} 

.blog-img img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.5s ease; 
} 

.blog-card:hover .blog-img img { transform: scale(1.1); } 

.category { 
    position: absolute; 
    top: 15px; 
    right: 15px; 
    background: var(--primary-color); 
    color: #000; 
    padding: 4px 12px; 
    border-radius: 20px; 
    font-size: 0.75rem; 
    font-weight: bold; 
} 

.blog-content { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; } 
.blog-content .date { font-size: 0.8rem; color: #777; margin-bottom: 10px; display: block; } 
.blog-content h3 { font-size: 1.3rem; margin-bottom: 10px; line-height: 1.3; } 
.blog-content p { font-size: 0.95rem; color: #b0b0b0; margin-bottom: 20px; flex-grow: 1; } 

.read-more { 
    color: var(--primary-color); 
    text-decoration: none; 
    font-weight: bold; 
    font-size: 0.9rem; 
    align-self: flex-start; 
} 

.read-more:hover { text-decoration: underline; } 

/* =========================================
   5. MEDIA QUERIES (RESPONSIVIDAD Y MENÚ MÓVIL)
   ========================================= */

/* Tablets */
@media (max-width: 1024px) { 
    h1 { font-size: 2.8rem; } 
    .hero-grid { grid-template-columns: 1fr; text-align: center; } 
    .hero-content { margin-bottom: 50px; } 
    .hero-content p { margin: 0 auto 30px; } 
    .hero-btns { justify-content: center; } 
    .floating-card { left: 50%; transform: translateX(-50%); bottom: -20px; width: 80%; justify-content: center; } 
} 

/* Móvil (Max-width 768px) - AQUÍ ESTÁ LA MAGIA */
@media (max-width: 768px) { 
    /* Logo más pequeño en móvil */
    .logo-img { 
        height: 60px; 
    } 

    .menu-toggle { 
        display: flex; /* Mostrar hamburguesa */
    } 

    /* Configuración del Menú Desplegable */
    .nav-links { 
        position: fixed; 
        right: -100%; /* Oculto fuera de pantalla */
        top: 0; 
        height: 100vh; 
        width: 80%; 
        background: #1a1a1a; 
        flex-direction: column; /* Lista vertical */
        justify-content: center; 
        align-items: center; 
        transition: 0.4s ease; 
        box-shadow: -10px 0 30px rgba(0,0,0,0.5); 
        z-index: 1000; 
        overflow-y: auto;
    } 

    .nav-links.is-active { 
        right: 0; /* Menú visible */
    } 

    .nav-links li { 
        margin: 20px 0; 
        width: 100%; 
        text-align: center; 
    } 

    .nav-links a { 
        font-size: 1.3rem; 
        display: block; 
        color: white; /* Forzar blanco en fondo oscuro */
    } 

    /* Ocultar elementos innecesarios en móvil */
    .nav-btn { display: none !important; } 

    /* Grids en una columna */
    .stats-grid, .contact-grid, .footer-grid, .grid-2 { 
        grid-template-columns: 1fr; 
        gap: 40px; 
    } 
    
    .grid-2.reverse .industry-text { order: 0; }

    .stats-numbers { 
        margin-top: 30px; 
    } 

    h1 { font-size: 2.2rem; } 
    .section-title, .section-title-white { font-size: 2rem; } 
     
    .footer-bottom { flex-direction: column; align-items: center; gap: 15px; } 
    .legal a { margin: 0 10px; } 

    /* Animación de la X en la hamburguesa */
    .menu-toggle.is-active span:nth-child(1) { transform: translateY(8px) rotate(45deg); } 
    .menu-toggle.is-active span:nth-child(2) { opacity: 0; } 
    .menu-toggle.is-active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); } 
} 

/* Móviles muy pequeños */
@media (max-width: 480px) { 
    .logo { font-size: 1rem; } 
    .logo-img { height: 40px; } 
}