.contact_main {
  padding: 12rem 0px;
}
.contact_main .ey {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 1.2rem;
  color: #3d4652;
  font-family: var(--font_sans);
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 2rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.contact_main .ey::before {
  content: '';
  flex-shrink: 0;
  width: 2.4rem;
  height: 0.3rem;
  background-color: var(--primary);
}
.contact_main .ey.light {
  color: rgba(255, 255, 255, 0.82);
}
.contact_main .tcon.center .ey {
  margin: 0px auto;
}
.contact_main .tcon .ey + h2 {
  margin-top: 1.6rem;
}
.contact_main .tcon h2 {
  color: #16191d;
  font-size: 5.2rem;
  line-height: 6.2rem;
  letter-spacing: -0.01em;
}
.contact_main .tcon.light h2 {
  color: #fff;
}
.contact_main .tcon p {
  color: #3d4652;
  font-size: 1.8rem;
  line-height: 3rem;
}
.contact_main .tcon.light p {
  color: rgba(255, 255, 255, 0.78);
}
.contact_main .tcon.center {
  max-width: 96rem;
  margin: 0px auto;
}
.contact_main {
  scroll-margin-top: 8rem;
}
.contact_main .layout {
  display: grid;
  grid-template-columns: minmax(0px, 1fr) 80rem;
  align-items: start;
  gap: 8rem;
}
.contact_main .details {
  display: grid;
  gap: 1.6rem;
  margin-top: 4.8rem;
}
.contact_main .details li > a,
.contact_main .details li > .row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2.4rem;
  overflow: hidden;
  padding: 2.4rem 2.8rem;
  border-radius: 1.2rem;
  background-color: #f3f4f6;
  transition: transform 0.35s, box-shadow 0.35s, background-color 0.35s;
}
.contact_main .details li > a::before {
  content: '';
  position: absolute;
  left: 0px;
  top: 0px;
  width: 0.3rem;
  height: 100%;
  background-color: var(--primary);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 0.45s;
}
.contact_main .details li > a:hover {
  transform: translateY(-0.4rem);
  background-color: #fff;
  box-shadow: 0px 1.2rem 3.6rem rgba(16, 24, 40, 0.1);
}
.contact_main .details li > a:hover::before {
  transform: scaleY(1);
}
.contact_main .details i {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5.6rem;
  height: 5.6rem;
  border-radius: 1rem;
  color: #fff;
  background-color: var(--primary);
}
.contact_main .details svg {
  width: 2.4rem;
  height: 2.4rem;
}
.contact_main .details small,
.contact_main .details strong,
.contact_main .details em {
  display: block;
}
.contact_main .details small {
  color: #6b7480;
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.contact_main .details strong {
  margin-top: 0.4rem;
  color: #16191d;
  font-family: var(--font_head);
  font-weight: 600;
  font-size: 2rem;
  line-height: 2.8rem;
}
.contact_main .details em {
  margin-top: 0.2rem;
  color: #3d4652;
  font-size: 1.5rem;
  line-height: 2.2rem;
}
/* form card */
.contact_main .box {
  position: relative;
  overflow: hidden;
  padding: 5.6rem 5.6rem 5.2rem;
  border-radius: 1.2rem;
  border: 1px solid #e5e7eb;
  background-color: #fff;
  box-shadow: 0px 1.2rem 3.6rem rgba(16, 24, 40, 0.08);
}
.contact_main .box::before {
  content: '';
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 0.4rem;
  background-color: var(--primary);
}
.contact_main .form_head h3 {
  color: #16191d;
  font-weight: 700;
  font-size: 3.2rem;
  line-height: 4rem;
}
.contact_main .form_head .lead {
  margin-top: 1rem;
  color: #3d4652;
  font-size: 1.6rem;
  line-height: 2.6rem;
}
.contact_main .grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0px, 1fr));
  gap: 2.4rem 2rem;
  margin-top: 3.6rem;
}
.contact_main .grid .full {
  grid-column: 1 / -1;
}
.contact_main .grid label > span:first-child {
  display: block;
  margin-bottom: 0.8rem;
  color: #16191d;
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 2rem;
}
.contact_main .grid label b {
  color: var(--primary);
}
.contact_main .grid label .wpcf7-form-control-wrap {
  display: block;
}
.contact_main .form .form_field {
  display: block;
  width: 100%;
  height: 5.6rem;
  padding: 0px 1.8rem;
  border-radius: 0.8rem;
  border: 1px solid #e5e7eb;
  color: #16191d;
  font-size: 1.6rem;
  background-color: #f7f8fa;
  transition: border-color 0.3s, background-color 0.3s, box-shadow 0.3s;
}
.contact_main .form textarea.form_field {
  height: 15rem;
  padding: 1.4rem 1.8rem;
  line-height: 2.5rem;
  resize: vertical;
}
.contact_main .form .form_field::placeholder {
  color: #8a929c;
}
.contact_main .form .form_field:focus {
  border-color: var(--primary);
  background-color: #fff;
  box-shadow: 0px 0px 0px 0.3rem rgba(215, 38, 61, 0.1);
}
.contact_main .form .form_field.invalid,
.contact_main .form_slot .wpcf7-form-control.wpcf7-not-valid:not([type="submit"]):not([type="file"]) {
  border-color: var(--primary);
  background-color: #fff5f6;
}
/* drop zone. 20 Nov 2026 (client "这个地方请再明显一点", cross-site form rule): red accent instead of the faint grey dashed box:
   2 px red dashed border, red 7 % ground, filled red icon disc, filled red "Select a File", 2 rem taller; hover = solid border, 12 % ground */
.contact_main .drop {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 3.2rem 2.8rem;
  border-radius: 0.8rem;
  border: 2px dashed var(--primary);
  cursor: pointer;
  background-color: rgba(215, 38, 61, 0.07);
  transition: border-color 0.3s, background-color 0.3s;
}
.contact_main .drop:hover,
.contact_main .drop.over {
  border-style: solid;
  background-color: rgba(215, 38, 61, 0.12);
}
.contact_main .drop .wpcf7-form-control-wrap {
  display: contents;
}
.contact_main .drop input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.contact_main .drop i {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.8rem;
  height: 4.8rem;
  border-radius: 50%;
  color: #fff;
  background-color: var(--primary);
  box-shadow: 0px 0.6rem 1.6rem rgba(215, 38, 61, 0.28);
}
.contact_main .drop svg {
  width: 2.2rem;
  height: 2.2rem;
}
.contact_main .drop .txt {
  flex: 1;
  min-width: 0px;
}
.contact_main .drop strong,
.contact_main .drop small,
.contact_main .drop .files {
  display: block;
}
.contact_main .drop strong {
  color: #16191d;
  font-weight: 700;
  font-size: 1.7rem;
  line-height: 2.2rem;
}
.contact_main .drop small {
  margin-top: 0.2rem;
  color: #3d4652;
  font-size: 1.4rem;
  line-height: 2rem;
}
.contact_main .drop .files {
  overflow: hidden;
  color: var(--primary);
  font-size: 1.4rem;
  line-height: 2rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.contact_main .drop .pick {
  flex-shrink: 0;
  padding: 1rem 1.8rem;
  border-radius: 0.8rem;
  color: #fff;
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 2rem;
  background-color: var(--primary);
  transition: background-color 0.3s;
}
.contact_main .drop:hover .pick {
  background-color: var(--primary_dark);
}
.contact_main .foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 2rem 3.2rem;
  margin-top: 3.2rem;
  padding-top: 3.2rem;
  border-top: 1px solid #e5e7eb;
}
.contact_main .error {
  display: none;
  order: 3;
  width: 100%;
  color: var(--primary);
  font-size: 1.5rem;
  line-height: 2.2rem;
}
.contact_main .form.invalid .error {
  display: block;
}
.contact_main .foot .btn {
  height: 6rem;
  padding: 0px 4rem;
  border-radius: 0.8rem;
}
/* sent state */
.contact_main .done {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 52rem;
  text-align: center;
}
.contact_main .box.sent .form {
  display: none;
}
.contact_main .box.sent .done {
  display: flex;
}
.contact_main .done i {
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") no-repeat center / 3.6rem;
}
.contact_main .done strong {
  margin-top: 2.8rem;
  color: #16191d;
  font-family: var(--font_head);
  font-weight: 600;
  font-size: 2.8rem;
  line-height: 3.6rem;
}
.contact_main .done p {
  max-width: 44rem;
  margin-top: 1.4rem;
  color: #3d4652;
  font-size: 1.8rem;
  line-height: 2.9rem;
}
@media screen and (min-width: 769px) and (max-width: 1440px) {
  .contact_main .layout {
    grid-template-columns: minmax(0px, 1fr) 72rem;
    gap: 6rem;
  }
  .contact_main .box {
    padding: 4.8rem 4.4rem;
  }
}
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .contact_main {
    padding: 8rem 0px;
  }
  .contact_main .tcon h2 {
    font-size: 4.4rem;
    line-height: 1.16;
  }
  .contact_main .layout {
    grid-template-columns: minmax(0px, 1fr);
    gap: 5.6rem;
  }
  .contact_main .details {
    grid-template-columns: repeat(2, minmax(0px, 1fr));
  }
  .contact_main .details li > a,
  .contact_main .details li > .row {
    height: 100%;
    align-items: flex-start;
  }
}
@media screen and (max-width: 768px) {
  .contact_main {
    padding: 60px 0px;
  }
  .contact_main .ey {
    gap: 10px;
    font-size: 12px;
    line-height: 16px;
  }
  .contact_main .ey::before {
    width: 20px;
    height: 3px;
  }
  .contact_main .tcon .ey + h2 {
    margin-top: 12px;
  }
  .contact_main .tcon h2 {
    font-size: 30px;
    line-height: 1.18;
  }
  .contact_main .tcon p {
    font-size: 15px;
    line-height: 1.7;
  }
  .contact_main {
    scroll-margin-top: 60px;
  }
  .contact_main .layout {
    grid-template-columns: minmax(0px, 1fr);
    gap: 36px;
  }
  .contact_main .details {
    gap: 10px;
    margin-top: 24px;
  }
  .contact_main .details li > a,
  .contact_main .details li > .row {
    gap: 14px;
    padding: 16px;
    border-radius: 10px;
  }
  .contact_main .details i {
    width: 44px;
    height: 44px;
    border-radius: 8px;
  }
  .contact_main .details svg {
    width: 20px;
    height: 20px;
  }
  .contact_main .details small {
    font-size: 11px;
    line-height: 15px;
  }
  .contact_main .details strong {
    font-size: 16px;
    line-height: 22px;
  }
  .contact_main .details em {
    font-size: 13px;
    line-height: 18px;
  }
  .contact_main .box {
    padding: 28px 18px 24px;
    border-radius: 10px;
  }
  .contact_main .form_head h3 {
    font-size: 24px;
    line-height: 30px;
  }
  .contact_main .form_head .lead {
    font-size: 14px;
    line-height: 1.6;
  }
  .contact_main .grid {
    grid-template-columns: minmax(0px, 1fr);
    gap: 16px;
    margin-top: 22px;
  }
  .contact_main .grid label > span:first-child {
    margin-bottom: 6px;
    font-size: 14px;
    line-height: 18px;
  }
  .contact_main .form .form_field {
    height: 46px;
    padding: 0px 14px;
    border-radius: 6px;
    font-size: 15px;
  }
  .contact_main .form textarea.form_field {
    height: 120px;
    padding: 12px 14px;
    line-height: 22px;
  }
  .contact_main .drop {
    flex-wrap: wrap;
    gap: 12px;
    padding: 22px 16px;
    border-radius: 6px;
  }
  .contact_main .drop i {
    width: 40px;
    height: 40px;
  }
  .contact_main .drop strong {
    font-size: 15px;
    line-height: 20px;
  }
  .contact_main .drop small,
  .contact_main .drop .files {
    font-size: 12px;
    line-height: 17px;
  }
  .contact_main .drop .txt {
    flex-basis: calc(100% - 52px);
  }
  .contact_main .drop .pick {
    margin-left: 52px;
    padding: 8px 14px;
    font-size: 13px;
    line-height: 18px;
  }
  .contact_main .foot {
    gap: 16px;
    margin-top: 20px;
    padding-top: 20px;
  }
  .contact_main .error {
    font-size: 13px;
    line-height: 19px;
  }
  .contact_main .foot .btn {
    width: 100%;
    height: 48px;
  }
  .contact_main .done {
    min-height: 320px;
  }
  .contact_main .done i {
    width: 60px;
    height: 60px;
    background-size: 28px;
  }
  .contact_main .done strong {
    margin-top: 18px;
    font-size: 21px;
    line-height: 1.3;
  }
  .contact_main .done p {
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.6;
  }
}
/* banner of this page (inner_banner-img_bg@contact). 11 Nov 2026, client "banner blurry": the WeChat-compressed p55 (1706 px) is replaced by
   p05 (Canon original 3984 px, exported 2560 px), the project team at the meeting table. Top of the frame: the menu sits on the plain wall
   above the meeting-room screen, the table runs under the copy. p55 now illustrates the Our Promise block (720 px wide, 2.4 x sharp). */
.inner_banner.contact_banner.img_bg > img {
  object-position: center top;
}
@media screen and (max-width: 768px) {
  .inner_banner.contact_banner.img_bg > img {
    object-position: 80% center;
  }
}
