/* ============================================================
   foshan_design_shiwan — 石湾陶韵
   主色 #9e2b25 陶釉红 / 辅色 #d98e32 窑火金 / 底色 #f7f3ee 陶土白
   图形母题：镬耳墙轮廓线（全站 ≥3 处）
   ============================================================ */
:root {
  --brand: #9e2b25;
  --brand-dark: #7c1f1a;
  --accent: #d98e32;
  --bg: #f7f3ee;
  --surface: #ffffff;
  --text: #2b2622;
  --text-soft: #55493f;
  --text-light: #64748b;
  --gray: #94a3b8;
  --gray-light: #cbd5e1;
  --border: #e6ddd3;
  --radius: 24px;
  --shadow: 0 6px 24px rgba(60, 34, 20, 0.08);
  --shadow-lg: 0 12px 40px rgba(60, 34, 20, 0.14);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body { font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif; background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.7; overflow-x: clip; }
img { max-width: 100%; height: auto; }
a { color: var(--brand); text-decoration: none; }
ul, ol { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== 导航（D 毛玻璃吸顶）===== */
.site-header { position: sticky; top: 0; z-index: 900; background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.header-cta { flex-shrink: 0; display: inline-flex; align-items: center; padding: 9px 22px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 14.5px; font-weight: 600; text-decoration: none; white-space: nowrap; box-shadow: 0 6px 16px rgba(158, 43, 37, 0.3); transition: background .2s, transform .2s; }
.header-cta:hover { background: var(--brand-dark); transform: translateY(-2px); }
.logo { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; color: var(--text); }
.logo-mark { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg, var(--brand), var(--accent)); color: #fff; font-size: 18px; font-weight: 700; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-item > a { display: flex; align-items: center; gap: 4px; padding: 10px 16px; font-size: 15px; color: var(--text); text-decoration: none; border-radius: 999px; transition: color .2s, background .2s; }
.nav-item > a:hover { color: var(--brand); background: rgba(158, 43, 37, 0.06); }
.nav-item.is-active > a { color: #fff; background: var(--brand); }
.nav-caret { font-size: 10px; opacity: .7; }
.dropdown { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(6px); min-width: 180px; background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transition: all .22s; }
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a { display: block; padding: 9px 14px; font-size: 14px; color: var(--text); border-radius: 10px; }
.dropdown a:hover { background: rgba(158, 43, 37, 0.07); color: var(--brand); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; }

/* ===== Hero（B 全屏渐变+中央文案，grid 叠放）===== */
.hero { position: relative; display: grid; background: linear-gradient(140deg, #6e1813 0%, var(--brand) 45%, #b8542e 78%, var(--accent) 100%); color: #fff; overflow: hidden; }
.hero-slides { display: grid; }
.hero-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; display: flex; }
.hero-slide.is-on { opacity: 1; visibility: visible; }
.hero-slide-inner { flex-direction: column; display: flex; justify-content: center; align-items: center; text-align: center; gap: 18px; width: 100%; max-width: 880px; margin: 0 auto; padding: 120px 24px 140px; }
.hero-eyebrow { font-size: 14px; letter-spacing: 4px; color: rgba(255, 255, 255, 0.78); border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 999px; padding: 6px 18px; }
.hero-slide h1 { font-size: 44px; line-height: 1.3; color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.25); animation: riseIn .9s ease both; }
.hero-sub { font-size: 18px; color: rgba(255, 255, 255, 0.88); animation: riseIn 1.1s ease both; }
.hero-btns { display: flex; gap: 16px; margin-top: 8px; animation: riseIn 1.3s ease both; }
.hero-motif { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); color: rgba(255, 255, 255, 0.35); pointer-events: none; }
.hero-dots { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 5; }
.hero-dot { width: 10px; height: 10px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, 0.45); cursor: pointer; transition: all .25s; }
.hero-dot.is-on { width: 26px; background: #fff; }
@keyframes riseIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

/* ===== 按钮（光斑滑过 + 箭头位移反馈）===== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 32px; border-radius: 999px; font-size: 15px; font-weight: 600; text-decoration: none; position: relative; overflow: hidden; transition: transform .22s, box-shadow .22s, background .22s, color .22s; }
.btn::after { content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent); transform: skewX(-20deg); transition: left .5s ease; }
.btn:hover::after { left: 130%; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); box-shadow: 0 8px 22px rgba(158, 43, 37, 0.35); }
.btn-ghost { border: 1px solid rgba(255, 255, 255, 0.6); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2); }
.btn-outline { border: 1px solid rgba(255, 255, 255, 0.6); color: #fff; }
.btn-outline:hover { background: rgba(255, 255, 255, 0.14); }

/* ===== 通用 section ===== */
.section { padding: 80px 0; }
.alt-bg { background: #f1eae1; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 44px; }
.section-title { font-size: 32px; color: var(--text); position: relative; padding-left: 18px; }
.section-title::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 5px; border-radius: 3px; background: linear-gradient(180deg, var(--brand), var(--accent)); }
.section-aside { font-size: 14px; color: var(--text-light); }
.section-aside a { color: var(--brand); }

/* ===== 业务卡（G：1 大卡 + 4 小卡）===== */
.biz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.biz-lead { grid-row: span 2; grid-column: 1 / 2; background: linear-gradient(150deg, var(--brand) 0%, var(--brand-dark) 100%); color: #fff; border-radius: var(--radius); padding: 38px 32px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-lg); transition: transform .25s, box-shadow .25s; }
.biz-lead:hover { transform: translateY(-6px); }
.biz-lead h3 { font-size: 24px; color: #fff; }
.biz-lead p { color: rgba(255, 255, 255, 0.82); font-size: 15px; }
.biz-lead-icon { color: #f5c98a; transition: transform .3s; }
.biz-lead:hover .biz-lead-icon { transform: scale(1.1) rotate(-4deg); }
.biz-lead-subs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.biz-sub-item { display: flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 999px; padding: 9px 14px; font-size: 13px; color: #fff; transition: background .2s, transform .2s; }
.biz-sub-item:hover { background: rgba(255, 255, 255, 0.24); transform: translateX(3px); }
.biz-sub-item svg { flex: none; }
.biz-more { margin-top: auto; color: var(--accent); font-size: 14px; font-weight: 600; }
.biz-lead .biz-more { color: #f5c98a; }
.biz-card { background: var(--surface); border-radius: var(--radius); padding: 34px 30px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow); border: 1px solid var(--border); transition: transform .25s, box-shadow .25s; }
.biz-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.biz-card h3 { font-size: 19px; }
.biz-card p { font-size: 14px; color: var(--text-light); flex: 1; }
.biz-card-icon { width: 76px; height: 76px; display: flex; align-items: center; justify-content: center; border-radius: 22px; background: rgba(217, 142, 50, 0.12); color: var(--brand); transition: transform .3s; }
.biz-card:hover .biz-card-icon { transform: scale(1.08) rotate(3deg); }
.biz-card-all { background: var(--bg); border-style: dashed; }
.biz-card-all .biz-card-icon { background: rgba(158, 43, 37, 0.08); }

/* ===== 信任条（D 深色贴 hero 下方）===== */
.trust-section { position: relative; background: #2b201b; padding: 56px 0; overflow: hidden; }
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; position: relative; z-index: 2; }
.trust-item { display: flex; flex-direction: column; gap: 4px; transition: transform .25s; }
.trust-item:hover { transform: translateY(-4px); }
.stat-num { color: #fff !important; text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); font-size: 38px; font-weight: 800; font-variant-numeric: tabular-nums; }
.trust-label { color: rgba(255, 255, 255, 0.72); font-size: 14px; }
.trust-motif { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); color: rgba(255, 255, 255, 0.25); }

/* ===== 资讯时间线（C）：两列 × 8 条 ===== */
.news-timeline { position: relative; padding-left: 0; display: grid; grid-auto-flow: column; grid-template-rows: repeat(8, auto); grid-template-columns: 1fr 1fr; column-gap: 48px; align-items: start; }
.news-item { position: relative; display: flex; gap: 20px; padding: 18px 0; border-bottom: 1px dashed var(--border); }
.news-item:nth-last-child(-n + 2) { border-bottom: 0; }
.news-dot { display: none; }
.news-item:hover .news-dot { background: var(--brand); animation: pulse 1.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(158, 43, 37, 0.35); } 70% { box-shadow: 0 0 0 10px rgba(158, 43, 37, 0); } 100% { box-shadow: 0 0 0 0 rgba(158, 43, 37, 0); } }
.news-date { flex: none; width: 92px; color: var(--text-light); font-size: 14px; padding-top: 4px; }
.news-body { min-width: 0; }
.news-title { display: block; font-size: 17px; font-weight: 600; color: var(--text); margin-bottom: 4px; transition: color .2s; }
.news-item:hover .news-title { color: var(--brand); }
.news-desc { font-size: 14px; color: var(--text-light); margin-bottom: 6px; }
.news-cat { display: inline-block; font-size: 12px; color: var(--brand); background: rgba(158, 43, 37, 0.08); border-radius: 999px; padding: 2px 12px; }

/* ===== 流程（A 4 步横排连接线，节点呼吸脉冲）===== */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; position: relative; }
.process-steps::before { content: ""; position: absolute; top: 27px; left: 10%; right: 10%; height: 2px; background: repeating-linear-gradient(90deg, var(--brand) 0 10px, transparent 10px 18px); opacity: .45; }
.process-step { position: relative; text-align: center; padding: 0 10px; }
.step-node { display: inline-flex; width: 54px; height: 54px; border-radius: 999px; align-items: center; justify-content: center; background: var(--brand); color: #fff; font-weight: 700; margin-bottom: 14px; animation: breathe 2.6s ease-in-out infinite; transition: transform .25s; }
.process-step:hover .step-node { animation-play-state: paused; transform: scale(1.12); }
.process-step:nth-child(2) .step-node { animation-delay: .4s; background: #a8402f; }
.process-step:nth-child(3) .step-node { animation-delay: .8s; background: #bf5f2f; }
.process-step:nth-child(4) .step-node { animation-delay: 1.2s; background: var(--accent); }
@keyframes breathe { 0%, 100% { box-shadow: 0 0 0 0 rgba(158, 43, 37, 0.35); } 50% { box-shadow: 0 0 0 12px rgba(158, 43, 37, 0); } }
.process-step h4 { font-size: 17px; margin-bottom: 8px; }
.process-step p { font-size: 14px; color: var(--text-light); }

/* ===== CTA（E 底部双按钮）===== */
.cta-section { position: relative; background: linear-gradient(130deg, var(--brand-dark), var(--brand) 55%, #b8542e); padding: 72px 0; overflow: hidden; animation: ctaBreath 6s ease-in-out infinite; }
@keyframes ctaBreath { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.08); } }
.cta-inner { text-align: center; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.cta-inner h2 { color: #fff; font-size: 30px; }
.cta-inner p { color: rgba(255, 255, 255, 0.82); }
.cta-btns { display: flex; gap: 16px; margin-top: 8px; }

/* ===== 页头（内页）===== */
.page-header { background: linear-gradient(130deg, var(--brand-dark), var(--brand) 60%, #b8542e); padding: 64px 0 56px; position: relative; overflow: hidden; }
.page-header h1 { color: #fff; font-size: 32px; }
.breadcrumb { margin-top: 12px; font-size: 14px; color: rgba(255, 255, 255, 0.75); }
.breadcrumb a { color: rgba(255, 255, 255, 0.88); text-decoration: none; }
.page-header .hero-motif { bottom: -6px; opacity: .5; }

/* ===== 列表 / 通用布局 ===== */
.page-layout { display: grid; grid-template-columns: 1fr 320px; gap: 36px; align-items: start; }
.side-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); position: sticky; top: 92px; }
.side-panel h4 { font-size: 16px; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.side-panel ul li a { display: block; padding: 9px 12px; font-size: 14px; color: var(--text-soft); border-radius: 12px; }
.side-panel ul li a:hover, .side-panel ul li a.is-active { background: rgba(158, 43, 37, 0.07); color: var(--brand); }
.side-panel .btn { margin-top: 16px; width: 100%; justify-content: center; }
.article-card { display: grid; gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; gap: 8px; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card h3 { font-size: 17px; line-height: 1.5; }
.card h3 a { color: var(--text); }
.card h3 a:hover { color: var(--brand); }
.card p { font-size: 14px; color: var(--text-light); flex: 1; }
.card-meta { font-size: 13px; color: var(--gray); }
.pagination { display: flex; gap: 8px; margin-top: 36px; flex-wrap: wrap; }
.pagination a, .pagination span { padding: 8px 16px; border-radius: 999px; font-size: 14px; border: 1px solid var(--border); color: var(--text-soft); background: var(--surface); }
.pagination .is-current, .pagination span.is-current { background: var(--brand); border-color: var(--brand); color: #fff; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-light); }

/* ===== 详情页 ===== */
.detail__content { font-size: 16px; line-height: 1.9; color: var(--text); }
.detail__content h2, .detail__content h3 { margin: 26px 0 12px; }
.detail__content p { margin-bottom: 14px; }
.detail__content table, .page-content table { display: block; max-width: 100%; overflow-x: auto; }
.detail__content img, .page-content img { max-width: 100%; height: auto; }
.detail__content pre, .page-content pre { overflow-x: auto; }
.detail__content, .page-content { overflow-wrap: break-word; }
.detail-meta { display: flex; gap: 20px; font-size: 14px; color: var(--text-light); margin: 14px 0 28px; }
.related-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }

/* ===== 表单 ===== */
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-field label { font-size: 14px; font-weight: 600; }
.form-field input, .form-field textarea { padding: 12px 16px; border: 1px solid var(--gray-light); border-radius: 16px; font-size: 15px; background: #fff; color: var(--text); transition: border-color .2s, box-shadow .2s; }
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(158, 43, 37, 0.12); }
.flash-ok { background: rgba(7, 193, 96, 0.1); border: 1px solid rgba(7, 193, 96, 0.4); color: #1c7c3d; border-radius: 14px; padding: 12px 16px; margin-bottom: 18px; }
.flash-err { background: rgba(158, 43, 37, 0.08); border: 1px solid rgba(158, 43, 37, 0.35); color: var(--brand-dark); border-radius: 14px; padding: 12px 16px; margin-bottom: 18px; }

/* ===== 案例 ===== */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.case-filter a { padding: 8px 20px; border-radius: 999px; border: 1px solid var(--border); font-size: 14px; color: var(--text-soft); background: var(--surface); transition: all .2s; }
.case-filter a:hover, .case-filter a.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.case-card .case-cover { height: 160px; border-radius: 16px; background: linear-gradient(135deg, rgba(158, 43, 37, 0.12), rgba(217, 142, 50, 0.16)); margin: -6px -6px 14px; display: flex; align-items: center; justify-content: center; color: var(--brand); }
.case-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.case-tags span { font-size: 12px; background: rgba(217, 142, 50, 0.14); color: #9a6318; border-radius: 999px; padding: 3px 12px; }

/* ===== 页脚（A 4 列）===== */
.site-footer { background: #2b201b; color: rgba(255, 255, 255, 0.8); margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding: 56px 20px 40px; }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer-logo { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; margin-bottom: 12px; }
.footer-desc { font-size: 14px; color: rgba(255, 255, 255, 0.62); margin-bottom: 14px; }
.footer-contact li, .footer-col li { margin-bottom: 10px; font-size: 14px; }
.site-footer a { color: rgba(255, 255, 255, 0.72); text-decoration: none; display: inline; transition: color .2s; }
.site-footer a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 18px 0; }
.footer-bottom-inner { display: flex; }
.footer-bottom p { font-size: 13px; color: rgba(255, 255, 255, 0.6); }
.footer-bottom a { display: inline; margin: 0; color: rgba(255, 255, 255, 0.6); }

/* ===== 滚动条防护 ===== */
.drawer-nav-scroll { scrollbar-width: none; -ms-overflow-style: none; }
.drawer-nav-scroll::-webkit-scrollbar { display: none; }

/* ===== 滚动入场动效 ===== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }
html.no-js .reveal { opacity: 1; transform: none; }
html.no-js .hero-slide { opacity: 1; visibility: visible; }
html.no-js .hero-slide:not(:first-child) { display: none; }

/* ===== zfkf 悬浮客服（统一标准组件）===== */
.zfkf-float { position: fixed; right: 20px; bottom: 120px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.zfkf-item { position: relative; width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; text-decoration: none; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18); transition: all .25s; cursor: pointer; }
.zfkf-item:hover { transform: scale(1.08); color: #fff; }
.zfkf-phone { background: #2563eb; }
.zfkf-wechat { background: #07c160; }
.zfkf-consult { background: #f59e0b; }
.zfkf-top { background: #334155; }
.zfkf-tip { position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%); white-space: nowrap; background: rgba(0, 0, 0, 0.78); color: #fff; font-size: 12px; padding: 5px 10px; border-radius: 6px; opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 10001; }
.zfkf-item:hover .zfkf-tip { opacity: 1; }
.zfkf-wechat-mask { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.5); z-index: 10000; display: none; align-items: center; justify-content: center; }
.zfkf-wechat-mask.zfkf-show { display: flex; }
.zfkf-wechat-box { background: #fff; border-radius: 12px; padding: 24px; text-align: center; position: relative; max-width: 80vw; }
.zfkf-wechat-box img { width: 180px; height: 180px; object-fit: contain; border: 1px solid #eee; border-radius: 8px; }
.zfkf-wechat-noimg { width: 180px; height: 80px; display: flex; align-items: center; justify-content: center; background: #f6f7f9; border-radius: 8px; font-size: 16px; color: #07c160; font-weight: 600; }
.zfkf-wechat-box p { margin: 12px 0 0; font-size: 14px; color: #333; }
.zfkf-wechat-close { position: absolute; top: 8px; right: 12px; font-size: 22px; color: #666; cursor: pointer; line-height: 1; }
@media (max-width: 768px) { .zfkf-float { right: 10px; bottom: 100px; } .zfkf-item { width: 42px; height: 42px; } .zfkf-tip { display: none; } }

/* ===== 404 ===== */
.nf-wrap { text-align: center; padding: 100px 20px; }
.nf-wrap h1 { font-size: 90px; color: var(--brand); }
.nf-wrap p { color: var(--text-light); margin: 12px 0 26px; }

/* ===== 响应式 ===== */
@media (max-width: 1200px) {
  .biz-grid, .case-grid { grid-template-columns: repeat(2, 1fr); }
  .biz-lead { grid-column: 1 / -1; grid-row: auto; }
  .related-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .page-layout { grid-template-columns: 1fr; }
  .side-panel { position: static; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .trust-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-slide h1 { font-size: 32px; }
}
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .main-nav { position: fixed; inset: 68px 0 auto 0; background: #fff; box-shadow: var(--shadow-lg); max-height: 0; overflow: hidden; transition: max-height .3s; z-index: 890; }
  body.nav-open .main-nav { max-height: 70vh; overflow-y: auto; }
  .nav-list { flex-direction: column; align-items: stretch; padding: 12px 20px 20px; gap: 2px; }
  .nav-item > a { border-radius: 12px; }
  .dropdown { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0 0 6px 16px; display: none; }
  .nav-item:hover .dropdown { display: block; }
  .section { padding: 56px 0; }
  .section-title { font-size: 25px; }
  .section-head { flex-direction: column; gap: 6px; margin-bottom: 28px; }
  .biz-grid, .case-grid, .related-list { grid-template-columns: 1fr; }
  .news-timeline { grid-auto-flow: row; grid-template-rows: none; grid-template-columns: 1fr; column-gap: 0; }
  .news-item { flex-direction: column; gap: 6px; }
  .news-date { width: auto; }
  .hero-slide-inner { padding: 80px 20px 110px; }
  .hero-btns, .cta-btns { flex-direction: column; width: 100%; max-width: 320px; }
}
@media (max-width: 560px) {
  .process-steps, .trust-row, .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== tz-rich-text typography (auto-appended) ===== */
:where(.rich-text,.detail__content,.detail-content,.article-body,.article-content,.article__body,.article--body,.rich-content,.prose,.detail-body,.detail-body__content,.page-content,.content-card,.hd-article-body,.lf-article-body,.cq-article-body,.sq-article-body,.lh-article)>:first-child{margin-top:0}
:where(.rich-text,.detail__content,.detail-content,.article-body,.article-content,.article__body,.article--body,.rich-content,.prose,.detail-body,.detail-body__content,.page-content,.content-card,.hd-article-body,.lf-article-body,.cq-article-body,.sq-article-body,.lh-article)>:last-child{margin-bottom:0}
:where(.rich-text,.detail__content,.detail-content,.article-body,.article-content,.article__body,.article--body,.rich-content,.prose,.detail-body,.detail-body__content,.page-content,.content-card,.hd-article-body,.lf-article-body,.cq-article-body,.sq-article-body,.lh-article) p{margin:0 0 1.05em;line-height:1.9}
:where(.rich-text,.detail__content,.detail-content,.article-body,.article-content,.article__body,.article--body,.rich-content,.prose,.detail-body,.detail-body__content,.page-content,.content-card,.hd-article-body,.lf-article-body,.cq-article-body,.sq-article-body,.lh-article) h1,:where(.rich-text,.detail__content,.detail-content,.article-body,.article-content,.article__body,.article--body,.rich-content,.prose,.detail-body,.detail-body__content,.page-content,.content-card,.hd-article-body,.lf-article-body,.cq-article-body,.sq-article-body,.lh-article) h2{margin:1.6em 0 .7em;line-height:1.4;font-weight:700}
:where(.rich-text,.detail__content,.detail-content,.article-body,.article-content,.article__body,.article--body,.rich-content,.prose,.detail-body,.detail-body__content,.page-content,.content-card,.hd-article-body,.lf-article-body,.cq-article-body,.sq-article-body,.lh-article) h1{font-size:1.6em}
:where(.rich-text,.detail__content,.detail-content,.article-body,.article-content,.article__body,.article--body,.rich-content,.prose,.detail-body,.detail-body__content,.page-content,.content-card,.hd-article-body,.lf-article-body,.cq-article-body,.sq-article-body,.lh-article) h2{font-size:1.4em}
:where(.rich-text,.detail__content,.detail-content,.article-body,.article-content,.article__body,.article--body,.rich-content,.prose,.detail-body,.detail-body__content,.page-content,.content-card,.hd-article-body,.lf-article-body,.cq-article-body,.sq-article-body,.lh-article) h3{margin:1.4em 0 .6em;font-size:1.2em;line-height:1.45;font-weight:700}
:where(.rich-text,.detail__content,.detail-content,.article-body,.article-content,.article__body,.article--body,.rich-content,.prose,.detail-body,.detail-body__content,.page-content,.content-card,.hd-article-body,.lf-article-body,.cq-article-body,.sq-article-body,.lh-article) h4{margin:1.2em 0 .5em;font-size:1.08em;font-weight:700}
:where(.rich-text,.detail__content,.detail-content,.article-body,.article-content,.article__body,.article--body,.rich-content,.prose,.detail-body,.detail-body__content,.page-content,.content-card,.hd-article-body,.lf-article-body,.cq-article-body,.sq-article-body,.lh-article) h5,:where(.rich-text,.detail__content,.detail-content,.article-body,.article-content,.article__body,.article--body,.rich-content,.prose,.detail-body,.detail-body__content,.page-content,.content-card,.hd-article-body,.lf-article-body,.cq-article-body,.sq-article-body,.lh-article) h6{margin:1.1em 0 .5em;font-size:1em;font-weight:700}
:where(.rich-text,.detail__content,.detail-content,.article-body,.article-content,.article__body,.article--body,.rich-content,.prose,.detail-body,.detail-body__content,.page-content,.content-card,.hd-article-body,.lf-article-body,.cq-article-body,.sq-article-body,.lh-article) ul,:where(.rich-text,.detail__content,.detail-content,.article-body,.article-content,.article__body,.article--body,.rich-content,.prose,.detail-body,.detail-body__content,.page-content,.content-card,.hd-article-body,.lf-article-body,.cq-article-body,.sq-article-body,.lh-article) ol{margin:0 0 1.05em;padding-left:1.7em}
:where(.rich-text,.detail__content,.detail-content,.article-body,.article-content,.article__body,.article--body,.rich-content,.prose,.detail-body,.detail-body__content,.page-content,.content-card,.hd-article-body,.lf-article-body,.cq-article-body,.sq-article-body,.lh-article) li{margin:.35em 0;line-height:1.8}
:where(.rich-text,.detail__content,.detail-content,.article-body,.article-content,.article__body,.article--body,.rich-content,.prose,.detail-body,.detail-body__content,.page-content,.content-card,.hd-article-body,.lf-article-body,.cq-article-body,.sq-article-body,.lh-article) img{max-width:100%;height:auto;border-radius:8px}
:where(.rich-text,.detail__content,.detail-content,.article-body,.article-content,.article__body,.article--body,.rich-content,.prose,.detail-body,.detail-body__content,.page-content,.content-card,.hd-article-body,.lf-article-body,.cq-article-body,.sq-article-body,.lh-article) figure{margin:1.2em 0}
:where(.rich-text,.detail__content,.detail-content,.article-body,.article-content,.article__body,.article--body,.rich-content,.prose,.detail-body,.detail-body__content,.page-content,.content-card,.hd-article-body,.lf-article-body,.cq-article-body,.sq-article-body,.lh-article) figcaption{margin-top:.5em;font-size:.85em;opacity:.7;text-align:center}
:where(.rich-text,.detail__content,.detail-content,.article-body,.article-content,.article__body,.article--body,.rich-content,.prose,.detail-body,.detail-body__content,.page-content,.content-card,.hd-article-body,.lf-article-body,.cq-article-body,.sq-article-body,.lh-article) blockquote{margin:1.2em 0;padding:.2em 0 .2em 1em;border-left:3px solid currentColor;opacity:.85}
:where(.rich-text,.detail__content,.detail-content,.article-body,.article-content,.article__body,.article--body,.rich-content,.prose,.detail-body,.detail-body__content,.page-content,.content-card,.hd-article-body,.lf-article-body,.cq-article-body,.sq-article-body,.lh-article) table{width:100%;border-collapse:collapse;margin:1.2em 0;font-size:.96em}
:where(.rich-text,.detail__content,.detail-content,.article-body,.article-content,.article__body,.article--body,.rich-content,.prose,.detail-body,.detail-body__content,.page-content,.content-card,.hd-article-body,.lf-article-body,.cq-article-body,.sq-article-body,.lh-article) th,:where(.rich-text,.detail__content,.detail-content,.article-body,.article-content,.article__body,.article--body,.rich-content,.prose,.detail-body,.detail-body__content,.page-content,.content-card,.hd-article-body,.lf-article-body,.cq-article-body,.sq-article-body,.lh-article) td{border:1px solid rgba(127,127,127,.3);padding:.5em .75em;text-align:left}
:where(.rich-text,.detail__content,.detail-content,.article-body,.article-content,.article__body,.article--body,.rich-content,.prose,.detail-body,.detail-body__content,.page-content,.content-card,.hd-article-body,.lf-article-body,.cq-article-body,.sq-article-body,.lh-article) th{font-weight:700;background:rgba(127,127,127,.06)}
:where(.rich-text,.detail__content,.detail-content,.article-body,.article-content,.article__body,.article--body,.rich-content,.prose,.detail-body,.detail-body__content,.page-content,.content-card,.hd-article-body,.lf-article-body,.cq-article-body,.sq-article-body,.lh-article) hr{margin:1.6em 0;border:0;border-top:1px solid rgba(127,127,127,.28)}
:where(.rich-text,.detail__content,.detail-content,.article-body,.article-content,.article__body,.article--body,.rich-content,.prose,.detail-body,.detail-body__content,.page-content,.content-card,.hd-article-body,.lf-article-body,.cq-article-body,.sq-article-body,.lh-article) pre{overflow:auto;padding:.8em 1em;border-radius:8px;background:rgba(127,127,127,.1);font-size:.92em}
:where(.rich-text,.detail__content,.detail-content,.article-body,.article-content,.article__body,.article--body,.rich-content,.prose,.detail-body,.detail-body__content,.page-content,.content-card,.hd-article-body,.lf-article-body,.cq-article-body,.sq-article-body,.lh-article) code{font-size:.94em}
:where(.rich-text,.detail__content,.detail-content,.article-body,.article-content,.article__body,.article--body,.rich-content,.prose,.detail-body,.detail-body__content,.page-content,.content-card,.hd-article-body,.lf-article-body,.cq-article-body,.sq-article-body,.lh-article) strong,:where(.rich-text,.detail__content,.detail-content,.article-body,.article-content,.article__body,.article--body,.rich-content,.prose,.detail-body,.detail-body__content,.page-content,.content-card,.hd-article-body,.lf-article-body,.cq-article-body,.sq-article-body,.lh-article) b{font-weight:700}
:where(.rich-text) ul{list-style:disc}
:where(.rich-text) ol{list-style:decimal}
:where(.rich-text) a{text-decoration:underline;text-underline-offset:3px}

/* ===== tz-footer-legal (auto-appended) ===== */
.zf-legal-line a{color:inherit;text-decoration:none;opacity:.92}
.zf-legal-line a:hover{opacity:1;text-decoration:underline;text-underline-offset:3px}
.zf-legal-line .zf-legal-all{font-weight:600}
.zf-legal-line .zf-legal-copy{opacity:.95}
.zf-legal-line .zf-legal-addr{opacity:.82}
.zf-legal-line .zf-legal-police{text-decoration:none}
@media (max-width:640px){.zf-legal-line{column-gap:.55em;line-height:1.7}}
