/* VARIABLES DE MARCA */
:root {
    --azul-primary: #003354;
    --naranja-accent: #F26101;
    --verde-tech: #94C11F;
    --gris-dark: #1a1a1a;
    --gris-light: #f8f9fa;
    --white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* RESET & BASE */
* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }
body { 
    font-family: 'Open Sans', sans-serif; 
    color: var(--gris-dark); 
    background: var(--white);
    overflow-x: hidden;
}
h1, h2, h3 { font-family: 'Montserrat', sans-serif; font-weight: 800; }

.container { width: 90%; max-width: 1200px; margin: auto; }

/* ANIMACIONES */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

.fade-in { animation: fadeIn 1.5s ease; }
.slide-up { animation: slideUp 1s ease forwards; }

/* HEADER */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: sticky; top: 0; z-index: 1000;
    border-bottom: 1px solid #eee;
}
.navbar { display: flex; justify-content: space-between; align-items: center; }
.logo { height: 55px; transition: var(--transition); }
.logo:hover { transform: scale(1.05); }

nav a {
    text-decoration: none;
    color: var(--azul-primary);
    font-weight: 600;
    margin-left: 25px;
    font-size: 0.9rem;
    transition: var(--transition);
}
nav a:hover { color: var(--naranja-accent); }
.ml-link {
    background: var(--azul-primary);
    color: white !important;
    padding: 10px 20px;
    border-radius: 50px;
}
.ml-link:hover { background: var(--naranja-accent); }

/* HERO */
.hero {
    padding: 120px 0;
    background: radial-gradient(circle at top right, #fdfdfd, #e9eff5);
    position: relative;
}
.badge {
    background: #e9eff5;
    color: var(--azul-primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: inline-block;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.1; margin-bottom: 20px; color: var(--azul-primary); }
.text-gradient {
    background: linear-gradient(90deg, var(--azul-primary), var(--naranja-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero p { font-size: 1.2rem; max-width: 600px; margin-bottom: 40px; color: #555; }

.btn-main {
    background: var(--verde-tech);
    color: white;
    padding: 18px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    box-shadow: 0 10px 20px rgba(148, 193, 31, 0.3);
    transition: var(--transition);
}
.btn-main:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(148, 193, 31, 0.4); }

.btn-outline {
    margin-left: 15px;
    padding: 18px 35px;
    border: 2px solid var(--azul-primary);
    color: var(--azul-primary);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    transition: var(--transition);
}
.btn-outline:hover { background: var(--azul-primary); color: white; }

/* STATS */
.stats { margin-top: -50px; position: relative; z-index: 10; }
.grid-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.stat-item {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    border-top: 4px solid var(--verde-tech);
}
.stat-item i { font-size: 2rem; color: var(--azul-primary); margin-bottom: 15px; }

/* VALUE PROP */
.value-prop { padding: 100px 0; background: var(--gris-light); }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.5rem; color: var(--azul-primary); }

.cards-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    transition: var(--transition);
    border: 1px solid #eee;
}
.card:hover { transform: translateY(-10px); border-color: var(--naranja-accent); }
.card-icon { 
    width: 60px; height: 60px; background: #f0f7ff; 
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px; margin-bottom: 25px; color: var(--azul-primary); font-size: 1.5rem;
}
.featured { background: var(--azul-primary); color: white; }
.featured .card-icon { background: rgba(255,255,255,0.1); color: var(--verde-tech); }
.featured h3 { color: var(--white); }

/* EXPERIENCE */
.experience { padding: 100px 0; background: url('https://images.unsplash.com/photo-1504328345606-18bbc8c9d7d1?q=80&w=1470&auto=format&fit=crop') no-repeat center center/cover; position: relative; }
.experience::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 51, 84, 0.9); }
.exp-box { position: relative; color: white; text-align: center; max-width: 800px; margin: auto; }
.exp-box h2 { font-size: 3rem; margin-bottom: 20px; color: var(--verde-tech); }
.contact-info { margin-top: 30px; display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }

/* FOOTER */
footer { padding: 40px 0; text-align: center; background: #0a0a0a; color: #777; font-size: 0.8rem; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .navbar { flex-direction: column; gap: 20px; }
    nav a { margin: 0 10px; }
    .hero { text-align: center; padding: 60px 0; }
    .hero-btns { display: flex; flex-direction: column; gap: 15px; }
    .btn-outline { margin-left: 0; }
}

/* Ajustes para enlaces de contacto y redes */
.contact-link {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-weight: 600;
    transition: var(--transition);
}
.contact-link:hover { color: var(--verde-tech); }

.social-links {
    margin-top: 30px;
    font-size: 1.8rem;
}
.social-links a {
    color: white;
    margin: 0 15px;
    transition: var(--transition);
}
.social-links a:hover { color: var(--verde-tech); transform: scale(1.1); display: inline-block; }

.easter-egg {
    font-size: 0.7rem;
    letter-spacing: 1px;
    opacity: 0.5;
    transition: opacity 0.5s;
}
.easter-egg:hover { opacity: 1; color: var(--naranja-accent); }

/* Nueva Sección de Productos */
.product-grid-section { padding: 80px 0; background: var(--white); text-align: center; }
.grid-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 40px;
}
.p-item {
    background: var(--gris-light);
    padding: 25px 15px;
    border-radius: 12px;
    transition: var(--transition);
    border: 1px solid #eee;
}
.p-item:hover { background: var(--azul-primary); color: white; transform: translateY(-5px); }
.p-item i { font-size: 1.8rem; margin-bottom: 10px; color: var(--naranja-accent); }
.p-item:hover i { color: var(--verde-tech); }
.p-item p { font-weight: 700; font-size: 0.85rem; }

/* Ticker de Marcas (Efecto sutil) */
.brands-ticker {
    background: var(--azul-primary);
    color: white;
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 30px;
    border-radius: 50px;
    opacity: 0.8;
}

/* Redes Sociales y Contacto */
.contact-info { margin: 30px 0; display: flex; flex-direction: column; gap: 15px; align-items: center; }
.contact-link { color: white; text-decoration: none; font-weight: 600; transition: var(--transition); }
.contact-link:hover { color: var(--verde-tech); }
.social-links { font-size: 2rem; margin-top: 20px; }
.social-links a { color: white; margin: 0 15px; transition: var(--transition); display: inline-block; }
.social-links a:hover { color: var(--naranja-accent); transform: scale(1.2); }

.easter-egg { font-size: 0.7rem; opacity: 0.2; margin-top: 10px; display: block; }