/* ============================================
   SERVICES PAGE — ALTERNATIVE DESIGN
   ============================================ */

/* --- Jump Links --- */
.jump-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px 20px;
	margin-top: 36px;
}

.jump-label {
	font-size: 0.85rem;
	font-weight: bold;
	color: #4a7ab5;
	width: 100%;
	text-align: center;
	margin-bottom: 4px;
}

.jump-links a {
	font-size: 0.82rem;
	color: rgba(255, 255, 255, 0.55);
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	padding-bottom: 2px;
	transition: var(--transition);
}

.jump-links a:hover {
	color: var(--gold);
	border-color: var(--gold);
}

/* --- Procedure Grid --- */
.procedure-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.procedure-card {
	background: var(--cream);
	border: 1px solid var(--border-light);
	padding: 32px;
	transition: var(--transition);
}

.procedure-card:hover {
	box-shadow: var(--shadow-md);
}

.procedure-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	cursor: pointer;
	gap: 16px;
}

.procedure-header h3 {
	font-size: 1.15rem;
	color: var(--text-primary);
	line-height: 1.4;
}

.procedure-toggle {
	width: 32px;
	height: 32px;
	border: 1px solid var(--border-light);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
	color: var(--text-muted);
	flex-shrink: 0;
	transition: var(--transition);
	background: var(--white);
	line-height: 1;
}

.procedure-card.expanded .procedure-toggle,
.treatment-group.expanded .procedure-toggle {
	background: #b5566a;
	border-color: #b5566a;
	color: var(--white);
}

.procedure-body {
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.3s ease;
	margin-top: 0;
}

.procedure-card.expanded .procedure-body {
	max-height: 400px;
	opacity: 1;
	margin-top: 20px;
}

.procedure-body p {
	font-size: 0.88rem;
	color: var(--text-secondary);
	line-height: 1.8;
	margin-bottom: 14px;
}

.procedure-link {
	font-size: 0.78rem;
	color: #4a7ab5;
	display: inline-block;
	transition: var(--transition);
}

.procedure-link:hover {
	color: #b5566a;
}

/* --- Conditions Grid --- */
.conditions-section {
	background: var(--forest-pale);
}

.conditions-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.condition-card {
	background: var(--white);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition: var(--transition);
	display: flex;
	flex-direction: column;
}

.condition-card:hover {
	box-shadow: var(--shadow-md);
	transform: translateY(-4px);
}

.condition-img {
	height: 200px;
	overflow: hidden;
}

.condition-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.condition-card:hover .condition-img img {
	transform: scale(1.05);
}

.condition-info {
	padding: 24px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.condition-info .procedure-link {
	margin-top: auto;
}

.condition-info h3 {
	font-size: 1.1rem;
	color: var(--text-primary);
	margin-bottom: 10px;
}

.condition-info p {
	font-size: 0.82rem;
	color: var(--text-secondary);
	line-height: 1.7;
	margin-bottom: 14px;
}

/* --- Treatment Groups (Cosmetic) --- */
.treatment-group {
	background: var(--cream);
	border: 1px solid var(--border-light);
	margin-bottom: 16px;
	transition: var(--transition);
}

.treatment-group:hover {
	box-shadow: var(--shadow-sm);
}

.treatment-group-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 24px 32px;
	cursor: pointer;
}

.treatment-group-header h3 {
	font-size: 1.25rem;
	color: var(--text-primary);
}

.treatment-group-body {
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	transition: max-height 0.4s ease, opacity 0.3s ease;
}

.treatment-group-body.open,
.treatment-group.expanded .treatment-group-body {
	max-height: 1000px;
	opacity: 1;
}

.treatment-row {
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: 24px;
	padding: 16px 32px;
	border-top: 1px solid var(--border-light);
	align-items: baseline;
}

.treatment-name {
	font-size: 0.88rem;
	color: var(--text-primary);
	font-weight: bold;
}

.treatment-desc {
	font-size: 0.85rem;
	color: var(--text-secondary);
	line-height: 1.7;
}

/* --- RF Section --- */
.rf-section {
	background: var(--forest);
	color: var(--text-primary);
}

.rf-content {
	max-width: 800px;
}

.rf-text p {
	font-size: 0.92rem;
	line-height: 1.9;
	color: var(--text-secondary);
	margin-bottom: 16px;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
	.conditions-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 768px) {
	.procedure-grid {
		grid-template-columns: 1fr;
	}

	.conditions-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.condition-img {
		height: 260px;
	}

	.treatment-row {
		grid-template-columns: 1fr;
		gap: 6px;
	}
}

@media (max-width: 480px) {
	.conditions-grid {
		grid-template-columns: 1fr;
	}

	.condition-img {
		height: 300px;
	}
}
