* {
  box-sizing: border-box;
  /*outline: 1px solid red;  Solo para debug, luego elimínalo */
}


html, body {
  font-family: 'DM Sans', sans-serif;
  margin: 0;
  padding: 0;

}


.header {
  background: #1a1a1a;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;

  height: 60px;
  position: sticky;
  top: 0;
  z-index: 1000; /* asegura que esté por encima de otros elementos */
}

.logo {
  margin: 0;
  padding: 0;
  height: 50px;
  width: 200px;
  display: flex;
  align-items: center;
  background-color: #1a1a1a;
}

.logo-img{
  width: 200px;
  height: 50px;
  cursor: pointer;
}

.nav {
  display: flex;
  justify-content: center; /* centra los elementos */
  align-items: center; /* Centra verticalmente */
  margin-left: 15%;
  background-color: #1a1a1a;
  padding: 1rem;
  width: 100%;
    align-content: flex-end;
}


.nav-list {
 display: flex;
  list-style: none;
  gap: 1rem;
  max-width: 1200px;
  margin: 0px;

  width: 100%;
}

.nav-list a {
  text-decoration: none;
  color: white;
  padding: 0.1rem 1rem;
  transition: background 0.3s;
}

.nav-list a:hover {
  background: #333;
  border-radius: 4px;
}

.btn-cotizar {
  background: #fca311;
  color: black;
  border-radius: 4px;
  font-weight: bold;
}

.menu-toggle {
  display: none;
}

.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}




.carousel {
  position: relative;
  overflow: hidden;
  width: 100vw;   /* ← Usa el ancho total de la ventana */
  max-width: 100%;
  height: 100%;
}

.carousel-track {
  display: flex;                /* ← Esto alinea horizontalmente */
  transition: transform 0.5s ease-in-out;
  width: 100vw;
}

.slide {
    min-width: 100vw;
    height: 100vh; /* o el alto que quieras */
    flex-shrink: 0;
}

.slide img {
  width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
 
}


.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.5);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  z-index: 10;
  user-select: none;
}
.carousel-btn.prev {
  left: 1%;
}
.carousel-btn.next {
  right: 1%;
}

.container-card{
  width: 100%;
  display: flex;
  flex-direction: row;
  gap:2%;
  padding:2%;
}

.card {
    display: flex; 
    flex-direction: column; 
  
    border-radius: 16px  16px 16px 16px;
    width: 20%;
    overflow: hidden; 
    box-shadow: 15px 15px 30px #bebebe,
             -15px -15px 30px #ffffff;
  transition: 0.2s ease-in-out;
    
    border-color: #000000;
}
.card-body{
    background-color: #fffcfc;
    flex-grow: 1;
    padding: 24px; 
}

.card-title{
    color: #000000;
    font-weight: bold;
    font-size: 18px;
    font-family: Arial, Helvetica, sans-serif; 
    margin: 0px; 
    padding: 0px; 
     
}
.card-text{
    line-height: 1.4;
    margin: 10px 0px 0px 0px; 
    font-size: 17px;
    color: #000000;
    
}
.card:hover {
  cursor: pointer;
  box-shadow: 0px 10px 20px rgba(0,0,0,0.1);
}
/* Nosotros */
.div-top-nosotros{
  justify-items: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
  padding: 17% 5%;
}
.div-top-nosotros span{
  margin-left: auto;
  background-color: red;
}
/* From Uiverse.io by Li-Deheng */ 
.btn-conteiner {
  display: flex;
  justify-content: center;
  margin-top: 2%;
  --color-text: #ffffff;
  --color-background: #000000;
  --color-outline: #ff145b80;
  --color-shadow: #00000080;
}

.btn-content {
  display: flex;
  align-items: center;
  padding: 5px 30px;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 30px;
  color: var(--color-text);
  background: var(--color-background);
  transition: 1s;
  border-radius: 100px;
  box-shadow: 0 0 0.2em 0 var(--color-background);
}

.btn-content:hover, .btn-content:focus {
  transition: 0.5s;
  -webkit-animation: btn-content 1s;
  animation: btn-content 1s;
  outline: 0.1em solid transparent;
  outline-offset: 0.2em;
  box-shadow: 0 0 0.4em 0 var(--color-background);
}

.btn-content .icon-arrow {
  transition: 0.5s;
  margin-right: 0px;
  transform: scale(0.6);
}

.btn-content:hover .icon-arrow {
  transition: 0.5s;
  margin-right: 25px;
}

.icon-arrow {
  width: 20px;
  margin-left: 15px;
  position: relative;
  top: 6%;
}
  
/* Productos */
.container-productos{
  display: flex;
}
.div-left-productos{
background-color: white;
border-radius: 20px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
width: 20%;
padding: 2%;
margin: 2% 0% 0% 2%;
height: 85vh;
max-height: 86vh;
}
details{
  margin-top: 2%;
}
summary {
  background-color: white; /* Gris claro para diferenciarlo */
  padding: 10px 15px;
  font-weight: bold;
  font-size: 16px;
  border-radius: 16px;
  cursor: pointer;

  transition: background-color 0.3s ease;
  
    box-shadow: 2px 7px 13px 0px rgba(0,0,0,0.2);
    overflow: hidden; 
    border-color: #000000;
}

summary:hover {
  
    box-shadow: 0px 10px 20px rgba(0,0,0,0.1); 
    color: #990000;
}
summary span:hover{
      color: #990000;
}

.div-left-productos a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  transition: all 0.3s ease;
}

/* Hover: solo el texto cambia a degradado rojo */
.div-left-productos a:hover {
  background: linear-gradient(45deg, #ff0000, #990000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
 
}


.div-right-productos{

width: 80%;
padding: 2%;
}
/* SVG */
#arrow-icon-one {
  transition: 0.4s;
  transform: translateX(-60%);
}

#arrow-icon-two {
  transition: 0.5s;
  transform: translateX(-30%);
}

.btn-content:hover #arrow-icon-three {
  animation: color_anim 1s infinite 0.2s;
}

.btn-content:hover #arrow-icon-one {
  transform: translateX(0%);
  animation: color_anim 1s infinite 0.6s;
}

.btn-content:hover #arrow-icon-two {
  transform: translateX(0%);
  animation: color_anim 1s infinite 0.4s;
}


/* Contenedor fijo en esquina inferior derecha */
.social-fixed {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
}

/* Estilo base de los íconos */
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  font-size: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* Colores por red */
.social-icon.facebook {
  background-color: #3b5998;
}
.social-icon.instagram {
  background-color: #e4405f;
}
.social-icon.whatsapp {
  background-color: #25D366;
}

/* Efecto hover */
.social-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}



/* SVG animations */
@keyframes color_anim {
  0% {
    fill: white;
  }

  50% {
    fill: var(--color-background);
  }

  100% {
    fill: white;
  }
}

/* Button animations */
@-webkit-keyframes btn-content {
  0% {
    outline: 0.2em solid var(--color-background);
    outline-offset: 0;
  }
}

@keyframes btn-content {
  0% {
    outline: 0.2em solid var(--color-background);
    outline-offset: 0;
  }
}

/* Responsive */

@media (max-width: 768px) {
  .nav {
    position: absolute;
    top: 100%; /* justo debajo del header si está dentro */
    left: 0;
    right: 0;
    background: #1a1a1a;
    flex-direction: column;
    display: none;
    z-index: 1000; /* ← esto es crucial para que se superponga */
  }

  .menu-toggle:checked + .hamburger + .nav {
    display: flex;

  }

  .nav-list {
    flex-direction: column;
    text-align: center;
  }

  .hamburger {
    display: block;
    position: absolute;
    right: 5%;
    top: 10%;
    z-index: 1001; /* asegúrate de que el ícono esté sobre el menú */
  }

.carousel {
  position: relative;
  overflow: hidden;
  width: 50vw;   /* ← Usa el ancho total de la ventana */
  max-width: 100%;
  height: 100%;
}

.carousel-track {
  display: flex;                /* ← Esto alinea horizontalmente */
  transition: transform 0.5s ease-in-out;
  width: 100vw;
}

.slide {
    min-width: 100vw;
    height: 100vh; /* o el alto que quieras */
    flex-shrink: 0;
}

.slide img {
  width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
 
}

.container-card{
  width: 100%;
  display: flex;
  flex-direction: column;
  gap:2%;
  padding:2%;
  align-items: center;
  
}

.card {
    display: flex; 
    flex-direction: column; 
    border-radius: 16px  16px 16px 16px;
    width: 272px;
    box-shadow: 2px 7px 13px 0px rgba(0,0,0,0.2);
    overflow: hidden; 
    border-color: #000000;
    margin-top: 5%;
}

}




