:root {
    --main: #003366;
    --blue: #00a8e8;
    --dark: #0a0f18;
    --gray: #f8faff;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
body { color: var(--dark); overflow-x: hidden; scroll-behavior: smooth; background: white; }
.container { max-width: 1200px; margin: auto; padding: 0 25px; }
.narrow { max-width: 800px; }
.section { padding: 100px 0; }
.bg-light { background: var(--gray); }
.text-center { text-align: center; }

/* Navbar */
.navbar { 
    background: rgba(255, 255, 255, 0.95); 
    backdrop-filter: blur(10px);
    height: 85px; 
    display: flex; 
    align-items: center; 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    box-shadow: 0 2px 20px rgba(0,0,0,0.05); 
}
.nav-wrapper { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.6rem; font-weight: 800; color: var(--main); text-decoration: none; display: flex; align-items: center; gap: 10px; }
.logo span { color: var(--blue); }
.nav-menu { display: flex; list-style: none; align-items: center; }
.nav-menu li a { margin-left: 30px; text-decoration: none; color: var(--dark); font-weight: 600; font-size: 0.95rem; transition: var(--transition); }
.nav-menu li a:hover { color: var(--blue); }
.nav-cta { background: var(--main); color: white !important; padding: 10px 22px; border-radius: 50px; }
.nav-cta:hover { background: var(--blue); }

/* Hero */
.hero { height: 90vh; position: relative; overflow: hidden; display: flex; align-items: center; color: white; }
.hero-video { position: absolute; top: 50%; left: 50%; min-width: 100%; min-height: 100%; transform: translate(-50%, -50%); z-index: -2; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,0.1), rgba(0,0,0,0.0)); z-index: -1; }
.hero-tag { display: inline-block; background: var(--blue); padding: 4px 15px; border-radius: 50px; font-size: 0.75rem; text-transform: uppercase; font-weight: 800; letter-spacing: 1.5px; margin-bottom: 20px; }
.hero-content h1 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: clamp(2.5rem, 6vw, 4rem); line-height: 1.1; margin-bottom: 20px; }
.hero-content p { font-size: 1.2rem; opacity: 0.9; max-width: 600px; margin-bottom: 35px; }

/* Botones */
.btn-primary, .btn-secondary { display: inline-block; padding: 15px 35px; border-radius: 8px; font-weight: 700; text-decoration: none; transition: var(--transition); margin-right: 15px; cursor: pointer; }
.btn-primary { background: var(--blue); color: white; border: none; }
.btn-secondary { background: rgba(255,255,255,0.1); backdrop-filter: blur(5px); color: white; border: 1px solid rgba(255,255,255,0.3); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0, 168, 232, 0.3); }

/* Marcas */
.brands-strip { background: white; padding: 40px 0; border-bottom: 1px solid #eee; overflow: hidden; }
.brands-track { display: flex; animation: scroll 30s linear infinite; gap: 60px; width: max-content; }
.brands-track span { font-weight: 800; color: #cbd5e0; letter-spacing: 3px; font-size: 1.2rem; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Nosotros & Stats */
.tag { color: var(--blue); font-weight: 800; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 2px; margin-bottom: 10px; display: block; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 60px; align-items: center; }
.img-wrapper { border-radius: 30px; overflow: hidden; box-shadow: var(--shadow); }
.img-main { width: 100%; display: block; }
.stats-mini { display: flex; gap: 40px; margin-top: 30px; }
.stats-mini strong { display: block; font-size: 2rem; color: var(--main); }
.stats-mini span { color: #777; font-size: 0.9rem; }

/* Especialidades */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-card { background: white; padding: 50px 35px; border-radius: 20px; box-shadow: var(--shadow); transition: var(--transition); border: 1px solid transparent; }
.service-card h3 { margin-bottom: 15px; color: var(--main); }
.service-card:hover { transform: translateY(-10px); border-color: var(--blue); }
.icon-box { width: 70px; height: 70px; background: var(--gray); color: var(--blue); border-radius: 15px; display: grid; place-items: center; font-size: 2rem; margin-bottom: 25px; transition: var(--transition); }
.service-card:hover .icon-box { background: var(--blue); color: white; }

/* Galería */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }
.gallery-item { position: relative; border-radius: 20px; overflow: hidden; height: 400px; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.6s; }
.gallery-text { position: absolute; inset: 0; background: linear-gradient(transparent, rgba(0,51,102,0.9)); padding: 40px; display: flex; flex-direction: column; justify-content: flex-end; opacity: 0; transition: 0.4s; }
.gallery-text h3 { color: white; margin-bottom: 10px; }
.gallery-text a { color: var(--blue); text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.gallery-item:hover .gallery-text { opacity: 1; }
.gallery-item:hover img { transform: scale(1.1); }

/* Acordeón */
.acc-item { margin-bottom: 15px; background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,0.03); }
.acc-header { padding: 22px; cursor: pointer; font-weight: 700; color: var(--main); display: flex; justify-content: space-between; align-items: center; }
.acc-header i { transition: 0.3s; font-size: 0.8rem; }
.acc-content { max-height: 0; overflow: hidden; transition: 0.3s ease; background: white; }
.acc-content p { padding: 0 22px 22px; color: #555; line-height: 1.6; }
.acc-item.active-acc .acc-content { max-height: 200px; }
.acc-item.active-acc .acc-header i { transform: rotate(45deg); }

/* Contacto */
.c-info { margin-top: 20px; }
.info-item { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; font-size: 1.1rem; }
.info-item i { color: var(--blue); font-size: 1.3rem; }

/* WhatsApp & Footer */
.wa-btn { position: fixed; bottom: 30px; right: 30px; background: #25d366; color: white; width: 65px; height: 65px; border-radius: 50%; display: grid; place-items: center; font-size: 2.2rem; box-shadow: 0 10px 25px rgba(37,211,102,0.3); z-index: 1000; transition: 0.3s; text-decoration: none; }
.wa-btn:hover { transform: scale(1.1); }
.footer { background: var(--dark); color: white; padding: 60px 0; }
.socials { margin-top: 20px; }
.socials a { color: white; font-size: 1.5rem; margin: 0 10px; transition: 0.3s; }
.socials a:hover { color: var(--blue); }

/* Responsive */
@media (max-width: 768px) {
    .nav-menu { position: fixed; left: -100%; top: 85px; background: white; width: 100%; height: calc(100vh - 85px); flex-direction: column; padding-top: 50px; transition: 0.4s; box-shadow: 0 10px 10px rgba(0,0,0,0.05); }
    .nav-menu.active { left: 0; }
    .nav-menu li a { margin: 20px 0; font-size: 1.2rem; display: block; text-align: center; margin-left: 0; }
    .hamburger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; }
    .hamburger span { width: 28px; height: 3px; background: var(--main); border-radius: 5px; transition: 0.3s; }
    .hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* Animaciones */
.reveal, .reveal-up { opacity: 0; transform: translateY(30px); transition: 0.8s ease-out; }
.reveal.active-view, .reveal-up.active-view { opacity: 1; transform: translateY(0); }
.delay { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }