/* iDent service detail pages */

.ident-service-page {
	--sp-navy: #115278;
	--sp-teal: #1ebeb6;
	--sp-text: #3a4a55;
	--sp-muted: #6b7c88;
	--sp-bg: #f4f8fb;
	--sp-white: #ffffff;
	--sp-radius: 12px;
	--sp-shadow: 0 8px 32px rgba(17, 82, 120, 0.08);
	font-family: "Maven Pro", sans-serif;
	color: var(--sp-text);
	line-height: 1.7;
}

/* Hero */
.ident-sp-hero {
	background: linear-gradient(135deg, var(--sp-navy) 0%, #0d3d5c 55%, #0a3048 100%);
	color: var(--sp-white);
	padding: 2.5rem 1.5rem 3rem;
	position: relative;
	overflow: hidden;
}

.ident-sp-hero::after {
	content: "";
	position: absolute;
	right: -80px;
	top: -80px;
	width: 280px;
	height: 280px;
	border-radius: 50%;
	background: rgba(30, 190, 182, 0.12);
	pointer-events: none;
}

.ident-sp-hero__inner {
	max-width: 1140px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}

.ident-sp-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.5rem;
	font-size: 0.875rem;
	margin-bottom: 1.25rem;
	opacity: 0.9;
}

.ident-sp-breadcrumb a {
	color: var(--sp-teal);
	text-decoration: none;
}

.ident-sp-breadcrumb a:hover {
	text-decoration: underline;
}

.ident-sp-breadcrumb span[aria-hidden="true"] {
	opacity: 0.5;
}

.ident-sp-hero h1 {
	font-family: "Playfair Display", serif;
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 1rem;
	max-width: 820px;
}

.ident-sp-hero__lead {
	font-size: 1.1rem;
	max-width: 720px;
	margin: 0;
	opacity: 0.92;
	line-height: 1.65;
}

.ident-sp-hero__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 1.75rem;
	padding: 0.85rem 1.75rem;
	background: var(--sp-teal);
	color: var(--sp-white);
	font-weight: 600;
	text-decoration: none;
	border-radius: 50px;
	transition: background 0.2s, transform 0.2s;
}

.ident-sp-hero__cta:hover {
	background: #19a9a2;
	color: var(--sp-white);
	transform: translateY(-1px);
}

/* Layout */
.ident-sp-wrap {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

.ident-sp-main {
	padding: 3rem 0 4rem;
}

.ident-sp-grid {
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: 2.5rem;
	align-items: start;
}

/* Sections */
.ident-sp-section {
	margin-bottom: 3rem;
}

.ident-sp-section:last-child {
	margin-bottom: 0;
}

.ident-sp-section h2 {
	font-family: "Playfair Display", serif;
	font-size: clamp(1.4rem, 2.5vw, 1.85rem);
	color: var(--sp-navy);
	margin: 0 0 1rem;
	padding-bottom: 0.65rem;
	border-bottom: 3px solid var(--sp-teal);
	display: inline-block;
}

.ident-sp-section h3 {
	font-size: 1.1rem;
	color: var(--sp-navy);
	margin: 1.5rem 0 0.5rem;
	font-weight: 600;
}

.ident-sp-section p {
	margin: 0 0 1rem;
}

.ident-sp-section p:last-child {
	margin-bottom: 0;
}

/* Before/after image */
.ident-sp-visual {
	margin: 0 0 2.5rem;
	border-radius: var(--sp-radius);
	overflow: hidden;
	box-shadow: var(--sp-shadow);
	background: var(--sp-white);
	border: 1px solid rgba(17, 82, 120, 0.08);
}

.ident-sp-visual img {
	width: 100%;
	height: auto;
	display: block;
}

.ident-sp-visual figcaption {
	padding: 0.85rem 1.25rem;
	font-size: 0.9rem;
	color: var(--sp-muted);
	text-align: center;
	background: var(--sp-bg);
	border-top: 1px solid rgba(17, 82, 120, 0.06);
}

/* Lists */
.ident-sp-list {
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
	display: grid;
	gap: 0.75rem;
}

.ident-sp-list li {
	position: relative;
	padding-left: 1.75rem;
}

.ident-sp-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--sp-teal);
}

.ident-sp-causes {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 0.75rem;
	margin: 1.25rem 0 0;
}

.ident-sp-cause {
	background: var(--sp-bg);
	border-radius: var(--sp-radius);
	padding: 1rem 1.15rem;
	border-left: 4px solid var(--sp-teal);
	font-size: 0.95rem;
}

/* Symptom cards */
.ident-sp-symptoms {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 1.25rem;
	margin-top: 1.25rem;
}

.ident-sp-symptom {
	background: var(--sp-white);
	border-radius: var(--sp-radius);
	padding: 1.25rem 1.35rem;
	box-shadow: var(--sp-shadow);
	border: 1px solid rgba(17, 82, 120, 0.06);
}

.ident-sp-symptom h3 {
	margin: 0 0 0.5rem;
	font-size: 1rem;
}

.ident-sp-symptom p {
	margin: 0;
	font-size: 0.92rem;
	color: var(--sp-muted);
}

/* Steps */
.ident-sp-steps {
	counter-reset: step;
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 1rem;
}

.ident-sp-steps li {
	counter-increment: step;
	display: grid;
	grid-template-columns: 3rem 1fr;
	gap: 1rem;
	align-items: start;
	background: var(--sp-white);
	border-radius: var(--sp-radius);
	padding: 1.15rem 1.35rem;
	box-shadow: var(--sp-shadow);
	border: 1px solid rgba(17, 82, 120, 0.06);
}

.ident-sp-steps li::before {
	content: counter(step);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	background: var(--sp-navy);
	color: var(--sp-white);
	font-weight: 700;
	font-size: 1.1rem;
	flex-shrink: 0;
}

.ident-sp-steps strong {
	display: block;
	color: var(--sp-navy);
	margin-bottom: 0.25rem;
	font-size: 1rem;
}

.ident-sp-steps span {
	font-size: 0.92rem;
	color: var(--sp-muted);
}

/* Benefits */
.ident-sp-benefits {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.25rem;
	margin-top: 1.25rem;
}

.ident-sp-benefit {
	background: linear-gradient(145deg, var(--sp-bg) 0%, var(--sp-white) 100%);
	border-radius: var(--sp-radius);
	padding: 1.35rem;
	border: 1px solid rgba(30, 190, 182, 0.2);
}

.ident-sp-benefit h3 {
	margin: 0 0 0.5rem;
	font-size: 1rem;
	color: var(--sp-navy);
}

.ident-sp-benefit p {
	margin: 0;
	font-size: 0.92rem;
	color: var(--sp-muted);
}

/* Recovery */
.ident-sp-recovery-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
	margin-top: 1.25rem;
}

.ident-sp-recovery-box {
	background: var(--sp-bg);
	border-radius: var(--sp-radius);
	padding: 1.35rem 1.5rem;
}

.ident-sp-recovery-box h3 {
	margin: 0 0 0.75rem;
	font-size: 1.05rem;
	color: var(--sp-navy);
}

/* FAQ */
.ident-sp-faq {
	margin-top: 1.25rem;
	display: grid;
	gap: 0.65rem;
}

.ident-sp-faq details {
	background: var(--sp-white);
	border-radius: var(--sp-radius);
	border: 1px solid rgba(17, 82, 120, 0.1);
	overflow: hidden;
}

.ident-sp-faq summary {
	padding: 1rem 1.25rem;
	font-weight: 600;
	color: var(--sp-navy);
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
}

.ident-sp-faq summary::-webkit-details-marker {
	display: none;
}

.ident-sp-faq summary::after {
	content: "+";
	font-size: 1.25rem;
	color: var(--sp-teal);
	font-weight: 400;
	flex-shrink: 0;
}

.ident-sp-faq details[open] summary::after {
	content: "−";
}

.ident-sp-faq details p {
	margin: 0;
	padding: 0 1.25rem 1.15rem;
	font-size: 0.95rem;
	color: var(--sp-muted);
}

/* Highlight box */
.ident-sp-highlight {
	background: linear-gradient(135deg, rgba(30, 190, 182, 0.12) 0%, rgba(17, 82, 120, 0.06) 100%);
	border-radius: var(--sp-radius);
	padding: 1.5rem 1.75rem;
	border-left: 4px solid var(--sp-teal);
	margin: 1.5rem 0;
}

.ident-sp-highlight p {
	margin: 0;
	font-size: 1.02rem;
}

/* Sidebar */
.ident-sp-sidebar {
	position: sticky;
	top: calc(var(--ident-header-stack-height, 120px) + 1.5rem);
	display: grid;
	gap: 1.25rem;
}

.ident-sp-card {
	background: var(--sp-white);
	border-radius: var(--sp-radius);
	padding: 1.5rem;
	box-shadow: var(--sp-shadow);
	border: 1px solid rgba(17, 82, 120, 0.08);
}

.ident-sp-card h3 {
	font-size: 1.05rem;
	color: var(--sp-navy);
	margin: 0 0 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid var(--sp-teal);
}

.ident-sp-card ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ident-sp-card li {
	margin-bottom: 0.5rem;
}

.ident-sp-card a {
	color: var(--sp-navy);
	text-decoration: none;
	font-size: 0.92rem;
}

.ident-sp-card a:hover {
	color: var(--sp-teal);
}

.ident-sp-card__cta {
	display: block;
	text-align: center;
	padding: 0.85rem 1rem;
	background: var(--sp-navy);
	color: var(--sp-white) !important;
	border-radius: 50px;
	font-weight: 600;
	margin-top: 0.5rem;
}

.ident-sp-card__cta:hover {
	background: var(--sp-teal);
}

.ident-sp-card__phone {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--sp-navy);
	text-decoration: none;
	margin-bottom: 0.75rem;
}

/* Bottom CTA */
.ident-sp-cta-band {
	background: var(--sp-navy);
	color: var(--sp-white);
	padding: 3rem 1.5rem;
	text-align: center;
}

.ident-sp-cta-band h2 {
	font-family: "Playfair Display", serif;
	font-size: clamp(1.5rem, 3vw, 2rem);
	margin: 0 0 0.75rem;
	color: var(--sp-white);
	border: none;
	padding: 0;
	display: block;
}

.ident-sp-cta-band p {
	max-width: 640px;
	margin: 0 auto 1.5rem;
	opacity: 0.9;
}

.ident-sp-cta-band__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: center;
}

.ident-sp-cta-band a {
	display: inline-flex;
	align-items: center;
	padding: 0.85rem 1.75rem;
	border-radius: 50px;
	font-weight: 600;
	text-decoration: none;
	transition: transform 0.2s;
}

.ident-sp-cta-band a:hover {
	transform: translateY(-1px);
}

.ident-sp-cta-band__primary {
	background: var(--sp-teal);
	color: var(--sp-white);
}

.ident-sp-cta-band__secondary {
	background: transparent;
	color: var(--sp-white);
	border: 2px solid rgba(255, 255, 255, 0.5);
}

/* Footer */
.ident-sp-footer {
	background: #191919;
	color: rgba(255, 255, 255, 0.85);
	padding: 2.5rem 1.5rem 1.5rem;
	font-size: 0.9rem;
}

.ident-sp-footer__grid {
	max-width: 1140px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 2rem;
}

.ident-sp-footer h4 {
	color: var(--sp-teal);
	font-size: 0.95rem;
	margin: 0 0 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.ident-sp-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ident-sp-footer li {
	margin-bottom: 0.4rem;
}

.ident-sp-footer a {
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
}

.ident-sp-footer a:hover {
	color: var(--sp-teal);
}

.ident-sp-footer__bottom {
	max-width: 1140px;
	margin: 2rem auto 0;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	text-align: center;
	font-size: 0.85rem;
	opacity: 0.7;
}

/* Dropdown active sub-item */
.ident-dropdown a.is-active {
	color: var(--ident-teal, #1ebeb6);
	font-weight: 600;
}

@media (max-width: 991px) {
	.ident-sp-grid {
		grid-template-columns: 1fr;
	}

	.ident-sp-sidebar {
		position: static;
		order: -1;
	}

	.ident-sp-recovery-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 575px) {
	.ident-sp-hero {
		padding: 2rem 1rem 2.5rem;
	}

	.ident-sp-main {
		padding: 2rem 0 3rem;
	}

	.ident-sp-steps li {
		grid-template-columns: 2.5rem 1fr;
		padding: 1rem;
	}

	.ident-sp-steps li::before {
		width: 2.5rem;
		height: 2.5rem;
		font-size: 1rem;
	}
}
