/* Contact layout follows the 23157 info/form composition with local CMS data. */
.contact-page .page-heading {
  background: linear-gradient(105deg, #f9f0e9bf, #eff5f0b8);
}
.contact-page .page-visual img {
  transition: transform .6s ease;
}
.contact-page .page-visual:hover img {
  transform: translateY(-6px) scale(1.015);
}
.contact-stage {
  padding-top: clamp(54px, 6vw, 90px);
  padding-bottom: clamp(70px, 8vw, 110px);
}
.contact-stage-head {
  margin-bottom: clamp(26px, 4vw, 45px);
  text-align: center;
}
.contact-stage-head .eyebrow {
  margin-bottom: 8px;
  color: #b76d36;
  font-size: .83rem;
  font-weight: 700;
  letter-spacing: .16em;
}
.contact-stage-head h2 {
  color: #173d32;
  font-size: clamp(2rem, 3.5vw, 3rem);
}
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(18px, 3vw, 35px);
  align-items: stretch;
}
.contact-info-panel,
.contact-form-panel {
  min-width: 0;
  border: 1px solid #a9bfb599;
  border-radius: 17px;
  background: linear-gradient(145deg, #ffffffdb, #f4f8f3bd);
  box-shadow: 0 16px 42px #173d321a;
  transition: transform .25s, box-shadow .25s;
}
.contact-info-panel:hover,
.contact-form-panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 46px #173d3224;
}
.contact-info-panel {
  padding: clamp(22px, 3vw, 42px);
}
.contact-content > h2:first-child {
  margin: 0 0 12px;
  color: #173d32;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
}
.contact-content > p {
  margin-bottom: 24px;
  color: #52685f;
}
.contact-content dl {
  display: grid;
  gap: 0;
  margin: 0;
}
.contact-info-item {
  position: relative;
  padding: 15px 15px 15px 61px;
  border-top: 1px solid #bed0c59c;
  transition: background .2s;
}
.contact-info-item:hover {
  background: #eaf3ecad;
}
.contact-info-item dt {
  color: #244c40;
  font-size: .9rem;
  font-weight: 700;
}
.contact-info-item dt .site-icon {
  position: absolute;
  left: 10px;
  top: 19px;
  width: 35px;
  height: 35px;
  padding: 8px;
  border-radius: 10px;
  background: #f6e8db;
  color: #ae5d33;
}
.contact-info-item dd {
  margin: 3px 0 0;
  color: #52675f;
  font-size: .94rem;
  overflow-wrap: anywhere;
}
.contact-info-item a:hover {
  color: #b75f35;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-form-panel {
  padding: clamp(18px, 2.5vw, 29px);
}
.contact-form-panel .consult-form {
  height: 100%;
  padding: clamp(10px, 1.5vw, 23px);
  border: 0;
  border-top: 3px solid #b76639;
  border-radius: 9px;
  background: #fff9;
  box-shadow: none;
}
.contact-form-panel .consult-form h3 {
  color: #173d32;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
}
.contact-form-panel .consult-fields {
  gap: 19px 17px;
  margin-top: 20px;
}
.contact-form-panel .consult-fields :is(input, select, textarea) {
  min-height: 43px;
  border-color: #b8ccc099;
  background: #fff;
}
.contact-form-panel .consult-fields textarea {
  min-height: 120px;
}
.contact-form-panel .button.contact-action {
  min-width: 150px;
  margin-top: 8px;
}
.contact-follow {
  margin-top: clamp(35px, 5vw, 60px);
  padding: clamp(22px, 3.5vw, 40px);
  border: 1px solid #a9bfb599;
  border-radius: 17px;
  /* RCICN-FOLLOW-BG: same gradient + shadow as .contact-info-panel /
     .contact-form-panel, so all three cards read as one set. */
  background: linear-gradient(145deg, #ffffffdb, #f4f8f3bd);
  box-shadow: 0 16px 42px #173d321a;
  text-align: center;
}
.contact-follow h2 {
  margin-bottom: 25px;
  color: #173d32;
  font-size: clamp(1.4rem, 2.3vw, 2rem);
}
.contact-follow-grid {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 4vw, 55px);
  flex-wrap: wrap;
}
.contact-follow figure {
  width: 170px;
  margin: 0;
  padding: 15px;
  border: 1px solid #b9cbbfa8;
  border-radius: 12px;
  background: #fff;
  transition: transform .25s, box-shadow .25s;
}
.contact-follow figure:hover {
  transform: translateY(-6px);
  box-shadow: 0 13px 30px #173d3221;
}
.contact-follow img {
  width: 100%;
  height: 140px!important;
  object-fit: contain;
}
.contact-follow figcaption {
  margin-top: 7px;
  color: #435d52;
  font-size: .88rem;
}
@media (max-width: 850px) {
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .contact-stage { padding-block: 48px 65px; }
  .contact-info-panel, .contact-form-panel { padding: 19px; }
  .contact-form-panel .consult-fields { grid-template-columns: 1fr; }
  .contact-info-item { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-page *, .contact-page *::before, .contact-page *::after { transition-duration: .01ms!important; }
}

/* 全站橙色体系统一：覆盖本页残留的棕橙 #b76d36 / #b76639 系列，跟随 site.css 的 :root 变量 */
.contact-stage-head .eyebrow { color: var(--contact-orange-hover); }
.contact-info-item dt .site-icon { background: var(--contact-warm); color: var(--contact-orange); }
.contact-info-item a:hover { color: var(--contact-orange-hover); }
.contact-form-panel .consult-form { border-top-color: var(--contact-orange); }
.contact-form-panel .consult-fields :is(input, select, textarea) { border-color: #d8c9b4; }
.contact-form-panel .consult-fields :is(input, select, textarea):focus { border-color: var(--contact-orange); outline: 2px solid #e0781a33; }


/* RCICN-CONTACT-LIST: contact.js rebuilds the imported key/value <ul> as
   .contact-info-list rows. Polish those rows, and keep a two-column grid
   fallback for the no-JavaScript case. */
.contact-content .contact-info-list { display: grid; gap: 0; margin: 0; }
.contact-content .contact-info-list > .contact-info-item:last-child {
  border-bottom: 1px solid #bed0c59c;
}
.contact-content .contact-info-list dt { letter-spacing: .02em; }
.contact-content .contact-info-list dt .site-icon {
  top: 50%;
  transform: translateY(-50%);
  transition: background .2s, color .2s;
}
.contact-content .contact-info-list > .contact-info-item:hover dt .site-icon {
  background: var(--contact-orange);
  color: #fff;
}
.contact-content .contact-info-list dd a { font-weight: 600; }

/* No-JS fallback: alternating labels/values become a tidy two-column grid. */
.contact-content > ul {
  display: grid;
  grid-template-columns: minmax(0, 8rem) minmax(0, 1fr);
  align-items: start;
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid #bed0c59c;
  list-style: none;
}
.contact-content > ul > li {
  margin: 0;
  padding: 13px 10px 13px 0;
  border-bottom: 1px solid #bed0c59c;
  color: #52675f;
  font-size: .94rem;
  line-height: 1.6;
}
.contact-content > ul > li > p { margin: 0; }
.contact-content > ul > li:nth-child(odd) {
  color: #244c40;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.contact-content > ul > li:nth-child(odd) > p::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--contact-orange, #b76d36);
  vertical-align: .12em;
}
@media (max-width: 600px) {
  .contact-content > ul { grid-template-columns: minmax(0, 6.6rem) minmax(0, 1fr); }
  .contact-content .contact-info-list > .contact-info-item { padding-right: 0; }
}

/* RCICN-BREADCRUMB-ALIGN */
.contact-page .page-heading-grid { align-items: start; }
