/*SLIDER*/

/* ---------  Pantallas grandes --------- */
@media (max-width: 1120px) {
  .hero_area {
    height: auto;
  }

  .hero_section {
    padding: 50px 0;
  }
}

/* ---------  Tablet horizontal --------- */
@media (max-width: 992px) {
  .custom_nav-container .nav_search-btn {
    background-position: center;
  }

  .service_section .card-deck {
    flex-direction: column;
  }

  .service_section .card-deck .card {
    margin-bottom: 25px;
  }

  .hero_slide-detail h1 {
    font-size: 45px;
  }

  .hero_slide-detail p {
    font-size: 16px;
  }
}

/* ---------  Tablet vertical --------- */
@media (max-width: 768px) {
  .hero_slide-imgbox {
    width: 70%;
    margin: 30px auto;
  }

  .hero_section .hero_carousel-control {
    position: absolute;
    top: 100%;
    left: 50%;
    width: 120px;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: space-between;
  }

  .hero_slide-detail {
    text-align: center;
  }

  .hero_slide-detail h1 {
    font-size: 38px;
  }

  .hero_slide-detail p {
    font-size: 15px;
    margin: 20px 0;
  }
}

/* ---------  Celulares --------- */
@media (max-width: 576px) {
  .hero_slide-detail {
    text-align: center;
    padding: 0 15px;
  }

  .hero_slide-detail h1 {
    font-size: 30px;
  }

  .hero_slide-detail p {
    font-size: 14px;
  }

  .hero_slide-imgbox {
    width: 80%;
    margin: 20px auto;
  }

  .hero_carousel-control {
    width: 100px;
  }
}

/* ---------  Celulares chicos --------- */
@media (max-width: 400px) {
  .hero_slide-detail h1 {
    font-size: 24px;
  }

  .hero_slide-detail p {
    font-size: 13px;
  }

  .hero_slide-imgbox {
    width: 90%;
  }
}


/*LOCALES*/
/* Tablets grandes (≤ 992px) */
@media (max-width: 992px) {
  .local_card {
    height: 320px;
  }
  .local_text h3 {
    font-size: 22px;
  }
  .local_text p {
    font-size: 15px;
    line-height: 26px;
  }
}

/* Tablets chicas y móviles grandes (≤ 768px) */
@media (max-width: 768px) {
  .local_card {
    height: auto;
    min-height: 280px;
    padding: 20px;
  }
  .local_text h3 {
    font-size: 20px;
  }
  .local_text p {
    font-size: 15px;
  }
  .local_img img {
    height: 250px;
  }
}

/* Móviles (≤ 576px) */
@media (max-width: 576px) {
  .locales_header h2 {
    font-size: 26px;
  }
  .locales_header p {
    font-size: 15px;
    line-height: 24px;
  }
  .local_card {
    min-height: 240px;
    margin-bottom: 20px;
  }
  .local_text h3 {
    font-size: 18px;
  }
  .local_text p {
    font-size: 14px;
  }
  .local_img img {
    height: 200px;
  }
}

/* Móviles muy pequeños (≤ 400px) */
@media (max-width: 400px) {
  .locales_header h2 {
    font-size: 22px;
  }
  .local_text h3 {
    font-size: 16px;
  }
  .local_text p {
    font-size: 13px;
  }
  .local_img img {
    height: 180px;
  }
}