/* ==========================================================================
   Contact Page Specific Styles
   ========================================================================== */

.contact-info-section {
  padding: 80px 0;
  background-color: var(--color-white);
}

/* 两个 Section 之间的分割线 */
.contact-info-section {
  border-bottom: 1px solid #EAEAEA; 
}

/* Two columns, gutter 64 */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* --------------------------------------------------------------------------
   Left column: GET IN TOUCH
   -------------------------------------------------------------------------- */
.contact-label {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 39.1px;
  color: var(--color-text-main);
  text-transform: uppercase;
  margin: 0 0 8px 0;
}

.contact-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 32px;
}

.contact-item:last-of-type {
  margin-bottom: 48px;
}

.contact-text h4 {
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 21px;
  color: #696969;
  margin: 0 0 8px 0;
  text-transform: uppercase;
}

.contact-text p {
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 21px;
  color: var(--color-text-muted);
  margin: 0;
}

/* Opening hours card - 改成极浅灰 */
.opening-card {
  width: 100%;
  min-height: 132px;
  background-color: #F4F4F4; /* 改成和首页一样的浅灰 */
  padding: 24px 50px;
  box-sizing: border-box;
}

.opening-card h4 {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
  color: var(--color-primary-red);
  margin: 0 0 11px 0;
  text-transform: uppercase;
}

.opening-row {
  display: flex;
  justify-content: space-between;
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 21px;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   Right column: Map
   -------------------------------------------------------------------------- */
.contact-map-title {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 39.1px;
  color: var(--color-text-main);
  text-transform: uppercase;
  margin: 0 0 8px 0;
}

.contact-map {
  width: 100%;
}

.contact-map iframe {
  width: 100%;
  height: 476px;
  border: 0;
  display: block;
}

/* --------------------------------------------------------------------------
   Contact Form Section
   -------------------------------------------------------------------------- */
.contact-form-section {
  padding: 80px 0;
  background-color: var(--color-white);
}

/* Form occupies 1st column, right side is for extra content */
.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-form {
  /* takes 1st column by default */
}

.contact-form-label {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 39.1px;
  color: var(--color-text-main);
  text-transform: uppercase;
  margin: 0 0 8px 0;
}

.contact-form-desc {
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 21px;
  color: var(--color-text-muted);
  margin: 0 0 40px 0;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 21px;
  color: var(--color-text-main);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.form-group .required {
  color: var(--color-primary-red);
  margin-left: 2px;
}

.form-group .required[hidden] {
  display: none;
}

.form-group input,
.form-group textarea {
  width: 100%;
  height: 43px;
  padding: 0 16px;
  border: 1px solid var(--color-border-light);
  background-color: var(--color-white);
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  line-height: 21px;
  color: var(--color-text-main);
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

.form-group textarea {
  height: 88px;
  padding: 12px 16px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-primary-red);
}

.form-group input.error,
.form-group textarea.error {
  border-color: var(--color-primary-red);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #999;
  opacity: 1;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
}

.contact-form .btn {
  margin-top: 8px;
}

/* ==========================================================================
   Contact Form Side - 右侧空白区域填内容
   ========================================================================== */
.contact-form-side {
  /* 你可以放一个图片、一个提示卡片，或者直接留空 */
  background-color: #F4F4F4;
  padding: 32px;
  border-radius: 4px; /* 如果你想要一点圆角 */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 400px;
}

.contact-form-side img {
  max-width: 100%;
  height: auto;
  margin-bottom: 16px;
}

.contact-form-side h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 8px;
}

.contact-form-side p {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  line-height: 21px;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .contact-grid,
  .contact-form-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-map iframe {
    height: 400px;
  }

  .contact-form-side {
    min-height: 200px;
  }
}

@media (max-width: 768px) {
  .contact-info-section,
  .contact-form-section {
    padding: 48px 0;
  }

  .opening-card {
    padding: 24px;
  }
}