/* ==========================================================================
   JST Strategy Content Manager — Design System
   Every color/spacing token below is also exposed as an Elementor Style
   control on the matching widget (see class-jst-widget-base.php selectors),
   so these are tasteful, production-ready defaults, fully overridable.
   ========================================================================== */

:root {
	--jst-navy: #0f2942;
	--jst-navy-light: #16385a;
	--jst-gold: #c89b3c;
	--jst-gold-light: #e0bd6a;
	--jst-ink: #1f2430;
	--jst-muted: #6b7280;
	--jst-line: #e7e9ee;
	--jst-bg-soft: #f6f7fb;
	--jst-white: #ffffff;
	--jst-success: #1a7f37;
	--jst-radius: 14px;
	--jst-radius-sm: 8px;
	--jst-shadow: 0 4px 16px rgba(15, 41, 66, 0.06);
	--jst-shadow-hover: 0 16px 36px rgba(15, 41, 66, 0.14);
	--jst-font: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.jst-widget { box-sizing: border-box; font-family: var(--jst-font); color: var(--jst-ink); }
.jst-widget * { box-sizing: border-box; }
.jst-widget h1, .jst-widget h2, .jst-widget h3, .jst-widget h4 { font-family: var(--jst-font); font-weight: 700; letter-spacing: -0.01em; color: var(--jst-navy); }
.jst-widget a { transition: all .2s ease; }
.jst-empty-state { color: var(--jst-muted); font-style: italic; padding: 24px; text-align: center; background: var(--jst-bg-soft); border-radius: var(--jst-radius-sm); }
.jst-w-title { font-size: 30px; margin: 0 0 28px; }

/* ---------- Eyebrow / badge ---------- */
.jst-eyebrow {
	display: inline-flex; align-items: center; gap: 6px;
	font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
	color: var(--jst-gold); background: rgba(200, 155, 60, 0.1);
	padding: 6px 14px; border-radius: 999px; margin-bottom: 14px;
}

/* ---------- Grid ---------- */
.jst-grid { display: grid; grid-template-columns: repeat(var(--jst-columns, 3), 1fr); gap: 28px; }
@media (max-width: 1024px) { .jst-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .jst-grid { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.jst-card, .jst-case-study-card {
	display: block; background: var(--jst-white);
	border: 1px solid var(--jst-line); border-radius: var(--jst-radius);
	overflow: hidden; text-decoration: none; color: inherit;
	box-shadow: var(--jst-shadow);
	transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.jst-card:hover, .jst-case-study-card:hover {
	box-shadow: var(--jst-shadow-hover); transform: translateY(-4px); border-color: transparent;
}
.jst-card-image, .jst-case-study-card .jst-card-image { position: relative; overflow: hidden; }
.jst-card-image img, .jst-case-study-card .jst-card-image img {
	width: 100%; height: 210px; object-fit: cover; display: block; transition: transform .4s ease;
}
.jst-card:hover .jst-card-image img { transform: scale(1.06); }
.jst-card-body { padding: 24px; }
.jst-card-eyebrow {
	display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase;
	letter-spacing: 0.07em; color: var(--jst-gold); margin-bottom: 10px;
}
.jst-card-title { margin: 0 0 8px; font-size: 20px; line-height: 1.3; color: var(--jst-navy); }
.jst-card-client { font-weight: 600; margin: 0 0 8px; color: var(--jst-ink); }
.jst-card-excerpt { color: var(--jst-muted); font-size: 14.5px; line-height: 1.6; margin: 0 0 14px; }
.jst-card-meta { font-size: 12.5px; color: var(--jst-muted); font-weight: 600; }
.jst-engagement-pricing { font-weight: 700; color: var(--jst-navy); font-size: 15px; margin: 8px 0; }

/* Metric pills on grid cards */
.jst-card-metrics { display: flex; gap: 20px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--jst-line); }
.jst-metric-pill { text-align: left; }
.jst-metric-pill .jst-metric-value { display: block; font-size: 22px; font-weight: 800; color: var(--jst-gold); line-height: 1; }
.jst-metric-pill .jst-metric-label { display: block; font-size: 11px; color: var(--jst-muted); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.04em; }

/* ==========================================================================
   Single Case Study / Service / Industry detail layout
   ========================================================================== */

.jst-cs-hero, .jst-detail-hero {
	text-align: center; padding: 56px 24px 44px; margin-bottom: 8px;
	background: linear-gradient(180deg, var(--jst-bg-soft) 0%, rgba(246,247,251,0) 100%);
	border-radius: var(--jst-radius);
}
.jst-cs-hero-media { display: flex; align-items: center; justify-content: center; gap: 32px; margin: 28px 0 8px; flex-wrap: wrap; }
.jst-cs-hero-image img { max-width: 560px; width: 100%; border-radius: var(--jst-radius); box-shadow: var(--jst-shadow-hover); }
.jst-cs-hero-logo img { max-height: 64px; width: auto; }
.jst-cs-hero .jst-w-title, .jst-detail-hero .jst-w-title { font-size: 38px; max-width: 760px; margin: 0 auto 6px; line-height: 1.2; }
.jst-cs-hero-meta, .jst-detail-hero-desc { color: var(--jst-muted); font-size: 17px; max-width: 680px; margin: 10px auto 0; }

.jst-cs-section, .jst-detail-section { margin: 52px 0; }
.jst-cs-section-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 20px; }
.jst-cs-section-num {
	font-size: 15px; font-weight: 800; color: var(--jst-gold);
	flex: 0 0 auto; letter-spacing: 0.04em;
}
.jst-cs-section-head h2, .jst-detail-section h2 {
	font-size: 24px; margin: 0; flex: 0 0 auto; white-space: nowrap;
}
.jst-cs-section-rule { flex: 1 1 auto; height: 1px; background: var(--jst-line); }
.jst-cs-section p, .jst-detail-section p { color: var(--jst-ink); line-height: 1.75; font-size: 16px; }

/* Services provided as check-pills */
.jst-cs-services-provided h3, .jst-cs-services-provided .jst-cs-sub-title {
	text-align: center; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em;
	color: var(--jst-muted); margin-bottom: 20px;
}
.jst-service-pill-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 640px) { .jst-service-pill-grid { grid-template-columns: 1fr; } }
.jst-service-pill {
	display: flex; align-items: center; gap: 12px; padding: 16px 20px;
	background: var(--jst-bg-soft); border-radius: var(--jst-radius-sm); font-weight: 600; font-size: 15px;
}
.jst-service-pill::before {
	content: "✓"; display: inline-flex; align-items: center; justify-content: center;
	width: 22px; height: 22px; border-radius: 50%; background: var(--jst-gold); color: #fff;
	font-size: 12px; font-weight: 800; flex-shrink: 0;
}

/* ---------- Results / Metrics ---------- */
.jst-cs-metrics-heading, .jst-detail-section .jst-metrics-heading {
	text-align: center; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--jst-muted); margin-bottom: 22px;
}
.jst-metrics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 22px; }
.jst-metric-card {
	background: var(--jst-white); border: 1px solid var(--jst-line); border-radius: var(--jst-radius);
	padding: 28px 20px; text-align: center; box-shadow: var(--jst-shadow); transition: transform .25s ease, box-shadow .25s ease;
}
.jst-metric-card:hover { transform: translateY(-4px); box-shadow: var(--jst-shadow-hover); }
.jst-metric-before-after { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 16px; margin-bottom: 10px; color: var(--jst-muted); }
.jst-metric-before { text-decoration: line-through; }
.jst-metric-after { font-weight: 700; color: var(--jst-navy); }
.jst-metric-arrow { color: var(--jst-gold); }
.jst-metric-improvement { font-size: 34px; font-weight: 800; color: var(--jst-navy); margin-bottom: 6px; line-height: 1; }
.jst-metric-card-label { margin: 4px 0 2px; font-size: 14.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; color: var(--jst-gold); }
.jst-metric-card-desc { font-size: 13px; color: var(--jst-muted); margin: 0; }

/* ---------- Chart / Performance overview ---------- */
.jst-chart { margin: 8px 0; background: var(--jst-bg-soft); border-radius: var(--jst-radius); padding: 28px; }
.jst-chart-row { margin-bottom: 20px; }
.jst-chart-row:last-child { margin-bottom: 0; }
.jst-chart-row-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.jst-chart-label { font-size: 14.5px; font-weight: 600; color: var(--jst-ink); }
.jst-chart-value { font-size: 15px; font-weight: 800; color: var(--jst-navy); }
.jst-chart-bar-track { background: var(--jst-line); border-radius: 6px; overflow: hidden; height: 10px; }
.jst-chart-bar { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--jst-navy), var(--jst-gold)); }

/* ---------- Client quote ---------- */
.jst-client-quote {
	position: relative; padding: 44px 40px; margin: 8px 0; text-align: center;
	background: var(--jst-navy); color: #fff; border-radius: var(--jst-radius); border: none;
}
.jst-client-quote::before {
	content: "\201C"; display: block; font-size: 64px; line-height: 1; font-weight: 800;
	color: var(--jst-gold); font-family: Georgia, serif; margin-bottom: 4px;
}
.jst-client-quote p { font-size: 19px; line-height: 1.6; font-style: normal; max-width: 640px; margin: 0 auto; color: #fff; }
.jst-client-quote cite { display: block; margin-top: 20px; font-style: normal; font-weight: 700; color: var(--jst-gold-light); font-size: 14px; }

/* ---------- Related tags ---------- */
.jst-cs-related-tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.jst-related-tag {
	display: inline-block; padding: 10px 20px; background: var(--jst-bg-soft); border-radius: 999px;
	text-decoration: none; color: var(--jst-navy); font-size: 14px; font-weight: 600; border: 1px solid var(--jst-line);
}
.jst-related-tag:hover { background: var(--jst-navy); color: #fff; border-color: var(--jst-navy); }

/* ---------- Testimonials ---------- */
.jst-testimonial-card {
	position: relative; border: 1px solid var(--jst-line); border-radius: var(--jst-radius);
	padding: 30px; background: var(--jst-white); box-shadow: var(--jst-shadow); transition: box-shadow .25s ease, transform .25s ease;
}
.jst-testimonial-card:hover { box-shadow: var(--jst-shadow-hover); transform: translateY(-3px); }
.jst-testimonial-text::before {
	content: "\201C"; display: block; font-size: 40px; color: var(--jst-gold); font-family: Georgia, serif; line-height: 1; margin-bottom: 6px;
}
.jst-testimonial-text p { font-size: 16px; line-height: 1.65; color: var(--jst-ink); }
.jst-testimonial-meta { display: flex; align-items: center; gap: 14px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--jst-line); }
.jst-testimonial-headshot img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.jst-testimonial-name { display: block; color: var(--jst-navy); font-size: 15px; }
.jst-testimonial-role { font-size: 13px; color: var(--jst-muted); }
.jst-testimonial-logo img { height: 26px; width: auto; margin-left: auto; opacity: .8; }
.jst-slider { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.jst-slider .jst-testimonial-card { flex: 0 0 360px; scroll-snap-align: start; }

/* ---------- FAQ accordion ---------- */
.jst-faq-accordion { border-top: 1px solid var(--jst-line); }
.jst-faq-item { border-bottom: 1px solid var(--jst-line); }
.jst-faq-question {
	width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
	background: none; border: none; padding: 22px 4px; font-size: 16.5px; font-weight: 700;
	text-align: left; cursor: pointer; color: var(--jst-navy);
}
.jst-faq-question:hover { color: var(--jst-gold); }
.jst-faq-icon {
	flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--jst-bg-soft);
	display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; color: var(--jst-navy);
	transition: transform .25s ease, background .25s ease;
}
.jst-faq-item.is-open .jst-faq-icon { transform: rotate(45deg); background: var(--jst-gold); color: #fff; }
.jst-faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; padding: 0 4px; }
.jst-faq-item.is-open .jst-faq-answer { max-height: 800px; padding-bottom: 22px; }
.jst-faq-answer p { color: var(--jst-muted); line-height: 1.7; margin: 0; }

/* ---------- CTA ---------- */
.jst-cta {
	position: relative; overflow: hidden; padding: 48px 40px; text-align: center;
	background: linear-gradient(135deg, var(--jst-navy) 0%, var(--jst-navy-light) 100%);
	border-radius: var(--jst-radius); color: #fff;
}
.jst-cta::after {
	content: ""; position: absolute; inset: 0;
	background: radial-gradient(circle at 85% 20%, rgba(200,155,60,0.25), transparent 55%);
	pointer-events: none;
}
.jst-cta-heading { margin: 0 0 12px; font-size: 26px; color: #fff; position: relative; }
.jst-cta-description { margin: 0 0 26px; color: rgba(255,255,255,0.8); font-size: 16px; max-width: 560px; margin-left: auto; margin-right: auto; position: relative; }
.jst-cta-button {
	position: relative; display: inline-block; background: var(--jst-gold); color: var(--jst-navy) !important;
	padding: 15px 34px; border-radius: 999px; text-decoration: none; font-weight: 800; font-size: 15px;
	letter-spacing: 0.01em; box-shadow: 0 8px 20px rgba(200,155,60,0.35); transition: transform .2s ease, box-shadow .2s ease;
}
.jst-cta-button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(200,155,60,0.45); }
.jst-cta-button-secondary { background: transparent; color: #fff !important; border: 2px solid rgba(255,255,255,0.4); box-shadow: none; }

/* ---------- Forms ---------- */
.jst-form-field { margin-bottom: 20px; }
.jst-form-field label { display: block; margin-bottom: 7px; font-weight: 700; font-size: 13.5px; color: var(--jst-navy); }
.jst-form-field input[type=text], .jst-form-field input[type=email], .jst-form-field input[type=tel], .jst-form-field textarea, .jst-form-field select {
	width: 100%; padding: 13px 16px; border: 1.5px solid var(--jst-line); border-radius: var(--jst-radius-sm);
	font-size: 14.5px; font-family: var(--jst-font); transition: border-color .2s ease, box-shadow .2s ease; background: #fff;
}
.jst-form-field input:focus, .jst-form-field textarea:focus, .jst-form-field select:focus {
	outline: none; border-color: var(--jst-gold); box-shadow: 0 0 0 3px rgba(200,155,60,0.15);
}
.jst-form-field-checkbox label { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 14px; color: var(--jst-muted); }
.jst-form-submit {
	background: var(--jst-navy); color: #fff; border: none; padding: 15px 34px; border-radius: var(--jst-radius-sm);
	font-weight: 700; font-size: 15px; cursor: pointer; transition: background .2s ease, transform .2s ease;
}
.jst-form-submit:hover { background: var(--jst-navy-light); transform: translateY(-1px); }
.jst-form-submit:disabled { opacity: .6; cursor: default; transform: none; }
.jst-form-message { margin-top: 14px; padding: 12px 16px; border-radius: var(--jst-radius-sm); font-size: 14px; font-weight: 600; }
.jst-form-message.success { background: #e6f4ea; color: var(--jst-success); }
.jst-form-message.error { background: #fdecea; color: #b3261e; }

/* ---------- Newsletter ---------- */
.jst-newsletter-box { padding: 32px; background: var(--jst-bg-soft); border-radius: var(--jst-radius); text-align: center; }
.jst-newsletter-box .jst-w-title { font-size: 22px; margin-bottom: 8px; }
.jst-newsletter-box p { color: var(--jst-muted); margin: 0 0 18px; }
.jst-newsletter-form { display: flex; gap: 10px; margin: 0 0 12px; flex-wrap: wrap; justify-content: center; }
.jst-newsletter-form input[type=email] { flex: 1; min-width: 220px; max-width: 320px; padding: 13px 16px; border-radius: var(--jst-radius-sm); border: 1.5px solid var(--jst-line); }
.jst-newsletter-privacy { font-size: 12px; color: var(--jst-muted); margin: 0; }

/* ---------- 404 ---------- */
.jst-404-wrap { max-width: 640px; margin: 100px auto; text-align: center; padding: 0 20px; }
.jst-404-wrap h1 { font-size: 40px; color: var(--jst-navy); }
.jst-404-wrap p { color: var(--jst-muted); font-size: 17px; }
.jst-404-actions { display: flex; gap: 16px; justify-content: center; margin-top: 32px; }

/* ---------- Resource / download / workshop / event / media eyebrow color variety ---------- */
.jst-resource-card .jst-card-eyebrow, .jst-download-card .jst-card-eyebrow { color: var(--jst-navy); }
