/* Cunnet 星联 — site overrides: Chinese typography + new sections (loaded after main.css) */
:root {
  --cn-cjk: 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --tp-ff-body: 'Inter', var(--cn-cjk);
  --tp-ff-inter: 'Inter', var(--cn-cjk);
  --tp-ff-p: 'Inter', var(--cn-cjk);
  --tp-ff-heading: 'Sequel Sans Medium Head', var(--cn-cjk);
  --tp-ff-sequel-medium: 'Sequel Sans Medium Head', var(--cn-cjk);
  --tp-ff-sequel-roman: 'Sequel Sans Roman Head', var(--cn-cjk);
  --tp-ff-sequel-bold-head: 'Sequel Sans Bold Head', var(--cn-cjk);
  --tp-ff-sequel-semi-bold: 'Sequel Sans Semi Bold Head', var(--cn-cjk);
  --tp-ff-sequel-heavy-disp: 'Sequel Sans Heavy Disp', var(--cn-cjk);
  --cn-red: #fa2837;
  --cn-ink: #1e1e1e;
  --cn-mute: #5e5959;
  --cn-line: rgba(30, 30, 30, .12);
  --cn-soft: #f6f6f6;
}
body { font-family: var(--tp-ff-body); line-height: 1.7; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; }

/* CJK glyphs are wider/taller than the Latin display face the theme was tuned for */
.ca-hero-title { font-size: clamp(64px, 8.2vw, 124px); line-height: 1.12; letter-spacing: 0; font-weight: 700; }
.ca-section-title { letter-spacing: 0; line-height: 1.3; font-weight: 700; }
.ca-section-title.fs-100 { font-size: clamp(44px, 6.4vw, 88px); line-height: 1.15; }
.ca-section-title.fs-52 { font-size: clamp(30px, 3.6vw, 48px); }
.ca-portfolio-main-title { font-size: clamp(56px, 8vw, 120px); line-height: 1.1; letter-spacing: 0; font-weight: 700; }
.tp-hero-title { letter-spacing: 0; }
.ca-hero-dec p { line-height: 1.8; }
.ca-hero-dec p br { display: none; }
.cd-headline.clip .cd-words-wrapper b { font-weight: 700; }

.cn-eyebrow { display: block; font-size: 14px; letter-spacing: .08em; color: var(--cn-mute); margin-bottom: 18px; }
.cn-eyebrow span { color: var(--cn-red); }
.cn-lead { font-size: 18px; color: var(--cn-mute); line-height: 1.85; }
.text-white .cn-eyebrow, .cn-dark .cn-eyebrow { color: rgba(255, 255, 255, .6); }

/* ---------- inner page hero ---------- */
.cn-page-hero { background: var(--cn-soft); padding: 210px 0 90px; }
.cn-page-hero h1 { font-size: clamp(40px, 6vw, 84px); line-height: 1.15; margin: 0 0 24px; letter-spacing: 0; }
.cn-page-hero .cn-lead { max-width: 720px; margin: 0; }
.cn-crumbs { font-size: 14px; color: var(--cn-mute); margin-bottom: 28px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.cn-crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.cn-crumbs a:hover { color: var(--cn-red); }

.cn-section { padding: 110px 0; }
.cn-section-sm { padding: 70px 0; }
.cn-dark { background: #09090b; color: #fff; }
.cn-dark .cn-lead, .cn-dark p { color: rgba(255, 255, 255, .72); }
.cn-title { font-size: clamp(30px, 4vw, 54px); line-height: 1.25; margin: 0 0 20px; letter-spacing: 0; }
.cn-title-wrap { margin-bottom: 56px; }

/* ---------- marquee of categories (replaces client logos) ---------- */
.cn-cat-slide { font-size: clamp(28px, 4vw, 52px); font-weight: 700; color: var(--cn-ink); opacity: .85; white-space: nowrap; width: auto !important; font-family: var(--tp-ff-sequel-bold-head); }
.cn-cat-slide::after { content: "✦"; color: var(--cn-red); margin-left: 70px; font-size: .5em; vertical-align: middle; }
.cn-brand-band { padding: 40px 0; border-top: 1px solid var(--cn-line); border-bottom: 1px solid var(--cn-line); }

/* ---------- cards ---------- */
.cn-card { border: 1px solid var(--cn-line); border-radius: 18px; padding: 36px 32px; height: 100%; background: #fff; transition: transform .3s, box-shadow .3s, border-color .3s; }
.cn-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0, 0, 0, .08); border-color: transparent; }
.cn-card .cn-num { font-size: 14px; color: var(--cn-red); font-weight: 600; letter-spacing: .1em; display: block; margin-bottom: 22px; }
.cn-card h3 { font-size: 24px; margin: 0 0 14px; letter-spacing: 0; }
.cn-card p { color: var(--cn-mute); margin: 0 0 18px; }
.cn-card ul, .cn-list { list-style: none; padding: 0; margin: 0; }
.cn-card li, .cn-list li { position: relative; padding-left: 22px; margin-bottom: 8px; color: var(--cn-mute); font-size: 15px; }
.cn-card li::before, .cn-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 8px; border-radius: 50%; background: var(--cn-red); }
.cn-dark .cn-card { background: #121214; border-color: rgba(255, 255, 255, .1); }
.cn-dark .cn-card p, .cn-dark .cn-card li { color: rgba(255, 255, 255, .7); }

/* ---------- stats ---------- */
.cn-stats { border-top: 1px solid var(--cn-line); border-bottom: 1px solid var(--cn-line); }
.cn-stat { padding: 48px 16px; text-align: center; border-right: 1px solid var(--cn-line); }
.cn-stat:last-child { border-right: 0; }
.cn-stat b { display: block; font-size: clamp(40px, 5vw, 72px); line-height: 1.1; font-family: var(--tp-ff-sequel-bold-head); }
.cn-stat b em { font-style: normal; color: var(--cn-red); }
.cn-stat > span { color: var(--cn-mute); font-size: 15px; }
@media (max-width: 767px) { .cn-stat { border-right: 0; border-bottom: 1px solid var(--cn-line); } }

/* ---------- process ---------- */
.cn-step { border-top: 2px solid var(--cn-ink); padding-top: 24px; height: 100%; }
.cn-step i { font-style: normal; font-size: 14px; color: var(--cn-red); font-weight: 600; letter-spacing: .1em; }
.cn-step h3 { font-size: 22px; margin: 12px 0 10px; letter-spacing: 0; }
.cn-step p { color: var(--cn-mute); margin: 0; font-size: 15px; }

/* ---------- talents ---------- */
.cn-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.cn-filter button { border: 1px solid var(--cn-line); background: #fff; padding: 9px 22px; border-radius: 40px; font-size: 15px; cursor: pointer; transition: .25s; font-family: inherit; }
.cn-filter button:hover, .cn-filter button.active { background: var(--cn-ink); color: #fff; border-color: var(--cn-ink); }
.cn-talent { margin-bottom: 34px; }
.cn-talent-img { overflow: hidden; border-radius: 16px; aspect-ratio: 4 / 5; background: #ddd; margin-bottom: 18px; position: relative; }
.cn-talent-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.cn-talent:hover .cn-talent-img img { transform: scale(1.06); }
.cn-tag { position: absolute; left: 14px; top: 14px; background: #fff; color: var(--cn-ink); font-size: 12px; padding: 5px 12px; border-radius: 30px; font-weight: 600; }
.cn-talent h3 { font-size: 20px; margin: 0 0 4px; letter-spacing: 0; }
.cn-talent p { margin: 0; color: var(--cn-mute); font-size: 14px; }
.cn-dark .cn-talent h3 { color: #fff; }
.cn-dark .cn-talent p { color: rgba(255, 255, 255, .65); }
.cn-talent[hidden] { display: none; }

/* ---------- cases ---------- */
.cn-case-img { overflow: hidden; border-radius: 16px; aspect-ratio: 4 / 4.6; margin-bottom: 20px; }
.cn-case-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.cn-case:hover .cn-case-img img { transform: scale(1.05); }
.cn-case { margin-bottom: 50px; }
.cn-case h3 { font-size: 22px; margin: 0 0 8px; letter-spacing: 0; }
.cn-case .cn-meta { font-size: 13px; color: var(--cn-red); font-weight: 600; letter-spacing: .06em; margin-bottom: 8px; display: block; }
.cn-case p { color: var(--cn-mute); font-size: 15px; margin: 0 0 14px; }
.cn-results { display: flex; gap: 28px; flex-wrap: wrap; border-top: 1px solid var(--cn-line); padding-top: 14px; }
.cn-results b { display: block; font-size: 24px; font-family: var(--tp-ff-sequel-bold-head); line-height: 1.2; }
.cn-results span { font-size: 13px; color: var(--cn-mute); }

/* ---------- services alt rows ---------- */
.cn-svc { padding: 60px 0; border-top: 1px solid var(--cn-line); }
.cn-svc h2 { font-size: clamp(28px, 3.2vw, 44px); margin: 0 0 16px; letter-spacing: 0; }
.cn-svc .cn-num { color: var(--cn-red); font-weight: 600; letter-spacing: .1em; font-size: 14px; display: block; margin-bottom: 12px; }
.cn-svc img { width: 100%; border-radius: 18px; aspect-ratio: 4 / 3; object-fit: cover; }
.cn-plan { border: 1px solid var(--cn-line); border-radius: 18px; padding: 38px 32px; height: 100%; background: #fff; }
.cn-plan.hot { background: var(--cn-ink); color: #fff; border-color: var(--cn-ink); }
.cn-plan.hot li, .cn-plan.hot p { color: rgba(255, 255, 255, .75); }
.cn-plan h3 { font-size: 24px; margin: 0 0 6px; letter-spacing: 0; }
.cn-plan .cn-for { color: var(--cn-red); font-size: 14px; margin-bottom: 18px; display: block; }
.cn-plan p { color: var(--cn-mute); }

/* ---------- blog ---------- */
.cn-post { display: block; margin-bottom: 48px; }
.cn-post-img { overflow: hidden; border-radius: 16px; aspect-ratio: 16 / 10; margin-bottom: 20px; }
.cn-post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.cn-post:hover .cn-post-img img { transform: scale(1.05); }
.cn-post .cn-meta { font-size: 13px; color: var(--cn-mute); display: flex; gap: 14px; margin-bottom: 10px; }
.cn-post .cn-meta b { color: var(--cn-red); font-weight: 600; }
.cn-post h2, .cn-post h3 { font-size: 22px; line-height: 1.45; margin: 0 0 10px; letter-spacing: 0; }
.cn-post:hover h2, .cn-post:hover h3 { color: var(--cn-red); }
.cn-post p { color: var(--cn-mute); font-size: 15px; margin: 0; }
.cn-post-feature h2 { font-size: clamp(26px, 3vw, 38px); }

.cn-article { max-width: 780px; margin: 0 auto; }
.cn-article-cover { border-radius: 18px; width: 100%; aspect-ratio: 16 / 8; object-fit: cover; margin-bottom: 48px; }
.cn-article h2 { font-size: clamp(24px, 2.6vw, 32px); margin: 56px 0 18px; line-height: 1.4; letter-spacing: 0; }
.cn-article h3 { font-size: 21px; margin: 34px 0 12px; letter-spacing: 0; }
.cn-article p { font-size: 17px; line-height: 2; color: #3b3838; margin: 0 0 22px; }
.cn-article ul, .cn-article ol { padding-left: 22px; margin: 0 0 26px; }
.cn-article li { font-size: 17px; line-height: 1.95; color: #3b3838; margin-bottom: 8px; }
.cn-article a { color: var(--cn-red); border-bottom: 1px solid currentColor; }
.cn-article blockquote { border-left: 3px solid var(--cn-red); margin: 34px 0; padding: 6px 0 6px 24px; font-size: 20px; line-height: 1.8; font-weight: 600; }
.cn-article .cn-note { background: var(--cn-soft); border-radius: 14px; padding: 22px 26px; font-size: 15.5px; margin: 30px 0; }
.cn-article .cn-note p { font-size: 15.5px; margin: 0; line-height: 1.85; }
.cn-article-meta { display: flex; gap: 18px; flex-wrap: wrap; color: var(--cn-mute); font-size: 14px; margin-bottom: 34px; }
.cn-article-cta { background: #09090b; color: #fff; border-radius: 20px; padding: 44px 40px; margin: 64px 0 0; text-align: center; }
.cn-article-cta h3 { font-size: 28px; margin: 0 0 12px; color: #fff; }
.cn-article-cta p { color: rgba(255, 255, 255, .7); margin: 0 0 26px; font-size: 16px; }
.cn-article-cta .tp-btn { background: #fff; color: var(--cn-ink); }

/* ---------- forms ---------- */
.cn-form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.cn-form label em { color: var(--cn-red); font-style: normal; }
.cn-form .cn-field { margin-bottom: 22px; }
.cn-form input[type=text], .cn-form input[type=email], .cn-form input[type=tel], .cn-form select, .cn-form textarea {
  width: 100%; border: 1px solid var(--cn-line); border-radius: 12px; padding: 14px 18px; font-size: 16px; font-family: inherit; background: #fff; color: var(--cn-ink); transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.cn-form select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231e1e1e' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px; }
.cn-form textarea { min-height: 150px; resize: vertical; }
.cn-form input:focus, .cn-form select:focus, .cn-form textarea:focus { outline: 0; border-color: var(--cn-ink); box-shadow: 0 0 0 3px rgba(30, 30, 30, .08); }
.cn-form .is-invalid { border-color: var(--cn-red) !important; }
.cn-form .cn-err { display: none; color: var(--cn-red); font-size: 13px; margin-top: 6px; }
.cn-form .is-invalid + .cn-err, .cn-field.has-err .cn-err { display: block; }
.cn-form .cn-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 13.5px; color: var(--cn-mute); line-height: 1.6; }
.cn-form .cn-check input { margin-top: 4px; accent-color: var(--cn-red); flex: none; }
.cn-form .cn-hp { position: absolute; left: -9999px; opacity: 0; height: 0; }
.cn-submit { border: 0; width: 100%; cursor: pointer; background: var(--cn-red); color: #fff; border-radius: 50px; padding: 18px 28px; font-size: 17px; font-weight: 700; font-family: inherit; display: inline-flex; justify-content: center; align-items: center; gap: 10px; transition: transform .2s, background .2s; }
.cn-submit:hover { background: #d81b2a; transform: translateY(-2px); }
.cn-submit[disabled] { opacity: .65; cursor: wait; transform: none; }
.cn-msg { display: none; border-radius: 14px; padding: 18px 22px; margin-top: 18px; font-size: 15.5px; line-height: 1.7; }
.cn-msg.show { display: block; }
.cn-msg.ok { background: #e9f8ef; color: #12663a; border: 1px solid #b9e8cc; }
.cn-msg.bad { background: #fdecee; color: #a4101c; border: 1px solid #f6c0c5; }
.cn-form-card { background: #fff; border-radius: 22px; padding: 42px 38px; border: 1px solid var(--cn-line); }
@media (max-width: 575px) { .cn-form-card { padding: 30px 22px; } }

.cn-info li { display: flex; gap: 16px; margin-bottom: 26px; align-items: flex-start; }
.cn-info i { width: 44px; height: 44px; border-radius: 50%; background: var(--cn-ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; font-size: 15px; }
.cn-info b { display: block; font-size: 14px; color: var(--cn-mute); font-weight: 500; }
.cn-info a, .cn-info span { font-size: 18px; font-weight: 600; }
.cn-info ul { list-style: none; padding: 0; margin: 0; }

/* ---------- misc ---------- */
.cn-values .cn-card { padding: 32px 28px; }
.cn-team img { border-radius: 16px; width: 100%; aspect-ratio: 1 / 1.1; object-fit: cover; margin-bottom: 16px; }
.cn-team h3 { font-size: 20px; margin: 0 0 2px; letter-spacing: 0; }
.cn-team span { color: var(--cn-mute); font-size: 14px; }
.cn-hero-img { border-radius: 18px; width: 100%; object-fit: cover; }
.ca-hero-left .ca-hero-video { height: auto; padding-bottom: 28px; width: 100%; max-width: 327px; }
.ca-hero-left .cn-hero-photo { width: 100%; aspect-ratio: 327 / 300; object-fit: cover; object-position: center 20%; border-radius: 12px; display: block; }
.ca-testimonial-comment { line-height: 1.9; }
.cn-privacy h2 { font-size: 24px; margin: 40px 0 12px; letter-spacing: 0; }
.cn-privacy p, .cn-privacy li { color: #3b3838; line-height: 1.95; }

/* ---------- landing page (lp) ---------- */
.lp-bar { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--cn-line); }
.lp-bar .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.lp-bar img { width: 120px; }
.lp-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--cn-red); color: #fff; padding: 13px 26px; border-radius: 50px; font-weight: 700; font-size: 15px; transition: .2s; border: 0; cursor: pointer; font-family: inherit; }
.lp-btn:hover { background: #d81b2a; color: #fff; transform: translateY(-2px); }
.lp-btn.lg { padding: 18px 38px; font-size: 18px; }
.lp-hero { background: linear-gradient(180deg, #fff3ee 0%, #ffe3dc 100%); padding: 70px 0 90px; position: relative; overflow: hidden; }
.lp-badge { display: inline-block; background: #fff; border: 1px solid #ffc7bd; color: var(--cn-red); font-weight: 700; font-size: 14px; padding: 7px 16px; border-radius: 40px; margin-bottom: 24px; }
.lp-hero h1 { font-size: clamp(30px, 4.2vw, 56px); line-height: 1.2; margin: 0 0 22px; letter-spacing: 0; }
.lp-hero h1 em { font-style: normal; color: var(--cn-red); }
.lp-hero .cn-lead { color: #4a4442; margin-bottom: 26px; }
.lp-points { list-style: none; padding: 0; margin: 0 0 30px; }
.lp-points li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; font-size: 17px; }
.lp-points li::before { content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--cn-red); color: #fff; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; margin-top: 3px; }
.lp-photo { border-radius: 22px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: 0 24px 60px rgba(250, 40, 55, .18); }
.lp-form-card { background: #fff; border-radius: 24px; padding: 38px 34px; box-shadow: 0 24px 70px rgba(0, 0, 0, .12); border: 1px solid #fff; }
.lp-form-card h2 { font-size: 26px; margin: 0 0 6px; letter-spacing: 0; }
.lp-form-card .sub { color: var(--cn-mute); font-size: 14.5px; margin-bottom: 24px; }
.lp-slots { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; margin-bottom: 18px; color: #a4101c; background: #fdecee; padding: 9px 14px; border-radius: 10px; }
.lp-section { padding: 90px 0; }
.lp-section h2 { font-size: clamp(28px, 3.6vw, 46px); line-height: 1.3; margin: 0 0 16px; letter-spacing: 0; }
.lp-feature { text-align: center; padding: 8px 12px; }
.lp-feature .ic { width: 64px; height: 64px; border-radius: 20px; background: #fff0ed; color: var(--cn-red); display: inline-flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 18px; }
.lp-feature h3 { font-size: 20px; margin: 0 0 8px; letter-spacing: 0; }
.lp-feature p { color: var(--cn-mute); font-size: 15px; margin: 0; }
.lp-final { background: #09090b; color: #fff; padding: 90px 0; }
.lp-final h2 { color: #fff; }
.lp-final .lp-form-card { color: var(--cn-ink); }
.lp-foot { padding: 30px 0 90px; font-size: 13px; color: var(--cn-mute); text-align: center; }
.lp-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; padding: 12px 16px; border-top: 1px solid var(--cn-line); display: none; box-shadow: 0 -8px 30px rgba(0, 0, 0, .08); }
.lp-sticky .lp-btn { width: 100%; justify-content: center; }
@media (max-width: 767px) { .lp-sticky { display: block; } .lp-bar .lp-btn { display: none; } .lp-hero { padding-top: 40px; } }
.lp-faq details { border-bottom: 1px solid var(--cn-line); padding: 20px 0; }
.lp-faq summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.lp-faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--cn-red); }
.lp-faq details[open] summary::after { content: "−"; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq p { margin: 12px 0 0; color: var(--cn-mute); }
