/* Philosophy band — cream layout from the reference, theme button unchanged. */

.dm-philo {
	position: relative;
	z-index: 4;
	background: linear-gradient(to bottom, transparent 0, transparent 2.15rem, #f6f1e8 2.15rem);
	color: #1c1916;
	padding: 0 0 clamp(3.25rem, 6vw, 5.25rem);
	overflow: visible;
}

.dm-philo__stats-wrap {
	position: relative;
	z-index: 2;
	width: min(100% - 3rem, 72rem);
	margin: -6.75rem auto 0;
}

.dm-philo__stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem 1.25rem;
	margin: 0;
	padding: 1.2rem 1.55rem;
	list-style: none;
	background: #fff;
	border-radius: 1.2rem;
	box-shadow: 0 18px 44px rgba(48, 36, 22, 0.1);
}

.dm-philo__stat {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	min-width: 0;
}

.dm-philo__icon {
	display: grid;
	flex: 0 0 auto;
	place-items: center;
	width: 2.7rem;
	height: 2.7rem;
	border: 1.5px solid #e4d3b4;
	border-radius: 50%;
	color: #2a241c;
}

.dm-philo__icon svg {
	width: 1.25rem;
	height: 1.25rem;
}

.dm-philo__stat-copy {
	min-width: 0;
}

.dm-philo__stat-copy strong {
	display: block;
	color: #1c1916;
	font-family: var(--font-body);
	font-size: 1.35rem;
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1.1;
	white-space: nowrap;
}

.dm-philo__stat-copy span {
	display: block;
	margin-top: 0.15rem;
	color: #6d645c;
	font-size: 0.78rem;
	line-height: 1.3;
}

.dm-philo__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: clamp(2rem, 4vw, 4.25rem);
	align-items: center;
	width: min(100% - 3rem, 72rem);
	margin: 0 auto;
	padding-top: clamp(2.6rem, 4.5vw, 3.6rem);
}

.dm-philo__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	margin: 0 0 0.95rem;
	color: #b08a45;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	line-height: 1;
	text-transform: uppercase;
}

.dm-philo__eyebrow::before,
.dm-philo__eyebrow::after {
	content: "";
	width: 1.45rem;
	height: 1px;
	background: #c6a15b;
	flex: 0 0 auto;
}

.dm-philo__title {
	margin: 0 0 1.05rem;
	color: var(--color-charcoal);
	font-family: var(--font-body);
	font-size: clamp(2.05rem, 3.6vw, 2.05rem);
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 1.2;
	text-wrap: balance;
}

.dm-philo__text {
	max-width: 38rem;
	color: var(--color-charcoal);
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.5;
}

.dm-philo__text p {
	margin: 0 0 0.85rem;
}

.dm-philo__text p:last-child {
	margin-bottom: 0;
}

.dm-philo__points {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.72rem 1.35rem;
	margin: 1.25rem 0 1.55rem;
	padding: 0;
	list-style: none;
}

.dm-philo__points li {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	color: var(--color-charcoal);
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.5;
}

.dm-philo__check {
	flex: 0 0 auto;
	width: 1.05rem;
	height: 1.05rem;
	margin-top: 0.12rem;
	fill: #c6a15b;
}

.dm-philo .home-btn {
	width: auto;
	margin-top: 0.15rem;
}

.dm-philo__media {
	position: relative;
	margin: 0;
}

.dm-philo__photo {
	display: block;
	width: 100%;
	aspect-ratio: 5 / 4;
	object-fit: cover;
	object-position: center 35%;
	border-radius: 18px;
	background: #e7ddd2;
}

.elementor-element.dentmedica-philosophy-wrap,
.elementor-element-dmph001.e-con,
.elementor-element-dmph001.e-con > .e-con-inner {
	--padding-top: 0px;
	--padding-right: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	width: 100%;
	max-width: none;
	padding: 0;
	overflow: visible;
}

.elementor-widget-dentmedica-philosophy,
.elementor-widget-dentmedica-philosophy .elementor-widget-container {
	margin: 0;
	padding: 0;
	overflow: visible;
}

.elementor-element:has(+ .dentmedica-philosophy-wrap) .hero__controls {
	bottom: 9.15rem;
}

@media (max-width: 980px) {
	.dm-philo__grid {
		grid-template-columns: 1fr;
	}

	.dm-philo__title,
	.dm-philo__text {
		max-width: 36rem;
	}

	.dm-philo__photo {
		max-height: 28rem;
	}
}

@media (max-width: 860px) {
	.dm-philo__stats {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 760px) {
	.dm-philo {
		background: #f6f1e8;
	}

	.dm-philo__stats-wrap {
		margin-top: 1.35rem;
	}

	.elementor-element:has(+ .dentmedica-philosophy-wrap) .hero__controls {
		bottom: 0.85rem;
	}
}

@media (max-width: 640px) {
	.dm-philo__stats-wrap,
	.dm-philo__grid {
		width: min(100% - 1.5rem, 72rem);
	}

	.dm-philo__stats {
		padding: 1rem;
		border-radius: 1rem;
	}

	.dm-philo__points {
		grid-template-columns: 1fr;
	}

	.dm-philo__stat-copy strong {
		font-size: 1.15rem;
	}
}

@media (max-width: 520px) {
	.dm-philo__stats {
		grid-template-columns: 1fr;
	}
}
