:root {
    --primary-dark: #001122;
    --header-height: 72px;
    --accent-gold: #D4AF37;
    --gold-light: #F4E4A6;
    --text-white: #FFFFFF;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #F9F9F9;
    --bg-white: #FFFFFF;
    --border-light: #EEEEEE;
    --font-elegant: 'Playfair Display', serif;
    --font-sans: 'Montserrat', sans-serif;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    /*padding-top: var(--header-height);*/
}

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

.section {
    padding: 80px 0;
    scroll-margin-top: calc(var(--header-height) + 8px);
}

.section-title {
    font-family: var(--font-elegant);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-gold);
    margin: 15px auto;
}

.section-desc {
    text-align: center;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: var(--text-light);
}

/* Header */
.header {
    background: rgba(0, 17, 34, 0.95);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.header.scrolled {
    padding: 0.7rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    font-weight: bold;
    font-size: 1.2rem;
}

.logo-text {
    font-family: var(--font-elegant);
    font-size: 1.5rem;
    color: var(--text-white);
    font-weight: 600;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-gold);
    transition: var(--transition);
}

.nav a:hover {
    color: var(--accent-gold);
}

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

/* Submenu Styles */
.has-submenu {
    position: relative;
}

.has-submenu > a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.has-submenu > a i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.has-submenu:hover > a i {
    transform: rotate(180deg);
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(0, 17, 34, 0.98);
    min-width: 220px;
    padding: 0.5rem 0;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 15px;
    list-style: none;
    display: flex;
    flex-direction: column;
}

.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li {
    width: 100%;
}

.submenu a {
    display: block;
    padding: 0.7rem 1.5rem;
    color: var(--text-white);
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.submenu a:hover {
    background: rgba(212, 175, 55, 0.1);
    border-left-color: var(--accent-gold);
    color: var(--accent-gold);
    padding-left: 1.8rem;
}

.submenu a:after {
    display: none;
}

/* Language Selector Styles */
.language-selector {
    position: relative;
    margin-left: 15px;
}

.lang-menu {
    position: relative;
}

.current-lang {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 8px 12px;
    color: var(--text-white);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.current-lang:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

.current-lang ion-icon {
    font-size: 1rem;
    color: var(--accent-gold);
    transition: transform 0.3s ease;
}

.lang-menu.active .current-lang ion-icon {
    transform: rotate(180deg);
}

.flag-icon {
    width: 24px;
    height: 16px;
    border-radius: 3px;
    object-fit: cover;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.lang-options {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: rgba(0, 17, 34, 0.98);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 8px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    min-width: 160px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.lang-menu.active .lang-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-options li {
    margin: 0;
    padding: 0;
}

.lang-options a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    color: var(--text-white);
    text-decoration: none;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.lang-options a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-gold);
    border-left-color: var(--accent-gold);
}

.lang-options a span {
    font-size: 0.95rem;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .language-selector {
        margin: 0.5rem 0;
        width: 100%;
    }

    .lang-menu {
        width: 100%;
    }

    .current-lang {
        justify-content: center;
        width: 100%;
    }

    .lang-options {
        width: 100%;
        right: 0;
    }
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 80vh;
    background: linear-gradient(rgba(0, 17, 34, 0.85), rgba(0, 17, 34, 0.8)), url('https://images.unsplash.com/photo-1544620347-c4fd4a3d5957?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2069&q=80') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    position: relative;
    overflow: hidden;
    padding: 40px 20px;
}

.hero-container {
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: left;
    padding: 0 20px;
}

.hero-form {
    display: flex;
    justify-content: flex-end;
}

/* Video background for hero */
.hero .video-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none; /* allow clicks to pass to content */
}

.hero .video-bg iframe,
.hero .video-bg video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* ensure cover behavior */
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
}

.hero::after {
    /* subtle dark overlay to increase text contrast */
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,17,34,0.45), rgba(0,17,34,0.45));
    z-index: 1;
}

.hero .hero-content {
    position: relative;
    z-index: 2; /* sit above video and overlay */
}

.hero-title {
    font-family: var(--font-elegant);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s forwards 0.5s;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--text-white);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s forwards 0.7s;
}

.regions {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    color: var(--accent-gold);
    font-weight: 500;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s forwards 0.9s;
}

.cta-btn {
    background: var(--accent-gold);
    color: var(--primary-dark);
    padding: 1rem 2.5rem;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 4px;
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s forwards 1.1s;
}

.cta-btn:hover {
    background: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.year {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
}

/* Why Section */
.why-section {
    background: var(--bg-white);
}

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

.fleet-card {
    background: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.fleet-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.fleet-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
}

.fleet-card:hover img {
    transform: scale(1.05);
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-family: var(--font-elegant);
    font-size: 1.5rem;
}

.card-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.card-content ul {
    list-style: none;
    color: var(--text-light);
}

.card-content ul li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.card-content ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: bold;
}

/* Mission Section */
.mission-section {
    background: var(--primary-dark);
    color: var(--text-white);
}

.mission-section .section-title {
    color: var(--text-white);
}

.mission-section .section-title:after {
    background: var(--accent-gold);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.mission-item {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
}

.mission-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
}

.icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent-gold);
    height: 70px;
    width: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
}

.mission-item h3 {
    color: var(--accent-gold);
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.mission-item p {
    color: var(--text-light);
}

.multilingual {
    text-align: center;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.multilingual p {
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.flags {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.flags img {
    width: 40px;
    height: 25px;
    border-radius: 3px;
    transition: var(--transition);
}

.flags img:hover {
    transform: scale(1.1);
}

/* Services Section */
.services-section {
    background: var(--bg-light);
}

.services-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.services-left img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
}

.services-left h3 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-family: var(--font-elegant);
    font-size: 1.8rem;
}

.services-left ul {
    list-style: none;
    margin-top: 1rem;
}

.services-left ul li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.services-left ul li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-size: 1.5rem;
}

.services-right h3 {
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    font-family: var(--font-elegant);
    font-size: 1.8rem;
}

.activity {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.activity:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.activity h4 {
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.activity h4 i {
    font-size: 1.2rem;
}

/* Testimonials Section */
.testimonials-section {
    background: var(--bg-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial {
    background: var(--bg-light);
    padding: 2.5rem 2rem;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.testimonial:before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 4rem;
    color: var(--accent-gold);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.client-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 3px solid var(--accent-gold);
}

.testimonial p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    position: relative;
    z-index: 1;
}

.testimonial span {
    color: var(--accent-gold);
    font-weight: 600;
    display: block;
    margin-top: 1rem;
}

.driver-exp {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: normal;
}

/* Footer */
.footer {
    background: var(--primary-dark);
    padding: 3rem 0 2rem;
    text-align: center;
    color: var(--text-white);
}

.footer .logo {
    justify-content: center;
    margin-bottom: 1.5rem;
}

.footer p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-gold);
}

/* Animations */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .services-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    /* Estilos de navegación móvil comentados - ahora se manejan en header.php */
    /*
    .mobile-menu-btn {
        display: block;
    }

    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--primary-dark);
        padding: 1rem 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav ul {
        flex-direction: column;
        gap: 0;
        text-align: center;
    }

    .nav li {
        padding: 0.8rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    */

    /* Mobile submenu styles */
    .has-submenu > a i {
        margin-left: auto;
    }

    /*
    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(0, 17, 34, 0.5);
        margin: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .has-submenu.active .submenu {
        max-height: 300px;
    }

    .has-submenu.active > a i {
        transform: rotate(180deg);
    }

    .submenu li {
        border-bottom: none;
        padding: 0;
    }

    .submenu a {
        padding: 0.6rem 2rem;
        font-size: 0.95rem;
        border-left: none;
    }

    .submenu a:hover {
        padding-left: 2.3rem;
    }
    */

    .hero-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-form {
        justify-content: center;
    }

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

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

    .regions {
        flex-direction: column;
        gap: 1rem;
    }

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

    .mission-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section {
        padding: 60px 0;
    }
}
/* Brochure section: two-column layout with gradient background */
.brochure-section {
    background: linear-gradient(135deg, rgba(0,17,34,0.95) 0%, rgba(212,175,55,0.06) 100%);
    color: var(--text-white);
    position: relative;
}

.brochure-inner {
    display: flex;
    gap: 2rem;
    align-items: center;
    padding: 40px 0;
}

.brochure-left {
    flex: 1;
}

.brochure-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.brochure-card {
    background: rgba(255,255,255,0.03);
    padding: 22px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    max-width: 340px;
    width: 100%;
    text-align: center;
}

.brochure-cover {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

.brochure-note {
    color: rgba(255,255,255,0.95);
    font-size: 0.95rem;
}

.brochure-download {
    display: inline-block;
    margin-top: 1.1rem;
    background: var(--accent-gold);
    color: var(--primary-dark);
    padding: 0.85rem 1.6rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.brochure-download:hover {
    background: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .brochure-inner {
        flex-direction: column;
        text-align: center;
    }

    .brochure-right {
        order: -1;
        margin-bottom: 1rem;
    }

    .brochure-card {
        max-width: 260px;
    }
}
.logoimg{
width:180px!important; height:auto;
}

/* WhatsApp floating button & chat */
.whatsapp-fab {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    cursor: pointer;
    z-index: 1200;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.whatsapp-fab:hover { transform: translateY(-4px); }

.whatsapp-fab svg,
.whatsapp-fab ion-icon { display: block; color: #fff; font-size: 22px; }
.whatsapp-fab .whatsapp-icon { color: #fff; font-size: 22px; }

.whatsapp-chat {
    position: fixed;
    right: 18px;
    bottom: 145px;
    width: 320px;
    max-width: calc(100% - 36px);
    background: #fff;
    color: #222;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
    overflow: hidden;
    z-index: 1199;
    display: none; /* toggled by JS */
    flex-direction: column;
}

.whatsapp-chat-header {
    background: #25D366;
    color: #fff;
    padding: 10px 12px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.whatsapp-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

.whatsapp-chat-body {
    padding: 12px;
    min-height: 80px;
}

.whatsapp-intro { font-size: 0.95rem; color: #444; }

.whatsapp-chat-footer {
    display:flex;
    gap:8px;
    padding: 10px;
    border-top: 1px solid rgba(0,0,0,0.06);
    background: #fafafa;
}

.whatsapp-chat-footer textarea {
    flex:1;
    resize: none;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.08);
    padding: 8px;
    font-family: inherit;
}

.whatsapp-send {
    background: #128C7E;
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
}

/* Email floating button */
.email-fab {
    position: fixed;
    right: 18px;
    bottom: 88px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #D4AF37, #F4E4A6);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.4);
    cursor: pointer;
    z-index: 1200;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    text-decoration: none;
}

.email-fab:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 32px rgba(212, 175, 55, 0.5);
}

.email-fab svg,
.email-fab ion-icon {
    display: block;
    color: var(--primary-dark);
    font-size: 24px;
}

.email-fab .email-icon {
    color: var(--primary-dark);
    font-size: 24px;
}

@media (max-width: 480px) {
    .whatsapp-chat { width: 92%; right: 4%; bottom: 145px; }
    .whatsapp-fab { right: 14px; bottom: 14px; }
    .email-fab { right: 14px; bottom: 84px; }
}

