:root {
    --primary: #007982;
    /* Adjusted for WCAG AA Contrast > 4.5:1 */
    --primary-hover: #008f9a;
    --dark: #333333;
    /* Gris Carbón */
    --light: #FFFFFF;
    /* Blanco */
    --gray-bg: #F8F9FA;
    --border: #E0E0E0;
    --text-body: #4A4A4A;
    --font-titles: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-body);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--light);
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-titles);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- HEADER & NAV (MODIFICADO PARA LOGO GRANDE) --- */
header {
    background: var(--light);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0 5%;
    height: 90px;
    /* Mantenemos altura del banner */
    display: flex;
    align-items: center;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    height: 100%;
}

.logo {
    height: 100%;
    /* Usa todo el alto disponible */
    width: auto;
    display: flex;
    align-items: center;
    padding: 5px 0;
    /* Pequeño respiro */
}

.logo a {
    height: 100%;
    display: flex;
    align-items: center;
}

.logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
    /* TRUCO CLAVE: Aumenta la escala visual sin deformar el banner */
    transform: scale(1.25);
    transform-origin: left center;
    /* Se agranda hacia la derecha */
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 700;
    font-size: 1rem;
    /* Base 16px for readability */
    padding: 10px 0;
    /* Improved Touch Target */
    display: block;
    /* Ensure full width clickable on mobile */
    transition: var(--transition);
    text-transform: capitalize;
}

.nav-links a:hover {
    color: var(--primary);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
}

/* --- RESTO DE LA PÁGINA (SIN CAMBIOS) --- */

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 20px;
}

.faq-item {
    background: var(--light);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--primary);
}

.faq-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.faq-item p {
    font-size: 0.95rem;
    color: var(--text-body);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 5%;
    background: var(--light);
    /* Pure white to blend seamlessly with image */
    min-height: 100vh;
    gap: 40px;
}

.hero-content {
    flex: 1;
    max-width: 550px;
    position: relative;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    max-width: 600px;
    aspect-ratio: 3/2;
}

.hero-image img {
    width: 100%;
    max-width: 550px;
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15));
    /* UX DESIGN: Radial Fade for Perfect Integration */
    -webkit-mask-image: radial-gradient(circle at 60% 50%, black 60%, transparent 100%);
    mask-image: radial-gradient(circle at 60% 50%, black 60%, transparent 100%);
    transform-origin: center right;
    /* Scale up slightly to "extend" the band visually */
    transform: scale(1.15);
}

.logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
    aspect-ratio: 200/90;
    /* TRUCO CLAVE: Aumenta la escala visual sin deformar el banner */
    transform: scale(1.25);
    transform-origin: left center;
}

/* Airport Delivery Badge */
.airport-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 168, 181, 0.3);
    animation: pulse 2s infinite;
    /* CLS FIX: Fixed Dimensions */
    width: 320px;
    height: 50px;
    justify-content: center;
}

.airport-badge i {
    font-size: 1.3rem;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.1;
}

.text-primary {
    color: var(--primary);
}

.subtitle {
    font-size: 1.25rem;
    margin-bottom: 30px;
    color: var(--text-body);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.7rem 2rem;
    border-radius: 4px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-titles);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--light);
    box-shadow: 0 4px 10px rgba(0, 168, 181, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 168, 181, 0.4);
}

.btn-dark {
    background-color: var(--dark);
    color: var(--light);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.btn-dark:hover {
    background-color: #000;
    transform: translateY(-2px);
    color: var(--light);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* Sections */
section {
    padding: 100px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.divider {
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 0 auto;
}

/* Fleet Grid */
.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.car-card {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    padding: 20px;
}

.car-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.car-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.car-card:hover img {
    transform: scale(1.05);
}

.car-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.car-card .tags {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.tag {
    background: var(--gray-bg);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Requirements Box */
.requirements-bar {
    background: var(--primary);
    color: var(--light);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    padding: 40px 5%;
    text-align: center;
    gap: 30px;
}

.request-item i {
    font-size: 2rem;
    margin-bottom: 15px;
    display: block;
}

/* WhatsApp Floating */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
}

/* CORPORATE SECTION (Vaca Muerta B2B) */
#empresa {
    /* Lighter horizontal gradient for better image visibility */
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0) 100%), url('assets/vaca_muerta_bg.webp?v=3');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--light);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Left Align */
    justify-content: center;
    text-align: left;
    /* Left Align */
    padding: 100px 5%;
    min-height: 500px;
}

#empresa .corporate-content {
    max-width: 600px;
    /* Restrict width to left side */
    width: 100%;
}

#empresa h2 {
    color: var(--light);
    margin-bottom: 20px;
    font-size: clamp(2rem, 4vw, 3rem);
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

#empresa p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.25rem;
    margin-bottom: 35px;
    font-weight: 500;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

#empresa .text-primary {
    color: var(--primary);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* MAP PIN OVERLAY */
.map-container {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.map-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    /* Translate -100% X to sit LEFT of the center point, avoiding the red marker */
    transform: translate(-100%, -100%);
    z-index: 20;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.map-pin:hover {
    transform: translate(-100%, -110%) scale(1.1);
}

.map-pin i {
    font-size: 3.5rem;
    color: #25D366;
    /* WhatsApp Green */
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
    background: white;
    border-radius: 50%;
    /* Circle background behind icon */
    padding: 2px;
    /* Small white border effect */
}

/* Pulse animation for the pin */
.map-pin::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(37, 211, 102, 0.6);
    border-radius: 50%;
    bottom: 5px;
    /* Align with bottom of pin */
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
    animation: pin-pulse 2s infinite;
}

@keyframes pin-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* REVIEWS SECTION */
#reviews {
    background: #f9f9f9;
    padding: 60px 5%;
    text-align: center;
}

.reviews-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.review-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    width: 300px;
    text-align: left;
    transition: transform 0.3s ease;
    border: 1px solid #eee;
    position: relative;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary);
    /* Fallback color */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 12px;
    font-size: 1.2rem;
}

.reviewer-info h4 {
    font-size: 1rem;
    margin: 0;
    color: var(--dark);
}

.stars {
    color: #F4B400;
    /* Google Star Color */
    font-size: 0.9rem;
    margin-top: 4px;
}

.review-text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
    font-style: italic;
}

.google-icon {
    position: absolute;
    top: 25px;
    right: 25px;
    color: #DB4437;
    /* Google Red */
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 50px;
    }

    .hero-content {
        margin-bottom: 50px;
    }

    #empresa {
        align-items: center;
        /* Center on mobile */
        text-align: center;
        background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('assets/vaca_muerta_bg.webp');
        /* Full darken on mobile */
        background-size: cover;
        background-position: center;
    }

    #empresa .corporate-content {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 90px;
        right: 0;
        height: calc(100vh - 90px);
        background: var(--light);
        flex-direction: column;
        width: 60%;
        align-items: center;
        justify-content: center;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        box-shadow: -2px 5px 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .nav-links.active {
        transform: translateX(0%);
    }

    .hamburger {
        display: block;
    }

    h1 {
        font-size: 2rem;
    }
}