/* =========================================
   VARIABLES GLOBALES Y RESET
   ========================================= */
   :root {
    --color-bg: #101010;
    --color-bg-light: #1E1E1E;
    --color-text-main: #F5F5F5;
    --color-text-muted: #A0A0A0;
    --color-accent: #C3A353;
    --color-whatsapp: #25D366; /* Verde oficial */
    --font-main: 'Outfit', sans-serif;
    --spacing-section: 120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: initial; }

body, a, button, .btn { cursor: none; }

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* =========================================
   PUNTERO PERSONALIZADO
   ========================================= */
.cursor-dot, .cursor-outline {
    position: fixed; top: 0; left: 0; transform: translate(-50%, -50%);
    border-radius: 50%; z-index: 9999; pointer-events: none;
}
.cursor-dot { width: 6px; height: 6px; background-color: var(--color-accent); }
.cursor-outline { width: 40px; height: 40px; border: 1px solid rgba(195, 163, 83, 0.5); }

@media (max-width: 768px) {
    .cursor-dot, .cursor-outline { display: none !important; }
    body, a, button, .btn { cursor: auto; }
}

/* =========================================
   CLASES GENERALES Y TIPOGRAFÍA
   ========================================= */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-padding { padding: var(--spacing-section) 0; }
.text-center { text-align: center; }
.bg-light { background-color: var(--color-bg-light); }

h1, h2, h3 { font-weight: 300; line-height: 1.2; }

/* NUEVA CLASE PARA TÍTULOS CON MÁS PESO */
.bold-title {
    font-weight: 500 !important;
}

.section-title { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 2rem; }
.section-text { font-size: clamp(1.2rem, 2vw, 1.5rem); color: var(--color-text-muted); max-width: 800px; margin-bottom: 1.5rem; font-weight: 300; }

/* =========================================
   BOTONES
   ========================================= */
.btn {
    display: inline-block; padding: 16px 32px; border-radius: 30px;
    text-decoration: none; font-size: 1rem; font-weight: 500; transition: all 0.3s ease;
}
.btn-primary {
    background-color: var(--color-accent); color: var(--color-bg);
    border: 1px solid var(--color-accent);
}
.btn-primary:hover { background-color: transparent; color: var(--color-accent); }

.btn-secondary { background-color: transparent; color: var(--color-text-main); border: 1px solid var(--color-text-muted); }
.btn-secondary:hover { border-color: var(--color-accent); color: var(--color-accent); }

/* =========================================
   NAVEGACIÓN (CABECERA COMO CAJA)
   ========================================= */
.navbar {
    position: fixed; top: 0; width: 100%; padding: 16px 24px;
    z-index: 100;
    background: rgba(16, 16, 16, 0.7);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.nav-container {
    max-width: 1200px; /* Hace que no toque los bordes de la pantalla */
    margin: 0 auto; display: flex; justify-content: space-between; align-items: center;
}
.logo img {
    height: 35px; /* Ajusta según cómo se vea tu logotipo real */
    width: auto; object-fit: contain;
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-link { color: var(--color-text-main); text-decoration: none; font-size: 1rem; font-weight: 300; transition: color 0.3s; }
.nav-link:hover { color: var(--color-accent); }

/* Botón Contacto en Navegación */
.btn-nav {
    display: inline-block; padding: 10px 24px; border-radius: 30px;
    background-color: var(--color-accent); color: var(--color-bg);
    text-decoration: none; font-weight: 500; font-size: 1rem;
    border: 1px solid var(--color-accent); transition: all 0.3s ease;
}
.btn-nav:hover {
    background-color: transparent; color: var(--color-accent);
}

/* Menú Hamburguesa */
.hamburger {
    display: none; flex-direction: column; gap: 6px; cursor: pointer; z-index: 1001;
}
.hamburger span {
    display: block; width: 30px; height: 2px; background-color: var(--color-accent);
    transition: all 0.3s ease;
}
/* Menú Móvil Fullscreen */
.mobile-menu {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: rgba(16, 16, 16, 0.95); backdrop-filter: blur(15px);
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    gap: 24px; z-index: 1000;
    opacity: 0; visibility: hidden; transition: all 0.4s ease;
}
.mobile-menu.active { opacity: 1; visibility: visible; }
.mobile-link { font-size: 2rem; color: var(--color-text-main); text-decoration: none; font-weight: 400; transition: color 0.3s; }
.mobile-link:hover { color: var(--color-accent); }

/* Animación Hamburguesa a X */
.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); }

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
}

/* =========================================
   SECCIONES Y SOLUCIONES
   ========================================= */
.hero { position: relative; height: 100vh; width: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(16, 16, 16, 0.7); z-index: -1; }
.hero-content { text-align: center; max-width: 900px; padding: 0 24px; padding-top: 80px;}
.hero-subtitle { display: block; font-size: 1rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 20px; color: var(--color-accent); }
.hero-title { font-size: clamp(2.5rem, 5vw, 4.5rem); margin-bottom: 20px; }
.hero-text { font-size: 1.2rem; margin-bottom: 40px; color: var(--color-text-muted); font-weight: 300; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.grid-beneficios { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.card-beneficio { background-color: var(--color-bg-light); padding: 40px 32px; border-radius: 16px; transition: transform 0.3s ease, background-color 0.3s ease; border: 1px solid rgba(255,255,255,0.03); }
.card-beneficio:hover { transform: translateY(-5px); background-color: #242424; border-color: rgba(195, 163, 83, 0.2); }
.card-beneficio h3 { font-size: 1.2rem; margin-bottom: 16px; font-weight: 500; color: var(--color-accent); }
.card-beneficio p { color: var(--color-text-muted); font-size: 0.95rem; font-weight: 300; }

.soluciones { display: flex; flex-direction: column; }
.solucion-item { display: flex; height: 80vh; }
.solucion-item.reverse { flex-direction: row-reverse; }
.solucion-img { flex: 1; background-size: cover; background-position: center; }
.solucion-text { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 10%; background-color: var(--color-bg); }
.solucion-text h2 { font-size: 3rem; margin-bottom: 8px; }
.solucion-text span { font-size: 1rem; color: var(--color-accent); margin-bottom: 24px; text-transform: uppercase; letter-spacing: 1px; }
.solucion-text p { font-size: 1.5rem; color: var(--color-text-muted); font-weight: 300; }

@media (max-width: 768px) {
    .solucion-item, .solucion-item.reverse { flex-direction: column; height: auto; }
    .solucion-img { height: 50vh; width: 100%; }
    .solucion-text { padding: 40px 24px; }
}

.video-instalacion { width: 100%; padding: 120px; }
.video-container { border-radius: 24px; overflow: hidden; height: 70vh; }
.video-container video { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }

.lista-minimalista { list-style: none; max-width: 600px; margin: 0 auto; }
.lista-minimalista li { font-size: 1.5rem; font-weight: 300; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,0.05); display: flex; align-items: center; }
.lista-minimalista li::before { content: "•"; color: var(--color-accent); margin-right: 16px; }

.cta { position: relative; padding: 150px 0; background-size: cover; background-position: center; background-attachment: fixed; text-align: center; }
.cta-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(16, 16, 16, 0.85); }
.cta-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.cta h2 { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 24px; }
.cta p { font-size: 1.2rem; margin-bottom: 40px; color: var(--color-text-muted); font-weight: 300; }

.footer { padding: 80px 0 40px; background-color: var(--color-bg); border-top: 1px solid rgba(255,255,255,0.05); }
.footer-content { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.footer-phrase { color: var(--color-text-muted); font-weight: 300; }
.footer-links { display: flex; gap: 32px; margin-top: 24px; }
.footer-links a { color: var(--color-text-muted); text-decoration: none; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; transition: color 0.3s; }
.footer-links a:hover { color: var(--color-accent); }

/* =========================================
   CALCULADORA DE INVERSIÓN
   ========================================= */
.calculadora { background-color: var(--color-bg); }
.calc-card {
    max-width: 600px; 
    margin: 0 auto;
    background-color: var(--color-bg-light); /* Fondo oscuro secundario */
    padding: 40px; 
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05); /* Borde súper sutil */
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.input-group { margin-bottom: 24px; text-align: left; }
.input-group label {
    display: block; margin-bottom: 8px;
    color: var(--color-text-muted); font-size: 0.9rem; font-weight: 300;
}
.input-group input, .input-group select {
    width: 100%; padding: 15px; border-radius: 10px;
    background-color: var(--color-bg); color: var(--color-text-main);
    border: 1px solid rgba(255,255,255,0.1); font-family: var(--font-main);
    font-size: 1rem; outline: none; transition: border-color 0.3s;
    -webkit-appearance: none; /* Limpia el diseño en móviles */
}
.input-group input:focus, .input-group select:focus { 
    border-color: var(--color-accent); /* Brilla en dorado al seleccionar */
}
.calc-resultado {
    margin-top: 32px; padding-top: 32px; 
    border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center; 
    display: none; /* JS se encarga de mostrarlo */
}
.calc-resultado h3 { color: var(--color-text-muted); font-size: 1rem; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1px;}
.precio-rango { font-size: 2.5rem; color: var(--color-accent); font-weight: 500; margin-bottom: 10px; }
.nota { font-size: 0.8rem; color: var(--color-text-muted); font-weight: 300; }

/* =========================================
   BOTONES FLOTANTES (WhatsApp y Scroll Up)
   ========================================= */
.float-btn {
    position: fixed; bottom: 30px; width: 60px; height: 60px;
    border-radius: 50%; display: flex; justify-content: center; align-items: center;
    z-index: 99; box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    transition: transform 0.3s ease, background-color 0.3s ease, opacity 0.5s ease, visibility 0.5s ease;
}
.float-btn:hover { transform: scale(1.1); }

/* WhatsApp (Izquierda) */
.float-wa { left: 30px; background-color: var(--color-whatsapp); }

/* Scroll Up (Derecha) */
.float-up {
    right: 30px; background-color: var(--color-accent); color: var(--color-bg);
    opacity: 0; visibility: hidden; /* Oculto al inicio */
}
.float-up.visible { opacity: 1; visibility: visible; }