/* QualTreat design system — no external fonts, no page-builder dependency. */
:root {
	--qt-ink: #0b2033;
	--qt-ink-soft: #3d566b;
	--qt-primary: #006c73;
	--qt-primary-dark: #004e55;
	--qt-accent: #1aa8b5;
	--qt-aqua: #dff4f5;
	--qt-aqua-soft: #f1fbfb;
	--qt-surface: #f6f9fb;
	--qt-white: #ffffff;
	--qt-border: #d9e5ea;
	--qt-shadow: 0 18px 55px rgba(11, 32, 51, 0.12);
	--qt-shadow-soft: 0 10px 30px rgba(11, 32, 51, 0.08);
	--qt-radius-sm: 12px;
	--qt-radius: 22px;
	--qt-radius-lg: 34px;
	--qt-content: 1200px;
	--qt-section-space: clamp(64px, 8vw, 112px);
}

.qualtreat-site {
	color: var(--qt-ink-soft);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 17px;
	line-height: 1.7;
}

.qualtreat-site h1,
.qualtreat-site h2,
.qualtreat-site h3,
.qualtreat-site h4 {
	color: var(--qt-ink);
	font-family: inherit;
	font-weight: 750;
	letter-spacing: -0.025em;
	line-height: 1.12;
}

.qualtreat-site h1 { font-size: clamp(2.7rem, 6vw, 5.4rem); }
.qualtreat-site h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
.qualtreat-site h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }

.qualtreat-site a {
	text-underline-offset: 0.18em;
}

.qualtreat-site .entry-content > .alignfull {
	margin-inline: calc(50% - 50vw);
	max-width: 100vw;
	width: 100vw;
}

.qt-section {
	padding-block: var(--qt-section-space);
}

.qt-section--surface { background: var(--qt-surface); }
.qt-section--aqua { background: var(--qt-aqua-soft); }

.qt-container {
	box-sizing: border-box;
	margin-inline: auto;
	max-width: var(--qt-content);
	padding-inline: clamp(22px, 4vw, 48px);
	width: 100%;
}

.qt-narrow {
	margin-inline: auto;
	max-width: 820px;
}

.qt-eyebrow {
	color: var(--qt-primary);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	margin-bottom: 16px;
	text-transform: uppercase;
}

.qt-lead {
	color: var(--qt-ink-soft);
	font-size: clamp(1.08rem, 1.8vw, 1.3rem);
	line-height: 1.7;
}

.qt-section-heading {
	margin-bottom: clamp(34px, 5vw, 62px);
}

.qt-section-heading h2 {
	margin-bottom: 18px;
}

.qt-hero {
	background:
		radial-gradient(circle at 82% 20%, rgba(26, 168, 181, 0.35), transparent 28%),
		radial-gradient(circle at 15% 90%, rgba(100, 214, 220, 0.18), transparent 26%),
		linear-gradient(135deg, #071b2c 0%, #0b3043 55%, #006c73 125%);
	color: rgba(255, 255, 255, 0.82);
	overflow: hidden;
	padding-block: clamp(84px, 11vw, 150px);
	position: relative;
}

.qt-hero::before,
.qt-hero::after {
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 50%;
	content: "";
	position: absolute;
}

.qt-hero::before {
	height: 420px;
	right: -120px;
	top: -190px;
	width: 420px;
}

.qt-hero::after {
	bottom: -240px;
	height: 520px;
	left: 45%;
	width: 520px;
}

.qt-hero > * {
	position: relative;
	z-index: 1;
}

.qt-hero h1,
.qt-hero h2,
.qt-hero h3 {
	color: var(--qt-white);
}

.qt-hero .qt-eyebrow { color: #7ee1e6; }
.qt-hero .qt-lead { color: rgba(255, 255, 255, 0.78); }

.qt-hero-grid {
	align-items: center !important;
	gap: clamp(40px, 7vw, 90px) !important;
}

.qt-hero-panel {
	backdrop-filter: blur(16px);
	background: rgba(255, 255, 255, 0.09);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: var(--qt-radius-lg);
	box-shadow: 0 30px 90px rgba(0, 0, 0, 0.2);
	padding: clamp(28px, 4vw, 46px);
}

.qt-check-list {
	list-style: none;
	margin: 24px 0 0;
	padding: 0;
}

.qt-check-list li {
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	padding: 14px 0 14px 30px;
	position: relative;
}

.qt-check-list li::before {
	color: #7ee1e6;
	content: "✓";
	font-weight: 900;
	left: 0;
	position: absolute;
}

.qt-button .wp-block-button__link,
.qualtreat-site .wp-element-button {
	border: 1px solid transparent;
	border-radius: 999px;
	font-weight: 750;
	padding: 0.9rem 1.35rem;
	transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.qt-button .wp-block-button__link:hover,
.qualtreat-site .wp-element-button:hover {
	box-shadow: 0 12px 28px rgba(0, 108, 115, 0.22);
	transform: translateY(-2px);
}

.qt-button--primary .wp-block-button__link {
	background: var(--qt-accent);
	color: var(--qt-ink);
}

.qt-button--ghost .wp-block-button__link {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.42);
	color: var(--qt-white);
}

.qt-grid-3,
.qt-grid-4,
.qt-grid-6 {
	display: grid !important;
	gap: 24px !important;
}

.qt-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.qt-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.qt-grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.qt-card {
	background: var(--qt-white);
	border: 1px solid var(--qt-border);
	border-radius: var(--qt-radius);
	box-shadow: var(--qt-shadow-soft);
	height: 100%;
	padding: clamp(26px, 4vw, 38px);
	transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.qt-card:hover {
	border-color: rgba(26, 168, 181, 0.55);
	box-shadow: var(--qt-shadow);
	transform: translateY(-5px);
}

.qt-card h3 { margin: 18px 0 12px; }
.qt-card p:last-child { margin-bottom: 0; }

.qt-icon {
	align-items: center;
	background: var(--qt-aqua);
	border-radius: 14px;
	color: var(--qt-primary);
	display: inline-flex;
	font-size: 0.85rem;
	font-weight: 850;
	height: 48px;
	justify-content: center;
	letter-spacing: 0.06em;
	width: 48px;
}

.qt-text-link {
	color: var(--qt-primary);
	font-weight: 750;
	text-decoration: none;
}

.qt-text-link::after {
	content: " →";
}

.qt-trust-strip {
	background: var(--qt-white);
	border-bottom: 1px solid var(--qt-border);
	padding-block: 25px;
}

.qt-trust-item {
	color: var(--qt-ink);
	font-size: 0.93rem;
	font-weight: 750;
	margin: 0;
	text-align: center;
}

.qt-value-panel {
	background: linear-gradient(145deg, var(--qt-aqua-soft), var(--qt-white));
	border: 1px solid var(--qt-border);
	border-radius: var(--qt-radius-lg);
	padding: clamp(32px, 6vw, 66px);
}

.qt-process {
	counter-reset: qt-step;
}

.qt-process .qt-card {
	counter-increment: qt-step;
	position: relative;
}

.qt-process .qt-card::before {
	color: rgba(0, 108, 115, 0.14);
	content: "0" counter(qt-step);
	font-size: 3.4rem;
	font-weight: 850;
	line-height: 1;
	position: absolute;
	right: 24px;
	top: 20px;
}

.qt-band {
	background: var(--qt-ink);
	color: rgba(255, 255, 255, 0.76);
}

.qt-band h2,
.qt-band h3 { color: var(--qt-white); }
.qt-band .qt-eyebrow { color: #7ee1e6; }

.qt-pill-list {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	list-style: none;
	margin: 28px 0 0;
	padding: 0;
}

.qt-pill-list li {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 999px;
	color: var(--qt-white);
	font-size: 0.92rem;
	font-weight: 650;
	padding: 10px 16px;
}

.qt-cta {
	background:
		radial-gradient(circle at 95% 10%, rgba(126, 225, 230, 0.35), transparent 25%),
		linear-gradient(125deg, var(--qt-primary-dark), var(--qt-primary));
	border-radius: var(--qt-radius-lg);
	color: rgba(255, 255, 255, 0.82);
	padding: clamp(38px, 7vw, 72px);
}

.qt-cta h2,
.qt-cta h3 { color: var(--qt-white); }

.qt-faq details {
	background: var(--qt-white);
	border: 1px solid var(--qt-border);
	border-radius: var(--qt-radius-sm);
	margin-bottom: 14px;
	padding: 18px 22px;
}

.qt-faq summary {
	color: var(--qt-ink);
	cursor: pointer;
	font-weight: 750;
}

.qt-contact-card {
	background: var(--qt-ink);
	border-radius: var(--qt-radius-lg);
	color: rgba(255, 255, 255, 0.78);
	padding: clamp(32px, 5vw, 52px);
}

.qt-contact-card h2,
.qt-contact-card h3,
.qt-contact-card a { color: var(--qt-white); }

.qt-form-placeholder {
	background: repeating-linear-gradient(-45deg, #f7fbfc, #f7fbfc 10px, #eef7f8 10px, #eef7f8 20px);
	border: 2px dashed #9ccdd1;
	border-radius: var(--qt-radius);
	color: var(--qt-primary-dark);
	font-weight: 700;
	padding: 42px;
	text-align: center;
}

.qt-page-hero {
	background: linear-gradient(145deg, var(--qt-surface), var(--qt-aqua-soft));
	border-bottom: 1px solid var(--qt-border);
	padding-block: clamp(65px, 8vw, 105px);
}

.qt-page-hero h1 {
	font-size: clamp(2.5rem, 5vw, 4.5rem);
	max-width: 900px;
}

.qt-content-columns {
	align-items: start !important;
	gap: clamp(34px, 7vw, 90px) !important;
}

.qt-sticky-summary {
	background: var(--qt-aqua-soft);
	border: 1px solid var(--qt-border);
	border-radius: var(--qt-radius);
	padding: 28px;
	position: sticky;
	top: 110px;
}

.qt-sticky-summary ul {
	margin-bottom: 0;
	padding-left: 1.15rem;
}

.qt-note {
	background: #fff8df;
	border-left: 4px solid #d9a514;
	border-radius: 0 var(--qt-radius-sm) var(--qt-radius-sm) 0;
	padding: 18px 22px;
}

@media (max-width: 980px) {
	.qt-grid-3,
	.qt-grid-4,
	.qt-grid-6 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.qt-sticky-summary { position: static; }
}

@media (max-width: 680px) {
	.qualtreat-site { font-size: 16px; }

	.qt-grid-3,
	.qt-grid-4,
	.qt-grid-6 {
		grid-template-columns: 1fr;
	}

	.qt-hero {
		padding-block: 72px;
	}

	.qt-hero-panel,
	.qt-card,
	.qt-value-panel,
	.qt-cta,
	.qt-contact-card {
		border-radius: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.qt-card,
	.qt-button .wp-block-button__link,
	.qualtreat-site .wp-element-button {
		transition: none;
	}
}
