.contact-page .lang-en {
  display: none;
}

html[data-lang="en"] .contact-page .lang-zh {
  display: none;
}

html[data-lang="en"] .contact-page .lang-en {
  display: inline;
}

html[data-lang="en"] .contact-page p.lang-en {
  display: block;
}

.contact-page {
  background:
    radial-gradient(circle at 12% 18%, rgba(182, 164, 119, 0.12), transparent 28%),
    linear-gradient(180deg, var(--ivory), #f1eadf 52%, var(--ivory));
}

.contact-kicker {
  margin: 0 0 16px;
  color: var(--olive);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: clamp(28px, 6vw, 84px);
  align-items: end;
  min-height: 650px;
  padding: 150px clamp(22px, 7vw, 112px) 82px;
  border-bottom: 1px solid var(--line);
}

.contact-hero-copy {
  max-width: 850px;
}

.contact-hero h1 {
  margin: 0;
  font-size: clamp(48px, 7.2vw, 112px);
  line-height: 0.96;
  letter-spacing: -0.035em;
}

.contact-hero-copy > p:not(.contact-kicker) {
  max-width: 650px;
  margin: 30px 0 0;
  color: var(--body);
  font-size: clamp(16px, 1.4vw, 21px);
  line-height: 1.85;
}

.contact-hero-card {
  min-height: 360px;
  padding: 34px;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(21, 19, 15, 0.18), rgba(21, 19, 15, 0.72)),
    url("../assets/factory-warehouse-jpg.webp") center / cover no-repeat;
  box-shadow: 0 28px 80px rgba(63, 54, 39, 0.16);
}

.contact-hero-card > span {
  display: block;
  font-size: 22px;
  font-weight: 800;
}

.contact-hero-card ul {
  display: grid;
  gap: 18px;
  margin: 100px 0 0;
  padding: 0;
  list-style: none;
}

.contact-hero-card li {
  padding-top: 16px;
  color: rgba(255, 253, 247, 0.84);
  border-top: 1px solid rgba(255, 253, 247, 0.26);
  font-size: 14px;
  line-height: 1.7;
}

.contact-main,
.map-section {
  width: min(100% - 44px, var(--content));
  margin: 0 auto;
}

.contact-main {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 28px;
  align-items: start;
  padding: 104px 0;
}

.contact-side {
  display: grid;
  gap: 18px;
}

.side-section,
.contact-form {
  background: rgba(255, 253, 247, 0.68);
  border: 1px solid var(--line);
}

.side-section {
  padding: 30px;
}

.side-section h2,
.form-title h2,
.map-copy h2 {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.contact-methods {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  font-style: normal;
}

.contact-methods a {
  display: grid;
  gap: 8px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.contact-methods small {
  color: var(--olive);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-methods strong {
  color: var(--ink);
  font-size: 16px;
  word-break: break-word;
}

.placeholder-note,
.address-text,
.map-copy p,
.form-static-note {
  color: var(--body);
  font-size: 14px;
  line-height: 1.8;
}

.placeholder-note {
  margin: 22px 0 0;
}

.address-text {
  margin: 24px 0 0;
}

.downloads {
  display: grid;
}

.downloads a,
.downloads button,
.contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  color: var(--white);
  background: var(--olive);
  border: 1px solid var(--olive);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition:
    background var(--ease),
    transform var(--ease);
}

.downloads a {
  margin-top: 24px;
}

.downloads button {
  margin-top: 10px;
  color: var(--muted);
  background: transparent;
  cursor: not-allowed;
}

.downloads a:hover,
.contact-form button:hover {
  background: var(--olive-dark);
  transform: translateY(-2px);
}

.contact-form {
  padding: clamp(26px, 5vw, 58px);
}

.form-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.contact-form label {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.contact-form label > span {
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 56px;
  padding: 0 16px;
  color: var(--ink);
  background: rgba(247, 243, 234, 0.72);
  border: 1px solid var(--line);
  border-radius: 0;
  outline: none;
  transition:
    border-color var(--ease),
    background var(--ease),
    box-shadow var(--ease);
}

.contact-form textarea {
  min-height: 176px;
  padding-top: 16px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  background: var(--white);
  border-color: var(--focus);
  box-shadow: 0 0 0 3px rgba(140, 121, 80, 0.14);
}

.contact-form button {
  width: 100%;
  min-height: 58px;
  margin-top: 8px;
}

.form-static-note {
  margin: 16px 0 0;
  text-align: center;
}

.map-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1fr);
  gap: 34px;
  align-items: stretch;
  padding: 0 0 112px;
}

.map-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 430px;
  padding: 42px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.map-copy p:not(.contact-kicker) {
  margin: 26px 0 0;
}

.map-frame {
  min-height: 430px;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  overflow: hidden;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
  border: 0;
  filter: saturate(0.74) sepia(0.12);
}

@media (max-width: 1040px) {
  .contact-hero,
  .contact-main,
  .map-section {
    grid-template-columns: 1fr;
  }

  .contact-hero {
    min-height: 0;
    padding-top: 132px;
  }

  .contact-hero-card {
    min-height: 280px;
  }

  .contact-hero-card ul {
    margin-top: 56px;
  }
}

@media (max-width: 680px) {
  .contact-hero {
    padding: 112px 20px 62px;
  }

  .contact-hero h1 {
    font-size: 44px;
  }

  .contact-main,
  .map-section {
    width: calc(100% - 32px);
  }

  .contact-main {
    padding: 64px 0;
  }

  .form-grid,
  .form-title {
    display: grid;
    grid-template-columns: 1fr;
  }

  .side-section,
  .contact-form,
  .map-copy {
    padding: 24px 20px;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    font-size: 16px;
  }

  .map-section {
    padding-bottom: 84px;
  }

  .map-copy,
  .map-frame,
  .map-frame iframe {
    min-height: 330px;
  }
}
