.site-footer {
  background: var(--green);
  color: #fff;
}

.footer-shell {
  width: min(100% - 282px, 1638px);
  margin: 0 auto;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 68px;
}

.footer-brand {
  display: flex;
  align-items: center;
  /* 设计稿页脚 logo 为 322×74（页头是同一图形的 275×62）。
     素材已换成 550×124 的设计稿导出（附件 meta `_junj_design_asset = 1:1089`），
     此前容器上限 201 会把 201×46 的小图直接卡住。 */
  width: min(322px, 100%);
}

.site-footer .footer-brand img {
  display: block;
  /* 填满 322 宽的容器：设计稿页脚 logo 为 322×74。
     原先 `width: auto; max-height: 46px` 是按 201×46 的小素材定的，
     换成设计稿导出（550×124）后会把 logo 继续卡在 46 高。 */
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-social {
  display: flex;
  gap: 17px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 49px;
  height: 49px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  color: #fff;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  color: var(--green, #009326);
  border-color: #fff;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  transform: translateY(-3px);
}

.footer-social a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.footer-social a:active {
  transform: translateY(-1px) scale(0.96);
}

.footer-social .iconfont {
  font-size: 25px;
}

.footer-social__custom-icon {
  width: 1em;
  height: 1em;
  object-fit: contain;
}

.footer-social a[aria-label="YouTube"] .iconfont {
  font-size: 22px;
}

.footer-content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 504px) minmax(220px, 280px) minmax(190px, 260px) minmax(300px, 360px);
  column-gap: clamp(36px, 3.2vw, 75px);
  padding: 55px 0 46px;
  margin-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-content::before {
  content: "";
  position: absolute;
  left: 504px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.consult {
  min-width: 0;
}

.consult h2,
.footer-col h3 {
  margin: 0;
  font-family: "OrbitronLocal", "Outfit", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

.consult h2 {
  font-size: 32px;
  line-height: 1.24;
}

.consult p {
  margin: 28px 0 0;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
}

.email-form {
  position: relative;
  width: 403px;
  margin-top: 36px;
}

.email-form input {
  width: 100%;
  height: 62px;
  padding: 0 72px 0 24px;
  border: 0;
  border-radius: 31px;
  outline: none;
  color: var(--green);
  font: 400 16px/1 "Outfit", Arial, sans-serif;
  background: #fff;
}

.email-form input::placeholder {
  color: #b2d7b8;
  opacity: 1;
}

.submit-arrow {
  padding: 0;
  border: 0;
  font: inherit;
  position: absolute;
  top: 9px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.submit-arrow .iconfont {
  font-size: 20px;
  position: relative;
  z-index: 1;
  transition: transform 0.25s ease;
}

.submit-arrow::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.5) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.45s ease;
}

.submit-arrow:hover,
.submit-arrow:focus-visible {
  transform: translateX(3px);
  box-shadow: 0 8px 18px rgba(0, 71, 9, 0.22);
}

.submit-arrow:hover::before,
.submit-arrow:focus-visible::before {
  transform: translateX(120%);
}

.submit-arrow:hover .iconfont,
.submit-arrow:focus-visible .iconfont {
  transform: translateX(2px);
}

.submit-arrow:active {
  transform: translateX(3px) scale(0.96);
}

.footer-col {
  min-width: 0;
}

.product-col {
  width: auto;
}

.quick-col {
  width: auto;
}

.contact-col {
  width: auto;
}

.footer-col h3 {
  font-size: 20px;
  /* 设计稿「Product Categories」等列标题：20px / 行高 40（节点 h=40）。 */
  line-height: 40px;
}

.footer-col ul {
  padding: 0;
  /* 设计稿列标题框底 254 → 首条链接顶 270，间距 16。 */
  margin: 16px 0 0;
  list-style: none;
}

.footer-col li {
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.25;
}

.product-col li,
.quick-col li {
  /* 设计稿链接行距 32 = 文字 20 + 间距 12（270/302/334/…）。 */
  margin-top: 12px;
}

.product-col li:first-child,
.quick-col li:first-child,
.contact-col li:first-child {
  margin-top: 0;
}

.product-col .marked {
  position: relative;
  padding-left: 15px;
}

/* 客户 1009 r1「页脚的 PCB 和 PCBA 需要单独加粗放大」：
   这两行是 product_category 的分组标题（term slug = pcb / pcba）——
   由 junj_footer_product_links() 输出 group=true，模板加 .is-group。
   ⚠️ .marked 是「当前页对应项」语义（helpers.php 里按当前 URL / term 判定），
   不能拿来当分组标题用，否则会误伤激活项。文件内两份定义需同步。 */
.product-col li.is-group {
  font-size: 18px;
  font-weight: 700;
}

.product-col .marked::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
}

.contact-col ul {
  margin-top: 28px;
}

.contact-col li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-top: 24px;
  font-weight: 400;
}

.contact-col .iconfont {
  flex: 0 0 20px;
  color: var(--soft-green);
  font-size: 20px;
  line-height: 1;
}

.contact-col li:nth-child(2) .iconfont {
  font-size: 21px;
}

.contact-col li:nth-child(3) .iconfont {
  font-size: 19px;
}

.contact-col li:nth-child(4) {
  line-height: 1.35;
}

.contact-col li:nth-child(4) span {
  font-size: 15px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 17px;
  color: var(--soft-green);
  font-size: 16px;
  line-height: 1;
}

.footer-bottom p {
  margin: 0;
  overflow-wrap: anywhere;
}

.footer-bottom .footer-credits {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.footer-inline-link {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.5);
  text-underline-offset: 2px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.footer-inline-link:hover,
.footer-inline-link:focus-visible {
  color: #fff;
  text-decoration-color: #fff;
  outline: none;
}

@media (max-width: 1500px) {
  .footer-shell {
    width: min(100% - 48px, 1320px);
  }

  .footer-content::before {
    display: none;
  }
}

@media (min-width: 1181px) and (max-width: 1500px) {
  .footer-shell {
    width: min(calc(100% - 120px), 1280px);
    margin-left: 24px;
    margin-right: 96px;
  }

  .footer-content {
    grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 0.9fr));
    column-gap: clamp(20px, 2vw, 36px);
    align-items: start;
  }

  .consult {
    grid-column: auto;
  }

  .email-form {
    width: min(403px, 100%);
  }

  .footer-col h3 {
    line-height: 1.4;
    overflow: visible;
  }
}

@media (max-width: 1180px) {
  .consult {
    grid-column: 1 / -1;
  }

  .footer-content {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1200px) {
  .footer-content {
    padding: 48px 0 42px;
    margin-top: 30px;
  }

  .consult h2 {
    font-size: 28px;
    line-height: 1.24;
  }

  .consult p {
    margin-top: 24px;
    font-size: 15px;
    line-height: 1.45;
  }

  .email-form {
    margin-top: 30px;
  }

  .footer-col h3 {
    font-size: 18px;
    line-height: 1.28;
  }

  .footer-col ul {
    margin-top: 22px;
  }

  .footer-col li {
    font-size: 15px;
    line-height: 1.4;
  }

  .product-col li,
  .quick-col li {
    margin-top: 10px;
  }

  .contact-col ul {
    margin-top: 22px;
  }

  .contact-col li {
    gap: 12px;
    margin-top: 18px;
  }

  .contact-col li:nth-child(4) span {
    font-size: 14px;
    line-height: 1.45;
  }

  .footer-bottom {
    font-size: 15px;
    line-height: 1.35;
  }
}

@media (max-width: 900px) {
  .footer-shell {
    width: min(100% - 32px, 100%);
  }

  .footer-top,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .footer-content {
    display: block;
    padding: 42px 0 38px;
    margin-top: 28px;
  }

  .consult,
  .product-col,
  .quick-col,
  .contact-col {
    width: 100%;
    margin: 0;
  }

  .footer-col {
    margin-top: 36px;
  }

  .consult h2 {
    font-size: 28px;
    line-height: 1.22;
  }

  .consult p {
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.5;
  }

  .email-form {
    width: min(100%, 403px);
    margin-top: 28px;
  }

  .footer-col h3 {
    font-size: 18px;
    line-height: 1.25;
  }

  .footer-col ul {
    margin-top: 20px;
  }

  .footer-col li {
    font-size: 15px;
    line-height: 1.45;
  }

  .product-col li,
  .quick-col li {
    margin-top: 9px;
  }

  .contact-col ul {
    margin-top: 20px;
  }

  .contact-col li {
    gap: 12px;
    margin-top: 16px;
  }

  .contact-col li:nth-child(4) span {
    font-size: 14px;
    line-height: 1.45;
  }

  .footer-bottom {
    padding: 15px 0 18px;
    font-size: 14px;
    line-height: 1.35;
  }
}

@media (max-width: 768px) {
  .consult h2 {
    font-size: 20px;
    line-height: 1.24;
  }
}

@media (max-width: 640px) {
  .footer-top {
    gap: 18px;
    padding-top: 44px;
  }

  .footer-content {
    padding: 34px 0 32px;
    margin-top: 22px;
  }

  .consult h2 {
    font-size: 20px;
    line-height: 1.24;
  }

  .consult p {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.5;
  }

  .email-form {
    margin-top: 22px;
  }

  .email-form input {
    height: 54px;
    padding: 0 62px 0 18px;
    font-size: 14px;
  }

  .submit-arrow {
    top: 7px;
    right: 8px;
    width: 40px;
    height: 40px;
  }

  .footer-col {
    margin-top: 30px;
  }

  .footer-col h3 {
    font-size: 17px;
  }

  .footer-col li {
    font-size: 14px;
    line-height: 1.45;
  }

  .contact-col .iconfont {
    flex-basis: 18px;
    font-size: 18px;
  }

  .contact-col li:nth-child(2) .iconfont {
    font-size: 19px;
  }

  .contact-col li:nth-child(3) .iconfont {
    font-size: 17px;
  }
}

@media (max-width: 390px) {
  .footer-shell {
    width: min(100% - 24px, 100%);
  }

  .footer-top {
    padding-top: 36px;
  }

  .footer-brand {
    width: min(201px, 100%);
  }

  .footer-social {
    flex-wrap: wrap;
    gap: 10px;
    max-width: 100%;
  }

  .footer-social a {
    width: 42px;
    height: 42px;
  }

  .footer-social .iconfont {
    font-size: 22px;
  }

  .footer-social a[aria-label="YouTube"] .iconfont {
    font-size: 19px;
  }

  .footer-content {
    padding: 28px 0;
    margin-top: 18px;
  }

  .consult h2 {
    font-size: 20px;
    line-height: 1.25;
  }

  .consult p {
    font-size: 14px;
    line-height: 1.5;
  }

  .email-form input {
    height: 50px;
    padding-left: 16px;
    padding-right: 56px;
    font-size: 14px;
  }

  .submit-arrow {
    top: 6px;
    right: 7px;
    width: 38px;
    height: 38px;
  }

  .footer-col {
    margin-top: 26px;
  }

  .footer-col h3 {
    font-size: 16px;
    line-height: 1.3;
  }

  .footer-col ul,
  .contact-col ul {
    margin-top: 16px;
  }

  .footer-col li {
    font-size: 14px;
    line-height: 1.45;
  }

  .product-col li,
  .quick-col li {
    margin-top: 8px;
  }

  .contact-col li {
    margin-top: 13px;
  }

  .contact-col li:nth-child(4) span {
    font-size: 14px;
  }

  .footer-bottom {
    gap: 10px;
    padding: 14px 0 16px;
    font-size: 14px;
    line-height: 1.45;
  }
}
.site-footer {
  background: var(--green);
  color: #fff;
}

.footer-shell {
  width: min(100% - 282px, 1638px);
  margin: 0 auto;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 68px;
}

.footer-brand {
  display: flex;
  align-items: center;
  /* 设计稿页脚 logo 为 322×74（页头是同一图形的 275×62）。
     素材已换成 550×124 的设计稿导出（附件 meta `_junj_design_asset = 1:1089`），
     此前容器上限 201 会把 201×46 的小图直接卡住。 */
  width: min(322px, 100%);
}

.site-footer .footer-brand img {
  display: block;
  /* 填满 322 宽的容器：设计稿页脚 logo 为 322×74。
     原先 `width: auto; max-height: 46px` 是按 201×46 的小素材定的，
     换成设计稿导出（550×124）后会把 logo 继续卡在 46 高。 */
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-social {
  display: flex;
  gap: 17px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 49px;
  height: 49px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  color: #fff;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  color: var(--green, #009326);
  border-color: #fff;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  transform: translateY(-3px);
}

.footer-social a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.footer-social a:active {
  transform: translateY(-1px) scale(0.96);
}

.footer-social .iconfont {
  font-size: 25px;
}

.footer-social__custom-icon {
  width: 1em;
  height: 1em;
  object-fit: contain;
}

.footer-social a[aria-label="YouTube"] .iconfont {
  font-size: 22px;
}

.footer-content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 504px) minmax(220px, 280px) minmax(190px, 260px) minmax(300px, 360px);
  column-gap: clamp(36px, 3.2vw, 75px);
  padding: 55px 0 46px;
  margin-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-content::before {
  content: "";
  position: absolute;
  left: 504px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.consult {
  min-width: 0;
}

.consult h2,
.footer-col h3 {
  margin: 0;
  font-family: "OrbitronLocal", "Outfit", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

.consult h2 {
  font-size: 32px;
  line-height: 1.24;
}

.consult p {
  margin: 28px 0 0;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
}

.email-form {
  position: relative;
  width: 403px;
  margin-top: 36px;
}

.email-form input {
  width: 100%;
  height: 62px;
  padding: 0 72px 0 24px;
  border: 0;
  border-radius: 31px;
  outline: none;
  color: var(--green);
  font: 400 16px/1 "Outfit", Arial, sans-serif;
  background: #fff;
}

.email-form input::placeholder {
  color: #b2d7b8;
  opacity: 1;
}

.submit-arrow {
  padding: 0;
  border: 0;
  font: inherit;
  position: absolute;
  top: 9px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.submit-arrow .iconfont {
  font-size: 20px;
  position: relative;
  z-index: 1;
  transition: transform 0.25s ease;
}

.submit-arrow::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.5) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.45s ease;
}

.submit-arrow:hover,
.submit-arrow:focus-visible {
  transform: translateX(3px);
  box-shadow: 0 8px 18px rgba(0, 71, 9, 0.22);
}

.submit-arrow:hover::before,
.submit-arrow:focus-visible::before {
  transform: translateX(120%);
}

.submit-arrow:hover .iconfont,
.submit-arrow:focus-visible .iconfont {
  transform: translateX(2px);
}

.submit-arrow:active {
  transform: translateX(3px) scale(0.96);
}

.footer-col {
  min-width: 0;
}

.product-col {
  width: auto;
}

.quick-col {
  width: auto;
}

.contact-col {
  width: auto;
}

.footer-col h3 {
  font-size: 20px;
  /* 设计稿「Product Categories」等列标题：20px / 行高 40（节点 h=40）。 */
  line-height: 40px;
}

.footer-col ul {
  padding: 0;
  /* 设计稿列标题框底 254 → 首条链接顶 270，间距 16。 */
  margin: 16px 0 0;
  list-style: none;
}

.footer-col li {
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.25;
}

.product-col li,
.quick-col li {
  /* 设计稿链接行距 32 = 文字 20 + 间距 12（270/302/334/…）。 */
  margin-top: 12px;
}

.product-col li:first-child,
.quick-col li:first-child,
.contact-col li:first-child {
  margin-top: 0;
}

.product-col .marked {
  position: relative;
  padding-left: 15px;
}

/* 客户 1009 r1「页脚的 PCB 和 PCBA 需要单独加粗放大」：
   这两行是 product_category 的分组标题（term slug = pcb / pcba）——
   由 junj_footer_product_links() 输出 group=true，模板加 .is-group。
   ⚠️ .marked 是「当前页对应项」语义（helpers.php 里按当前 URL / term 判定），
   不能拿来当分组标题用，否则会误伤激活项。文件内两份定义需同步。 */
.product-col li.is-group {
  font-size: 18px;
  font-weight: 700;
}

.product-col .marked::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
}

.contact-col ul {
  margin-top: 28px;
}

.contact-col li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-top: 24px;
  font-weight: 400;
}

.contact-col .iconfont {
  flex: 0 0 20px;
  color: var(--soft-green);
  font-size: 20px;
  line-height: 1;
}

.contact-col li:nth-child(2) .iconfont {
  font-size: 21px;
}

.contact-col li:nth-child(3) .iconfont {
  font-size: 19px;
}

.contact-col li:nth-child(4) {
  line-height: 1.35;
}

.contact-col li:nth-child(4) span {
  font-size: 15px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 17px;
  color: var(--soft-green);
  font-size: 16px;
  line-height: 1;
}

.footer-bottom p {
  margin: 0;
  overflow-wrap: anywhere;
}

.footer-bottom .footer-credits {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.footer-inline-link {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.5);
  text-underline-offset: 2px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.footer-inline-link:hover,
.footer-inline-link:focus-visible {
  color: #fff;
  text-decoration-color: #fff;
  outline: none;
}

@media (max-width: 1500px) {
  .footer-shell {
    width: min(100% - 48px, 1320px);
  }

  .footer-content::before {
    display: none;
  }
}

@media (min-width: 1181px) and (max-width: 1500px) {
  .footer-shell {
    width: min(calc(100% - 120px), 1280px);
    margin-left: 24px;
    margin-right: 96px;
  }

  .footer-content {
    grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 0.9fr));
    column-gap: clamp(20px, 2vw, 36px);
    align-items: start;
  }

  .consult {
    grid-column: auto;
  }

  .email-form {
    width: min(403px, 100%);
  }

  .footer-col h3 {
    line-height: 1.4;
    overflow: visible;
  }
}

@media (max-width: 1180px) {
  .consult {
    grid-column: 1 / -1;
  }

  .footer-content {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1200px) {
  .footer-content {
    padding: 48px 0 42px;
    margin-top: 30px;
  }

  .consult h2 {
    font-size: 28px;
    line-height: 1.24;
  }

  .consult p {
    margin-top: 24px;
    font-size: 15px;
    line-height: 1.45;
  }

  .email-form {
    margin-top: 30px;
  }

  .footer-col h3 {
    font-size: 18px;
    line-height: 1.28;
  }

  .footer-col ul {
    margin-top: 22px;
  }

  .footer-col li {
    font-size: 15px;
    line-height: 1.4;
  }

  .product-col li,
  .quick-col li {
    margin-top: 10px;
  }

  .contact-col ul {
    margin-top: 22px;
  }

  .contact-col li {
    gap: 12px;
    margin-top: 18px;
  }

  .contact-col li:nth-child(4) span {
    font-size: 14px;
    line-height: 1.45;
  }

  .footer-bottom {
    font-size: 15px;
    line-height: 1.35;
  }
}

@media (max-width: 900px) {
  .footer-shell {
    width: min(100% - 32px, 100%);
  }

  .footer-top,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .footer-content {
    display: block;
    padding: 42px 0 38px;
    margin-top: 28px;
  }

  .consult,
  .product-col,
  .quick-col,
  .contact-col {
    width: 100%;
    margin: 0;
  }

  .footer-col {
    margin-top: 36px;
  }

  .consult h2 {
    font-size: 28px;
    line-height: 1.22;
  }

  .consult p {
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.5;
  }

  .email-form {
    width: min(100%, 403px);
    margin-top: 28px;
  }

  .footer-col h3 {
    font-size: 18px;
    line-height: 1.25;
  }

  .footer-col ul {
    margin-top: 20px;
  }

  .footer-col li {
    font-size: 15px;
    line-height: 1.45;
  }

  .product-col li,
  .quick-col li {
    margin-top: 9px;
  }

  .contact-col ul {
    margin-top: 20px;
  }

  .contact-col li {
    gap: 12px;
    margin-top: 16px;
  }

  .contact-col li:nth-child(4) span {
    font-size: 14px;
    line-height: 1.45;
  }

  .footer-bottom {
    padding: 15px 0 18px;
    font-size: 14px;
    line-height: 1.35;
  }
}

@media (max-width: 768px) {
  .consult h2 {
    font-size: 20px;
    line-height: 1.24;
  }
}

@media (max-width: 640px) {
  .footer-top {
    gap: 18px;
    padding-top: 44px;
  }

  .footer-content {
    padding: 34px 0 32px;
    margin-top: 22px;
  }

  .consult h2 {
    font-size: 20px;
    line-height: 1.24;
  }

  .consult p {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.5;
  }

  .email-form {
    margin-top: 22px;
  }

  .email-form input {
    height: 54px;
    padding: 0 62px 0 18px;
    font-size: 14px;
  }

  .submit-arrow {
    top: 7px;
    right: 8px;
    width: 40px;
    height: 40px;
  }

  .footer-col {
    margin-top: 30px;
  }

  .footer-col h3 {
    font-size: 17px;
  }

  .footer-col li {
    font-size: 14px;
    line-height: 1.45;
  }

  .contact-col .iconfont {
    flex-basis: 18px;
    font-size: 18px;
  }

  .contact-col li:nth-child(2) .iconfont {
    font-size: 19px;
  }

  .contact-col li:nth-child(3) .iconfont {
    font-size: 17px;
  }
}

@media (max-width: 390px) {
  .footer-shell {
    width: min(100% - 24px, 100%);
  }

  .footer-top {
    padding-top: 36px;
  }

  .footer-brand {
    width: min(201px, 100%);
  }

  .footer-social {
    flex-wrap: wrap;
    gap: 10px;
    max-width: 100%;
  }

  .footer-social a {
    width: 42px;
    height: 42px;
  }

  .footer-social .iconfont {
    font-size: 22px;
  }

  .footer-social a[aria-label="YouTube"] .iconfont {
    font-size: 19px;
  }

  .footer-content {
    padding: 28px 0;
    margin-top: 18px;
  }

  .consult h2 {
    font-size: 20px;
    line-height: 1.25;
  }

  .consult p {
    font-size: 14px;
    line-height: 1.5;
  }

  .email-form input {
    height: 50px;
    padding-left: 16px;
    padding-right: 56px;
    font-size: 14px;
  }

  .submit-arrow {
    top: 6px;
    right: 7px;
    width: 38px;
    height: 38px;
  }

  .footer-col {
    margin-top: 26px;
  }

  .footer-col h3 {
    font-size: 16px;
    line-height: 1.3;
  }

  .footer-col ul,
  .contact-col ul {
    margin-top: 16px;
  }

  .footer-col li {
    font-size: 14px;
    line-height: 1.45;
  }

  .product-col li,
  .quick-col li {
    margin-top: 8px;
  }

  .contact-col li {
    margin-top: 13px;
  }

  .contact-col li:nth-child(4) span {
    font-size: 14px;
  }

  .footer-bottom {
    gap: 10px;
    padding: 14px 0 16px;
    font-size: 14px;
    line-height: 1.45;
  }
}

/*
 * 空状态行不占位。
 *
 * L-CFTS 插件的 `[data-inquiry-status]` / `.l-cfts-status` 带 `min-block-size: 1.3em`，
 * 主题 footer.php 又硬编码了一个空的 `<p class="l-cfts-status">` 占位，
 * 于是页脚凭空多出 21px 行高 + 28px 间距 = 49px（设计稿页脚 626，实现 671）。
 * 只有真正写入提示文案后才占位。
 */
.email-form .l-cfts-status:empty,
.email-form [data-inquiry-status]:empty {
  display: none;
}
