body{
    font-family: 'Sensation', sans-serif;
}
.fresadoCNC-section {
    display: flex;
    justify-content: center;
    padding: 100px 0px;
    background: white;
    padding-bottom: 200px;
}

.fresadoCNC-container {
    display: flex;
    max-width: 1200px;
    width: 100%;
    gap: 50px;
}

.fresadoCNC-imagenes {
    flex: 1.8;
    text-align: center;
    height: 500px;
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out}

.fresadoCNC-imagenes.visible{
    opacity: 1;
    transform: translateX(0);
}

.fresadoCNC-principal {
    background: #ffffff;
    width: 100%;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.fresadoCNC-principal img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}


.fresadoCNC-flecha {
    position: absolute;
    top: 50%;
    border: none;
    font-size: 25px;
    padding: 5px;
    background-color: transparent;
}

.fresadoCNC-flecha-izquierda {
    left: 0px;
    margin-left: -20px; 
}


.fresadoCNC-flecha-derecha {
    right: 0px; 
    margin-right: -20px; 
}

.fresadoCNC-galeria {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.fresadoCNC-miniatura {
    width: 100px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
}

.fresadoCNC-producto-info {
    flex: 1;
    padding: 20px;
    max-height: 500px;
    display: flex;
    flex-direction: column;
}

.fresadoCNC-producto-titulo {
    font-size: clamp(18px, 3vw, 30px);
    margin-bottom: 10px;
    color: #BCA500;
    font-weight: bold;
    position: relative;
    display: inline-block;
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fresadoCNC-producto-titulo::after{
    content: "";
    display: block;
    width: 300px;
    height: 4px;
    background-color: #BCA500; 
    margin-top: 5px; 
    border-radius: 5px; 
    margin-bottom: 20px;
}

.fresadoCNC-producto-titulo.visible{
    opacity: 1;
    transform: translateY(0);
}

.fresadoCNC-producto-descripcion {
    font-size: clamp(18px, 3vw, 20px);
    line-height: 1.5;
    text-align: justify;
    max-height: 250px;
    overflow-y: auto;
    padding-right: 10px;
}

.fresadoCNC-btn-solicitar {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #002b5c, #005eca);
    color: white;
    padding: 8px 50px;
    border: none;
    cursor: pointer;
    margin-top: 50px;
    border-radius: 10px;
    transition: color 0.3s ease;
    text-decoration: none;
    font-size: clamp(18px, 3vw, 20px);
    font-weight: bold;
    animation: bounce 1.5s infinite;
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fresadoCNC-btn-solicitar:hover{
    background: linear-gradient(90deg, #005eca, #002b5c);
    transform: scale(1.05);
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.fresadoCNC-btn-solicitar.visible{
    opacity: 1;
    transform: translateY(0);
}

.fresadoCNC-icono-whatsapp {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    filter: invert(1);
}

@media (max-width: 480px) {
  .fresadoCNC-section {
    flex-direction: column;
    padding: 40px 15px;
    padding-bottom: 80px;
  }

  .fresadoCNC-container {
    flex-direction: column;
    gap: 25px;
  }

  .fresadoCNC-imagenes {
    height: auto;
    transform: none;
    opacity: 1;
  }

  .fresadoCNC-principal {
    height: auto;
    flex-direction: column;
  }

  .fresadoCNC-principal img {
    max-height: 300px;
  }

  .fresadoCNC-flecha {
    display: none;
  }

  .fresadoCNC-galeria {
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
  }

  .fresadoCNC-miniatura {
    width: 70px;
    height: 55px;
  }

  .fresadoCNC-producto-info {
    padding: 10px;
    max-height: none;
  }

  .fresadoCNC-producto-titulo {
    font-size: 20px;
    text-align: center;
  }

  .fresadoCNC-producto-titulo::after {
    width: 80%;
    margin: 5px auto 20px auto;
  }

  .fresadoCNC-producto-descripcion {
    font-size: 14px;
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .fresadoCNC-btn-solicitar {
    padding: 10px 25px;
    margin-top: 30px;
    font-size: 15px;
    animation: none;
    transform: translateY(0);
  }

  .fresadoCNC-icono-whatsapp {
    width: 16px;
    height: 16px;
    margin-right: 8px;
  }
}
