*, ::before, ::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Montserrat', 'Noto Sans SC', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection { background-color: #C5A55A; color: #ffffff; }

a { text-decoration: none; color: inherit; }

img.lazy { opacity: 0; transition: opacity 0.4s ease; }
img.lazy.loaded { opacity: 1; }

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-6 {
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#header.scrolled { box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08); }

.prose { max-width: none; }
.prose img { border-radius: 0.125rem; }

@media (max-width: 1024px) {
    #mobile-menu.active { display: block; }
}

/* ===== 自定义TODE品牌样式 ===== */
.hero-banner { height: 100vh; min-height: 600px; }
@media (max-width: 768px) { .hero-banner { height: 100vh; min-height: 500px; } }

.bg-dark { background-color: #373737; }
.text-dark { color: #373737; }
.bg-gold { background-color: #C5A55A; }
.text-gold { color: #C5A55A; }
.border-gold { border-color: #C5A55A; }
.hover\:text-gold:hover { color: #C5A55A; }
.hover\:bg-gold:hover { background-color: #C5A55A; }
.hover\:border-gold:hover { border-color: #C5A55A; }
.bg-gold-light { background-color: #D4BB7A; }
.bg-gold-dark { background-color: #A8893F; }
.text-gold-light { color: #D4BB7A; }

/* 品牌渐变 */
.from-dark { --tw-gradient-from: #373737; }
.via-gray-900 { --tw-gradient-via: #1f2937; }
.to-dark { --tw-gradient-to: #373737; }

/* Banner轮播 */
.hero-slide { position: absolute; inset: 0; transition: opacity 1s ease; }

/* 产品卡片hover */
.product-card:hover { transform: translateY(-4px); box-shadow: 0 10px 40px rgba(0,0,0,0.1); }
.product-card { transition: all 0.3s ease; }

/* 区块动画 */
.fade-in { opacity: 0; transform: translateY(20px); transition: all 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* 大标题 - 全屏Banner用 */
.hero-title { font-size: 4rem; line-height: 1.1; font-weight: 300; letter-spacing: 0.05em; }
.hero-subtitle { font-size: 1.25rem; letter-spacing: 0.1em; }
.hero-desc { font-size: 1.1rem; letter-spacing: 0.08em; }
@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-desc { font-size: 0.9rem; }
}
@media (min-width: 1280px) {
    .hero-title { font-size: 5rem; }
}

/* Local-first typography: avoid Google Fonts dependency in China networks */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
}


/* ===== PC端模块放大：不用Tailwind JIT，标准CSS兜底 ===== */
.quick-link-card { min-height: 120px; padding: 1.5rem; }
.custom-card { min-height: 150px; padding: 1.5rem; }
.service-card { min-height: 150px; padding: 1.5rem; }
.partner-logo-wrap { height: 80px; padding: 1rem; }
.partner-logo-img { max-height: 32px; }
@media (min-width: 1024px) {
  .quick-link-card { min-height: 220px; padding: 2.5rem 1.5rem; }
  .quick-link-card .card-icon { width: 56px; height: 56px; margin-bottom: 1.25rem; }
  .quick-link-card .card-icon svg { width: 28px; height: 28px; }
  .quick-link-card .card-label { font-size: 1.125rem; }
  .custom-card { min-height: 220px; padding: 2.5rem 1.5rem; }
  .custom-card .card-icon-emoji { font-size: 3rem; margin-bottom: 1.25rem; }
  .custom-card h3 { font-size: 1.125rem; margin-bottom: .75rem; }
  .custom-card p { font-size: .9375rem; line-height: 1.75; }
  .service-card { min-height: 240px; padding: 2.5rem; }
  .service-card .card-icon-emoji { font-size: 4rem; margin-bottom: 1.5rem; }
  .service-card h3 { font-size: 1.125rem; margin-bottom: .75rem; }
  .service-card p { font-size: .9375rem; line-height: 1.75; }
  .partner-logo-wrap { height: 140px; padding: 1.5rem; }
  .partner-logo-img { max-height: 56px; }
}
@media (min-width: 1280px) {
  .quick-link-card { min-height: 240px; padding: 3rem 2rem; }
  .quick-link-card .card-icon { width: 64px; height: 64px; }
  .quick-link-card .card-icon svg { width: 32px; height: 32px; }
  .quick-link-card .card-label { font-size: 1.25rem; }
  .custom-card { min-height: 240px; padding: 3rem 2rem; }
  .custom-card .card-icon-emoji { font-size: 4rem; }
  .custom-card h3 { font-size: 1.25rem; }
  .service-card { min-height: 260px; padding: 3rem; }
  .service-card .card-icon-emoji { font-size: 5rem; }
  .service-card h3 { font-size: 1.25rem; }
  .partner-logo-wrap { height: 160px; padding: 2rem; }
  .partner-logo-img { max-height: 64px; }
}


/* ===== TODE 首页高级化重构：去图标化/去廉价感 ===== */
.hero-actions { align-items: stretch; }
.hero-btn { min-width: 180px; min-height: 68px; padding: 1rem 1.6rem; display:inline-flex; flex-direction:column; justify-content:center; gap:.25rem; border:1px solid transparent; letter-spacing:.16em; text-transform:uppercase; transition:all .35s ease; }
.hero-btn span { font-size: .95rem; font-weight: 500; letter-spacing:.2em; }
.hero-btn small { font-size: .65rem; opacity:.72; letter-spacing:.16em; }
.hero-btn-primary { background:#C5A55A; color:#252525; border-color:#C5A55A; }
.hero-btn-primary:hover { background:#fff; border-color:#fff; }
.hero-btn-outline { color:#fff; border-color:rgba(255,255,255,.42); background:rgba(255,255,255,.03); backdrop-filter: blur(4px); }
.hero-btn-outline:hover { color:#C5A55A; border-color:#C5A55A; background:rgba(197,165,90,.08); }
@media (min-width:1024px){ .hero-btn{min-width:220px; min-height:76px; padding:1.15rem 2rem;} .hero-desc{margin-bottom:0;} }
@media (max-width:640px){ .hero-actions{gap:.75rem;} .hero-btn{min-width:150px; min-height:60px; padding:.85rem 1rem;} .hero-btn span{font-size:.82rem;} .hero-btn small{font-size:.58rem;} }

.luxury-links-section { padding: 2.5rem 0; border-bottom:1px solid #eee; }
.luxury-link-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1px; background:#e8e2d4; border:1px solid #e8e2d4; }
.luxury-link-card { position:relative; min-height:150px; padding:1.5rem; background:#fff; display:flex; flex-direction:column; justify-content:space-between; overflow:hidden; }
.luxury-link-card:before { content:""; position:absolute; left:0; top:0; width:3px; height:0; background:#C5A55A; transition:height .35s ease; }
.luxury-link-card:hover:before { height:100%; }
.luxury-link-card .link-index { font-size:.75rem; color:#C5A55A; letter-spacing:.18em; }
.luxury-link-card h3 { font-size:1.05rem; color:#373737; font-weight:400; letter-spacing:.12em; margin-bottom:.4rem; }
.luxury-link-card p { font-size:.72rem; color:#999; text-transform:uppercase; letter-spacing:.18em; }
.luxury-link-card .link-arrow { position:absolute; right:1.4rem; bottom:1.2rem; color:#C5A55A; font-size:1.4rem; transform:translateX(-6px); opacity:.5; transition:all .35s ease; }
.luxury-link-card:hover .link-arrow { transform:translateX(0); opacity:1; }
@media (min-width:1024px){ .luxury-links-section{padding:3.5rem 0;} .luxury-link-grid{grid-template-columns:repeat(4,minmax(0,1fr));} .luxury-link-card{min-height:230px;padding:2.4rem;} .luxury-link-card h3{font-size:1.35rem;} }

.luxury-custom-section,.luxury-service-section,.luxury-partner-section{ padding:4.5rem 0; }
@media (min-width:1024px){ .luxury-custom-section,.luxury-service-section,.luxury-partner-section{ padding:7rem 0; } }
.luxury-section-head { margin-bottom:3rem; }
.luxury-section-head h2 { font-size:2rem; font-weight:300; letter-spacing:.08em; }
.luxury-section-head p { margin-top:1rem; color:#777; font-size:.95rem; line-height:1.9; }
@media (min-width:1024px){ .luxury-section-head{margin-bottom:4.5rem;} .luxury-section-head h2{font-size:3.2rem;} .luxury-section-head p{font-size:1.05rem;} }

.luxury-feature-grid,.luxury-service-grid{ display:grid; grid-template-columns:1fr; gap:1rem; }
.luxury-feature-card,.luxury-service-card{ background:#fff; border:1px solid #eee9df; padding:1.7rem; min-height:190px; display:flex; flex-direction:column; justify-content:space-between; transition:all .35s ease; }
.luxury-feature-card:hover,.luxury-service-card:hover{ transform:translateY(-6px); box-shadow:0 24px 60px rgba(0,0,0,.08); border-color:rgba(197,165,90,.45); }
.feature-no,.luxury-service-card span{ color:#C5A55A; font-size:.8rem; letter-spacing:.22em; }
.luxury-feature-card h3,.luxury-service-card h3{ color:#373737; font-size:1.35rem; font-weight:400; letter-spacing:.12em; margin:1.8rem 0 .9rem; }
.luxury-feature-card p,.luxury-service-card p{ color:#777; line-height:1.9; font-size:.95rem; }
@media (min-width:768px){ .luxury-feature-grid,.luxury-service-grid{grid-template-columns:repeat(2,minmax(0,1fr));} }
@media (min-width:1024px){ .luxury-feature-grid,.luxury-service-grid{grid-template-columns:repeat(4,minmax(0,1fr)); gap:1.5rem;} .luxury-feature-card,.luxury-service-card{min-height:285px; padding:2.35rem;} }

.brand-manifest-panel{ position:relative; min-height:430px; padding:3rem; border:1px solid rgba(197,165,90,.28); background:linear-gradient(135deg,rgba(255,255,255,.09),rgba(255,255,255,.025)); display:flex; flex-direction:column; justify-content:space-between; overflow:hidden; }
.brand-manifest-panel:after{ content:"TODE"; position:absolute; right:-.08em; bottom:-.22em; font-size:9rem; line-height:1; letter-spacing:.02em; color:rgba(197,165,90,.08); font-weight:300; pointer-events:none; }
.manifest-kicker{ color:#C5A55A; font-size:.78rem; letter-spacing:.24em; }
.brand-manifest-panel h3{ position:relative; z-index:1; font-size:2rem; line-height:1.45; font-weight:300; letter-spacing:.06em; }
.brand-manifest-panel p{ position:relative; z-index:1; color:rgba(255,255,255,.62); line-height:1.9; max-width:520px; }
.manifest-line{ width:100%; height:1px; background:linear-gradient(90deg,rgba(197,165,90,.8),rgba(197,165,90,0)); }
.manifest-metrics{ position:relative; z-index:1; display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; }
.manifest-metrics strong{ display:block; color:#C5A55A; font-size:1.8rem; font-weight:300; }
.manifest-metrics span{ display:block; color:rgba(255,255,255,.45); font-size:.75rem; margin-top:.35rem; }
@media (min-width:1024px){ .brand-manifest-panel{min-height:520px; padding:4rem;} .brand-manifest-panel h3{font-size:2.65rem;} .brand-manifest-panel:after{font-size:13rem;} }
@media (max-width:640px){ .brand-manifest-panel{padding:2rem; min-height:380px;} .brand-manifest-panel h3{font-size:1.55rem;} .manifest-metrics{grid-template-columns:1fr;} .brand-manifest-panel:after{font-size:6rem;} }

.partner-name-wall{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1px; background:#e8e2d4; border:1px solid #e8e2d4; }
.partner-name-card{ position:relative; min-height:128px; padding:1.15rem; background:#fff; display:flex; flex-direction:column; justify-content:space-between; overflow:hidden; transition:all .35s ease; }
.partner-name-card:after{ content:""; position:absolute; right:-28px; bottom:-28px; width:86px; height:86px; border:1px solid rgba(197,165,90,.18); border-radius:50%; transition:all .35s ease; }
.partner-name-card:hover{ background:#373737; transform:translateY(-3px); box-shadow:0 18px 46px rgba(0,0,0,.10); z-index:1; }
.partner-order{ color:#C5A55A; font-size:.72rem; letter-spacing:.22em; }
.partner-name-card strong{ color:#373737; font-size:1.15rem; font-weight:500; letter-spacing:.08em; line-height:1.2; word-break:break-word; }
.partner-name-card em{ color:#999; font-size:.62rem; font-style:normal; text-transform:uppercase; letter-spacing:.18em; }
.partner-name-card:hover strong{ color:#fff; }
.partner-name-card:hover em{ color:rgba(255,255,255,.52); }
.partner-name-card:hover:after{ border-color:rgba(197,165,90,.45); transform:scale(1.25); }
@media (min-width:768px){ .partner-name-wall{grid-template-columns:repeat(3,minmax(0,1fr));} .partner-name-card{min-height:150px; padding:1.45rem;} .partner-name-card strong{font-size:1.35rem;} }
@media (min-width:1024px){ .partner-name-wall{grid-template-columns:repeat(6,minmax(0,1fr));} .partner-name-card{min-height:190px; padding:1.7rem;} .partner-name-card strong{font-size:1.55rem;} }

/* 强化编号式高级感，避免图标化和廉价卡片感 */
.luxury-feature-card,.luxury-service-card{ position:relative; overflow:hidden; }
.luxury-feature-card:nth-child(1):after,.luxury-service-card:nth-child(1):after{content:"01";}
.luxury-feature-card:nth-child(2):after,.luxury-service-card:nth-child(2):after{content:"02";}
.luxury-feature-card:nth-child(3):after,.luxury-service-card:nth-child(3):after{content:"03";}
.luxury-feature-card:nth-child(4):after,.luxury-service-card:nth-child(4):after{content:"04";}
.luxury-feature-card:after,.luxury-service-card:after{ position:absolute; right:-.08em; bottom:-.22em; font-size:7rem; line-height:1; color:rgba(197,165,90,.07); font-weight:300; pointer-events:none; }
.luxury-feature-card h3,.luxury-feature-card p,.luxury-feature-card span,.luxury-service-card h3,.luxury-service-card p,.luxury-service-card span{ position:relative; z-index:1; }
@media (min-width:1024px){ .luxury-feature-card:after,.luxury-service-card:after{font-size:8.5rem;} }

/* 品牌背书 - 方案B（最终版） */
.credentials-section{ padding:5rem 0; background:#fff; }
.cred-inner{ max-width:80rem; margin:0 auto; padding:0 1rem; }
@media(min-width:640px){ .cred-inner{ padding:0 1.5rem; } }
@media(min-width:1024px){ .cred-inner{ padding:0 2rem; } }

.cred-head{ text-align:center; margin-bottom:3.5rem; }
.cred-eng{ font-family:Montserrat,'Noto Sans SC','PingFang SC','Microsoft YaHei',sans-serif; font-size:.72rem; color:#C5A55A; letter-spacing:.22em; text-transform:uppercase; font-weight:500; }
.cred-head h2{ font-family:Montserrat,'Noto Sans SC','PingFang SC','Microsoft YaHei','Hiragino Sans GB',sans-serif; font-size:2rem; font-weight:300; letter-spacing:.12em; color:#373737; margin-top:.8rem; }
.cred-head p{ font-family:'Noto Sans SC','PingFang SC','Microsoft YaHei','Hiragino Sans GB',sans-serif; font-size:.85rem; color:#999; margin-top:.5rem; }

.cred-grid{ display:flex; flex-direction:column; gap:2.5rem; }
@media(min-width:1024px){ .cred-grid{ flex-direction:row; } }

/* 左侧实力面板 */
.cred-strength{ background:#2a2a2a; border-radius:3px; overflow:hidden; position:relative; }
.cred-strength::after{ content:"TODE"; position:absolute; right:-.04em; bottom:-.32em; font-size:7rem; line-height:1; color:rgba(197,165,90,.055); font-weight:200; letter-spacing:.1em; pointer-events:none; font-family:Montserrat,sans-serif; }
.strength-body{ position:relative; z-index:1; padding:2.5rem 2rem; }
.strength-body h3{ font-family:'Noto Sans SC','PingFang SC','Microsoft YaHei',sans-serif; font-size:1.4rem; font-weight:300; letter-spacing:.15em; color:#C5A55A; margin:0; }
.s-line{ height:1px; background:linear-gradient(90deg,rgba(197,165,90,.5),rgba(197,165,90,0)); margin:1rem 0; }
.s-metrics{ display:grid; grid-template-columns:repeat(2,1fr); gap:1.5rem; }
.s-num{ display:block; font-family:Montserrat,'Noto Sans SC',sans-serif; font-size:2rem; font-weight:200; color:#C5A55A; line-height:1.1; }
.s-unit{ font-size:.75rem; color:rgba(197,165,90,.6); font-family:'Noto Sans SC','PingFang SC','Microsoft YaHei',sans-serif; }
.s-label{ display:block; font-family:'Noto Sans SC','PingFang SC','Microsoft YaHei',sans-serif; font-size:.68rem; color:rgba(255,255,255,.5); margin-top:.2rem; letter-spacing:.06em; }
.s-note{ font-family:'Noto Sans SC','PingFang SC','Microsoft YaHei',sans-serif; font-size:.62rem; color:rgba(255,255,255,.28); margin-top:.8rem; letter-spacing:.04em; }
@media(min-width:1024px){ .cred-strength{ min-width:300px; max-width:320px; flex-shrink:0; } .strength-body{ padding:2.8rem 2.2rem; } .strength-body h3{ font-size:1.6rem; } .s-num{ font-size:2.5rem; } }

/* 右侧证书卡片 */
.cred-cards{ display:grid; grid-template-columns:repeat(2,1fr); gap:1.2rem; }
@media(min-width:1024px){ .cred-cards{ flex:1; grid-template-columns:repeat(3,1fr); } }
@media(max-width:640px){ .cred-cards{ grid-template-columns:1fr; } }

.c-card{ position:relative; background:#fafaf7; border:1px solid #ece8de; border-radius:3px; padding:1.4rem; transition:all .3s ease; overflow:hidden; }
.c-card::before{ content:""; position:absolute; top:0; left:0; width:3px; height:100%; background:#C5A55A; opacity:0; transition:opacity .3s ease; }
.c-card:hover{ transform:translateY(-2px); box-shadow:0 12px 36px rgba(0,0,0,.06); border-color:rgba(197,165,90,.25); }
.c-card:hover::before{ opacity:1; }
.c-top{ display:flex; align-items:center; justify-content:space-between; margin-bottom:.6rem; }
.c-num{ font-family:Montserrat,sans-serif; font-size:1.6rem; font-weight:200; color:rgba(197,165,90,.25); line-height:1; }
.c-badge{ font-family:'Noto Sans SC','PingFang SC','Microsoft YaHei',sans-serif; font-size:.55rem; color:#C5A55A; border:1px solid rgba(197,165,90,.3); border-radius:2px; padding:.12rem .45rem; letter-spacing:.08em; }
.c-card h4{ font-family:'Noto Sans SC','PingFang SC','Microsoft YaHei','Hiragino Sans GB',sans-serif; font-size:.95rem; font-weight:500; color:#373737; margin:0 0 .4rem; letter-spacing:.04em; }
.c-card p{ font-family:'Noto Sans SC','PingFang SC','Microsoft YaHei','Hiragino Sans GB',sans-serif; font-size:.72rem; color:#888; line-height:1.7; margin:0 0 .7rem; }
.c-tag{ display:inline-block; font-family:Montserrat,'Noto Sans SC',sans-serif; font-size:.55rem; color:rgba(197,165,90,.6); letter-spacing:.1em; text-transform:uppercase; border-top:1px solid rgba(197,165,90,.12); padding-top:.5rem; }
