/* Main-site content uses the suite's existing layout components. */
.header .brand img { width: clamp(230px, 23vw, 320px); height: auto; }
.hero h1 {
  max-width: 1100px;
  font-size: clamp(38px, 5vw, 68px);
  text-wrap: balance;
}
.hero .lead { margin-bottom: 0; text-wrap: balance; }
.hero:after { background: linear-gradient(90deg, #102d4b80, #102d4b9c 50%, #102d4b80); }
.title-divider { width: min(220px, 60vw); margin: 0 auto; }
.stats { border-bottom: 1px solid var(--border); }
.stats .g4, .service-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stats .stat { padding-block: 18px; }
.about-copy h2 { text-wrap: balance; }
.about-copy .button, #oem-services .button { gap: 8px; }
.about-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.about-building { grid-column: 1 / -1; }
.about-building img { aspect-ratio: 1.5; }
.about-photos .photo:not(.about-building) { border-radius: 16px; border-width: 1px; box-shadow: none; }
.about-photos .photo:not(.about-building) img { aspect-ratio: 4 / 3; }
.corporate-row { max-width: 1120px; margin-inline: auto; }
.corporate-joint-copy .corporate-points { margin: 0; }
.corporate-joint-copy .corporate-points li:first-child { padding-top: 0; }
.corporate-points li:last-child { border-bottom: 0; }
.topic-group-title { margin-top: 60px; }
.section-head + .topic-group-title { margin-top: 0; }
#advantages .corporate-joint { border: 2px solid var(--blue); box-shadow: var(--shadow); }
.reason-grid .card { display: flex; flex-direction: column; align-items: center; }
.reason-grid .card:not(:has(p)) { justify-content: center; }
.reason-grid img { width: 54px; height: 54px; object-fit: contain; margin-bottom: 18px; }
.reason-grid .card p, .service-grid .card p { color: var(--muted); }
.reason-grid .text-link { margin-top: auto; padding-top: 12px; }
.reason-grid .text-link:hover { text-decoration: underline; }
.service-grid { list-style: none; margin: 0; padding: 0; }
.service-grid .step-number { margin-bottom: 14px; }
.footer > .footer-content { width: min(1000px, calc(100% - 48px)); display: grid; grid-template-columns: 1fr auto; gap: 28px; }
.footer-content .footer-social-qrs { margin: 0; }
.footer-content .legal { grid-column: 1 / -1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; margin: 0; }
.footer-content a:hover { color: var(--blue-dark); text-decoration: underline; }

@media (max-width: 900px) {
  .stats .g4, .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats .stat:nth-child(odd) { border-left: 0; }
  .reason-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  body { padding-bottom: 0; }
  .hero { min-height: clamp(430px, 72svh, 590px); }
  .hero-inner { padding: 60px 0 105px; }
  .hero h1 { font-size: clamp(24px, 7vw, 30px); }
  .header .brand img { width: clamp(185px, 60vw, 270px); }
  .topic-group-title { margin-top: 44px; }
  .reason-grid { grid-template-columns: 1fr; }
  .service-grid { gap: 12px; }
  .service-grid .card { padding: 20px 10px; }
  .service-grid h3 { font-size: 18px; }
  .service-grid .card p { font-size: 13px; }
  .footer > .footer-content { width: calc(100% - 36px); grid-template-columns: 1fr; text-align: center; }
  .footer-content .legal { justify-content: center; padding-bottom: 24px; }
}

.home-evidence { border-top: 1px solid var(--border); }
.home-evidence .section-head .intro { margin-bottom: 0; }
.home-evidence .brand-honors { max-width: 1080px; }
.home-evidence .brand-honors a { display: block; }
.home-evidence .brand-honors img { width: 100%; }
@media (min-width: 601px) and (max-width: 900px) {
  .home-evidence .evidence-partners { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.page-quick-links { margin: 22px auto 0; }
.page-quick-links .tag { font-weight: 700; }
.page-quick-links .tag:hover { background: var(--blue-dark); color: #fff; }
.suite-links .text-link, .knowledge-article-list .text-link { white-space: normal; }
@media (max-width: 600px) {
  .section .table-scroll table { min-width: 540px; }
  .section .process { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

.site-contact-footer { align-items: center; }
.site-contact-footer .site-contact-details p { margin-bottom: 8px; overflow-wrap: anywhere; }
.site-contact-footer .site-contact-details .text-link { display: inline-block; margin-top: 6px; }
.site-consultation .consultation-panel { max-height: min(390px, calc(100dvh - 160px)); }
@media (min-width: 901px) {
  .floating-contact.site-consultation { width: 172px; gap: 8px; }
  .site-consultation .consultation > summary { display: block; }
  .site-consultation .consultation-panel { margin-top: 8px; }
  .site-consultation .back-top { margin: 0; }
}
@media (min-width: 1200px) {
  .footer > .site-contact-footer { width: min(1000px, calc(100% - 380px)); }
  .site-consultation .consultation > summary { display: none; }
  .site-consultation .consultation-panel { margin-top: 0; }
}
@media (max-width: 600px) {
  body:has(.site-consultation) { padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }
  .site-consultation .consultation-panel { right: 0; }
}

.site-contact-footer .footer-social-qrs, .official-social {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 130px));
  gap: clamp(8px, 1.5vw, 20px);
  justify-content: center;
}
.site-contact-footer .footer-social-qrs figure, .official-social figure { width: auto; max-width: none; }
.site-contact-footer .footer-social-qrs img, .official-social img { width: 100%; height: auto; aspect-ratio: 1; }
.footer-social-qrs img[src$="/yanduo-wechat-official.png"] {
  border-radius: 0;
  transform: scale(1.14);
}
@media (min-width: 601px) and (max-width: 900px) {
  .footer > .site-contact-footer { grid-template-columns: 1fr; text-align: center; }
}
