*{
    margin: 0;
    padding: 0;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    background-color: #F8F8F8;
}
body{
    font-family: "Nunito Sans", sans-serif;
    font-size: 14px;
}
.tapa {
    width: 100vw;   /* ancho del viewport, no altura */
    height: 50vh;
    transform: translateY(-50vh); /* mejor -50vh en vez de -49vh */
    background-color: #F8F8F8;
}

.logo {
    width: 120px;
    height: auto;
}

.titulo {
  font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

p, li {
    font-weight: 300;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
    line-height: 2;
}

a {
    text-decoration: none;
    color: #146c43;
}
a:hover {
    text-decoration: underline;
}

.menu .btn {
    text-transform: uppercase;
    padding: 10px 0 10px 0;
    font-size: 12px;
    transition: all 0.5s ease;
}
.menu .btn:hover {
    transform: translate(0,-5px);
}
.btn-consulta{
    text-transform: uppercase;
    font-size: 12px;
}

#btn-movil {
    padding: 9px 14px 9px 14px;
}

#movil {
    transform: translateY(-50vh);
    transition: all 0.6s ease-in-out;
    & .btn {
        text-transform: uppercase;
        font-size: 12px;
        padding: 10px 0 10px 0;
    }
}
#back, #send, #leer {
    text-transform: uppercase;
    font-size: 12px;
}
#intro {
    transition: all 0.5s ease-in-out;
}
#productos,
#nosotros,
#contacto {
  scroll-margin-top: 10px; /* Desktop */
}

.border-bottom {
    border-style: solid;
    border-width: 0.1px;
}

textarea {
  resize: none; /* desactiva el resize */
}
.form-control:focus {
  border-color: #ced4da; /* Mantiene el borde gris original */
  box-shadow: none;
  background-color: #fff9e6;
  outline: none; /* Elimina el outline por defecto */
}


.btn-add {
    text-transform: uppercase;
    position: relative;
    transform: scale(0);
    transition: all 0.3s ease-in-out;
}
.btn-add::after {
  content: "1";
  font-size: 8px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  
  position: absolute;
  top: -4px;
  right: -4px;
  width: 14px;
  height: 14px;
  background: #DC3545;
  border-radius: 50%;
}
.btnScale {
    transform: scale(1);
}



.carousel-item {
  transition: transform 0.8s ease-in-out;
}
.servicios {
    transition: all 0.5s ease;
}

.servicios i {
    height: 300px;
    font-size: 40px;
    transition: all 0.5s ease;
}

.servicios span {
    text-align: center;
    color: #929292;
    font-weight: 400;
    font-size: 12px;
    text-transform: uppercase;
}

.servicios:hover {
    transform: translate(0,-10px);
}

.productos, .productos img {
    transition: all 0.5s ease;
}
.productos:hover {
    cursor: pointer;
    border: 1px solid #ffc107;
    transform: translate(0,-10px);
    img {
        scale: 110%;
    }
}
.productos a {
    color: #000;
}

.caracteristica {
    padding: 11px 0 11px 0;
}

.tabla-redondeada {
    border-radius: 0.375rem;
    overflow: hidden;
}
.tabla-redondeada td {
   width: 50%;
   padding: 10px 0 10px 14px;
}


@media(max-width:768px) {
    .container {
        padding: 0 40px 0 40px;
    }
    .carousel-inner {
        height: 150px;
    }
    .carousel-item img{
        height: 150px;
        object-fit: cover;
        object-position: center;
    }
    .carousel-item {
        transition: transform 0.4s ease-in-out;
    }
    .servicios i {
    font-size: 30px;
    }
    .servicios span {
    font-size: 9px;
    }
    .servicios:hover {
        transform: none;
    }
    .tapa {
    transform: translateY(-49.5vh);
    }
    /* #productos, #contacto {
    scroll-margin-top: 54vh;
    } */
}

@media (min-width: 768px) {
    .w-md-20 {
        width: 20% !important;
    }
}

/* .nomuestra {
    visibility: hidden;
    height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.3s ease-out;
} */

#about {
  max-height: 1000px;
  opacity: 1;
  overflow: hidden;
  transition: max-height 0.7s ease-out, opacity 0.7s ease-out;
}

#about.nomuestra {
  max-height: 0;
  opacity: 0;
}

.flecha li:nth-child(1) i {
  color: #019EDB;
}

.flecha li:nth-child(2) i {
  color: #33BB9C;
}

.flecha li:nth-child(3) i {
  color: #8CC63F;
}

.flecha li:nth-child(4) i {
  color: #FBAD17;
}

.flecha li:nth-child(5) i {
  color: #B468A0;
}
