/**
 * 聯絡起吉頁面樣式
 * 包含首圖、表單、聯絡資訊三區塊
 */

/* ========== 頁面容器 ========== */

body {
}

.contact-page {
  width: 100%;
  margin-bottom: 176px;
}

/* ========== 第一區塊：首圖 ========== */
.contact-hero {
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
}

.contact-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 46px;
  margin-top: -54px;
  z-index: 1;
}

.contact-main {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.phone-contact {
  display: flex;
  gap: 17px;
  width: 318px;
  height: 138px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  justify-content: flex-start;
  align-items: flex-start;
  padding: 34.5px 45px;
  background: #fff;
}
.phone-icon {
}
.phone-info {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.phone-text,
.address-text {
  color: #0b2341;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 2.4px;
}
.phone-number,
.address-detail {
  font-size: 20px;
}
.address-contact {
  display: flex;
  gap: 17px;
  width: 460px;
  height: 138px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  justify-content: flex-start;
  align-items: flex-start;
  padding: 34.5px 45px;
  background: #fff;
}
.address-icon {
}
.address-info {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.form-row {
  flex-direction: column;
}
.form-grid {
  width: 100%;
}

.form-group {
  flex-direction: column;
}

.form-input,
.form-textarea {
  border-bottom: 1px solid #000;
  border-top: none;
  border-left: none;
  border-right: none;
  border-radius: 0;
}

.form-textarea {
  overflow: hidden;
  resize: none;
}

.form-info-text {
  white-space: nowrap;
}

.form-actions {
  margin-top: 36px;
}

/* ========== 響應式：手機 (≤480px) ========== */
@media (max-width: 480px) {
  .contact-container {
    margin-top: -8px;
    flex-direction: column;
    width: 100%;
    max-width: 236px;
    gap: 10px;
  }

  .phone-contact {
    align-items: center;
    width: 100%;
    height: 32px;
    padding: 0;
    padding-left: 15px;
    gap: 4px;
    justify-content: flex-start;
    box-shadow: 0 1.403px 4.279px 0 rgba(0, 0, 0, 0.25);
  }

  .address-contact {
    height: 54px;
    width: 100%;
    padding: 0;
    padding-top: 8px;
    padding-left: 15px;
    justify-content: flex-start;
    gap: 4px;
    box-shadow: 0 1.403px 4.279px 0 rgba(0, 0, 0, 0.25);
  }

  .phone-icon {
    width: 17px;
    height: 16px;
  }

  .phone-info {
    display: flex;
    gap: 4px;
    flex-direction: row;
  }

  .address-icon {
    width: 12px;
    height: 16px;
  }

  .address-info {
    gap: 5.96px;
  }

  .phone-text,
  .address-text {
    font-size: 13px;
    line-height: 16px;
  }
  .phone-number {
    color: #0b2341;
    font-size: 13px;
    line-height: 16px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 1.3px;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
  }
  .address-detail {
    font-size: 13px;
    line-height: 16px;
  }

  .contact-page {
    margin-bottom: 94px;
  }

  .contact-form {
    max-width: 258px;
    width: 100%;
  }

  .form-row {
    margin-bottom: 20px;
  }

  .form-group {
    gap: 0;
  }

  .form-input,
  .form-textarea {
    padding: 0 0 6px;
  }
  .form-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
  }

  .form-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    margin: 24px auto 20px;
  }

  .form-actions {
    margin-top: 0;
  }

  .btn-submit {
    font-size: 16px;
    height: 36px;
  }
}
