/* COMUNES DE LOS SHORTCODES */
.margins {
  margin-top: 60px;
  margin-bottom: 60px;
}
.wpo-section-area {
  margin-bottom: 2rem;
}
/* custom_slider_shortcode SHORTCODE */
.HeadHome {
  width: 100vw;
  max-width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}
/* SHORTCODE DE TESTIMONIAL */
.testimonialsShortcode {
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;

  width: 100vw;
  max-width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  /* background-color:var(--color2) ; */
  background-image: url("http://talleresyolicar.es/wp-content/uploads/2025/02/mujer-joven-probando-automovil-sala-exposicion-automoviles_1303-17399.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}
.testimonialsShortcode::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Fondo semitransparente */
  z-index: 0;
}
.testimonialsShortcode img {
  border-radius: none !important;
}
.reviewsGoogle img {
  width: 100px !important;
  height: 16px;
}
@media (max-width: 768px) {
  .testimonialsShortcode {
    height: auto; /* Ajustar la altura para contenido dinámico */
    padding: 20px; /* Añadir espacio alrededor del contenido */
    display: flex;
    flex-direction: column; /* Cambiar a diseño de columna */
    justify-content: center;
    align-items: stretch;
    width: 100%; /* Ajustar el ancho a la pantalla */
    max-width: 100%; /* No exceder el ancho máximo */
    position: relative;
    left: 0;
    right: 0;
    margin-left: 0;
    margin-right: 0;
    background-color: var(--color2); /* Mantener el color de fondo */
  }
  .testimonialsShortcode .container {
    padding: 0px;
  }
  .wpo-testimonials-section .wpo-testimonial-wrap .owl-dots {
    bottom: 0px;
  }
}
/* custom law */
@media (max-width: 768px) {
  .wpo-service-section .service-content-outer .service-data-img {
    height: 300px;
  }
}
/* estadisticas */
.wpo-fun-fact-section {
  text-align: center;
  position: relative;
  background-size: cover;
  z-index: 1;
  background-repeat: no-repeat;

  width: 100vw;
  max-width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 30px;
  margin-bottom: 30px;
  background-position: center center;
}
.wpo-fun-fact-section:before {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: var(--neutral2);
  content: "";
  opacity: 0.8;
  z-index: -1;
}

.wpo-fun-fact-section .wpo-fun-fact-grids .grid {
  width: 25%;
  float: left;
}
.wpo-fun-fact-section .wpo-fun-fact-grids .grid p {
  font-size: 1.8rem;
  color: #fff;
  margin: 0px;
}
.wpo-fun-fact-section .grid h3 {
  font-size: 60px;
  font-weight: 700;
  color: var(--color1);
  margin: 0 0 0 0.2rem;
  font-family: "Helvetica Neue", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
}
.odometer.odometer-auto-theme,
.odometer.odometer-theme-default {
  font-family: "Helvetica Neue", sans-serif;
}
@media (max-width: 1024px) {
  .wpo-fun-fact-section .wpo-fun-fact-grids .grid {
    width: 50%; /* Dos columnas */
    float: left;
  }

  .wpo-fun-fact-section .grid h3 {
    /*   font-size: 40px; */ /* Tamaño más pequeño */
  }

  .wpo-fun-fact-section .wpo-fun-fact-grids .grid p {
    font-size: 1.5rem;
  }
}

/* Estilos para pantallas pequeñas (menos de 768px) */
@media (max-width: 768px) {
  .wpo-fun-fact-section {
    padding: 20px 0; /* Más espacio para móviles */
  }

  .wpo-fun-fact-section .wpo-fun-fact-grids {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .wpo-fun-fact-section .wpo-fun-fact-grids .grid {
    width: 100%; /* Una columna */
    margin-bottom: 20px;
    float: none; /* Elimina el float */
  }

  .wpo-fun-fact-section .grid h3 {
    /*  font-size: 30px; */ /* Ajuste del tamaño */
  }

  .wpo-fun-fact-section .wpo-fun-fact-grids .grid p {
    font-size: 1.2rem; /* Ajuste del tamaño */
  }
}

/* Estilos para pantallas muy pequeñas (menos de 480px) */
@media (max-width: 480px) {
  .wpo-fun-fact-section .grid h3 {
    /*  font-size: 24px; */ /* Texto más pequeño */
  }

  .wpo-fun-fact-section .wpo-fun-fact-grids .grid p {
    font-size: 1rem; /* Más pequeño aún */
  }
}

/* servicios de 6 */
.wpo-service-text h4 a {
  color: var(--color1) !important;
  font-weight: 900 !important;
}
.wpo-section-title p {
  margin: 0px !important;
}

/* 🔹 Sección Principal */
.imageSeparator {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  width: 100vw;
  max-width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  padding: 4rem 2rem;
  height: 500px;
  box-sizing: border-box;
  margin-top: 60px;
  margin-bottom: 60px;
}
/* 🔹 Overlay de Fondo */
.imageSeparator::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Fondo semitransparente */
  z-index: 0;
}

/* 🔹 Contenedor del contenido */
.containerSeparator {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1200px;
}

/* 🔹 Contenido del Separador */
.separatorContent {
  position: relative;
  z-index: 2;
  max-width: 600px;
  text-align: center;
}

/* 🔹 Título */
.imageSeparator h3 {
  font-size: 3rem;
  font-family: var(--tipo1);
  color: var(--neutral1);
  margin-bottom: 1rem;
}

/* 🔹 Botón principal */
.ButtonContact {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
  gap: 20px;
}

.ButtonImageSeparatorOffers {
  background-color: var(--color1);
  color: var(--neutral1);
  font-size: 1.5rem;
  padding: 8px 24px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  transition: background 0.3s ease, transform 0.2s;
}

.ButtonImageSeparatorOffers:hover {
  background-color: var(--color2);
  transform: scale(1.05);
}

/* 🔹 Redes Sociales */
.ButtonContainer {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 1.5rem;
}

.ButtonContainer a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color1);
  color: white;
  padding: 10px;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  transition: background 0.3s ease, transform 0.2s;
}

.ButtonContainer a:hover {
  background: var(--color2);
  transform: scale(1.1);
}

.ButtonContainer i {
  font-size: 1.4rem;
}

/* 🔹 Responsividad */
@media (max-width: 768px) {
  .imageSeparator {
    height: auto;
    padding: 3rem 1.5rem;
  }

  .separatorContent {
    max-width: 100%;
    text-align: center;
  }

  .imageSeparator h3 {
    font-size: 2.5rem;
  }

  .ButtonImageSeparatorOffers {
    font-size: 1rem;
    padding: 10px 20px;
  }

  .ButtonContainer {
    flex-wrap: wrap;
    gap: 10px;
  }

  .ButtonContainer a {
    width: 40px;
    height: 40px;
  }
}

/* LOGO CARRUSEL */
.logo-carousel-area {
  padding: 40px 0;
  background-color: #f9f9f9;
  overflow: hidden;
  width: 100vw;
  max-width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.TituloNuestrosClientes {
  margin-bottom: 20px;
  font-size: 24px;
  color: #333;
}

.logo-carousel-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 100%;
}

.logo-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  white-space: nowrap; /* Asegura que las imágenes estén en línea */
  overflow: hidden;
}

.logo-item {
  flex: 0 0 auto;
  width: 150px; /* Ajusta el tamaño según tus necesidades */
  text-align: center;
}

.logo-image {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
  transition: transform 0.3s ease-in-out;
}

.logo-image:hover {
  transform: scale(1.1);
}

/* Form */
.customForm {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100vw;
  max-width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* 🔹 social_glasswork_section */
.socialGlasswork {
  position: relative;
  background-size: cover;
  background-position: center;
  width: 100vw;
  max-width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 4rem 2rem;
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
  margin-top: 60px;
  margin-bottom: 60px;
}

/* 🔹 Overlay de Fondo */
.socialGlasswork .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

/* 🔹 Contenedor del contenido */
.containerGlass {
  position: relative;
  z-index: 2;
  max-width: 600px;
  color: #fff;
}

/* 🔹 Título */
.containerGlass h4 {
  font-size: 2.8rem;
  font-family: var(--tipo1);
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--neutral1);
}

/* 🔹 Subtítulo */
.containerGlass p {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  color: var(--neutral1);
}

/* 🔹 Botones de Redes Sociales */
.socialButtons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 1rem;
}

.socialButtons a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #000;
  padding: 12px;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.6rem;
  transition: background 0.3s ease, transform 0.2s;
}

.socialButtons a:hover {
  background: var(--color1);
  color: #fff;
  transform: scale(1.1);
}

/* 🔹 Responsividad */
@media (max-width: 768px) {
  .socialGlasswork {
    height: auto;
    padding: 3rem 1.5rem;
  }

  .containerGlass {
    max-width: 100%;
    text-align: center;
  }

  .containerGlass h2 {
    font-size: 2.2rem;
  }

  .containerGlass p {
    font-size: 1.2rem;
  }

  .socialButtons a {
    width: 40px;
    height: 40px;
    font-size: 1.4rem;
  }
}
/* faqs */
.accordion-button {
  display: block !important;
}
/* CategoriesRelated */
/* Contenedor general de las tarjetas */
.related-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

/* Cada tarjeta individual */
.related-service-card {
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  text-align: center;
}

.related-service-card:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Enlace dentro de la tarjeta */
.related-service-card a {
  color: inherit; /* Mantiene el color de texto */
  text-decoration: none;
  display: block;
  padding: 0 1rem 1rem; /* Ajusta el padding a tu gusto */
}

/* Contenedor de la imagen destacada */
.related-service-img-wrapper {
  width: 100%;
  height: auto;
  overflow: hidden;
}

/* Imagen dentro de la tarjeta */
.related-service-img-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Título de la tarjeta */
.related-service-title {
  font-size: 1.1rem;
  margin: 1rem 0 0;
}

/* Encabezado de sección */
.related-services-heading {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #333;
}

/* custom_blog_section_shortcode*/
.itemCard{
    min-height: 581px   ;
}
.imageBlog {
  height: 228px;
  width: 100%;
}
.imageBlog img {
  height: 100%;
  object-fit: cover;
}
.wpo-blog-item{
    height: 100%;
}
.wpo-blog-content h3 a {
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Limita a 2 líneas */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}
.wpo-blog-content p {
  display: -webkit-box;
  -webkit-line-clamp: 3; /* Limita a 2 líneas */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}
.wpo-blog-section .wpo-blog-content .wpo-blog-content-top{
    height: 266px;
}