/* 云中红线 · 官网样式（light theme，GEO-friendly） */
:root{
  --orange:#E06010;
  --orange-dark:#B84A0D;
  --gold:#E0A93B;
  --ink:#1F2329;
  --muted:#5A6672;
  --bg:#FFFFFF;
  --bg-soft:#F8F5F3;
  --bg-warm:#FBF7F4;
  --border:#EAE3E0;
  --shadow:0 6px 24px rgba(31,35,41,.07);
  --radius:14px;
  --maxw:1120px;
  --font:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:var(--font);color:var(--ink);background:var(--bg);line-height:1.7;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
img,svg{display:block;max-width:100%}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 20px}

/* Header */
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.92);backdrop-filter:blur(8px);border-bottom:1px solid var(--border)}
.nav{display:flex;align-items:center;justify-content:space-between;height:68px}
.brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:19px;letter-spacing:.5px}
.brand .logo{width:34px;height:34px;border-radius:10px;object-fit:cover;display:block;box-shadow:0 2px 8px rgba(224,96,16,.18)}
.brand .name{color:var(--ink)}
/* 页脚 logo 同步圆角 */
.site-footer .name img{border-radius:8px}
.brand .name b{color:var(--orange)}
.nav-links{display:flex;gap:28px;align-items:center}
.nav-links a{color:var(--muted);font-size:15px;font-weight:500;transition:.2s}
.nav-links a:hover,.nav-links a.active{color:var(--orange)}
.nav-cta{background:var(--orange);color:#fff;padding:9px 18px;border-radius:999px;font-size:14px;font-weight:600;transition:.2s}
.nav-cta:hover{background:var(--orange-dark)}
.menu-btn{display:none;background:none;border:0;font-size:24px;cursor:pointer;color:var(--ink)}
@media(max-width:820px){
  .nav-links{position:fixed;inset:68px 0 auto 0;flex-direction:column;gap:0;background:#fff;border-bottom:1px solid var(--border);padding:8px 20px 16px;display:none}
  .nav-links.open{display:flex}
  .nav-links a{padding:12px 0;width:100%;border-bottom:1px solid var(--border)}
  .menu-btn{display:block}
}

/* Hero */
.hero{background:linear-gradient(135deg,#FFF7F2 0%,#FFF0E6 100%);padding:72px 0 64px;border-bottom:1px solid var(--border)}
.hero .eyebrow{display:inline-block;background:#fff;color:var(--orange);font-size:13px;font-weight:700;padding:6px 14px;border-radius:999px;border:1px solid #F5D4C0;margin-bottom:18px}
.hero h1{font-size:clamp(30px,5vw,52px);line-height:1.18;font-weight:850;letter-spacing:.3px}
.hero h1 .accent{color:var(--orange)}
.hero p.lead{margin:20px 0 28px;font-size:18px;color:var(--muted);max-width:640px}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap}
.btn{display:inline-block;padding:13px 26px;border-radius:999px;font-weight:700;font-size:15px;transition:.2s;border:none;cursor:pointer}
.btn-primary{background:linear-gradient(180deg,#F57C35 0%,#E06010 50%,#C7500C 100%);color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.4),inset 0 -2px 0 rgba(0,0,0,.08),0 4px 8px rgba(184,74,13,.25)}
.btn-primary:hover{background:linear-gradient(180deg,#F88947 0%,#E86E1F 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.45),inset 0 -2px 0 rgba(0,0,0,.1),0 6px 12px rgba(184,74,13,.3);transform:translateY(-1px)}
.btn-ghost{background:#fff;color:var(--ink);border:1px solid var(--border)}
.btn-ghost:hover{border-color:var(--orange);color:var(--orange)}
.hero-note{margin-top:22px;font-size:13px;color:var(--muted)}
.hero-note b{color:var(--ink)}

/* Sections */
section.block{padding:64px 0}
.section-head{text-align:center;max-width:720px;margin:0 auto 44px}
.section-head .kicker{color:var(--orange);font-weight:700;font-size:14px;letter-spacing:1px}
.section-head h2{font-size:clamp(26px,3.5vw,36px);margin:10px 0 12px;font-weight:820}
.section-head p{color:var(--muted);font-size:16px}
.bg-soft{background:var(--bg-soft)}

/* Cards grid */
.grid{display:grid;gap:22px}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-2{grid-template-columns:repeat(2,1fr)}
@media(max-width:820px){.grid-3,.grid-2{grid-template-columns:1fr}}
.card{background:var(--bg);border:1px solid var(--border);border-radius:var(--radius);padding:28px;box-shadow:var(--shadow);transition:.2s}
.card:hover{transform:translateY(-3px);border-color:#F5C6A6}
.card .ico{width:46px;height:46px;border-radius:12px;background:#FFF0E6;display:flex;align-items:center;justify-content:center;color:var(--orange);font-size:22px;font-weight:800;margin:0 0 16px}
.card .ico svg{width:26px;height:26px;display:block;margin:auto}
.card h3{font-size:19px;margin-bottom:10px;font-weight:750;text-align:center}
.card p{color:var(--muted);font-size:15px}
.card ul{margin:10px 0 0;padding-left:18px;color:var(--muted);font-size:15px}
.card ul li{margin:6px 0}

/* Feature split */
.split{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
@media(max-width:820px){.split{grid-template-columns:1fr;gap:28px}}
.split h2{font-size:clamp(24px,3vw,32px);margin-bottom:16px;font-weight:820}
.split p{color:var(--muted);margin-bottom:14px;font-size:16px}
.checklist{list-style:none;margin-top:8px}
.checklist li{display:flex;gap:10px;align-items:flex-start;margin:12px 0;color:var(--ink);font-size:15.5px}
.checklist li::before{content:"";flex:0 0 20px;height:20px;margin-top:3px;border-radius:50%;background:var(--orange);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:center}

/* Stats */
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:8px}
@media(max-width:820px){.stats{grid-template-columns:repeat(2,1fr)}}
.stat{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:24px;text-align:center;box-shadow:var(--shadow)}
.stat .num{font-size:32px;font-weight:850;color:var(--orange)}
.stat .lab{color:var(--muted);font-size:14px;margin-top:4px}

/* Steps */
.steps{counter-reset:step;display:grid;gap:18px}
.step{display:flex;gap:18px;align-items:flex-start;background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:22px;box-shadow:var(--shadow)}
.step::before{counter-increment:step;content:counter(step);flex:0 0 38px;height:38px;border-radius:50%;background:var(--orange);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:17px}
.step h4{font-size:17px;margin-bottom:6px;font-weight:720}
.step p{color:var(--muted);font-size:14.5px}

/* Blog list */
.posts{display:grid;gap:22px}
.post{display:flex;gap:20px;background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:24px;box-shadow:var(--shadow);transition:.2s}
.post:hover{transform:translateY(-2px);border-color:#F5C6A6}
.post .meta{flex:0 0 120px;color:var(--muted);font-size:13px}
.post .meta .cat{display:inline-block;background:#FFF0E6;color:var(--orange);font-weight:700;padding:3px 10px;border-radius:999px;font-size:12px;margin-bottom:8px}
.post .body{flex:1}
.post h3{font-size:19px;margin-bottom:8px;font-weight:750}
.post h3 a:hover{color:var(--orange)}
.post p{color:var(--muted);font-size:15px}
.post .more{color:var(--orange);font-weight:600;font-size:14px;display:inline-block;margin-top:8px}
@media(max-width:820px){.post{flex-direction:column;gap:10px}.post .meta{flex:none}}

/* Article */
.article{max-width:760px;margin:0 auto;padding:48px 20px}
.article .crumb{color:var(--muted);font-size:14px;margin-bottom:18px}
.article .crumb a:hover{color:var(--orange)}
.article h1{font-size:clamp(26px,4vw,38px);line-height:1.25;font-weight:850;margin-bottom:14px}
.article .byline{color:var(--muted);font-size:14px;margin-bottom:28px;padding-bottom:18px;border-bottom:1px solid var(--border)}
.article h2{font-size:24px;margin:34px 0 14px;font-weight:800}
.article h3{font-size:19px;margin:24px 0 10px;font-weight:750;color:var(--orange-dark)}
.article p{margin:14px 0;color:#2b313a;font-size:16.5px}
.article ul,.article ol{margin:14px 0 14px 22px;color:#2b313a;font-size:16.5px}
.article li{margin:8px 0}
.article blockquote{margin:20px 0;padding:14px 20px;border-left:4px solid var(--orange);background:var(--bg-warm);color:var(--muted);border-radius:0 8px 8px 0}
.article .signoff{margin-top:36px;padding:18px 22px;background:var(--bg-soft);border:1px solid var(--border);border-radius:var(--radius);color:var(--muted);font-size:14.5px}

/* CTA band */
.cta{background:linear-gradient(135deg,var(--orange) 0%,var(--orange-dark) 100%);color:#fff;border-radius:20px;padding:48px;margin:0 auto;max-width:var(--maxw);text-align:center}
.cta h2{font-size:30px;font-weight:850;margin-bottom:12px}
.cta p{opacity:.92;margin-bottom:24px;font-size:16px}
.cta .btn-white{background:#fff;color:var(--orange-dark);padding:13px 28px;border-radius:999px;font-weight:700}
.cta .btn-primary{border:2px solid rgba(255,255,255,.9);box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 4px 10px rgba(0,0,0,.2)}

/* Footer */
.site-footer{background:#1b1e24;color:#c8ccd2;margin-top:64px;padding:52px 0 28px}
.footer-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:32px}
@media(max-width:820px){.footer-grid{grid-template-columns:1fr 1fr}}
.footer-grid h4{color:#fff;font-size:15px;margin-bottom:16px;font-weight:700}
.footer-grid a,.footer-grid p{color:#c8ccd2;font-size:14px;display:block;margin:8px 0;transition:.2s}
.footer-grid a:hover{color:#fff}
.footer-brand .name{color:#fff;font-weight:800;font-size:18px;display:flex;align-items:center;gap:8px;margin-bottom:12px}
.footer-brand p{font-size:14px;line-height:1.7}
.footer-bottom{border-top:1px solid #2c3038;margin-top:36px;padding-top:20px;font-size:13px;color:#9aa0a8;display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px}
.footer-bottom a{color:#9aa0a8}
.footer-bottom a:hover{color:#fff}
.filing{color:#9aa0a8}
.filing b{color:#c8ccd2}

.footer-brand img{border-radius:50%;object-fit:cover;display:block}

/* Package cards footer red tag */
.card.pkg{display:flex;flex-direction:column;height:100%}
.card.pkg ul.checklist{flex:1;margin-bottom:18px}
.card.pkg .btn{align-self:center;margin-top:auto}


/* Contact modal */
.modal-overlay{position:fixed;inset:0;z-index:100;background:rgba(27,30,36,.68);display:none;align-items:center;justify-content:center;padding:20px;opacity:0;transition:opacity .2s}
.modal-overlay.show{display:flex;opacity:1}
.modal-box{position:relative;background:#fff;border-radius:20px;max-width:420px;width:100%;padding:34px 28px 28px;text-align:center;box-shadow:0 20px 60px rgba(0,0,0,.22);transform:translateY(12px);transition:transform .2s}
.modal-overlay.show .modal-box{transform:translateY(0)}
.modal-close{position:absolute;top:12px;right:14px;width:36px;height:36px;border:none;background:none;font-size:26px;color:#9aa0a8;cursor:pointer;border-radius:50%;transition:.2s}
.modal-close:hover{background:#f4f4f5;color:#555}
.modal-icon{width:62px;height:62px;border-radius:50%;background:linear-gradient(135deg,#ff8a5c,#E24133);display:flex;align-items:center;justify-content:center;margin:0 auto 14px;color:#fff}
.modal-icon svg{width:30px;height:30px}
.modal-box h3{font-size:20px;font-weight:800;margin-bottom:6px;color:var(--ink)}
.modal-box .sub{color:var(--muted);font-size:14px;margin-bottom:18px}
.modal-qrcode{width:200px;height:200px;border:1px solid var(--border);border-radius:14px;padding:8px;margin:0 auto 18px;background:#fff}
.modal-qrcode img{width:100%;height:100%;object-fit:contain;border-radius:8px}
.modal-row{display:flex;align-items:flex-start;gap:12px;text-align:left;padding:14px 16px;background:#F8F5F3;border-radius:12px;margin-bottom:10px}
.modal-row .dot{width:36px;height:36px;border-radius:50%;background:#FFF0E6;color:var(--orange);display:flex;align-items:center;justify-content:center;flex:0 0 36px}
.modal-row .dot svg{width:18px;height:18px}
.modal-row .lab{font-size:12px;color:var(--muted);margin-bottom:2px}
.modal-row .val{font-size:15px;color:var(--ink);font-weight:700}
.modal-actions{display:flex;gap:10px;margin-top:18px}
.modal-actions a{flex:1;display:block;padding:12px 8px;border-radius:999px;font-weight:700;font-size:14px;transition:.2s}
.modal-actions .btn-dial{background:#E24133;color:#fff}
.modal-actions .btn-dial:hover{background:#C23728}
.modal-actions .btn-save{background:#fff;color:var(--orange);border:1px solid var(--border)}
.modal-actions .btn-save:hover{border-color:var(--orange)}


/* cert-gallery */
.cert-gallery{margin-top:26px}
.cert{background:#fff;border:1px solid #eee;border-radius:14px;overflow:hidden;box-shadow:0 4px 16px rgba(0,0,0,.05);display:flex;flex-direction:column;margin:0}
.cert img{width:100%;height:230px;object-fit:contain;background:#fafafa;padding:12px;display:block}
.cert figcaption{padding:12px 14px;font-size:13.5px;color:#555;text-align:center;border-top:1px solid #f0f0f0;line-height:1.5}
