:root {
  --contact-deep: #102531;
  --contact-blue: #246073;
  --contact-red: #c9342b;
  --contact-amber: #d99b2b;
  --contact-text: #17212b;
  --contact-muted: #66717c;
  --contact-line: #dfe5ea;
  --contact-soft: #f7f8f8;
  --contact-shadow: 0 14px 34px rgba(14, 38, 54, .08);
}

.contact-page {
  color: var(--contact-text);
  background: #fff;
  line-height: 1.7;
}

.contact-page a {
  color: inherit;
  text-decoration: none;
}

.contact-page img {
  display: block;
  width: 100%;
}

.contact-container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.contact-hero {
  min-height: 400px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(13, 32, 43, .96) 0%, rgba(31, 78, 98, .76) 48%, rgba(31, 78, 98, .2) 100%),
    var(--column-banner-pc, url("../images/shibeng/manufacturing-hero.jpg")) center / cover no-repeat;
}

.contact-hero-inner {
  min-height: 400px;
  display: flex;
  align-items: center;
}

.contact-hero-copy {
  max-width: 740px;
}

.contact-kicker {
  margin: 0 0 12px;
  color: var(--contact-amber);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.contact-hero h1 {
  margin: 0;
  font-size: 48px;
  line-height: 1.18;
}

.contact-hero-copy > p:not(.contact-kicker) {
  max-width: 660px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, .88);
  font-size: 18px;
}

.contact-breadcrumb {
  margin-top: 24px;
  color: rgba(255, 255, 255, .68);
  font-size: 15px;
}

.contact-section {
  padding: 68px 0;
}

.contact-section-soft {
  background: var(--contact-soft);
}

.contact-main-grid {
  display: grid;
  grid-template-columns: minmax(340px, .9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: stretch;
}

.contact-info-panel,
.contact-form-panel,
.contact-require-grid article,
.contact-service-grid article,
.contact-map-card {
  border: 1px solid var(--contact-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--contact-shadow);
}

.contact-info-panel {
  padding: 34px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(16, 37, 49, .98), rgba(36, 96, 115, .92)),
    url("../images/shibeng/factory-machining.jpg") center / cover no-repeat;
}

.contact-info-panel h2,
.contact-section-title h2,
.contact-map-card h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.28;
}

.contact-lead {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
}

.contact-phone-box {
  margin: 28px 0;
  padding: 20px;
  border-left: 4px solid var(--contact-amber);
  background: rgba(255, 255, 255, .12);
}

.contact-phone-box span {
  display: block;
  color: rgba(255, 255, 255, .72);
  font-size: 15px;
}

.contact-phone-box a {
  display: block;
  margin-top: 4px;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
}

.contact-info-list {
  display: grid;
  gap: 12px;
}

.contact-info-list div {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.contact-info-list strong,
.contact-info-list span {
  display: block;
}

.contact-info-list strong {
  color: rgba(255, 255, 255, .95);
  font-size: 14px;
}

.contact-info-list span {
  margin-top: 3px;
  color: rgba(255, 255, 255, .72);
  font-size: 15px;
}

.contact-form-panel {
  padding: 34px;
}

.contact-section-title {
  margin-bottom: 24px;
}

.contact-section-title.centered {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.contact-section-title h2::after,
.contact-map-card h2::after {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  margin-top: 14px;
  background: var(--contact-red);
}

.contact-section-title.centered h2::after {
  margin-left: auto;
  margin-right: auto;
}

.contact-section-title p:last-child {
  margin: 12px 0 0;
  color: var(--contact-muted);
  font-size: 14px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.contact-form label {
  display: block;
}

.contact-form span {
  display: block;
  margin-bottom: 7px;
  color: #42515d;
  font-size: 15px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--contact-line);
  border-radius: 5px;
  background: #fbfcfd;
  color: var(--contact-text);
  font: inherit;
  outline: none;
}

.contact-form input {
  height: 46px;
  padding: 0 13px;
}

.contact-form textarea {
  min-height: 118px;
  padding: 12px 13px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--contact-blue);
  background: #fff;
}

.contact-form button {
  width: 160px;
  height: 46px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: var(--contact-red);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.contact-require-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.contact-require-grid article {
  min-height: 205px;
  padding: 24px;
}

.contact-require-grid span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--contact-blue);
  font-size: 15px;
  font-weight: 800;
}

.contact-require-grid h3,
.contact-service-grid h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
}

.contact-require-grid p,
.contact-service-grid p,
.contact-map-card p {
  margin: 9px 0 0;
  color: var(--contact-muted);
  font-size: 15px;
}

.contact-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.contact-service-grid article {
  overflow: hidden;
}

.contact-service-grid img {
  height: 220px;
  object-fit: cover;
  background: #edf1f4;
}

.contact-service-grid div {
  padding: 22px;
}

.contact-map-section {
  padding: 0 0 68px;
}

.contact-map-card {
  padding: 30px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(360px, 1.14fr);
  gap: 30px;
  align-items: center;
}

.contact-map-placeholder {
  min-height: 250px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(16, 37, 49, .84), rgba(36, 96, 115, .78)),
    url("../images/shibeng/manufacturing-factory.jpg") center / cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}

.contact-map-placeholder strong {
  font-size: 28px;
}

.contact-map-placeholder span {
  margin-top: 8px;
  color: rgba(255, 255, 255, .78);
}

.contact-map-placeholder img {
  height: 250px;
  border-radius: 8px;
  object-fit: cover;
}

@media (max-width: 980px) {
  .contact-main-grid,
  .contact-map-card {
    grid-template-columns: 1fr;
  }

  .contact-require-grid,
  .contact-service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .contact-hero,
  .contact-hero-inner {
    min-height: 320px;
  }

  .contact-hero {
    background:
      linear-gradient(90deg, rgba(13, 32, 43, .96) 0%, rgba(31, 78, 98, .82) 54%, rgba(31, 78, 98, .48) 100%),
      var(--column-banner-mobile, var(--column-banner-pc, url("../images/shibeng/manufacturing-hero.jpg"))) center / cover no-repeat;
  }

  .contact-hero h1 {
    font-size: 36px;
  }

  .contact-hero-copy > p:not(.contact-kicker) {
    font-size: 16px;
  }

  .contact-section {
    padding: 48px 0;
  }

  .contact-info-panel,
  .contact-form-panel,
  .contact-map-card {
    padding: 24px;
  }

  .contact-form-row,
  .contact-require-grid,
  .contact-service-grid {
    grid-template-columns: 1fr;
  }

  .contact-phone-box a {
    font-size: 28px;
  }

  .contact-form button {
    width: 100%;
  }

  .contact-map-placeholder {
    min-height: 210px;
  }
}

.contact-company-map { display:block; }
.contact-map-heading { display:flex; justify-content:space-between; align-items:center; gap:24px; margin-bottom:22px; }
.contact-map-heading h2 { margin:0 0 10px; }
.contact-map-heading p:last-child { margin:0; color:var(--contact-muted,#66717c); font-size:15px; }
.contact-map-directions { display:inline-flex; flex-shrink:0; padding:12px 22px; background:#1768cf; color:#fff!important; border-radius:5px; font-size:14px; font-weight:600; }
.contact-map-directions:hover { background:#1257ae; }
.contact-map-frame { border:1px solid #dfe5ea; border-radius:8px; overflow:hidden; background:#f4f7fa; }
.contact-map-frame iframe { display:block; width:100%; height:430px; border:0; }
.contact-map-note { margin:14px 0 0; color:#66717c; font-size:15px; }
@media(max-width:680px) {
 .contact-map-heading { flex-direction:column; align-items:flex-start; gap:16px; }
 .contact-map-frame iframe { height:360px; }
 .contact-company-map { padding:18px; }
}

.contact-visit-panel { padding:30px; background:#fff; border:1px solid #dfe5ea; border-radius:8px; box-shadow:0 10px 28px rgba(14,38,54,.05); }
.contact-visit-panel .contact-section-title { margin-bottom:24px; }
.contact-visit-list > div { display:grid; grid-template-columns:34px minmax(0,1fr); gap:16px; padding:18px 0; border-bottom:1px solid #e7edf2; }
.contact-visit-list > div:first-child { padding-top:0; }
.contact-visit-list > div > span { display:flex; justify-content:center; align-items:center; width:34px; height:34px; border-radius:50%; background:#edf4fc; color:#1768cf; font-size:15px; font-weight:700; }
.contact-visit-list h3 { margin:0 0 7px; font-size:17px; }
.contact-visit-list p { margin:0; color:#66717c; font-size:14px; line-height:1.8; }
.contact-quick-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:24px; }
.contact-quick-actions a { display:inline-flex; justify-content:center; align-items:center; min-height:44px; padding:10px 22px; border-radius:5px; font-size:14px; font-weight:600; border:1px solid #1768cf; }
.contact-action-primary { background:#1768cf; color:#fff!important; }
.contact-action-secondary { color:#1768cf!important; background:#fff; }
#company-location { scroll-margin-top:100px; }
@media(max-width:680px) {
 .contact-visit-panel { padding:24px; }
 .contact-visit-list > div { gap:12px; }
 .contact-quick-actions a { flex:1; padding:10px 12px; }
}
