/* ==========================================================================
   TimeDoc Health – Services: CCM page template
   Figma: TDH Website 2026 V3 › Services CCM (4410:3546)
   ========================================================================== */

.tdh-ccm {
	--tdh-font: "Noto Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--tdh-font-display: "Alexandria", var(--tdh-font);

	font-family: var(--tdh-font);
	font-size: 16px;
	line-height: 27px;
	color: var(--midnight-blue);
}

.tdh-ccm p { margin-bottom: 12px; }

/* Utilities ---------------------------------------------------------------- */
.tdh-ccm .text-tdh-blue   { color: var(--timedoc-blue); }
.tdh-ccm .text-tdh-yellow { color: var(--sunflower); }
.tdh-ccm .bg-tdh-light    { background-color: var(--light-blue); }
.tdh-ccm .bg-tdh-offwhite { background-color: var(--ultra-light-blue); }

/* Layout: 1204px content column (262px gutters @1728), 1528px wide rail (100px gutters) */
.tdh-container,
.tdh-wide {
	width: 100%;
	margin-inline: auto;
	padding-inline: 20px;
}
.tdh-container { max-width: calc(1204px + 40px); }
.tdh-wide      { max-width: calc(1528px + 40px); }

.tdh-section { padding-block: 60px; }
.tdh-how     { padding-block: 96px 60px; }

/* Type --------------------------------------------------------------------- */
.tdh-h2 {
	font-size: clamp(28px, 3vw, 36px);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.02em;
	margin-bottom: 16px;
}
.tdh-h3 {
	font-size: clamp(32px, 4vw, 48px);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.02em;
}
.tdh-h4 {
	font-size: 19px;
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 7px;
}
.tdh-lead {
	font-size: 20px;
	font-weight: 600;
	line-height: 1.47;
}

/* Buttons ------------------------------------------------------------------ */
.tdh-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 24px;
	border-radius: 24px;
	font-size: 16px;
	font-weight: 700;
	line-height: 16px;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color .15s ease, transform .15s ease;
}
.tdh-btn__arrow { font-size: 20px; line-height: 15px; }
.tdh-btn:focus-visible { outline: 3px solid var(--midnight-blue); outline-offset: 2px; }

.tdh-btn--yellow       { background: var(--sunflower); color: var(--midnight-blue); }
.tdh-btn--yellow:hover { background: var(--sunflower-dark); color: var(--midnight-blue); }
.tdh-btn--blue         { background: var(--timedoc-blue); color: var(--white); }
.tdh-btn--blue:hover   { background: var(--navy-2); color: var(--white); }
.tdh-btn--wide         { min-width: min(305px, 100%); }

.tdh-cta-row { padding-top: 48px; }

/* Banner ------------------------------------------------------------------- */
.tdh-banner {
	background: var(--timedoc-blue);
	color: var(--white);
	padding-block: 100px;
}
.tdh-eyebrow {
	font-size: 20px;
	font-weight: 800;
	line-height: 20.5px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin-bottom: 12px !important;
}
.tdh-banner__title {
	font-family: var(--tdh-font-display);
	font-weight: 500;
	font-size: clamp(40px, 5.5vw, 80px);
	line-height: 1;
	letter-spacing: -0.04em;
	margin: 0 0 24px;
}
.tdh-banner__sub {
	font-size: clamp(20px, 2vw, 28px);
	font-weight: 700;
	line-height: 1.2;
	margin: 0 !important;
}

/* Breadcrumb --------------------------------------------------------------- */
.tdh-breadcrumb {
	background: var(--ultra-light-blue);
	font-size: 13px;
	line-height: normal;
}
.tdh-breadcrumb__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding-block: 14px;
	padding-left: 0;
}
.tdh-breadcrumb__list li + li::before {
	content: "›";
	color: var(--slate);
	opacity: .7;
	margin-right: 8px;
}
.tdh-breadcrumb__list a { color: var(--slate); text-decoration: none; }
.tdh-breadcrumb__list a:hover { text-decoration: underline; }
.tdh-breadcrumb__list [aria-current] { color: var(--timedoc-blue); font-weight: 600; }

/* 01 Why ------------------------------------------------------------------- */
.tdh-why__photo {
	display: block;
	width: 100%;
	max-width: 357px;
	aspect-ratio: 1180 / 1178;
	height: auto;
	object-fit: cover;
}

/* 02 Stats ----------------------------------------------------------------- */
.tdh-stats { padding-block: 48px; }
.tdh-stat {
	position: relative;
	overflow: hidden;
	height: 100%;
	min-height: 220px;
	padding: 25px 28px 52px;
	border-radius: 12px;
	color: var(--white);
	/* No palette match for this gradient — kept from Figma */
	background: linear-gradient(180deg, #0584bb 8.77%, #062e47 72.63%);
	box-shadow: 0 4px 16px rgba(0, 0, 0, .25);
}
.tdh-stat__value {
	display: flex;
	align-items: flex-end;
	gap: 4px;
	margin: 0 0 6px !important;
	font-size: 64px;
	font-weight: 800;
	line-height: 64px;
	letter-spacing: -0.01em;
}
.tdh-stat__unit {
	padding-bottom: 4px;
	font-size: 28px;
	font-weight: 700;
	line-height: 34px;
	color: var(--robins-egg-blue);
}
.tdh-stat__label {
	position: relative;
	z-index: 1;
	max-width: 300px;
	margin: 0 !important;
	font-weight: 700;
}
.tdh-stat__watermark {
	position: absolute;
	right: -40px;
	bottom: -34px;
	width: 170px;
	height: 170px;
	border: 24px solid color-mix(in srgb, var(--turquoise) 18%, transparent);
	border-radius: 50%;
	pointer-events: none;
}

/* 03 Now ------------------------------------------------------------------- */
.tdh-now__photo {
	display: block;
	width: 100%;
	max-width: 356px;
	aspect-ratio: 1;
	height: auto;
	object-fit: cover;
}

/* 04 How ------------------------------------------------------------------- */
.tdh-service {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	height: 100%;
	padding: 29px 31px;
	background: var(--white);
	border: 1px solid var(--border-gray);
	border-radius: 12px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, .25);
}
.tdh-service__icon {
	flex: 0 0 60px;
	width: 60px;
	height: 60px;
	object-fit: contain;
}

/* 05 FAQ ------------------------------------------------------------------- */
.tdh-faq { margin: 0 0 24px; }
.tdh-faq__item + .tdh-faq__item { margin-top: 24px; }
.tdh-faq__q {
	font-size: 24px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.02em;
}
.tdh-faq__a { margin: 0; }

/* 06 Resources ------------------------------------------------------------- */
.tdh-resource {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--white);
	box-shadow: 0 4px 2px rgba(0, 0, 0, .25);
}
.tdh-resource__media {
	display: block;
	aspect-ratio: 16 / 9;
	background: var(--light-blue);
	overflow: hidden;
}
.tdh-resource__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.tdh-resource__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	padding: 24px;
}
.tdh-resource__title { margin-bottom: 12px; color: var(--midnight-blue); }
.tdh-resource__title a { color: inherit; text-decoration: none; }
.tdh-resource__title a:hover { color: var(--timedoc-blue); }
.tdh-resource__excerpt {
	flex: 1;
	margin-bottom: 24px !important;
	color: var(--midnight-blue);
	opacity: .7;
}

/* 07 CTA ------------------------------------------------------------------- */
.tdh-final-cta { padding-block: 100px; }
.tdh-final-cta__text { max-width: 800px; margin-bottom: 32px; }
.tdh-final-cta__text p { margin: 0; }

/* Responsive --------------------------------------------------------------- */
@media (max-width: 991.98px) {
	.tdh-banner,
	.tdh-final-cta { padding-block: 64px; }
	.tdh-how { padding-block: 60px; }
}
@media (max-width: 575.98px) {
	.tdh-service { flex-direction: column; padding: 24px; }
	.tdh-stat__value { font-size: 52px; line-height: 52px; }
}
