/* --- Variables de Color (Esencia Gaming/Premium) --- */
:root {
    --bg-dark: #000000;    /* Negro absoluto (Samsung Premium) */
    --bg-card: #0a0a0a;    /* Negro muy suave para tarjetas */
    --text-main: #ffffff;  /* Texto blanco puro */
    --text-muted: #888888; /* Texto secundario gris */
    
    /* Colores RGB/Neon (Acentos) */
    --cyan-neon: #00ffff;
    --magenta-neon: #ff00ff;
    --blue-gaming: #007bff;
    
    --ff-inter: 'Inter', sans-serif;
}

/* --- Resets Básicos --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--ff-inter);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Efectos Globales --- */
.rgb-text {
    background: linear-gradient(90deg, var(--cyan-neon), var(--magenta-neon));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* --- Barra de Navegación (Modificada) --- */
.navbar {
    height: 80px;
    display: flex;
    align-items: center;
    position: absolute; /* CAMBIADO: de fixed a absolute */
    top: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: 0.3s;
}

.nav-links a:hover {
    color: white;
}

/* --- Hero Section (Tipo Lanzamiento de Producto) --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 80px; /* offset navbar */
}

.hero-title {
    font-size: 5rem; /* Muy grande estilo Samsung */
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -3px;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px auto;
    font-weight: 300;
}

.hero-btns {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Botones con toque Gaming */
.btn-primary, .btn-secondary {
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s;
}

.btn-primary {
    background-color: white;
    color: black;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

/* Botón Gaming RGB al hover */
.gaming-btn {
    position: relative;
    z-index: 1;
}

.gaming-btn:hover {
    background: black;
    color: white;
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
}

.btn-secondary:hover {
    border-color: white;
}

/* Efecto de luz de fondo (Brillo RGB suave) */
.hero-bg-effect {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,255,255,0.1) 0%, rgba(10,10,10,0) 70%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(50px);
}

/* --- Sección Servicios (Tarjetas RGB) --- */
.services { padding: 100px 0; }

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: -1px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-card);
    padding: 50px 40px;
    border-radius: 20px;
    transition: 0.3s;
    position: relative;
}

/* Borde Neón suave por defecto */
.rgb-border {
    border: 1px solid rgba(0, 255, 255, 0.1);
}

/* Brillo RGB al hover */
.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--cyan-neon);
    box-shadow: 0 10px 40px rgba(0, 255, 255, 0.15);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--cyan-neon);
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 300;
}

/* --- Sección Laboratorio (Look Samsung/Premium) --- */
.lab {
    padding: 100px 0;
    display: flex;
    align-items: center;
    gap: 50px;
}

.lab-content, .lab-image-container {
    flex: 1;
}

.lab .section-title { text-align: left; }

.lab-content p {
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 30px;
}

.lab-specs {
    list-style: none;
    color: var(--text-main);
    font-size: 0.95rem;
}

.lab-specs li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.lab-specs li i { color: var(--blue-gaming); }

.lab-img {
    width: 100%;
    border-radius: 20px;
    /* Efecto de borde premium */
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- Footer --- */
footer {
    padding: 50px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background-color: var(--bg-card);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.social-links {
    display: flex;
    gap: 20px;
    font-size: 1.2rem;
}

.social-links a {
    color: var(--text-muted);
    transition: 0.3s;
}

.social-links a:hover { color: var(--cyan-neon); }

/* --- Botón WhatsApp Flotante --- */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    color: white;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    z-index: 1001;
    transition: 0.3s;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

/* --- Responsive (Celulares) --- */
@media (max-width: 768px) {
    .hero-title { font-size: 3rem; letter-spacing: -1px; }
    .nav-links { display: none; } /* Ocultar links en móvil por ahora */
    .lab { flex-direction: column-reverse; text-align: center; }
    .lab .section-title { text-align: center; }
    .hero-bg-effect { width: 300px; height: 300px; }
}

/* Ajuste para que las fotos parezcan pantallas de celular en la galería */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 25px;
}

.gallery-item {
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 20px; /* Bordes redondeados estilo Samsung S24 */
    overflow: hidden;
    background: #000;
    aspect-ratio: 9 / 16; /* Formato vertical de celular */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.alerta-cotizacion {
    margin-top: 25px;
    padding: 15px;
    background: rgba(255, 166, 0, 0.05); /* Fondo naranja muy sutil */
    border: 1px solid rgba(255, 166, 0, 0.3);
    border-radius: 12px;
    text-align: left;
}

.alerta-header {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffa600; /* Naranja neón */
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.alerta-cotizacion p {
    font-size: 0.7rem;
    line-height: 1.5;
    color: #cccccc;
    margin: 0;
}

.alerta-cotizacion strong {
    color: #ffa600;
}
.contacto-wrapper {
    display: flex;
    gap: 20px;
    flex-wrap: wrap; /* Para que en celular se pongan uno abajo de otro */
}

.mapa-container {
    flex: 2; /* El mapa es más ancho */
    min-width: 300px;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.info-card {
    flex: 1; /* La tarjeta es más angosta */
    min-width: 280px;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(0, 255, 255, 0.1);
}

.info-card h3 {
    color: var(--cyan-neon);
    margin-bottom: 25px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    color: #fff;
    font-size: 0.9rem;
}

.info-item i {
    color: var(--cyan-neon);
    font-size: 1.1rem;
    margin-top: 3px;
}

.info-item strong {
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .mapa-container { height: 300px; }
}