:root {
    --primary: #12a9e0;
    --primary-dark: #233040;
    --secondary: #12a9e0;
    --accent: #f59e0b;
    --gold: #ffd700;
    --dark: #233040;
    --light: #f8fafc;
    --white: #ffffff;
    --gray: #64748b;
    --dark-gray: #213041;
    --gradient: var(--primary);
}

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

body {
    font-family: 'Poppins', sans-serif;
    background: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

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

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

.nav-links a {
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Tooltip para Shipit */
.nav-link-shipit {
    position: relative;
}
.nav-link-shipit::after {
    content: attr(title);
    position: absolute;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    z-index: 1000;
}
.nav-link-shipit:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: -50px;
}

/* Shipit - diferente sección */
.nav-links a.nav-link-shipit {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white !important;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.nav-links a.nav-link-shipit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.nav-links a.nav-link-shipit.active-brand {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.5) !important;
}

.btn-nav {
    background: var(--gradient);
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(37, 99, 235, 0.4);
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    gap: 10px;
    min-width: fit-content;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #0891b2 100%);
    color: white;
    box-shadow: 0 8px 20px rgba(18, 169, 224, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(18, 169, 224, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Títulos de sección */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 15px;
    color: var(--dark);
    letter-spacing: -1px;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

/* Services - Genérico */
.services {
    padding: 100px 0;
    background: white;
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(18, 169, 224, 0.25);
    border-color: var(--primary);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: #dbeafe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: var(--primary);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: white;
    transform: rotate(-15deg) scale(1.15);
    box-shadow: 0 15px 40px rgba(18, 169, 224, 0.4);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.service-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* CTA Section - Genérico */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, #0891b2 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section h2 {
    font-size: 2.8rem;
    color: white;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.cta-section .btn {
    background: white;
    color: var(--primary);
    position: relative;
    z-index: 1;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.cta-section .btn:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-4px);
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    text-align: center;
    margin-bottom: 40px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-logo i {
    color: var(--primary);
}

.footer p {
    color: var(--gray);
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.9rem;
    color: var(--gray);
}

/* Media Queries */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 12px 0;
    }
    
    .navbar .container {
        padding: 12px 15px;
    }
    
    .logo-img {
        height: 50px;
    }
    
    .nav-links {
        position: fixed;
        top: 74px;
        left: 0;
        right: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px 15px;
        gap: 15px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        display: none;
        z-index: 999;
        margin: 0;
        max-height: calc(100vh - 74px);
        overflow-y: auto;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .services {
        padding: 60px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 25px 20px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
    }
    
    .cta-section p {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    .cta-section .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        padding: 0 10px;
    }
    
    .service-card {
        padding: 20px 15px;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .cta-section h2 {
        font-size: 1.5rem;
    }
    
    .logo-img {
        height: 40px;
    }
}