:root {
	color-scheme: light;
	--header-height: 3rem;
}
html {
	scroll-padding-top: calc(var(--header-height) + 0.35rem);
	scroll-behavior: smooth;
	-webkit-user-select: none;
	user-select: none;
	-webkit-touch-callout: none;
}
* {
	box-sizing: border-box;
}
img {
	max-width: 100%;
	height: auto;
	-webkit-user-drag: none;
	pointer-events: none;
}
body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: #1f2937;
	background: #ffffff;
	line-height: 1.6;
}
header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	width: 100%;
	overflow: hidden;
	isolation: isolate;
	background: rgba(245, 245, 247, 0.78);
	backdrop-filter: saturate(180%) blur(20px);
	-webkit-backdrop-filter: saturate(180%) blur(20px);
}
header[data-image-header="true"] {
	background: rgba(255, 255, 255, 0.12);
	backdrop-filter: saturate(170%) blur(20px);
	-webkit-backdrop-filter: saturate(170%) blur(20px);
}
header[data-image-header="true"] .site-nav a {
	color: #111827;
	font-weight: 550;
	text-shadow: 0 1px 1px rgba(255, 255, 255, 0.55);
}
header[data-image-header="true"] .brand img {
	filter: drop-shadow(0 1px 1px rgba(255, 255, 255, 0.6));
}
.header-inner {
	max-width: 980px;
	margin: 0 auto;
	padding: 0 1rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: var(--header-height);
	position: relative;
	z-index: 1;
}
header a {
	color: inherit;
	text-decoration: none;
}
.brand {
	display: inline-flex;
	align-items: center;
	line-height: 1;
}
.brand img {
	display: block;
	height: 30px;
}
.site-nav {
	display: flex;
	gap: 0.95rem;
	font-size: 0.88rem;
	white-space: nowrap;
	min-width: 0;
}
main {
	max-width: 960px;
	margin: 0 auto;
	padding: calc(var(--header-height) + 0.65rem) 1rem 2rem;
}
main.is-service-page,
main.is-home-page {
	padding-top: 0;
}
.top-hero {
	margin: 0 0 1.1rem;
	width: 100vw;
	margin-inline: calc(50% - 50vw);
	height: min(100vw, 90vh);
}
.top-hero img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	background: #eef2f7;
}
/* Crop only when hero height is capped by the 90vh maximum (100vw >= 90vh). */
@media (min-aspect-ratio: 9 / 10) {
	.top-hero.service-hero img,
	.top-hero.home-hero img {
		object-fit: cover;
	}
}
main > :first-child {
	margin-top: 0;
}
.apple-cta-group {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin: 1.1rem auto 1.3rem;
}
.apple-cta-group-card {
	justify-content: flex-start;
	margin: 0.95rem 0 0;
}
.apple-cta-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 10.5rem;
	padding: 0.66rem 1.35rem;
	border-radius: 999px;
	border: 0;
	font-size: 1.08rem;
	font-weight: 500;
	line-height: 1.15;
	text-decoration: none;
	color: #ffffff;
	background: var(--cta-bg, #2563eb);
}
.carousel-card .apple-cta-button {
	min-width: 0;
}
.apple-cta-button:focus-visible {
	outline: 2px solid rgba(15, 23, 42, 0.92);
	outline-offset: 2px;
}
.apple-cta-button.is-phone {
	--cta-bg: #2563eb;
}
.apple-cta-button.is-whatsapp {
	--cta-bg: #22c55e;
}
.apple-cta-button.is-map-app {
	min-width: 9.8rem;
	padding: 0.62rem 1.25rem;
}
.apple-cta-button.is-google-maps {
	--cta-bg: #1a73e8;
}
.apple-cta-button.is-apple-maps {
	--cta-bg: #111827;
}
.apple-cta-button.is-waze {
	--cta-bg: #0ea5e9;
}
.carousel {
	--carousel-gap: 0.9rem;
	--carousel-column-width: min(86vw, 29rem);
	margin-block: 1.25rem 1.5rem;
}
.carousel.carousel-full-bleed {
	width: 100vw;
	margin-inline: calc(50% - 50vw);
}
.carousel-track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: var(--carousel-column-width);
	gap: var(--carousel-gap);
	overflow-x: auto;
	padding-inline: var(--carousel-gap);
	scroll-padding-inline: var(--carousel-gap);
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
}
.carousel-track > * {
	scroll-snap-align: start;
}
.carousel.carousel-full-bleed > h2,
.carousel.carousel-full-bleed > p {
	max-width: 960px;
	margin-inline: auto;
	padding-inline: 1rem;
}
.carousel > h2 {
	margin-bottom: 0.45rem;
}
.carousel > p {
	margin: 0.4rem 0 1rem;
}
.carousel-card {
	min-width: 0;
	min-height: 20rem;
	padding: 1.5rem 1.4rem;
	border-radius: 1.5rem;
	background: #f5f5f7;
}
.carousel-card > :last-child {
	margin-bottom: 0;
}
.carousel-card h3 {
	margin: 0 0 0.7rem;
	font-size: clamp(1.2rem, 2vw, 1.45rem);
	line-height: 1.3;
}
.carousel-card p,
.carousel-card li {
	margin: 0;
	color: #374151;
}
.carousel-card p + p {
	margin-top: 0.6rem;
}
.carousel-card ul,
.carousel-card ol {
	margin: 0.75rem 0 0;
	padding-left: 1.2rem;
	color: #374151;
}
.carousel-card li + li {
	margin-top: 0.3rem;
}
.carousel-card__media {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	background: #eef2f7;
	display: block;
}
.carousel-card__copy {
	padding: 1.2rem 1.25rem 1.35rem;
}
.carousel-card--benefit {
	padding: 0;
	min-height: 24rem;
	overflow: hidden;
}
.carousel-card--service {
	padding: 0;
	min-height: 31rem;
	border-radius: 1.75rem;
	overflow: hidden;
}
.carousel-card--service .carousel-card__media {
	margin-top: auto;
}
.before-after {
	margin-top: 1.6rem;
}
.before-after .carousel-card {
	min-height: auto;
	padding: 1.25rem;
}
.before-after .carousel-card h3 {
	margin: 0 0 0.9rem;
	font-size: clamp(1.1rem, 2vw, 1.35rem);
	line-height: 1.3;
}
.before-after-media {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.65rem;
}
.before-after-media figure {
	margin: 0;
}
.before-after-media img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 0.9rem;
	display: block;
}
.before-after-media figcaption {
	margin-top: 0.4rem;
	font-size: 0.85rem;
	color: #6b7280;
	text-align: center;
}
.before-after-note {
	margin: 0.85rem 0 0;
	color: #4b5563;
	font-size: 0.95rem;
}
.services-carousel,
.about-clinic-carousel,
.doctor-credentials-carousel {
	margin-top: 1.8rem;
}
.service-card-link {
	color: #1d1d1f;
	text-decoration: none;
	display: flex;
	flex-direction: column;
	height: 100%;
}
.service-card-copy {
	padding: 2rem 1.6rem 1.25rem;
}
.carousel-card .service-card-type {
	margin: 0 0 1.2rem;
	color: #92400e;
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.3;
}
.carousel-card--service h3 {
	margin: 0 0 0.85rem;
	font-size: clamp(1.6rem, 2.3vw, 2.2rem);
	line-height: 1.15;
}
.service-card-description {
	margin: 0.75rem 0 0;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	color: #374151;
}
.service-card-link-text {
	display: inline-block;
	margin-top: 0.9rem;
	color: #0071e3;
	font-weight: 500;
}
.services-filter {
	max-width: 960px;
	margin: 0.75rem auto 1rem;
	padding-inline: 1rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
}
.services-filter__input {
	position: absolute;
	inline-size: 1px;
	block-size: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	clip: rect(0 0 0 0);
	overflow: hidden;
	white-space: nowrap;
}
.services-filter__label {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.36rem 0.82rem;
	border-radius: 999px;
	border: 1px solid #d1d5db;
	background: #ffffff;
	color: #374151;
	font-size: 0.84rem;
	font-weight: 500;
	line-height: 1.2;
	cursor: pointer;
	transition:
		color 0.2s ease,
		background-color 0.2s ease,
		border-color 0.2s ease;
}
.services-filter__input:focus-visible + .services-filter__label {
	outline: 2px solid #1d4ed8;
	outline-offset: 2px;
}
.services-carousel:has(.services-filter__input[value="all"]:checked)
	.services-filter__label[for*="services-filter-all-"],
.services-carousel:has(.services-filter__input[value="facial"]:checked)
	.services-filter__label[for*="services-filter-facial-"],
.services-carousel:has(.services-filter__input[value="bienestar"]:checked)
	.services-filter__label[for*="services-filter-bienestar-"],
.services-carousel:has(.services-filter__input[value="corporal"]:checked)
	.services-filter__label[for*="services-filter-corporal-"] {
	background: #111827;
	border-color: #111827;
	color: #ffffff;
}
.services-carousel:has(.services-filter__input[value="facial"]:checked)
	.services-carousel-track
	> [data-service-type]:not([data-service-type="facial"]),
.services-carousel:has(.services-filter__input[value="bienestar"]:checked)
	.services-carousel-track
	> [data-service-type]:not([data-service-type="bienestar"]),
.services-carousel:has(.services-filter__input[value="corporal"]:checked)
	.services-carousel-track
	> [data-service-type]:not([data-service-type="corporal"]) {
	display: none;
}
.about-clinic-summary-card {
	background: #eef2ff;
	border: 1px solid #c7d2fe;
}
.about-clinic-summary-card h3 {
	margin: 0 0 0.55rem;
	font-size: clamp(1.08rem, 1.8vw, 1.25rem);
	line-height: 1.3;
}
.about-clinic-summary-card p {
	margin: 0;
	color: #1f2937;
}
.about-clinic-summary-card ul {
	margin: 0.75rem 0 0;
	padding-left: 1.1rem;
	color: #374151;
}
.about-clinic-summary-card li + li {
	margin-top: 0.25rem;
}
.about-clinic-summary-link {
	margin-top: 0.78rem;
	font-weight: 500;
}
.about-clinic-summary-link a {
	color: #1d4ed8;
}
.doctor-profile-header {
	display: flex;
	align-items: flex-start;
	gap: 0.9rem;
}
.doctor-profile-header img {
	width: 6.3rem;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 1rem;
	flex-shrink: 0;
}
.doctor-profile-header h3 {
	margin: 0;
}
.doctor-role {
	margin-top: 0.35rem;
	font-weight: 600;
	color: #92400e;
}
.doctor-title {
	margin-top: 0.35rem;
	font-size: 0.95rem;
	color: #374151;
}
.doctor-summary {
	margin-top: 0.9rem;
}
@media (max-width: 700px) {
	:root {
		--header-height: 2.9rem;
	}
	.header-inner {
		padding: 0 0.85rem;
		gap: 0.65rem;
	}
	.brand img {
		height: 27px;
	}
	.site-nav {
		gap: 0.65rem;
		font-size: 0.84rem;
		overflow-x: auto;
		scrollbar-width: none;
	}
	.site-nav::-webkit-scrollbar {
		display: none;
	}
	.carousel {
		--carousel-gap: 0.75rem;
	}
	.carousel-card--service {
		min-height: 28rem;
	}
	.doctor-profile-header img {
		width: 5.4rem;
	}
}
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	.carousel-track {
		scroll-behavior: auto;
	}
}
h1 {
	margin-top: 0;
	line-height: 1.25;
}
h2 {
	font-size: clamp(1.8rem, 2.8vw, 2.1rem);
	line-height: 1.5;
	margin: 1.65rem 0 1.05rem;
}
h3 {
	margin: 1.2rem 0 0.8rem;
	line-height: 1.3;
}
.service-price {
	margin: -0.2rem 0 0.9rem;
	font-size: clamp(1.05rem, 2vw, 1.25rem);
	font-weight: 600;
	color: #111827;
}
.service-price-note {
	margin: -0.45rem 0 1rem;
	font-size: 0.95rem;
	color: #4b5563;
}
.page-last-updated {
	margin: -0.1rem 0 1rem;
	font-size: 0.9rem;
	color: #6b7280;
}
.page-last-updated time {
	font-variant-numeric: tabular-nums;
}
footer {
	margin-top: 2rem;
	border-top: 1px solid #d2d2d7;
	background: #f5f5f7;
	padding: 1.4rem 1rem 1.2rem;
	font-size: 0.86rem;
	color: #6e6e73;
}
.footer-inner {
	max-width: 960px;
	margin: 0 auto;
}
.footer-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem 1.25rem;
}
.footer-column h2 {
	margin: 0 0 0.55rem;
	font-size: 0.8rem;
	line-height: 1.2;
	font-weight: 600;
	color: #1d1d1f;
}
.footer-links {
	margin: 0;
	padding: 0;
	list-style: none;
}
.footer-links li + li {
	margin-top: 0.42rem;
}
.footer-links a,
.footer-legal a {
	color: #424245;
	text-decoration: none;
}
.footer-links a:hover,
.footer-legal a:hover {
	text-decoration: underline;
}
.footer-links.services-list {
	column-count: 2;
	column-gap: 1.1rem;
}
.footer-links.services-list li {
	break-inside: avoid;
}
.footer-meta {
	margin-top: 1.1rem;
	padding-top: 0.9rem;
	border-top: 1px solid #d2d2d7;
}
.footer-location {
	margin: 0 0 0.38rem;
	color: #515154;
}
.footer-copy {
	margin: 0;
}
.footer-legal {
	margin-top: 0.45rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
}
.footer-legal a + a {
	border-left: 1px solid #b8b8be;
	padding-left: 0.65rem;
}
@media (max-width: 900px) {
	.footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 560px) {
	.footer-grid {
		grid-template-columns: 1fr;
	}
	.footer-links.services-list {
		column-count: 1;
	}
}
