/* CW Content Agent - 前台基礎版型
   版型鎖死：客戶端只能改內容與四種背景，不能改間距與字級。 */

.cwa-section { padding: 88px 20px; position: relative; }
.cwa-section.cwa-space-compact { padding: 52px 20px; }
.cwa-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 2; }

.cwa-bg-white { background: #fff; }
.cwa-bg-surface { background: var(--cwa-surface, #f7f8fa); }
.cwa-bg-primary { background: var(--cwa-primary, #0b2a45); }
.cwa-bg-primary, .cwa-bg-primary a { color: #fff; }

.cwa-has-bg { background-size: cover; background-repeat: no-repeat; color: #fff; }
.cwa-has-bg::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.cwa-overlay-dark::before { background: rgba(10, 20, 32, .62); }
.cwa-overlay-light::before { background: rgba(255, 255, 255, .72); }
.cwa-overlay-light, .cwa-overlay-light .cwa-h2 { color: var(--cwa-text, #5a6275); }

.cwa-section h1, .cwa-section h2, .cwa-section h3 {
	font-family: var(--cwa-font-head, sans-serif);
	margin: 0 0 .5em;
	line-height: 1.2;
}
.cwa-section p, .cwa-section li, .cwa-section td, .cwa-section th {
	font-family: var(--cwa-font-body, sans-serif);
	line-height: 1.7;
}

.cwa-hero-title { font-size: clamp(32px, 5vw, 56px); font-weight: 700; }
.cwa-hero-sub { font-size: clamp(16px, 2vw, 20px); max-width: 46em; }
.cwa-hero-cta { margin-top: 28px; }
.cwa-page-title { font-size: clamp(28px, 4vw, 42px); font-weight: 700; }
.cwa-page-sub { max-width: 46em; }

.cwa-h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 600; }
.cwa-h3 { font-size: 19px; font-weight: 600; }
.cwa-head { max-width: 720px; margin-bottom: 40px; }
.cwa-intro { opacity: .85; }

.cwa-btn {
	display: inline-block; padding: 14px 30px;
	background: var(--cwa-accent, #eba13c); color: #1d1400;
	border-radius: var(--cwa-radius, 4px);
	font-weight: 600; text-decoration: none;
}
.cwa-btn:hover { filter: brightness(.94); color: #1d1400; }
.cwa-link { color: var(--cwa-secondary, #1b82c0); font-weight: 600; text-decoration: none; }

.cwa-grid { display: grid; gap: 28px; }
.cwa-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cwa-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cwa-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.cwa-card, .cwa-feat, .cwa-work, .cwa-product, .cwa-plan, .cwa-member {
	background: #fff; border-radius: var(--cwa-radius, 4px);
	overflow: hidden; border: 1px solid rgba(0,0,0,.07);
}
.cwa-card, .cwa-feat, .cwa-plan, .cwa-member { padding: 26px; }
.cwa-work, .cwa-product { padding: 0 0 22px; }
.cwa-work h3, .cwa-work p, .cwa-product h3, .cwa-product p,
.cwa-work-cat, .cwa-product-model, .cwa-spec { margin-left: 22px; margin-right: 22px; }

.cwa-card-img, .cwa-work-img, .cwa-product-img, .cwa-member-img {
	width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; margin-bottom: 16px;
}
.cwa-card-img { border-radius: var(--cwa-radius, 4px); }
.cwa-card-sub { font-size: 13px; opacity: .7; margin-top: -8px; }
.cwa-work-cat { display: inline-block; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; opacity: .6; }
.cwa-product-model { font-size: 13px; opacity: .7; }
.cwa-spec { width: calc(100% - 44px); border-collapse: collapse; font-size: 13px; }
.cwa-spec th, .cwa-spec td { border-top: 1px solid rgba(0,0,0,.08); padding: 6px 0; text-align: left; vertical-align: top; }
.cwa-spec th { width: 40%; font-weight: 600; opacity: .75; }

.cwa-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center; }
.cwa-split-media img { width: 100%; border-radius: var(--cwa-radius, 4px); display: block; margin-bottom: 16px; }
.cwa-prose { max-width: 62em; }
.cwa-prose h2, .cwa-prose h3 { margin-top: 1.6em; }
.cwa-prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; }
.cwa-prose th, .cwa-prose td { border: 1px solid rgba(0,0,0,.12); padding: 10px 12px; text-align: left; }

.cwa-stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; text-align: center; }
.cwa-stat-n { display: block; font-size: clamp(30px, 4vw, 46px); font-weight: 700; font-family: var(--cwa-font-head, sans-serif); color: var(--cwa-accent, #eba13c); }
.cwa-stat-s { font-size: .55em; margin-left: 2px; }
.cwa-stat-l { display: block; font-size: 14px; opacity: .8; margin-top: 4px; }

.cwa-timeline, .cwa-process { list-style: none; margin: 0; padding: 0; }
.cwa-tl-item, .cwa-step { display: flex; gap: 20px; padding: 20px 0; border-top: 1px solid rgba(0,0,0,.08); }
.cwa-tl-year { font-family: var(--cwa-font-head, sans-serif); font-weight: 700; color: var(--cwa-accent, #eba13c); min-width: 84px; font-size: 20px; }
.cwa-step-n {
	background: var(--cwa-primary, #0b2a45); color: #fff; width: 34px; height: 34px;
	border-radius: 50%; display: flex; align-items: center; justify-content: center;
	font-weight: 700; flex-shrink: 0;
}
.cwa-pr-horizontal { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; }
.cwa-pr-horizontal .cwa-step { flex-direction: column; border-top: 0; }

.cwa-brands { list-style: none; display: flex; flex-wrap: wrap; gap: 34px; align-items: center; padding: 0; margin: 0; }
.cwa-logo { max-height: 46px; width: auto; filter: grayscale(1); opacity: .7; }
.cwa-logo-text { font-weight: 600; opacity: .6; }

.cwa-quote { margin: 0; background: #fff; padding: 28px; border-radius: var(--cwa-radius, 4px); border: 1px solid rgba(0,0,0,.07); }
.cwa-quote blockquote { margin: 0 0 14px; }
.cwa-quote figcaption { font-size: 13px; opacity: .7; }

.cwa-faq-item { border-top: 1px solid rgba(0,0,0,.1); padding: 16px 0; }
.cwa-faq-item summary { cursor: pointer; font-weight: 600; font-family: var(--cwa-font-head, sans-serif); }

.cwa-offer-label {
	display: inline-block; background: var(--cwa-accent, #eba13c); color: #1d1400;
	padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; margin-bottom: 12px;
}

.cwa-contact { list-style: none; padding: 0; margin: 0 0 28px; }
.cwa-contact li { display: flex; gap: 16px; padding: 12px 0; border-top: 1px solid rgba(0,0,0,.08); }
.cwa-contact-k { min-width: 90px; font-weight: 600; opacity: .7; }
.cwa-map iframe { width: 100%; height: 380px; border: 0; border-radius: var(--cwa-radius, 4px); }

@media (max-width: 1024px) {
	.cwa-grid-3, .cwa-grid-4, .cwa-pr-horizontal { grid-template-columns: repeat(2, minmax(0,1fr)); }
	.cwa-stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
	.cwa-split { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
	.cwa-section { padding: 56px 18px; }
	.cwa-grid-2, .cwa-grid-3, .cwa-grid-4, .cwa-pr-horizontal { grid-template-columns: 1fr; }
	.cwa-tl-item { flex-direction: column; gap: 6px; }
}
