:root {
    --primary: #00d4ff;
    --bg-dark: #05070a;
    --bg-surface: #0d1117;
    --text-main: #ffffff;
    --text-dim: #94a3b8;
    --border: rgba(255, 255, 255, 0.08);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* RESET */
* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; list-style: none; text-decoration: none; }
body { font-family: 'Plus Jakarta Sans', sans-serif; background-color: var(--bg-dark); color: var(--text-main); overflow-x: hidden; }

/* NAVBAR */
.navbar {
    display: flex; justify-content: center; align-items: center;
    height: 70px; background: rgba(5, 7, 10, 0.9);
    position: fixed; width: 100%; top: 0; z-index: 2000; 
    backdrop-filter: blur(15px); border-bottom: 1px solid var(--border);
}
.nav-container { width: 90%; max-width: 1400px; display: flex; justify-content: space-between; align-items: center; }
.nav-brand { font-size: 1.4rem; font-weight: 800; color: #fff; letter-spacing: -1px; }

.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { font-weight: 600; font-size: 0.85rem; color: var(--text-main); transition: 0.3s; }
.nav-links a:hover { color: var(--primary); }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-content {
    display: none; position: absolute; background: var(--bg-surface);
    top: 100%; left: 0; min-width: 180px; border-radius: 10px;
    border: 1px solid var(--border); padding: 8px 0; box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.dropdown-content li a { padding: 10px 18px; display: block; font-size: 0.8rem; }
.dropdown:hover .dropdown-content { display: block; animation: fadeIn 0.3s ease; }

.nav-cta { background: var(--primary); color: #000 !important; padding: 8px 18px; border-radius: 6px; font-weight: 700 !important; }

/* HAMBURGUESA */
.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.bar { width: 24px; height: 2px; background: white; border-radius: 2px; transition: 0.3s; }

/* HERO SECTION - LOGO AJUSTADO (50% más grande que el anterior) */
.hero-section {
    min-height: 100vh; padding-top: 70px;
    display: flex; align-items: center; justify-content: center;
    background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=2000') no-repeat center center/cover;
    position: relative;
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(5,7,10,0.98) 35%, rgba(5,7,10,0.5) 100%); }

.hero-content {
    position: relative; z-index: 5; width: 90%; max-width: 1200px;
    display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 60px;
}

.hero-logo-img { 
    flex: 0 0 420px; /* Aumentado un 50% de los 280px anteriores */
    height: 420px; 
    border-radius: 40px; 
    filter: drop-shadow(0 15px 30px rgba(0, 212, 255, 0.2));
    display: flex; align-items: center; justify-content: center;
}
.hero-logo-img img { max-width: 100%; max-height: 100%; object-fit: contain; }

.hero-text-side { flex: 1; text-align: left; }
.hero-text-side h2 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.05; margin: 15px 0; letter-spacing: -2px; }
.cyan-text { color: var(--primary); }
.hero-text-side p { max-width: 500px; margin-bottom: 30px; color: var(--text-dim); font-size: 1.1rem; line-height: 1.6; }

.badge { background: rgba(0, 212, 255, 0.1); color: var(--primary); padding: 6px 14px; border-radius: 50px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; }
.btn-primary { background: var(--primary); color: #000; padding: 14px 32px; border-radius: 10px; font-weight: 700; transition: 0.3s; display: inline-block; }

/* SERVICIOS */
.service-block { display: flex; padding: 100px 10%; gap: 80px; align-items: center; }
.service-block.reverse { flex-direction: row-reverse; background: rgba(255,255,255,0.01); }
.block-text { flex: 1; }
.s-num { color: var(--primary); font-weight: 800; font-size: 1.3rem; opacity: 0.4; }
.block-text h3 { font-size: clamp(2.2rem, 4vw, 3rem); margin: 12px 0; }
.block-img { flex: 1.2; min-height: 400px; border-radius: 35px; background-size: cover; background-position: center; border: 1px solid var(--border); }

/* NOSOTROS */
.nosotros-section { padding: 120px 10%; text-align: center; }
.section-header h2 { font-size: 2.8rem; margin-bottom: 50px; }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.about-card { background: var(--bg-surface); padding: 50px 40px; border-radius: 24px; border: 1px solid var(--border); text-align: left; transition: 0.3s; }
.about-card:hover { border-color: var(--primary); transform: translateY(-8px); }
.icon-box { font-size: 3rem; margin-bottom: 25px; }

/* FOOTER */
footer { padding: 80px 10% 40px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 50px; }
.f-bottom { text-align: center; margin-top: 60px; padding-top: 30px; border-top: 1px solid var(--border); color: var(--text-dim); font-size: 0.85rem; }

/* PANTALLA DE BLOQUEO - LOGO AJUSTADO (50% más grande) */
#countdown-screen { position: fixed; inset: 0; background: radial-gradient(circle at center, #0a192f 0%, #05070a 100%); z-index: 5000; transition: opacity 1s ease; }
.lock-content { text-align: center; width: 95%; max-width: 800px; margin: auto; display: flex; flex-direction: column; align-items: center; }

.lock-logo-img { 
    width: 210px; /* Aumentado un 50% de los 140px anteriores */
    height: 210px; 
    border-radius: 35px; 
    margin-bottom: 30px; 
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.25));
}
.lock-logo-img img { max-width: 100%; object-fit: contain; }

.status-msg { letter-spacing: 5px; font-size: 0.9rem; color: var(--text-dim); margin-bottom: 25px; }
#timer { display: flex; gap: 15px; margin-bottom: 40px; }
.t-box { background: rgba(255, 255, 255, 0.02); padding: 20px; border-radius: 15px; border: 1px solid var(--border); min-width: 90px; }
.t-box span { font-size: 2rem; font-weight: 800; color: var(--primary); display: block; }
.t-box label { font-size: 0.7rem; text-transform: uppercase; color: var(--text-dim); margin-top: 5px; }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .menu-toggle { display: flex; }
    .hero-content { flex-direction: column; text-align: center; gap: 40px; }
    .hero-text-side { display: flex; flex-direction: column; align-items: center; }
    .hero-logo-img { flex: 0 0 270px; width: 270px; height: 270px; } /* Proporción 50% más grande en tablet */
    
    .nav-links {
        position: fixed; right: -100%; top: 70px; height: calc(100vh - 70px);
        width: 85%; max-width: 400px; background: var(--bg-surface); flex-direction: column;
        padding: 50px 20px; transition: 0.4s;
    }
    .nav-links.active { right: 0; }
}

@media (max-width: 768px) {
    .hero-logo-img { flex: 0 0 210px; width: 210px; height: 210px; } /* Proporción 50% más grande en móvil */
    .hero-text-side h2 { font-size: 2.2rem; }
    .service-block, .service-block.reverse { flex-direction: column; text-align: center; padding: 60px 5%; }
    .block-img { min-height: 280px; width: 100%; }
    .lock-logo-img { width: 165px; height: 165px; }
}

/* ANIMACIONES */
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.hidden { display: none !important; }
.hidden-msg { display: none !important; }

.section-header .escenciaForty {
    max-width: 50%;
    margin: 0 auto 40px auto; /* Centra horizontalmente y da espacio abajo */
    display: block;           /* Asegura que el margen auto funcione */
}

