/*
Theme Name: Copper Sage CPA
Theme URI: https://coppersagecpa.com
Author: Copper Sage CPA
Description: Custom theme for Copper Sage CPA. No page-builder dependency; layout lives in PHP templates, content lives in the WP dashboard.
Version: 3.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: copper-sage
*/

/* ---- Design tokens ----
   v3 design language: deep teal carries the voice, copper is the single
   accent (eyebrows, em words, numerals, dividers, glow). Bold scale,
   calm motion. */
:root {
	--csc-copper: #c99485;
	--csc-teal: #09423c;
	/* Darkened from the style guide's #4A9B8E: at that lightness, turquoise
	   text/buttons measured 3.3:1 on white, failing WCAG AA for normal-size
	   text (4.5:1). This shade holds the same hue at 5:1+. */
	--csc-turquoise: #3a796f;
	--csc-cream: #f7f3de;
	--csc-light-copper: #d9b3a8;
	--csc-secondary-copper: #c99383;
	--csc-dark-copper: #b97562;
	/* Copper-family text tokens, split by background: the style guide's base
	   copper (#c99485) and dark-copper (#b97562) read beautifully at large
	   headline sizes but measure under 3:1 as small/normal text, which fails
	   AA. These two are tuned per background to clear 4.5:1 for real text
	   (eyebrows, testimonial names, nav hover state) while staying visibly
	   copper. */
	--csc-copper-ink: #9c5845;
	--csc-copper-onteal: #d0a295;
	--csc-gold: #d4a574;
	--csc-white: #ffffff;

	--csc-font-heading: 'Alice', serif;
	--csc-font-body: 'Open Sans', sans-serif;

	--csc-radius-button: 50px;
	--csc-radius-card: 16px;
	--csc-radius-form: 12px;

	--csc-shadow-card: 0 8px 30px rgba(9, 66, 60, 0.06);
	--csc-shadow-hover: 0 18px 44px rgba(9, 66, 60, 0.14);

	--csc-content-width: 1200px;
	--csc-gutter: 32px;

	--csc-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { max-width: 100%; height: auto; display: block; border-radius: var(--csc-radius-card); }
a { color: var(--csc-turquoise); }
ul { padding-left: 1.2em; }

/* ---- Base typography ---- */
body {
	font-family: var(--csc-font-body);
	font-size: 19px;
	line-height: 1.7;
	color: var(--csc-teal);
	background: var(--csc-white);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
h1, h2, h3, blockquote {
	font-family: var(--csc-font-heading);
	font-weight: 400;
	line-height: 1.12;
	margin: 0 0 0.5em;
	color: var(--csc-teal);
}
h1 { font-size: clamp(42px, 5.2vw, 66px); letter-spacing: -0.01em; }
h2 { font-size: clamp(32px, 4vw, 50px); letter-spacing: -0.008em; }
h3 { font-size: clamp(24px, 2.3vw, 28px); }
h1 em, h2 em, h3 em, .csc-em { font-style: normal; color: var(--csc-dark-copper); }
.csc-small { font-size: 16px; color: rgba(9, 66, 60, 0.7); }

/* Eyebrow: small caps + copper hairline */
.csc-hero__eyebrow, .csc-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	text-transform: uppercase;
	letter-spacing: 0.28em;
	color: var(--csc-copper-ink);
	font-weight: 700;
	font-size: 12.5px;
}
/* On teal sections the light-background ink is unreadable; swap it. */
.csc-section--teal .csc-hero__eyebrow,
.csc-section--teal .csc-eyebrow {
	color: var(--csc-copper-onteal);
}
.csc-section--teal .csc-hero__eyebrow::before,
.csc-section--teal .csc-eyebrow::before {
	background: var(--csc-copper-onteal);
}
.csc-hero__eyebrow::before, .csc-eyebrow::before {
	content: "";
	width: 34px;
	height: 1.5px;
	background: var(--csc-copper);
	flex: none;
}

/* ---- Layout ---- */
.csc-container {
	max-width: var(--csc-content-width);
	margin: 0 auto;
	padding: 0 24px;
}
.csc-section { padding: clamp(72px, 10vh, 120px) 0; }
.csc-section--cream { background: var(--csc-cream); }
.csc-section--white { background: var(--csc-white); }
.csc-section--teal { background: var(--csc-teal); color: var(--csc-white); }
.csc-section--teal h1, .csc-section--teal h2 { color: var(--csc-cream); }
.csc-section--teal h1 em, .csc-section--teal h2 em { color: var(--csc-copper); }
.csc-section--teal h3, .csc-section--teal p { color: var(--csc-white); }

/* ---- Holographic text (motif from the Finance Flow Finder app) ----
   Stops are deepened from the app's #c98485/#d4a574: at those lightnesses
   the gradient dropped to ~2:1 against cream mid-cycle, on the homepage's
   primary headline. These hold the same hue family at 4.5:1+ throughout. */
.csc-holo {
	background: linear-gradient(135deg, #09423c, #aa4b4c, #94622e, #09423c) 0 0 / 300% 300%;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
	animation: cscGradShift 4s ease-in-out infinite;
}
@keyframes cscGradShift {
	0% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}

/* ---- Concentric rings emblem (motif from the Finance Flow Finder app) ---- */
.csc-rings {
	position: relative;
	width: 118px;
	height: 118px;
	margin: 0 auto 30px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.csc-rings::before {
	content: ""; position: absolute; inset: 0; border-radius: 50%;
	border: 1px solid rgba(201, 148, 133, 0.4);
}
.csc-rings::after {
	content: ""; position: absolute; inset: 12px; border-radius: 50%;
	border: 2px solid rgba(212, 165, 116, 0.3);
}
.csc-rings__inner {
	position: absolute; inset: 26px; border-radius: 50%;
	border: 1px solid rgba(201, 148, 133, 0.6);
	display: flex; align-items: center; justify-content: center;
	color: var(--csc-dark-copper);
}
.csc-rings__inner svg { width: 30px; height: 30px; stroke: currentColor; fill: none; stroke-width: 1.6; }

/* ---- Hero band: statement hero with soft copper aurora ---- */
.csc-hero-band { position: relative; overflow: hidden; }
.csc-hero-band::before {
	content: "";
	position: absolute; inset: 0; pointer-events: none;
	background:
		radial-gradient(46% 60% at 84% 8%, rgba(201, 148, 133, 0.22), transparent 64%),
		radial-gradient(40% 52% at 6% 96%, rgba(74, 155, 142, 0.14), transparent 62%);
}
.csc-hero-band > .csc-container { position: relative; z-index: 1; }
.csc-hero-band--home { min-height: 82vh; display: flex; align-items: center; }
.csc-hero-band--home .csc-display {
	font-family: var(--csc-font-heading);
	font-size: clamp(48px, 6.6vw, 88px);
	line-height: 1.04;
	letter-spacing: -0.015em;
	color: var(--csc-teal);
	margin: 0 0 0.35em;
}
.csc-hero__sub {
	font-family: var(--csc-font-heading);
	font-size: clamp(22px, 2.6vw, 32px);
	color: var(--csc-teal);
	line-height: 1.35;
}
.csc-hero__lede { max-width: 52ch; }
.csc-scroll-hint {
	position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
	z-index: 1; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
	color: rgba(9, 66, 60, 0.55);
}
.csc-scroll-hint::after {
	content: ""; display: block; width: 1.5px; height: 34px; margin: 10px auto 0;
	background: linear-gradient(var(--csc-copper), transparent);
	animation: cscHint 2.2s var(--csc-ease) infinite;
}
@keyframes cscHint { 0%, 100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(8px); opacity: 0.5; } }

/* ---- Buttons (pill) ---- */
.csc-button {
	display: inline-block;
	font-family: var(--csc-font-body);
	font-weight: 600;
	background: var(--csc-turquoise);
	color: var(--csc-white);
	padding: 16px 40px;
	border-radius: var(--csc-radius-button);
	text-decoration: none;
	min-height: 44px;
	min-width: 44px;
	line-height: 1.2;
	border: none;
	cursor: pointer;
	white-space: nowrap;
	transition: all 0.3s var(--csc-ease);
	box-shadow: 0 4px 14px rgba(9, 66, 60, 0.12);
}
.csc-button:hover, .csc-button:focus {
	background: var(--csc-teal);
	color: var(--csc-white);
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(9, 66, 60, 0.2);
}
.csc-button--secondary { background: var(--csc-dark-copper); }
.csc-button--secondary:hover { background: #9a5f4e; }
/* Turquoise-on-teal measured only 2.2:1, close enough in value to the
   section background that the button nearly disappeared into it. Cream on
   teal (10:1) reads as a proper CTA and still shifts on hover for
   feedback. */
.csc-button--on-teal { background: var(--csc-cream); color: var(--csc-teal); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2); }
.csc-button--on-teal:hover { background: var(--csc-white); color: var(--csc-teal); transform: translateY(-2px); }
/* Higher specificity than `.csc-nav a` on purpose: that rule's own padding
   must not collapse this pill's horizontal padding to 0 (that was the bug
   where the label sat flush against the rounded edges). */
.csc-nav a.csc-button--nav {
	padding: 12px 28px;
	box-shadow: none;
	white-space: nowrap;
	flex: none;
}

a:focus-visible, button:focus-visible, .csc-button:focus-visible {
	outline: 2px solid var(--csc-turquoise);
	outline-offset: 2px;
}
/* Turquoise measures only ~2.2:1 against the teal header/footer, well under
   the 3:1 WCAG non-text contrast minimum for focus indicators, so it's
   effectively invisible to a keyboard user there. Cream clears 10:1. */
.csc-header a:focus-visible, .csc-header button:focus-visible,
.csc-footer a:focus-visible, .csc-footer button:focus-visible {
	outline-color: var(--csc-cream);
}
/* Light-copper's border color is decorative-only (1.9:1 on white, well
   under the 3:1 floor for a meaningful focus indicator), so the focus state
   itself uses turquoise, which clears it comfortably. */
input:focus, textarea:focus { border-color: var(--csc-turquoise); outline: 2px solid var(--csc-turquoise); }

/* ---- Header / Nav (sticky, teal) ---- */
.csc-header {
	background: var(--csc-teal);
	position: sticky;
	top: 0;
	z-index: 100;
	transition: box-shadow 0.3s ease;
}
.csc-header.is-scrolled { box-shadow: 0 6px 24px rgba(4, 26, 23, 0.35); }
.csc-header__inner {
	max-width: var(--csc-content-width);
	margin: 0 auto;
	padding: 14px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}
.csc-header__logo { flex: none; }
.csc-header__logo img { border-radius: 0; max-height: 40px; width: auto; }
.csc-nav { display: flex; align-items: center; gap: 28px; }
.csc-nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; align-items: center; }
.csc-nav li { white-space: nowrap; position: relative; }
.csc-nav a {
	color: rgba(255, 255, 255, 0.92);
	text-decoration: none;
	font-weight: 600;
	padding: 10px 0;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	transition: color 0.25s ease;
	display: inline-block;
}
.csc-nav a:hover, .csc-nav .current-menu-item > a, .csc-nav .current-menu-ancestor > a { color: var(--csc-copper-onteal); }

/* Dropdown parents get a soft caret */
.csc-nav .menu-item-has-children > a::after {
	content: "\2304";
	display: inline-block;
	margin-left: 7px;
	font-size: 12px;
	line-height: 1;
	transform: translateY(-3px);
	color: var(--csc-copper-onteal);
}
.csc-nav .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: -18px;
	background: var(--csc-teal);
	padding: 10px 0;
	list-style: none;
	margin: 6px 0 0;
	border-radius: 14px;
	min-width: 230px;
	box-shadow: 0 18px 40px rgba(4, 26, 23, 0.45);
	border: 1px solid rgba(201, 148, 133, 0.25);
}
.csc-nav li:hover > .sub-menu, .csc-nav li:focus-within > .sub-menu { display: block; }
.csc-nav .sub-menu li { padding: 0; }
.csc-nav .sub-menu a {
	display: block;
	padding: 10px 22px;
	text-transform: none;
	letter-spacing: 0.01em;
	font-size: 15px;
	font-weight: 400;
}
.csc-nav .sub-menu a:hover { background: rgba(201, 148, 133, 0.12); color: var(--csc-copper); }
.csc-nav-toggle { display: none; background: none; border: none; color: var(--csc-white); font-size: 28px; cursor: pointer; min-width: 44px; min-height: 44px; }

@media (max-width: 1080px) {
	.csc-nav-toggle { display: block; }
	.csc-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--csc-teal); flex-direction: column; align-items: stretch; padding: 20px 24px 28px; box-shadow: 0 20px 30px rgba(4, 26, 23, 0.35); gap: 4px; }
	.csc-nav.is-open { display: flex; }
	.csc-nav ul { flex-direction: column; gap: 0; align-items: stretch; }
	.csc-nav ul > li { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
	.csc-nav a { display: block; padding: 14px 4px; font-size: 15px; }
	.csc-nav .menu-item-has-children > a::after { display: none; }
	.csc-nav .sub-menu {
		position: static;
		display: block;
		box-shadow: none;
		border: none;
		border-radius: 0;
		padding: 0 0 8px;
		margin: 0;
		min-width: 0;
	}
	.csc-nav .sub-menu li { border-bottom: none; }
	.csc-nav .sub-menu a { padding: 10px 4px 10px 22px; color: rgba(255, 255, 255, 0.75); }
	.csc-nav .csc-button--nav { margin-top: 16px; text-align: center; }
}

/* ---- Footer ---- */
.csc-footer { background: var(--csc-teal); color: var(--csc-white); padding: 64px 0 24px; position: relative; overflow: hidden; }
.csc-footer > .csc-container { position: relative; z-index: 1; }
.csc-footer a { color: var(--csc-white); }
.csc-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.csc-footer__grid ul { list-style: none; padding: 0; margin: 0; }
.csc-footer__grid li { margin-bottom: 8px; }
.csc-footer__manifesto { font-family: var(--csc-font-heading); font-size: clamp(20px, 2vw, 26px); color: var(--csc-cream); line-height: 1.5; }
.csc-footer__bottom { border-top: 1px solid rgba(255,255,255,0.2); padding-top: 16px; font-size: 14px; opacity: 0.7; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
@media (max-width: 768px) { .csc-footer__grid { grid-template-columns: 1fr; } }

/* Animated footer FX: copper aurora + rising dots */
.csc-footfx { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.csc-footfx__aurora {
	position: absolute; left: -15%; right: -15%; bottom: -70%; height: 230%;
	background:
		radial-gradient(46% 64% at 28% 100%, var(--csc-copper), transparent 66%),
		radial-gradient(40% 56% at 72% 100%, var(--csc-copper), transparent 66%);
	filter: blur(52px); opacity: 0.4;
	animation: cscAuroraDrift 16s ease-in-out infinite;
}
@keyframes cscAuroraDrift {
	0%, 100% { transform: translateX(-4%) scaleY(1); }
	50% { transform: translateX(4%) scaleY(1.18); }
}
.csc-footfx__dot {
	position: absolute; bottom: 6px; width: 4px; height: 4px; border-radius: 50%;
	background: var(--csc-copper); opacity: 0; box-shadow: 0 0 10px var(--csc-copper);
	animation: cscDotRise linear infinite;
}
@keyframes cscDotRise {
	0% { transform: translateY(0) scale(0.4); opacity: 0; }
	18% { opacity: 0.9; }
	80% { opacity: 0.55; }
	100% { transform: translateY(-88px) scale(1); opacity: 0; }
}

/* ---- Legacy split hero (kept for pages with a featured image) ---- */
.csc-hero { display: grid; grid-template-columns: 45% 55%; gap: var(--csc-gutter); align-items: center; }
@media (max-width: 992px) { .csc-hero { grid-template-columns: 1fr; } .csc-hero__image { order: -1; } }

/* ---- Section Header ---- */
.csc-section-header { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.csc-section-header .csc-hero__eyebrow { justify-content: center; }
.csc-section-header .csc-hero__eyebrow::after {
	content: ""; width: 34px; height: 1.5px; background: var(--csc-copper); flex: none;
}

/* ---- Cards ---- */
.csc-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--csc-gutter); }
.csc-card-grid--four { grid-template-columns: repeat(4, 1fr); }
.csc-card {
	background: var(--csc-white);
	border: 1px solid rgba(217, 179, 168, 0.55);
	border-radius: var(--csc-radius-card);
	box-shadow: var(--csc-shadow-card);
	padding: 36px;
	transition: transform 0.35s var(--csc-ease), box-shadow 0.35s var(--csc-ease), border-color 0.35s ease;
}
.csc-card:hover { border-color: var(--csc-copper); transform: translateY(-6px); box-shadow: var(--csc-shadow-hover); }
.csc-card--featured { border: 2px solid var(--csc-copper); box-shadow: 0 14px 38px rgba(185, 117, 98, 0.18); }
.csc-card__icon { margin-bottom: 18px; color: var(--csc-dark-copper); }
.csc-card__icon svg { width: 42px; height: 42px; stroke: currentColor; fill: none; stroke-width: 1.6; }
@media (max-width: 992px) { .csc-card-grid, .csc-card-grid--four { grid-template-columns: 1fr; } }

/* ---- Two-Column ---- */
.csc-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.csc-two-col--reverse .csc-two-col__media { order: 2; }
.csc-two-col__media img { box-shadow: var(--csc-shadow-hover); }
@media (max-width: 992px) { .csc-two-col { grid-template-columns: 1fr; } .csc-two-col--reverse .csc-two-col__media { order: -1; } }

/* ---- Big centered statement copy ---- */
.csc-statement { max-width: 680px; margin: 0 auto; text-align: center; }
.csc-statement p { margin: 0 0 1.4em; }
.csc-statement .csc-statement__big { font-family: var(--csc-font-heading); font-size: clamp(24px, 2.8vw, 34px); line-height: 1.3; color: var(--csc-teal); }

/* ---- Pain list (Home problem section) ---- */
.csc-pain-list { list-style: none; padding: 0; max-width: 680px; margin: 0 auto; }
.csc-pain-list li {
	position: relative; padding: 18px 0 18px 46px;
	border-bottom: 1px solid rgba(201, 148, 133, 0.35);
	font-size: clamp(18px, 1.6vw, 21px);
}
.csc-pain-list li:last-child { border-bottom: none; }
.csc-pain-list li::before {
	content: ""; position: absolute; left: 4px; top: 27px;
	width: 22px; height: 1.5px; background: var(--csc-copper);
}

/* ---- Checkmark list ---- */
.csc-check-list { list-style: none; padding: 0; max-width: 640px; margin: 0 auto; }
.csc-check-list li { padding: 12px 0 12px 42px; position: relative; font-size: clamp(18px, 1.6vw, 21px); }
.csc-check-list li::before { content: "\2714"; color: var(--csc-turquoise); position: absolute; left: 0; font-weight: 700; font-size: 22px; }

/* ---- Pull-quote with copper rules ---- */
.csc-pullquote {
	max-width: 800px; margin: 0 auto; text-align: center;
	border-top: 2px solid var(--csc-copper); border-bottom: 2px solid var(--csc-copper);
	padding: clamp(40px, 6vh, 64px) 20px;
}
.csc-pullquote .csc-pullquote__lead { font-family: var(--csc-font-heading); font-size: clamp(28px, 3.4vw, 42px); line-height: 1.25; color: var(--csc-teal); margin: 0.6em 0; }

/* ---- Practice steps: thin copper rings ---- */
.csc-steps { display: flex; justify-content: center; gap: clamp(28px, 5vw, 64px); flex-wrap: wrap; margin: 48px 0; }
.csc-steps__step { text-align: center; max-width: 240px; }
.csc-steps__circle {
	width: 104px; height: 104px; border-radius: 50%;
	background: transparent; border: 2px solid var(--csc-copper);
	color: var(--csc-copper);
	font-family: var(--csc-font-heading); font-size: 40px;
	display: flex; align-items: center; justify-content: center;
	margin: 0 auto 18px;
	box-shadow: 0 0 0 8px rgba(201, 148, 133, 0.08);
}
.csc-steps__label { font-family: var(--csc-font-heading); font-size: clamp(20px, 2vw, 24px); color: var(--csc-cream); }

/* ---- Journey path ---- */
.csc-journey { display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; margin: 48px 0; }
.csc-journey__stage {
	font-family: var(--csc-font-heading); font-size: clamp(18px, 2vw, 24px); color: var(--csc-teal);
	padding: 12px 26px; border-radius: 50px; background: var(--csc-white);
	border: 1px solid var(--csc-light-copper);
	box-shadow: var(--csc-shadow-card);
}
.csc-journey__stage--final { background: var(--csc-turquoise); color: var(--csc-white); border-color: var(--csc-turquoise); box-shadow: 0 10px 26px rgba(74, 155, 142, 0.35); }
.csc-journey__arrow { color: var(--csc-secondary-copper); font-size: 22px; }

/* ---- Manifesto ---- */
.csc-manifesto { text-align: center; max-width: 800px; margin: 0 auto; }
.csc-manifesto h2 { margin-bottom: 1em; }
.csc-manifesto p { font-family: var(--csc-font-heading); font-size: clamp(22px, 2.6vw, 31px); color: var(--csc-cream); line-height: 1.55; margin: 0 0 0.85em; }

/* ---- Comparison Block ---- */
.csc-comparison { display: grid; grid-template-columns: 1fr 1fr; gap: var(--csc-gutter); }
.csc-comparison__col { border-radius: var(--csc-radius-card); padding: 40px; box-shadow: var(--csc-shadow-card); }
.csc-comparison__col--before { background: var(--csc-white); border: 1px solid var(--csc-light-copper); }
.csc-comparison__col--after { background: var(--csc-turquoise); color: var(--csc-white); }
.csc-comparison__col--after h3, .csc-comparison__col--after li { color: var(--csc-white); }
.csc-comparison__col ul { list-style: none; padding: 0; }
.csc-comparison__col li { padding: 10px 0; }
@media (max-width: 768px) { .csc-comparison { grid-template-columns: 1fr; } }

/* ---- Milestones (Lab: What Changes) ---- */
.csc-milestones { list-style: none; padding: 0; max-width: 760px; margin: 0 auto; counter-reset: csc-m; }
.csc-milestones li {
	counter-increment: csc-m;
	position: relative; padding: 22px 0 22px 84px;
	border-bottom: 1px solid rgba(201, 148, 133, 0.3);
}
.csc-milestones li:last-child { border-bottom: none; }
.csc-milestones li::before {
	content: counter(csc-m);
	position: absolute; left: 0; top: 16px;
	width: 52px; height: 52px; border-radius: 50%;
	border: 1.5px solid var(--csc-copper); color: var(--csc-dark-copper);
	font-family: var(--csc-font-heading); font-size: 24px;
	display: flex; align-items: center; justify-content: center;
}

/* ---- Price card ---- */
.csc-price-card {
	background: var(--csc-white); border-radius: 24px; padding: clamp(40px, 5vw, 64px);
	box-shadow: var(--csc-shadow-hover); border-top: 4px solid var(--csc-copper);
	max-width: 680px; margin: 0 auto; text-align: center;
}

/* ---- Testimonial / Quote ---- */
.csc-testimonial { background: var(--csc-cream); border-radius: var(--csc-radius-card); padding: 32px; }
.csc-testimonial__quote { font-style: italic; font-size: 20px; }
.csc-testimonial__name { color: var(--csc-copper-ink); font-size: 16px; margin-top: 12px; }
.csc-quote-block { text-align: center; max-width: 800px; margin: 0 auto; }
.csc-quote-block blockquote { font-family: var(--csc-font-heading); font-size: clamp(26px, 3vw, 36px); color: var(--csc-dark-copper); margin: 0 0 16px; }

/* ---- Callout Box ---- */
.csc-callout { background: var(--csc-white); border: 1px solid var(--csc-light-copper); border-radius: var(--csc-radius-card); padding: 36px; display: flex; gap: 20px; align-items: flex-start; box-shadow: var(--csc-shadow-card); }

/* ---- CTA Section ---- */
.csc-cta { text-align: center; position: relative; overflow: hidden; }
.csc-cta::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: radial-gradient(52% 70% at 50% 110%, rgba(201, 148, 133, 0.28), transparent 66%);
}
.csc-cta > .csc-container { position: relative; z-index: 1; }

/* ---- FAQ Accordion ---- */
.csc-faq { max-width: 800px; margin: 0 auto; }
.csc-faq__item { border-bottom: 1px solid rgba(201, 148, 133, 0.4); }
.csc-faq__question {
	width: 100%;
	text-align: left;
	background: none;
	border: none;
	font-family: var(--csc-font-body);
	font-weight: 700;
	font-size: 19px;
	color: var(--csc-teal);
	padding: 20px 0;
	min-height: 44px;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
}
.csc-faq__question > span:last-child { color: var(--csc-dark-copper); font-size: 26px; font-weight: 400; transition: transform 0.3s var(--csc-ease); }
.csc-faq__item.is-open .csc-faq__question > span:last-child { transform: rotate(45deg); }
.csc-faq__answer { display: none; padding: 0 0 20px; font-size: 18px; max-width: 62ch; }
.csc-faq__item.is-open .csc-faq__answer { display: block; }

/* ---- Blog Card ---- */
.csc-blog-card { background: var(--csc-cream); }
.csc-blog-card__image { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.csc-blog-card__category { color: var(--csc-turquoise); font-size: 14px; text-transform: uppercase; letter-spacing: 0.12em; }
.csc-blog-card h3 { color: var(--csc-dark-copper); }

/* ---- Post end block ---- */
.csc-post-end { margin-top: 48px; padding: 40px; background: var(--csc-cream); border-radius: var(--csc-radius-card); text-align: center; }
.csc-post-end p.csc-post-end__manifesto { font-family: var(--csc-font-heading); font-size: 22px; color: var(--csc-teal); }

/* ---- Forms wrapper ---- */
.csc-form-wrapper { background: var(--csc-white); border: 1px solid var(--csc-light-copper); border-radius: var(--csc-radius-card); box-shadow: var(--csc-shadow-card); padding: 36px; max-width: 640px; margin: 0 auto; }
.csc-form-wrapper iframe { width: 100%; border: none; min-height: 480px; border-radius: var(--csc-radius-form); }

/* ---- Breadcrumbs ---- */
.csc-breadcrumbs { font-size: 13px; color: rgba(9,66,60,0.6); padding: 14px 0 0; position: relative; z-index: 2; }
.csc-breadcrumbs a { color: inherit; }

/* ---- WooCommerce alignment ---- */
.woocommerce ul.products li.product .price { color: var(--csc-teal); font-weight: 700; }
.woocommerce a.button, .woocommerce button.button, .woocommerce #respond input#submit,
.woocommerce-page a.button, .woocommerce-page button.button {
	background: var(--csc-turquoise) !important;
	color: var(--csc-white) !important;
	border-radius: var(--csc-radius-button) !important;
	font-family: var(--csc-font-body) !important;
}
.woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--csc-teal) !important; }
.woocommerce ul.products li.product img { border-radius: var(--csc-radius-card); }

/* ---- Scroll reveal (classes assigned by main.js) ---- */
.csc-r { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--csc-ease), transform 0.9s var(--csc-ease); will-change: opacity, transform; }
.csc-r.csc-in { opacity: 1; transform: none; }

/* ---- Utility ---- */
.csc-mt-0 { margin-top: 0; }
.csc-text-center { text-align: center; }

/* ---- Responsive type / spacing ---- */
@media (max-width: 768px) {
	body { font-size: 17px; }
	.csc-section { padding: clamp(56px, 8vh, 80px) 0; }
	.csc-hero-band--home { min-height: 0; }
	.csc-scroll-hint { display: none; }
	.csc-steps__circle { width: 84px; height: 84px; font-size: 32px; }
	.csc-milestones li { padding-left: 68px; }
	.csc-milestones li::before { width: 44px; height: 44px; font-size: 20px; }
}

/* ---- Reduced motion: calm becomes still ---- */
@media (prefers-reduced-motion: reduce) {
	.csc-footfx__aurora { animation: none; }
	.csc-footfx__dot { animation: none; display: none; }
	.csc-scroll-hint::after { animation: none; }
	.csc-holo { animation: none; }
	.csc-r { opacity: 1; transform: none; transition: none; }
	.csc-card, .csc-button { transition: none; }
}
