body {
  background-color: #eaf0fa;
}

body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('/images/icons/michelin.png') no-repeat right center;
  background-size: 500px;
  opacity: 0.18; /* controla la transparencia */
  z-index: -1; /* siempre detrás del contenido */
}

/* titles.css */
h1 {
  font-size: 2.2rem; /* más grande */
  font-weight: 700;
  color: #183a80; /* azul corporativo */
  margin-bottom: 15px;
  text-align: left;
}

p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #333333;
  text-align: justify;
  max-width: 800px;
}

section {
  padding: 50px 0;
  min-height: 100vh;
  margin-top: 65px;
}

.navbar .nav-link {
  font-size: 1.5rem;
  font-weight: 500;
  color: #fff;
  transition: color 0.8s ease;
}

.navbar .nav-link:hover {
  color: #ffdd58;
  transform: scale(1.1);
}

.navbar img {
  transition: transform 0.4s ease;
}

.navbar img:hover {
  transform: scale(1.2);
}

.navbar-toggler {
  border-color: #fff;
}

.navbar-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,1)' stroke-width='2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* =========================
   PROMOCIONES (solo esta sección)
   ========================= */

#promociones {
  padding: 70px 15px 40px; /* antes lo tenías global en section, ahora solo aquí */
}

/* Contenedor Swiper */
#promociones .promo-swiper {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background-color: #fff;
}

/* Altura estable del carrusel */
#promociones .promo-swiper .swiper-slide {
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
}

/* Imágenes */
#promociones .promo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #fff;
}

/* =========================
   EFECTO "CENTRO DESTACADO"
   (solo para el carrusel SINGLE)
   ========================= */

#promociones .promo-swiper-single{
  overflow: hidden;
  max-width: 1100px;   /* reduce el “aire blanco” en pantallas grandes */
  margin: 0 auto;
}

/* Laterales: visibles, pero no compiten */
#promociones .promo-swiper-single .swiper-slide{
  transition: transform 240ms ease, opacity 240ms ease, filter 240ms ease;
  transform: scale(0.92);
  opacity: 0.55;
  filter: grayscale(0.15) brightness(0.95);
}

/* Centro: protagonista */
#promociones .promo-swiper-single .swiper-slide-active{
  transform: scale(1);
  opacity: 1;
  filter: none;
}

/* Vecinos: un poco más fuertes que el resto */
#promociones .promo-swiper-single .swiper-slide-prev,
#promociones .promo-swiper-single .swiper-slide-next{
  transform: scale(0.95);
  opacity: 0.72;
  filter: grayscale(0.10) brightness(0.98);
}

/* En móvil: solo 1 slide, sin atenuar */
@media (max-width: 767.98px){
  #promociones .promo-swiper-single{
    max-width: 100%;
  }
  #promociones .promo-swiper-single .swiper-slide{
    transform: scale(1);
    opacity: 1;
    filter: none;
  }
}



/* =========================
   Paginación más abajo (que no tape texto)
   ========================= */
#promociones .promo-pagination-single{
  position: static;      /* la saca de encima de la imagen */
  margin-top: 12px;
  text-align: center;
}


/* =========================
   BLOQUE DE TEXTO REUBICADO
   ========================= */

#promociones .promo-info {
  max-width: 900px;
  margin: 0 auto;
  z-index: 5;
  border-radius: 30px;
  background-color: rgba(0, 0, 0, 0.6);
}

#promociones .promo-info p {
  color: #fff;
}

/* =========================
   BOTÓN (igual que lo tenías)
   ========================= */

#promociones .btn-cotizar {
  background-color: #183a80;
  color: #ffffff;
  border: 2px solid #ffdd58;
}

#promociones .btn-cotizar:hover {
  background-color: #ffdd58;
  color: #183a80;
  border-color: #183a80;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 991.98px) {
  #promociones {
    padding: 55px 15px 35px;
  }

  #promociones .promo-swiper .swiper-slide {
    height: 340px;
  }
}

@media (max-width: 767.98px) {
  #promociones .promo-info {
    font-size: 0.95rem;
  }

  /* En tablets/móvil, menos efecto para priorizar lectura del texto en imagen */
  #promociones .promo-swiper-single .swiper-slide{
    transform: scale(0.96);
    opacity: 0.75;
  }
}

@media (max-width: 575.98px) {
  #promociones {
    padding: 45px 12px 30px;
  }

  #promociones .promo-swiper .swiper-slide {
    height: 280px;
  }

  #promociones .promo-info {
    border-radius: 22px;
    text-align: center;
  }

  /* En móvil, casi sin opacidad lateral para que no distraiga */
  #promociones .promo-swiper-single .swiper-slide{
    transform: scale(0.98);
    opacity: 0.85;
  }
}

.imagen-llantas {
  margin-right: -40px;
}

#llantas p {
  margin-top: 0;
}

.btn-michelin {
  background-color: #183a80; /* azul corporativo */
  color: #ffffff;
  border: 2px solid #ffdd58; /* borde amarillo */
  font-weight: 600;
  transition: all 0.3s ease-in-out;
}

.btn-michelin:hover {
  background-color: #ffdd58; /* amarillo */
  color: #183a80; /* texto azul */
  border: 2px solid #183a80;
}

.video-container {
  width: 60%;
  max-width: 600px;  /* tamaño máximo en escritorio */
  margin: 0 auto;      /* centrado */
}

.video-container video {
  width: 100%;
  height: auto;   /* permitido gracias a aspect-ratio auto */
  border-radius: 10px;
  display: block;
}

/* Asegura que todas las imágenes se alineen a la izquierda */
.brand-logo {
  object-fit: contain;
  max-height: 100px;
}

.servicio-reducido {
  max-height: 180px;
  object-fit: cover;
}

#verMasBtn, #verMenosBtn {
  background-color: #ffdd58; /* amarillo */
  color: #183a80; /* texto azul */
  border: none;
}

#verMasBtn:hover, #verMenosBtn:hover {
  background-color: #183a80;
  color: #ffffff;
  border: 2px solid #ffdd58;
}

.servicio-completo {
  max-height: 140px;
  object-fit: cover;
}

.map-responsive {
  overflow: hidden;
  padding-bottom: 56.25%; /* Proporción 16:9 */
  position: relative;
  height: 0;
}

.map-responsive iframe {
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  position: absolute;
}

/* footer.css */
footer {
  background-color: #183a80;
  color: #f7f7f7;
}

footer a {
  color: #ffdd58;
}

footer a:hover {
  color: #ffffff;
}

/* =========================
   SECCIÓN: HERRAMIENTAS + COMPRESOR
   ========================= */

#herramientas.tools-section{
  position: relative;
  padding: 70px 15px 50px;
}

/* Área segura para no "invadir" al muñeco en escritorio */
@media (min-width: 992px){
  #herramientas .container{
    padding-right: 160px; /* ajusta si quieres más/menos espacio para el muñeco */
  }
}

/* HERO */
#herramientas .tools-hero{
  margin-bottom: 30px;
}

/* Badge destacado */
#herramientas .tools-badge{
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: #ffdd58;
  color: #183a80;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Títulos */
#herramientas .tools-title{
  font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem);
  font-weight: 800;
  color: #0f1f3f;
}

#herramientas .tools-subtitle{
  color: #2b3b57;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-top: 10px;
}

/* Bullets */
#herramientas .tools-bullets{
  margin: 16px 0 22px;
  padding-left: 18px;
  color: #1f2f4a;
}

#herramientas .tools-bullets li{
  margin-bottom: 8px;
}

/* CTA */
#herramientas .tools-cta{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* ===== AJUSTE BOTONES HERO (para que queden como los demás) ===== */

/* Botón principal del HERO (usa tu .btn-cotizar global) */
#herramientas .tools-cta .btn-cotizar{
  display: inline-block;
  font-weight: 600;
  padding: 8px 12px;      /* igual que tools-card-link */
  border-radius: 12px;    /* igual que tools-card-link */
}

/* Botón secundario del HERO (antes era link subrayado) */
#herramientas .tools-link{
  background-color: #183a80;
  display: inline-block;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  border: 2px solid #ffdd58;
  padding: 8px 12px;      /* igual que tools-card-link */
  border-radius: 12px;    /* igual que tools-card-link */
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

#herramientas .tools-link:hover{
  background: #ffdd58;
  color: #183a80;
  border-color: #183a80;
}

/* Imagen del compresor (card grande) */
#herramientas .tools-media-card{
  background: #ffffff;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  padding: 18px;
}

#herramientas .tools-hero-img{
  width: 100%;
  height: 420px;
  object-fit: contain; /* como viene en blanco, se ve limpio */
  display: block;
}

/* Head del grid */
#herramientas .tools-grid-wrap{
  margin-top: 10px;
}

#herramientas .tools-grid-title{
  font-weight: 800;
  color: #0f1f3f;
  margin-bottom: 6px;
}

#herramientas .tools-grid-subtitle{
  color: #2b3b57;
  margin-bottom: 16px;
}

/* Cards productos */
#herramientas .tools-card{
  height: 100%;
  background: #ffffff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

#herramientas .tools-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.10);
}

#herramientas .tools-card-media{
  background: #ffffff;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#herramientas .tools-card-img{
  width: 100%;
  height: 170px;
  object-fit: contain;
  display: block;
}

#herramientas .tools-card-body{
  padding: 14px 16px 16px;
}

#herramientas .tools-card-title{
  font-size: 1.02rem;
  font-weight: 800;
  color: #0f1f3f;
  margin: 0 0 10px;
}

#herramientas .tools-card-link{
  background-color: #183a80;
  display: inline-block;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  border: 2px solid #ffdd58;
  padding: 8px 12px;
  border-radius: 12px;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

#herramientas .tools-card-link:hover{
  background: #ffdd58;
  color: #183a80;
  border-color: #183a80;
}

/* Responsive */
@media (max-width: 991.98px){
  #herramientas.tools-section{
    padding: 55px 15px 40px;
  }

  #herramientas .tools-hero-img{
    height: 320px;
  }
}

@media (max-width: 575.98px){
  #herramientas.tools-section{
    padding: 45px 12px 35px;
  }

  #herramientas .tools-hero-img{
    height: 260px;
  }

  #herramientas .tools-cta{
    flex-direction: column;
    align-items: stretch;
  }

  #herramientas .tools-link{
    text-align: center;
  }

  #herramientas .tools-cta .btn-cotizar{
    text-align: center;
  }
}

/* =========================
   MARCAS (grid limpio pro)
   ========================= */

#marcas .brand-card{
  background: #ffffff;
  border-radius: 18px;
  padding: 18px;
  height: 120px;              /* altura uniforme */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

#marcas .brand-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.10);
}

#marcas .brand-logo{
  max-width: 85%;
  max-height: 70px;
  object-fit: contain;
  display: block;
  filter: grayscale(1);
  opacity: 0.9;
  transition: filter 180ms ease, opacity 180ms ease;
}

#marcas .brand-card:hover .brand-logo{
  filter: grayscale(0);
  opacity: 1;
}