        :root {
            --primary-red: #d21125;
            --primary-red-dark: #a50e1e;
            --secondary-gray: #333333;
            --light-gray: #f5f5f5;
            --medium-gray: #b6bac0;
            --dark-gray: #00212d;
            --white: #ffffff;
            --black: #000000;
            --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            --transition: all 0.3s ease;
        }

        /* Fuente personalizada para el logo */
        @font-face {
            font-family: 'Loft Bolt Italic';
            src: url('https://fonts.cdnfonts.com/s/19795/LOFTBOLTITALIC.woff') format('woff');
            font-weight: normal;
            font-style: italic;
            font-display: swap;
        }

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

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: var(--secondary-gray);
            background-color: var(--white);
            scroll-behavior: smooth;
        }

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

        /* Header */
        header {
            background: var(--white);
            box-shadow: var(--shadow);
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            transition: var(--transition);
        }

        header.scrolled {
            padding: 5px 0;
            background: rgba(255, 255, 255, 0.95);
        }

        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 0;
        }

        .logo {
            font-family: 'Loft Bolt Italic', 'Segoe UI', sans-serif;
            font-size: 1rem;
            font-weight: bold;
            color: var(--white);
            display: flex;
            align-items: center;
            gap: 10px;
            background-color: var(--primary-red);
            padding: 0.5rem;
            border-radius: 5px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .logo i {
            font-size: 1rem;
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 1.5rem;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--secondary-gray);
            font-weight: 600;
            transition: var(--transition);
            position: relative;
            font-size: 1rem;
        }

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

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

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

        .whatsapp-btn {
            background: #25d366;
            color: var(--white);
            padding: 0.8rem 1.5rem;
            border-radius: 30px;
            text-decoration: none;
            font-weight: bold;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 1.1rem;
            box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
        }

        .whatsapp-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
            background: #20bd5a;
        }

        .mobile-toggle {
            display: none;
            background: transparent;
            border: none;
            font-size: 1.8rem;
            cursor: pointer;
            color: var(--secondary-gray);
            transition: var(--transition);
        }

        .mobile-toggle:hover {
            color: var(--primary-red);
        }

        /* Hero Section */
        .hero {
            color: var(--white);
            padding: 12rem 0 6rem;
            text-align: center;
            position: relative;
            overflow: hidden;
            background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1494976388531-d1058494cdd8?q=80&w=1470&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
        }

        .hero h1 {
            font-size: 3.5rem;
            margin-bottom: 1.5rem;
            font-weight: 800;
            position: relative;
            z-index: 2;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
            line-height: 1.2;
        }

        .hero p {
            font-size: 1.5rem;
            margin-bottom: 2.5rem;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
            position: relative;
            z-index: 2;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
            line-height: 1.4;
        }

        .cta-button {
            background: var(--primary-red);
            color: var(--white);
            padding: 1.2rem 2.5rem;
            border: none;
            border-radius: 50px;
            font-size: 1.2rem;
            font-weight: bold;
            cursor: pointer;
            transition: var(--transition);
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            position: relative;
            z-index: 2;
            box-shadow: 0 4px 12px rgba(210, 17, 37, 0.3);
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .cta-button:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(210, 17, 37, 0.4);
            background: var(--primary-red-dark);
        }

        /* Sección de Inventario con Carrusel */
        .inventory {
            padding: 6rem 0;
            background-color: var(--light-gray);
            position: relative;
        }

        .section-title {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 1.5rem;
            color: var(--secondary-gray);
            position: relative;
            font-weight: 700;
        }

        .section-title::after {
            content: '';
            display: block;
            width: 100px;
            height: 5px;
            background: var(--primary-red);
            margin: 1.5rem auto;
            border-radius: 3px;
        }

        .section-subtitle {
            text-align: center;
            font-size: 1.2rem;
            color: var(--secondary-gray);
            margin-bottom: 3rem;
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
            line-height: 1.6;
        }

        /* Estilos para el sistema de categorías */
        .category-tabs {
            display: flex;
            justify-content: center;
            margin-bottom: 3rem;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .tab-button {
            padding: 0.8rem 1.8rem;
            background: var(--white);
            border: 2px solid var(--primary-red);
            border-radius: 30px;
            cursor: pointer;
            font-weight: 600;
            transition: var(--transition);
            color: var(--primary-red);
            font-size: 1rem;
        }

        .tab-button.active {
            background: var(--primary-red);
            color: var(--white);
        }

        .tab-button:not(.active):hover {
            background: rgba(210, 17, 37, 0.1);
        }

        /* Estilos para los carruseles */
        .carousel-container {
            position: relative;
            overflow: hidden;
            margin: 0 auto;
            width: 100%;
            padding: 0 3rem;
        }

        .carousel {
            display: flex;
            gap: 2rem;
            transition: transform 0.5s ease;
            padding: 2rem 0;
        }

        .carousel-item {
            min-width: calc(33.333% - 1.33rem);
            flex: 0 0 auto;
        }

        .carousel-prev, .carousel-next {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: var(--primary-red);
            color: var(--white);
            border: none;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            cursor: pointer;
            z-index: 10;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
            transition: var(--transition);
        }

        .carousel-prev {
            left: 0;
        }

        .carousel-next {
            right: 0;
        }

        .carousel-prev:hover, .carousel-next:hover {
            background: var(--primary-red-dark);
            transform: translateY(-50%) scale(1.1);
        }

        .carousel-prev:disabled, .carousel-next:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: translateY(-50%);
        }

        /* Tarjetas de autos */
        .car-card {
            background: var(--white);
            border-radius: 15px;
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: var(--transition);
            display: flex;
            flex-direction: column;
            height: 100%;
            border: 1px solid rgba(0, 0, 0, 0.1);
        }

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

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

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

        .car-info {
            padding: 1.8rem;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .car-price {
            font-size: 1.8rem;
            font-weight: bold;
            color: var(--primary-red);
            margin-bottom: 1rem;
        }

        .car-title {
            font-size: 1.4rem;
            font-weight: 700;
            margin-bottom: 0.8rem;
            line-height: 1.3;
        }

        .car-specs {
            color: var(--medium-gray);
            margin-bottom: 1.5rem;
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
            font-size: 0.95rem;
        }

        .car-specs span {
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .car-specs i {
            font-size: 1rem;
            color: var(--primary-red);
        }

        .quote-btn {
            background: var(--primary-red);
            color: var(--white);
            border: none;
            padding: 1rem 1.5rem;
            border-radius: 30px;
            cursor: pointer;
            font-weight: bold;
            width: 100%;
            transition: var(--transition);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            margin-top: auto;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-size: 0.95rem;
        }

        .quote-btn:hover {
            background: var(--primary-red-dark);
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(210, 17, 37, 0.3);
        }

        /* Sección de Cotizador - Corregida */
        .calculator {
            padding: 6rem 0;
            background-color: var(--white);
        }

        .calc-container {
            background: var(--white);
            padding: 3rem;
            border-radius: 15px;
            box-shadow: var(--shadow);
            max-width: 900px;
            margin: 2rem auto;
            border: 1px solid rgba(0, 0, 0, 0.1);
        }

        .form-group {
            margin-bottom: 1.8rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.8rem;
            font-weight: 600;
            color: var(--secondary-gray);
            font-size: 1.1rem;
        }

        .form-group input, .form-group select {
            width: 100%;
            padding: 1rem;
            border: 2px solid var(--medium-gray);
            border-radius: 8px;
            font-size: 1rem;
            transition: var(--transition);
            background: var(--white);
            appearance: none; /* Elimina estilos nativos del select */
        }

        /* Estilo personalizado para el select */
        .form-group select {
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23d21125' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 1rem center;
            background-size: 16px;
            padding-right: 3rem;
        }

        .form-group input:focus, .form-group select:focus {
            outline: none;
            border-color: var(--primary-red);
            box-shadow: 0 0 0 3px rgba(210, 17, 37, 0.1);
        }

        .help-text {
            display: block;
            margin-top: 0.5rem;
            font-size: 0.85rem;
            color: var(--medium-gray);
        }

        .calc-result {
            background: var(--light-gray);
            padding: 2rem;
            border-radius: 10px;
            margin-top: 2rem;
            border: 1px solid rgba(0, 0, 0, 0.05);
        }

        /* Sección de Agendar Cita - Corregida */
        .calendar-section {
            padding: 6rem 0;
            background-color: var(--light-gray);
        }

        .calendar-container {
            background: var(--white);
            padding: 3rem;
            border-radius: 15px;
            box-shadow: var(--shadow);
            max-width: 800px;
            margin: 0 auto;
            border: 1px solid rgba(0, 0, 0, 0.1);
        }

        .calendar-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
        }

        .calendar-nav {
            display: flex;
            gap: 1rem;
        }

        .calendar-nav button {
            background: var(--primary-red);
            color: var(--white);
            border: none;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
        }

        .calendar-nav button:hover {
            background: var(--primary-red-dark);
        }

        .current-month {
            font-size: 1.5rem;
            font-weight: 600;
            color: var(--secondary-gray);
        }

        .calendar-grid {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 1px;
            background: #e2e8f0;
            margin-bottom: 2rem;
        }

        .calendar-day-header {
            background: var(--primary-red);
            color: var(--white);
            padding: 1rem;
            text-align: center;
            font-weight: bold;
        }

        .calendar-day {
            background: var(--white);
            padding: 1rem;
            text-align: center;
            min-height: 80px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            cursor: pointer;
            transition: var(--transition);
            position: relative;
        }

        .calendar-day.available {
            background: var(--light-gray);
            color: var(--primary-red);
            font-weight: bold;
        }

        .calendar-day.available:hover {
            background: rgba(210, 17, 37, 0.1);
        }

        .calendar-day.available::after {
            content: '';
            position: absolute;
            bottom: 8px;
            left: 50%;
            transform: translateX(-50%);
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--primary-red);
        }

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

        .time-slot {
            padding: 0.8rem;
            background: var(--light-gray);
            border-radius: 8px;
            text-align: center;
            cursor: pointer;
            transition: var(--transition);
            border: 2px solid transparent;
            font-weight: 500;
        }

        .time-slot:hover {
            border-color: var(--primary-red);
        }

        .time-slot.selected {
            background: var(--primary-red);
            color: var(--white);
        }

        .test-drive-form {
            margin-top: 2rem;
        }

        /* Sección de Servicios */
        .services {
            padding: 6rem 0;
            background-color: var(--secondary-gray);
            color: var(--white);
            position: relative;
            overflow: hidden;
        }

        .services::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('https://images.unsplash.com/photo-1565513749252-6557b9ebf802?q=80&w=1587&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
            background-size: cover;
            background-position: center;
            opacity: 0.15;
            z-index: 0;
        }

        .services .section-title {
            color: var(--white);
            position: relative;
            z-index: 1;
        }

        .services .section-title::after {
            background: var(--white);
        }

        .services .section-subtitle {
            color: rgba(255, 255, 255, 0.9);
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
            position: relative;
            z-index: 1;
        }

        .service-card {
            background: rgba(255, 255, 255, 0.9);
            padding: 2.5rem;
            border-radius: 15px;
            text-align: center;
            transition: var(--transition);
            display: flex;
            flex-direction: column;
            height: 100%;
            color: var(--secondary-gray);
            border: 1px solid rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(5px);
        }

        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
            background: var(--white);
        }

        .service-icon {
            width: 90px;
            height: 90px;
            background: var(--primary-red);
            border-radius: 50%;
            margin: 0 auto 1.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2.2rem;
            color: var(--white);
            transition: var(--transition);
        }

        .service-card:hover .service-icon {
            transform: rotate(15deg) scale(1.1);
        }

        .service-card h3 {
            margin-bottom: 1.2rem;
            font-size: 1.6rem;
            color: var(--primary-red);
        }

        .service-card p {
            margin-bottom: 1.8rem;
            flex-grow: 1;
            line-height: 1.6;
        }

        .service-card .cta-button {
            align-self: center;
            background: var(--secondary-gray);
            color: var(--white);
        }

        .service-card .cta-button:hover {
            background: var(--black);
        }

        /* Sección de Contacto */
        .contact {
            padding: 6rem 0;
            background-color: var(--secondary-gray);
            color: var(--white);
            position: relative;
        }

        .contact::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('https://images.unsplash.com/photo-1726128910468-c9d673ff3164?q=80&w=1587&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
            background-size: cover;
            background-position: center;
            opacity: 0.1;
            z-index: 0;
        }

        .contact .section-title {
            color: var(--white);
            position: relative;
            z-index: 1;
        }

        .contact .section-title::after {
            background: var(--white);
        }

        .contact .section-subtitle {
            color: rgba(255, 255, 255, 0.9);
        }

        .contact-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            margin-top: 3rem;
            position: relative;
            z-index: 1;
        }

        .contact-info {
            background: var(--primary-red);
            color: var(--white);
            padding: 3rem;
            border-radius: 15px;
            display: flex;
            flex-direction: column;
            box-shadow: var(--shadow);
        }

        .contact-info h3 {
            font-size: 2rem;
            margin-bottom: 2rem;
            position: relative;
            padding-bottom: 1.5rem;
            font-family: 'Loft Bolt Italic', sans-serif;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .contact-info h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 80px;
            height: 4px;
            background: var(--white);
            border-radius: 2px;
        }

        .contact-info p {
            margin-bottom: 1.5rem;
            display: flex;
            gap: 12px;
            align-items: flex-start;
            line-height: 1.6;
        }

        .contact-info p i {
            font-size: 1.3rem;
            min-width: 24px;
            color: var(--white);
        }

        .contact-info a {
            color: var(--white);
            text-decoration: none;
            transition: var(--transition);
        }

        .contact-info a:hover {
            text-decoration: underline;
        }

        .map-placeholder, .mercado-libre-placeholder {
            background: rgba(255, 255, 255, 0.1);
            padding: 2rem;
            border-radius: 8px;
            margin: 1.5rem 0;
            text-align: center;
            border: 2px dashed rgba(255, 255, 255, 0.2);
        }

        .contact-form {
            background: var(--white);
            padding: 3rem;
            border-radius: 15px;
            box-shadow: var(--shadow);
            color: var(--secondary-gray);
        }

        .contact-form h3 {
            font-size: 2rem;
            margin-bottom: 2rem;
            position: relative;
            padding-bottom: 1.5rem;
            color: var(--primary-red);
        }

        .contact-form h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 80px;
            height: 4px;
            background: var(--primary-red);
            border-radius: 2px;
        }

        textarea {
            width: 100%;
            padding: 1rem;
            border: 2px solid var(--medium-gray);
            border-radius: 8px;
            font-size: 1rem;
            transition: var(--transition);
            font-family: inherit;
            min-height: 150px;
            resize: vertical;
        }

        textarea:focus {
            outline: none;
            border-color: var(--primary-red);
            box-shadow: 0 0 0 3px rgba(210, 17, 37, 0.1);
        }

        /* Footer */
        footer {
            background: var(--black);
            color: var(--white);
            text-align: center;
            padding: 4rem 0 2rem;
            position: relative;
        }

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

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

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

        .social-links a:hover {
            background: var(--primary-red);
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(210, 17, 37, 0.3);
        }

        footer p {
            margin-bottom: 0.8rem;
            line-height: 1.6;
        }

        footer p:first-child {
            font-size: 1.1rem;
            font-weight: 600;
        }

        /* Responsive Design */
        @media (max-width: 1200px) {
            .carousel-item {
                min-width: calc(50% - 1rem);
            }
        }

        @media (max-width: 992px) {
            .contact-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
            
            .hero h1 {
                font-size: 3rem;
            }
            
            .section-title {
                font-size: 2.2rem;
            }
            
            .carousel-container {
                padding: 0 2rem;
            }
        }

        @media (max-width: 768px) {
            .mobile-toggle {
                display: block;
            }
            
            .nav-links {
                position: fixed;
                top: 80px;
                left: 0;
                right: 0;
                background: var(--white);
                flex-direction: column;
                padding: 2rem;
                box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
                gap: 1.5rem;
                transform: translateY(-150%);
                transition: var(--transition);
                z-index: 999;
            }
            
            .nav-links.active {
                transform: translateY(0);
            }
            
            .hero {
                padding: 9rem 0 4rem;
            }
            
            .hero h1 {
                font-size: 2.5rem;
            }
            
            .hero p {
                font-size: 1.2rem;
            }
            
            .section-title {
                font-size: 2rem;
            }
            
            .carousel-item {
                min-width: 100%;
            }
            
            .carousel-container {
                padding: 0 1rem;
            }
            
            .carousel-prev, .carousel-next {
                width: 40px;
                height: 40px;
                font-size: 1rem;
            }
            
            .calendar-container,
            .calc-container,
            .contact-form,
            .contact-info {
                padding: 2rem;
            }
        }

        @media (max-width: 576px) {
            .logo {
                font-size: 1.5rem;
                padding: 0.5rem 1rem;
            }
            
            .hero {
                padding: 8rem 0 3rem;
            }
            
            .hero h1 {
                font-size: 2rem;
            }
            
            .hero p {
                font-size: 1.1rem;
            }
            
            .section-title {
                font-size: 1.8rem;
            }
            
            .section-subtitle {
                font-size: 1rem;
            }
            
            .cta-button {
                padding: 1rem 2rem;
                font-size: 1rem;
            }
            
            .category-tabs {
                justify-content: flex-start;
                overflow-x: auto;
                padding-bottom: 1rem;
                -webkit-overflow-scrolling: touch;
                scrollbar-width: thin;
            }
            
            .tab-button {
                padding: 0.6rem 1.5rem;
                font-size: 0.9rem;
                white-space: nowrap;
            }
            /* Correcciones específicas para iOS */
@supports (-webkit-touch-callout: none) {
  .car-card {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 400px;
  }
  
  .car-image {
    height: 200px;
    flex-shrink: 0;
  }
  
  .car-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  
  .car-info {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  
  .car-specs {
    flex: 1;
  }
  
  .carousel-item {
    min-width: calc(100% - 20px) !important;
    margin: 0 10px;
  }
  
  /* Ajustar el carrusel para iOS */
  .carousel {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  
  .carousel-item {
    scroll-snap-align: start;
  }
}
  /* Ajustes para dispositivos móviles */
@media (max-width: 768px) {
  .carousel-item {
    min-width: calc(100% - 20px) !important;
    margin: 0 10px;
  }
  
  .car-image {
    height: 200px;
  }
  
  .car-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  
  /* Mejorar el desplazamiento táctil en iOS */
  .carousel {
    -webkit-overflow-scrolling: touch;
    overflow-scrolling: touch;
  }
}

/* Corrección específica para Safari iOS */
@supports (-webkit-touch-callout: none) {
  .car-card {
    transform: translateZ(0); /* Activar aceleración por hardware */
  }
  
  .car-image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
  }
        }