:root {
    --primary: #0056b3;
    --accent: #00d1ff;
    --dark: #071e3d;
    --bg-light: #f8fafc;
    --glass: rgba(255, 255, 255, 0.85);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; background: white; color: var(--dark); overflow-x: hidden; }

/* Loader */
#loader { position: fixed; inset: 0; background: white; z-index: 10000; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.loader-logo-svg { width: 60px; animation: pulse 2s infinite; }
.progress-bar { width: 120px; height: 2px; background: #eee; margin-top: 20px; overflow: hidden; }
.progress { width: 0; height: 100%; background: var(--primary); }

/* --- Navbar Estilo Isla Flotante --- */
.navbar-wrapper {
    position: fixed;
    top: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 999;
}
.navbar-container {
    width: 90%;
    max-width: 1100px;
    background: var(--glass);
    backdrop-filter: blur(20px);
    padding: 0.8rem 2rem;
    border-radius: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.logo-container { display: flex; align-items: center; gap: 8px; }
.logo-svg { width: 32px; }
.logo-text { font-weight: 700; font-size: 1.1rem; }
.nav-links { display: flex; gap: 2rem; align-items: center; list-style: none; }
.nav-links a { text-decoration: none; color: var(--dark); font-size: 0.9rem; font-weight: 500; transition: 0.3s; }
.nav-links a:hover { color: var(--primary); }
.btn-cta-nav { 
    background: var(--primary); 
    color: white !important; 
    padding: 0.7rem 1.5rem !important; 
    border-radius: 50px; 
}

/* Hero */
.hero { 
    height: 100vh; 
    background-image: linear-gradient(to right, rgba(255,255,255,0.9), transparent), url('https://images.unsplash.com/photo-1629909613654-28e377c37b09?q=80&w=2000');
    background-size: cover; background-position: center;
    display: flex; align-items: center; padding: 0 10%;
}
.hero h1 { font-size: 4rem; font-weight: 700; opacity: 0; transform: translateY(30px); }
.highlight { color: var(--primary); }

/* Bento Cards Correctas */
.services { padding: 100px 10%; background: var(--bg-light); }
.grid-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); grid-auto-rows: 250px; gap: 25px; }
.card { 
    border-radius: 30px; position: relative; overflow: hidden;
    background-size: cover; background-position: center; background-repeat: no-repeat;
    display: flex; flex-direction: column; justify-content: flex-end; padding: 2rem;
    opacity: 0; transition: 0.5s;
}
.card::after { content:''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.7), transparent); }
.card-info { position: relative; z-index: 2; color: white; }
.card.tall { grid-row: span 2; }
.card.wide { grid-column: span 2; }
.card:hover { transform: scale(1.02); }

/* --- Láser Centrado --- */
.tech { padding: 100px 10%; background: white; }
.tech-content { display: flex; align-items: center; gap: 50px; flex-wrap: wrap; }
.scanner-container { position: relative; width: 100%; max-width: 500px; margin: 0 auto; overflow: hidden; border-radius: 20px; }
.scanner-img { width: 100%; display: block; }
.laser-beam { 
    position: absolute; top: 0; left: 0; width: 100%; height: 3px; 
    background: var(--accent); box-shadow: 0 0 15px var(--accent);
    animation: scan 3s infinite ease-in-out; z-index: 10;
}
@keyframes scan { 0%, 100% { transform: translateY(0); opacity: 0; } 50% { transform: translateY(400px); opacity: 1; } }

/* --- Formulario Premium --- */
.booking { padding: 100px 10%; background: radial-gradient(circle at top right, #0056b3, #071e3d); }
.booking-container { 
    max-width: 850px; margin: 0 auto; background: rgba(255,255,255,0.08); 
    padding: 4rem; border-radius: 40px; backdrop-filter: blur(25px);
    border: 1px solid rgba(255,255,255,0.1); opacity: 0;
}
.form-header { text-align: center; margin-bottom: 3rem; color: white; }
.modern-form { display: flex; flex-direction: column; gap: 1.5rem; }
.form-row { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.field-wrapper { flex: 1; min-width: 250px; display: flex; flex-direction: column; gap: 8px; }
.field-wrapper label { color: var(--accent); font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

.field-wrapper input, .field-wrapper select {
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
    padding: 1.1rem; border-radius: 15px; color: white; outline: none; transition: 0.3s;
}
.field-wrapper input:focus { border-color: var(--accent); background: rgba(255,255,255,0.15); }

/* Estilo para el select */
.select-box { position: relative; }
.select-box select { width: 100%; appearance: none; cursor: pointer; }
.select-box option { background: #071e3d; }

.btn-submit-booking { 
    margin-top: 1rem; padding: 1.2rem; border-radius: 15px; border: none;
    background: var(--accent); color: var(--dark); font-weight: 700;
    cursor: pointer; transition: 0.4s; font-size: 1rem;
}
.btn-submit-booking:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0, 209, 255, 0.4); }

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 2.5rem; }
    .form-row { flex-direction: column; }
}