/* =============================================
   ElRentaCar - Landing Page Styles
   Color Palette: White (dominant), Black, Green, Blue, Red
   ============================================= */

/* CSS Custom Properties */
:root {
    --white: #ffffff;
    --black: #1a1a2e;
    --black-light: #2d2d44;
    --blue: #0066cc;
    --blue-dark: #004a99;
    --blue-light: #e8f4fd;
    --green: #00b341;
    --green-dark: #009933;
    --green-light: #e8fff0;
    --red: #e63946;
    --red-dark: #cc2936;
    --red-light: #ffe8ea;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #6c757d;
    --gray-600: #495057;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Poppins', sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden; 
}

body {
    font-family: var(--font-secondary);
    color: var(--black);
    background: var(--white);
    line-height: 1.6;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
    -webkit-text-size-adjust: 100%; /* Previene que iOS agrande letras al azar */
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

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

/* =============================================
   NAVIGATION
   ============================================= */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 15px 0;
}

#main-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    padding: 10px 0;
}

.navbar {
    width: 100%;
}

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

.logo {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo-el {
    color: var(--black);
}

.logo-renta {
    color: var(--blue);
}

.logo-car {
    color: var(--green);
}

/* Nuevos estilos para el logo en imagen */
.brand-logo {
    max-height: 45px; /* Altura ideal para la barra de navegación */
    width: auto;
    display: block;
    transition: var(--transition);
}

.logo:hover .brand-logo {
    transform: scale(1.05); /* Micro-interacción elegante */
}

/* Ajuste específico para celulares */
@media (max-width: 768px) {
    .brand-logo {
        max-height: 38px; /* Un poco más pequeño en móviles */
    }
}

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

.nav-links a {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--white); /* Blanco brillante para verse sobre la foto */
    position: relative;
    padding: 5px 0;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8); /* Sombra para legibilidad */
}

#main-header.scrolled .nav-links a {
    color: var(--black);
    text-shadow: none;
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    background: var(--green);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: var(--radius-xl);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 179, 65, 0.3);
}

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

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

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

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

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

/* =============================================
   HERO SECTION
   ============================================= */
/* =============================================
   HERO SECTION
   ============================================= */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: url('img/banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    padding: 100px 20px 60px;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Agregamos un gradiente oscuro (45% a 65% de opacidad) para que el texto blanco resalte perfectamente */
    background: 
        linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.65)),
        radial-gradient(ellipse at 20% 80%, rgba(0, 102, 204, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(0, 179, 65, 0.1) 0%, transparent 50%);
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 8px 20px;
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -2px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.85); /* Sombra para destacar */
}

.text-gradient {
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    background-clip: initial;
    filter: none; 
    color: var(--green);
    text-shadow: none; /* Eliminamos la sombra que ensuciaba el texto */
}

.hero-title .text-gradient {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9); /* Mantenemos la sombra solo aquí para que no se pierda en la foto */
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #ffffff; /* Cambiado a blanco puro para no perderse */
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
    font-weight: 500; /* Letra un poco más gruesa */
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.95); /* Sombra fuerte */
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.85);
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: #ffffff; /* Cambiado a blanco puro */
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.95);
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 32px;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn-primary {
    background: var(--green);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--green-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 179, 65, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateY(-3px);
}

.btn-submit {
    background: var(--red);
    color: var(--white);
    width: 100%;
    justify-content: center;
    font-size: 1.1rem;
    padding: 18px 36px;
}

.btn-submit:hover {
    background: var(--red-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(230, 57, 70, 0.35);
}

.btn-reserve {
    background: var(--red);
    color: var(--white);
    width: 100%;
    justify-content: center;
    padding: 12px 24px;
    font-size: 0.9rem;
}

.btn-reserve:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.3);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero-scroll-indicator a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: bounce 2s infinite;
}

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

/* =============================================
   SECTION COMMON STYLES
   ============================================= */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: var(--blue-light);
    color: var(--blue);
    padding: 6px 16px;
    border-radius: var(--radius-xl);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--black);
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* =============================================
   VEHICLES CAROUSEL SECTION
   ============================================= */
.vehicles-section {
    padding: 100px 0;
    background: var(--gray-100);
}

.vehicle-carousel {
    padding: 20px 60px 60px;
    position: relative;
}

.vehicle-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    height: 100%;
}

.vehicle-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.vehicle-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--blue);
    color: var(--white);
    padding: 4px 12px;
    border-radius: var(--radius-xl);
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
    text-transform: uppercase;
}

.vehicle-badge.best-value {
    background: var(--green);
}

.vehicle-badge.premium {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.vehicle-badge.suv {
    background: var(--red);
}

.vehicle-badge.family {
    background: #ff6b35;
}

.vehicle-image {
    height: auto;
    position: relative;
    overflow: hidden;
    padding: 0;
    background: transparent;
}

.vehicle-image::after {
    display: none;
}

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

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

.vehicle-info {
    padding: 24px;
}

.vehicle-category {
    font-size: 0.75rem;
    color: var(--blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.vehicle-name {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--black);
    margin: 8px 0 16px;
}

.vehicle-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 20px;
}

.vehicle-features span {
    font-size: 0.8rem;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: 6px;
}

.vehicle-features i {
    color: var(--blue);
    font-size: 0.75rem;
}

.vehicle-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 16px;
    padding: 12px 0;
    border-top: 1px solid var(--gray-200);
}

.price-from {
    font-size: 0.8rem;
    color: var(--gray-500);
}

.price-amount {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--black);
}

.price-period {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* Swiper Customization */
.swiper-button-prev,
.swiper-button-next {
    color: var(--blue) !important;
    background: var(--white);
    width: 48px !important;
    height: 48px !important;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 1rem !important;
    font-weight: 700;
}

.swiper-button-prev {
    left: 0 !important; /* Empuja el botón al borde izquierdo exterior */
}

.swiper-button-next {
    right: 0 !important; /* Empuja el botón al borde derecho exterior */
}

.swiper-pagination-bullet {
    background: var(--blue) !important;
    width: 10px;
    height: 10px;
}

.swiper-pagination-bullet-active {
    width: 30px;
    border-radius: 5px;
}

/* Nuevos estilos para la grilla de precios (Día, Semana, Mes) */
.vehicle-prices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 20px;
    border-top: 1px solid var(--gray-200);
    padding-top: 16px;
}
.price-box {
    text-align: center;
    background: var(--blue-light);
    padding: 10px 4px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(0, 102, 204, 0.15);
    transition: var(--transition);
}
.vehicle-card:hover .price-box {
    background: var(--white);
    border-color: var(--blue);
    box-shadow: var(--shadow-sm);
}
.price-box span {
    display: block;
    font-size: 0.7rem;
    color: var(--gray-600);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 4px;
}
.price-box strong {
    display: block;
    font-size: 0.85rem;
    color: var(--blue-dark);
    font-family: var(--font-primary);
    font-weight: 800;
}

/* =============================================
   SERVICES SECTION
   ============================================= */
.services-section {
    padding: 100px 0;
    background: var(--white);
}

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

.service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--blue);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--blue-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--blue);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--blue);
    color: var(--white);
    transform: scale(1.1);
}

.service-card h3 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 12px;
}

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

/* =============================================
   WHY US SECTION
   ============================================= */
.why-us-section {
    padding: 100px 0;
    background: var(--gray-100);
}

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

.why-us-content .section-badge {
    display: inline-block;
    margin-bottom: 12px;
}

.why-us-content .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.why-us-text {
    font-size: 1rem;
    color: var(--gray-500);
    margin-bottom: 30px;
    line-height: 1.7;
}

.why-us-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.why-us-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.why-us-list li i {
    color: var(--green);
    font-size: 1.4rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.why-us-list li strong {
    display: block;
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--black);
    margin-bottom: 4px;
}

.why-us-list li span {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.why-us-image {
    position: relative;
}

.image-wrapper {
    position: relative;
}

.image-wrapper img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.floating-card {
    position: absolute;
    background: var(--white);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 3s ease-in-out infinite;
}

.trust-card {
    top: 30px;
    right: -20px;
}

.clients-card {
    bottom: 30px;
    left: -20px;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.trust-icon,
.clients-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.trust-icon {
    background: #fff3cd;
    color: #ffc107;
}

.clients-icon {
    background: var(--green-light);
    color: var(--green);
}

.trust-rating,
.clients-number {
    display: block;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--black);
}

.trust-text,
.clients-text {
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* =============================================
   RESERVATION SECTION
   ============================================= */
.reservation-section {
    padding: 100px 0;
    background: var(--white);
}

.reservation-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 0;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
}

.form-decoration {
    background: linear-gradient(135deg, var(--black) 0%, #1a1a3e 100%);
    padding: 50px 40px;
    display: flex;
    align-items: center;
}

.form-side-info h3 {
    font-family: var(--font-primary);
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-side-info h3 i {
    color: var(--green);
}

.form-side-info > p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.steps-mini {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.step-mini {
    display: flex;
    align-items: center;
    gap: 14px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
}

.step-num {
    width: 32px;
    height: 32px;
    background: var(--blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.guarantee-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 14px 18px;
    border-radius: var(--radius-md);
    color: var(--green);
    font-size: 0.85rem;
    font-weight: 600;
}

.guarantee-badge i {
    font-size: 1.2rem;
}

/* Form Styles */
.reservation-form {
    padding: 50px 40px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    margin-bottom: 24px;
}

.form-group label {
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Estilo para el mensaje de ayuda del teléfono */
.phone-helper {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-600);
    background: var(--blue-light);
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--blue);
    margin-bottom: 8px;
    line-height: 1.4;
}

/* Ajuste específico para que encaje bien en el espacio pequeño del chat de WhatsApp */
.wa-form-group .phone-helper {
    font-size: 0.7rem;
    padding: 5px 8px;
    margin-bottom: 6px;
    margin-top: 2px;
}

.form-group label i {
    color: var(--blue);
    font-size: 0.8rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 14px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    color: var(--black);
    transition: var(--transition);
    background: var(--white);
    width: 100%;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.field-error {
    font-size: 0.75rem;
    color: var(--red);
    margin-top: 4px;
    min-height: 18px;
}

/* intl-tel-input override */
.iti {
    width: 100%;
}

.iti__selected-flag {
    padding: 0 10px;
}

/* =============================================
   TESTIMONIALS SECTION
   ============================================= */
.testimonials-section {
    padding: 100px 0;
    background: var(--gray-100);
}

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

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

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

.testimonial-stars {
    margin-bottom: 16px;
}

.testimonial-stars i {
    color: #ffc107;
    font-size: 1rem;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

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

.author-avatar i {
    font-size: 2.5rem;
    color: var(--gray-400);
}

.author-info strong {
    display: block;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: var(--black);
}

.author-info span {
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* =============================================
   CONTACT SECTION
   ============================================= */
.contact-section {
    padding: 100px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.contact-card {
    text-align: center;
    padding: 36px 24px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.contact-card:hover {
    border-color: var(--blue);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--blue-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.3rem;
    color: var(--blue);
}

.contact-card h4 {
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--black);
    margin-bottom: 8px;
}

.contact-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* Estilos para el Mapa de Contacto */
.contact-map {
    margin-top: 50px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 450px;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    background: var(--gray-100);
}

.contact-map:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 102, 204, 0.2);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* =============================================
   FOOTER
   ============================================= */
.main-footer {
    /* Se añade gradiente oscuro basado en tu color var(--black) para garantizar contraste */
    background: linear-gradient(rgba(10, 10, 26, 0.5), rgba(10, 10, 26, 0.7)), url('img/footer.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0 30px;
    color: #ffffff;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.85);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand p {
    margin-top: 16px;
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

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

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-primary);
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul a {
    font-size: 0.9rem;
    color: #ffffff;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.85);
    transition: var(--transition);
}

.footer-links ul a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.footer-contact ul li i {
    color: var(--blue);
    width: 16px;
}

/* Estilos para la red de aliados en el footer */
.footer-partners {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 0 10px;
    margin-top: 10px;
    text-align: center;
}

.footer-partners h4 {
    font-family: var(--font-primary);
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.partners-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.partners-list a {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 18px;
    border-radius: var(--radius-xl);
    font-size: 0.8rem;
    color: var(--gray-300);
    transition: var(--transition);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.partners-list a:hover {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.4);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: #ffffff;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.85);
}

.footer-bottom-links a:hover {
    color: var(--white);
}

/* =============================================
   FLOATING WIDGETS (WhatsApp & Call)
   ============================================= */
.wa-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.call-widget {
    position: fixed;
    bottom: 110px; /* Calculado exactamente encima de WhatsApp */
    right: 30px;
    width: 64px;
    height: 64px;
    background: var(--blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 9998; /* Un nivel abajo del chat para no interferir */
    border: 3px solid var(--white); /* Borde blanco para MÁXIMO contraste */
    box-shadow: 0 4px 15px rgba(0,0,0,0.3); /* Sombra profunda */
    transition: var(--transition);
}

.wa-toggle-btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #25d366;
    border: 3px solid var(--white); /* Borde blanco para MÁXIMO contraste */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3); /* Sombra profunda */
    transition: var(--transition);
    position: relative;
}

.call-widget:hover {
    transform: scale(1.1);
    background: var(--blue-dark);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.5);
}

.wa-toggle-btn:hover {
    transform: scale(1.1);
    background: #1da851;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.call-widget i,
.wa-toggle-btn i {
    font-size: 1.8rem;
    color: var(--white);
}

.wa-notification {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 24px;
    height: 24px;
    background: var(--red);
    color: var(--white);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--white); /* Contraste para la notificación */
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.wa-chat-box {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 360px;
    max-height: 550px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    transform: scale(0) translateY(20px);
    transform-origin: bottom right;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.wa-chat-box.active {
    transform: scale(1) translateY(0);
    opacity: 1;
    visibility: visible;
}

.wa-header {
    background: #075e54;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wa-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wa-avatar {
    width: 40px;
    height: 40px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wa-avatar i {
    color: var(--white);
    font-size: 1.3rem;
}

.wa-name {
    display: block;
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
}

.wa-status {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.wa-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px;
    opacity: 0.7;
    transition: var(--transition);
}

.wa-close:hover {
    opacity: 1;
}

.wa-body {
    padding: 20px;
    max-height: 450px;
    overflow-y: auto;
    background: #e5ddd5;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 30m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0' fill='%23ccc' opacity='0.15'/%3E%3C/svg%3E");
}

.wa-message {
    background: var(--white);
    padding: 12px 16px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) var(--radius-sm);
    margin-bottom: 16px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    font-size: 0.85rem;
    line-height: 1.5;
}

.wa-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wa-form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wa-form-group label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-600);
}

.wa-form-group input,
.wa-form-group select {
    padding: 10px 14px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-family: var(--font-secondary);
    background: var(--white);
    transition: var(--transition);
}

.wa-form-group input:focus,
.wa-form-group select:focus {
    outline: none;
    border-color: #25d366;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.15);
}

.wa-submit-btn {
    background: #25d366;
    color: var(--white);
    border: none;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
    margin-top: 4px;
}

.wa-submit-btn:hover {
    background: #1da851;
    transform: translateY(-2px);
}

/* intl-tel for WA widget */
.wa-form-group .iti {
    width: 100%;
}

/* Garantiza que la lista desplegable de países quede por encima del chat */
.iti--container {
    z-index: 99999 !important;
}

/* =============================================
   SUCCESS MODAL
   ============================================= */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    backdrop-filter: blur(4px);
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    padding: 50px 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: var(--shadow-xl);
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-icon {
    font-size: 4rem;
    color: var(--green);
    margin-bottom: 20px;
}

.modal-content h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--black);
    margin-bottom: 12px;
}

.modal-content p {
    color: var(--gray-500);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

/* =============================================
   REQUISITOS SECTION
   ============================================= */
.requirements-section {
    padding: 100px 0;
    background: url('img/fondo-bio.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.req-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.req-content h2 {
    font-family: var(--font-primary);
    font-size: 2.2rem;
    color: var(--blue-dark);
    margin-bottom: 24px;
}

.req-list {
    display: flex;
    flex-direction: column;
}

.req-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 102, 204, 0.15);
    font-size: 0.95rem;
    color: var(--black-light);
    line-height: 1.5;
}

.req-list li:last-child {
    border-bottom: none;
}

.req-list li i {
    color: var(--green);
    margin-top: 3px;
    font-size: 1.1rem;
}

.req-list li a {
    color: var(--blue);
    font-weight: 600;
    text-decoration: underline;
}

.req-cta {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.req-cta h3 {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    color: var(--blue-dark);
    margin-bottom: 8px;
}

.req-cta h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--green); /* Aseguramos el color verde de tu marca */
    text-shadow: none; /* Eliminamos la sombra oscura para que luzca limpio sobre el blanco */
}

.req-cta p {
    color: var(--gray-600);
    margin-bottom: 24px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.req-cta .btn {
    width: 100%;
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.req-contact {
    text-align: left;
    background: var(--gray-100);
    padding: 15px 20px;
    border-radius: var(--radius-sm);
}

.req-contact p {
    margin-bottom: 8px;
    color: var(--black);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.req-contact p:last-child {
    margin-bottom: 0;
}

.req-contact p i {
    color: var(--blue);
    font-size: 1.2rem;
}

.req-contact p .fa-whatsapp {
    color: #25d366; /* Verde original de WhatsApp */
}

.req-contact a {
    color: var(--blue);
    transition: var(--transition);
}

.req-contact a:hover {
    color: var(--blue-dark);
    text-decoration: underline;
}

/* =============================================
   FAQ SECTION
   ============================================= */
.faq-section {
    padding: 100px 0;
    background: var(--gray-100);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 102, 204, 0.2);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    color: var(--black);
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--blue);
}

.faq-question i {
    color: var(--blue);
    font-size: 0.9rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-question {
    color: var(--blue);
    border-bottom: 1px solid var(--gray-200);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--white);
}

.faq-answer p {
    padding: 20px 24px;
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* =============================================
   TIPS SECTION
   ============================================= */
.tips-section {
    padding: 100px 0;
    background: var(--white);
}

.tips-section .section-subtitle {
    max-width: 800px; /* Un poco más ancho para que quepa bien la introducción */
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.tip-card {
    background: var(--gray-100);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.tip-card:hover {
    background: var(--white);
    border-color: rgba(0, 102, 204, 0.2);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.tip-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--green);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.tip-card:hover .tip-icon {
    background: var(--green);
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
}

.tip-card h3 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    color: var(--blue-dark);
    margin-bottom: 15px;
}

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

/* =============================================
   RESPONSIVE DESIGN (MOBILE FIRST & OPTIMIZED)
   ============================================= */

/* 1. TABLETS Y PANTALLAS MEDIANAS (Hasta 1024px) */
@media (max-width: 1024px) {
    /* Ocultar menú normal y mostrar hamburguesa ANTES para evitar el aplastamiento */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 100px 30px 30px;
        gap: 20px;
        box-shadow: var(--shadow-xl);
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        color: var(--black) !important;
        text-shadow: none !important;
        font-size: 1.1rem;
    }
    
    .nav-cta {
        display: none !important; /* Forzamos ocultar el botón superior */
    }
    
    .hamburger {
        display: flex !important; /* Forzamos mostrar las rayas del menú */
        z-index: 1001;
    }

    /* Adaptar grillas a pantallas medianas */
    .why-us-grid, 
    .reservation-wrapper, 
    .footer-grid, 
    .req-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .why-us-image {
        order: -1;
    }
    
    .form-decoration {
        padding: 30px;
    }
}

/* 2. CELULARES (Hasta 768px) */
@media (max-width: 768px) {
    /* Ajustes estrictos del Hero para evitar amontonamiento */
    .hero-section {
        padding: 130px 20px 60px; /* Más espacio superior para que el header no tape el texto */
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .hero-stats {
        gap: 15px;
        flex-wrap: nowrap; /* Mantiene estadísticas en línea si caben */
    }
    
    .stat-item {
        flex: 1;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    /* FORZAR que los botones del Hero bajen a una sola columna */
    .hero-ctas {
        display: flex;
        flex-direction: column !important;
        width: 100%;
        gap: 16px;
    }
    
    .hero-ctas .btn {
        width: 100% !important;
        justify-content: center;
    }

    /* Reducir padding de todas las secciones para ahorrar espacio en móvil */
    .services-section, 
    .vehicles-section, 
    .requirements-section, 
    .why-us-section, 
    .reservation-section, 
    .testimonials-section, 
    .contact-section, 
    .faq-section, 
    .tips-section {
        padding: 60px 0;
    }

    /* Pasar las demás grillas a 1 columna */
    .form-row,
    .testimonials-grid,
    .services-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .reservation-form {
        padding: 30px 20px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    /* =============================================
       WIDGETS FLOTANTES MÓVIL (Posicionamiento Exacto)
       ============================================= */
    /* 1. Contenedor de WhatsApp */
    .wa-widget {
        bottom: 20px !important;
        right: 20px !important;
    }
    
    /* Botón interno de WhatsApp (NO lleva coordenadas, solo tamaño) */
    .wa-toggle-btn {
        width: 55px !important;
        height: 55px !important;
    }

    /* 2. Botón de Llamada (Independiente) */
    .call-widget {
        /* Matemáticas: 20px base + 55px botón WA + 15px espacio = 90px exactos */
        bottom: 90px !important; 
        right: 20px !important; /* Misma alineación derecha que WA */
        width: 55px !important;
        height: 55px !important;
        z-index: 9998 !important;
    }

    /* 3. Tamaño de los iconos en móvil */
    .call-widget i,
    .wa-toggle-btn i {
        font-size: 1.5rem !important; 
    }

    /* 4. Caja del Chat (Evita tapar el botón de llamada) */
    .wa-chat-box {
        width: calc(100vw - 40px) !important;
        right: 0 !important;
        bottom: 80px !important; 
        z-index: 10000 !important;
    }
}

/* =============================================
   UTILITY CLASSES & ANIMATIONS
   ============================================= */
.hidden {
    display: none !important;
}

[data-aos] {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-400);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-500);
}

::selection {
    background: var(--blue);
    color: var(--white);
}
