/* 
  Universal
  titulo
  botones hover
  secccion de productos que se mueven
  glass card
  mensaje flotante
  forms
  elem2
*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
button{
  cursor:pointer;
}
.centrar{
  display:flex;
  justify-content:center;
  align-items:center;
}






.pequeno{
    width:400px;
}
.centrar{
  display:flex;
  justify-content:center;
  align-items:center;
}
.vidrioAzul{
    cursor:pointer;
    background: rgba(255, 255, 255, 0.1);
}
.vidrioAzul:hover{
    transform:scale(1.1);
    background:#132d46;
    box-shadow: 0 0 8px #1a1e29;
}
.vidrioBlanco:hover{
   background: rgba(255, 255, 255, 0.1);
}






/* titulo */
.title-section {
  text-align: center;
  margin: 25px 0;
  padding-top:25px;
  color: #132d46;
  font-size: 1.7rem;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}
.title-section:hover {
  color: #01c38e;
  text-shadow: 0 2px 6px rgba(1, 195, 142, 0.6);
}


/*botones hover*/
.btn-hover-border {
    padding: 7px 15px;
    font-size: 1rem;
    border-radius: 50px;
    outline: none;
    position: relative;
    overflow: hidden;
    transition: color 0.4s ease, border-color 0.4s ease;
    color:white;
    z-index: 1;
    width:190px;
    justify-content: center;
    background: linear-gradient(120deg, #1a1e29,#01c38e);
    border: 2px solid  white;
}
.btn-hover-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    transition: width 0.5s ease;
    border-radius: 50px;
    z-index: 0;
}
.btn-hover-border:hover::before {
    width: 100%;
}
.btn-hover-border > span {
    position: relative;
    z-index: 2;
}
.btn-hover-border:hover {
    border-color: white;
    font-weight: bold;
    text-shadow: 1px 1px 5px #333;
}
/* btn colores */
.verde-azulado::before{
    background: linear-gradient(120deg, #1a1e29, #132d46, #01c38e);
}








/*Sección de productos que se mueven*/
.content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 100px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    margin:0;
    background:red;
}
.img-group {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.slide-img {
    width: 150px;
    height: auto;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.img-group:first-child .slide-img {
    transform: translateX(-25vw);
}
.img-group:last-child .slide-img {
    transform: translateX(25vw);
}
.imgGiratoria {
  border-radius:50%;
  width:350px;
  transform: rotate(180deg);
  transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.s1{
    background:
    url('../img/bannerDXN.avif') no-repeat center center fixed;
}

/* .s1, .s2, .s3, .s4, .s5, .s6 */
.s1{        
    background-size: cover;
    height:550px;
}

/* 1024px es origial pata tablets */
@media (min-width: 768px) and (max-width: 1094px) {
    .content {
         height: auto;
        padding: 20px 50px;
        margin: 0px 0;
    }
    .slide-img {
        width: 130px;
    }
    .contenido{
        flex-direction:column;
    }
    .imgGiratoria {
        width:330px;
    }
}

@media (max-width: 768px) {
    .content {
        height: auto;
        padding: 10px 20px;
        margin: 0px 0;
    }
    .slide-img {
        width:80px;
    }
    .contenido{
        flex-direction:column;
    }
    .imgGiratoria {
        width:250px;
    }

}



/* glass card */
    .glass-card {
        border-radius: 20px;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px); 
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: white;
        text-align: center;
        overflow:hidden;
        transition:all 0.3s ease;
    }
    .glass-card img{
        width:100%;
        height: 250px;
        object-fit: cover;
    }
    .glass-card h2 {
        margin: 15px 0;
        font-size: 24px;
        padding: 0 15px;
    }
    .glass-card .descripcion {
        font-size: 15px;
        opacity: 0.9;
        padding: 0 15px;
        margin-bottom: 20px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.4;
        max-height: 4.2em; 
    }





    

/* mensaje flotante */
.msjFlotante {
    position: fixed;
    bottom: -100px; 
    left: 50%;
    transform: translateX(-50%) translateY(0);
    padding: 15px 25px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 500px;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    background: linear-gradient(135deg, #132d46 0%, #1a1e29 100%);
    border-left: 5px solid #01c38e;
}
.exito{
    background: linear-gradient(135deg, #01c38e 0%, #018f6a 100%);
    border-left: 5px solid white; 
}
.fail{
    background: linear-gradient(135deg, #e63946 0%, #9e2a2b 100%); 
    border-left: 5px solid #ffccd5; 
}
.exito i, .fail i{
    color:white;
}
.msjFlotante.notificar {
    bottom: 50px;
    opacity: 1;
}
.msjIcono {
    font-size: 1.5rem;
    display: inline-flex;
    color: #01c38e;
}
.msjTexto {
    font-size: 0.95rem;
    color: white;
}
@keyframes desvanecer {
    from { 
        bottom: 20px;
        opacity: 1;
    }
    to { 
        bottom: -100px;
        opacity: 0;
    }
}
.fade-out {
    animation: desvanecer 0.8s forwards;
}



/* forms */
.cabecera{
    display:flex;
    justify-content:space-between;
    align-items:center;
}
.cabecera button {
  padding: 5px;
  font-size: 1.5rem;
  border: none;
  background: red;
  color: white;
  transition: all 0.3s ease;
}
.cabecera button:hover {
  background: orange;
}
.mediano{
    max-width:500px;
}
.formStyle{
  z-index:3;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
  /* Estado inicial invisible */
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.7);
  display: none;
}
.formStyle.active {
  /* Estado visible con efecto de "pop" */
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes popIn {
  0% {
    transform: translate(-50%, -50%) scale(0.7);
    opacity: 0;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.05);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}

@keyframes popOut {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(0.7);
    opacity: 0;
  }
}
.blank{
  background: rgba(19, 45, 70, 0.6);
}



.elem2{
    width:100%;
    gap:7px;
    margin:15px 0;
}
.elem2 i{
 font-size:1.5rem;
}
.elem2 input {
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    transition: all 0.3s ease;
    outline: none;
    width:100%;
}

.elem2 input:focus {
    border: 1px solid rgb(1, 140, 195); 
    box-shadow: inset 0 0 0 2px #01c38e,  
                0 0 0 3px rgba(1, 195, 142, 0.3); 
}