:root {
    --primary: #00E5FF;
    --secondary: #00D26A;
    --dark-blue: #001a33;
    --section-blue: #0E3563;
    --dark: #1a1a1a;
    --light: #f0f7ff;
    --white: #ffffff;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: "Inter", "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.5;
    color: var(--dark);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* === BARRA DE NAVEGACIÓN === */
nav.custom-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 1200px;
    background: rgba(0, 26, 51, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 50px;
    padding: 8px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 15px 35px rgba(0, 26, 51, 0.2);
    z-index: 10000;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-capsule {
    background-color: var(--white);
    border-radius: 50px;
    padding: 5px 15px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nav-logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 26, 51, 0.98);
        padding: 20px;
        border-radius: 0 0 25px 25px;
        margin: 8px 4% 0;
        gap: 0;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    }

    .nav-links.is-open {
        display: flex;
    }

    .nav-links>a,
    .dropdown-toggle {
        padding: 14px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .dropdown-content {
        left: 0;
        transform: none;
        margin-top: 8px;
    }

    .btn-cotizar {
        margin-left: 0;
        margin-top: 10px;
    }
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
}

@media (max-width: 900px) {
    .nav-toggle {
        display: block;
    }
}

.nav-links>a,
.dropdown-toggle {
    color: white;
    font-weight: 600;
    font-size: 14px;
    position: relative;
    text-shadow: 0 1px 4px rgba(0, 26, 51, 0.6);
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    padding: 10px 0;
}

.nav-links>a:hover,
.dropdown-toggle:hover {
    color: var(--primary);
}

.nav-links>a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary);
    transition: width 0.3s;
}

.nav-links>a:hover::after {
    width: 100%;
}

/* === ESTILOS DEL DROPDOWN === */
.dropdown {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    min-width: 260px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 10px 0;
    z-index: 10001;
    text-align: left;
    margin-top: 12px;
}

.dropdown-content.show {
    display: block;
    animation: fadeInUp 0.2s ease-out forwards;
}

.dropdown-content::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background-color: #ffffff;
    border-left: 1px solid rgba(0, 0, 0, 0.08);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    z-index: -1;
}

.dropdown-content a {
    color: #333 !important;
    padding: 14px 25px;
    display: block;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
    text-shadow: none !important;
    font-weight: 500;
    transition: all 0.2s;
    text-align: left;
    white-space: nowrap;
    text-decoration: none;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: #f5f9ff;
    color: var(--secondary) !important;
    padding-left: 30px;
}

/* === BOTÓN COTIZAR === */
.btn-cotizar {
    background: var(--primary) !important;
    color: var(--dark-blue) !important;
    border: none !important;
    padding: 12px 90px !important;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 229, 255, 0.3);
    margin-left: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.btn-cotizar:hover {
    background: white !important;
    color: var(--primary) !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 229, 255, 0.5);
}

/* === ICONOS DE REDES SOCIALES === */
.social-icons {
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(0, 229, 255, 0.15);
    color: var(--primary);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 229, 255, 0.3);
}

.social-icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

.social-icon:hover {
    background-color: var(--primary);
    color: var(--dark-blue);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 229, 255, 0.4);
    border-color: var(--primary);
}