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

:root {
    --primary-color: #D4AF37;
    --secondary-color: #0F1C2D;
    --accent-color: #1E3A5F;
    --light-color: #F8F9FA;
    --dark-color: #212529;
    --success-color: #28A745;
    --text-color: #333333;
    --text-light: #6C757D;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 12px;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #F9E076 100%);
    --gold-gradient-hover: linear-gradient(135deg, #c19b2e 0%, #e6cf6d 100%);
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    letter-spacing: -0.02em;
}

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

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

.section-header h2 {
    font-size: 2.8rem;
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 1.5rem auto 0;
    line-height: 1.7;
}

/* HEADER & NAVIGATION  */
header {
    background: rgba(15, 28, 45, 0.98);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.logo img {
    height: 50px;
    transition: var(--transition);
}

.logo:hover img {
    transform: scale(1.05);
}

.logo span {
    color: var(--light-color);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
}

nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links li a {
    text-decoration: none;
    color: var(--light-color);
    font-weight: 500;
    font-size: 1rem;
    padding: 8px 12px;
    border-radius: 6px;
    transition: var(--transition);
    position: relative;
}

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

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

.nav-links li a:hover::after {
    width: 70%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--light-color);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 3px;
}

/*  HERO SECTION  */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1537005081207-04f90e3ba640?ixlib=rb-4.0.3&auto=format&fit=crop&w=1674&q=80') no-repeat center center/cover;
    color: var(--light-color);
    text-align: center;
    padding-top: 80px;
}

.hero-content {
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    font-size: 3.8rem;
    margin-bottom: 1.5rem;
    color: var(--light-color);
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content h1 span {
    color: var(--primary-color);
    display: block;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* BOTÓN EXPLORE OUR FLEET MEJORADO */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-gradient);
    color: var(--dark-color);
    padding: 20px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.5s;
}

.cta-button:hover {
    background: var(--gold-gradient-hover);
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.4);
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button i {
    margin-left: 12px;
    transition: var(--transition);
    font-size: 1.2rem;
}

.cta-button:hover i {
    transform: translateX(8px);
}

/*  BOOKING FORM - MEJORADO SIGNIFICATIVAMENTE */
.book-now-container {
    position: absolute;
    bottom: -80px;
    left: 0;
    right: 0;
    z-index: 100;
}

.book-now-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr) 180px;
    gap: 20px;
    padding: 35px 40px;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.input-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.input-group label {
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--secondary-color);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.input-group label i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.input-group input, .input-group select {
    padding: 16px 20px;
    border: 2px solid #eaeaea;
    border-radius: 10px;
    width: 100%;
    font-size: 1rem;
    box-sizing: border-box;
    transition: var(--transition);
    background: #fff;
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    height: 55px;
}

.input-group input:focus, .input-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
    transform: translateY(-2px);
}

.input-group input::placeholder {
    color: #a0a0a0;
}

.card-dropdown {
    background-color: #fff;
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23333" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    padding-right: 45px;
}

/* BOTÓN DE BÚSQUEDA MEJORADO */
.search-btn {
    font-family: 'Montserrat', sans-serif;  
    background: var(--gold-gradient);
    color: var(--dark-color);
    font-size: 1.05rem;
    font-weight: 700;
    padding: 18px 25px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    align-self: flex-end;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.search-btn:hover {
    background: var(--gold-gradient-hover);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 25px rgba(212, 175, 55, 0.4);
}

.search-btn i {
    transition: var(--transition);
}

.search-btn:hover i {
    transform: translateX(4px);
}

/*  SERVICES SECTION  */
.services {
    padding: 150px 0 100px;
    background-color: var(--light-color);
}

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

.service-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background: var(--primary-color);
    transition: var(--transition);
}

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

.service-card:hover::before {
    height: 100%;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: rgba(212, 175, 55, 0.2);
    transform: scale(1.1);
}

.service-icon i {
    font-size: 32px;
    color: var(--primary-color);
}

.service-card h3 {
    margin-bottom: 18px;
    color: var(--secondary-color);
    font-size: 1.4rem;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/*  FEATURED VEHICLES */
.featured-vehicles {
    padding: 120px 0;
    background: #fff;
}

.filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 50px;
}

.filter-btn {
    background: #f8f9fa;
    border: 2px solid transparent;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary-color);
    color: var(--dark-color);
    border-color: rgba(0, 0, 0, 0.05);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.vehicle-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 35px;
}

.vehicle-card {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.vehicle-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.vehicle-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.vehicle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.vehicle-card:hover .vehicle-image img {
    transform: scale(1.08);
}

.vehicle-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.vehicle-card:hover .vehicle-overlay {
    opacity: 1;
}

.quick-view-btn {
    background: var(--primary-color);
    color: var(--dark-color);
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.quick-view-btn:hover {
    background: #c19b2e;
    transform: scale(1.05);
}

.vehicle-info {
    padding: 25px;
}

.vehicle-title {
    font-size: 1.6rem;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.vehicle-info p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.vehicle-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.vehicle-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--text-light);
}

.vehicle-meta i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.price {
    font-size: 1.7rem;
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: baseline;
}

.price span {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-light);
    margin-left: 5px;
}

.vehicle-button {
    background-color: var(--secondary-color);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    padding: 15px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
    width: 100%;
    letter-spacing: 0.5px;
}

.vehicle-button:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 28, 45, 0.2);
}

/* =================== TESTIMONIALS =================== */
.testimonials {
    padding: 120px 0;
    background: linear-gradient(rgba(15, 28, 45, 0.92), rgba(15, 28, 45, 0.92)), url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?ixlib=rb-4.0.3&auto=format&fit=crop&w=1647&q=80') no-repeat center center/cover;
    color: var(--light-color);
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,%3Csvg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M0 0h10v10H0V0zm10 10h10v10H10V10z" fill="%23ffffff" fill-opacity="0.03" /%3E%3C/svg%3E');
}

.testimonials .section-header h2,
.testimonials .section-header p {
    color: var(--light-color);
    position: relative;
    z-index: 2;
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    position: relative;
    z-index: 2;
}

.testimonial {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 35px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.rating {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 25px;
    line-height: 1.7;
    font-size: 1.05rem;
}

.client {
    display: flex;
    align-items: center;
    gap: 18px;
}

.client img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.client-info h4 {
    color: var(--light-color);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.client-info span {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

/* MODALS =*/
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: #fff;
    color: var(--text-color);
    padding: 35px;
    border-radius: var(--border-radius);
    max-width: 800px;
    width: 100%;
    position: relative;
    animation: modalopen 0.4s ease-out;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes modalopen {
    from {opacity: 0; transform: translateY(-60px) scale(0.95);}
    to {opacity: 1; transform: translateY(0) scale(1);}
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close, .close-booking, .close-confirmation {
    position: absolute;
    right: 25px;
    top: 20px;
    font-size: 30px;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close:hover, .close-booking:hover, .close-confirmation:hover {
    color: var(--primary-color);
    background: rgba(0, 0, 0, 0.05);
}

/* Vehicle Details Modal */
.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
}

.modal-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.modal-image img {
    width: 100%;
    height: auto;
    display: block;
}

.modal-details h2 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 2rem;
}

.modal-details p {
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.7;
}

.modal-price {
    font-size: 1.8rem;
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 25px;
    display: flex;
    align-items: baseline;
}

.modal-price span {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-light);
    margin-left: 5px;
}

.car-specs {
    margin: 25px 0;
}

.car-specs h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
    font-size: 1.4rem;
}

.car-specs h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 25px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: var(--transition);
}

.spec-item:hover {
    background: #f0f2f5;
    transform: translateX(5px);
}

.spec-item i {
    font-size: 22px;
    color: var(--primary-color);
    width: 35px;
    text-align: center;
}

.spec-info {
    display: flex;
    flex-direction: column;
}

.spec-label {
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.spec-value {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 1.05rem;
}

.features {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    transition: var(--transition);
}

.features:hover {
    background: #f0f2f5;
}

.features h4 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.features h4 i {
    color: var(--primary-color);
}

#modal-features {
    line-height: 1.7;
    color: var(--text-color);
}

.modal-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 25px;
}

.book-now-btn {
    background-color: var(--primary-color);
    color: var(--dark-color);
    font-family: 'Montserrat', sans-serif;
    padding: 15px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
    letter-spacing: 0.5px;
    text-align: center;
}

.book-now-btn:hover {
    background-color: #c19b2e;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

.close-modal-btn {
    background-color: #f8f9fa;
    color: var(--text-color);
    border: none;
    padding: 15px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
    letter-spacing: 0.5px;
    text-align: center;
}

.close-modal-btn:hover {
    background-color: #e9ecef;
}

/* Booking Form Modal */
.booking-form {
    max-width: 900px;
}

.booking-form h2 {
    text-align: center;
    margin-bottom: 35px;
    color: var(--secondary-color);
    font-size: 2.2rem;
}

.booking-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.selected-car h3, .booking-summary h3 {
    margin-bottom: 20px;
    color: var(--secondary-color);
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 12px;
}

.selected-car h3::after, .booking-summary h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.car-summary {
    display: flex;
    gap: 20px;
    align-items: center;
}

.car-summary img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
}

.car-info h4 {
    margin-bottom: 8px;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.car-info p {
    color: var(--text-light);
    font-weight: 500;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.summary-item.total {
    border-bottom: none;
    padding-top: 15px;
    border-top: 2px solid #eee;
    font-weight: 700;
    margin-top: 10px;
}

.summary-label {
    color: var(--text-light);
    font-weight: 500;
}

.summary-value {
    font-weight: 600;
    color: var(--secondary-color);
}

.customer-info h3 {
    margin-bottom: 25px;
    color: var(--secondary-color);
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 12px;
}

.customer-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.input-group {
    text-align: left;
}

.input-group label {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
    font-size: 0.95rem;
}

.input-group input {
    width: 100%;
    padding: 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    background: #fff;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.confirm-booking-btn {
    background-color: var(--primary-color);
    color: var(--dark-color);
    font-family: 'Montserrat', sans-serif;
    padding: 18px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition);
    width: 100%;
    margin-top: 25px;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.confirm-booking-btn:hover {
    background-color: #c19b2e;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

/* Confirmation Modal */
.confirmation {
    text-align: center;
    max-width: 500px;
}

.confirmation-content {
    padding: 30px 20px;
}

.confirmation-icon {
    font-size: 70px;
    color: var(--success-color);
    margin-bottom: 25px;
    animation: bounce 1s ease;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-20px);}
    60% {transform: translateY(-10px);}
}

.confirmation h2 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 2.2rem;
}

.confirmation p {
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.7;
}

.reference-number {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin: 25px 0;
    border: 1px dashed #e0e0e0;
}

.reference-number span {
    display: block;
    margin-bottom: 8px;
    color: var(--text-light);
    font-weight: 500;
}

#booking-reference {
    font-size: 1.4rem;
    color: var(--secondary-color);
    font-weight: 700;
    letter-spacing: 1px;
}

.confirmation-note {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--text-light);
}

.ok-btn {
    background-color: var(--secondary-color);
    color: white;
    padding: 15px 35px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 25px;
    transition: var(--transition);
    letter-spacing: 0.5px;
    box-shadow: 0 5px 15px rgba(15, 28, 45, 0.2);
}

.ok-btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(15, 28, 45, 0.3);
}

/*  ABOUT SECTION  */
.about-us {
    padding: 120px 0;
    background: var(--light-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    color: var(--secondary-color);
    margin-bottom: 25px;
    font-size: 2.5rem;
}

.about-text p {
    margin-bottom: 30px;
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1.1rem;
}

.about-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 35px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.detail-item i {
    font-size: 28px;
    color: var(--primary-color);
    margin-top: 5px;
}

.detail-item h4 {
    margin-bottom: 8px;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.detail-item p {
    margin-bottom: 5px;
    color: var(--text-color);
    font-size: 1.05rem;
}

.detail-item small {
    color: var(--text-light);
    font-size: 0.9rem;
}

.map-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 75%;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 0;
    transition: var(--transition);
}

.map-container:hover .map-overlay {
    opacity: 1;
}

.map-info {
    color: white;
    transform: translateY(20px);
    transition: var(--transition);
}

.map-container:hover .map-info {
    transform: translateY(0);
}

.map-info h3 {
    color: white;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.map-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

/*  FOOTER */
footer {
    background: var(--secondary-color);
    color: var(--light-color);
    padding: 80px 0 20px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-section .logo {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-section .logo img {
    height: 45px;
}

.footer-section .logo span {
    color: var(--light-color);
    font-size: 1.3rem;
}

.footer-section p {
    margin-bottom: 25px;
    line-height: 1.7;
    opacity: 0.8;
    font-size: 1.05rem;
}

.footer-section h3 {
    color: var(--light-color);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    font-size: 1.4rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-section ul li a {
    color: var(--light-color);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
    font-size: 1.05rem;
}

.footer-section ul li a:hover {
    opacity: 1;
    color: var(--primary-color);
    padding-left: 8px;
}

.footer-section ul li i {
    margin-right: 12px;
    color: var(--primary-color);
    width: 20px;
    font-size: 1.1rem;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--light-color);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.1rem;
}

.social-icons a:hover {
    background: var(--primary-color);
    color: var(--dark-color);
    transform: translateY(-5px);
}

.footer-bottom {
  text-align: center;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-bottom p, 
.footer-bottom a {
  opacity: 0.7;
  font-size: 0.95rem;
  color: var(--light-color);
  text-decoration: none;
  transition: var(--transition);
  margin: 0;
}

.footer-bottom a:hover {
  opacity: 1;
  color: var(--primary-color);
}

/* Responsive */
@media screen and (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding: 20px 0 0;
  }
}

/*  RESPONSIVE DESIGN  */
@media screen and (max-width: 1024px) {
    .book-now-bar {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .search-btn {
        grid-column: 1 / -1;
    }
    
    .modal-grid {
        grid-template-columns: 1fr;
    }
    
    .booking-details {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 3.2rem;
    }
}

@media screen and (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--secondary-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: var(--transition);
        z-index: 1000;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
        z-index: 1001;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .book-now-bar {
        grid-template-columns: 1fr;
        padding: 25px;
        bottom: -100px;
    }
    
    .search-btn {
        align-self: stretch;
        margin-top: 10px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .vehicle-container {
        grid-template-columns: 1fr;
    }
    
    .testimonials-container {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .modal-buttons {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1.1rem;
    }
    
    .book-now-bar {
        padding: 20px;
        bottom: -110px;
    }
    
    .modal-content {
        padding: 25px 20px;
    }
    
    .vehicle-card, .service-card, .testimonial {
        padding: 20px;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 18px 25px;
    border-radius: 10px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 300px;
    z-index: 10000;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    animation: slideIn 0.4s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.notification.error { 
    background: rgba(255, 71, 87, 0.9);
}

.notification.success { 
    background: rgba(46, 213, 115, 0.9);
}

.notification.info { 
    background: rgba(30, 144, 255, 0.9);
}

.notification button {
    background: none;
    border: none;
    color: white;
    font-size: 22px;
    cursor: pointer;
    margin-left: 20px;
    opacity: 0.8;
    transition: var(--transition);
}

.notification button:hover {
    opacity: 1;
}

@keyframes slideIn {
    from { transform: translateX(100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Loading animation */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

/* toggle de idioma */
  #lang-toggle {
    position: fixed;
    right: 20px;
    top: 20px;
    z-index: 9999;
    background: rgba(15, 28, 45, 0.9);
    backdrop-filter: blur(10px);
    padding: 8px 5px;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    gap: 5px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
  }
  
  #lang-toggle a {
    color: #F8F9FA;
    text-decoration: none;
    padding:4px 7px;
    border-radius: 15px;
    font-size: 0.80rem;
    transition: all 0.3s ease;
  }
  
  #lang-toggle a:first-child {
    background: rgba(255, 255, 255, 0.1);
  }
  
  #lang-toggle a:last-child {
    background: var(--primary-color);
    color: var(--dark-color);
    font-weight: 600;
  }
  
  #lang-toggle a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  /* Ajustes para móviles */
  @media screen and (max-width: 768px) {
    #lang-toggle {
      right: 10px;
      top: 10px;
      padding: 6px 4px;
    }
    
    #lang-toggle a {
      padding: 5px 10px;
      font-size: 0.8rem;
    }
  }
