/**
 * Pricing / "How We Quote" transparency page.
 *
 * Reuses the theme's --mytheme-* design tokens (declared in responsive.css) so
 * the page stays on-brand. Mobile-first: single-column stacks that open into
 * multi-column grids at >=640px / >=900px.
 *
 * @package my-theme
 */

.site-main--pricing {
	color: var(--mytheme-ink, #16202c);
	background: var(--mytheme-surface, #fff);
}

.site-container--narrow {
	max-width: 46rem;
}

/* --- Shared section heading ---------------------------------------------- */

.pricing-section__head {
	max-width: 46rem;
	margin: 0 auto clamp(1.75rem, 4vw, 2.75rem);
	text-align: center;
}

.pricing-section__title {
	margin: 0 0 0.6rem;
	font-size: clamp(1.6rem, 3.6vw, 2.25rem);
	line-height: 1.15;
	font-weight: 800;
	letter-spacing: -0.01em;
}

.pricing-section__lead {
	margin: 0;
	font-size: 1.0625rem;
	line-height: 1.6;
	color: var(--mytheme-muted, #5a6675);
}

/* --- Buttons ------------------------------------------------------------- */

.pricing-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: var(--mytheme-touch, 44px);
	padding: 0.75rem 1.5rem;
	border-radius: var(--mytheme-radius-sm, 8px);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	border: 2px solid transparent;
	cursor: pointer;
	transition: background-color var(--mytheme-duration, 220ms) var(--mytheme-ease, ease),
		color var(--mytheme-duration, 220ms) var(--mytheme-ease, ease),
		transform var(--mytheme-duration, 220ms) var(--mytheme-ease, ease),
		box-shadow var(--mytheme-duration, 220ms) var(--mytheme-ease, ease);
}

.pricing-btn:hover {
	transform: translateY(-2px);
}

.pricing-btn:focus-visible {
	outline: 3px solid var(--mytheme-accent, #c8281e);
	outline-offset: 3px;
}

.pricing-btn--primary {
	background: var(--mytheme-accent, #c8281e);
	color: #fff;
	box-shadow: var(--mytheme-shadow, 0 6px 20px rgba(16, 32, 44, 0.08));
}

.pricing-btn--primary:hover {
	background: var(--mytheme-accent-dark, #a71d15);
	color: #fff;
}

.pricing-btn--ghost {
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	border-color: rgba(255, 255, 255, 0.6);
}

.pricing-btn--ghost:hover {
	background: rgba(255, 255, 255, 0.24);
	color: #fff;
}

.pricing-btn--outline {
	background: transparent;
	color: var(--mytheme-accent, #c8281e);
	border-color: var(--mytheme-accent, #c8281e);
}

.pricing-btn--outline:hover {
	background: var(--mytheme-accent, #c8281e);
	color: #fff;
}

/* --- Hero ---------------------------------------------------------------- */

.pricing-hero {
	background:
		linear-gradient(135deg, rgba(16, 32, 44, 0.92), rgba(167, 29, 21, 0.88)),
		radial-gradient(circle at 80% 20%, rgba(200, 40, 30, 0.35), transparent 55%);
	color: #fff;
	padding: clamp(3rem, 8vw, 6rem) 0;
	text-align: center;
}

.pricing-hero__inner {
	max-width: 48rem;
}

.pricing-hero__eyebrow {
	margin: 0 0 0.75rem;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.82);
}

.pricing-hero__title {
	margin: 0 0 1rem;
	font-size: clamp(2rem, 5vw, 3.25rem);
	line-height: 1.1;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.pricing-hero__subtitle {
	margin: 0 auto 1.75rem;
	max-width: 40rem;
	font-size: 1.125rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.9);
}

.pricing-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.875rem;
	justify-content: center;
}

/* --- Section rhythm ------------------------------------------------------ */

.pricing-process,
.pricing-ranges,
.pricing-included,
.pricing-faq {
	padding: clamp(2.75rem, 7vw, 5rem) 0;
}

.pricing-ranges,
.pricing-faq {
	background: var(--mytheme-bg, #f5f7fa);
}

/* --- Quoting process ----------------------------------------------------- */

.pricing-process__steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1.25rem;
}

@media (min-width: 640px) {
	.pricing-process__steps {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 960px) {
	.pricing-process__steps {
		grid-template-columns: repeat(4, 1fr);
	}
}

.pricing-process__step {
	position: relative;
	background: var(--mytheme-surface, #fff);
	border: 1px solid var(--mytheme-border, #e3e8ef);
	border-radius: var(--mytheme-radius, 12px);
	box-shadow: var(--mytheme-shadow, 0 6px 20px rgba(16, 32, 44, 0.08));
	padding: 2.25rem 1.5rem 1.5rem;
}

.pricing-process__num {
	position: absolute;
	top: -1.1rem;
	left: 1.5rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background: var(--mytheme-accent, #c8281e);
	color: #fff;
	font-size: 1.125rem;
	font-weight: 800;
	box-shadow: var(--mytheme-shadow, 0 6px 20px rgba(16, 32, 44, 0.08));
}

.pricing-process__step-title {
	margin: 0.5rem 0 0.5rem;
	font-size: 1.1875rem;
	font-weight: 700;
	line-height: 1.25;
}

.pricing-process__step-body {
	margin: 0;
	font-size: 0.9875rem;
	line-height: 1.6;
	color: var(--mytheme-muted, #5a6675);
}

/* --- Price ranges grid --------------------------------------------------- */

.pricing-ranges__grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: 1fr;
}

@media (min-width: 560px) {
	.pricing-ranges__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 900px) {
	.pricing-ranges__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.pricing-range-card {
	background: var(--mytheme-surface, #fff);
	border: 1px solid var(--mytheme-border, #e3e8ef);
	border-radius: var(--mytheme-radius, 12px);
	box-shadow: var(--mytheme-shadow, 0 6px 20px rgba(16, 32, 44, 0.08));
	padding: 1.5rem;
	transition: transform var(--mytheme-duration, 220ms) var(--mytheme-ease, ease),
		box-shadow var(--mytheme-duration, 220ms) var(--mytheme-ease, ease);
}

.pricing-range-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--mytheme-shadow-lg, 0 16px 40px rgba(16, 32, 44, 0.14));
}

.pricing-range-card__service {
	margin: 0 0 0.5rem;
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.3;
}

.pricing-range-card__price {
	margin: 0 0 0.35rem;
	font-size: 1.5rem;
	font-weight: 800;
	color: var(--mytheme-accent, #c8281e);
}

.pricing-range-card__note {
	margin: 0;
	font-size: 0.875rem;
	color: var(--mytheme-muted, #5a6675);
}

.pricing-ranges__disclaimer {
	margin: 2rem auto 0;
	max-width: 46rem;
	padding: 1rem 1.25rem;
	border-left: 4px solid var(--mytheme-accent, #c8281e);
	background: var(--mytheme-surface, #fff);
	border-radius: 0 var(--mytheme-radius-sm, 8px) var(--mytheme-radius-sm, 8px) 0;
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--mytheme-muted, #5a6675);
}

/* --- What's included checklist ------------------------------------------- */

.pricing-included__list {
	list-style: none;
	margin: 0 auto;
	padding: 0;
	max-width: 52rem;
	display: grid;
	gap: 1rem;
}

@media (min-width: 720px) {
	.pricing-included__list {
		grid-template-columns: repeat(2, 1fr);
	}
}

.pricing-included__item {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
	background: var(--mytheme-surface, #fff);
	border: 1px solid var(--mytheme-border, #e3e8ef);
	border-radius: var(--mytheme-radius, 12px);
	padding: 1.25rem;
}

.pricing-included__check {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background: rgba(200, 40, 30, 0.12);
	color: var(--mytheme-accent, #c8281e);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1;
}

.pricing-included__title {
	margin: 0 0 0.35rem;
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.3;
}

.pricing-included__body {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.55;
	color: var(--mytheme-muted, #5a6675);
}

/* --- FAQ accordion ------------------------------------------------------- */

.pricing-faq__list {
	display: grid;
	gap: 0.875rem;
}

.pricing-faq__item {
	background: var(--mytheme-surface, #fff);
	border: 1px solid var(--mytheme-border, #e3e8ef);
	border-radius: var(--mytheme-radius-sm, 8px);
	box-shadow: var(--mytheme-shadow, 0 6px 20px rgba(16, 32, 44, 0.08));
	overflow: hidden;
}

.pricing-faq__question {
	margin: 0;
	font-size: 1rem;
}

.pricing-faq__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: 100%;
	min-height: var(--mytheme-touch, 44px);
	padding: 1.125rem 1.25rem;
	background: transparent;
	border: 0;
	text-align: left;
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.35;
	color: var(--mytheme-ink, #16202c);
	cursor: pointer;
	transition: background-color var(--mytheme-duration, 220ms) var(--mytheme-ease, ease);
}

.pricing-faq__toggle:hover {
	background: var(--mytheme-bg, #f5f7fa);
}

.pricing-faq__toggle:focus-visible {
	outline: 3px solid var(--mytheme-accent, #c8281e);
	outline-offset: -3px;
}

.pricing-faq__icon {
	flex: 0 0 auto;
	position: relative;
	width: 1rem;
	height: 1rem;
}

.pricing-faq__icon::before,
.pricing-faq__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 1rem;
	height: 2px;
	background: var(--mytheme-accent, #c8281e);
	transform: translate(-50%, -50%);
	transition: transform var(--mytheme-duration, 220ms) var(--mytheme-ease, ease);
}

.pricing-faq__icon::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.pricing-faq__toggle[aria-expanded="true"] .pricing-faq__icon::after {
	transform: translate(-50%, -50%) rotate(0deg);
}

.pricing-faq__answer {
	padding: 0 1.25rem 1.25rem;
}

.pricing-faq__answer[hidden] {
	display: none;
}

.pricing-faq__answer-text {
	margin: 0;
	font-size: 0.9875rem;
	line-height: 1.65;
	color: var(--mytheme-muted, #5a6675);
}

/* --- Closing CTA --------------------------------------------------------- */

.pricing-cta {
	background: linear-gradient(135deg, var(--mytheme-ink, #16202c), #223245);
	color: #fff;
	padding: clamp(3rem, 7vw, 5rem) 0;
	text-align: center;
}

.pricing-cta__inner {
	max-width: 40rem;
}

.pricing-cta__title {
	margin: 0 0 0.75rem;
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 800;
	line-height: 1.15;
}

.pricing-cta__body {
	margin: 0 auto 1.75rem;
	max-width: 34rem;
	font-size: 1.0625rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.88);
}

.pricing-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.875rem;
	justify-content: center;
}

.pricing-cta .pricing-btn--outline {
	color: #fff;
	border-color: rgba(255, 255, 255, 0.7);
}

.pricing-cta .pricing-btn--outline:hover {
	background: #fff;
	color: var(--mytheme-ink, #16202c);
}

/* --- Trust badge / guarantee banner -------------------------------------- */

.pricing-guarantee {
	padding: clamp(1.75rem, 4vw, 2.75rem) 0;
}

.pricing-guarantee__inner {
	display: grid;
	gap: clamp(1rem, 3vw, 1.75rem);
	align-items: center;
	padding: clamp(1.5rem, 4vw, 2.25rem);
	background: linear-gradient(135deg, var(--mytheme-ink, #16202c), #223245);
	color: #fff;
	border-radius: var(--mytheme-radius, 12px);
	box-shadow: var(--mytheme-shadow-lg, 0 16px 40px rgba(16, 32, 44, 0.14));
}

.pricing-guarantee__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 4rem;
	height: 4rem;
	border-radius: var(--mytheme-radius-full, 999px);
	background: var(--mytheme-accent, #c8281e);
	box-shadow: var(--mytheme-shadow, 0 6px 20px rgba(16, 32, 44, 0.08));
}

.pricing-guarantee__shield {
	font-size: 1.75rem;
	line-height: 1;
}

.pricing-guarantee__eyebrow {
	margin: 0 0 0.35rem;
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: rgba(255, 255, 255, 0.72);
}

.pricing-guarantee__title {
	margin: 0 0 0.5rem;
	font-size: clamp(1.4rem, 3.2vw, 1.9rem);
	font-weight: 800;
	line-height: 1.15;
}

.pricing-guarantee__body {
	margin: 0;
	font-size: 1.03125rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.9);
}

.pricing-guarantee__points {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem 1.25rem;
}

.pricing-guarantee__point {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 700;
	font-size: 0.9375rem;
}

.pricing-guarantee__check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.5rem;
	height: 1.5rem;
	flex: 0 0 auto;
	border-radius: var(--mytheme-radius-full, 999px);
	background: var(--mytheme-accent, #c8281e);
	color: #fff;
	font-size: 0.8125rem;
}

@media (min-width: 720px) {
	.pricing-guarantee__inner {
		grid-template-columns: auto 1fr auto;
	}

	.pricing-guarantee__points {
		flex-direction: column;
		text-align: left;
	}
}

/* --- Testimonial (trust signal) ------------------------------------------ */

.pricing-testimonial {
	background: var(--mytheme-bg, #f5f7fa);
	padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.pricing-testimonial__eyebrow {
	margin: 0 0 1.25rem;
	text-align: center;
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--mytheme-accent, #c8281e);
}

.pricing-testimonial__card {
	margin: 0;
	padding: clamp(1.75rem, 4vw, 2.75rem);
	background: var(--mytheme-surface, #fff);
	border: 1px solid var(--mytheme-border, #e3e8ef);
	border-radius: var(--mytheme-radius, 12px);
	box-shadow: var(--mytheme-shadow, 0 6px 20px rgba(16, 32, 44, 0.08));
	text-align: center;
}

.pricing-testimonial__stars {
	display: inline-flex;
	gap: 0.15rem;
	margin-bottom: 1rem;
	font-size: 1.35rem;
	line-height: 1;
}

.pricing-testimonial__star {
	color: var(--mytheme-border, #e3e8ef);
}

.pricing-testimonial__star.is-filled {
	color: #f6a609;
}

.pricing-testimonial__quote {
	margin: 0 0 1.25rem;
	quotes: none;
}

.pricing-testimonial__quote p {
	margin: 0;
	font-size: clamp(1.125rem, 2.4vw, 1.375rem);
	line-height: 1.55;
	font-weight: 500;
	color: var(--mytheme-ink, #16202c);
}

.pricing-testimonial__cite {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	font-style: normal;
}

.pricing-testimonial__author {
	font-weight: 800;
	color: var(--mytheme-ink, #16202c);
}

.pricing-testimonial__meta {
	font-size: 0.9375rem;
	color: var(--mytheme-muted, #5a6675);
}

/* --- Motion preferences -------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	.pricing-btn,
	.pricing-range-card,
	.pricing-faq__toggle,
	.pricing-faq__icon::before,
	.pricing-faq__icon::after {
		transition: none;
	}

	.pricing-btn:hover,
	.pricing-range-card:hover {
		transform: none;
	}
}
