:root {
    --bg-dark: #0a0f1a;
    --primary-cyan: #00d1ff;
    --text-muted: #94a3b8;
}

body { background-color: var(--bg-dark); color: white; font-family: 'Inter', sans-serif; line-height: 1.6; }

/* TOP BAR CONTACTO */
.top-bar { background: #070b14; border-bottom: 1px solid #1e293b; padding: 10px 0; font-size: 0.85rem; }

/* NAVBAR & LOGO */
.navbar { background: rgba(10, 15, 26, 0.95); border-bottom: 1px solid #1e293b; padding: 15px 0; backdrop-filter: blur(10px); }
.navbar-brand { font-weight: 800; font-size: 1.6rem; letter-spacing: 1px; color: white !important; }

/* HERO SECTION */
.hero-premium {
    padding: 100px 0;
    background: linear-gradient(rgba(10, 15, 26, 0.3), rgba(10, 15, 26, 0.85)), url('/static/hero-bg.jpg');
    background-size: cover; background-position: center; text-align: center;
}
.hero-title { font-size: 3.8rem; font-weight: 900; color: var(--primary-cyan); text-transform: uppercase; margin-bottom: 20px; }

/* BOTONES OVALADOS HERO */
.btn-oval {
    border: 1px solid var(--primary-cyan); background: rgba(22, 30, 46, 0.6);
    padding: 12px 30px; border-radius: 50px; color: white; transition: 0.3s;
    display: inline-flex; align-items: center; gap: 10px; cursor: pointer; text-decoration: none;
}
.btn-oval:hover { background: var(--primary-cyan); color: black; transform: translateY(-3px); }

/* TARJETAS DE SERVICIOS */
.card-service {
    background: #161e2e; border: 1px solid #1e293b; border-radius: 20px;
    padding: 40px 30px; transition: 0.4s; height: 100%; cursor: pointer;
}
.card-service:hover { border-color: var(--primary-cyan); transform: translateY(-10px); background: #1c263b; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }

/* FOOTER EXTENDIDO */
.footer-main { background: #070b14; border-top: 2px solid #1e293b; padding: 60px 0 30px; }
.footer-main h5 { font-weight: 700; color: white; margin-bottom: 25px; font-size: 1rem; }
.footer-main ul { list-style: none; padding: 0; }
.footer-main a { color: var(--text-muted); text-decoration: none; transition: 0.3s; }
.footer-main a:hover { color: var(--primary-cyan); }
/* Estilo para los modales */
.modal-content {
    background: #161e2e !important; /* El mismo fondo de tus tarjetas */
    border-radius: 20px;
    border: 1px solid #1e293b;
}

.modal-header {
    border-bottom: 1px solid #1e293b;
}

.modal-title {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}
/* BOTÓN FLOTANTE WHATSAPP */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366; /* Color oficial de WhatsApp */
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.5);
    z-index: 1000; /* Para que esté por encima de todo */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1) translateY(-5px);
    color: white;
}

/* Ajuste para móviles */
@media screen and (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
}
/* WIDGET CHAT WHATSAPP */
.whatsapp-widget { position: fixed; bottom: 30px; right: 30px; z-index: 9999; font-family: 'Inter', sans-serif; }

.chat-trigger {
    width: 60px; height: 60px; background: #25d366; color: white; border: none;
    border-radius: 50%; font-size: 30px; cursor: pointer; box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: 0.3s;
}

.chat-window {
    width: 320px; background: #161e2e; border: 1px solid #1e293b; border-radius: 20px;
    position: absolute; bottom: 80px; right: 0; display: none; flex-direction: column;
    overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.chat-header {
    background: #070b14; padding: 15px; display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid #1e293b;
}

.user-info { display: flex; align-items: center; gap: 10px; }
.user-avatar { width: 35px; height: 35px; border-radius: 50%; background: var(--primary-cyan); }
.user-name { margin: 0; font-size: 0.9rem; font-weight: 700; color: white; }
.user-status { margin: 0; font-size: 0.75rem; color: #25d366; }

.chat-body { padding: 20px; background: #0a0f1a; }
.chat-msg { background: #1e293b; color: white; padding: 10px 15px; border-radius: 15px 15px 15px 0; font-size: 0.85rem; margin: 0; }

.chat-footer { padding: 15px; background: #161e2e; text-align: center; }
.btn-send-wa {
    background: #25d366; color: white; text-decoration: none; padding: 10px 20px;
    border-radius: 50px; font-size: 0.9rem; display: block; font-weight: 600; transition: 0.3s;
}
.btn-send-wa:hover { background: #128c7e; color: white; }

.close-chat { background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }
/* WIDGET DE WHATSAPP PROFESIONAL */
:root {
    --wa-green: #25d366;
    --wa-dark-green: #128c7e;
}

.wa-widget-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

/* Botón flotante */
.wa-button {
    width: 60px;
    height: 60px;
    background-color: var(--wa-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    transition: transform 0.3s ease;
    border: none;
}

.wa-button:hover { transform: scale(1.1); }

/* Ventana de Chat */
.wa-chat-window {
    display: none; /* Importante: se activa con JS */
    flex-direction: column;
    width: 320px;
    background: #161e2e; /* El fondo de tus tarjetas */
    border: 1px solid #1e293b;
    border-radius: 20px;
    position: absolute;
    bottom: 80px;
    right: 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.wa-header {
    background: #070b14; /* El fondo de tu top-bar */
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #1e293b;
}

.wa-user-info { display: flex; align-items: center; gap: 12px; }
.wa-avatar {
    width: 35px;
    height: 35px;
    background: var(--primary-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #000;
}

.wa-user-name { font-weight: 700; color: white; font-size: 0.9rem; margin: 0; }
.wa-status { color: var(--wa-green); font-size: 0.75rem; margin: 0; }

.wa-close { background: none; border: none; color: #94a3b8; font-size: 1.5rem; cursor: pointer; }

.wa-body { padding: 20px; background: #0a0f1a; }
.wa-msg {
    background: #1e293b;
    color: white;
    padding: 12px;
    border-radius: 15px 15px 15px 0;
    font-size: 0.85rem;
    margin: 0;
}

.wa-footer { padding: 15px; background: #161e2e; }
.wa-btn-send {
    background: var(--wa-green);
    color: white !important;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border-radius: 50px;
    font-weight: 600;
}
