* {
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat";
}

section[id] {
  scroll-margin-top: 120px;
}

html,
body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

.contenedor {
  width: 100%;
  max-width: 2400px;
  margin: auto;
  overflow: hidden;
  align-content: center;
  align-items: center;
}
.contenedor-pag{
  display: flex;
  flex-direction: column;
  padding: 80px 150px 80px 150px;
  background-color: transparent;
  height: auto;
  width: 80%;
  margin: auto;
}

/* ==================================================== NAV ================================================*/

.navfix {
  width: 100%;
  height: 80px;
  position: fixed;
  z-index: 100;
  margin-bottom: -10px;
  background: #23b1cae3;
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  align-items: center;
  padding: 0px 100px 0px 100px;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo-navfix {
  width: auto;
}

nav .logo {
  color: #000;
  font-size: 20px;
  font-weight: 500;
  padding-left: 100px;
}

nav .ul {
  display: flex;
  justify-content: flex-end;
}

nav .ul .li {
  display: inline-block;
  padding: 10px;
}

.li a {
  color: #FFF;
  font-size: 18px;
  font-weight: 400;
  text-decoration: none;
  margin-right: 30px;
  margin-bottom: 5px;
  padding-top: 20px;
  position: relative;
}

.li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 4px;
  background-color: #F39433;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.3s ease-in-out;
}

.li a:hover::after {
  width: 100%;
}

.header_Iso {
  width: 150px;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* =================== MENU HAMBURGUESA =============== */

.menu_hamburguesa {
  display: none;
}

.labe_hamburguesa {
  display: none;
  cursor: pointer;
}

.navfix nav .ul {
  flex-direction: row;
  gap: 10px;
}



/* ===================== HEADER ===================== */

header {
 
}



/*---------------------------------------------------------------------------------------------------*/

.video-background {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Mantiene proporción del video */
  transform: translate(-50%, -50%);
  z-index: 1;
}


/*----------------------------------------------------------------------------------------------------------*/

.textos {
  position: absolute;
  top: 50%;
  margin-left: 50%;
  transform: translate(-50%, -75px);
  text-align:center;
  z-index: 10;
  color: #fff;
  width: auto;
}

.textos h1 {
  font-size: 80px;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.textos h2 {
  font-size: 25px;
  font-weight: 500;

  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.nombre span {
  font-size: 4.5rem;
  font-weight: bold;
}

.scroll-down {
  margin-top: 20px;
  background-color: #F39433;
  border-radius: 45px;
  padding: 10px 25px;
  border: none;
  color: #fff;
  cursor: pointer;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-size: 20px;
}

.scroll-down a {
  text-decoration: none;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  
}
.scroll-down:hover{
  cursor: pointer;
}

.scroll-down i {
  font-size: 2rem;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(-5px);
  }
}

@media screen and (max-width: 768px) {


}

/* ===================== SERVICIOS ===================== */

#Servicios {
  position: relative;
  padding: 50px 20px;
  background-color: #eaeaea;
  z-index: 2;
}

.servicios-contenedor {
  text-align: center;
  width: 95%;
  margin: 0 auto;
}

.titulo-servicios {
  font-size: 65px;
  font-weight: 700;
  color: #1E7786;
  margin-bottom: 40px;
  text-transform: uppercase;
  position: relative;
  text-align: center;
}

.titulo-servicios::after {
  content: "";
  display: block;
  width: 140px;
  height: 10px;
  background-color: #F39433;
  margin: 10px auto 0;
}

.icon-serv-bg {
  background-color: #1E7786;
  border-radius: 50%;
  border: none;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-serv {
  width: 30px;
  height: 30px;
}

.cards01 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 80px 0 50px 0;
}

.card01 {
  background-color: rgb(255, 255, 255);
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 200px;
  min-height: 400px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  transition: 0.5s;
}

.icon-serv {
  width: 50px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  justify-content: center; /* 👈 centra las columnas si sobran */
  align-items: center;
  justify-content: center;
  margin: auto;
  width: 70%;
  position: relative;
}


.card {
  position: relative;

  height: 550px;
  overflow: hidden;
  border: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  transition: .5s;
}

/* .card {
  background-color: rgb(255, 255, 255);
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 20%;
  min-height: 400px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  transition: 0.5s;
} */

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.card .info {
  position: absolute;
  bottom: 0px;
  width: 100%;
  padding-bottom: 20px;
  background: rgb(0, 0, 0);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .8) 40%);
  z-index: 2;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card h4 {
  padding: 0px 10px 0px;
  color: #e0e0e0;
  font-size: 23px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.833);
  
}

.card p {
  font-size: 12px;
  color: #e5e5e5;
  font-weight: 400;
  padding: 2px 10px 10px;
  margin-bottom: 5px;
  

}

.cont-btn-ver-mas {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  margin-bottom: 10px;
}

.btn-ver-mas {
  background-color: #1E7786;
  color: white;
  border: none;
  padding: 5px 20px;
  border-radius: 5px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s;
  text-decoration: none;
  width: 100px;
  margin-top: 10px;
}

.btn-ver-mas:hover {
  background-color: #134b55;
}

@media (max-width: 768px) {

  .titulo-servicios {
    font-size: 45px;
    font-weight: 700;
    color: #1E7786;
    margin-bottom: 40px;
    text-transform: uppercase;
    position: relative;
  }

  .titulo-servicios::after {
    content: "";
    display: block;
    width: 100px;
    height: 10px;
    background-color: #F39433;
    margin: 10px auto 0;
  }

  .card {
    background-color: rgb(246, 245, 245);
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
  }

  .cards {
    margin-top: 40px;
    margin-bottom: 0;
  }
}

/* ==================== NOSOTROS ==================== */
.contenedor-nosotros{
  display: flex;
  flex-direction: row;
  background-color: #fff;
  padding: 70px;
  height: 600px;
}
.contenedor-nosotros-texto{
  width: 70%;
  padding: 30px;
}
.contenedor-nosotros-img{
  width: 50%;
  display: flex;
  justify-content: center;
  
}
.contenedor-nosotros-img img{
  height: 100%;
  border-radius: 10px;
}



.negritas-color{
  font-weight: 600;
  color: #1E7786;
}

/* .nosotros {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: url('../img/Fotos - agavera/foto13.jpeg') no-repeat right center fixed;
  background-size: 50%;
  z-index: 1;
} */

.nosotros .cont-nosotros {
  position: relative;
  width: 100%;
  z-index: 2;
}

.nosotros::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: rgba(0, 0, 0, 0.5); */
  z-index: 1;
}

.lado-izquierdo {
  background-color: #f3f3f3;
  width: 50%;
  height: 900px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.contenido-texto {
  text-align: left;
  width: 50%;
}
.contenido-texto h2{
  text-align: center;
  justify-content: center;
  align-items: center;
}

.contenido-texto p {
  font-size: 20px;
  line-height: 1.5rem;
}

.cont-nosotros {
  position: relative;
  width: 90%;
  align-items: center;
  z-index: 2;
  margin: 0 auto;
}
.banner-promo{
  width: 100%;
  height: auto;
  display: flex;
  align-self: center;
  justify-content: center;
  background-color: #eaeaea;
  padding-top: 60px;
}
.banner-promo img{
  width: 60%;
  align-self: center;
  justify-content: center;
  border-radius: 25px;
}

.banner-compra{
  width: 70%;
  height: 600px;
  background-image: url(../img/compra-de-agave.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  margin: auto;
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: 30px;
  margin-top: 15Px;
}
.banner-compra h2{
  max-width: 65%;
  font-size: 60px;
  text-align: left;
  color: #2eaac0;
}
.banner-compra p{
  max-width: 55%;
  text-align: left;
  color: #fff;
}
.banner-compra button{
  padding: 10px 30px;
  border-radius: 10px;
  background-color: #18e05b;
  color: #ffff;
  border: none;
  margin-top: 20px;
  transition: .3s;
  font-size: 20px;
}
.banner-compra button:hover{
  transform: scale(1.02);
  cursor: pointer;
  background-color: #3ef37a;
}
.banner-compra button:active{
  transform: scale(0.98);
}


.banner{
  width: 70%;
  height: 600px;
  background: red;
  margin: auto;
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: 30px;
  margin-top: 15Px;
}
.banner h2{
  max-width: 65%;
  font-size: 60px;
  text-align: left;
  color: #2eaac0;
}
.banner p{
  max-width: 55%;
  text-align: left;
  color: #fff;
}
.banner button{
  padding: 10px 30px;
  border-radius: 10px;
  background-color: #1E7786;
  color: #ffff;
  border: none;
  margin-top: 20px;
  transition: .3s;
  font-size: 20px;
}
.banner button:hover{
  transform: scale(1.02);
  cursor: pointer;
  background-color: #2eaac0;
}
.banner button:active{
  transform: scale(0.98);
}
.banner:nth-child(2){
  background-image: url(../img/compraagv.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.banner:nth-child(3){
  background-image: url(../img/nuerstra-marca.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.banner:nth-child(4){
  background-image: url(../img/tu-marca.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.banner:nth-child(5){
  background-image: url(../img/embarricado.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.banner:nth-child(6){
  background-image: url(../img/embot.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}


/* ==================== ESTADISTCICAS ==================== */

.estadisticas {
  width: 100%;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f59d44;
  padding: 40px 0;
}

.cont-estadisticas {
  width: 90%;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.beneficios-det {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
}

.caract {
  flex: 1;
  text-align: center;
  margin: 0 10px;
  position: relative;
}

.caract:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  height: 60%;
  width: 1px;
  background-color: #ffffff;
  transform: translateY(-50%);
}

.numero {
  font-size: 50px;
  color: #ffffff;
  font-weight: bold;
  margin: 0;
}

.caract p {
  color: #ffffff;
  font-weight: 300;
  font-size: 18px;
  margin: 10px 0 0;
}

@media screen and (max-width: 650px) {

  .estadisticas {
    height: 500px;
  }

  .beneficios-det {
    flex-direction: column;
    align-items: center;
  }

  .caract {
    margin-bottom: 20px;
    position: relative;
  }

  .caract:not(:last-child)::after {
    display: block;
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, 10px);
    width: 80%;
    height: 2px;
    background-color: #ffffff;
  }
}

/* ==================== MARCAS ==================== */

.proyectos {
  width: 100%;
  padding: 50px 0;
  text-align: center;
  background-color: #fff;
  box-sizing: border-box;
}

.grid-proyectos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1020px;
  margin: 0 auto;
  box-sizing: border-box;
}

.proyecto {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  width: 500px;
  height: 500px;
  margin: 0 auto;
}

.proyecto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
  display: block;
  margin: 0;
}

.proyecto:hover img {
  transform: scale(1.1);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.proyecto:hover .overlay {
  opacity: 1;
}

.overlay p {
  color: #fff;
  font-size: 25px;
  font-weight: bold;
  text-transform: uppercase;
}

@media screen and (max-width: 768px) {
  .grid-proyectos {
    grid-template-columns: 1fr;
  }

  .proyecto {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    width: 350px;
    height: 350px;
    margin: 0 auto;
  }

  .proyecto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    display: block;
    margin: 0 auto;
  }
}

/* ==================== CLIENTES ==================== */

.clientes {
  width: 100%;
  padding: 50px 0;
  text-align: center;
  background-color: #f5f5f5;
}

.logos {
  overflow: hidden;

  white-space: nowrap;
  position: relative;
}

.wrapper {
  width: 100%;
  margin-inline: auto;
  position: relative;
  height: 130px;
  margin-top: 20px;
  overflow: hidden;
  mask-image: linear-gradient(to right,
      rgba(0, 0, 0, 0),
      rgba(0, 0, 0, 1) 20%,
      rgba(0, 0, 0, 1) 80%,
      rgba(0, 0, 0, 0));
}

@keyframes scrollLeft {
  to {
    left: -200px;
  }
}

.item {
  width: 300px;
  height: 100px;
  border-radius: 6px;
  position: absolute;
  left: max(calc(200px * 4), 100%);
  animation-name: scrollLeft;
  animation-duration: 30s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  margin-right: 40PX;
}

.item1 {
  animation-delay: calc(30s / 5 * (5 - 1) * -1);
}

.item2 {
  animation-delay: calc(30s / 5 * (5 - 2) * -1);
}

.item3 {
  animation-delay: calc(30s / 5 * (5 - 3) * -1);
}

.item4 {
  animation-delay: calc(30s / 5 * (5 - 4) * -1);
}
.item5 {
  animation-delay: calc(30s / 5 * (5 - 5) * -1);
}


/* ==================== CONTACTO ==================== */

.contacto {
  width: 100%;
  padding: 50px 0;
  text-align: center;
  background-color: #fff;
}

/* ========================= Mapa ========================= */

.cont-contacto {
  width: 50%;
  margin: 0 auto;
}

.mapa {
  width: 100%;
  text-align: center;
  margin: 0 auto;
}

.mapa h3 {
  font-size: 25px;
  color: #F39433;
  margin-bottom: 10px;
}

.mapa iframe {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.datos {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  align-items: center;
}

.datos-contacto,
.oficinas {
  width: 48%;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

.datos-contacto h3,
.oficinas h3 {
  font-size: 35px;
  color: #F39433;
  margin-bottom: 10px;
}
.datos-contacto span{
  font-size: 26px;
}
.datos-contacto b{
  font-size: 26px;
}
.datos-contacto p, a{
  color: #040404;
  text-decoration: none;
}
.datos-contacto p, a:hover{
  color: #134b55;
}

.datos-contacto p,
.oficinas p {
  margin: 10px 0px;
  font-size: 26px;
  color: #040404;
  text-align: center;
}

.icon {
  color: #F39433;
  margin-right: 5px;
}

/* ========================= PERFIL ========================= */


.image-container-perfil img {
  width: 235px; /* Tamaño de la imagen */
  height: 235px;
  border-radius: 50%; /* Hace la imagen circular */
  background: white; /* Fondo blanco por si la imagen no llena todo */
  padding: 10px; /* Espacio interno para crear el efecto de separación */
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2); /* Sombras opcionales */
  
}

.image-container-perfil {
  position: relative;
  width: 250px; /* Ajusta el tamaño del contenedor */
  height: 250px;
  background: linear-gradient(321deg, rgba(113, 0, 255, 1) 0%, rgba(255, 0, 0, 1) 53%, rgba(243, 255, 0, 1) 100%);
  border-radius: 50%; /* Hace el borde circular */
  display: flex;
  align-items: center;
  justify-content: center;
}

.contenedor-perfil{
  background-color: #f5f5f5;
  width: 60%;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  margin: auto;
}

.profile-card {
  position: relative;
  width: 200px; /* Ajusta el tamaño del contenedor */
  height: 200px;
  background: linear-gradient(321deg, rgba(113, 0, 255, 1) 0%, rgba(255, 0, 0, 1) 53%, rgba(243, 255, 0, 1) 100%);
  border-radius: 50%; /* Hace el borde circular */
  display: flex;
  align-items: center;
  justify-content: center;
}
.cont-perfil-01{
  width: 60%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.cont-perfil-01 h4{
  font-weight: 300;
}































.influencer-name {
  font-size: 24px;
  color: #333;
  margin-top: 10px;
}

.influencer-bio {
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
}

.social-stats {
  display: flex;
  justify-content: space-around;
  margin-bottom: 20px;
}

.social-item {
  text-align: center;
}

.social-item i {
  font-size: 40px;
  color: #181818;
  margin-bottom: 10px;
}

.social-item span {
  display: block;
  font-size: 20px;
  color: #333;
}

.social-item p {
  font-size: 20px;
  color: #2f2f2f;
  font-weight: 700;
}

.follower-count {
  font-size: 14px;
  color: #ac2020;
}

.social-links {
  margin-top: 20px;
}

.social-links a {
  margin: 0 10px;
  font-size: 24px;
  color: #555;
  text-decoration: none;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #f39433;
}

@media screen and (max-width: 650px) {

  .profile-card {
    max-width: 90%;
    margin: 0 auto;
  }

  .social-stats {
    flex-direction: column;
    align-items: center;
  }

  .social-item {
    margin-bottom: 15px;
  }

  .cont-contacto {
    width: 90%;
    margin: 0 auto;
  }
}

/* ============================ Footer ========================= */

.footer {
  background-color: #1E7786;
  color: #fff;
  padding: 20px;
  font-family: 'Arial', sans-serif;
}

.contenido {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.texto-container h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  color: #fff;
}
.texto-container p{
  font-size: 15px;
}
.imagen-container{
  display: flex;
  flex-direction: row;
  gap: 190px;
}
.imagen-container img {
  width: 150px;
  display: block;
}

.social-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.social-icons a {
  margin: 0 10px;
  color: #fff;
  font-size: 18px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #f39433;
}

.derechos {
  margin-top: 20px;
  text-align: center;
  font-size: 12px;
  color: #FFF;
  border-top: 1px solid #fff;
  padding-top: 10px;
}

@media (max-width: 768px) {
  .contenido {
    flex-direction: column;
    text-align: center;
  }

  .imagen-container img {
    margin: 15px 0;
  }

  .social-container {
    margin-top: 10px;
  }
}

/* ===================================================================================== */
/* =============================== DETALLE DE MARCAS ================================ */
/* ===================================================================================== */







.btn-volver {
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  color: #fff;
  background-color: #F39433;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  text-align: center;
  cursor: pointer;
}

.btn-volver:hover {
  background-color: #1E7786;
  color: #FFF;
}

/* ======== Slider ======== */


.slides {
  display: flex;
  transition: transform 0.4s ease-in-out;
  height: 100%;
}

.slide {
  min-width: 100%;
  transition: opacity 0.4s ease;
  padding: 0px 40px 0px;
}



.slider-controls {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
  
}

.slider-controls span {
  width: 30px;
  height: 30px;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgb(232, 232, 232);
  background-color: #1c1c1c;
  padding: 15px;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: all;
  transition: 0.5s;
}

.slider-controls span:hover {
  transform: scale(1.1);
}

/* ============== Galería de imágenes ============== */

.galeria-noticia {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  justify-content: center;
}

.imagen-galeria {
  width: 100%;
  height: 150px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.imagen-galeria img,
.imagen-galeria video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s;
}

.imagen-galeria img:hover {
  transform: scale(1.1);
}

.imagen-galeria video {
  pointer-events: none;
}

.imagen-galeria video[onclick] {
  pointer-events: auto;
}

/* =================== Modal =================== */
.modal {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal.hidden {
  display: none;
}

.modal-contenido {
  max-width: 90%;
  max-height: 90%;
  border-radius: 5px;
}

.cerrar {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
}

.flecha {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  color: white;
  cursor: pointer;
  user-select: none;
  z-index: 1001;
}

.flecha.izquierda {
  left: 10px;
}

.flecha.derecha {
  right: 10px;
}

.flecha:hover {
  color: #ccc;
}

.modal-contenido {
  display: block;
  max-width: 90%;
  max-height: 90%;
  margin: auto;
}

/* ======== Sección MARCAS ======== */
.proyecto-section {
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
  box-sizing: border-box;
}

.proyecto-contenido {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80%;
  height: auto;
  gap: 20px;
}

.proyecto-texto {
  position: absolute;
  margin: 0 auto;
  bottom: 20px;
  right: 80px;
  width: 400px;
  background-color: rgba( 0, 0, 0, 0.6);
  padding: 10px;
  border-radius: 20px;
  backdrop-filter: blur(5px);
}

.proyecto-texto h1{
  font-weight: 300;
  font-size: 26px;
  color: #fff;
}

.proyecto-texto p {
  color: #ffffff;
  font-size: 15px;
  font-weight: 300;
}

.btn-volver {
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  color: #fff;
  background-color: #F39433;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  text-align: center;
  cursor: pointer;
}

.btn-volver:hover {
  background-color: #1E7786;
  color: #FFF;
}



/* ============== Galería de imágenes ============== */
.galeria-noticia {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  justify-content: center;
}

.imagen-galeria {
  width: 100%;
  height: 150px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.imagen-galeria img,
.imagen-galeria video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s;
}

.imagen-galeria img:hover {
  transform: scale(1.1);
}

.imagen-galeria video {
  pointer-events: none;
}

.imagen-galeria video[onclick] {
  pointer-events: auto;
}

/* =================== Modal =================== */
.modal {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal.hidden {
  display: none;
}

.modal-contenido {
  max-width: 90%;
  max-height: 90%;
  border-radius: 5px;
}

.cerrar {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
}

.flecha {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  color: white;
  cursor: pointer;
  user-select: none;
  z-index: 1001;
}

.flecha.izquierda {
  left: 10px;
}

.flecha.derecha {
  right: 10px;
}

.flecha:hover {
  color: #ccc;
}

.modal-contenido {
  display: block;
  max-width: 90%;
  max-height: 90%;
  margin: auto;
}

/* ======== Estilos Responsivos para Dispositivos Menores a 768px ======== */
@media (max-width: 768px) {


  .proyecto-contenido {
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
    width: 90%;
  }

  .proyecto-texto {
    text-align: center;
  }

  .slider {
    max-width: 100%;
  }

  .slider img {
    object-fit: cover;
    height: auto;
  }


}


/* ===================================================================================== */
/* ============================ SERVICIOS VENTA DE MARCAS ============================== */
/* ===================================================================================== */

/* ============================ MAIN ========================= */

.servicio-section {
  /* padding: 150px 0 100px 0; */
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  height: auto;
  width: 80%;
  box-sizing: border-box;
  margin: 0 auto;
}

.servicio-contenido {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 90%;
  gap: 20px;
}

.main-marcas {
  text-align: center;
  padding: 50px 10px;
  width: 100%;
}

.titulos-marcas h2 {
  font-size: 4rem;
  color: #FFA500;
  margin-top: 130px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.titulos-marcas h3 {
  font-size: 1.5rem;
  background: #4A5FC1;
  color: white;
  display: inline-block;
  padding: 5px 20px;
  border-radius: 15px;
  margin-bottom: 20px;
}

.titulos-marcas h1 {
  font-size: 4rem;
  color: #2F4F4F;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.phone {
  font-size: 30px;
  margin-bottom: 20px;
  font-weight: bold;
}

.textos-marcas {
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
}

.textos-marcas .titulo-texto-marcas {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFAA00;
  text-transform: uppercase;
  text-align: justify;
}

.textos-marcas p {
  font-size: 15px;
  line-height: 1.7;
  color: #000;
  margin-bottom: 20px;
  text-transform: uppercase;
  text-align: justify;
}

/* ======== Slider ======== */

.servicio-slider {
  width: 90%;
  height: 90%;
}

.slider-servicio {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  height: 100%;
  border-radius: 25px;
}

.slide-servicio {
  min-width: 100%;
  transition: opacity 0.4s ease;
}

.slide-servicio img {
  width: 100%;
  height: 100%;
  padding: 150px 0 100px 0;
  object-fit: cover;
  z-index: -1;
}

/* ======== Slider ======== */
.slider {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  width: 100%;
  border-radius: 25px;
}



.slide {
  min-width: 100%;
  transition: opacity 0.4s ease;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  border-radius: 20px;
}



/*============================================= VENTAS DE MARCAS =============================================================================*/
.contenedor-main-01{
  display: flex;
  flex-direction: column;
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  margin-top: 20px;
}
.contenedor-main-01 h5{
  font-size: 20px;
}
.contenedor-main-01 h4{
  font-size: 30px;
}
.contenedor-main-01 p{
  font-size: 13px;
  margin-bottom: 30px;
}

.image-background {
  width: 100%;
  height: 100vh;
  background-image: url('../img/Fotos - Agavera/BANNER-HEAD02.jpg');
  background-size: cover; /* Asegura que la imagen cubra todo el contenedor */
  background-position: center; /* Centra la imagen */
  background-repeat: no-repeat; /* Evita repeticiones */
  position: relative;
}

.image-background-embarricado {
  width: 100%;
  height: 100vh;
  background-image: url('../img/FOTOS/BARRICAS.jpg');
  background-size: cover; /* Asegura que la imagen cubra todo el contenedor */
  background-position: center; /* Centra la imagen */
  background-repeat: no-repeat; /* Evita repeticiones */
  position: relative;
}

.contenedor-banner-marca{
  width: 100%;
}
.contenedor-banner-marca img{
  width: 100%;

}


.content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.icono{
  width: 30%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}

.icono img{
  width: 100px;
  max-height: 100px;
}
.text-left{
  text-align: left;
}
.text-right{
  text-align: right;
}
.cont-instrucciones {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); /* Se ajusta automáticamente */
  gap: 10px;
}

.logo-de-marca{
  margin: auto;
  width: 200px;
  padding-top: 20px;
}
.contenedor-info-marca{
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: auto;
  align-items: center;
  justify-content: center;
  margin: 10px 0px 10px 0px;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
}
.responsive-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between; /* Espacios iguales entre los elementos */
  gap: 20px; /* Espacio entre los elementos */
  padding: 20px;
}

.box {
  flex: 1 1 calc(33.33% - 20px); /* Toma un tercio del ancho menos el gap */
  min-width: 200px; /* Asegura un ancho m\u00ednimo para dispositivos pequeños */
  background-color: transparent; /* Fondo azul */

  text-align: center;
  padding: 20px;
  border-radius: 8px;
  
}
.opcion-marca{
  width: 250px;
}
.iconos-marca{
  height: 50px;
 
}
.caract-marca-titulo{
  font-size: 18px;
  color: #1E7786;
  margin-top: 10px;
}
.caract-marca-contendeor{
  display: flex;
  flex-direction: column;

  align-items: center;
  flex: 1 1 calc(33.33% - 20px); 
  text-align: center;
}

/*----------------------------------------------------- gagllery----------------------------------------------*/
.gallery {
     margin: auto;
     width: 90%;
     display: grid;
     grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
     grid-auto-rows: 10px;
     grid-gap: 15px;
     padding: 20px;
}

.gallery-item {
     border-radius: 12px;
     overflow: hidden;
     box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.gallery-item video{
       width: 100%;
     height: 100%;
     object-fit: cover;
     /* <- Esto hace que la imagen cubra el contenedor */
     display: block;
}
.gallery-item img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     /* <- Esto hace que la imagen cubra el contenedor */
     display: block;
}
.tall {
     grid-row: span 30;
}

.medium {
     grid-row: span 20;
}

.small {
     grid-row: span 15;
}


/*============================================================= ANIMACION FADE UP ======================================================================================*/
/* Estilo inicial para los elementos con fade-up */
[data-aos="fade-up"] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Estado activo de la animación */
[data-aos="fade-up"].aos-animate {
  opacity: 1;
  transform: translateY(0);
}





/* ============================ RESPONSIVE ========================= */

@media (max-width: 768px) {
  .servicio-section {
    width: 95%;
    flex-direction: column;
    padding: 80px 0 20px 0;
  }

  .servicio-contenido {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .main-marcas {
    width: 100%;
    padding: 10px;
  }

  .titulos-marcas h2 {
    font-size: 2.5rem;
    margin-top: 50px;
  }

  .titulos-marcas h3 {
    font-size: 1.2rem;
    padding: 3px 15px;
  }

  .titulos-marcas h1 {
    font-size: 3rem;
  }

  .phone {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .textos-marcas {
    max-width: 100%;
  }

  .textos-marcas .titulo-texto-marcas {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }

  .textos-marcas p {
    font-size: 14px;
  }

  /* ======== Slider ======== */
  .servicio-slider {
    width: 100%;
    height: 700px;
  }

  .slider-servicio {
    height: 100%;
  }

  .slide-servicio img {
    object-fit: contain;
    padding: 0;
    height: 100%;
  }
}


@media screen and (max-width: 1400px) {
  .cards{
    align-items: center;
    justify-content: center;
  }
  .textos h1 {
    font-size: 60px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  }
  
  .textos h2 {
    font-size: 25px;
    font-weight: 600;
    margin-top: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  }
  

  .social-stats{
    margin-top: 20px;
  }
  .influencer-bio{
    width: 80%;
    margin: auto;
  }

  .titulo-servicios h2{
    text-align: center;
  }

  .titulo-servicios p{
    font-size: 12px;
    font-weight: 700;
    color: #1E7786;
    margin-bottom: 40px;
    text-transform: uppercase;
    position: relative;
  }
  .cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    flex-wrap: wrap;
    grid-template-columns: 1fr 1fr ;
    justify-content: center;
    gap: 20px;
    margin: auto;
    width: 70%;
    position: relative;
  }
  .contenedor-nosotros{
    flex-direction: column;
    height: auto;
    justify-content: center;
    align-items: center;
  }
  .social-item i {
    font-size: 10px;
    color: #181818;
    margin-bottom: 10px;
  }
  .contenedor-nosotros-texto{
    text-align: center;
  }
  .contenedor-nosotros-img{
    height: 500px;
  }
  .beneficios-det{
    flex-direction: column;
  }
  .estadisticas{
    height: auto;
  }
  .caract:not(:last-child)::after{
    display: none;
  }
  .caract p {
    color: #ffffff;
    font-weight: 300;
    font-size: 18px;
    margin: 0px 0px 10px;
  }
  


}

@media screen and (max-width: 768px) {

  .clientes {
    padding: 20px 0;
  }

  .item {
    width: 150px;
    height: 80px;
    left: max(calc(150px * 4), 100%);
  }

  .wrapper {
    margin-top: 0;
    height: 90px;
  }
  .cards {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    align-items: center;
    flex-wrap: wrap;
    grid-template-columns: 1fr ;
    justify-content: center;
    gap: 20px;
    margin: auto;
    width: 70%;
    position: relative;
  }
  .proyecto-section{
    padding-top: 10px;
  }
  .contenedor-perfil{
    flex-direction: column;
    padding: 10px;
    width: 90%;
    padding: 20px 10px;
  }
  

}


@media (max-width: 768px) {
  .proyecto-section{
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }
  .slide{
    padding: 0px 20px;
  }
  .slider{
    overflow: visible;
  }
  .slider-controls {
    position: absolute;
    top: 120%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 60px;
    transform: translateY(-50%);
    pointer-events: none;
    
}
  .contenedor-pag{
    padding: 0px;
  }
  .cont-instrucciones{
    grid-template-columns:1fr;
  }
  .contenedor-main-01{
    padding: 10px;
  }
  .box{
    padding: 0px;
  }
    .responsive-container{
    flex-direction: column;
  }
  .contenedor-pag{
    width: 90%;
    padding: 80px 10px 80px 10px;
  }
  .cards{
    width: 100%;
  }
  .datos{
    width: 100%;
  }
  .datos-contacto{
    width: 100%;
  }
  .textos {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center; /* centra horizontal */
    align-items: center;     /* centra vertical */
    height: 100vh;  
    margin-left: 0PX;   
    height: auto;
    margin-left: 10px;
    left: NONE;
    transform: none;
  }
  .textos h1{
    font-size: 30px;
  }
  .social-item a i{
    font-size: 60px;
  }
  .cont-perfil-01{
    width: 100%;
  }
  .contenedor-nosotros-img{
    width: 90%;
  }
  .navfix {
    width: 100%;
    height: 80px;
    position: fixed;
    z-index: 100;
    margin-bottom: -10px;
    background: #1e76867a;
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    align-items: center;
    padding: 0px 10px 0px 10px;
  }
  .header_Iso {
    height: 80px;
    margin-left: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .contenedor-nosotros-texto{
    width: 100%;
    padding: 30px 10px;
  }
  .contenedor-nosotros {
    width: 100%;
    padding: 30px ;
  }

  .labe_hamburguesa {
    display: block;
    align-items: center;
    justify-content: center;
    color: #fff;
  }

  nav .ul {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 80px;
    right: 0;
    background-color: #69b1be;
    width: 100%;
    height: auto;
    /* padding: 0 0 70px 0; */
    transition: all 0.3s ease;
  }

  nav .ul .li {
    margin: 10px 0;
    text-align: center;
    width: 100%;
  }

  nav .ul .li a {
    margin: 0;
  }

  .menu_hamburguesa:checked~.ul {
    display: flex;
    flex-direction: column;
    z-index: 3;
  }
}


@media screen and (max-width: 768px) {
  .textos {
    position: absolute;
    top: 50%;
    left: calc(50% );
    transform: translate(-50%, -75%);
    text-align: center;
    z-index: 1;
    color: #fff;
    width: 80%;
    text-transform: uppercase;
  }

  .nombre span {
    font-size: 2.0rem;
    font-weight: bold;
  }

  
  .nosotros {
    height: auto;
    background: none;
  }

  .lado-izquierdo {
    width: 100%;
    height: auto;
    order: 1;
  }
  .lado-izquierdo  h2{

  }

  .contenido-texto {
    width: 90%;
    margin: 20px auto;
  }

  .nosotros::before {
    display: none;
  }

  .cont-nosotros {
    flex-direction: column;
    width: 100%;
  }

  .nosotros {
    background: none;
  }

  .banner{
  width: 100%;
  height: 600px;
  background: red;
  margin: auto;
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding-left: 0px;
  padding-top: 60px;
  margin-top: 15Px;
}
.banner h2{
  max-width: 90%;
  font-size: 30px;
  line-height: 30px;
  text-align: center;
  color: #fff;
  margin-bottom: 30px;
}
.banner-compra{
  width: 90%;
  height: 600px;
  margin: auto;
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding-left: 0px;
  padding-top: 60px;
  margin-top: 15Px;
}
.banner-compra h2{
  max-width: 90%;
  font-size: 30px;
  line-height: 30px;
  text-align: center;
  color: #fff;
  margin-bottom: 30px;
}
.banner-compra p{
    max-width: 90%;
  text-align: center;
  color: #fff;
}
.gallery{
  padding: 0px;
  width: 100%;
}
.banner p{
  max-width: 90%;
  text-align: center;
  color: #fff;
}
.banner button{
  padding: 10px 30px;
  border-radius: 10px;
  background-color: #1E7786;
  color: #ffff;
  border: none;
  margin-top: 20px;
  transition: .3s;
  font-size: 15px;
}
.banner button:hover{
  transform: scale(1.02);
  cursor: pointer;
  background-color: #2eaac0;
}
.banner button:active{
  transform: scale(0.98);
}
.banner:nth-child(2){
  background-image: url(../img/compraagv.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.banner:nth-child(3){
  background-image: url(../img/nuerstra-marca-vert.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.banner:nth-child(4){
  background-image: url(../img/tu-marca-vert.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.banner:nth-child(5){
  background-image: url(../img/embarricado.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.banner:nth-child(6){
  background-image: url(../img/embot-vert.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.banner-compra{
  background-image: url(../img/Fotos - Agavera/compra-de-agave.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.banner-promo img{
  width: 90%;
  align-self: center;
  justify-content: center;
  border-radius: 25px;
}

.datos {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  align-items: center;
}

.datos-contacto,
.oficinas {
  width: 100%;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

.datos-contacto h3,
.oficinas h3 {
  font-size: 35px;
  color: #F39433;
  margin-bottom: 10px;
}
.datos-contacto span{
  font-size: 18px;
}
.datos-contacto b{
  font-size: 20px;
}
.datos-contacto p, a{
  color: #040404;
  text-decoration: none;
}
.datos-contacto p, a:hover{
  color: #134b55;
}

.datos-contacto p,
.oficinas p {
  margin: 10px 0px;
  font-size: 26px;
  color: #040404;
  text-align: center;
}
.imagen-container{
  flex-direction: column;
  gap: 5px;
}



  /* .nosotros::after {
    content: "";
    display: block;
    width: 100%;
    height: 300px;
    background: url('../img/Fotos - agavera/foto13.jpeg') no-repeat center center fixed;
    background-size: cover;
    order: 2;
  } */
}

