/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
  .footer {
    flex-direction: column;
    align-items: center;
    gap: 8px; /* 👈 giảm mạnh */
    text-align: center;
  }
}
 /* ====== 2. STYLE MENU MOBILE & IPAD (<= 992px) ====== */
    @media (max-width: 992px) {
      /* Ẩn Menu Desktop */
      .desktop-menu {
        display: none;
      }

      /* Hiện nút Hamburger */
      .menu-toggle {
        display: block;
        font-size: 36px;
        cursor: pointer;
        color: #1e293b;
        padding: 4px 8px;
      }

      /* Overlay mờ nền */
      .menu-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 1001;
        touch-action: none;
      }

      .menu-overlay.active {
        opacity: 1;
        visibility: visible;
      }

      /* Khung Slide-out Menu Mobile */
      .mobile-menu {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -300px; /* Trượt ẩn bên phải */
        width: 280px;
        height: 100vh;
        background-color: #ffffff;
        padding: 60px 24px 24px 24px;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
        gap: 20px;
        transition: right 0.3s ease;
        z-index: 1002;
        box-sizing: border-box;
      }

      .mobile-menu.active {
        right: 0; /* Trượt vào màn hình */
      }

      .mobile-menu a {
        text-decoration: none;
        color: #1e293b;
        font-weight: 600;
        font-size: 1.05rem;
      }

      .mobile-menu .close-btn {
        position: absolute;
        top: 16px;
        right: 20px;
        background: none;
        border: none;
        font-size: 32px;
        font-weight: bold;
        color: #64748b;
        cursor: pointer;
        line-height: 1;
      }
	  .btn{
		min-height: 48px;
	  }


    }
@media (max-width: 900px) {
  .contact-wrapper {
    display: block;
  }
  .contact-image {
    margin-bottom: 24px;
    width: 100%;
  }
  .contact-image img {
    max-height: 280px; /* Giới hạn chiều cao ảnh trên mobile cho gọn */
    width: 100%;
    /* object-fit: cover; */
  }
}
/* iPad dọc + ngang */
@media (min-width: 768px) and (max-width: 1024px) {
  .footer {
    padding: 24px 16px;
  }

  .footer-text {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .logo img {
    height: 100px; /* mobile absolute;*/
  }
  .menu-toggle {
    display: block;
  }
  .footer{
    display: block;
  }

  .menu {
    position: fixed;
    top: 0px;
    right: -100%;
    width: 100%;
    max-width: 280px;
    /* height: calc(100vh - 64px); */
    height: 100%;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 16px;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.08);
    transition: right 0.3s ease;
  }

  .menu.active {
    right: 0;
  }

  .menu a,
  .lang-switch {
    width: 100%;
    font-size: 20px;
  }

  .menu-call {
    margin-top: 12px;
    width: 100%;
    text-align: center;
  }
  .footer {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }

  .footer-left {
    flex-wrap: wrap;
    justify-content: center;
  }
}
@media (max-width: 390px) {
  .logo img {
    height: 90px; /* mobile absolute;*/
  }
  .g-recaptcha {
    transform: scale(0.77);
    -webkit-transform: scale(0.77);

    /* transform: scale(0.78);
    -webkit-transform: scale(0.78); */
  }
}
@media (max-width: 324px) {
  .logo img {
    height: 80px; /* mobile absolute;*/
  }
  .g-recaptcha {
    transform: scale(0.7);
    -webkit-transform: scale(0.7);

    /* transform: scale(0.78);
    -webkit-transform: scale(0.78); */
  }
  .footer-left span{
    white-space: normal;
  }
  
}
