
:root {
  --primary: #C1272D;
  --secondary: #515151;
  --light: #f1f1f1;
  --dark: #0000;
  --font: "Segoe UI", Tahoma, sans-serif;
}

*{
	margin: 0;
	padding: 0;
	width: 100%;
	box-sizing: border-box;
}

.container{
	display: grid;
	grid-template-rows: auto 1fr auto;
	min-height: 100vh;
}
header, footer{
	grid-column: 1 / -1;
	padding: 1rem;
}
header{
	background-color: var(--primary);
	width: 100%;
	height: 70px;
}
.container2{
	display: flex;
	justify-content: space-between;
	align-content: center;
	margin-top: -5px;
}
.nav {
  display: none;
  flex-direction: column;
  gap: 3rem;
  background: #C1272D;
  position: absolute; 
  right:-0.1px;
	top: 55px;
  width: 125px;
	text-align: left;
  padding: 0.5rem;
	z-index: 3;
}

.nav.active {
  display: flex;
}
.nav ul{
	list-style: none;
}
.nav a{
	font-family: var(--font);
	color: var(--light);
	text-decoration: none;
	position: relative;
	font-size: 18px;
	 text-transform: uppercase; 
} 
.nav li a::after{
	 content: "";
	 position: absolute;
	 left: 0;
   bottom: 0;
   width: 0%;
   height: 2px;
   background: var(--light);
   transition: width 0.3s;
	}

  .nav li a.acti::after {
   width: 100%; 
  }


.logo-cmr{
	width: 120px;
	max-height: 115px;
}
.menu-toggle {
  display: contents;
  font-size: 2.2rem;
	right: 0;
  background: none;
  border: none;
  color: var(--light);
  cursor: pointer;
}

main{
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	padding: 0;
}
.principal{
	padding: 0;
}

.btn-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  z-index: 9999;
  border-radius: 50%;
  background-color: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-whatsapp img {
  width: 35px;
  height: 35px;
}

.btn-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}



.seccion-historia {
   background: linear-gradient(to bottom, #fdfdfd, #ececec);
}
.seccion-historia h2
{
		font-family: var(--font);
}
.seccion-servicios-productos{
  font-family: var(--font);
}





.section {
  padding: 10px;
  /* border-radius: 8px; */
}



.bienvenida-seccion{
  background-image: url("../assets/img/ImgSucursal/Sucursalimg.jpg");
  background-size:contain;  
  background-position: center;
  background-repeat: no-repeat;
	color: var(--light);
	text-align: center;
	align-content: center;
	font-size: 15px;
	height: 210px;
		font-family: var(--font);
}
 

#titulo {
    font-size: 1.6rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
		text-align: center;
}

/* Línea debajo del título */
#titulo::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #C1272D;
    left: 0;
    bottom: -5px;
}


.parent {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    /* grid-template-columns: 1fr; */
    grid-template-rows: repeat(1, 1fr);
    gap: 8px;
		font-family: var(--font);
	}
	.div2{
		text-align: center;
		/* max-width: 360px; */
	}
	/* .div2 .img-sucursal{
		height: 350px;
		width: 350px;
	} */
	.div1{
		height: auto;
		text-align: center;
		justify-content:center;
		align-content: center;
	}
	.div1 p{
		text-align: justify;
		
	}

	.div1 button{
		width: 150px;
		height: 40px;
		margin-top: 10px;
	}

	.seccion-historia, .serviciosyhoriarios-seccion, .Productos-seccion{
		padding: 0.8rem;
	}

.servicios-cuadro {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.2rem;
  max-width: 630px;
  margin: 0 auto;
  /* padding: 1rem; */
}
.servicios h2{
		font-family: var(--font);
}

.servicio {
  display: grid;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(to right, #b71c1c, #d32f2f);
  color: #fff;
  padding: 1.4rem;
  border-radius: 10px;
  font-weight: bold;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
	text-align: center;
	justify-content: center;
	height: 180px;
}
.servicio {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease-out;
}
.servicio.show {
  opacity: 1;
  transform: translateY(0);
}
.servicio i {
  font-size: 1.8rem;
}
.servicio h4 {
  margin: 0;
		font-family: var(--font);
}


/* seccion productos en index */

.produ {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  max-width: 680px;
  margin: 0 auto;
  /* padding: 1rem; */
}
.Productos-seccion h2{
		font-family: var(--font);
}

.producto {
  display: grid;
  align-items: center;
	background-color: white;
	gap: 1rem;
  color: #fff;
  padding: 0.5rem;
  border-radius: 10px;
  font-weight: bold;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
	text-align: center;
	justify-content: center;
	height: 260px;
}

.producto img {
  font-size: 1.8rem;
}
.producto h4 {
  margin: 0;
		font-family: var(--font);
}


/* servicios y horarios */
.serviciosyhoriarios-seccion{
	display: grid;
	grid-template-rows: 0.7fr 0.7fr;
	gap: 0.8rem;
	text-align: left;
	  align-content: center;
	 justify-items: center;
}
.serviciosyhoriarios-seccion ul{
	list-style: none;
}
.serviciosyhoriarios-seccion .dia {
  font-weight: bold;
}

.horarios-seccion {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  font-family: var(--font);
  max-width: 390px;
}

.horarios-seccion h3 {
  font-size: 18px;
  font-weight: bold;
  color: #111;
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.horarios-seccion h3 i {
  color: #c00;
  font-size: 20px;
  margin-right: 8px;
}

.horarios-seccion ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.horarios-seccion li {
		display: grid;
	grid-template-columns: 1fr 1fr;
  margin-bottom: 12px;
}

.horarios-seccion .dia {
  font-weight: bold;
  color: #111;
  display: block;
}

.horarios-seccion .hora {
  color: #333;
  font-size: 14px;
}

.horarios-seccion .cerrado {
  color: #c00;
  font-weight: bold;
}

.servicios-seccion {
  background: #fff;
  padding: 19px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    font-family: var(--font);
  max-width: 390px; 
}

.servicios-seccion h3 {
  font-size: 18px;
  font-weight: bold;
  color: #111;
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.servicios-seccion h3 i {
  color: #c00;
  font-size: 20px;
}

.servicios-seccion ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.servicios-seccion li {
  margin-bottom: 12px;
}
.div2{
	justify-items: center;
	margin: 5px;
	width: 95%;
}
.btn-fill {
    display: inline-block;
    padding: 10px 30px;
    font-size: 1rem;
    font-weight: 600;
    color: #C1272D;
    background-color: transparent;
    border: 2px solid #C1272D;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    transition: all 0.4s ease;
    cursor: pointer;
}
.btn-fill:hover {
    background-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.square {
  position: relative;
	margin-top: 10px;
  width: 280px;
  height: 280px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.square .content {
  position: relative;
  width: 260px;
  height: 260px;
  border-radius: 360px;
  overflow:hidden;
  z-index: 5;
	margin-top: 10px;
}

.square .content img {
  /* width: 100%;
  height: 100%; */
  object-fit: cover;
}
.div2 .img-sucursal{
		height: 350px;
		width: 350px;
	}
.square i {
  position: absolute;
  inset: 0;
  border: 3px solid transparent;
  border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
  border-color: #111;
  filter: drop-shadow(0 0 10px #111);
  animation: animate 6s linear infinite;
  z-index: 1;
}

.square i:nth-child(1) {
  border-color: #888;
  filter: drop-shadow(0 0 15px #888);
  animation: animate 6s linear infinite;
}

.square i:nth-child(2) {
  border-radius: 41% 44% 56% 59% / 38% 62% 63% 37%;
  border-color: #ff2a2a;
  filter: drop-shadow(0 0 15px #ff2a2a);
  animation: animate2 10s linear infinite;
}

.square i:nth-child(3) {
  border-radius: 42% 58% 60% 40% / 35% 45% 55% 65%;
   border-color: #111;
  filter: drop-shadow(0 0 15px #111);
  animation: animate3 14s linear infinite;
}


/* Carrusel de marcas */
.seccion-marcas-scroll{
	font-family: var(--font);
	max-width: 90%;
}
.carrusel {
      position: relative;
      width: 90%;
      max-width: 340px;
      overflow: hidden;
      border-radius: 8px;
      background: white;
			border-color: black;
    }

    .slides {
      display: flex;
      transition: transform 0.6s ease;
      transition: scroll 80s linear infinite;
    }

    .slides img {
      flex: 0 0 50%;
      height: 280px;
			width: 340px;
      object-fit: contain;
    }

.seccion-distribuidor {
  background-color: #f5f5f5;
  padding: 30px 20px;
  text-align: center;
	font-family: var(--font);
  /* border-top: 4px solid #c40000;
  border-bottom: 4px solid #c40000; */
}

.contenedor-distribuidor {
  max-width: 1200px;
  margin: 0 auto;
}

.titulo-distribuidor {
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: #333;
  font-weight: 700;
}

.urreastore {
  color: white;
  background-color: #c40000;
  padding: 5px 12px;
  border-radius: 6px;
  font-weight: bold;
}

.subtitulo-distribuidor {
  font-size: 1.5rem;
  color: #666;
  margin-bottom: 40px;
}

.marcas-disponibles img {
  max-width: 80%;
  height: auto;
  margin: 10px auto;
  display: block;
}

		/* seccion de productos */
		.carrusel2 {
      position: relative;
      width: 100%;
      max-width: 370px;
      overflow: hidden;
      border-radius: 8px;
      background: white;
			border-color: black;
    }

    .slides2 {
      display: flex;
      transition: transform 0.6s ease;
			 width: min-content;
      animation: scroll 80s linear infinite;
    }

    .slides2 img {
      flex: 0 0 50%;
      height: 90px;
			width: 120px;
      object-fit: contain;
    }
		@keyframes scroll {
      from { transform: translateX(0); }
      to { transform: translateX(-50%); } 
    }

.servicios .boton{
	  	grid-column: 1 / 2;
			justify-self: center; 
		}


/* Vista de Catálogo de Productos */
.productos-main{
	padding: 0;
		font-family: var(--font);
		
}
.seccion-productos {
	display: flex;
	flex-direction: column;
	text-align: center;
}

.seccion-principal{
	box-sizing: border-box;
}

.seccion-principal{
	display: flex;
	flex-direction: column;
	text-align: center;
	gap: 10px;
}
.marcas-movil, .seccion-principal .seccion-texto{
	height: auto;
}
.seccion-texto{
	display: flex;
	padding: 10px;
	font-size: 16px;
}
.seccion-catalogo{
	background-color: white;
}
.seccion-catalogo h1{
	font-size: 25px;
	 text-transform: uppercase; 
}
.catalogo{
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: 6, 1fr;
	gap: 10px;
	padding: 10px;
}
.catalogo a{
	text-decoration: none;
	color: var(--secondary);
	font-size: small;
}
.categoria-productos{
	background: white;
	border-radius: 10px;
	box-shadow: 0 2px 6px rgb(0, 0, 0, 0.2);
	padding: 10px;
	height: 200px;
	align-content: space-around;
}
.categoria-productos img{
	width: 150px;
	margin-bottom: 20px;
}

	.seccion-texto {
  display: flex;
  width: 100%;
  height: 70vh;
  overflow: hidden;
  margin: 0;
  padding-left: 30px;
	padding-right: 30px;
  background: linear-gradient(180deg, #000000, #C1272D, #5A0F12);
  position: relative;
  align-items: center;
}

.animacion-imagen {
  flex: 2;
  height: 100%;
  opacity: 0;
  transform: translateX(-150px);
  animation: aparecerIzquierda 1s ease-out forwards;
  position: relative;
  z-index: 1;
}

.animacion-imagen img {
  width: 90%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes aparecerIzquierda {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animacion-texto {
  flex: 1; 
  margin-left: -200px;
  background: rgba(255, 255, 255, 255);
  padding: 5px;
	align-content: center;
	height: 210px;
  opacity: 0;
  transform: translateX(250px);
  animation: aparecerDerecha 1s ease-out forwards;
  animation-delay: 0.5s;
  z-index: 2;
}

@keyframes aparecerDerecha {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animacion-texto h2 {
  font-size: 1rem;
  margin: 0;
	text-align: left;
	padding-bottom: 10px;
	
}
.animacion-texto p{
	font-size: 14px;
	text-align: left;
}

/* Historia */
.intro h2{
	 text-transform: uppercase;
}

#title-eventos {
    font-size: 1.6rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
		text-align: center;
}

/* Línea debajo del título */
#title-eventos::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #C1272D;
    left: 0;
    bottom: -5px;
}

.historia-main {
  padding: 20px 20px;
  background-color: #f9f9f9;
  text-align: center;
	font-family: var(--font);
		overflow-y: hidden;
}

.historia-main .intro {
  margin: 0 auto 50px;
}

.historia-main h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: #333;
}

.historia-main p {
  font-size: 1.1rem;
			text-align: justify;
  color: var(--secondary);
}

.galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.card {
  background: #fff;
  border-radius: 15px;
	align-content: center;
  padding:20px;
	height: 470px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card img {
  width:100%;
	height: 55%;
  border-radius: 10px;
  margin-bottom: 15px;
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #222;
	 text-transform: uppercase;
}

.card p {
  font-size: 1rem;
  color: #555;
	text-align: center;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}
.eventos{
	margin-top: 60px;
}
/* Eventos destacados */
.eventos-grid {
  padding: 60px 20px;
  display: grid;
  gap: 40px;
  background-color: #f4f4f4;
}

.eventos-grid h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #b22222;
  font-size: 2rem;
  font-weight: 600;
}

/* Tarjeta de evento */
.evento-card {
  display: flex;
	margin-top: 15px;
  flex-direction: column;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  background-color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
 opacity: 0;
  transform: translateX(100px);
}
.evento-card.visible {
  animation: aparecerDesdeDerecha 0.8s forwards;
}

.evento-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.texto-recuadro {
  padding: 25px 30px;
}

.texto-recuadro h4 {
  color: #b22222;
  font-size: 1.6rem;
  margin-bottom: 12px;
	text-transform: uppercase;
}

.texto-recuadro p {
  color: #555;
  font-size: 1rem;
  line-height: 1.5;
}



/* Seccion Marcas */

.marcas-main    h2 {
      text-align: center;
      margin-bottom: 25px;
			font-family: var(--font);
      color: #222;
    }
		.carousel-container {
  position: relative;
  display: flex;
  align-items: center;
}

		 /* Carrusel */
    .brands-carousel {
      display: flex;
      overflow-x: auto;
      gap: 15px;
      padding: 10px;
      scroll-snap-type: x mandatory;
    }

    .brands-carousel::-webkit-scrollbar {
      display: none;
    }

    .brand-slide {
      flex: 0 0 auto;
      width: 150px;
      background: #fff;
      border-radius: 15px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      cursor: pointer;
      text-align: center;
      scroll-snap-align: start;
      transition: transform 0.3s ease;
    }

    .brand-slide:hover {
      transform: translateY(-5px);
			background-color: var(--primary);
    }

    .brand-slide img {
      width: 100%;
      height: 150px;
      object-fit: contain;
      padding: 15px;
      background: white;
      border-radius: 15px 15px 0 0;
    }

    .brand-slide h3 {
      margin: 10px 0;
      font-size: 1rem;
      color: #333;
    }

.brand-carousel-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 20px 0;
}

.brand-carousel-controls button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #d3d3d3;
  color: #333;
  border: none;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.brand-carousel-controls button:hover {
  background-color: #bbb;
}
.brand-carousel-controls button img {
  width: 24px; 
  height: 24px;
  display: block;
}

    

    /* Panel de información */
    .brand-info {
      margin-top: 25px;
      padding: 10px;
      background: #fff;
      border-radius: 15px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      display: none;
      animation: fadeIn 0.4s ease;
    }

    .brand-info.active {
      display: block;
    }

    .brand-info h2 {
      margin-top: 0;
			font-family: var(--font);
			text-align: center;
      color: #d32f2f;
    }

    .brand-info p {
			font-family: var(--font);
      color: #555;
      line-height: 1.5;
			text-align: center;
    }

    .brand-info button {
      margin-top: 15px;
      background: var(--secondary);
      color: white;
      border: none;
      padding: 10px 20px;
      border-radius: 25px;
      cursor: pointer;
      transition: background 0.3s ease;
    }

    .brand-info button:hover {
      background: #b71c1c;
    }
.brand-gallery {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 8px;
  margin-top: 15px;
}

.product-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: center;
  padding: 10px;
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 8px;
}

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }

		#titulo-marcas{
			  background: url("../assets/img/ImgSucursal/coche\ cmr.jpg") no-repeat center center/contain;
				height: 280px;
		}

		

@keyframes aparecerDesdeDerecha {
  0% {
    opacity: 0;
    transform: translateX(100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.tarjeta .contenido {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 1rem;
  }

  .tarjeta .info {
    width: 100%;
  }

  .tarjeta .qr,
  .tarjeta .qr2 {
    width: 100%;
    display: flex;
    justify-content: center; 
    padding-left: 0;
  }

  .tarjeta .qr img,
  .tarjeta .qr2 img {
    width: 90px;
    height: 90px;
  }

  .tarjeta h3 {
    font-size: 1rem;
  }

 	  .info p {
    display: flex;
    align-items: center;
    justify-content: start; 
    gap: 0.4rem; 
		width: 100%;
  }

  .info p a,
  .info p span {
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .detalle p {
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
  }
	.detalle span{
			color: black;
			text-decoration: none;
	}
	.detalle span a{
		color: black;
		text-decoration: underline;
	}

  .tarjeta {
    overflow: hidden;
  }
/* Contacto */
.contactos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 1rem;
	font-family: var(--font);
}

.tarjeta {
  background: #f5f5f5;
  border-left: 5px solid #b30000;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  overflow: hidden;
}

.tarjeta .contenido {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem;
}

.tarjeta .info {
  flex: 1;
}

.tarjeta h3 {
  margin: 0 0 0.5rem 0;
  color: #b30000;
  font-size: 1.2rem;
}

.tarjeta p {
  margin: 0.2rem 0;
  font-size: 0.9rem;
  color: #333;
}

.tarjeta .qr {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 1rem;
}

.tarjeta .qr img {
  width: 110px;
  height: 110px;
}

.tarjeta .franja {
  width: 100%;
  height: 20px;
  background: linear-gradient(
    to right,
    #808080 0%,
    #808080 30%,
    #b30000 30%,
    #b30000 100%
  );
}

.info p {
  display: flex;
  align-items: center; 
  gap: 0.5rem; 
  margin: 0.2rem 0;
  font-size: 1rem;
  color: #333;
}

.info i {
  color: #b30000;
  font-size: 1rem;
  min-width: 18px; 
}
.detalle {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px;
	font-size: 1rem;
}
.detalle p{
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}
.tarjeta .qr2 {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 13rem;
}

.tarjeta .qr2 img {
  width: 110px;
  height: 110px;
}
   .ft-section {
			width: 100%;
			font-family: var(--font);
    }

    .ft-title {
      text-align: center;
      font-size: 1.8rem;
      margin-bottom: 25px;
      color: #333;
			margin-top:5px
    }

    /* --- Contactos --- */
    .ft-cards {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .ft-card {
      background: #fff;
      padding: 20px;
      border-radius: 15px;
      text-align: center;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
      transition: transform 0.2s;
    }

    .ft-card:hover {
      transform: translateY(-5px);
    }

    .ft-card i {
      font-size: 2rem;
      margin-bottom: 10px;
      color: #0077cc;
    }

    .ft-card h3 {
      margin-bottom: 8px;
      color: #222;
    }

    .ft-card ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .ft-card ul li {
      margin: 6px 0;
    }

    .ft-card a {
      color: #0077cc;
      text-decoration: none;
      font-weight: bold;
    }
		.ft-card a:hover{
			 text-decoration: underline;
		}

    .ft-whatsapp i { color: #25d366; }
    .ft-correo i { color: #ff6600; }

    /* --- Ubicación --- */
    .ft-location {
      margin-top: 30px;
      text-align: center;
    }

    .ft-location h3 {
      text-align: center;
      margin-bottom: 20px;
      color: #222;
    }

    .ft-location-content {
      display: flex;
      flex-direction: column;
      gap: 5px;
    }

    .ft-branch {
      background: #fff;
      padding: 20px;
			margin-top: 40px;
			margin-bottom: 20px;
      border-radius: 15px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

    .ft-branch h4 {
      margin: 0 0 8px;
      color: #0077cc;
    }

    .ft-branch p {
      margin: 0 0 8px;
      color: #444;
    }

    .ft-branch a {
      color: #e63946;
      text-decoration: none;
      font-weight: bold;
    }
		.ft-branch a:hover{
			 text-decoration: underline;
			 color: var(--secondary)
		}
		
    .ft-map {
      width: 100%;
      height: 250px;
      border-radius: 25px;
      border: none;
      margin-top: 15px;
    }

.brand-info a {
  display: inline-block;
  color: #007bff;
  font-weight: 600;
	font-family: var(--font);
 
  margin: 1rem auto 1rem auto; 
  border-bottom: 2px solid transparent;
  transition: 0.3s ease;
  text-align: center;
}

.brand-info ul {
  list-style: none;
  padding: 1rem;
	font-family: var(--font);
  margin: 0 auto;
  border-radius: 0.8rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-width: 800px;
}

.brand-info ul li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.95rem;
  color: #333;
  line-height: 1.4;
}

.brand-info ul li::before {
  content: "⚙️";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1rem;
}


footer{
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: auto auto;
	gap: 2rem;
	row-gap: 1rem;
	padding: 1.2rem;
	background-color: var(--primary);
	color: var(--light);
	text-align: left;
	font-size: small;
	height: auto;
	justify-content: center;
	font-family: var(--font);
}
.contactos-footer-seccion ul{
	list-style: none;
}
 .contactos-footer-seccion li svg{
	margin-bottom: -2.1px;
 }
.contactos-footer-seccion .icono svg{
	 width: 18px;
  height: 15px;
  color: #fff; 
}
.contactos-footer-seccion .tklogo{
	border-radius: 4px;
}
.contactos-footer-seccion h3{
	 text-transform: uppercase; 
}
.ubicacion-footer-seccion h3{
	 text-transform: uppercase; 
}
.redesociales-footer-seccion a{
text-decoration: none;
}
.redesociales-footer-seccion a img{
	width: 25px;
	margin-top: 15px;
}

.derechosautor-footer-seccion {
  grid-column: 1 / -1 ;
  text-align: center; 
}

@media (min-width: 768px){


	body{
			font-size: 17px;
	}
	main{
			grid-template-columns: 1fr;
			gap: 1rem;
			/* padding: 1rem; */
	}
	.principal{
	padding: 0;
}
	.nav {
    display: flex !important;  
    flex-direction: row;
    position: static;
    background: none;
    width: auto;
    padding: 0;
		align-items: center;
  }
  .nav ul {
		margin-top: -10px;
    display: flex;
    gap: 1.5rem;
  }
	.nav a{
		position: relative;
	}
	.nav li a::after{
	 content: "";
	 position: absolute;
	 left: 0;
   bottom: 0;
   width: 0%;
   height: 2px;
   background: var(--light);
   transition: width 0.3s;
	}
  .nav li a:hover::after {
   width: 100%;
  }

  .nav li a.acti::after {
   width: 100%;
  }

  .menu-toggle {
    display: none;
  }
	.btn-whatsapp {
    animation: float 3s infinite ease-in-out;
  }
  #titulo {
    font-size: 2.3rem;
	}
	#title-eventos{
		 font-size: 2.3rem;
	}
.bienvenida-seccion{
  background-image: url("../assets/img/ImgSucursal/Sucursalimg.jpg");
  background-size:cover;  
  background-position: center;
  background-repeat: no-repeat;
	color: var(--light);
	text-align: center;
	align-content: center;
	font-size: 17px;
	height: 450px;
}
.parent {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
		font-family: var(--font);

	}
	.div1{
		height: 380px;
		padding: 40px;
		text-align: center;
		align-content: center;
	}
	.div1 p{
		text-align: justify;
	}
	.div1 button{
		width: 150px;
		height: 40px;
		margin-top: 10px;
	}
		.div2{
		text-align: center;
	}
	.div2 .img-sucursal{
		height: 380px;
		width: 380px;
}

.tarjeta .contenido {
    display: flex;
    flex-direction: row; 
    align-items: flex-start;
    gap: 0.8rem;
    padding: 1rem;
  }
  
	.detalle span a{
		color: black;
	}

  .tarjeta {
    overflow: hidden;
  }
	.contactos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 1rem;
	font-family: var(--font);
}

.tarjeta {
  background: #f5f5f5;
  border-left: 5px solid #b30000;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  overflow: hidden;
}

.tarjeta .contenido {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
}

.tarjeta .info {
  flex: 1;
}

.tarjeta h3 {
  margin: 0 0 0.5rem 0;
  color: #b30000;
  font-size: 1.2rem;
}

.tarjeta p {
  margin: 0.2rem 0;
  font-size: 0.9rem;
  color: #333;
}

.tarjeta .qr {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 1rem;
}

.tarjeta .qr img {
  width: 110px;
  height: 110px;
}

.tarjeta .franja {
  width: 100%;
  height: 20px;
  background: linear-gradient(
    to right,
    #808080 0%,
    #808080 30%,
    #b30000 30%,
    #b30000 100%
  );
}

.info p {
  display: flex;
  align-items: center; 
  gap: 0.5rem; 
  margin: 0.2rem 0;
  font-size: 1rem;
  color: #333;
}

.info i {
  color: #b30000;
  font-size: 1rem;
  min-width: 18px; 
}
.detalle {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px;
	font-size: 1rem;
}
.detalle p{
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}
.tarjeta .qr2 {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 13rem;
}

.tarjeta .qr2 img {
  width: 110px;
  height: 110px;
}
   .ft-section {
			width: 100%;
			font-family: var(--font);
    }

    .ft-title {
      text-align: center;
      font-size: 1.8rem;
      margin-bottom: 25px;
      color: #333;
			margin-top:5px
    }

	.serviciosyhoriarios-seccion{
	 text-align: center;
	 align-content: center;
	 justify-content: center;
	 justify-items: center;
	 display: grid;
	 grid-template-columns: 1fr 1fr;
	 gap: 2rem;
	 margin-bottom: -100px;
  }

	.square {
  position: relative;
	margin-top: 10px;
  width: 350px;
  height: 350px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.square .content {
  position: relative;
  width: 340px;
  height: 340px;
  border-radius: 360px;
  overflow:hidden;
  z-index: 5;
	margin-top: 10px;
}

 .contactos {
    grid-template-columns: 1fr 1fr 1fr;
  }
.producto {
  display: grid;
  align-items: center;
	background-color: white;
	gap: 1rem;
  color: #fff;
  padding: 0.5rem;
  border-radius: 10px;
  font-weight: bold;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
	text-align: center;
	justify-content: center;
	height: 310px;
}
/* Vista Productos */
.productos-main{
	padding: 0;
}
.seccion-productos {
	display: flex;
	flex-direction: row;
	text-align: center;
}

.seccion-principal, .seccion-marcas-scroll, .seccion-marcas-scroll2{
	box-sizing: border-box;
	display: block;
}
.servicios-cuadro {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 2000px;
  margin: 0 ;
  padding: 2rem;
}

.servicio {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(to right, #b71c1c, #d32f2f);
  color: #fff;
  padding: 2.5rem;
  border-radius: 10px;
  font-weight: bold;
  box-shadow: 0 6px 6px rgba(0,0,0,0.2);
	text-align: center;
	justify-content: center;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}
.servicio h4{
		font-size: 0.7rem;
}

.servicio:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 20px rgba(0, 0, 0, 0.35);
  cursor: pointer;
}
	.serviciosyhoriarios-seccion{
	 text-align: center;
	  align-content: center;
	 justify-content: center;
	 justify-items: center;
	 display: grid;
	 grid-template-columns: 1fr 1fr;
	 gap: 1rem;
  }
	
	.servicios-seccion {
   padding: 20px;
   max-width: 550px; 
  }

.seccion-principal{
	display: flex;
	flex-direction: column;
	text-align: center;
}
.seccion-principal .seccion-texto{
	height: auto;
}
.seccion-texto{
	display: flex;
	padding: 10px;
	font-size: 22px;
}
.titulo-distribuidor {
  font-size: 2.3rem;
}
	.catalogo{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: 6, 1fr;
	gap: 10px;
	padding: 30px;
}
.catalogo a{
	text-decoration: none;
	color: var(--secondary);
	font-size: medium
}
.categoria-productos{
	padding: 10px;
	height: 350px;
	align-content: space-around;
}
/* modificar */
.categoria-productos img{
	width: 250px;
	margin-bottom: 20px;
}
	footer{
	 grid-template-rows: 130px 10px;
	 gap: 1rem;
	 row-gap: 5rem;
	 padding: 2rem;
	 text-align: center;
	 font-size: 16px;
	 align-content: center;
	 justify-content: center;
  }
	.redesociales-footer-seccion a img{
	 margin-top: 9px;
  }

	.intro p{
		font-size: 1.1rem;
	}

.card h3{
	font-size: 1.4rem;
}
.card p {
  font-size: 1.1rem;
}
.card {
  background: #fff;
  border-radius: 15px;
	align-content: center;
  padding:20px;
	height: 510px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card img {
  width:100%;
	height: 70%;
  border-radius: 10px;
  margin-bottom: 15px;
}
	 .eventos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .evento-card {
    flex-direction: row;
    height: 550px;
		margin-top: 15px;
  }

  .evento-card img {
		padding: 30px;
		padding-top: 80px;
		padding-bottom: 80px;
    width: 50%;
    height: 100%;
  }

  .texto-recuadro {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
  }
	.texto-recuadro h4{
		font-size: 1.8rem;
	}
	.texto-recuadro p{
		font-size: 1.1rem;
	}
	.aniversario-video{
		max-width: 50%;
		padding: 30px;
	}

	.carrusel {
      position: relative;
      width: 100%;
			max-width: 1200px;
		  margin: 0 auto;
		  overflow: hidden;
      border-radius: 8px;
      background: white;
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
			border-color: black;
    }
		.slides {
      display: flex;
      transition: transform 0.6s ease;
			    width: min-content;
      animation: scroll 80s linear infinite;
    }
    .slides img {
			height: 200px;
      width: 500px;
      margin: 0 15px;
      object-fit: contain;
    }
		#img-red{
			height: 120px;
			margin-top: 38px;
		}
		#img-red2{
			height: 80px;
			margin-top: 55px;
		}

		/* seccion de productos */
		.carrusel2 {
      position: relative;
      width: 100%;
			max-width: 1200px;
		  margin: 0 auto;
		  overflow: hidden;
			border-radius: 8px;
      background: white;
			border-color: black;
    }
			.slides2 {
      display: flex;
      transition: transform 0.6s ease;
			    width: min-content;
      animation: scroll 80s linear infinite;
    }
    .slides2 img {
			 height: 80px;
      width: 180px;
      margin: 0 15px;
      object-fit: contain;
    }

		#img-reducir{
			margin-top: 16px;
			height: 50px;
		}
		#img-reducir2{
			height: 27px;
			margin-top: 25px;
		}

		.brands-grid {
        grid-template-columns: repeat(2, 1fr);
      }
				#titulo-marcas{
			  background: url("../assets/img/ImgSucursal/coche\ cmr.jpg") no-repeat center center/cover;
				height: 800px;
		}
		  .brand-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
	.product-card img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 8px;
}

		
  @keyframes scroll {
      from { transform: translateX(0); }
      to { transform: translateX(-50%); } 
      /* -50% = porque tenemos las imágenes duplicadas */
    }

		.produ {
			display: grid;
			grid-template-columns: repeat(4, 1fr);
  		gap: 1rem;
  		max-width: 1500px;
  		margin: 0 auto;
			padding: 1rem;
		}
		.seccion-servicios-productos .boton{
	  	grid-column: 2 / 4;
			justify-self: center; 
		}

		/* contacto */
		 .ft-cards {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
      }

      .ft-location-content {
        display: grid;
        grid-template-columns: 1fr 2fr;
        align-items: center;
				gap: 10px;
      }
			 .ft-branch{
				text-align: center;
			 }

      .ft-map {
        height: 500px;
      }
	.brand-info .informacion{
	padding:1rem;
}

}


@media (min-width: 1024px) {

  body {
    font-size: 19px; 
  }
	.principal{
	padding: 0;
}
	  .nav {
    display: flex !important; 
    flex-direction: row;
    position: static;
    background: none;
    width: auto;
    padding: 0;
  }
 .bienvenida-seccion{
  background-image: url("../assets/img/ImgSucursal/Sucursalimg.jpg");
  background-size:cover;  
  background-position: center;
  background-repeat: no-repeat;
	color: var(--light);
	text-align: center;
	align-content: center;
	font-size: 17px;
	height: 370px;
}
#titulo {
    font-size: 2.4rem;
	}
		
	.servicios-cuadro {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 2000px;
  margin: 0 ;
  padding: 2rem;
}

.servicio {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(to right, #b71c1c, #d32f2f);
  color: #fff;
  padding: 2.5rem;
  border-radius: 10px;
  font-weight: bold;
  box-shadow: 0 6px 6px rgba(0,0,0,0.2);
	text-align: center;
	justify-content: center;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}
.servicio h4{
		font-size: 0.7rem;
}

.servicio:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 20px rgba(0, 0, 0, 0.35);
  cursor: pointer;
}
	.serviciosyhoriarios-seccion{
	 text-align: center;
	  align-content: center;
	 justify-content: center;
	 justify-items: center;
	 display: grid;
	 grid-template-columns: 1fr 1fr;
	 gap: 1rem;
  }
	
	.servicios-seccion {
   padding: 20px;
   max-width: 550px; 
  }
	.horarios-seccion {
   padding: 20px;
   max-width: 550px;
  }
	.seccion-catalogo{
			padding: 0.8rem;
	}
	.seccion-catalogo h1{
		font-size: 35px;
	}
		.catalogo{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: 6, 1fr;
	gap: 10px;
	padding: 30px;
  }
	.catalogo a{
	text-decoration: none;
	color: var(--secondary);
	font-size: 30px
}
.categoria-productos{
	padding: 5px;
	height: 370px;
	align-content: space-evenly;
}
.categoria-productos img{
	width: 280px;
	margin-bottom: 20px;
}
.categoria-productos .img{
	height: 210px;
}
.categoria-productos .titulo{
	height: auto;
}
.producto{
	height: 450px;
}

	.seccion-texto {
  display: flex;
  width: 100%;
  height: 90vh;
  overflow: hidden;
  margin: 0;
  padding-left: 30px;
	padding-right: 30px;
  background: linear-gradient(180deg, #000000, #C1272D, #5A0F12);
  position: relative;
  align-items: center;
}

.animacion-imagen {
  flex: 2;
  height: 90%;
  opacity: 0;
  transform: translateX(-150px);
  animation: aparecerIzquierda 1s ease-out forwards;
  position: relative;
  z-index: 1;
}

.animacion-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes aparecerIzquierda {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animacion-texto {
  flex: 1; 
  margin-left: -300px;
  background: rgba(255, 255, 255, 255);
  padding: 40px;
	align-content: center;
	height: 380px;
  opacity: 0;
  transform: translateX(250px);
  animation: aparecerDerecha 1s ease-out forwards;
  animation-delay: 0.5s;
  z-index: 2;
}

@keyframes aparecerDerecha {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animacion-texto h2 {
  font-size: 2.5rem;
  margin: 0;
	padding-bottom: 15px;
	font-weight: bolder;
}
.animacion-texto p{
	font-size: 1.5rem;
}
.catalogo h4{
	font-size: 25px;
	font-weight: bold;
}
.catalogo a:hover .categoria-productos {
  /* background-color:#E0E0E0; */
	cursor:auto;
}

.brands-grid {
        grid-template-columns: repeat(3, 1fr);
      }


}
@media (min-width: 1200px){
	main{
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	padding: 1rem;
}
.principal{
	padding: 0;
}
body {
    font-size: 19px;
  }

 .nav {
    display: flex !important; 
    flex-direction: row;
    position: static;
    background: none;
    width: auto;
    padding: 0;
  }
  .bienvenida-seccion{
	   font-size: 30px;
		 background-size: contain;
		 min-height: calc(100vh - 20px - 10px);
  }
	
	#titulo {
    font-size: 2.5rem;
	}

	.servicios-cuadro {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 2000px;
  margin: 0 ;
  padding: 2rem;
}

.servicio {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(to right, #b71c1c, #d32f2f);
  color: #fff;
  padding: 2.5rem;
  border-radius: 10px;
  font-weight: bold;
  box-shadow: 0 6px 6px rgba(0,0,0,0.2);
	text-align: center;
	justify-content: center;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}

.servicio:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 20px rgba(0, 0, 0, 0.35);
  cursor: pointer;
}


.servicio i {
  font-size: 2rem;
}

.servicio h4 {
  font-size: 1rem;
}

	.serviciosyhoriarios-seccion{
	 text-align: center;
	 align-content: center;
	 justify-content: center;
	 justify-items: center;
	 display: grid;
	 grid-template-columns: 1fr 1fr;
	 gap: 2rem;
	 margin-bottom: -100px;
  }

	.servicios-seccion {
   background: #fff;
   padding: 20px;
   border-radius: 12px;
   box-shadow: 0 4px 12px rgba(0,0,0,0.1);
   font-family: Arial, sans-serif;
   max-width: 550px; 
  }
	.horarios-seccion {
   background: #fff;
   padding: 20px;
   border-radius: 12px;
   box-shadow: 0 4px 12px rgba(0,0,0,0.1);
   font-family: Arial, sans-serif;
   max-width: 550px;
  }
	.contenedor-servicios{
   display: flex;
	 margin-left: 40px;
   justify-content: center;
	 justify-items: center;
  }
	.contenedor-servicios h3{
		text-align: center;
		margin-left: -190px;
	}
	.contenedor-servicios i{
		margin-right: -225px;
	}
	/* historia */
	.parent {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(1, 1fr);
    gap: 1px;
		font-family: var(--font);
	}
	.marca-seccion .marca{
	width:280px;
	height: auto;
	padding: 1px;
  }

  .carrusel {
      position: relative;
      width: 100%;
      max-width: 1500px;
      overflow: hidden;
      border-radius: 8px;
      background: white;
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
			border-color: black;
    }
    
		/* seccion de productos */
		.carrusel2 {
      position: relative;
      width: 100%;
      max-width: 1500px;
      overflow: hidden;
      border-radius: 8px;
      background: white;
			border-color: black;
    }

}
@media (min-width: 1600px) {
  .carrusel {
    max-width: 1800px;
  }

	.carrusel2 {
    max-width: 1800px;
  }
	.evento-card {
    flex-direction: row;
    height: 750px;
		margin-top: 15px;
  }

	.card {
  background: #fff;
  border-radius: 15px;
	align-content: center;
  padding:20px;
	height: 700px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card img {
  width:100%;
	height: 60%;
  border-radius: 10px;
  margin-bottom: 15px;
}
}

@media (min-width: 2000px) {
  .carrusel {
    max-width: 2000px;
  }
	.carrusel2 {
    max-width: 2000px;
  }
}




/* Animaciones */
@keyframes animate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes animate2 {
  from { transform: rotate(360deg); }
  to   { transform: rotate(0deg); }
}

@keyframes animate3 {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}

@keyframes float {
  0%, 90% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}