/* ==========================================================================
   一心心智 · 模板 3 / 3 —— 关于我们 + 联系我们
   适用页面：/index.php/about-us、/index.php/contact-us
   作用域：body.yx-inner（关于我们）· body.yx-contact-page（联系我们）
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. 设计令牌 —— 共用（三份完全一致，改这里即可全站换色）
   -------------------------------------------------------------------------- */
:root {
  --yx-red: #da251e;          /* Logo 主色 */
  --yx-red-deep: #b21e18;
  --yx-red-soft: #f0b2ae;
  --yx-red-wash: #fdf1f0;

  --yx-ink: #1c1917;
  --yx-ink-soft: #3f3a36;
  --yx-muted: #6f675f;
  --yx-faint: #a3988d;

  --yx-line: #e4dcd2;
  --yx-line-soft: #efe9e1;
  --yx-paper: #f6f3ee;
  --yx-card: #fffcf8;
  --yx-sand: #efe8df;
  --yx-night: #161311;

  --yx-max: 1180px;
  --yx-max-wide: 1320px;
  --yx-gutter: 28px;
  --yx-header: 76px;

  --yx-sans: "Manrope", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --yx-serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;

  --yx-r-sm: 12px;
  --yx-r-md: 18px;
  --yx-r-lg: 24px;
  --yx-r-xl: 32px;

  --yx-ease: 180ms ease;
  --yx-ease-out: 320ms cubic-bezier(.22, .61, .36, 1);

  --yx-shadow-sm: 0 8px 24px rgba(28, 25, 23, .05);
  --yx-shadow-md: 0 18px 44px rgba(28, 25, 23, .09);
  --yx-shadow-lg: 0 30px 80px rgba(28, 25, 23, .14);

  --phone: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M8.2 3.8h2.2c.4 0 .8.3.9.7l.7 2.6c.1.4 0 .8-.3 1.1l-1.3 1.1a12.6 12.6 0 0 0 5.1 5.1l1.1-1.3c.3-.3.7-.4 1.1-.3l2.6.7c.4.1.7.5.7.9v2.2c0 .7-.5 1.3-1.2 1.4A16.2 16.2 0 0 1 4.8 6.9c.1-.7.7-1.2 1.4-1.2z'/></svg>");
  --chev: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='m9 6 6 6-6 6'/></svg>");
  --arrow-ne: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M7 17 17 7M9 7h8v8'/></svg>");
}

/* --------------------------------------------------------------------------
   1. 基础重置 —— 共用（三份完全一致）
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--yx-paper);
  color: var(--yx-ink);
  font-family: var(--yx-sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--yx-red); color: #fff; }
:focus-visible { outline: 2px solid var(--yx-red); outline-offset: 3px; }

h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }

.container {
  width: min(var(--yx-max), calc(100% - 2 * var(--yx-gutter)));
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   2. 页头：Logo + 菜单 + 右侧电话 —— 共用（三份完全一致）
   -------------------------------------------------------------------------- */
body > header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: var(--yx-header);
  padding-inline: max(var(--yx-gutter), calc((100% - var(--yx-max)) / 2));
  background: color-mix(in srgb, var(--yx-paper) 88%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 2px solid var(--yx-red);
  border-bottom: 1px solid transparent;
  transition: min-height var(--yx-ease), background var(--yx-ease), box-shadow var(--yx-ease);
}

body.is-scrolled > header {
  min-height: 64px;
  background: color-mix(in srgb, var(--yx-paper) 94%, transparent);
  border-bottom-color: var(--yx-line);
  box-shadow: var(--yx-shadow-sm);
}

.yx-logo p { margin: 0; }

.yx-logo img { height: 40px; width: auto; }

.yx-logo p:last-child {
  margin-top: 1px;
  color: var(--yx-muted);
  font-size: 11px;
  letter-spacing: .18em;
  display: flex;
  align-items: center;
}

#yx-site-nav { flex: 1; min-width: 0; }

.yx-menu {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.yx-menu-li { margin: 0; list-style: none; }

.yx-menu-li a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  color: var(--yx-ink-soft);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--yx-ease);
}

.yx-menu-li a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 8px;
  height: 2px;
  background: var(--yx-red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--yx-ease-out);
}

.yx-menu-li a:hover { color: var(--yx-ink); }
.yx-menu-li a:hover::after { transform: scaleX(1); }

.yx-menu-li.current a,
.yx-menu-li.active a,
.yx-menu-li a[aria-current="page"] {
  color: var(--yx-ink);
  font-weight: 700;
}

.yx-menu-li.current a::after,
.yx-menu-li.active a::after,
.yx-menu-li a[aria-current="page"]::after { transform: scaleX(1); }

.yx-header-phone { margin: 0; }

.icon-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px 0 12px;
  border: 1px solid var(--yx-line);
  border-radius: 999px;
  background: var(--yx-card);
  color: var(--yx-ink);
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color var(--yx-ease), color var(--yx-ease), box-shadow var(--yx-ease);
}

.icon-call::before {
  content: "";
  width: 15px;
  height: 15px;
  flex: none;
  background: var(--yx-red);
  -webkit-mask: var(--phone) center / contain no-repeat;
  mask: var(--phone) center / contain no-repeat;
}

.icon-call:hover {
  border-color: var(--yx-red);
  box-shadow: 0 0 0 3px var(--yx-red-wash);
}

/* 汉堡按钮（窄屏） */
.yx-nav-toggle {
  display: none;
  position: relative;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--yx-line);
  border-radius: var(--yx-r-sm);
  background: var(--yx-card);
  color: transparent;
  font-size: 0;
  cursor: pointer;
}

.yx-nav-toggle::before,
.yx-nav-toggle::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--yx-ink);
  transition: transform var(--yx-ease-out), box-shadow var(--yx-ease-out), top var(--yx-ease-out);
}

.yx-nav-toggle::before { top: 16px; box-shadow: 0 6px 0 var(--yx-ink); }
.yx-nav-toggle::after { top: 28px; }

.yx-nav-toggle[aria-expanded="true"]::before {
  top: 21px;
  box-shadow: none;
  transform: rotate(45deg);
}

.yx-nav-toggle[aria-expanded="true"]::after {
  top: 21px;
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   3. 按钮 —— 共用（三份完全一致）
   -------------------------------------------------------------------------- */
.btn-theme {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--yx-ease), color var(--yx-ease), border-color var(--yx-ease),
    box-shadow var(--yx-ease), transform var(--yx-ease);
}

.btn-theme:hover { transform: translateY(-1px); }
.btn-theme:active { transform: translateY(0); }

.btn-theme-primary { background: var(--yx-red); color: #fff; }
.btn-theme-primary:hover {
  background: var(--yx-red-deep);
  box-shadow: 0 10px 24px rgba(218, 37, 30, .26);
}

.btn-theme-outline { background: transparent; border-color: var(--yx-ink); color: var(--yx-ink); }
.btn-theme-outline:hover { background: var(--yx-ink); color: var(--yx-card); }

.btn-theme .icon-call {
  display: inline-flex;
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  font-size: inherit;
}

.btn-theme .icon-call::before { background: currentColor; }

/* --------------------------------------------------------------------------
   4. 内页版心（关于我们 / 联系我们）
   -------------------------------------------------------------------------- */
body.yx-inner > .container { padding: 44px 0 20px; }

body.yx-inner .container > main { min-width: 0; }

/* 外层文章头（"关于我们"）压成小标题，避免与下方 Hero 大标题抢层级 */
.yx-inner .com-content-article { margin: 0; }

.yx-inner .com-content-article__header {
  margin: 0 0 28px;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--yx-line);
}

.yx-inner .com-content-article__header h1 {
  margin: 0;
  color: var(--yx-muted);
  font-family: var(--yx-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.yx-inner .com-content-article__header h1::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 1px;
  margin-right: 10px;
  vertical-align: middle;
  background: var(--yx-red);
}

/* --------------------------------------------------------------------------
   5. 关于我们 / 联系我们 共用主体
   -------------------------------------------------------------------------- */
.yx-about-page {
  width: 100%;
  margin: 0;
  padding: 0 0 96px;
  color: var(--yx-ink);
}

/* --- Hero --- */
.yx-about-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(52px, 7vw, 92px) clamp(28px, 5vw, 76px);
  border-radius: var(--yx-r-xl);
  background:
    radial-gradient(720px 340px at 82% 8%, rgba(218, 37, 30, .34), transparent 62%),
    linear-gradient(150deg, #1d1a18, var(--yx-night) 62%);
  color: #fff;
  box-shadow: var(--yx-shadow-lg);
}

/* 装饰同心圆 */
.yx-about-hero::before,
.yx-about-hero::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 252, 248, .12);
  border-radius: 50%;
  pointer-events: none;
}

.yx-about-hero::before { right: -120px; bottom: -160px; width: 420px; height: 420px; }
.yx-about-hero::after { right: -40px; bottom: -80px; width: 260px; height: 260px; }

.yx-about-kicker {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--yx-red-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
}

.yx-about-kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--yx-red-soft);
}

.yx-about-hero h1 {
  position: relative;
  z-index: 1;
  margin: 20px 0 24px;
  font-family: var(--yx-serif);
  font-size: clamp(36px, 5.6vw, 68px);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -.02em;
  color: #fff;
}

.yx-about-hero h1 span { color: var(--yx-red); }

/* 需要压过第 7 节 .yx-inner .com-content-article__body p 的通用正文色（同为 0,2,1，只能再加一层类） */
.yx-inner .yx-about-page .yx-about-hero p {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0;
  color: #e6ded4;
  font-size: 17px;
  line-height: 1.85;
}

/* --- 公司简介面板 --- */
.yx-about-panel {
  margin-top: 28px;
  padding: clamp(32px, 4vw, 56px) clamp(24px, 4.5vw, 68px);
  border: 1px solid var(--yx-line);
  border-radius: var(--yx-r-xl);
  background: var(--yx-card);
  box-shadow: var(--yx-shadow-sm);
}

.yx-about-panel-kicker,
.yx-about-card-kicker {
  display: block;
  color: var(--yx-red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
}

.yx-about-panel h2,
.yx-about-card h2 {
  margin: 12px 0 22px;
  font-family: var(--yx-serif);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 600;
  line-height: 1.3;
}

.yx-about-panel p,
.yx-about-card p {
  margin: 0 0 14px;
  color: var(--yx-muted);
  font-size: 16px;
  line-height: 1.95;
}

.yx-about-panel p:last-child { margin-bottom: 0; }

/* --- 数据条 --- */
.yx-about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 28px 0 0;
}

.yx-about-stats > div {
  position: relative;
  overflow: hidden;
  padding: 30px 24px 28px;
  border: 1px solid var(--yx-line);
  border-radius: var(--yx-r-lg);
  background: var(--yx-sand);
  transition: transform var(--yx-ease), box-shadow var(--yx-ease), border-color var(--yx-ease);
}

.yx-about-stats > div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: var(--yx-red);
  transform: scaleX(.24);
  transform-origin: left;
  transition: transform var(--yx-ease-out);
}

.yx-about-stats > div:hover {
  border-color: var(--yx-red-soft);
  box-shadow: var(--yx-shadow-md);
  transform: translateY(-3px);
}

.yx-about-stats > div:hover::before { transform: scaleX(1); }

.yx-about-stats strong {
  display: block;
  color: var(--yx-red);
  font-family: var(--yx-serif);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 600;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.yx-about-stats span {
  display: block;
  margin-top: 10px;
  color: var(--yx-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* --- 三张能力卡 --- */
.yx-about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
}

.yx-about-card {
  display: flex;
  flex-direction: column;
  padding: 36px 30px;
  border: 1px solid var(--yx-line);
  border-radius: var(--yx-r-lg);
  background: var(--yx-card);
  box-shadow: var(--yx-shadow-sm);
  transition: transform var(--yx-ease), box-shadow var(--yx-ease), border-color var(--yx-ease);
}

.yx-about-card:hover {
  border-color: var(--yx-red-soft);
  box-shadow: var(--yx-shadow-md);
  transform: translateY(-4px);
}

.yx-about-card h2 { font-size: clamp(20px, 1.8vw, 24px); }

.yx-about-card p { flex: 1; margin-bottom: 0; font-size: 15px; }

/* --------------------------------------------------------------------------
   6. 联系我们 · 咨询表单区块
   -------------------------------------------------------------------------- */
.yx-contact-page .yx-about-page { padding-bottom: 40px; }

.yx-contact-page .yxxform-module {
  position: relative;
  margin: 0 0 76px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--yx-line);
  border-radius: var(--yx-r-xl);
  background:
    radial-gradient(620px 300px at 100% 0%, var(--yx-red-wash), transparent 60%),
    var(--yx-paper);
  box-shadow: var(--yx-shadow-sm);
}

.yx-contact-page .yxxform-card {
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--yx-line);
  border-radius: var(--yx-r-lg);
  background: var(--yx-card);
  box-shadow: var(--yx-shadow-md);
}

.yxxform-title {
  margin: 0;
  font-family: var(--yx-serif);
  font-size: 26px;
  font-weight: 600;
}

.yxxform-description {
  margin: 6px 0 20px;
  color: var(--yx-muted);
  font-size: 14px;
}

.yxxform-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.yxxform-field { grid-column: 1 / -1; min-width: 0; }
.yxxform-half { grid-column: auto; }

.yxxform-label {
  display: block;
  margin-bottom: 7px;
  color: var(--yx-ink-soft);
  font-size: 13px;
  font-weight: 600;
}

.yxxform-label span { color: var(--yx-red); }

.yxxform-form input,
.yxxform-form select,
.yxxform-form textarea {
  width: 100%;
  border: 1px solid var(--yx-line);
  border-radius: var(--yx-r-sm);
  background: #fff;
  color: var(--yx-ink);
  font: inherit;
  font-size: 15px;
  transition: border-color var(--yx-ease), box-shadow var(--yx-ease);
}

.yxxform-form input,
.yxxform-form select { height: 46px; padding: 0 14px; }

.yxxform-form textarea {
  min-height: 128px;
  padding: 12px 14px;
  resize: vertical;
}

.yxxform-form select {
  appearance: none;
  padding-right: 36px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='none' stroke='%231c1917' stroke-width='1.6' d='M5 7.5 10 12.5 15 7.5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}

.yxxform-form input::placeholder,
.yxxform-form textarea::placeholder { color: var(--yx-faint); }

.yxxform-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding-left: 14px;
  border: 1px solid var(--yx-line);
  border-radius: var(--yx-r-sm);
  background: #fff;
}

.yxxform-phone span {
  color: var(--yx-muted);
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.yxxform-phone input {
  height: 100%;
  border: 0;
  background: transparent;
  padding-left: 0;
}

.yxxform-form input:focus,
.yxxform-form select:focus,
.yxxform-form textarea:focus,
.yxxform-phone:focus-within {
  outline: none;
  border-color: var(--yx-red);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--yx-red) 18%, transparent);
}

.yxxform-form :focus-visible { outline: none; }

.yxxform-submit {
  width: 100%;
  height: 48px;
  margin-top: 18px;
  border: 0;
  border-radius: 999px;
  background: var(--yx-red);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--yx-ease), box-shadow var(--yx-ease), transform var(--yx-ease);
}

.yxxform-submit:hover {
  background: var(--yx-red-deep);
  box-shadow: 0 10px 24px rgba(218, 37, 30, .24);
  transform: translateY(-1px);
}

.yxxform-submit:disabled { opacity: .6; cursor: wait; transform: none; }

.yxxform-card.is-sent .yxxform-form,
.yxxform-card.is-sent .yxxform-description { display: none; }

.yxxform-card.is-sent::after {
  content: "已收到您的咨询。顾问会尽快与您联系，请保持电话畅通。";
  display: block;
  padding: 10px 0 14px;
  color: var(--yx-ink-soft);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   7. 深层级 · 通用文章（关于我们 / 联系我们下的子页面）
   -------------------------------------------------------------------------- */
.yx-inner .com-content-article__body { font-size: 16.5px; }

.yx-inner .com-content-article__body p {
  margin: 0 0 18px;
  color: var(--yx-ink-soft);
  line-height: 1.95;
}

.yx-inner .com-content-article__body h2,
.yx-inner .com-content-article__body h3 {
  margin: 34px 0 14px;
  font-family: var(--yx-serif);
  font-weight: 600;
  line-height: 1.35;
}

.yx-inner .com-content-article__body img {
  margin: 24px 0;
  border-radius: var(--yx-r-md);
}

.yx-inner .com-content-article__body a {
  color: var(--yx-red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 面包屑（若内页出现） */
.yx-crumb,
.breadcrumb,
.mod-breadcrumbs {
  margin: 0 0 24px;
  color: var(--yx-muted);
  font-size: 13px;
}

.yx-crumb a,
.mod-breadcrumbs a { color: var(--yx-ink-soft); text-decoration: none; }
.yx-crumb a:hover,
.mod-breadcrumbs a:hover { color: var(--yx-red); }

/* --------------------------------------------------------------------------
   8. 页脚 —— 共用（三份完全一致）
   -------------------------------------------------------------------------- */
.yx-footer {
  margin-top: 80px;
  padding: 56px 0 24px;
  background: var(--yx-night);
  color: #d9d0c6;
}

.yx-footer-grid,
.yx-footer > p {
  width: min(var(--yx-max), calc(100% - 2 * var(--yx-gutter)));
  margin-inline: auto;
}

.yx-footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1.25fr;
  gap: 36px;
}

.yx-footer strong {
  display: block;
  margin-bottom: 14px;
  color: var(--yx-card);
  font-family: var(--yx-serif);
  font-size: 18px;
  font-weight: 600;
}

.yx-footer-grid p,
.yx-footer-grid a {
  display: block;
  margin: 0 0 8px;
  color: #d9d0c6;
  font-size: 14px;
  line-height: 1.7;
  text-decoration: none;
  transition: color var(--yx-ease);
}

.yx-footer-grid a:hover { color: #fff; }

.yx-footer-social {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.yx-footer-social span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 252, 248, .16);
  border-radius: 50%;
  color: var(--yx-card);
  font-size: 11px;
  font-weight: 700;
  transition: border-color var(--yx-ease), background var(--yx-ease);
}

.yx-footer-social span:hover { border-color: var(--yx-red); background: var(--yx-red); }

.yx-footer > p {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 252, 248, .1);
  color: #8d847b;
  font-size: 13px;
}

/* land 模板在页脚模块之外还硬编码了一行版权，这里降级为次要说明，避免两行同权重 */
.yx-footer > p + p {
  margin-top: 6px;
  padding-top: 0;
  border-top: 0;
  color: #6b645d;
  font-size: 12px;
}

/* --------------------------------------------------------------------------
   9. 响应式
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .yx-nav-toggle { display: inline-flex; order: 3; }
  .yx-logo { margin-right: auto; }
  .yx-header-phone { order: 2; }

  .icon-call {
    width: 44px;
    height: 44px;
    padding: 0;
    justify-content: center;
    font-size: 0;
    border-radius: var(--yx-r-sm);
  }

  #yx-site-nav {
    display: none;
    position: absolute;
    z-index: 50;
    top: 100%;
    left: 0;
    right: 0;
    padding: 8px 18px 18px;
    background: var(--yx-paper);
    border-bottom: 1px solid var(--yx-line);
    box-shadow: 0 18px 40px rgba(28, 25, 23, .08);
  }

  #yx-site-nav[data-open],
  #yx-site-nav.is-open { display: block; }

  .yx-menu { flex-direction: column; align-items: stretch; }
  .yx-menu-li a { min-height: 48px; justify-content: flex-start; }
  .yx-menu-li a::after { left: 14px; right: auto; width: 22px; }
}

@media (max-width: 900px) {
  .yx-about-stats { grid-template-columns: repeat(2, 1fr); }
  .yx-about-cards { grid-template-columns: 1fr; gap: 18px; }
  .yx-footer-grid { grid-template-columns: 1fr 1fr; }
  .yxxform-fields { grid-template-columns: 1fr; }
  .yxxform-half { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  :root { --yx-gutter: 18px; }

  body.yx-inner > .container { padding-top: 24px; }

  .yx-about-page { padding-bottom: 56px; }
  .yx-about-hero { border-radius: var(--yx-r-lg); }
  .yx-about-panel { border-radius: var(--yx-r-lg); }
  .yx-about-hero h1 { font-size: 34px; }

  .yx-about-stats { grid-template-columns: 1fr; gap: 12px; }
  .yx-about-stats > div { padding: 22px 20px; }

  .yx-contact-page .yxxform-module { margin-bottom: 48px; border-radius: var(--yx-r-lg); }
  .yx-contact-page .yxxform-card { border-radius: var(--yx-r-md); }

  .yx-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .yx-footer { margin-top: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* Solution专题页 */
.yx-solution-article-page{width:min(1280px,calc(100% - 56px));margin:0 auto;padding:28px 0 96px;color:var(--yx-ink)}
.yx-solution-article-page>.yx-breadcrumb{width:100%;margin:0 0 22px}
.yx-solution-page{display:flex;flex-direction:column;gap:24px}
.yx-solution-hero{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(360px,.98fr);align-items:stretch;gap:28px;padding:42px;border:1px solid var(--yx-line);border-radius:34px;background:var(--yx-card);overflow:hidden}
.yx-solution-hero-copy{display:flex;flex-direction:column;justify-content:center;padding:10px 0}
.yx-solution-eyebrow,.yx-solution-heading>span{display:block;color:var(--yx-red);font-size:12px;font-weight:800;letter-spacing:.18em}
.yx-solution-hero h1{max-width:680px;margin:14px 0 20px;font-family:var(--yx-serif);font-size:clamp(40px,5vw,68px);font-weight:600;line-height:1.12;letter-spacing:-.035em}
.yx-solution-hero-copy>p{max-width:650px;margin:0;color:var(--yx-muted);font-size:17px;line-height:1.9}
.yx-solution-actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-top:28px}
.yx-solution-text-link{color:var(--yx-ink);font-size:14px;font-weight:700;text-decoration:none}
.yx-solution-text-link span{margin-left:5px;color:var(--yx-red);font-size:18px}
.yx-solution-proof{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:34px 0 0;padding:0;list-style:none}
.yx-solution-proof li{padding-top:14px;border-top:1px solid var(--yx-line)}
.yx-solution-proof strong{display:block;font-size:14px}
.yx-solution-proof span{display:block;margin-top:4px;color:var(--yx-muted);font-size:12px;line-height:1.55}
.yx-solution-hero-media{position:relative;min-height:440px;margin:0;border-radius:24px;overflow:hidden;background:var(--yx-sand)}
.yx-solution-hero-media img{width:100%;height:100%;object-fit:cover}
.yx-solution-hero-media figcaption{position:absolute;right:16px;bottom:14px;padding:7px 11px;border-radius:999px;background:rgba(255,252,248,.88);color:var(--yx-ink-soft);font-size:12px}
.yx-solution-statbar{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;padding:4px;border:1px solid var(--yx-line);border-radius:22px;background:var(--yx-line)}
.yx-solution-statbar>div{padding:20px 24px;background:var(--yx-card)}
.yx-solution-statbar>div:first-child{border-radius:18px 0 0 18px}
.yx-solution-statbar>div:last-child{border-radius:0 18px 18px 0}
.yx-solution-statbar strong{display:block;font-size:17px}
.yx-solution-statbar span{display:block;margin-top:4px;color:var(--yx-muted);font-size:13px}
.yx-solution-section{padding:54px;border:1px solid var(--yx-line);border-radius:30px;background:var(--yx-card)}
.yx-solution-section-soft{background:var(--yx-sand)}
.yx-solution-section-dark{background:var(--yx-night);border-color:var(--yx-night);color:var(--yx-card)}
.yx-solution-heading{max-width:780px;margin-bottom:30px}
.yx-solution-heading h2{margin:10px 0 12px;font-family:var(--yx-serif);font-size:clamp(30px,3.5vw,48px);font-weight:600;line-height:1.22;letter-spacing:-.025em}
.yx-solution-heading p{margin:0;color:var(--yx-muted);font-size:16px;line-height:1.8}
.yx-solution-section-dark .yx-solution-heading p{color:#c9c0b7}
.yx-solution-card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.yx-solution-card-grid article{padding:24px;border:1px solid var(--yx-line);border-radius:18px;background:rgba(255,252,248,.68)}
.yx-solution-card-grid b{display:block;font-size:18px}
.yx-solution-card-grid p{margin:10px 0 0;color:var(--yx-muted);font-size:14px;line-height:1.75}
.yx-solution-feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.yx-solution-feature-grid article{min-height:210px;padding:24px;border:1px solid var(--yx-line);border-radius:18px;background:var(--yx-card)}
.yx-solution-index{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:10px;background:var(--yx-red);color:#fff;font-size:13px;font-weight:800}
.yx-solution-feature-grid h3{margin:22px 0 8px;font-size:18px}
.yx-solution-feature-grid p{margin:0;color:var(--yx-muted);font-size:14px;line-height:1.75}
.yx-solution-product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.yx-solution-product-grid article{overflow:hidden;border:1px solid var(--yx-line);border-radius:20px;background:var(--yx-card)}
.yx-solution-product-grid img{width:100%;height:220px;object-fit:contain;padding:22px;background:#fff}
.yx-solution-product-grid article>div{padding:20px 22px 22px}
.yx-solution-product-grid h3{margin:0;font-size:18px}
.yx-solution-product-grid p{margin:8px 0 0;color:var(--yx-muted);font-size:14px;line-height:1.7}
.yx-solution-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin:0 0 32px;padding:0;list-style:none}
.yx-solution-steps li{position:relative;padding:0 20px 0 0}
.yx-solution-steps li:not(:last-child)::after{content:"→";position:absolute;top:0;right:16px;color:var(--yx-red);font-size:22px}
.yx-solution-steps strong{display:block;color:#fff;font-size:16px}
.yx-solution-steps span{display:block;margin-top:6px;color:#c9c0b7;font-size:13px;line-height:1.6}
.btn-theme-light{background:var(--yx-card);color:var(--yx-ink)}
.btn-theme-light:hover{background:#fff;color:var(--yx-red)}
@media(max-width:1000px){.yx-solution-hero{grid-template-columns:1fr}.yx-solution-hero-media{min-height:320px}.yx-solution-feature-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:720px){.yx-solution-article-page{width:calc(100% - 36px);padding-bottom:60px}.yx-solution-hero,.yx-solution-section{padding:28px 22px;border-radius:24px}.yx-solution-hero h1{font-size:40px}.yx-solution-proof,.yx-solution-statbar,.yx-solution-card-grid,.yx-solution-feature-grid,.yx-solution-product-grid,.yx-solution-steps{grid-template-columns:1fr}.yx-solution-statbar{gap:1px}.yx-solution-statbar>div:first-child,.yx-solution-statbar>div:last-child{border-radius:0}.yx-solution-statbar>div:first-child{border-radius:16px 16px 0 0}.yx-solution-statbar>div:last-child{border-radius:0 0 16px 16px}.yx-solution-steps li{padding:0 0 20px 0}.yx-solution-steps li:not(:last-child)::after{content:"↓";top:auto;right:auto;left:0;bottom:0}.yx-solution-product-grid img{height:190px}}



/* 全宽首屏与面包屑顺序 */
.yx-solution-article-page{padding-top:0}
.yx-solution-first-block{width:100%}
.yx-solution-first-block .yx-solution-hero{
  width:100vw;
  margin-left:calc(50% - 50vw);
  border-right:0;
  border-left:0;
  border-radius:0;
  padding-left:max(var(--yx-gutter),calc((100vw - var(--yx-max))/2));
  padding-right:max(var(--yx-gutter),calc((100vw - var(--yx-max))/2));
}
.yx-solution-article-page>.yx-breadcrumb{
  width:min(var(--yx-max),calc(100% - 2 * var(--yx-gutter)));
  margin:28px auto 24px;
}
.yx-solution-page-rest{width:100%}
.yx-about-hero{
  width:100vw;
  margin-left:calc(50% - 50vw);
  border-radius:0;
  padding-left:max(var(--yx-gutter),calc((100vw - var(--yx-max))/2));
  padding-right:max(var(--yx-gutter),calc((100vw - var(--yx-max))/2));
}
.yx-about-breadcrumb{
  width:min(var(--yx-max),calc(100% - 2 * var(--yx-gutter)));
  margin:28px auto 0;
}
@media(max-width:720px){
  .yx-solution-first-block .yx-solution-hero{padding-left:var(--yx-gutter);padding-right:var(--yx-gutter);border-radius:0}
  .yx-about-hero{padding-left:var(--yx-gutter);padding-right:var(--yx-gutter);border-radius:0}
}
/* 全宽首屏不产生横向滚动 */
html,body{overflow-x:hidden}
/* 关于我们页隐藏组件默认文章标题 */
.yx-about-article-page > .com-content-article__header{display:none}
/* 解决方案、关于我们、联系我们首屏贴齐 Header */
body.yx-solution-route .yx-page-content{padding-top:0}
body.yx-about-route > .container,
body.yx-contact-page > .container{padding-top:0}
/* 内页首屏紧贴 Header 的最终覆盖 */
body.yx-solution-route > .container > .yx-page-content,
body.yx-about-route > .container > .yx-page-content,
body.yx-contact-page > .container > .yx-page-content{
  margin-top:0!important;
  padding-top:0!important;
}
body.yx-solution-route .yx-solution-article-page,
body.yx-about-route .yx-about-article-page{
  margin-top:0!important;
  padding-top:0!important;
}
body.yx-solution-route #system-message-container,
body.yx-about-route #system-message-container,
body.yx-contact-page #system-message-container{
  margin-top:0!important;
  margin-bottom:0!important;
  min-height:0!important;
}
