/* --- Base y Reset --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; background: #000 url('../images/tech-bg.webp') fixed center/cover; color: #fff; line-height: 1.6; }
section { background: rgba(0, 0, 0, 0.85); }

/* --- Header Sticky --- */
header { display: flex; justify-content: space-between; align-items: center; padding: 20px 50px; position: fixed; top: 0; width: 100%; z-index: 1000; background: rgba(0, 0, 0, 0.95); border-bottom: 1px solid #222; }
.logo a { font-size: 1.5rem; font-weight: bold; letter-spacing: 2px; text-transform: uppercase; color: #00ff9d; text-decoration: none; }

/* --- Navegación --- */
nav { display: flex; align-items: center; }
nav > a, .dropdown > a { color: #fff; margin-left: 25px; text-decoration: none; font-size: 0.9rem; cursor: pointer; }
.dropdown { position: relative; }
.dropdown-content { display: none; position: absolute; background: #111; min-width: 200px; top: 100%; right: 0; border: 1px solid #222; border-radius: 5px; padding: 10px 0; }
.dropdown:hover .dropdown-content { display: block; }
.dropdown-content a { display: block; padding: 10px 20px; color: #fff; text-decoration: none; font-size: 0.85rem; }
.dropdown-content a:hover { color: #00ff9d; }
.menu-toggle { display: none; font-size: 1.8rem; cursor: pointer; color: #00ff9d; }

/* --- Botones --- */
.btn-style { display: inline-block; padding: 12px 25px; background: #00ff9d; color: #000; text-decoration: none; font-weight: bold; border-radius: 5px; transition: 0.3s; text-align: center; }
.btn-style:hover { background: #fff; cursor: pointer; }

/* --- Elementos Flotantes --- */
.wa-float { position: fixed; bottom: 30px; right: 30px; background: #25d366; color: #fff; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; z-index: 9999; box-shadow: 0 4px 10px rgba(0,0,0,0.3); text-decoration: none; transition: 0.3s; }
.wa-float:hover { transform: scale(1.1); }
.wa-modal { display: none; position: fixed; bottom: 100px; right: 30px; width: 300px; background: #1e1e1e; border: 1px solid #00ff9d; padding: 20px; border-radius: 10px; z-index: 10000; box-shadow: 0 10px 20px rgba(0,0,0,0.5); }
.wa-modal textarea { width: 100%; height: 80px; background: #000; color: #fff; border: 1px solid #333; padding: 10px; margin-bottom: 10px; border-radius: 5px; display: block; }

/* --- Secciones --- */
.hero { height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; position: relative; overflow: hidden; margin-top: 70px; }
.hero video { position: absolute; width: 100%; height: 100%; object-fit: cover; opacity: 0.4; filter: brightness(0.6); }
.hero-content { position: relative; z-index: 2; padding: 20px; }
h1 { font-size: 4rem; margin-bottom: 10px; }
.section-title { text-align: center; font-size: 2rem; margin-bottom: 40px; color: #fff; }
.value-proposition { padding: 80px 40px; text-align: center; margin: 40px auto; max-width: 1000px; border: 2px solid #00ff9d; background: rgba(0, 0, 0, 0.7); border-radius: 8px; }
.section-container { padding: 80px 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; max-width: 1200px; margin: 0 auto; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }
.service-card { background: rgba(20, 20, 20, 0.8); padding: 40px; border: 1px solid #333; text-align: center; display: flex; flex-direction: column; }
.service-card h3 { margin: 15px 0; }
.service-card p { color: #aaa; margin-bottom: 20px; flex-grow: 1; }
.icon { font-size: 2.5rem; color: #00ff9d; margin-bottom: 15px; }
.final-cta { padding: 80px 20px; text-align: center; }

@media (max-width: 768px) {
    header { padding: 20px; }
    .menu-toggle { display: block; }
    nav { display: none; position: fixed; top: 70px; left: 0; width: 100%; background: #0a0a0a; padding: 30px; flex-direction: column; gap: 20px; z-index: 100; }
    nav.active { display: flex; }
}

/* ==========================================================================
   ESTILOS ADICIONALES PARA FORMULARIO MINIMALISTA Y SECCIÓN FOOTER
   ========================================================================== */
#dynamic-problem-form input,
#dynamic-problem-form select,
#dynamic-problem-form textarea {
    transition: border-color 0.3s, box-shadow 0.3s;
}

#dynamic-problem-form input:focus,
#dynamic-problem-form select:focus,
#dynamic-problem-form textarea:focus {
    outline: none;
    border-color: #00ff9d !important;
    box-shadow: 0 0 8px rgba(0, 255, 157, 0.3);
}

/* Ajustes del Footer Profesional */
.main-footer {
    background-color: #0a0a0a;
    padding: 30px 20px;
    border-top: 1px solid #222;
    font-size: 0.85rem;
    color: #666;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #00ff9d;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-links a {
        margin: 0 10px;
    }
}

