:root {
    --primary-blue: #002d56; /* Azul Oscuro Institucional */
    --secondary-red: #d31212; /* Rojo Industrial */
    --accent-red: #ff3e3e;
    --pure-white: #ffffff;
    --bg-light: #f4f7f9;
    --text-dark: #222222;
    --text-muted: #555555;
    --border-color: #e1e8ed;
    --footer-bg: #001b34;
    --transition: all 0.3s ease-in-out;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', 'Montserrat', sans-serif;
    color: var(--text-dark);
    background-color: var(--pure-white);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Header & Navigation */
header {
    background: var(--pure-white);
    position: sticky;
    top: 0;
    z-index: 2000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

/* Los estilos de .header-top han sido eliminados */


.nav-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo img {
    height: 60px;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 10px 0;
    letter-spacing: 0.5px;
}

.nav-link:hover, .nav-item:hover > .nav-link {
    color: var(--secondary-red);
}

.nav-social {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 10px;
}

.nav-social a {
    color: var(--primary-blue);
    font-size: 1.1rem;
}

.nav-social a:hover {
    color: var(--secondary-red);
}


/* Dropdown */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: var(--shadow);
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    padding: 15px 0;
    border-top: 3px solid var(--secondary-red);
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    padding: 10px 25px;
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
}

.dropdown-item:hover {
    background: var(--bg-light);
    color: var(--secondary-red);
    padding-left: 30px;
}

/* Section Styling */
section {
    padding: 100px 0;
}

.section-head {
    text-align: center;
    margin-bottom: 70px;
}

.section-head h2 {
    font-size: 2.8rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 20px;
}

.section-head h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background: var(--secondary-red);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-red {
    background: var(--secondary-red);
    color: white;
}

.btn-red:hover {
    background: #b00e0e;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(211, 18, 18, 0.3);
}

.btn-outline {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: white;
}

/* WhatsApp */
.whatsapp-fixed {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 3000;
}

.whatsapp-fixed i {
    color: white;
    font-size: 35px;
}

.whatsapp-fixed:hover {
    transform: scale(1.1);
}

/* Mobile Toggle */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 1024px) {
    .menu-toggle {
        display: block;
        color: var(--primary-blue);
    }
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out, padding 0.3s ease;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        padding: 0;
    }
    .nav-links.active {
        max-height: 600px;
        padding: 20px 0;
    }
    .nav-item {
        width: 100%;
        text-align: center;
    }
    .nav-link {
        display: block;
        padding: 15px;
        border-bottom: 1px solid var(--border-color);
    }
    .nav-social {
        justify-content: center;
        margin-left: 0;
        padding: 15px 0;
    }
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--bg-light);
        max-height: 0;
        padding: 0;
        overflow: hidden;
    }
    .nav-item:hover .dropdown-menu {
        max-height: 500px;
        padding: 10px 0;
    }
}

/* Premium Animations & Effects */
.card-hover {
    transition: var(--transition);
}
.card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.gradient-overlay {
    background: linear-gradient(45deg, var(--primary-blue), var(--secondary-red));
    opacity: 0.1;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-red);
}
