:root {
    --primary-navy: #0b192c;
    --secondary-navy: #1e293b;
    --accent-blue: #2563eb;
    --light-blue: #eff6ff;

    --primary-green: #15803d;
    --dark-green: #0f5128;
    --emerald: #10b981;
    --soft-green: #f0fdf4;

    --gray-light: #f8fafc;
    --gray-border: #e2e8f0;
    --text-main: #1e293b;
    --text-muted: #64748b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: var(--gray-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Top Bar */
.topbar {
    background-color: var(--primary-navy);
    color: #94a3b8;
    font-size: 0.85rem;
    padding: 0.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-info {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.topbar-info i {
    color: var(--emerald);
    margin-right: 5px;
}

/* Navigation Header */
header {
    background-color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary-navy);
    cursor: pointer;
    padding: 0.5rem;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.25rem;
    align-items: center;
}

nav a {
    color: var(--secondary-navy);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: -0.1px;
    transition: color 0.2s;
}

nav a:hover {
    color: var(--primary-green);
}

.btn-header {
    background-color: var(--primary-green);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(21, 128, 61, 0.2);
}

.btn-header:hover {
    background-color: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(21, 128, 61, 0.3);
}

/* ESTILOS BOTÓN FLOTANTE Y CHAT DE WHATSAPP */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    z-index: 9999;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Modal del Chat */
.whatsapp-chat-box {
    display: none;
    position: fixed;
    bottom: 95px;
    right: 25px;
    width: 320px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    overflow: hidden;
    border: 1px solid var(--gray-border);
}

.whatsapp-chat-box.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

.chat-header {
    background-color: #075e54;
    color: #ffffff;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-header-info i {
    font-size: 24px;
    color: #25d366;
}

.chat-body {
    padding: 1.25rem;
    background-color: #e5ddd5;
    min-height: 120px;
}

.chat-message {
    background-color: #ffffff;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text-main);
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.chat-footer {
    padding: 1rem;
    background-color: #ffffff;
    text-align: center;
}

.btn-start-chat {
    background-color: #25d366;
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.65rem 1rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
}

.btn-start-chat:hover {
    background-color: #128c7e;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Header - Estilo Original Ajustado */
@media screen and (max-width: 992px) {
    .topbar {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .topbar-info {
        justify-content: center;
        gap: 0.8rem;
    }

    .menu-toggle {
        display: block !important;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        padding: 1.5rem;
        z-index: 10000;
        border-top: 1px solid var(--gray-border);
    }

    nav.show-menu {
        display: block !important;
    }

    nav ul {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        align-items: flex-start;
    }

    nav ul li {
        width: 100%;
    }

    nav ul li a {
        display: block;
        font-size: 1rem;
        padding: 0.5rem 0;
        letter-spacing: -0.1px;
    }

    .btn-header {
        display: inline-block !important;
        width: 100% !important;
        text-align: center;
    }

    .whatsapp-chat-box {
        right: 15px;
        left: 15px;
        width: auto;
    }
}