/* Custom footer layout */
.ys-site-footer {
    --ys-footer-surface: #303030;
    --ys-footer-rule: rgba(255, 255, 255, .26);
    --ys-footer-heading: #fff;
    --ys-footer-copy: #d0d0d0;
    --ys-footer-blue: #0086ca;

    background: var(--ys-footer-surface);
    color: var(--ys-footer-copy);
    font-family: var(--theme-font-family, Arial, sans-serif);
}

.ys-footer-shell {
    width: min(100% - 48px, 1390px);
    margin: 0 auto;
    padding: 32px 0 18px;
}

.ys-footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 0 20px 28px;
    border-bottom: 1px solid var(--ys-footer-rule);
}

.ys-footer-brand .custom-logo-link,
.ys-footer-brand .custom-logo {
    display: block;
}

.ys-footer-brand .custom-logo {
    width: auto;
    max-width: 242px;
    max-height: 56px;
}

.ys-footer-name {
    color: var(--ys-footer-heading);
    font-size: clamp(26px, 2.1vw, 42px);
    font-weight: 700;
    letter-spacing: -.04em;
    text-decoration: none;
}

.ys-footer-socials {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 16px;
}

.ys-footer-socials a,
.ys-social-empty {
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    border-radius: 50%;
    background: var(--ys-footer-blue);
}

.ys-footer-socials a {
    transition: transform .2s ease, background-color .2s ease;
}

.ys-footer-socials a:hover,
.ys-footer-socials a:focus-visible {
    background: #00a1ed;
    transform: translateY(-3px);
}

.ys-footer-socials img {
    width: 23px;
    height: 23px;
    object-fit: contain;
}

.ys-footer-content {
    display: grid;
    grid-template-columns: repeat(3, minmax(155px, 1fr));
    gap: clamp(36px, 5vw, 98px);
    padding: 43px 20px 44px;
}

.ys-footer-menu h2,
.ys-footer-contact h2 {
    margin: 0 0 15px;
    color: var(--ys-footer-heading);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.25;
}

.ys-footer-menu h2 a {
    color: inherit;
    font: inherit;
    text-decoration: none;
}

.ys-footer-menu-list,
.ys-footer-contact ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ys-footer-menu-list li + li {
    margin-top: 7px;
}

.ys-site-footer a,
.ys-footer-contact li > span:last-child {
    color: var(--ys-footer-copy);
    font-size: 15px;
    line-height: 1.52;
    text-decoration: none;
}

.ys-footer-menu-list a:hover,
.ys-footer-menu-list a:focus-visible,
.ys-footer-contact a:hover,
.ys-footer-contact a:focus-visible {
    color: #fff;
}

.ys-footer-contact {
    min-width: 250px;
}

.ys-footer-contact li {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
}

.ys-footer-contact li + li {
    margin-top: 13px;
}

.ys-contact-icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .74);
    border-radius: 50%;
}

.ys-contact-icon img {
    width: 21px;
    height: 21px;
    object-fit: contain;
}

.ys-footer-bottom {
    padding: 16px 20px 0;
    border-top: 1px solid var(--ys-footer-rule);
    text-align: center;
}

.ys-footer-bottom p {
    margin: 0;
    color: var(--ys-footer-copy);
    font-size: 14px;
    line-height: 1.5;
}

@media (min-width: 1100px) {
    .ys-footer-content:has(.ys-footer-contact) {
        grid-template-columns: repeat(3, minmax(145px, 1fr)) minmax(250px, 1.25fr);
    }
}

@media (max-width: 900px) {
    .ys-footer-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 38px 64px;
    }
}

@media (max-width: 768px) {
    .ys-footer-menu {
        display: none;
    }

    .ys-footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .ys-footer-shell {
        width: min(100% - 24px, 1390px);
        padding-top: 18px;
    }

    .ys-footer-top {
        align-items: flex-start;
        flex-direction: column;
        padding: 0 0 16px;
        gap: 14px;
    }

    .ys-footer-brand .custom-logo {
        max-width: 160px;
    }

    .ys-footer-name {
        font-size: 20px;
    }

    .ys-footer-socials {
        justify-content: flex-start;
        gap: 10px;
    }

    .ys-footer-socials a,
    .ys-social-empty {
        width: 36px;
        height: 36px;
    }

    .ys-footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 22px 0;
    }

    .ys-footer-content h2 {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .ys-footer-content li,
    .ys-footer-content a,
    .ys-footer-bottom {
        font-size: 12px;
    }

    .ys-footer-bottom {
        padding: 12px 0 0;
    }
}
/* ==========================================
   Request a Quote 模块 (信任与场景图版)
   ========================================== */

.ya-trust-quote-wrapper {
  display: flex;
  align-items: center;
  align-items: flex-start;
  gap: 40px;
  background-color: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
}

/* 针对放在页面下方的模块，增加上下间距 */
.ya-quote-bottom-layout {
  margin-top: 0;
  margin-bottom: 50px;
  clear: both;
}

/* 左侧内容区 */
.ya-trust-content {
  flex: 1;
}

.ya-trust-title {
  font-size: 28px;
  font-weight: 700;
  color: #111111;
  margin: 0 0 12px 0;
  line-height: 1.2;
}

.ya-trust-desc {
  font-size: 16px;
  color: #353535;
  margin: 0 0 20px 0;
  line-height: 1.6;
  text-transform:capitalize;
}

/* 特性列表 (带打勾图标) */
.ya-trust-features {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ya-trust-features li {
  display: flex;
  align-items: center;
  font-size: 16px;
  color: #333333;
  font-weight: 500;
}

.ya-trust-features svg {
  width: 20px;
  height: 20px;
  color: #0066cc; /* 工业蓝打勾 */
  margin-right: 10px;
}

/* 按钮样式 */
.ya-btn-primary {
  display: inline-flex;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 10px 2px;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-bottom: 25px;
  background-color: rgba(255, 255, 255, 1) ;
    border:1px solid rgba(0, 117, 191, 1);
    color: rgba(0, 117, 191, 1);
}

.ya-btn-primary:hover {
	color:#fff;
  background-color: var(--theme-palette-color-1);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 86, 179, 0.25);
}

/* 客户信任区 (叠加头像) */
.ya-trust-social {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #f0f0f0;
  padding-top: 20px;
}

.ya-avatar-group {
  display: flex;
  align-items: center;
}

.ya-avatar-group img,
.ya-avatar-more {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  object-fit: cover;
  background-color: #f0f0f0;
}

/* 让头像产生叠加效果 */
.ya-avatar-group img:not(:first-child),
.ya-avatar-more {
  margin-left: -12px;
}

.ya-avatar-more {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f9fa;
  color: #0056b3;
  font-size: 12px;
  font-weight: bold;
  z-index: 1;
}

.ya-trust-text {
  font-size: 13px;
  color: #777777;
  font-weight: 500;
}

/* 右侧图片区 */
.ya-trust-image {
  flex: 1;
  max-width: 45%; /* 控制图片最大宽度 */
}

.ya-trust-image img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  display: block;
}

/* 响应式调整 (移动端改为上下结构) */
@media (max-width: 768px) {
  .ya-trust-quote-wrapper {
    flex-direction: column-reverse; /* 移动端让图片在上面，文字在下面 */
    padding: 25px;
    gap: 25px;
  }
  
  .ya-trust-image {
    max-width: 100%;
  }

  .ya-trust-title {
    font-size: 24px;
  }

  .ya-btn-primary {
    width: 100%;
    justify-content: center;
  }
}
