/* Media queries (max-width: 990px) */
@media screen and (max-width: 990px) {
  .first-content h1 {
    width: 100%;
  }

  .about-content .paragh {
    width: 100%;
    padding-top: 2em;
    font-size: clamp(1.063rem, 0.264rem + 1.493vw, 1.188rem);
  }

  .about-content img {
    width: 40vw;
  }

  .desktop p {
    font-size: clamp(1.875rem, 1.076rem + 1.493vw, 2rem);
  }

  .bg-about p {
    font-size: 2.3em;
  }

  .services {
    padding: 4em 2%;
  }

  .services .services-content {
    gap: 6em;
  }

  /* CSS SECCIÓN PRODUCTOS */
  .product-text h3 {
    font-size: 1rem;
  }

  .product-text h2 {
    font-size: 1.7rem;
  }

  .product-text p {
    font-size: 1.2rem;
  }

  .galery {
    padding: 5em 5%;
  }

  .footer-container {
    gap: 5%;
  }
}

/* Media queries (max-width: 850px) */
@media screen and (max-width: 850px) {
  .about-content {
    display: flex;
    align-items: center;
    gap: 5%;
    width: 100%;
    padding: 10%;
    flex-wrap: wrap;
    justify-content: center;
    padding-bottom: 1%;
  }

  .about-content .second-content {
    padding-top: 5%;
  }

  .about-content .paragh {
    padding-top: 5%;
    font-size: clamp(1rem, -0.08rem + 2.586vw, 1.188rem);
  }

  .services-content h2 {
    font-size: 1em;
  }

  /* sección PRODUCTOS */
  .products .content-item {
    flex-direction: column-reverse;
  }

  .products .container {
    height: 1080px;
  }

  .product-img {
    display: none;
  }

  .product-text {
    width: 100%;
    padding: 0 2%;
    padding-top: 5%;
    /* justify-content: start; */
    gap: 2%;
  }

  .product-text img {
    width: 45%;
  }

  .last-item img {
    width: 67px;
  }

  #product-cubachance {
    display: block;
    /* height: 100%; */
    width: 100%;
    /* margin-bottom: 25px; */
  }

  .footer-container .logo-footer {
    width: clamp(13.375rem, 15.255rem + -5.185vw, 12.5rem);
  }

  .footer-container div > img {
    width: 100%;
  }
}

/* Media queries (max-width: 580px) */
@media screen and (max-width: 580px) {
  .contact-whatsapp {
    gap: 10px;
  }

  header {
    padding: 3%;
  }

  .main-section .logo {
    /* top: 10%; */
    left: 50%;
    transform: translateX(-50%);
  }

  .main-section .logo img {
    width: 65vw;
  }

  .flags {
    width: 30px;
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .about {
    height: auto;
    padding: 0;
  }

  .about-container {
    background: url(../images/bg_movil_about.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
  }

  .about-container h1 {
    padding-top: 15%;
  }

  .about-content .paragh {
    width: 100%;
    padding-top: 1em;
    font-size: 1.2rem;
  }

  .desktop {
    display: none;
  }

  .movil {
    display: block;
    text-align: center;
  }

  .movil p {
    font-family: "Great Vibes", cursive;
    font-size: 2rem;
    width: 100%;
    padding: 0;
    padding-bottom: 15%;
  }

  .about-content {
    width: 100%;
    display: flex;
    gap: 2em;
    flex-direction: column;
    align-content: center;
    align-items: center;
  }

  .second-content {
    width: 100%;
  }

  .about-content img {
    display: none;
    max-width: 100%;
  }

  .bg-about {
    display: none;
  }

  .galery {
    padding: 8% 5%;
  }

  .services .services-content {
    flex-direction: column;
  }

  .services .line {
    padding: 0 5%;
  }

  .galery {
    padding: 10% 5%;
  }

  .galery h1 {
    padding-bottom: 10%;
  }

  .galery-container img {
    width: 47%;
  }

  .footer {
    padding: 2em 0;
    height: auto;
  }

  .footer-container {
    width: 100%;
    flex-direction: column;
    align-items: center;
  }

  .footer-item {
    text-align: center;
    font-size: clamp(1rem, 2vw + 1rem, 2.5rem);
  }

  .footer-item img {
    width: 100%;
  }

  .footer-item .item-row {
    align-items: center;
    padding-bottom: 10%;
    flex-direction: column;
  }

  .gold-phone {
    font-size: 1.2em;
  }
}

/* Media queries (max-width: 430px) */
@media screen and (max-width: 430px) {
  .services .line {
    padding: 0 2%;
  }
}
