/* Reset and Base Styles */
* {
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
    background: rgba(13, 46, 89, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: 0 8px 32px rgba(13, 46, 89, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar {
    padding: 1rem 0;
}

.container-menu {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Logo Brand - Elegante */
.nav-brand {
    display: flex;
    align-items: center;
    z-index: 10;
    position: relative;
}

.nav-brand img {
    width: 50px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-brand img:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
}

/* Navigation Menu - Súper Elegante */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.75rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 4px 16px rgba(0, 0, 0, 0.1);
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 25px;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.nav-link:hover {
    color: #1a6bb8;
    transform: translateY(-2px);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-link:hover::before {
    opacity: 1;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

.nav-link.active {
    background: linear-gradient(135deg, #0d2e59, #1e40af);
    color: white;
    box-shadow:
        0 4px 15px rgba(30, 64, 175, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Contact Actions - Elegante */
.contact-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

.contact-btn span {
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.contact-btn svg {
    flex-shrink: 0;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

/* Email Button */
.email-btn {
    color: rgba(0, 0, 0, 0.9)
}

.email-btn:hover {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.3);
    border-color: transparent;
}

/* WhatsApp Button */
.whatsapp-btn {
    color: rgba(0, 0, 0, 0.9)
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    border-color: transparent;
}


/* Hover Effects */
.contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.1),
            transparent);
    transition: left 0.6s ease;
}

.contact-btn:hover::before {
    left: 100%;
}

/* Language Selector - Ultra Elegante */
.language-selector {
    display: flex;
    gap: 0.25rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.lang-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    padding: 0.6rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    min-width: 45px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.lang-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    border-radius: 20px;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.lang-btn:hover {
    color: #1a6bb8;
    transform: translateY(-2px);
}

.lang-btn:hover::before {
    opacity: 1;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.lang-btn.active {
    background: linear-gradient(135deg, #0d2e59, #1e40af);
    color: white;
    box-shadow:
        0 4px 15px rgba(30, 64, 175, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.language-selector {
    display: flex;
}

.lang-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #e2e8f0;
    background: transparent;
    color: #000000;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.lang-btn:hover {
    background: #f1f5f9;
    border-color: #1e40af;
}

.lang-btn.active {
    background: #1e40af;
    color: white;
    border-color: #1e40af;
}


/* Mobile Toggle - Elegante */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    margin: 3px 0;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Animation del toggle */
.nav-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.language-selector-mobile {
    display: none;
}

/* Hero Section */
.hero {
    position: relative;
}

/* Video Cover - Pantalla completa */
.video-cover {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.video-overlay {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.4);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-content {
    text-align: center;
    color: white;
    max-width: 600px;
    padding: 0 20px;
}

.video-title {
    font-size: 3.5rem;
    font-weight: 1000;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    letter-spacing: 2px;
}

.video-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 3rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    opacity: 0.9;
}

/* Indicador de scroll */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.8;
}

.arrow {
    font-size: 1.5rem;
    opacity: 0.8;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Contenido Principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
    background: #f8f9fa;
}

.hero-content {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #333;
}

.highlight {
    background: linear-gradient(135deg, #007bff, #00d4aa);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 1800;
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: #666;
}

/* Botones */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 160px;
}

.btn-primary {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0056b3, #004494);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.btn-secondary {
    background: white;
    color: #007bff;
    border: 2px solid #007bff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background: #007bff;
    color: white;
    transform: translateY(-2px);
}

/* Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.stat h3 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #007bff, #00d4aa);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat p {
    font-size: 1rem;
    color: #666;
    margin: 0;
    font-weight: 500;
}

/* Sections */
.about,
.services,
.transport-modes {
    padding: 80px 0;
}

.about {
    background: white;
}

.services {
    background: #f8fafc;
}

.transport-modes {
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4b5563;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2rem;
    min-width: 60px;
}

.feature h4 {
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.feature p {
    color: #64748b;
    font-size: 0.9rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    color: #64748b;
    line-height: 1.7;
}

/* Transport Modes */
.modes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.mode-card {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.mode-card:hover {
    border-color: #1e40af;
    background: white;
    transform: translateY(-5px);
}

.mode-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.mode-card h4 {
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.mode-card p {
    color: #64748b;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    margin-bottom: 2rem;
}

/* Footer Brand */
.footer-brand h3 {
    color: #60a5fa;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-brand p {
    color: #94a3b8;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

/* Footer Contact */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.footer-contact-item .contact-icon {
    font-size: 1.1rem;
    min-width: 24px;
}

.footer-contact-item a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-contact-item a:hover {
    color: #60a5fa;
}

/* Footer Links */
.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer-column h4 {
    margin-bottom: 1.5rem;
    color: #f1f5f9;
    font-size: 1.1rem;
    font-weight: 600;
    border-bottom: 2px solid #374151;
    padding-bottom: 0.5rem;
}

.footer-column a {
    display: block;
    color: #94a3b8;
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
    padding: 0.25rem 0;
    position: relative;
}

.footer-column a:hover {
    color: #60a5fa;
    padding-left: 0.5rem;
}

.footer-column a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 2px;
    background: #60a5fa;
    transition: width 0.3s ease;
    transform: translateY(-50%);
}

.footer-column a:hover::before {
    width: 20px;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1.5rem;
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
}


@media (max-width: 1024px) {
    .container-menu {
        padding: 0 1.5rem;
    }

    .nav-menu {
        gap: 0.25rem;
        padding: 0.5rem;
    }

    .nav-link {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

}

@media (max-width: 945px) {
    .language-selector {
        display: none;
    }

    .nav-menu {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .language-selector-mobile {
        display: flex;
        gap: 0.5rem;
    }

    .lang-btn {
        padding: 0.4rem 0.75rem;
        font-size: 0.75rem;
        gap: 0.90rem;
        color: white;
    }

    .nav-menu.active {
        display: flex;
        flex-direction: column;
        background: rgba(13, 46, 89, 0.95);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        width: calc(100% - 3rem);
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 2rem 1rem;
        gap: 0.5rem;
        position: fixed;
        top: 150px;
        left: 1rem;
        z-index: 999;
    }

    .nav-menu.active {
        left: 1rem;
        animation: slideInMobile 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    @keyframes slideInMobile {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-menu .nav-link {
        width: 100%;
        text-align: center;
        padding: 1rem 1.5rem;
        margin: 0;
        border-radius: 15px;
        color: white;
    }


}

/* Responsive Footer */
@media (max-width: 968px) {

    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: left;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {


    .contact-bar .container {
        flex-direction: column;
        text-align: center;
    }

    .contact-info {
        gap: 0.1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-toggle {
        display: flex;
    }

    .contact-bar {
        padding: 0.75rem 0;
    }


    .language-selector {
        display: none;
    }

    .container-menu {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        gap: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-features {
        order: -1;
    }

    .feature {
        flex-direction: column;
        text-align: center;
    }

    .footer {
        padding: 2.5rem 0 1rem;
    }

    .footer-content {
        gap: 2.5rem;
        text-align: center;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-contact {
        align-items: center;
    }

    .footer-contact-item {
        justify-content: center;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-column a:hover {
        padding-left: 0;
    }

    .footer-column a::before {
        display: none;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .video-title {
        font-size: 2.5rem;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .services-grid,
    .modes-grid {
        grid-template-columns: 1fr;
    }

    .service-card,
    .mode-card {
        padding: 1.5rem;
    }

    .container-footer {
        padding: 0 15px;
    }

    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-content {
        gap: 2rem;
    }

    .footer-brand h3 {
        font-size: 1.3rem;
    }

    .footer-contact {
        gap: 0.75rem;
    }

    .footer-contact-item {
        font-size: 0.9rem;
    }

    .footer-links {
        gap: 1.5rem;
    }

    .footer-column h4 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .footer-column a {
        margin-bottom: 0.5rem;
        font-size: 0.9rem;
    }

    .footer-bottom {
        padding-top: 1rem;
        font-size: 0.8rem;
    }
}