/* ===== VIN CONSULTATION SECTION ===== */
.vin-consultation {
    padding: 4rem 0;
    background-color: #ffffff;
}

.vin-consultation .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.vin-consultation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #000;
    margin-bottom: 2rem;
}

/* ===== FORMULARIO ===== */
.vin-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background-color: #fff;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #cc0000;
}

.required-mark {
    color: #cc0000;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    pointer-events: none;
}

/* ===== VIN INPUTS ===== */
.vin-group {
    margin-top: 1.5rem;
}

.vin-inputs {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-start;
}

.vin-char {
    color: #000000 !important;
    width: 3.5rem;
    height: 3.5rem;
    text-align: center;
    font-size: 1.3rem;
    font-weight: bold;
    border: 2px solid #ddd;
    border-radius: 8px;
    text-transform: uppercase;
    transition: border-color 0.3s ease;
    padding: 0;
    background-color: #fafafa;
}

.vin-char:focus {
    color: #000000 !important;
    background-color: #fff !important;
    outline: none;
    border-color: #cc0000 !important;
    box-shadow: 0 0 2px rgba(204, 0, 0, 0.2) !important;
}

.vin-char::placeholder {
    color: #999;
    font-weight: normal;
}    

.vin-char:focus {
    color: #000000;
    background-color: #fff;
    outline: none;
    border-color: #cc0000;
    box-shadow: 0 0 2px  rgba(204, 0, 0, 0.2);
}

.vin-char::selection{
    background-color: rgba(204, 0, 0, 0.3);
    color: #000000;
}

/* ===== VIN HELP ===== */
.vin-help {
    text-align: right;
    margin-top: -1rem;
}

.vin-help p {
    color: #666;
    font-size: 0.70rem;
}

.vin-help-link {
    color: #cc0000;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.vin-help-link:hover {
    color: #990000;
}

/* ===== BOTÓN SUBMIT ===== */
.btn-submit {
    padding: 1rem 2rem;
    background-color: #e0e0e0;
    color: #999;
    border: none;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: 600;
    cursor: not-allowed;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.btn-submit:not(:disabled) {
    background-color: #cc0000;
    cursor: pointer;
}

.btn-submit:hover:not(:disabled) {
    background-color: #990000;
}

/* ===== IMAGEN DEL VEHÍCULO ===== */
.vin-vehicle-image {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 2rem;
}

.vin-vehicle-image img {
    max-width: 100%;
    height: auto;
    width: 100%;
}

/* ===== INFORMACIÓN DEL VIN ===== */
.vin-info {
    text-align: left;
    padding: 3rem 0;
}

.vin-info h3 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #000;
    text-align: left;
}

.vin-info p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    max-width: 800px;
    margin: 0 0 3rem 0;
    text-align: left;
}

.vin-examples {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.vin-example-item {
    text-align: center;
}

.vin-example-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.vin-example-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #000;
    line-height: 1.4;
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: 4rem 0;
    background-color: #fff;
}

.faq-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: #cc0000;
    margin-bottom: 3rem;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #ddd;
    margin-bottom: 1rem;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #cc0000;
}

.faq-icon {
    color: #cc0000;
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 1.5rem;
}

.faq-answer p {
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .vin-consultation-content {
        grid-template-columns: 1fr;
    }
    
    .vin-examples {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .vin-inputs {
        gap: 0.3rem;
    }
    
    .vin-char {
        width: 2rem;
        height: 2rem;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .faq-title {
        font-size: 2rem;
    }
    
    .faq-question {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .vin-examples {
        grid-template-columns: 1fr;
    }
    
    .vin-char {
        width: 1.5rem;
        height: 1.5rem;
        font-size: 0.9rem;
    }
}/* ===== CAROUSEL VIN INFO ===== */
.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-wrapper {
    overflow: hidden;
    border-radius: 12px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 1rem;
}

.carousel-item {
    position: relative;
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.carousel-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 70%, transparent 100%);
}

.carousel-text h4 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.3;
    margin: 0;
    text-align:left;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* ===== CAROUSEL INDICATORS ===== */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background-color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.indicator:hover {
    background-color: #bbb;
}

.indicator.active {
    background-color: #cc0000;
    width: 40px;
    border-radius: 6px;
}

/* ===== RESPONSIVE CAROUSEL ===== */
@media (min-width: 768px) {
    .carousel-slide {
        min-width: 50%;
    }
    
    .carousel-item {
        max-width: 100%;
    }
}

@media (min-width: 1024px) {
    .carousel-slide {
        min-width: 33.333%;
    }
}

@media (min-width: 1280px) {
    .carousel-slide {
        min-width: 25%;
    }
    
    .carousel-track {
        transition: none;
    }
    
    .carousel-indicators {
        display: none;
    }
}