/* Estilos generales para el cuerpo de la página */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

/* Reset básico */
* { box-sizing: border-box; margin: 0; padding: 0; }

/* Estilos generales de la cabecera */
.header {
    background: #f7f7f7;
    width: 100%;
    font-family: 'Montserrat', Arial, sans-serif;
}

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

/* Logo */
.logo img {
    height: 160px;
    margin-right: 36px;
    vertical-align: middle;
}

/* Menú principal horizontal */
.nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav > ul > li {
    position: relative;
}

.nav a {
    text-decoration: none;
    color: #343868;
    font-weight: 400;
    font-size: 18px;
    padding: 8px 0;
    transition: color 0.2s;
    letter-spacing: 0.01em;
    background: none;
}

.nav > ul > li > a:hover,
.nav > ul > li > a:focus {
    color: #E02020;
}

.arrow {
    font-size: 12px;
    margin-left: 4px;
    color: #343868;
}

/* Botón destacado */
.btn-header {
    background: #E02020;
    color: #fff;
    font-weight: bold;
    border-radius: 18px;
    padding: 12px 36px;
    text-decoration: none;
    font-size: 18px;
    margin-left: 40px;
    transition: background 0.2s;
    letter-spacing: 0.02em;
    border: none;
    display: inline-block;
    box-shadow: none;
}

.btn-header:hover {
    background: #7a1e22;
}

/* ...otros estilos previos... */

/* Menús desplegables */
.dropdown-menu,
.dropdown-menu-right {
    display: none !important;
    position: absolute;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
    border-radius: 10px;
    z-index: 100;
    padding: 0;
    min-width: 240px;
    margin-top: 2px;
    flex-direction: column;
}

.dropdown:hover > .dropdown-menu,
.dropdown:focus-within > .dropdown-menu {
    display: flex !important;
}

.dropdown-menu li,
.dropdown-menu-right li {
    display: block;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-menu li:last-child,
.dropdown-menu-right li:last-child {
    border-bottom: none;
}

.dropdown-menu a,
.dropdown-menu-right a {
    display: block;
    color: #343868;
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 400;
    white-space: nowrap;
    background: #fff;
    transition: background 0.2s, color 0.2s;
    text-align: left;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus,
.dropdown-menu-right a:hover,
.dropdown-menu-right a:focus {
    background: #f7f7f7;
    color: #E02020;
}

/* Submenús a la derecha */
.dropdown-right {
    position: relative;
}

.dropdown-menu-right {
    display: none !important;
    left: 100%;
    top: 0;
    min-width: 180px;
    margin-left: 2px;
    z-index: 101;
}

.dropdown-right:hover > .dropdown-menu-right,
.dropdown-right:focus-within > .dropdown-menu-right {
    display: flex !important;
    flex-direction: column;
}

/* ...resto de tus estilos... */

/* Bandera idioma */
.flag {
    width: 22px;
    vertical-align: middle;
    margin-left: 2px;
    margin-right: 0;
    box-shadow: 0 0 1px #ccc;
    border-radius: 2px;
}

/* Responsive básico */
@media (max-width: 1100px) {
    .container { flex-direction: column; height: auto; }
    .btn-header { margin: 16px 0 0 0; }
    .nav ul { flex-wrap: wrap; gap: 12px; }
}

/* SECCIÓN HERO */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 40px auto 0 auto;
    padding: 0 32px;
    min-height: 480px;
    background: #fafafa;
    border-radius: 32px;
    box-sizing: border-box;
    position: relative;
}

.hero-content {
    flex: 1 1 50%;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.2rem;
    color: #343868;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 32px;
}

.hero-content p {
    font-size: 1.3rem;
    color: #343868;
    margin-bottom: 32px;
}

.hero-content .resaltado {
    color: #E02020;
    font-weight: 700;
}

.btn-hero {
    display: inline-block;
    background: #E02020;
    color: #fff;
    font-weight: bold;
    border-radius: 24px;
    padding: 16px 36px;
    font-size: 1.1rem;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: background 0.2s;
    border: none;
    margin-top: 8px;
}

.btn-hero:hover {
    background: #7a1e22;
}

.hero-image {
    flex: 1 1 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 380px;
    min-height: 340px;
}

.hero-bg {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 340px;
    height: 340px;
    z-index: 1;
    /* Si tienes un fondo azul aquí, cámbialo: */
}

.img-coche {
    position: relative;
    width: 540px;
    height: 400px;
    z-index: 2;
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        padding: 32px 12px;
        min-height: 0;
    }
    .hero-content, .hero-image {
        flex: 1 1 100%;
        min-width: 0;
        text-align: center;
    }
    .hero-bg {
        position: absolute;
        left: 50%;
        top: 0;
        transform: translateX(-50%);
        width: 240px;
        height: 240px;
    }
    .img-coche {
        width: 220px;
        height: 220px;
    }
}

/* SECCIÓN DATOS DESTACADOS */
.stats-full {
    width: 100vw;
    background: #343868;
    padding: 36px 0 28px 0;
    margin-left: 50%;
    transform: translateX(-50%);
    position: relative;
}

.stats-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 100px;
    max-width: 1400px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 220px;
}

.stat-num {
    color: #fff;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.stat-desc {
    color: #E02020;
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Responsive */
@media (max-width: 900px) {
    .stats-container {
        flex-direction: column;
        gap: 32px;
    }
    .stat-item {
        min-width: 0;
    }
}

/* SECCIÓN RESEÑAS */
.reviews-full {
    width: 100vw;
    background: #f4f4f4;
    padding: 38px 0 32px 0;
    margin-left: 50%;
    transform: translateX(-50%);
    position: relative;
}

.reviews-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 60px;
    max-width: 700px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.review-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 260px;
    flex: 1 1 0;
    height: 100%;
}

.review-stars {
    width: 180px;
    margin-bottom: 10px;
}

.review-text {
    color: #222;
    font-size: 1.1rem;
    margin-bottom: 10px;
    text-align: center;
}

.review-score {
    color: #343868;
    font-weight: bold;
}

.review-count {
    color: #222;
    font-weight: bold;
}

.review-logo {
    height: 32px;
    margin-top: 4px;
}

.review-logo.trustpilot {
    height: 28px;
}

.review-logo.google {
    height: 32px;
}

/* Responsive */
@media (max-width: 900px) {
    .reviews-container {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }
    .review-block {
        min-width: 0;
        width: 100%;
    }
}

/* SERVICIOS HERO */

.servicios-hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    max-width: 1400px;
    margin: 60px auto 0 auto;
    padding: 0 32px;
    min-height: 480px;
    background: #fff;
    border-radius: 32px;
    box-sizing: border-box;
    position: relative;
    gap: 40px;
}

.servicios-hero-content {
    flex: 1 1 55%;
    z-index: 2;
    padding-top: 32px;
}

.servicios-subtitulo {
    color: #E02020;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.servicios-titulo {
    font-size: 2.7rem;
    color: #343868;
    font-weight: 800;
    margin-bottom: 32px;
}

.servicios-lista {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 18px;
    margin-bottom: 24px;
}

.servicio-btn {
    border: 2px solid #343868;
    background: #fff;
    color: #343868;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 24px;
    padding: 12px 28px;
    margin: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s, color 0.2s, border 0.2s;
}

.servicio-btn:hover {
    background: #343868;
    color: #fff;
    border-color: #343868;
}

.banderas {
    font-size: 1.2em;
    margin-left: 6px;
}

.servicios-hero-form {
    flex: 1 1 45%;
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    min-width: 420px;
    min-height: 320px;
    height: 340px;
    width: 100%;
}

.form-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(52,56,104,0.75);
    border-radius: 20px;
    padding: 38px 32px 32px 32px;
    z-index: 2;
    box-sizing: border-box;
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-bg h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.form-bg p {
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.form-bg form {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.form-bg input[type="text"] {
    padding: 12px 18px;
    border-radius: 8px;
    border: none;
    font-size: 1rem;
    width: 180px;
    margin-bottom: 0;
}

.form-btns {
    display: flex;
    gap: 14px;
    width: 100%;
    justify-content: center;
    margin-top: 12px;
}

.btn-calcular {
    background: #E02020;
    color: #fff;
    font-weight: bold;
    border-radius: 24px;
    padding: 12px 28px;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-calcular:hover {
    background: #7a1e22;
}

.btn-info {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    font-weight: bold;
    border-radius: 24px;
    padding: 12px 28px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.btn-info:hover {
    background: #fff;
    color: #343868;
}

.form-fondo-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    z-index: 1;
    opacity: 0.55;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 1100px) {
    .servicios-hero {
        flex-direction: column;
        padding: 32px 12px;
        min-height: 0;
        gap: 32px;
    }
    .servicios-hero-content, .servicios-hero-form {
        flex: 1 1 100%;
        min-width: 0;
        text-align: center;
        padding-top: 0;
    }
    .servicios-hero-form {
        min-width: 0;
    }
}

/* SECCIÓN SELECCIÓN DE PAISES */

.pais-section {
    max-width: 1400px;
    margin: 60px auto 0 auto;
    padding: 0 32px 40px 32px;
    background: #fff;
    border-radius: 32px;
    box-sizing: border-box;
    text-align: center;
}

.pais-header {
    margin-bottom: 32px;
    padding-top: 32px;
}

.pais-subtitulo {
    color: #E02020;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 18px;
}

.pais-titulo {
    color: #343868;
    font-size: 2.3rem;
    font-weight: 800;
    margin-bottom: 28px;
}

.pais-botones {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.pais-btn {
    background: #f1f1f1;
    color: #343868;
    border: none;
    border-radius: 28px;
    padding: 18px 38px;
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    outline: none;
}

.pais-btn.active,
.pais-btn:focus {
    background: #343868;
    color: #fff;
}

.pais-btn img.flag-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    box-shadow: 0 0 2px #ccc;
}

.pais-imagenes {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 380px;
}

.pais-img {
    max-width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 4px 24px rgba(52,56,104,0.10);
    background: #fff;
}

/* Responsive */
@media (max-width: 900px) {
    .pais-section {
        padding: 0 8px 24px 8px;
    }
    .pais-titulo {
        font-size: 1.5rem;
    }
    .pais-imagenes {
        min-height: 180px;
    }
    .pais-img {
        border-radius: 14px;
    }
}

/* SECCIÓN SERVICIOS alineada y con colores corporativos */
.servicios-section {
    max-width: 100vw;
    background: #fff;
    border-radius: 0;
    margin-top: 50px;
    padding: 0;
    box-sizing: border-box;
}

.servicios-hero-header {
    display: flex;
    align-items: center; /* Cambiado para alinear verticalmente */
    justify-content: space-between;
    max-width: 1250px;
    margin: 48px auto 0 auto;
    padding: 50px 56px 48px 56px;
    width: 100%;
}

.servicios-hero-header .servicios-info {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.servicios-hero-header .servicios-subtitulo {
    color: #E02020;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 18px;
    display: block;
}

.servicios-hero-header .servicios-titulo {
    color: #343868;
    font-size: 2.7rem;
    font-weight: 800;
    margin: 0 0 18px 0;
    line-height: 1.1;
}

.servicios-hero-header .servicios-desc {
    color: #343868;
    font-size: 1.25rem;
    margin: 0;
    line-height: 1.5;
    font-weight: 400;
    align-self: flex-start;
}

.servicios-hero-header .servicios-desc strong {
    font-weight: 700;
    color: #E02020;
}

.servicios-hero-header .btn-servicios {
    background: #E02020;
    color: #fff;
    font-weight: bold;
    border-radius: 24px;
    padding: 14px 36px;
    font-size: 1.1rem;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: background 0.2s;
    border: none;
    margin: 0 0 0 40px;
    display: inline-block;
    /* align-self: flex-start; */
    white-space: nowrap;
}

.servicios-hero-header .btn-servicios:hover {
    background: #7a1e22;
}

@media (max-width: 900px) {
    .servicios-hero-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 32px 16px 0 16px;
    }
    .servicios-hero-header .btn-servicios {
        margin: 24px 0 0 0;
        align-self: stretch;
        width: 100%;
        text-align: center;
    }
    .servicios-hero-header .servicios-titulo {
        font-size: 2rem;
    }
}

/* Grid de servicios en servicios-section */
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    max-width: 1250px;
    margin: 48px auto 0 auto;
    padding: 0 56px 48px 56px;
}

.servicio-card {
    background: #f7f7f7;
    border-radius: 24px;
    box-shadow: 0 4px 16px rgba(52,56,104,0.07);
    padding: 36px 28px 32px 28px;
    text-align: center;
    transition: box-shadow 0.2s, transform 0.2s;
    border: 2px solid #fff;
}

.servicio-card:hover {
    box-shadow: 0 8px 32px rgba(224,32,32,0.10);
    border-color: #E02020;
    transform: translateY(-6px) scale(1.03);
}

.servicio-icono {
    font-size: 2.5rem;
    margin-bottom: 18px;
    display: block;
    color: #E02020;
}

.servicio-titulo {
    font-size: 1.3rem;
    color: #343868;
    font-weight: 700;
    margin-bottom: 12px;
}

.servicio-desc {
    color: #343868;
    font-size: 1.05rem;
    font-weight: 400;
    margin: 0;
}

/* Responsive */
@media (max-width: 900px) {
    .servicios-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}
@media (max-width: 600px) {
    .servicios-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

/* enlace del grid de servicios */

.ver-todos-servicios {
    text-align: center;
    margin: 32px 0 0 0;
}

.ver-todos-servicios a {
    color: #343868;
    font-weight: bold;
    text-decoration: underline;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
    transition: color 0.2s;
    display: inline-block;
}

.ver-todos-servicios a:hover {
    color: #E02020;
    text-decoration: underline;
}

/* CARRUSEL DE VEHÍCULOS */

/* Sección Vehículos - Carrusel con colores corporativos */
.vehiculos-section {
    background: #f4f4f4;
    padding: 48px 0 32px 0;
    text-align: center;
}

.vehiculos-subtitulo {
    color: #E02020;
    font-weight: bold;
    font-size: 1.1rem;
    letter-spacing: 0.04em;
    display: block;
    margin-bottom: 12px;
}

.vehiculos-titulo {
    color: #343868;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 32px;
    letter-spacing: -1px;
}

.vehiculos-carrusel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.carrusel-btn {
    background: none;
    border: none;
    font-size: 2.2rem;
    color: #343868;
    cursor: pointer;
    padding: 0 12px;
    transition: color 0.2s;
    user-select: none;
}
.carrusel-btn:hover {
    color: #E02020;
}


.carrusel-lista {
    display: flex;
    overflow: hidden;          /* ocultamos scroll manual y clones */
    scroll-behavior: smooth;   /* para scrollBy({behavior:"smooth"}) */
    gap: 24px;
    padding: 8px 0;
}

/* Track: flex horizontal, transiciones suaves */
.carrusel-track {
  display: flex;
  gap: 24px;               /* same gap you had */
  transition: transform 0.35s ease;
}


.carrusel-lista::-webkit-scrollbar {
    display: none;
}

.carrusel-item {
    background: #fff;
    border-radius: 16px;
    min-width: 180px;
    max-width: 180px;
    box-shadow: 0 4px 16px rgba(52,56,104,0.07);
    padding: 18px 12px 16px 12px;
    text-align: center;
    border: 3px solid #E02020;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.carrusel-item img {
    width: 120px;
    height: 120px;
    margin-bottom: 12px;
    border-radius: 8px;
    background: #fff;
}
.carrusel-tipo {
    color: #343868;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 6px;
    margin-top: 4px;
    display: block;
}
.carrusel-precio {
    color: #E02020;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0;
    display: block;
}

@media (max-width: 900px) {
    .carrusel-item {
        min-width: 150px;
        max-width: 150px;
        padding: 12px 6px 12px 6px;
    }
    .vehiculos-titulo {
        font-size: 1.4rem;
    }
}



