/* 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;
}
.slide-inner {
  position: relative;
  overflow: hidden;
}
.slide-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.slide-inner .container-fluid {
  position: relative;
  z-index: 3;
}
.wpo-hero-slider .slide-inner:before{
  z-index: 2;
  background:#0000005c;
}
.wpo-hero-slider, .static-hero, .wpo-hero-slider-s2{
  max-height: 500px;
  margin-top: 90px;
}
/* .page-wrap.padding-default {
  margin-top: -22px;
} */
@media (max-width: 768px) {
  .page-wrap.padding-default {
    margin-top: 0px;
  }
  .wpo-hero-slider, .static-hero, .wpo-hero-slider-s2{
  margin-top: 0px;
}
}
/* 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 */

.wpo-service-section-s2 {
  padding: 40px 0 80px;
}
.wpo-service-section-s2 .row > div {
  margin: 10px 0px;
}
.wpo-service-section-s2 .wpo-service-item {
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 14px;
  text-align: left;
  padding: 28px 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.wpo-service-item .wpo-service-icon {
  text-align: center;
  margin-bottom: 18px;
}

.wpo-service-item .wpo-service-icon .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f7f7f7;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  color: #222;
  font-size: 1.8rem;
  transition: background 0.3s ease, color 0.3s ease;
}

.wpo-service-item .wpo-service-text h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 10px;
  line-height: 1.4;
}

.wpo-service-item .wpo-service-text p {
  font-size: 0.95rem;
  color: #555;
  margin: 0;
  line-height: 1.5;
}

.wpo-service-section .service-data-img {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.wpo-service-section .service-data-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* recorta proporcionalmente sin deformar */
  object-position: center; /* centra la imagen */
  display: block;
  border-radius: 0; /* opcional, por si tu tema aplica bordes */
}
/* === Responsive === */
@media (max-width: 992px) {
  .wpo-service-item {
    padding: 22px 20px;
  }
}

@media (max-width: 768px) {
  .wpo-service-item {
    text-align: center;
  }
  .wpo-service-item .wpo-service-text h4 {
    font-size: 1rem;
  }
  .wpo-service-item .wpo-service-icon .icon {
    width: 58px;
    height: 58px;
    font-size: 1.6rem;
  }
}

@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: #000000ad;
  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 .numer {
  font-size: 60px !important;
  font-weight: 700;
  color: var(--neutro1);
  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;
}
.wpo-about-section .order1 .wpo-about-content {
  padding-right: 50px !important;
  padding-left: 0px !important;
}
@media (max-width: 1024px) {
  .wpo-fun-fact-section .wpo-fun-fact-grids .grid {
    width: 50%;
    float: left;
  }

  .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: 24px 0;
  }

  .wpo-fun-fact-section .wpo-fun-fact-grids {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 columnas */
    gap: 0;
    float: none;
  }

  .wpo-fun-fact-section .wpo-fun-fact-grids .grid {
    width: 100%;
    float: none;
    padding: 16px 8px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  /* Separador vertical entre columnas */
  .wpo-fun-fact-section .wpo-fun-fact-grids .grid:nth-child(odd) {
    border-right: 1px solid rgba(255,255,255,0.1);
  }

  .wpo-fun-fact-section .grid .numer {
    font-size: 36px !important;
  }

  .wpo-fun-fact-section .wpo-fun-fact-grids .grid p {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .wpo-fun-fact-section .grid .numer {
    font-size: 30px !important;
  }

  .wpo-fun-fact-section .wpo-fun-fact-grids .grid p {
    font-size: 0.8rem;
  }
}

/* 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(--neutro1);
  margin-bottom: 1rem;
}

/* 🔹 Botón principal */
.ButtonContact {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
  gap: 20px;
}

.ButtonImageSeparatorOffers {
  background-color: var(--color2);
  color: var(--neutro1);
  font-size: 1.5rem;
  padding: 8px 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  transition: background 0.3s ease, transform 0.2s;
}

.ButtonImageSeparatorOffers:hover {
  background-color: var(--color3);
}

/* 🔹 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(--color2);
  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(--neutro1);
}

/* 🔹 Subtítulo */
.containerGlass p {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  color: var(--neutro1);
}

/* 🔹 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;
}
.title_faqs {
  margin-bottom: 20px !important;
}
@media (max-width: 768px) {
  .theme-accordion .accordion .accordion-body p {
    font-size: 14px !important;
  }
}

/* CategoriesRelated – NUEVO DISEÑO PREMIUM */

/* Contenedor general */
.related-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
  padding: 0.5rem;
}

/* Tarjeta individual */
.related-service-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e7e7e7;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.04);
}

.related-service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

/* Enlace completo clickable */
.related-service-card a {
  text-decoration: none;
  display: block;
  color: inherit;
}

/* Imágenes */
.related-service-img-wrapper {
  width: 100%;
  height: 190px;
  overflow: hidden;
  border-bottom: 1px solid #eaeaea;
}

.related-service-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.related-service-card:hover img {
  transform: scale(1.07);
}

/* Título */
.related-service-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: #222;
  margin: 1rem 0 0.6rem;
  text-align: center;
  padding: 0 1rem;
  line-height: 1.3;
  min-height: 45px;
}

/* Encabezado */
.related-services-heading {
  font-size: 1.8rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  color: #111;
  text-transform: none;
  letter-spacing: -0.5px;
}

/* EFECTO SUTIL DE HOVER DEL TITULO */
.related-service-card:hover .related-service-title {
  color: #b30000; /* tono vino taurino elegante */
}

/* custom features */
/* ==== Bloque de características taurinas ==== */
.taurina-features {
  width: 100%;
  background: #fff;
 /*  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 40px 0; */
}

.taurina-features__container {
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 20px;
}

.taurina-feature {
  flex: 1 1 300px;
  background: #fff;
  border-radius: 12px;
  text-align: center;
  padding: 20px;
  transition: all 0.3s ease;
  border: 1px solid #eaeaea;
}

.taurina-feature:hover {
  background: #fafafa;
  transform: translateY(-4px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.taurina-feature__icon {
  font-size: 2.2rem;
  color: #2e2e2e;
  margin-bottom: 10px;
}

.taurina-feature__text h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: #111;
}

.taurina-feature__text p {
  font-size: 0.95rem;
  color: #666;
  margin: 0;
}

/* ==== Responsive ==== */
@media (max-width: 768px) {
  .taurina-features__container {
    flex-direction: column;
    align-items: center;
  }
  .taurina-feature {
    width: 100%;
    flex: auto;
  }
}
