/* =========================================================
   GOLDEN BAKERY CONTACT SECTION
   Bộ class riêng: gbz-contact
   ========================================================= */

.gbz-contact {
  --gbz-wine: #68101d;
  --gbz-wine-dark: #450710;
  --gbz-gold: #d6a640;
  --gbz-gold-light: #f1d286;
  --gbz-cream: #fff8e8;
  --gbz-text-soft: rgba(255, 248, 232, 0.9);

  width: 100%;
  margin: 0;
  padding: 40px 18px;

  background:
    linear-gradient(
      180deg,
      #fffdf8 0%,
      #fff9ef 100%
    );
}

.gbz-contact,
.gbz-contact *,
.gbz-contact *::before,
.gbz-contact *::after {
  box-sizing: border-box;
}


/* =========================================================
   Khung chính
   ========================================================= */

.gbz-contact__card {
  display: grid;
  grid-template-columns: 1fr 1fr;

  width: 100%;
  max-width: 1480px;
  min-height: 620px;

  margin: 0 auto;
  overflow: hidden;

  border: 2px solid var(--gbz-gold);
  border-radius: 32px;

  background: var(--gbz-wine);

  box-shadow:
    0 24px 58px rgba(69, 7, 16, 0.18);
}


/* =========================================================
   Khối ảnh
   ========================================================= */

.gbz-contact__media {
  position: relative;

  min-width: 0;
  min-height: 620px;

  overflow: hidden;

  background: var(--gbz-cream);
}

.gbz-contact__media img {
  display: block;

  width: 100%;
  height: 100%;
  min-height: 620px;

  margin: 0;
  padding: 0;

  object-fit: cover;
  object-position: center;

  border: 0;
  border-radius: 0;

  box-shadow: none;
}


/* =========================================================
   Khối nội dung
   ========================================================= */

.gbz-contact__content {
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  min-width: 0;

  padding: 58px;

  color: var(--gbz-cream);
  text-align: center;

  background:
    radial-gradient(
      circle at 82% 16%,
      rgba(241, 210, 134, 0.12),
      transparent 35%
    ),
    linear-gradient(
      145deg,
      var(--gbz-wine) 0%,
      var(--gbz-wine-dark) 100%
    );
}


/* =========================================================
   Dòng nhỏ phía trên
   ========================================================= */

.gbz-contact__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin: 0 0 18px;
  padding: 8px 18px;

  border: 1px solid rgba(241, 210, 134, 0.55);
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.03);

  color: var(--gbz-gold-light);

  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 2px;

  text-transform: uppercase;
}


/* =========================================================
   Tiêu đề
   ========================================================= */

.gbz-contact__title {
  margin: 0;

  color: #fffaf0;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: clamp(44px, 5vw, 70px);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: 1px;

  text-transform: uppercase;
}


/* =========================================================
   Đường trang trí
   ========================================================= */

.gbz-contact__divider {
  display: flex;
  align-items: center;
  justify-content: center;

  width: min(280px, 80%);

  margin: 26px auto 22px;
}

.gbz-contact__divider span {
  flex: 1;
  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      var(--gbz-gold-light)
    );
}

.gbz-contact__divider span:last-child {
  background:
    linear-gradient(
      90deg,
      var(--gbz-gold-light),
      transparent
    );
}

.gbz-contact__divider i {
  margin: 0 12px;

  color: var(--gbz-gold-light);

  font-size: 14px;
  line-height: 1;
  font-style: normal;
}


/* =========================================================
   Mô tả
   ========================================================= */

.gbz-contact__description {
  margin: 0 0 30px;

  color: var(--gbz-text-soft);

  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
}


/* =========================================================
   Khung chứa nút
   ========================================================= */

.gbz-contact__action {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;

  margin: 0;
  padding: 0;
}


/* =========================================================
   Reset thẻ p và br do Flatsome có thể tự chèn
   ========================================================= */

.gbz-contact__action > p,
.gbz-contact__phone > p,
.gbz-contact__phone-info > p {
  display: contents !important;

  margin: 0 !important;
  padding: 0 !important;

  border: 0 !important;
  background: transparent !important;
}

.gbz-contact__phone br,
.gbz-contact__action br {
  display: none !important;
}


/* =========================================================
   Nút điện thoại duy nhất
   ========================================================= */

.gbz-contact__phone {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;

  width: min(100%, 380px) !important;
  min-width: 0 !important;
  min-height: 78px !important;
  height: auto !important;

  margin: 0 !important;
  padding: 10px 24px 10px 11px !important;

  overflow: hidden;

  border: 2px solid var(--gbz-gold) !important;
  border-radius: 999px !important;

  background: var(--gbz-cream) !important;
  color: var(--gbz-wine) !important;

  text-decoration: none !important;

  box-shadow:
    0 14px 30px rgba(40, 4, 10, 0.27) !important;

  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease;
}

.gbz-contact__phone:hover {
  background: #fffdf6 !important;
  color: var(--gbz-wine) !important;

  text-decoration: none !important;

  transform: translateY(-3px);

  box-shadow:
    0 18px 38px rgba(40, 4, 10, 0.34) !important;
}

.gbz-contact__phone:focus-visible {
  outline: 3px solid rgba(241, 210, 134, 0.7);
  outline-offset: 4px;
}


/* =========================================================
   Icon
   ========================================================= */

.gbz-contact__phone-icon {
  display: inline-flex !important;
  flex: 0 0 56px !important;
  align-items: center !important;
  justify-content: center !important;

  width: 56px !important;
  min-width: 56px !important;
  max-width: 56px !important;

  height: 56px !important;
  min-height: 56px !important;
  max-height: 56px !important;

  margin: 0 15px 0 0 !important;
  padding: 0 !important;

  border: 0 !important;
  border-radius: 50% !important;

  background: var(--gbz-wine) !important;
  color: var(--gbz-gold-light) !important;

  font-size: 24px !important;
  line-height: 1 !important;

  text-align: center !important;

  box-shadow: none !important;
}


/* =========================================================
   Khối chữ trong nút
   ========================================================= */

.gbz-contact__phone-info {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;

  width: auto !important;
  min-width: 0 !important;
  height: auto !important;

  margin: 0 !important;
  padding: 0 !important;

  border: 0 !important;
  border-radius: 0 !important;

  background: transparent !important;

  box-shadow: none !important;

  text-align: left !important;
}


/* =========================================================
   Reset hai dòng chữ trong nút
   ========================================================= */

.gbz-contact__phone-label,
.gbz-contact__phone-number {
  display: block !important;

  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;

  height: auto !important;
  min-height: 0 !important;

  margin: 0 !important;
  padding: 0 !important;

  border: 0 !important;
  border-radius: 0 !important;

  background: transparent !important;

  box-shadow: none !important;

  text-align: left !important;

  transform: none !important;
}


/* Dòng chữ nhỏ */

.gbz-contact__phone-label {
  margin-bottom: 4px !important;

  color: #806951 !important;

  font-size: 10px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  letter-spacing: 1.3px !important;

  text-transform: uppercase !important;

  white-space: nowrap !important;
}


/* Số điện thoại */

.gbz-contact__phone-number {
  color: var(--gbz-wine) !important;

  font-size: 23px !important;
  line-height: 1.1 !important;
  font-weight: 800 !important;
  letter-spacing: 0.3px !important;

  white-space: nowrap !important;
}


/* =========================================================
   Tablet
   ========================================================= */

@media screen and (max-width: 991px) {
  .gbz-contact {
    padding: 28px 14px;
  }

  .gbz-contact__card {
    grid-template-columns: 0.9fr 1.1fr;

    min-height: 530px;

    border-radius: 28px;
  }

  .gbz-contact__media,
  .gbz-contact__media img {
    min-height: 530px;
  }

  .gbz-contact__content {
    padding: 42px 30px;
  }

  .gbz-contact__description {
    font-size: 15px;
  }
}


/* =========================================================
   Mobile
   ========================================================= */

@media screen and (max-width: 767px) {
  .gbz-contact {
    padding: 18px 10px;
  }

  .gbz-contact__card {
    display: block;

    min-height: 0;

    border-radius: 24px;
  }

  .gbz-contact__media {
    min-height: 0;

    aspect-ratio: 4 / 3;
  }

  .gbz-contact__media img {
    width: 100%;
    height: 100%;
    min-height: 0;

    object-fit: cover;
  }

  .gbz-contact__content {
    padding: 40px 18px 36px;
  }

  .gbz-contact__eyebrow {
    margin-bottom: 14px;

    padding: 7px 14px;

    font-size: 10px;
    letter-spacing: 1.5px;
  }

  .gbz-contact__title {
    font-size: clamp(38px, 11vw, 52px);
  }

  .gbz-contact__divider {
    margin: 20px auto 18px;
  }

  .gbz-contact__description {
    margin-bottom: 26px;

    font-size: 14px;
    line-height: 1.6;
  }

  .gbz-contact__phone {
    width: min(100%, 330px) !important;
    min-height: 68px !important;

    padding: 8px 17px 8px 9px !important;
  }

  .gbz-contact__phone-icon {
    flex-basis: 50px !important;

    width: 50px !important;
    min-width: 50px !important;
    max-width: 50px !important;

    height: 50px !important;
    min-height: 50px !important;
    max-height: 50px !important;

    margin-right: 12px !important;

    font-size: 21px !important;
  }

  .gbz-contact__phone-label {
    font-size: 9px !important;
    letter-spacing: 1px !important;
  }

  .gbz-contact__phone-number {
    font-size: 20px !important;
  }
}


/* =========================================================
   Mobile nhỏ
   ========================================================= */

@media screen and (max-width: 420px) {
  .gbz-contact__content {
    padding: 34px 14px 30px;
  }

  .gbz-contact__description br {
    display: none;
  }

  .gbz-contact__phone {
    width: 100% !important;
    max-width: 305px !important;

    padding-right: 13px !important;
  }

  .gbz-contact__phone-number {
    font-size: 19px !important;
  }
}


/* =========================================================
   Giảm hiệu ứng nếu người dùng tắt animation
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  .gbz-contact__phone {
    transition: none;
  }

  .gbz-contact__phone:hover {
    transform: none;
  }
}