.ce-container {
	width: min(calc(100% - 3rem), var(--ce-content-width));
	margin-inline: auto;
}

.ce-content-area {
	padding-block: clamp(3.5rem, 7vw, 6.5rem);
}

.ce-content-area .entry-title,
.ce-content-area .page-title {
	margin-top: 0;
	color: var(--ce-color-forest);
	font-size: var(--ce-font-size-display);
	letter-spacing: -0.04em;
}

.ce-content-area .entry-content {
	max-width: 800px;
}

.ce-post-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2rem;
}

.ce-post-card {
	margin: 0;
	padding: 1.25rem;
	background: var(--ce-color-paper);
}

.ce-post-card__image {
	display: block;
	margin: -1.25rem -1.25rem 1.25rem;
}

.ce-post-card__image img {
	display: block;
	width: 100%;
}

.ce-image-placeholder {
	display: grid;
	place-items: center;
	min-height: 12rem;
	padding: 1rem;
	background: var(--ce-color-sage-soft);
	color: var(--ce-color-muted);
	font-size: var(--ce-font-size-sm);
	text-align: center;
}

.ce-theme-image {
	display: block;
	width: 100%;
	height: auto;
}

.ce-post-card__image .ce-image-placeholder {
	margin: 0;
}

.entry-thumbnail {
	margin-block: 1.5rem 2rem;
}

.entry-thumbnail img,
.entry-thumbnail .ce-image-placeholder {
	display: block;
	width: 100%;
}

.ce-post-card .entry-title {
	margin-bottom: 0.75rem;
	font-size: var(--ce-font-size-xl);
}

.ce-post-card .entry-title a {
	text-decoration: none;
}

.ce-empty-state {
	min-height: 30vh;
}

.ce-home-hero {
	position: relative;
	overflow: hidden;
	background: var(--ce-color-paper);
}

.ce-home-hero__image {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.ce-home-hero__image .ce-theme-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.ce-home-hero__inner {
	position: relative;
	z-index: 1;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	width: min(calc(100% - 3rem), var(--ce-content-width));
	min-height: min(680px, 76vh);
	margin-inline: auto;
	padding-block: clamp(4rem, 9vw, 8rem);
}

.ce-home-hero__copy {
	position: relative;
	z-index: 1;
	max-width: 650px;
	padding: 2rem;
	background: rgba(var(--ce-color-white-rgb), 0.78);
}

.ce-eyebrow {
	margin: 0 0 1rem;
	color: var(--ce-color-forest);
	font-size: var(--ce-font-size-xs);
	font-weight: var(--ce-font-weight-bold);
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.ce-home-hero h1 {
	max-width: 720px;
	margin: 0;
	color: var(--ce-color-forest);
	font-size: clamp(3.3rem, 7.2vw, 6.7rem);
	letter-spacing: -0.045em;
}

.ce-home-hero__lead {
	max-width: 510px;
	margin: 1.7rem 0 0;
	color: var(--ce-color-muted);
	font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.ce-home-hero__actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 1.5rem;
	margin-top: 2rem;
}

.ce-home-hero .ce-button {
	padding: 0.9rem 1.45rem;
	border-radius: var(--ce-radius);
}

.ce-text-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--ce-color-forest);
	font-size: 0.83rem;
	font-weight: 700;
	letter-spacing: 0.025em;
	text-decoration: none;
}

.ce-text-link span {
	font-size: 1.2em;
	transition: transform 160ms ease;
}

.ce-text-link:hover span {
	transform: translateX(3px);
}

.ce-home-editorial {
	padding-block: clamp(3rem, 7vw, 6rem);
}

.ce-home-editorial .entry-content {
	max-width: 800px;
}

.ce-home-section {
	padding-block: clamp(3.5rem, 7vw, 6.5rem);
}

.ce-section-heading {
	margin-bottom: 2.25rem;
}

.ce-section-heading h2 {
	margin: 0;
	font-size: clamp(2rem, 3.8vw, 3.25rem);
	letter-spacing: -0.025em;
}

.ce-section-heading .ce-eyebrow {
	margin-bottom: 0.65rem;
}

.ce-home-section--paper {
	background-color: var(--ce-color-paper);
}

.ce-home-grid {
	display: grid;
	gap: 1.5rem;
}

.ce-home-grid--three {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ce-home-card {
	padding: 1.5rem;
	border: 1px solid var(--ce-color-line);
	background-color: var(--ce-color-white);
}

.ce-home-card h3,
.ce-home-callout h2,
.ce-home-testimonial p {
	margin-top: 0;
}

.ce-home-card h3 {
	font-size: var(--ce-font-size-xl);
}

.ce-home-card p,
.ce-home-callout p,
.ce-home-testimonial p {
	color: var(--ce-color-muted);
}

.ce-home-card__media {
	margin: -1.5rem -1.5rem 1.5rem;
}

.ce-home-card__media .ce-image-placeholder {
	min-height: 10rem;
}

.ce-home-card__media .ce-theme-image {
	aspect-ratio: 0.77;
	object-fit: cover;
}

.ce-home-card .ce-text-link {
	margin-top: 0.75rem;
}

.ce-home-section__link {
	margin-top: 1.75rem;
}

.ce-home-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(2rem, 7vw, 6rem);
}

.ce-home-split--reverse .ce-home-split__media {
	order: 2;
}

.ce-home-split__media .ce-image-placeholder {
	min-height: 24rem;
}

.ce-home-split__media .ce-theme-image {
	width: 100%;
	height: 100%;
	min-height: 24rem;
	object-fit: cover;
}

.ce-home-split__content {
	max-width: 34rem;
}

.ce-home-split__content h2 {
	margin-top: 0;
	font-size: clamp(2rem, 3.8vw, 3.25rem);
}

.ce-home-cta-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
	padding-block: 0 clamp(3.5rem, 7vw, 6.5rem);
}

.ce-home-callout {
	padding: clamp(1.5rem, 4vw, 3rem);
	background-color: var(--ce-color-sage);
}

.ce-home-callout__media {
	margin: calc(-1 * clamp(1.5rem, 4vw, 3rem)) calc(-1 * clamp(1.5rem, 4vw, 3rem)) 1.5rem;
}

.ce-home-callout__media .ce-theme-image {
	aspect-ratio: 2.05;
	object-fit: cover;
}

.ce-home-callout--accent {
	background-color: var(--ce-color-forest);
	color: var(--ce-color-white);
}

.ce-home-callout--accent h2,
.ce-home-callout--accent .ce-eyebrow,
.ce-home-callout--accent p {
	color: var(--ce-color-white);
}

.ce-home-testimonial {
	margin: 0;
	padding: 1.5rem;
	border-left: 3px solid var(--ce-color-clay);
	background-color: var(--ce-color-white);
}

.ce-home-testimonial cite {
	color: var(--ce-color-forest);
	font-size: var(--ce-font-size-sm);
	font-style: normal;
	font-weight: var(--ce-font-weight-semibold);
}

.ce-home-section--texture {
	background-color: var(--ce-color-paper);
	background-image: linear-gradient(rgba(var(--ce-color-white-rgb), 0.82), rgba(var(--ce-color-white-rgb), 0.82)), url('../images/home/banner-texture-desktop.webp');
	background-position: center;
	background-size: cover;
}

.ce-category-hero {
	background-color: var(--ce-color-paper);
}

.ce-category-hero__inner {
	padding-block: clamp(4rem, 9vw, 8rem);
}

.ce-category-hero h1 {
	max-width: 850px;
	margin: 0;
	color: var(--ce-color-forest);
	font-size: var(--ce-font-size-display);
	letter-spacing: -0.04em;
}

.ce-category-hero p:last-child {
	max-width: 620px;
	margin: 1.5rem 0 0;
	color: var(--ce-color-muted);
	font-size: var(--ce-font-size-lg);
}

.ce-category-list {
	padding-block: clamp(3.5rem, 7vw, 6.5rem);
}

.ce-category-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(2rem, 8vw, 8rem);
	padding-block: clamp(2.5rem, 6vw, 5.5rem);
	border-bottom: 1px solid var(--ce-color-line);
}

.ce-category-row:nth-child(even) .ce-category-row__media {
	order: 2;
}

.ce-category-row__media .ce-image-placeholder {
	min-height: 22rem;
}

.ce-category-row__content {
	max-width: 34rem;
}

.ce-category-row__content h2 {
	margin: 0;
	color: var(--ce-color-forest);
	font-size: clamp(2rem, 4vw, 3.6rem);
	letter-spacing: -0.035em;
}

.ce-category-row__content > p:not(.ce-eyebrow) {
	margin-block: 1.25rem 1.5rem;
	color: var(--ce-color-muted);
}

.ce-category-cta {
	padding-block: clamp(3.5rem, 7vw, 6.5rem);
	background-color: var(--ce-color-forest);
	color: var(--ce-color-white);
	text-align: center;
}

.ce-category-cta h2 {
	margin-top: 0;
	color: var(--ce-color-white);
	font-size: clamp(2rem, 4vw, 3.6rem);
}

.ce-category-cta p {
	max-width: 620px;
	margin-inline: auto;
	color: var(--ce-color-white);
	opacity: 0.86;
}

.ce-category-cta .button {
	margin-top: 0.75rem;
	border-color: var(--ce-color-white);
	background-color: var(--ce-color-white);
	color: var(--ce-color-forest);
}

.ce-category-cta .button:hover,
.ce-category-cta .button:focus {
	border-color: var(--ce-color-sage);
	background-color: var(--ce-color-sage);
	color: var(--ce-color-forest-hover);
}

.ce-treatment-hero {
	background-color: var(--ce-color-paper);
}

.ce-treatment-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
	align-items: center;
	gap: clamp(2rem, 7vw, 7rem);
	padding-block: clamp(4rem, 9vw, 8rem);
}

.ce-treatment-hero__content {
	max-width: 45rem;
}

.ce-treatment-hero h1 {
	margin: 0;
	color: var(--ce-color-forest);
	font-size: var(--ce-font-size-display);
	letter-spacing: -0.04em;
}

.ce-treatment-hero__content > p:last-child {
	max-width: 38rem;
	margin: 1.5rem 0 0;
	color: var(--ce-color-muted);
	font-size: var(--ce-font-size-lg);
}

.ce-treatment-hero__media .ce-image-placeholder {
	min-height: 22rem;
}

.ce-treatment-catalog {
	padding-block: clamp(3.5rem, 7vw, 6.5rem);
}

.ce-treatment-catalog__empty {
	max-width: 52rem;
	margin-inline: auto;
	padding: clamp(2rem, 6vw, 5rem);
	border: 1px solid var(--ce-color-line);
	background-color: var(--ce-color-sage-soft);
	text-align: center;
}

.ce-treatment-catalog__empty h2 {
	margin-top: 0;
	color: var(--ce-color-forest);
	font-size: clamp(2rem, 4vw, 3.5rem);
}

.ce-treatment-catalog__empty p:last-child {
	max-width: 36rem;
	margin-inline: auto;
	color: var(--ce-color-muted);
}

.ce-treatment-sections {
	padding-block: 0 clamp(3.5rem, 7vw, 6.5rem);
}

.ce-treatment-section {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(2rem, 8vw, 8rem);
	padding-block: clamp(2.5rem, 6vw, 5.5rem);
	border-top: 1px solid var(--ce-color-line);
}

.ce-treatment-section--reverse .ce-treatment-section__media {
	order: 2;
}

.ce-treatment-section__media .ce-image-placeholder {
	min-height: 22rem;
}

.ce-treatment-section__content {
	max-width: 34rem;
}

.ce-treatment-section__content h2 {
	margin-top: 0;
	color: var(--ce-color-forest);
	font-size: clamp(2rem, 4vw, 3.6rem);
	letter-spacing: -0.035em;
}

.ce-treatment-section__content > p:last-child {
	color: var(--ce-color-muted);
}

.ce-treatment-cards {
	padding-block: clamp(3.5rem, 7vw, 6.5rem);
	background-color: var(--ce-color-paper);
}

.ce-treatment-card {
	height: 100%;
}

.ce-treatment-card .ce-home-card__media .ce-image-placeholder {
	min-height: 10rem;
}

.ce-treatment-category-cta {
	padding-block: clamp(3.5rem, 7vw, 6.5rem);
	background-color: var(--ce-color-forest);
	color: var(--ce-color-white);
	text-align: center;
}

.ce-treatment-category-cta h2 {
	margin-top: 0;
	color: var(--ce-color-white);
	font-size: clamp(2rem, 4vw, 3.5rem);
}

.ce-treatment-category-cta p {
	max-width: 36rem;
	margin-inline: auto;
	color: var(--ce-color-white);
	opacity: 0.86;
}

.ce-treatment-category-cta .button {
	margin-top: 0.75rem;
	border-color: var(--ce-color-white);
	background-color: var(--ce-color-white);
	color: var(--ce-color-forest);
}

.ce-treatment-category-cta .button:hover,
.ce-treatment-category-cta .button:focus {
	border-color: var(--ce-color-sage);
	background-color: var(--ce-color-sage);
	color: var(--ce-color-forest-hover);
}

.ce-objectives-hero {
	background-color: var(--ce-color-paper);
}

.ce-objectives-hero__inner {
	padding-block: clamp(4rem, 9vw, 8rem);
}

.ce-objectives-hero h1 {
	max-width: 850px;
	margin: 0;
	color: var(--ce-color-forest);
	font-size: var(--ce-font-size-display);
	letter-spacing: -0.04em;
}

.ce-objectives-hero p:last-child {
	max-width: 620px;
	margin: 1.5rem 0 0;
	color: var(--ce-color-muted);
	font-size: var(--ce-font-size-lg);
}

.ce-objectives-grid-section {
	padding-block: clamp(3.5rem, 7vw, 6.5rem);
}

.ce-objectives-grid-section .ce-section-heading > p:last-child {
	max-width: 620px;
	margin-bottom: 0;
	color: var(--ce-color-muted);
}

.ce-objectives-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
}

.ce-objective-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	border: 1px solid var(--ce-color-line);
	background-color: var(--ce-color-white);
}

.ce-objective-card__media .ce-image-placeholder {
	min-height: 15rem;
}

.ce-objective-card__content {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	padding: 1.5rem;
}

.ce-objective-card h3 {
	margin-top: 0;
	color: var(--ce-color-forest);
	font-size: var(--ce-font-size-xl);
}

.ce-objective-card p {
	color: var(--ce-color-muted);
}

.ce-objective-card .ce-text-link {
	margin-top: auto;
	padding-top: 1rem;
}

.ce-objectives-cta {
	padding-block: clamp(3.5rem, 7vw, 6.5rem);
	background-color: var(--ce-color-forest);
	color: var(--ce-color-white);
	text-align: center;
}

.ce-objectives-cta h2 {
	margin-top: 0;
	color: var(--ce-color-white);
	font-size: clamp(2rem, 4vw, 3.5rem);
}

.ce-objectives-cta p {
	max-width: 36rem;
	margin-inline: auto;
	color: var(--ce-color-white);
	opacity: 0.86;
}

.ce-objectives-cta .button {
	margin-top: 0.75rem;
	border-color: var(--ce-color-white);
	background-color: var(--ce-color-white);
	color: var(--ce-color-forest);
}

.ce-objectives-cta .button:hover,
.ce-objectives-cta .button:focus {
	border-color: var(--ce-color-sage);
	background-color: var(--ce-color-sage);
	color: var(--ce-color-forest-hover);
}

.ce-technology-hero {
	background-color: var(--ce-color-paper);
}

.ce-technology-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
	align-items: center;
	gap: clamp(2rem, 7vw, 7rem);
	padding-block: clamp(4rem, 9vw, 8rem);
}

.ce-technology-hero__content {
	max-width: 45rem;
}

.ce-technology-hero h1 {
	margin: 0;
	color: var(--ce-color-forest);
	font-size: var(--ce-font-size-display);
	letter-spacing: -0.04em;
}

.ce-technology-hero__content > p:last-child {
	max-width: 38rem;
	margin: 1.5rem 0 0;
	color: var(--ce-color-muted);
	font-size: var(--ce-font-size-lg);
}

.ce-technology-hero__media .ce-image-placeholder {
	min-height: 22rem;
}

.ce-technology-grid-section {
	padding-block: clamp(3.5rem, 7vw, 6.5rem);
}

.ce-technology-grid-section .ce-section-heading > p:last-child {
	max-width: 620px;
	margin-bottom: 0;
	color: var(--ce-color-muted);
}

.ce-technology-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
}

.ce-technology-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	border: 1px solid var(--ce-color-line);
	background-color: var(--ce-color-white);
}

.ce-technology-card__media .ce-image-placeholder {
	min-height: 15rem;
}

.ce-technology-card__content {
	padding: 1.5rem;
}

.ce-technology-card h3 {
	margin-top: 0;
	color: var(--ce-color-forest);
	font-size: var(--ce-font-size-xl);
}

.ce-technology-card p {
	margin-bottom: 0;
	color: var(--ce-color-muted);
}

.ce-technology-cta {
	padding-block: clamp(3.5rem, 7vw, 6.5rem);
	background-color: var(--ce-color-forest);
	color: var(--ce-color-white);
	text-align: center;
}

.ce-technology-cta h2 {
	margin-top: 0;
	color: var(--ce-color-white);
	font-size: clamp(2rem, 4vw, 3.5rem);
}

.ce-technology-cta p {
	max-width: 36rem;
	margin-inline: auto;
	color: var(--ce-color-white);
	opacity: 0.86;
}

.ce-technology-cta .button {
	margin-top: 0.75rem;
	border-color: var(--ce-color-white);
	background-color: var(--ce-color-white);
	color: var(--ce-color-forest);
}

.ce-technology-cta .button:hover,
.ce-technology-cta .button:focus {
	border-color: var(--ce-color-sage);
	background-color: var(--ce-color-sage);
	color: var(--ce-color-forest-hover);
}

@media (max-width: 767px) {
	.ce-container,
	.ce-home-hero__inner {
		width: min(calc(100% - 2rem), var(--ce-content-width));
	}

	.ce-post-list {
		grid-template-columns: 1fr;
	}

	.ce-home-grid--three,
	.ce-home-cta-grid,
	.ce-objectives-grid {
		grid-template-columns: 1fr;
	}

	.ce-home-split {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.ce-home-split--reverse .ce-home-split__media {
		order: 0;
	}

	.ce-category-row {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.ce-category-row:nth-child(even) .ce-category-row__media {
		order: 0;
	}

	.ce-category-row__media .ce-image-placeholder {
		min-height: 16rem;
	}

	.ce-treatment-hero__inner {
		grid-template-columns: 1fr;
		gap: 2rem;
		padding-block: 4rem;
	}

	.ce-technology-hero__inner {
		grid-template-columns: 1fr;
		gap: 2rem;
		padding-block: 4rem;
	}

	.ce-treatment-hero__media .ce-image-placeholder {
		min-height: 16rem;
	}

	.ce-technology-hero__media .ce-image-placeholder {
		min-height: 16rem;
	}

	.ce-technology-grid {
		grid-template-columns: 1fr;
	}

	.ce-treatment-section {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.ce-treatment-section--reverse .ce-treatment-section__media {
		order: 0;
	}

	.ce-treatment-section__media .ce-image-placeholder {
		min-height: 16rem;
	}

	.ce-home-hero__inner {
		min-height: auto;
		padding-block: 4rem 3rem;
	}

	.ce-home-hero__image {
		position: relative;
		inset: auto;
	}

	.ce-home-hero__image .ce-theme-image {
		height: auto;
		object-fit: initial;
	}

	.ce-home-hero__copy {
		padding: 0;
		background: transparent;
	}

	.ce-home-split__media .ce-theme-image {
		min-height: 16rem;
	}

	.ce-home-section--texture {
		background-image: linear-gradient(rgba(var(--ce-color-white-rgb), 0.82), rgba(var(--ce-color-white-rgb), 0.82)), url('../images/home/banner-texture-mobile.webp');
	}

}

/* HOME v2: composición visual, tarjetas y carruseles. */
.ce-home {
	background: var(--ce-color-white);
}

.ce-home .ce-home-hero {
	min-height: clamp(520px, 65vh, 700px);
	background: var(--ce-color-navy-deep);
}

.ce-home .ce-home-hero__image,
.ce-home .ce-home-hero__shade {
	position: absolute;
	inset: 0;
}

.ce-home .ce-home-hero__image {
	z-index: 0;
}

.ce-home .ce-home-hero__image .ce-theme-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.ce-home-editorial .ce-home-hero__image .ce-theme-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.ce-home .ce-home-hero__shade {
	z-index: 1;
	background: linear-gradient(90deg, rgba(var(--ce-color-navy-rgb), 0.08), rgba(var(--ce-color-navy-rgb), 0.12));
}

.ce-home .ce-home-hero__inner {
	position: relative;
	z-index: 2;
	display: grid;
	place-items: center;
	width: min(calc(100% - 3rem), var(--ce-content-width-wide));
	min-height: clamp(520px, 65vh, 700px);
	margin-inline: auto;
	padding-block: 8rem 4rem;
	text-align: center;
}

.ce-home .ce-home-hero__copy {
	max-width: 48rem;
	padding: 0;
	background: transparent;
	color: var(--ce-color-white);
}

.ce-home .ce-home-hero .ce-eyebrow,
.ce-home .ce-home-hero h1,
.ce-home .ce-home-hero__lead {
	color: var(--ce-color-white);
}

.ce-home .ce-home-hero h1 {
	font-size: clamp(2.2rem, 3.4vw, 3.4rem);
	letter-spacing: -0.035em;
}

.ce-home .ce-home-hero__copy .ce-home-hero__lead {
	font-family: var(--ce-font-display);
}

.ce-home .ce-home-hero__lead {
	max-width: 38rem;
	margin: 1rem auto 0;
	font-size: clamp(1rem, 1.5vw, 1.25rem);
}

.ce-home .ce-home-hero__actions {
	justify-content: center;
	gap: 0.75rem;
	margin-top: 2rem;
}

.ce-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.65rem;
	padding: 0.7rem 1.65rem;
	border: 1px solid transparent;
	border-radius: var(--ce-radius-pill);
	font-size: var(--ce-font-size-xs);
	font-weight: var(--ce-font-weight-bold);
	letter-spacing: 0.06em;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color var(--ce-duration-fast) var(--ce-ease-standard), border-color var(--ce-duration-fast) var(--ce-ease-standard), color var(--ce-duration-fast) var(--ce-ease-standard), transform var(--ce-duration-fast) var(--ce-ease-standard);
}

.ce-button:hover,
.ce-button:focus-visible {
	transform: translateY(-1px);
}

.ce-button--outline {
	border-color: var(--ce-color-white);
	background: transparent;
	color: var(--ce-color-white);
}

.ce-button--outline:hover,
.ce-button--outline:focus-visible {
	background: var(--ce-color-white);
	color: var(--ce-color-navy);
}

.ce-button--solid {
	border-color: var(--ce-color-navy);
	background: var(--ce-color-navy);
	color: var(--ce-color-white);
}

.ce-button--solid:hover,
.ce-button--solid:focus-visible {
	border-color: var(--ce-color-navy-hover);
	background: var(--ce-color-navy-hover);
	color: var(--ce-color-white);
}

.ce-home .ce-home-section {
	padding-block: clamp(2.75rem, 5vw, 5rem);
}

.ce-home .ce-home-section--objectives,
.ce-home .ce-home-section--technologies {
	background: var(--ce-color-white);
}

.ce-home .ce-home-section--treatments {
	background: var(--ce-color-paper);
}

.ce-home .ce-section-heading {
	margin-bottom: 1.25rem;
}

.ce-home .ce-section-heading h2 {
	margin: 0;
	font-size: clamp(1.45rem, 2.25vw, 2rem);
	letter-spacing: -0.025em;
	text-transform: uppercase;
}

.ce-home .ce-section-heading--split {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.ce-home .ce-section-heading__action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 8rem;
	min-height: 2.3rem;
	padding: 0.55rem 1.25rem;
	border-radius: var(--ce-radius-pill);
	background: var(--ce-color-navy);
	color: var(--ce-color-white);
	font-size: 0.63rem;
	font-weight: var(--ce-font-weight-bold);
	letter-spacing: 0.05em;
	text-decoration: none;
	text-transform: uppercase;
}

.ce-home .ce-section-heading__action:hover,
.ce-home .ce-section-heading__action:focus-visible {
	background: var(--ce-color-navy-hover);
	color: var(--ce-color-white);
}

.ce-carousel {
	position: relative;
}

.ce-carousel__viewport {
	overflow-x: auto;
	scroll-behavior: smooth;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
	padding: 0.15rem 0 0.75rem;
	-webkit-overflow-scrolling: touch;
}

.ce-carousel__viewport::-webkit-scrollbar {
	display: none;
}

.ce-carousel__track {
	display: flex;
	gap: 0.6rem;
}

.ce-carousel__item {
	flex: 0 0 calc((100% - 1.8rem) / 4);
	scroll-snap-align: start;
}

.ce-carousel__viewport {
	scroll-snap-type: x proximity;
}

.ce-carousel__controls {
	display: flex;
	justify-content: flex-end;
	gap: 0.5rem;
	margin-top: 0.55rem;
}

.ce-carousel__button {
	display: inline-grid;
	place-items: center;
	width: 2.25rem;
	height: 2.25rem;
	padding: 0;
	border: 1px solid var(--ce-color-navy);
	border-radius: var(--ce-radius-round);
	background: var(--ce-color-white);
	color: var(--ce-color-navy);
	font-size: 1rem;
	line-height: 1;
}

.ce-carousel__button:hover,
.ce-carousel__button:focus-visible {
	background: var(--ce-color-navy);
	color: var(--ce-color-white);
}

.ce-image-card {
	position: relative;
	overflow: hidden;
	min-height: 10.75rem;
	border-radius: var(--ce-radius-card);
	background: var(--ce-color-navy-deep);
	color: var(--ce-color-white);
}

.ce-image-card__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 280ms ease;
}

.ce-image-card__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(var(--ce-color-navy-rgb), 0.03) 20%, rgba(var(--ce-color-navy-deep-rgb), 0.52) 100%);
}

.ce-image-card h3 {
	position: absolute;
	inset: auto 0.75rem 1.3rem;
	z-index: 1;
	margin: 0;
	color: var(--ce-color-white);
	font-family: var(--ce-font-body);
	font-size: 0.69rem;
	font-weight: var(--ce-font-weight-bold);
	letter-spacing: 0.02em;
	line-height: 1.25;
	text-align: center;
	text-transform: uppercase;
}

.ce-image-card:hover .ce-image-card__image,
.ce-image-card:focus-visible .ce-image-card__image {
	transform: scale(1.04);
}

.ce-treatment-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.75rem;
}

.ce-treatment-card {
	display: block;
	min-height: clamp(13rem, 22vw, 19rem);
	text-decoration: none;
}

.ce-treatment-card h3 {
	font-size: clamp(0.62rem, 0.85vw, 0.74rem);
}

.ce-home-recommendation,
.ce-home-skinlab {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 15rem;
	overflow: hidden;
	background: var(--ce-color-paper);
	text-align: center;
}

.ce-home-recommendation__image,
.ce-home-skinlab__image {
	position: absolute;
	inset: 0;
}

.ce-home-recommendation__image .ce-theme-image,
.ce-home-skinlab__image .ce-theme-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ce-home-recommendation::after,
.ce-home-skinlab::after {
	position: absolute;
	inset: 0;
	content: '';
	background: rgba(var(--ce-color-white-rgb), 0.58);
}

.ce-home-recommendation__content,
.ce-home-skinlab__content {
	position: relative;
	z-index: 1;
	max-width: 38rem;
	padding: 3rem 1rem;
}

.ce-home-recommendation__content h2,
.ce-home-skinlab__content h2 {
	margin: 0;
	font-size: clamp(1.7rem, 3vw, 2.5rem);
	text-transform: uppercase;
}

.ce-home-recommendation__content p:not(.ce-eyebrow),
.ce-home-skinlab__content p:not(.ce-eyebrow) {
	margin: 0.75rem auto 1rem;
	max-width: 32rem;
	font-size: var(--ce-font-size-sm);
}

.ce-home-about {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: stretch;
	background: var(--ce-color-paper);
}

.ce-home-about__media {
	min-height: 32rem;
}

.ce-home-about__media .ce-theme-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ce-home-about__content {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	flex-direction: column;
	max-width: 35rem;
	padding: clamp(2.5rem, 7vw, 6rem);
}

.ce-home-about__content h2 {
	margin: 0;
	font-size: clamp(1.8rem, 3vw, 2.7rem);
	text-transform: uppercase;
}

.ce-home-about__content p:not(.ce-eyebrow) {
	max-width: 31rem;
	color: var(--ce-color-muted);
}

.ce-home-skinlab {
	min-height: 21rem;
}

.ce-home-skinlab::after {
	background: rgba(var(--ce-color-navy-rgb), 0.1);
}

.ce-home-skinlab__content {
	color: var(--ce-color-white);
}

.ce-home-skinlab__content h2,
.ce-home-skinlab__content .ce-eyebrow,
.ce-home-skinlab__content p {
	color: var(--ce-color-white);
}

.ce-home-valuation {
	padding-block: clamp(2.75rem, 5vw, 4.75rem);
	background: var(--ce-color-white);
	text-align: center;
}

.ce-home-valuation h2 {
	margin: 0;
	font-size: clamp(1.65rem, 3vw, 2.4rem);
	text-transform: uppercase;
}

.ce-home-valuation p:not(.ce-eyebrow) {
	max-width: 32rem;
	margin: 0.75rem auto 1.2rem;
	color: var(--ce-color-muted);
}

.ce-home-testimonials {
	padding-block: clamp(2.75rem, 5vw, 4.75rem);
	background: var(--ce-color-pink);
}

.ce-home-testimonials .ce-section-heading {
	margin-bottom: 1.25rem;
}

.ce-testimonial-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.ce-testimonial-card {
	margin: 0;
	padding: clamp(1.5rem, 3vw, 2rem);
	border-radius: var(--ce-radius-card);
	background: var(--ce-color-white);
	text-align: center;
}

.ce-testimonial-card p {
	margin: 0;
	font-size: var(--ce-font-size-sm);
}

.ce-testimonial-card__rating {
	margin-top: 0.75rem;
	color: var(--ce-color-navy);
	letter-spacing: 0.2em;
}

.ce-testimonial-card cite {
	display: block;
	margin-top: 0.35rem;
	font-size: var(--ce-font-size-sm);
	font-style: normal;
	font-weight: var(--ce-font-weight-semibold);
}

@media (max-width: 767px) {
	.ce-home .ce-home-hero,
	.ce-home .ce-home-hero__inner {
		min-height: 600px;
	}

	.ce-home .ce-home-hero__inner {
		width: 100%;
		padding: 7rem 1rem 2rem;
	}

	.ce-home .ce-home-hero h1 {
		font-size: clamp(2rem, 9vw, 3rem);
	}

	.ce-home .ce-home-hero__actions {
		align-items: stretch;
		flex-direction: column;
		width: min(100%, 15rem);
		margin-inline: auto;
	}

	.ce-home .ce-section-heading h2 {
		font-size: 1.25rem;
	}

	.ce-home .ce-section-heading--split {
		align-items: flex-start;
		flex-direction: column;
	}

	.ce-home .ce-section-heading__action {
		align-self: flex-end;
		min-height: 2rem;
	}

	.ce-carousel__item {
		flex-basis: calc(84% - 0.3rem);
	}

	.ce-home .ce-carousel__controls {
		display: none;
	}

	.ce-treatment-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.5rem;
	}

	.ce-treatment-card {
		min-height: 10.5rem;
	}

	.ce-image-card h3 {
		inset-inline: 0.4rem;
		bottom: 0.8rem;
		font-size: 0.58rem;
	}

	.ce-home-recommendation,
	.ce-home-skinlab {
		min-height: 30rem;
	}

	.ce-home-about {
		grid-template-columns: 1fr;
	}

	.ce-home-about__media {
		min-height: 0;
	}

	.ce-home-about__media .ce-theme-image {
		height: auto;
	}

	.ce-home-about__content {
		padding: 2.75rem 1rem 3.25rem;
	}

	.ce-testimonial-grid {
		grid-template-columns: 1fr;
	}

	.ce-testimonial-card:nth-child(2) {
		display: none;
	}
}

/* Corrección de composición: WordPress envuelve cada Group en un
 * .wp-block-group__inner-container. Las vistas Figma deben aplicar el layout
 * al contenedor real y no solo al wrapper editorial. */
.ce-home-editorial .wp-block-group__inner-container,
.ce-editorial-page .wp-block-group__inner-container {
	width: 100%;
	max-width: none;
	margin-inline: 0;
}

.ce-home-editorial .ce-container {
	width: min(calc(100% - 3rem), var(--ce-content-width-wide));
}

.ce-home-editorial .ce-home-hero__image > .wp-block-group__inner-container,
.ce-home-editorial .ce-home-recommendation__image > .wp-block-group__inner-container,
.ce-home-editorial .ce-home-skinlab__image > .wp-block-group__inner-container,
.ce-home-editorial .ce-home-about__media > .wp-block-group__inner-container,
.ce-editorial-page .ce-figma-about-hero__image > .wp-block-group__inner-container,
.ce-editorial-page .ce-figma-contact-hero__image > .wp-block-group__inner-container {
	height: 100%;
}

.ce-home-editorial .ce-home-recommendation__image .ce-theme-image,
.ce-home-editorial .ce-home-skinlab__image .ce-theme-image,
.ce-home-editorial .ce-home-about__media .ce-theme-image {
	width: 100%;
	height: 100%;
}

.ce-home-editorial .ce-home-recommendation__image .ce-theme-image img,
.ce-home-editorial .ce-home-skinlab__image .ce-theme-image img,
.ce-home-editorial .ce-home-about__media .ce-theme-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ce-home-editorial .ce-home-hero__inner > .wp-block-group__inner-container,
.ce-editorial-page .ce-figma-about-hero__copy > .wp-block-group__inner-container,
.ce-editorial-page .ce-figma-contact-hero__copy > .wp-block-group__inner-container {
	display: grid;
	place-items: center;
	height: 100%;
}

.ce-home-editorial .ce-home-hero__copy > .wp-block-group__inner-container,
.ce-home-editorial .ce-home-recommendation__content > .wp-block-group__inner-container,
.ce-home-editorial .ce-home-skinlab__content > .wp-block-group__inner-container,
.ce-home-editorial .ce-home-about__content > .wp-block-group__inner-container,
.ce-editorial-page .ce-figma-split__copy > .wp-block-group__inner-container,
.ce-editorial-page .ce-figma-process-card__copy > .wp-block-group__inner-container,
.ce-editorial-page .ce-figma-contact-copy > .wp-block-group__inner-container,
.ce-editorial-page .ce-figma-contact-cta > .wp-block-group__inner-container {
	width: 100%;
}

.ce-home-editorial .ce-home-hero__actions > .wp-block-group__inner-container,
.ce-home-editorial .ce-section-heading--split > .wp-block-group__inner-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	width: 100%;
}

.ce-home-editorial .ce-home-hero__actions > .wp-block-group__inner-container {
	justify-content: center;
	flex-wrap: wrap;
}

.ce-home-editorial .ce-carousel > .wp-block-group__inner-container,
.ce-home-editorial .ce-carousel__viewport > .wp-block-group__inner-container,
.ce-home-editorial .ce-carousel__track > .wp-block-group__inner-container {
	width: 100%;
}

.ce-home-editorial .ce-carousel__track > .wp-block-group__inner-container {
	display: flex;
	gap: 0.6rem;
}

.ce-home-editorial .ce-home-about__content > .wp-block-group__inner-container {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	flex-direction: column;
	height: 100%;
}

.ce-home-editorial .ce-home-hero__copy h1,
.ce-home-editorial .ce-home-hero__copy p,
.ce-editorial-page .ce-figma-about-hero__copy h1,
.ce-editorial-page .ce-figma-contact-hero__copy p {
	margin-top: 0;
}

.ce-home-editorial .ce-home-hero__copy h1 {
	margin-bottom: 0;
}

.ce-home-editorial .ce-home-hero__copy {
	width: min(100%, 48rem);
	text-align: center;
}

.ce-home-editorial .ce-image-card__image,
.ce-home-editorial .ce-image-card__image img,
.ce-editorial-page .ce-image-card__image,
.ce-editorial-page .ce-image-card__image img {
	display: block;
	width: 100%;
	height: 100%;
}

.ce-home-editorial .ce-image-card__image img,
.ce-editorial-page .ce-image-card__image img {
	object-fit: cover;
}

.ce-home-editorial .ce-home-section--objectives .ce-image-card,
.ce-home-editorial .ce-home-section--technologies .ce-image-card {
	min-height: 17rem;
}

.ce-home-editorial .ce-home-section--technologies .ce-carousel__item {
	flex-basis: calc((100% - 1.2rem) / 3);
}

.ce-home-editorial .ce-home-section--treatments .ce-treatment-card h3 a {
	color: var(--ce-color-white);
}

/* WordPress aplica un layout flex propio a los bloques Columns. Figma v2
 * necesita una cuadrícula explícita y el grid About debe vivir en el
 * contenedor interno que WordPress genera para Group. */
.ce-home-editorial .ce-treatment-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ce-home-editorial .ce-home-about > .wp-block-group__inner-container {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: stretch;
}

.ce-home-editorial .ce-home-about {
	display: block;
}

.ce-editorial-page .ce-figma-about-hero__copy,
.ce-editorial-page .ce-figma-contact-hero__copy {
	width: min(calc(100% - 2rem), 58rem);
}

.ce-editorial-page .ce-figma-split > .wp-block-column,
.ce-editorial-page .ce-figma-contact-information > .wp-block-column {
	min-width: 0;
}

.ce-editorial-page .ce-figma-split__copy > .wp-block-group__inner-container {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	height: 100%;
}

.ce-editorial-page .ce-figma-values > .wp-block-group__inner-container,
.ce-editorial-page .ce-figma-process > .wp-block-group__inner-container {
	width: 100%;
	text-align: center;
}

.ce-editorial-page .ce-figma-value-grid > .wp-block-group__inner-container,
.ce-editorial-page .ce-figma-process-grid > .wp-block-group__inner-container {
	display: grid;
	width: 100%;
	gap: 0.75rem;
}

.ce-editorial-page .ce-figma-value-grid > .wp-block-group__inner-container {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ce-editorial-page .ce-figma-process-grid > .wp-block-group__inner-container {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ce-editorial-page .ce-figma-process-card__copy > .wp-block-group__inner-container {
	position: static;
}

.ce-editorial-page .ce-figma-contact-copy > .wp-block-group__inner-container,
.ce-editorial-page .ce-figma-contact-cta > .wp-block-group__inner-container {
	display: flex;
	flex-direction: column;
}

@media (min-width: 768px) {
	.ce-home-editorial .ce-home-hero__inner > .wp-block-group__inner-container {
		justify-items: end;
	}

	.ce-home-editorial .ce-home-hero__copy {
		margin-right: clamp(2rem, 8vw, 9rem);
	}
}

@media (max-width: 767px) {
	.ce-home-editorial .ce-container {
		width: min(calc(100% - 2rem), var(--ce-content-width-wide));
	}

	.ce-home-editorial .ce-home-hero__actions > .wp-block-group__inner-container,
	.ce-home-editorial .ce-section-heading--split > .wp-block-group__inner-container {
		align-items: stretch;
		flex-direction: column;
	}

	.ce-home-editorial .ce-home-hero__actions > .wp-block-group__inner-container {
		width: min(100%, 15rem);
	}

	.ce-home-editorial .ce-home-hero__actions .wp-block-button,
	.ce-home-editorial .ce-home-hero__actions .wp-block-button__link {
		width: 100%;
	}

	.ce-home-editorial .ce-section-heading__action {
		align-self: flex-end;
	}

	.ce-home-editorial .ce-home-section--objectives .ce-image-card,
	.ce-home-editorial .ce-home-section--technologies .ce-image-card {
		min-height: 16rem;
	}

	.ce-editorial-page .ce-figma-value-grid > .wp-block-group__inner-container,
	.ce-editorial-page .ce-figma-process-grid > .wp-block-group__inner-container {
		grid-template-columns: 1fr;
	}
}

/* Páginas editoriales, blog y contenido legal. */
.ce-editorial-cta {
	padding-block: clamp(3.5rem, 7vw, 6.5rem);
	background-color: var(--ce-color-forest);
	color: var(--ce-color-white);
	text-align: center;
}

.ce-editorial-cta h2 {
	margin-top: 0;
	color: var(--ce-color-white);
	font-size: clamp(2rem, 4vw, 3.5rem);
}

.ce-editorial-cta p {
	max-width: 36rem;
	margin-inline: auto;
	color: var(--ce-color-white);
	opacity: 0.86;
}

.ce-editorial-cta .button {
	margin-top: 0.75rem;
	border-color: var(--ce-color-white);
	background-color: var(--ce-color-white);
	color: var(--ce-color-forest);
}

.ce-editorial-cta .button:hover,
.ce-editorial-cta .button:focus {
	border-color: var(--ce-color-sage);
	background-color: var(--ce-color-sage);
	color: var(--ce-color-forest-hover);
}

.ce-about-hero,
.ce-contact-hero,
.ce-blog-hero,
.ce-faqs-hero,
.ce-legal-hero {
	background-color: var(--ce-color-paper);
}

.ce-about-hero__inner,
.ce-contact-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
	align-items: center;
	gap: clamp(2rem, 7vw, 7rem);
	padding-block: clamp(4rem, 9vw, 8rem);
}

.ce-about-hero__content,
.ce-contact-hero__inner > div:first-child {
	max-width: 45rem;
}

.ce-about-hero h1,
.ce-contact-hero h1,
.ce-blog-hero h1,
.ce-faqs-hero h1,
.ce-legal-hero h1 {
	margin: 0;
	color: var(--ce-color-forest);
	font-size: var(--ce-font-size-display);
	letter-spacing: -0.04em;
}

.ce-about-hero__content > p:last-child,
.ce-contact-hero__inner > div:first-child > p:last-child,
.ce-blog-hero__inner > p:last-child,
.ce-faqs-hero__inner > p:last-child {
	max-width: 38rem;
	margin: 1.5rem 0 0;
	color: var(--ce-color-muted);
	font-size: var(--ce-font-size-lg);
}

.ce-about-hero__media .ce-image-placeholder,
.ce-contact-hero__media .ce-image-placeholder {
	min-height: 22rem;
}

.ce-about-content {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(2rem, 8vw, 8rem);
	padding-block: clamp(3.5rem, 7vw, 6.5rem);
}

.ce-about-content__media .ce-image-placeholder {
	min-height: 25rem;
}

.ce-about-content__copy {
	max-width: 36rem;
}

.ce-about-content__copy h2,
.ce-about-team h2 {
	margin-top: 0;
	color: var(--ce-color-forest);
	font-size: clamp(2rem, 4vw, 3.5rem);
}

.ce-about-content__copy p:last-child,
.ce-about-team .ce-section-heading > p:last-child {
	color: var(--ce-color-muted);
}

.ce-about-team {
	padding-block: clamp(3.5rem, 7vw, 6.5rem);
	background-color: var(--ce-color-paper);
}

.ce-contact-information {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: clamp(2rem, 8vw, 8rem);
	padding-block: clamp(3.5rem, 7vw, 6.5rem);
}

.ce-contact-information__copy {
	max-width: 34rem;
}

.ce-contact-information__copy h2 {
	margin-top: 0;
	color: var(--ce-color-forest);
	font-size: clamp(2rem, 4vw, 3.5rem);
}

.ce-contact-information__copy p:last-child,
.ce-contact-detail p {
	color: var(--ce-color-muted);
}

.ce-contact-information__details {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.ce-contact-detail {
	padding: 1.5rem;
	border: 1px solid var(--ce-color-line);
	background: var(--ce-color-white);
}

.ce-contact-detail h3 {
	margin-top: 0;
	color: var(--ce-color-forest);
	font-size: var(--ce-font-size-xl);
}

.ce-blog-hero__inner,
.ce-faqs-hero__inner,
.ce-legal-hero__inner {
	padding-block: clamp(4rem, 9vw, 8rem);
}

.ce-blog-list,
.ce-faqs-content,
.ce-legal-content {
	padding-block: clamp(3.5rem, 7vw, 6.5rem);
}

.ce-blog-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
}

.ce-blog-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	border: 1px solid var(--ce-color-line);
	background: var(--ce-color-white);
}

.ce-blog-card--featured {
	grid-column: span 2;
	grid-row: span 2;
}

.ce-blog-card__image,
.ce-post-card__image {
	display: block;
	background: var(--ce-color-sage-soft);
}

.ce-blog-card__image img,
.ce-post-card__image img {
	display: block;
	width: 100%;
}

.ce-blog-card__content,
.ce-post-card__content {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	padding: 1.5rem;
}

.ce-blog-card__date,
.ce-post-card__date {
	margin: 0 0 0.75rem;
	color: var(--ce-color-muted);
	font-size: var(--ce-font-size-sm);
}

.ce-blog-card h2 {
	margin-top: 0;
	font-size: var(--ce-font-size-xl);
}

.ce-blog-card--featured h2 {
	font-size: clamp(2rem, 3.5vw, 3rem);
}

.ce-blog-card h2 a,
.ce-post-card h3 a {
	text-decoration: none;
}

.ce-blog-card__excerpt {
	color: var(--ce-color-muted);
}

.ce-blog-card .ce-text-link,
.ce-post-card .ce-text-link {
	margin-top: auto;
	padding-top: 1rem;
}

.ce-blog .navigation.pagination {
	margin-top: 2.5rem;
}

.ce-blog .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
}

.ce-blog .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	min-height: 2.5rem;
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--ce-color-line);
	text-decoration: none;
}

.ce-blog .page-numbers.current {
	border-color: var(--ce-color-forest);
	background: var(--ce-color-forest);
	color: var(--ce-color-white);
}

.ce-faqs-content {
	max-width: calc(var(--ce-content-width-narrow) + 3rem);
}

.ce-faq-list {
	border-top: 1px solid var(--ce-color-line);
}

.ce-faq-item {
	border-bottom: 1px solid var(--ce-color-line);
}

.ce-faq-item summary {
	padding: 1.25rem 0;
	color: var(--ce-color-forest);
	cursor: pointer;
	font-family: var(--ce-font-display);
	font-size: var(--ce-font-size-lg);
}

.ce-faq-item p {
	max-width: 44rem;
	margin: 0 0 1.25rem;
	color: var(--ce-color-muted);
}

.ce-legal-content {
	max-width: calc(var(--ce-content-width-narrow) + 3rem);
}

.ce-legal-empty {
	padding: 1.5rem;
	border-left: 3px solid var(--ce-color-clay);
	background: var(--ce-color-sage-soft);
	color: var(--ce-color-muted);
}

.ce-legal-empty p {
	margin: 0;
}

/* Figma v2: contenido editorial insertado desde bloques nativos. */
.ce-home-editorial,
.ce-editorial-page {
	width: 100%;
	padding: 0;
}

.ce-home-editorial .entry-content,
.ce-editorial-page .entry-content {
	max-width: none;
	margin: 0;
}

.ce-home-editorial .entry-content > *,
.ce-editorial-page .entry-content > * {
	margin-block-start: 0;
	margin-block-end: 0;
}

.ce-home-editorial .wp-block-group,
.ce-editorial-page .wp-block-group,
.ce-home-editorial .wp-block-columns,
.ce-editorial-page .wp-block-columns,
.ce-home-editorial .wp-block-column,
.ce-editorial-page .wp-block-column {
	margin-block-start: 0;
	margin-block-end: 0;
}

.ce-home-editorial .wp-block-image,
.ce-editorial-page .wp-block-image {
	margin: 0;
}

.ce-home-editorial .ce-mobile-only,
.ce-editorial-page .ce-mobile-only {
	display: none;
}

.ce-home-editorial .ce-home-hero__shade,
.ce-editorial-page .ce-figma-about-hero__shade,
.ce-editorial-page .ce-figma-contact-hero__shade {
	min-height: 0;
}

.ce-home-editorial .ce-home-hero__actions,
.ce-home-editorial .ce-home-hero__actions .wp-block-buttons,
.ce-home-editorial .ce-home-valuation .wp-block-button,
.ce-editorial-page .ce-button {
	margin-block-start: 1rem;
}

.ce-home-editorial .ce-home-hero__actions .wp-block-button,
.ce-home-editorial .ce-home-recommendation__content .wp-block-button,
.ce-home-editorial .ce-home-skinlab__content .wp-block-button,
.ce-home-editorial .ce-home-valuation .wp-block-button,
.ce-editorial-page .ce-button {
	display: inline-flex;
}

.ce-home-editorial .ce-button .wp-block-button__link,
.ce-editorial-page .ce-button .wp-block-button__link {
	min-height: 2.65rem;
	border-radius: var(--ce-radius-pill);
}

.ce-home-editorial .wp-block-button.ce-button {
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
}

.ce-editorial-page .wp-block-button.ce-button {
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
}

.ce-home-editorial .wp-block-button.ce-section-heading__action {
	min-width: 0;
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
}

.ce-home-editorial .ce-button--outline .wp-block-button__link,
.ce-editorial-page .ce-button--outline .wp-block-button__link {
	border: 1px solid var(--ce-color-white);
	background: transparent;
	color: var(--ce-color-white);
}

.ce-home-editorial .ce-button--solid .wp-block-button__link,
.ce-editorial-page .ce-button--solid .wp-block-button__link {
	border: 1px solid var(--ce-color-navy);
	background: var(--ce-color-navy);
	color: var(--ce-color-white);
}

.ce-home-editorial .ce-button--outline .wp-block-button__link:hover,
.ce-home-editorial .ce-button--outline .wp-block-button__link:focus-visible {
	background: var(--ce-color-white);
	color: var(--ce-color-navy);
}

.ce-home-editorial .ce-button--solid .wp-block-button__link:hover,
.ce-home-editorial .ce-button--solid .wp-block-button__link:focus-visible {
	border-color: var(--ce-color-navy-hover);
	background: var(--ce-color-navy-hover);
}

.ce-home-editorial .ce-section-heading__action,
.ce-home-editorial .ce-section-heading__action .wp-block-button__link {
	margin: 0;
}

.ce-home-editorial .ce-section-heading__action .wp-block-button__link {
	min-width: 8rem;
	min-height: 2.3rem;
	padding: 0.55rem 1.25rem;
	border: 0;
	border-radius: var(--ce-radius-pill);
	background: var(--ce-color-navy);
	font-size: 0.63rem;
	text-decoration: none;
}

.ce-home-editorial .ce-section-heading__action .wp-block-button__link:hover,
.ce-home-editorial .ce-section-heading__action .wp-block-button__link:focus-visible {
	background: var(--ce-color-navy-hover);
}

.ce-home-editorial .ce-carousel__track {
	align-items: stretch;
}

.ce-home-editorial .ce-carousel__track > .ce-carousel__item {
	min-width: 0;
}

.ce-home-editorial .ce-carousel__controls {
	display: flex;
	justify-content: flex-end;
	gap: 0.5rem;
	margin-top: 0.55rem;
}

.ce-home-editorial .ce-carousel__controls button {
	display: inline-grid;
	place-items: center;
	width: 2.25rem;
	height: 2.25rem;
	padding: 0;
	border: 1px solid var(--ce-color-navy);
	border-radius: var(--ce-radius-round);
	background: var(--ce-color-white);
	color: var(--ce-color-navy);
	font-size: 1rem;
}

.ce-home-editorial .ce-carousel__controls button:hover,
.ce-home-editorial .ce-carousel__controls button:focus-visible {
	background: var(--ce-color-navy);
	color: var(--ce-color-white);
}

.ce-home-editorial .ce-image-card h3 a,
.ce-home-editorial .ce-image-card h3 a:hover,
.ce-home-editorial .ce-image-card h3 a:focus-visible {
	color: var(--ce-color-white);
	text-decoration: none;
}

.ce-home-editorial .ce-home-testimonials .wp-block-quote {
	margin: 0;
	border: 0;
}

.ce-home-editorial .ce-home-testimonials .wp-block-quote p:not(.ce-testimonial-card__rating) {
	margin: 0;
}

/* ABOUT v2. */
.ce-editorial-page--about .entry-content {
	color: var(--ce-color-ink);
}

.ce-figma-about-hero,
.ce-figma-contact-hero {
	position: relative;
	min-height: min(700px, 76vw);
	overflow: hidden;
	background: var(--ce-color-navy-deep);
}

.ce-figma-contact-hero,
.ce-figma-contact-hero__copy {
	min-height: min(620px, 50vw);
}

.ce-figma-about-hero__image,
.ce-figma-contact-hero__image {
	position: absolute;
	inset: 0;
}

.ce-figma-about-hero__image .ce-theme-image,
.ce-figma-contact-hero__image .ce-theme-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ce-figma-about-hero::after,
.ce-figma-contact-hero::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(var(--ce-color-navy-deep-rgb), 0.5), rgba(var(--ce-color-navy-deep-rgb), 0.08));
	content: '';
}

.ce-figma-about-hero__copy,
.ce-figma-contact-hero__copy {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	width: min(calc(100% - 2rem), 50rem);
	min-height: min(700px, 76vw);
	margin-inline: auto;
	padding: 8rem 1rem 4rem;
	color: var(--ce-color-white);
	text-align: center;
}

.ce-figma-contact-hero__copy {
	min-height: min(620px, 50vw);
}

.ce-figma-about-hero__copy h1,
.ce-figma-contact-hero__copy h1,
.ce-figma-contact-hero__copy p {
	color: var(--ce-color-white);
}

.ce-figma-about-hero__copy h1 {
	max-width: 46rem;
	margin: 0;
	font-size: clamp(2rem, 3vw, 2.65rem);
}

.ce-figma-split {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: stretch;
	background: var(--ce-color-white);
}

.ce-figma-split .wp-block-column {
	min-width: 0;
}

.ce-figma-split__media {
	min-height: 33rem;
}

.ce-figma-split__media .ce-theme-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ce-figma-split__copy {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	padding: clamp(2.5rem, 7vw, 6rem);
	text-align: center;
}

.ce-figma-split__copy h2,
.ce-figma-values > h2,
.ce-figma-process > h2,
.ce-figma-contact-copy h2,
.ce-figma-contact-cta h2 {
	margin: 0;
	font-size: clamp(1.9rem, 3.4vw, 3rem);
	text-transform: uppercase;
}

.ce-figma-split__copy > p:not(.ce-figma-quote) {
	max-width: 34rem;
	margin: 1rem auto 0;
	color: var(--ce-color-muted);
}

.ce-figma-quote {
	max-width: 28rem;
	margin: 1.5rem auto 0;
	color: var(--ce-color-navy);
	font-family: var(--ce-font-display);
	font-style: italic;
}

.ce-figma-values {
	padding: clamp(3rem, 6vw, 5rem) min(3rem, 5vw);
	background: var(--ce-color-pink);
	text-align: center;
}

.ce-figma-values > p {
	max-width: 58rem;
	margin: 1rem auto 2rem;
	color: var(--ce-color-muted);
}

.ce-figma-value-grid,
.ce-figma-process-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.75rem;
}

.ce-figma-value-card {
	padding: 1.6rem 1.2rem;
	border-radius: var(--ce-radius-card);
	background: var(--ce-color-white);
}

.ce-figma-value-card h3 {
	margin: 0;
	font-family: var(--ce-font-body);
	font-size: 0.78rem;
	font-weight: var(--ce-font-weight-bold);
	text-transform: uppercase;
}

.ce-figma-value-card p {
	margin: 0.65rem 0 0;
	color: var(--ce-color-muted);
	font-size: var(--ce-font-size-sm);
}

.ce-figma-split--space .ce-figma-split__copy {
	background: var(--ce-color-white);
}

.ce-figma-process {
	padding: clamp(3.5rem, 7vw, 6rem) min(3rem, 5vw);
	text-align: center;
}

.ce-figma-process > h2 {
	margin-bottom: 2rem;
}

.ce-figma-process-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	max-width: 75rem;
	margin-inline: auto;
}

.ce-figma-process-card {
	min-height: 22rem;
	border-radius: var(--ce-radius-card);
	color: var(--ce-color-white);
}

.ce-figma-process-card .ce-image-card__image {
	position: absolute;
	margin: 0;
}

.ce-figma-process-card__copy {
	position: absolute;
	inset: auto 1.25rem 1.4rem;
	z-index: 1;
}

.ce-figma-process-card__copy h3 {
	position: static;
	margin: 0;
	font-size: 0.78rem;
}

.ce-figma-process-card__copy p {
	margin: 0.5rem 0 0;
	font-size: var(--ce-font-size-sm);
}

.ce-figma-process > .ce-button {
	margin-top: 1.75rem;
}

/* CONTACTO v2. */
.ce-editorial-page--contact .entry-content {
	background: var(--ce-color-white);
}

.ce-figma-contact-hero__copy {
	align-items: center;
}

.ce-figma-contact-hero__lead {
	max-width: 40rem;
	margin: 0;
	font-size: clamp(1rem, 1.5vw, 1.25rem);
	font-weight: var(--ce-font-weight-semibold);
}

.ce-editorial-page--contact .ce-figma-contact-copy h2 {
	font-size: clamp(1.5rem, 2vw, 2rem);
}

.ce-figma-contact-information {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	align-items: stretch;
}

.ce-figma-contact-copy {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	padding: clamp(2.5rem, 7vw, 6rem) clamp(1.25rem, 6vw, 5rem);
	text-align: start;
}

.ce-figma-contact-copy > :is(h2, p) {
	width: min(100%, 34rem);
}

.ce-figma-contact-copy > p {
	margin: 1rem 0 0;
	color: var(--ce-color-muted);
}

.ce-figma-contact-copy > :is(.ce-contact-data, .ce-contact-schedule) {
	margin-block-start: 1.5rem;
	color: var(--ce-color-muted);
	font-size: var(--ce-font-size-sm);
}

.ce-contact-data a {
	color: var(--ce-color-navy);
}

.ce-contact-schedule {
	line-height: 1.9;
}

/* Iconos decorativos de Contacto, compartidos con el lienzo de Gutenberg. */
.ce-figma-contact-copy .ce-contact-detail-link {
	display: inline-block;
	position: relative;
	max-width: 100%;
	padding-inline-start: 1.5rem;
	margin-block-end: 0.5rem;
	overflow-wrap: anywhere;
}

.ce-figma-contact-copy .ce-contact-detail-link:last-child {
	margin-block-end: 0;
}

.ce-figma-contact-copy :is(.ce-contact-detail-link, .ce-contact-schedule)::before {
	position: absolute;
	inset-inline-start: 0;
	inset-block-start: 0.25em;
	width: 1rem;
	height: 1rem;
	background-color: var(--ce-color-muted);
	mask: var(--ce-contact-icon) center / contain no-repeat;
	content: '';
}

.ce-contact-detail-link--phone {
	--ce-contact-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.5 15.5 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.24c1.12.37 2.33.57 3.6.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1C10.61 21 3 13.39 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.46.57 3.59a1 1 0 0 1-.25 1.01z'/%3E%3C/svg%3E");
}

.ce-contact-detail-link--whatsapp {
	--ce-contact-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 2a9.75 9.75 0 0 0-8.4 14.7L2 22l5.5-1.55A9.75 9.75 0 1 0 12 2ZM8.4 6.9c.3 0 .5.02.7.46l.96 2.23c.1.23.09.41-.05.6l-.65.79c-.16.2-.1.37.05.6a8.3 8.3 0 0 0 3.6 3.1c.29.12.45.1.62-.1l.96-1.09c.16-.18.32-.2.57-.09l2.1 1c.26.13.39.25.39.44.02.55-.28 1.56-.97 1.98-.64.39-1.43.63-2.94.09a11.9 11.9 0 0 1-6-4.89c-.65-.91-.94-1.76-.94-2.55 0-.94.38-1.66 1-2.25.18-.18.37-.32.6-.32Z'/%3E%3C/svg%3E");
}

.ce-contact-detail-link--email {
	--ce-contact-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M3 4h18a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2zm-.3 2.2a.75.75 0 0 0 .04 1.06l8.74 8a.75.75 0 0 0 1.02 0l8.74-8a.75.75 0 1 0-1.02-1.1L12 13.7 3.76 6.16a.75.75 0 0 0-1.06.04z'/%3E%3C/svg%3E");
}

.ce-contact-detail-link--location {
	--ce-contact-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 1a8.5 8.5 0 0 0-8.5 8.5c0 5.6 8.5 13.5 8.5 13.5s8.5-7.9 8.5-13.5A8.5 8.5 0 0 0 12 1zm0 4.8a3.7 3.7 0 1 0 0 7.4 3.7 3.7 0 0 0 0-7.4z'/%3E%3C/svg%3E");
}

.ce-figma-contact-copy .ce-contact-schedule {
	--ce-contact-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 1a11 11 0 1 0 0 22 11 11 0 0 0 0-22zm-.75 4a.75.75 0 0 1 1.5 0v6.25H17a.75.75 0 0 1 0 1.5h-5a.75.75 0 0 1-.75-.75z'/%3E%3C/svg%3E");
	position: relative;
	padding-inline-start: 1.5rem;
}

.ce-figma-contact-map {
	min-height: 38rem;
}

.ce-figma-map,
.ce-figma-map iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 38rem;
	border: 0;
}

.ce-figma-contact-cta {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	min-height: 16rem;
	padding: 3rem 1rem;
	background: var(--ce-color-clay);
	background-image: url('../images/figma-v3/contact/textura-desktop.webp');
	background-position: center;
	background-size: cover;
	color: var(--ce-color-white);
	text-align: center;
}

.ce-figma-contact-cta h2,
.ce-figma-contact-cta p {
	color: var(--ce-color-white);
}

.ce-figma-contact-cta p {
	max-width: 42rem;
	margin: 1rem auto 0;
}

@media (max-width: 767px) {
	.ce-home-editorial .ce-desktop-only,
	.ce-editorial-page .ce-desktop-only {
		display: none;
	}

	.ce-home-editorial .ce-mobile-only,
	.ce-editorial-page .ce-mobile-only {
		display: block;
	}

	.ce-home-editorial .ce-carousel__controls {
		display: none;
	}

	.ce-home-editorial .ce-home-hero,
	.ce-home-editorial .ce-home-hero__inner {
		min-height: 600px;
	}

	.ce-home-editorial .ce-home-hero__inner {
		width: 100%;
		padding: 7rem 1rem 2rem;
	}

	.ce-home-editorial .ce-home-hero h1 {
		font-size: clamp(2rem, 9vw, 3rem);
	}

	.ce-home-editorial .ce-home-hero__actions {
		align-items: stretch;
		flex-direction: column;
		width: min(100%, 15rem);
		margin-inline: auto;
	}

	.ce-home-editorial .ce-home-hero__actions .wp-block-button {
		width: 100%;
	}

	.ce-home-editorial .ce-home-hero__actions .wp-block-button__link {
		width: 100%;
	}

	.ce-home-editorial .ce-section-heading--split {
		align-items: center;
		flex-direction: row;
	}

	.ce-home-editorial .ce-section-heading--split > .wp-block-group__inner-container {
		align-items: center;
		flex-direction: row;
	}

	.ce-home-editorial .ce-section-heading--split h2 {
		max-width: 55%;
		font-size: clamp(1rem, 4.3vw, 1.25rem);
	}

	.ce-home-editorial .ce-section-heading__action {
		align-self: center;
		min-width: 7rem;
		padding-inline: 0.55rem;
	}

	.ce-home-editorial .ce-section-heading__action .wp-block-button__link {
		min-width: clamp(7rem, 34vw, 8rem);
		padding-inline: 0.55rem;
		font-size: 0.58rem;
		white-space: nowrap;
	}

	.ce-home-editorial .ce-treatment-grid {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ce-home-editorial .ce-home-about > .wp-block-group__inner-container {
		display: block;
	}

	.ce-figma-about-hero,
	.ce-figma-contact-hero,
	.ce-figma-about-hero__copy,
	.ce-figma-contact-hero__copy {
		min-height: 350px;
	}

	.ce-figma-about-hero,
	.ce-figma-about-hero__copy {
		min-height: 320px;
	}

	.ce-figma-about-hero__copy,
	.ce-figma-contact-hero__copy {
		padding: 6rem 1rem 2rem;
	}

	.ce-figma-about-hero__copy h1 {
		font-size: clamp(1.35rem, 6vw, 2.25rem);
	}

	.ce-figma-split,
	.ce-figma-contact-information {
		display: block;
	}

	.ce-figma-split__media,
	.ce-figma-contact-map,
	.ce-figma-map iframe {
		min-height: 24rem;
	}

	.ce-figma-split__copy {
		min-height: 20rem;
		padding: 3.5rem 1rem;
	}

	.ce-figma-split--space .ce-figma-split__media {
		order: 2;
	}

	.ce-figma-value-grid,
	.ce-figma-process-grid {
		grid-template-columns: 1fr;
	}

	.ce-figma-values {
		padding-inline: 1rem;
	}

	.ce-figma-process {
		padding-inline: 1rem;
	}

	.ce-figma-process-card {
		min-height: 20rem;
	}

	.ce-figma-contact-copy {
		min-height: 42rem;
		padding: 3.5rem 1rem;
	}

	.ce-figma-contact-cta {
		min-height: 21rem;
		background-image: url('../images/figma-v3/contact/textura-mobile.webp');
	}
}

/* Páginas editoriales de Figma v3. */
.ce-editorial-page .ce-v3-hero,
.ce-editorial-page .ce-v3-banner {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--ce-color-navy-deep);
	text-align: center;
}

.ce-editorial-page .ce-v3-hero {
	min-height: 43.75rem;
}

.ce-editorial-page .ce-v3-banner {
	min-height: 15rem;
}

.ce-editorial-page :is(.ce-v3-hero__media, .ce-v3-banner__media) {
	position: absolute;
	inset: 0;
	z-index: -2;
}

.ce-editorial-page :is(.ce-v3-hero, .ce-v3-banner)::before {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(var(--ce-color-navy-deep-rgb), 0.19);
	pointer-events: none;
	content: '';
}

.ce-editorial-page :is(.ce-v3-hero__media, .ce-v3-banner__media, .ce-v3-treatment__media) :is(.wp-block-group__inner-container, .wp-block-image, img),
.ce-editorial-page--about .ce-figma-split__media :is(.wp-block-image, img),
.ce-editorial-page :is(.ce-figma-about-hero__image, .ce-figma-contact-hero__image) :is(.wp-block-image, img) {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ce-editorial-page .ce-v3-hero__copy {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 43.75rem;
	padding: 3rem 1rem;
}

.ce-editorial-page .ce-v3-hero__copy > .wp-block-group__inner-container {
	display: grid;
	place-items: center;
}

.ce-editorial-page .ce-v3-hero h1 {
	max-width: 53rem;
	margin: 0;
	color: var(--ce-color-white);
	font-size: clamp(2rem, 4vw, 3.375rem);
	line-height: 1;
	text-transform: uppercase;
}

.ce-editorial-page .ce-v3-hero__actions {
	position: absolute;
	inset-inline: 1rem;
	inset-block-end: 4.75rem;
}

.ce-editorial-page .ce-v3-hero__actions p,
.ce-editorial-page .ce-v3-banner p {
	color: var(--ce-color-white);
	font-size: 1rem;
	font-weight: var(--ce-font-weight-semibold);
	line-height: 1.2;
}

.ce-editorial-page .ce-v3-hero__actions p {
	margin: 0 auto 1.375rem;
}

.ce-editorial-page :is(.ce-v3-hero, .ce-v3-banner, .ce-v3-treatment, .ce-v3-card) .wp-block-buttons {
	display: flex;
	justify-content: center;
	margin: 0;
}

.ce-editorial-page :is(.ce-v3-hero, .ce-v3-banner, .ce-v3-treatment, .ce-v3-card) .wp-block-button {
	margin: 0;
}

.ce-editorial-page :is(.ce-v3-hero, .ce-v3-banner, .ce-v3-treatment, .ce-v3-card) .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: min(22.5rem, 80vw);
	min-height: 3.8125rem;
	font-size: 1.125rem;
	line-height: 1.08;
}

.ce-editorial-page :is(.ce-v3-treatment, .ce-v3-card) .wp-block-button__link {
	border-color: var(--ce-color-footer);
	background: var(--ce-color-footer);
}

.ce-editorial-page .ce-v3-banner__copy {
	display: grid;
	align-content: center;
	min-height: 15rem;
	padding: 1.5rem 1rem;
}

.ce-editorial-page .ce-v3-banner h2 {
	margin: 0;
	color: var(--ce-color-white);
	font-size: clamp(1.25rem, 2vw, 1.5rem);
	text-transform: uppercase;
}

.ce-editorial-page .ce-v3-banner p {
	max-width: 28rem;
	margin: 1.25rem auto;
}

.ce-editorial-page .ce-v3-banner .wp-block-buttons.ce-mobile-only {
	display: none;
}

.ce-editorial-page .ce-v3-treatment {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0;
}

.ce-editorial-page .ce-v3-treatment--reverse .ce-v3-treatment__media {
	order: 1;
}

.ce-editorial-page .ce-v3-treatment__media {
	aspect-ratio: 720 / 700;
}

.ce-editorial-page .ce-v3-treatment__copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 3rem clamp(1.25rem, 5vw, 5.5rem);
	text-align: center;
}

.ce-editorial-page .ce-v3-treatment h2,
.ce-editorial-page--about .ce-figma-split__copy h2 {
	margin: 0;
	font-size: clamp(1.25rem, 1.8vw, 1.5rem);
	text-transform: uppercase;
}

.ce-editorial-page .ce-v3-treatment p {
	max-width: 36rem;
	margin: 2.5rem 0 1.875rem;
	line-height: 1.2;
}

.ce-editorial-page .ce-v3-cards {
	padding: 4.375rem clamp(1rem, 2.2vw, 2rem);
}

.ce-editorial-page .ce-v3-cards > .wp-block-group__inner-container {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2.5rem 0.75rem;
}

.ce-editorial-page .ce-v3-card .ce-image-card {
	width: 100%;
	aspect-ratio: 450 / 585;
	min-height: 0;
	border-radius: calc(2.4 * var(--ce-radius-card));
}

.ce-editorial-page .ce-v3-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.ce-editorial-page .ce-v3-card > .wp-block-group__inner-container {
	display: flex;
	flex: 1;
	flex-direction: column;
}

.ce-editorial-page .ce-v3-card .ce-image-card h2 {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	margin: 0;
	padding: 1.5rem 16%;
	color: var(--ce-color-white);
	font-family: var(--ce-font-body);
	font-size: clamp(1rem, 1.55vw, 1.375rem);
	font-weight: var(--ce-font-weight-semibold);
	text-align: center;
	text-transform: uppercase;
}

.ce-editorial-page .ce-v3-card__details {
	margin: 2.75rem 1.5rem 0;
	color: var(--ce-color-ink);
	line-height: 1.15;
}

.ce-editorial-page .ce-v3-card__details summary {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	list-style: none;
	cursor: pointer;
	text-transform: uppercase;
}

.ce-editorial-page .ce-v3-card__details summary::after {
	width: 0.55em;
	height: 0.55em;
	border-block-end: 1px solid;
	border-inline-end: 1px solid;
	transform: rotate(-45deg);
	content: '';
}

.ce-editorial-page .ce-v3-card__details[open] summary::after {
	transform: translateY(-0.15em) rotate(45deg);
}

.ce-editorial-page .ce-v3-card__details[open] {
	display: flex;
	flex: 1;
	flex-direction: column;
}

.ce-editorial-page .ce-v3-card__details[open]::details-content {
	display: flex;
	flex: 1;
	flex-direction: column;
}

.ce-editorial-page .ce-v3-card__details p:first-of-type {
	margin-block-start: 2rem;
}

.ce-editorial-page .ce-v3-card__details .wp-block-buttons {
	margin-block: auto 0;
	padding-block: 1.25rem 0.75rem;
}

.ce-editorial-page .ce-v3-card__details .wp-block-button__link {
	max-width: 100%;
}

.ce-editorial-page .ce-v3-card__details .wp-block-button {
	max-width: 100%;
}

.ce-editorial-page--about .ce-figma-split__media {
	height: min(48.62vw, 43.75rem);
	min-height: 0;
}

.ce-editorial-page--about .ce-figma-split {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0;
}

@media (min-width: 768px) {
	.ce-editorial-page--about .ce-figma-split--products {
		grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	}

	.ce-editorial-page--about .ce-figma-split--products .ce-figma-split__media {
		height: min(44.2vw, 39.75rem);
	}
}

.ce-editorial-page--about .ce-figma-split__media .ce-mobile-only {
	display: none;
}

.ce-editorial-page--about .ce-figma-process-card {
	aspect-ratio: 450 / 585;
	min-height: 0;
	border-radius: calc(2.4 * var(--ce-radius-card));
}

.ce-editorial-page--about .ce-figma-process-card__copy {
	inset: 0;
	display: grid;
	place-content: center;
	padding: 1.25rem;
}

.ce-editorial-page--about .ce-figma-process-grid {
	max-width: none;
}

.ce-editorial-page--about :is(.ce-figma-values, .ce-figma-process) h2 {
	font-size: 1.5rem;
	text-transform: uppercase;
}

.ce-editorial-page--about :is(.ce-figma-values, .ce-figma-process) {
	padding: 3rem clamp(1rem, 2.2vw, 2rem);
}

.ce-editorial-page--about .ce-figma-values h2,
.ce-editorial-page--about .ce-figma-values > .wp-block-group__inner-container > p {
	color: var(--ce-color-footer);
}

.ce-editorial-page--about .ce-figma-values > .wp-block-group__inner-container > p {
	max-width: 60rem;
	margin-inline: auto;
}

.ce-editorial-page--about .ce-testimonial-card .wp-block-quote {
	margin-inline: 1rem;
}

.ce-editorial-page--about .ce-home-testimonials h2 {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
}

.ce-editorial-page :is(.ce-figma-about-hero, .ce-figma-contact-hero, .ce-figma-about-hero__copy, .ce-figma-contact-hero__copy) {
	min-height: 43.75rem;
}

.ce-editorial-page :is(.ce-figma-about-hero, .ce-figma-contact-hero)::after {
	background: rgba(var(--ce-color-navy-deep-rgb), 0.14);
}

.ce-editorial-page .ce-figma-about-hero__copy h1 {
	max-width: 35rem;
	margin-inline: auto;
	margin-block-end: 2.5rem;
}

.ce-editorial-page .ce-figma-about-hero__copy .wp-block-buttons .wp-block-button {
	margin: 0;
}

.ce-editorial-page :is(.ce-figma-about-hero__copy, .ce-figma-contact-hero__copy) > .wp-block-group__inner-container {
	align-content: center;
}

.ce-editorial-page .ce-figma-contact-hero__copy,
.ce-editorial-page .ce-figma-about-hero__copy {
	padding-block: 3rem;
}

.ce-editorial-page .ce-figma-about-hero__copy {
	padding-block-start: 7rem;
}

.ce-editorial-page .ce-figma-contact-hero__lead {
	max-width: 33rem;
	line-height: 1.2;
}

.ce-editorial-page--contact .ce-figma-contact-copy h2 {
	font-size: clamp(1.25rem, 1.7vw, 1.5rem);
}

.ce-editorial-page--contact .ce-figma-contact-information {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0;
	min-height: 43.75rem;
}

.ce-editorial-page--contact .ce-figma-contact-copy {
	padding: 3rem clamp(1.25rem, 6vw, 5.375rem);
}

.ce-editorial-page--contact .ce-figma-contact-copy > p {
	line-height: 1.2;
}

.ce-editorial-page--contact .ce-figma-contact-copy > .ce-contact-schedule {
	line-height: 1.9;
}

.ce-editorial-page--contact .ce-figma-contact-cta {
	min-height: 15rem;
	padding: 1.5rem 1rem;
}

.ce-editorial-page--contact .ce-figma-contact-cta h2 {
	font-size: 1.5rem;
}

.ce-editorial-page--contact .ce-figma-contact-cta p {
	line-height: 1.2;
}

.ce-editorial-page :is(.ce-figma-about-hero, .ce-figma-contact-hero, .ce-figma-split, .ce-figma-contact-cta, .ce-figma-process) .wp-block-button {
	margin-block-start: 1.5rem;
}

.ce-editorial-page :is(.ce-figma-about-hero, .ce-figma-contact-hero, .ce-figma-split, .ce-figma-contact-cta, .ce-figma-process) .wp-block-button__link {
	width: min(22.5rem, 80vw);
	min-height: 3.8125rem;
	font-size: 1.125rem;
}

@media (max-width: 767px) {
	.ce-editorial-page :is(.ce-figma-about-hero, .ce-figma-contact-hero, .ce-figma-about-hero__copy, .ce-figma-contact-hero__copy) {
		min-height: 37.5rem;
	}

	.ce-editorial-page .ce-figma-about-hero__copy .wp-block-buttons {
		position: absolute;
		inset-block-end: 2.25rem;
	}

	.ce-editorial-page .ce-figma-about-hero__copy h1 {
		margin: 0;
		font-size: clamp(1.6rem, 8vw, 2.25rem);
		line-height: 1.02;
	}

	.ce-editorial-page .ce-figma-about-hero__copy {
		padding-block: 3rem;
	}

	.ce-editorial-page--contact .ce-figma-contact-cta {
		min-height: 0;
		padding-block: 3rem;
	}

	.ce-editorial-page--contact .ce-figma-contact-information {
		grid-template-columns: minmax(0, 1fr);
		min-height: 0;
	}

	.ce-editorial-page--contact .ce-figma-contact-copy {
		min-height: 0;
		padding-block: 2.5rem;
	}

	.ce-editorial-page--contact .ce-figma-contact-map {
		height: clamp(22rem, 100vw, 27.5rem);
		min-height: 0;
	}

	.ce-editorial-page--contact :is(.ce-figma-map, .ce-figma-map iframe) {
		min-height: 0;
	}

	.ce-editorial-page :is(.ce-figma-about-hero, .ce-figma-contact-hero, .ce-figma-split, .ce-figma-contact-cta, .ce-figma-process) .wp-block-button__link {
		width: min(14rem, 80vw);
		min-height: 3.25rem;
		font-size: 1rem;
	}

	.ce-editorial-page :is(.ce-v3-hero, .ce-v3-hero__copy) {
		min-height: 37.5rem;
	}

	.ce-editorial-page .ce-v3-hero__copy {
		padding-block: 3rem;
	}

	.ce-editorial-page .ce-v3-hero h1 {
		font-size: clamp(1.6rem, 8vw, 2.5rem);
	}

	.ce-editorial-page .ce-v3-hero__actions {
		inset-block-end: 2.25rem;
	}

	.ce-editorial-page .ce-v3-banner__copy {
		padding-block: 3rem;
	}

	.ce-editorial-page .ce-v3-banner .wp-block-buttons.ce-desktop-only {
		display: none;
	}

	.ce-editorial-page .ce-v3-banner .wp-block-buttons.ce-mobile-only {
		display: flex;
	}

	.ce-editorial-page :is(.ce-v3-hero, .ce-v3-banner, .ce-v3-treatment, .ce-v3-card) .wp-block-button__link {
		width: min(14rem, 80vw);
		min-height: 3.25rem;
		font-size: 1rem;
	}

	.ce-editorial-page .ce-v3-treatment {
		grid-template-columns: minmax(0, 1fr);
	}

	.ce-editorial-page .ce-v3-treatment--reverse .ce-v3-treatment__media {
		order: 0;
	}

	.ce-editorial-page :is(.ce-v3-treatment__media, .ce-figma-split__media) {
		width: 100%;
		height: 37.5rem;
	}

	.ce-editorial-page .ce-v3-treatment__media {
		aspect-ratio: auto;
	}

	.ce-editorial-page .ce-v3-treatment__copy {
		min-height: 35rem;
		padding: 3.25rem 1rem;
	}

	.ce-editorial-page .ce-v3-treatment p {
		margin: 2.125rem 0 1.75rem;
	}

	.ce-editorial-page .ce-v3-cards {
		padding-block: 1.5rem 3rem;
	}

	.ce-editorial-page .ce-v3-cards > .wp-block-group__inner-container {
		grid-template-columns: minmax(0, 1fr);
		gap: 2.5rem;
	}

	.ce-editorial-page .ce-v3-card .ce-image-card {
		border-radius: calc(1.25 * var(--ce-radius-card));
	}

	.ce-editorial-page .ce-v3-card__details {
		margin: 1.5rem 0.5rem 0;
	}

	.ce-editorial-page--about .ce-figma-split {
		display: flex;
		flex-direction: column;
	}

	.ce-editorial-page--about .ce-figma-split__media {
		order: 2;
	}

	.ce-editorial-page--about .ce-figma-split__media .ce-desktop-only {
		display: none;
	}

	.ce-editorial-page--about .ce-figma-split__media .ce-mobile-only {
		display: block;
	}

	.ce-editorial-page--about .ce-figma-split__copy {
		min-height: 35rem;
	}

	.ce-editorial-page--about .ce-figma-split--products .ce-figma-split__copy {
		min-height: 0;
		padding-block: 3rem;
	}

	.ce-editorial-page--about .ce-figma-split--products .ce-figma-split__media {
		height: auto;
		max-height: 34rem;
		aspect-ratio: 5 / 6;
	}

	.ce-editorial-page--about .ce-figma-process-card {
		border-radius: calc(1.25 * var(--ce-radius-card));
	}
}

.ce-related-posts {
	margin-top: clamp(3.5rem, 7vw, 6.5rem);
	padding-top: 2rem;
	border-top: 1px solid var(--ce-color-line);
}

.ce-related-posts h2 {
	margin-top: 0;
	color: var(--ce-color-forest);
	font-size: clamp(2rem, 3vw, 2.75rem);
}

.ce-post-navigation {
	display: flex;
	justify-content: space-between;
	gap: 1.5rem;
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--ce-color-line);
}

.ce-post-navigation a {
	font-weight: var(--ce-font-weight-semibold);
	text-decoration: none;
}

@media (max-width: 767px) {
	.ce-about-hero__inner,
	.ce-contact-hero__inner,
	.ce-contact-information,
	.ce-about-content {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.ce-about-hero__inner,
	.ce-contact-hero__inner,
	.ce-blog-hero__inner,
	.ce-faqs-hero__inner,
	.ce-legal-hero__inner {
		padding-block: 4rem;
	}

	.ce-about-hero__media .ce-image-placeholder,
	.ce-contact-hero__media .ce-image-placeholder,
	.ce-about-content__media .ce-image-placeholder {
		min-height: 16rem;
	}

	.ce-contact-information__details,
	.ce-blog-grid {
		grid-template-columns: 1fr;
	}

	.ce-blog-card--featured {
		grid-column: auto;
		grid-row: auto;
	}

	.ce-post-navigation {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (min-width: 768px) and (max-width: 1023px) {
	.ce-home .ce-home-hero__inner {
		width: min(calc(100% - 3rem), var(--ce-content-width-wide));
	}

	.ce-home .ce-home-hero__copy {
		width: min(100%, 42rem);
	}

	.ce-home .ce-home-hero h1 {
		max-width: 40rem;
		margin-inline: auto;
		font-size: clamp(2rem, 4vw, 3rem);
		text-wrap: balance;
	}

	.ce-home .ce-treatment-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Figma v2 desktop: evita que los grupos internos de Gutenberg desplacen el
 * copy de los banners y que la imagen de presentación determine una altura
 * desproporcionada por su relación de aspecto. */
@media (min-width: 1024px) {
	.ce-home-editorial .ce-home-section--objectives .ce-section-heading h2 {
		font-size: 1.5rem;
		letter-spacing: 0;
	}

	.ce-home-editorial .ce-home-section--objectives .ce-section-heading__action .wp-block-button__link {
		width: 22.5rem;
		min-width: 22.5rem;
		min-height: 3.85rem;
		font-size: 1.1rem;
		font-weight: 500;
		letter-spacing: 0;
	}

	.ce-home-editorial .ce-home-hero,
	.ce-home-editorial .ce-home-hero__inner {
		min-height: 43.75rem;
	}

	.ce-home-editorial .ce-home-hero__copy {
		width: min(100%, 58rem);
		max-width: 58rem;
		transform: translate(8.5rem, 3rem);
	}

	.ce-home-editorial .ce-home-hero .ce-eyebrow {
		display: none;
	}

	.ce-home-editorial .ce-home-hero h1 {
		max-width: none;
		font-size: clamp(2.5rem, 3.4vw, 3rem);
		letter-spacing: -0.04em;
		line-height: 1.08;
		white-space: nowrap;
	}

	.ce-home .ce-home-hero__lead {
		width: 100%;
		max-width: none;
		margin-top: 0.25rem;
		font-size: clamp(2.25rem, 2.9vw, 2.55rem);
		line-height: 1.12;
		white-space: nowrap;
	}

	.ce-home-editorial .ce-home-hero__actions {
		gap: 1.25rem;
		margin-top: 5.25rem;
	}

	.ce-home-editorial .ce-home-hero__actions .wp-block-button__link {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 22.5rem;
		min-height: 3.85rem;
		padding: 0.75rem 1.5rem;
		font-size: 1.1rem;
		font-weight: 500;
		letter-spacing: 0;
		text-transform: uppercase;
	}

	.ce-home-editorial .ce-home-about > .wp-block-group__inner-container {
		height: 44rem;
		min-height: 44rem;
	}

	.ce-home-editorial .ce-home-about__media {
		min-height: 0;
	}

	.ce-home-editorial .ce-home-about__media .ce-theme-image,
	.ce-home-editorial .ce-home-about__media .ce-theme-image img {
		height: 100%;
		object-fit: cover;
	}

	.ce-home-editorial .ce-home-about__content {
		align-self: stretch;
		justify-content: center;
	}
}

/* Portada de Figma v2 con botones, imágenes y citas editables en Gutenberg. */
.ce-home-editorial .wp-block-buttons:not(.ce-home-hero__actions) {
	margin: 0;
}

.ce-home-editorial .ce-home-hero__actions,
.ce-home-editorial .ce-home-recommendation__content .wp-block-buttons,
.ce-home-editorial .ce-home-skinlab__content .wp-block-buttons,
.ce-home-editorial .ce-home-valuation .wp-block-buttons {
	justify-content: center;
}

.ce-home-editorial .ce-home-section {
	padding-block: clamp(2rem, 3vw, 3.5rem);
	background: var(--ce-color-white);
}

.ce-home-editorial .ce-home-section .ce-section-heading {
	margin-block-end: 1.5rem;
}

.ce-home-editorial .ce-image-card {
	min-height: 0;
	aspect-ratio: 10 / 13;
	border-radius: calc(var(--ce-radius-card) * 2);
}

.ce-home-editorial .ce-image-card::after {
	position: absolute;
	inset: 0;
	background: rgba(var(--ce-color-navy-deep-rgb), 0.18);
	content: '';
	pointer-events: none;
}

.ce-home-editorial .ce-image-card h3 {
	inset: 0;
	display: grid;
	place-items: center;
	padding: 1rem;
	font-size: clamp(0.9rem, 1.15vw, 1.25rem);
}

.ce-home-editorial .ce-treatment-card h3 a::after {
	position: absolute;
	inset: 0;
	content: '';
}

.ce-home-editorial .ce-carousel__viewport {
	padding-block: 0;
}

.ce-home-editorial .ce-carousel__controls {
	position: absolute;
	inset: 50% 0.5rem auto;
	z-index: 4;
	justify-content: space-between;
	margin: 0;
	pointer-events: none;
	transform: translateY(-50%);
}

.ce-home-editorial .ce-carousel__controls button {
	pointer-events: auto;
}

/* Controles de las galerías de Objetivos y Tecnologías. */
.ce-home-editorial :is(.ce-home-section--objectives, .ce-home-section--technologies) .ce-carousel__controls {
	inset-inline: 1.125rem;
}

.ce-home-editorial :is(.ce-home-section--objectives, .ce-home-section--technologies) .ce-carousel__controls button {
	position: relative;
	border: 0;
	background: var(--ce-color-white);
	color: var(--ce-color-ink);
	font-size: 0;
	cursor: pointer;
}

.ce-home-editorial :is(.ce-home-section--objectives, .ce-home-section--technologies) .ce-carousel__controls button:focus-visible {
	outline: 2px solid var(--ce-color-ink);
	outline-offset: 2px;
}

.ce-home-editorial :is(.ce-home-section--objectives, .ce-home-section--technologies) .ce-carousel__controls button::before {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0.875rem;
	height: 0.875rem;
	border-top: 1px solid;
	border-right: 1px solid;
	transform: translate(-85%, -50%) rotate(45deg);
	content: '';
}

.ce-home-editorial :is(.ce-home-section--objectives, .ce-home-section--technologies) .ce-carousel__controls [data-ce-carousel-action="prev"]::before {
	transform: translate(-15%, -50%) rotate(-135deg);
}

.ce-home-editorial :is(.ce-home-section--objectives, .ce-home-section--technologies) [data-ce-carousel-action="next"] {
	margin-inline-start: auto;
}

.ce-home-editorial :is(.ce-home-section--objectives, .ce-home-section--technologies) .ce-carousel__controls button[hidden],
.ce-home-editorial .entry-content :is(.ce-home-section--objectives, .ce-home-section--technologies) .ce-carousel:not([data-ce-carousel-ready]) .ce-carousel__controls {
	display: none;
}

@media (max-width: 767px) {
	.ce-home-editorial :is(.ce-home-section--objectives, .ce-home-section--technologies) .ce-carousel__controls {
		inset-inline: 1.25rem;
	}

	.ce-home-editorial :is(.ce-home-section--objectives, .ce-home-section--technologies) .ce-carousel__controls button {
		width: 1.75rem;
		height: 1.75rem;
	}

	.ce-home-editorial :is(.ce-home-section--objectives, .ce-home-section--technologies) .ce-carousel__controls button::before {
		width: 0.6875rem;
		height: 0.6875rem;
	}
}

.ce-home-editorial :is(.ce-home-recommendation, .ce-home-skinlab) {
	isolation: isolate;
}

.ce-home-editorial :is(.ce-home-recommendation__content, .ce-home-skinlab__content) {
	width: min(100%, 64rem);
	max-width: none;
	margin-inline: auto;
	padding: 1.5rem 1rem;
}

.ce-home-editorial :is(.ce-home-recommendation__content, .ce-home-skinlab__content),
.ce-home-editorial :is(.ce-home-recommendation__content, .ce-home-skinlab__content) > .wp-block-group__inner-container {
	display: grid;
	justify-items: center;
	gap: 1.5rem;
}

.ce-home-editorial .ce-home-skinlab__content,
.ce-home-editorial .ce-home-skinlab__content > .wp-block-group__inner-container {
	row-gap: clamp(1.5rem, 2.25vw, 2rem);
}

.ce-home-editorial :is(.ce-home-recommendation__content, .ce-home-skinlab__content) p:not(.ce-eyebrow) {
	margin: 0;
	font-weight: var(--ce-font-weight-semibold);
	line-height: 1.1;
}

.ce-home-editorial .ce-home-recommendation__content p:not(.ce-eyebrow) {
	max-width: 61rem;
	color: var(--ce-color-navy);
	font-size: clamp(1.0625rem, 1.53vw, 1.375rem);
}

.ce-home-editorial .ce-home-skinlab__content p:not(.ce-eyebrow) {
	max-width: 25rem;
	font-size: clamp(1rem, 1.25vw, 1.125rem);
}

.ce-home-editorial .ce-home-recommendation .ce-button--solid .wp-block-button__link {
	border-color: var(--ce-color-white);
	background: var(--ce-color-white);
	color: var(--ce-color-navy);
}

.ce-home-editorial .ce-home-recommendation .ce-button--solid .wp-block-button__link:hover,
.ce-home-editorial .ce-home-recommendation .ce-button--solid .wp-block-button__link:focus-visible {
	border-color: var(--ce-color-navy);
	background: var(--ce-color-navy);
	color: var(--ce-color-white);
}

.ce-home-editorial .ce-home-about {
	background: var(--ce-color-white);
}

.ce-home-editorial .ce-home-about__content {
	align-items: center;
	justify-self: center;
	width: 100%;
	padding: 3rem 2rem;
	text-align: center;
}

.ce-home-editorial .ce-home-about__content > .wp-block-group__inner-container {
	align-items: center;
}

.ce-home-editorial .ce-home-about__content h2,
.ce-home-editorial .ce-home-valuation h2 {
	font-size: clamp(1.25rem, 1.7vw, 1.65rem);
}

.ce-home-editorial .ce-home-about__content p,
.ce-home-editorial .ce-home-valuation p {
	color: var(--ce-color-ink);
}

.ce-home-editorial .ce-home-skinlab {
	min-height: clamp(37.5rem, 49vw, 44rem);
}

.ce-home-editorial .ce-home-valuation {
	padding: 2rem 1rem;
}

.ce-home-editorial :is(.ce-home-recommendation__content, .ce-home-about__content, .ce-home-skinlab__content, .ce-home-valuation) .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: min(22.5rem, 80vw);
	min-height: 3.85rem;
	font-size: 1.1rem;
	font-weight: 500;
	text-transform: uppercase;
}

.ce-home-editorial .ce-home-testimonials .ce-section-heading {
	margin: 0;
}

.ce-home-editorial .ce-home-testimonials .ce-testimonial-card {
	padding: clamp(1.5rem, 3vw, 2.5rem);
}

.ce-home-editorial .ce-home-testimonials .ce-carousel__controls {
	display: none;
}

@media (min-width: 1024px) {
	.ce-home-editorial .ce-home-section .ce-section-heading h2 {
		font-size: 1.5rem;
	}

	.ce-home-editorial .ce-home-section .ce-section-heading__action .wp-block-button__link {
		width: 22.5rem;
		min-height: 3.85rem;
		font-size: 1.1rem;
		font-weight: 500;
		letter-spacing: 0;
	}

	.ce-home-editorial .ce-home-section .ce-carousel__item {
		flex-basis: clamp(25.25rem, 28vw, 30rem);
	}
}

@media (max-width: 767px) {
	.ce-home-editorial .ce-home-hero__inner {
		align-items: end;
		padding: 6rem 1rem 2rem;
	}

	.ce-home-editorial .ce-home-hero__inner > .wp-block-group__inner-container {
		align-items: end;
	}

	.ce-home-editorial .ce-home-hero__lead {
		font-size: 1.2rem;
		letter-spacing: -0.035em;
		text-wrap: balance;
	}

	.ce-home-editorial .ce-home-hero__actions {
		width: min(100%, 14rem);
		gap: 0.65rem;
		margin: clamp(3.5rem, 20vw, 6rem) auto 0;
	}

	.ce-home-editorial .ce-home-hero__actions .wp-block-button__link {
		min-height: 3.1rem;
		font-size: 0.9rem;
	}

	.ce-home-editorial .ce-home-section {
		padding-block: 2.25rem;
	}

	.ce-home-editorial .ce-home-section .ce-section-heading {
		margin-block-end: 2.25rem;
	}

	.ce-home-editorial .ce-section-heading--split h2 {
		font-size: clamp(1.05rem, 5vw, 1.35rem);
	}

	.ce-home-editorial .ce-section-heading__action .wp-block-button__link {
		min-width: clamp(7rem, 47vw, 11.2rem);
		min-height: 2.65rem;
		font-size: clamp(0.66rem, 3.6vw, 1rem);
	}

	.ce-home-editorial .ce-home-section .ce-carousel {
		margin-inline: -1rem;
	}

	.ce-home-editorial .ce-home-section .ce-carousel__item {
		flex-basis: 84%;
	}

	.ce-home-editorial .ce-home-section .ce-carousel__controls,
	.ce-home-editorial .ce-home-testimonials .ce-carousel__controls {
		display: flex;
	}

	.ce-home-editorial .ce-treatment-card {
		border-radius: var(--ce-radius-card);
	}

	.ce-home-editorial .ce-treatment-card h3 {
		padding-inline: 0.5rem;
		font-size: clamp(0.76rem, 3.9vw, 1rem);
	}

	.ce-home-editorial .ce-home-recommendation {
		min-height: 37.5rem;
	}

	.ce-home-editorial .ce-home-about__media {
		aspect-ratio: 5 / 8;
	}

	.ce-home-editorial .ce-home-about__content {
		min-height: 34rem;
	}

	.ce-home-editorial :is(.ce-home-recommendation__content, .ce-home-about__content, .ce-home-skinlab__content, .ce-home-valuation) .wp-block-button__link {
		width: min(14rem, 80vw);
		min-height: 3rem;
		font-size: 0.95rem;
	}

	.ce-home-editorial .ce-home-recommendation__content p:not(.ce-eyebrow) {
		max-width: 20.5rem;
		font-size: 1rem;
	}

	.ce-home-editorial .ce-home-skinlab__content p:not(.ce-eyebrow) {
		max-width: 20rem;
	}

	.ce-home-editorial :is(.ce-home-recommendation__content, .ce-home-skinlab__content) .wp-block-button__link {
		min-height: 3.25rem;
		padding-block: 0.5rem;
		font-size: 1rem;
		line-height: 1.1;
	}

	.ce-home-editorial .ce-home-recommendation__content .wp-block-button__link {
		padding-inline: 0.75rem;
	}

	.ce-home-editorial .ce-home-skinlab__content .wp-block-button__link {
		padding-inline: 2.75rem;
	}

	.ce-home-editorial .ce-home-testimonials .ce-testimonial-grid {
		display: flex;
		flex-wrap: nowrap !important;
	}

	.ce-home-editorial .ce-home-testimonials .ce-testimonial-card {
		display: block;
		flex: 0 0 92% !important;
	}

	.ce-home-editorial .ce-home-testimonials .ce-testimonial-card p {
		font-size: 1rem;
		line-height: 1.5;
	}

}

/* Catálogos y páginas editoriales de la exportación de Figma v4. */
.ce-editorial-page--catalogue .ce-v3-card .ce-image-card h3 {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	margin: 0;
	padding: 1.5rem 16%;
	color: var(--ce-color-white);
	font-family: var(--ce-font-body);
	font-size: clamp(1rem, 1.55vw, 1.375rem);
	font-weight: var(--ce-font-weight-semibold);
	text-align: center;
	text-transform: uppercase;
}

.ce-editorial-page .ce-catalogue-intro p {
	margin: 1rem 0 0;
}

.ce-editorial-page .ce-catalogue-intro h2 + p {
	margin-block-start: 2.5rem;
}

.ce-editorial-page .ce-v3-banner--light h2,
.ce-editorial-page .ce-v3-banner--light p {
	color: var(--ce-color-footer);
}

.ce-editorial-page .ce-v3-banner--light .wp-block-button__link {
	border-color: var(--ce-color-white);
	background: var(--ce-color-white);
	color: var(--ce-color-footer);
}

.ce-editorial-page .ce-v3-banner--light::before {
	background: transparent;
}

.ce-editorial-page .ce-v4-faqs {
	width: min(calc(100% - 1.5rem), 68.5rem);
	margin-inline: auto;
	padding-block: clamp(1.25rem, 5vw, 5.25rem);
}

.ce-v4-faqs h1 {
	margin: 0 0 clamp(1.5rem, 4.5vw, 4.375rem);
	font-size: 1.5rem;
	text-transform: uppercase;
}

.ce-v4-faqs .ce-faq-list {
	border: 0;
}

.ce-v4-faqs .ce-faq-item {
	margin-block-end: 0.625rem;
	border: 1px solid var(--ce-color-line);
}

.ce-v4-faqs .ce-faq-item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem;
	color: var(--ce-color-ink);
	font: inherit;
	line-height: 1.15;
	list-style: none;
}

.ce-v4-faqs .ce-faq-item summary::after {
	flex: none;
	font-size: 1.5rem;
	line-height: 1;
	content: '+';
}

.ce-v4-faqs .ce-faq-item[open] summary::after {
	content: '−';
}

.ce-v4-faqs .ce-faq-item p {
	max-width: none;
	margin: 0;
	padding: 0 1rem 1.25rem;
	line-height: 1.25;
}

.ce-v4-faqs .ce-faq-item .wp-block-buttons {
	margin: 0 1rem 1rem;
}

.ce-legal .ce-legal-hero {
	padding-block: clamp(1.5rem, 3vw, 3rem) 0;
	border: 0;
	background: var(--ce-color-white);
	text-align: center;
}

.ce-legal .ce-legal-hero h1 {
	margin: 0;
	font-size: 1.5rem;
	text-transform: uppercase;
}

.ce-legal .ce-legal-content,
.ce-editorial-page--legal .is-root-container {
	width: min(calc(100% - 2rem), 76rem);
	max-width: none;
	margin-inline: auto;
	padding-block: clamp(2.5rem, 5vw, 4.5rem);
}

:is(.ce-legal .entry-content, .ce-editorial-page--legal .is-root-container) {
	line-height: 1.3;
}

:is(.ce-legal .entry-content, .ce-editorial-page--legal .is-root-container) :is(h2, h3) {
	margin-block: 2.5rem 1rem;
	font-size: 1rem;
	font-weight: var(--ce-font-weight-bold);
}

:is(.ce-legal .entry-content, .ce-editorial-page--legal .is-root-container) h3 {
	margin-block-start: 1.25rem;
}

:is(.ce-legal .entry-content, .ce-editorial-page--legal .is-root-container) :is(p, li, td, th) {
	overflow-wrap: anywhere;
}

.ce-blog--figma .ce-blog-list {
	width: min(calc(100% - 2rem), var(--ce-content-width-wide));
	padding-block: clamp(1.25rem, 4vw, 4.75rem);
}

.ce-blog--figma .ce-blog-grid,
.ce-v4-related__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	align-items: start;
	gap: 0.75rem;
}

.ce-blog--figma .ce-blog-intro {
	position: relative;
	grid-column: span 2;
	min-width: 0;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: 3.5rem;
	background: var(--ce-color-pink);
}

.ce-blog-intro img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ce-blog-intro h1 {
	position: absolute;
	top: 8%;
	left: 8%;
	max-width: 65%;
	margin: 0;
	color: var(--ce-color-white);
	font-family: var(--ce-font-body);
	font-size: clamp(1.25rem, 2.1vw, 1.6rem);
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
	text-transform: uppercase;
}

:is(.ce-blog--figma, .ce-v4-related) .ce-blog-card {
	border: 0;
}

:is(.ce-blog--figma, .ce-v4-related) .ce-blog-card__image {
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: clamp(1.5rem, 4vw, 3.5rem);
}

:is(.ce-blog--figma, .ce-v4-related) .ce-blog-card__image img {
	height: 100%;
	object-fit: cover;
}

:is(.ce-blog--figma, .ce-v4-related) .ce-blog-card__content {
	padding: 1rem 0.375rem 0;
}

:is(.ce-blog--figma, .ce-v4-related) .ce-blog-card :is(h2, h3) {
	order: -1;
	margin: 0;
	font: var(--ce-font-weight-bold) 1rem/1.15 var(--ce-font-body);
	text-transform: uppercase;
}

:is(.ce-blog--figma, .ce-v4-related) .ce-blog-card__date {
	margin: 0.2rem 0 0.5rem;
	font-size: 0.85rem;
	text-transform: uppercase;
}

:is(.ce-blog--figma, .ce-v4-related) .ce-blog-card__excerpt {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	font-size: 0.875rem;
	line-height: 1.2;
}

:is(.ce-blog--figma, .ce-v4-related) .ce-blog-card__excerpt p {
	margin: 0;
}

:is(.ce-blog--figma, .ce-v4-related) .ce-text-link {
	padding-block-start: 0.75rem;
	font-size: 0.85rem;
	text-transform: uppercase;
}

.ce-v4-post-cover {
	position: relative;
	height: clamp(33rem, 48.6vw, 43.75rem);
	background: var(--ce-color-pink);
}

.ce-v4-post-cover :is(.wp-block-group__inner-container, .wp-block-image, img) {
	width: 100%;
	height: 100%;
}

.ce-v4-post-cover img {
	display: block;
	object-fit: cover;
	object-position: center;
}

.ce-v4-post-title,
.ce-editorial-page .ce-v4-post-copy {
	width: min(calc(100% - 2rem), 46rem);
	margin-inline: auto;
}

.ce-editorial-post .entry-content > .ce-v4-post-title {
	margin-block: clamp(2.5rem, 5vw, 4.375rem) clamp(2rem, 4vw, 3.5rem);
	font-size: clamp(1.4rem, 2vw, 1.7rem);
	text-transform: uppercase;
}

.ce-v4-post-copy :is(h2, h3) {
	margin-block: 3rem 1rem;
	font-size: 1.1rem;
	font-weight: var(--ce-font-weight-bold);
}

.ce-v4-post-copy h3 {
	margin-block-start: 1.25rem;
	font-size: 1rem;
}

.ce-v4-post-copy :is(p, li) {
	line-height: 1.3;
}

.ce-v4-post-copy .ce-v4-post-photo {
	width: min(100%, 31rem);
	margin: 3.5rem auto;
}

.ce-v4-post-copy .ce-v4-post-photo img {
	display: block;
	width: 100%;
	border-radius: clamp(1.75rem, 4vw, 3.5rem);
}

.ce-v4-post-copy .wp-block-buttons {
	margin-top: 2rem;
}

.ce-v4-post-copy .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: min(22.5rem, 80vw);
	min-height: 3.8125rem;
	font-size: 1.125rem;
}

@media (max-width: 767px) {
	.ce-v4-post-copy .wp-block-button__link {
		width: min(14rem, 80vw);
		min-height: 3.25rem;
		font-size: 1rem;
	}
}

.ce-v4-related {
	width: min(calc(100% - 2rem), var(--ce-content-width-wide));
	margin: 0 auto;
	padding-block: clamp(3rem, 8vw, 7rem);
}

.ce-v4-related h2 {
	margin-block: 0 2rem;
	font-size: 1.5rem;
}

@media (max-width: 767px) {
	.ce-v4-faqs h1 {
		text-align: center;
	}

	.ce-v4-faqs .ce-faq-item summary {
		padding: 0.85rem;
	}

	.ce-blog--figma .ce-blog-grid,
	.ce-v4-related__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 2rem;
	}

	.ce-blog--figma .ce-blog-intro {
		grid-column: auto;
		aspect-ratio: 5 / 8;
		margin-inline: -1rem;
		border-radius: 0;
	}

	.ce-blog--figma .ce-blog-list {
		padding-block-start: 0;
	}

	.ce-v4-post-cover {
		height: 37.5rem;
	}

	.ce-v4-post-copy .ce-v4-post-photo {
		margin-block: 2.5rem;
	}
}

/* Canales de contacto y preferencias de medición. */
.ce-request {
	max-width: 50rem;
	padding-block: clamp(2.5rem, 6vw, 5rem);
	scroll-margin-top: 1.5rem;
}

.ce-request h2 {
	margin: 0 0 1rem;
	font-size: clamp(1.5rem, 3vw, 2rem);
}

.ce-request__fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.ce-request__fields label {
	display: grid;
	gap: 0.375rem;
	min-width: 0;
	font-weight: var(--ce-font-weight-semibold);
}

.ce-request__fields :is(input, select) {
	width: 100%;
	min-width: 0;
	min-height: 2.875rem;
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--ce-color-muted);
	border-radius: 0.375rem;
	background: var(--ce-color-white);
	color: var(--ce-color-ink);
	font: inherit;
}

.ce-request__privacy {
	display: flex;
	align-items: baseline;
	gap: 0.625rem;
}

.ce-request__notice {
	padding: 1rem;
	border-inline-start: 0.25rem solid var(--ce-color-navy);
	background: var(--ce-color-sage-soft);
}

.ce-figma-map.ce-map-preview {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 1rem;
	padding: 1.5rem;
	background: var(--ce-color-paper);
	color: var(--ce-color-ink);
	text-align: center;
}

.ce-map-preview p {
	margin: 0;
}

.ce-cookie-panel {
	position: fixed;
	z-index: 50;
	inset-inline-end: 1rem;
	inset-block-end: 1rem;
	width: min(calc(100% - 2rem), 31rem);
	max-height: calc(100% - 2rem);
	overflow: auto;
	padding: 1.25rem;
	border: 1px solid var(--ce-color-line);
	border-radius: 0.75rem;
	background: var(--ce-color-white);
	box-shadow: 0 0.5rem 2rem rgb(0 0 0 / 16%);
	color: var(--ce-color-ink);
}

.ce-cookie-panel h2 {
	margin: 0;
	font-size: 1.25rem;
}

.ce-cookie-panel__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.ce-cookie-panel button {
	padding: 0.625rem 0.875rem;
	border: 1px solid var(--ce-color-navy);
	border-radius: var(--ce-radius-pill);
	background: var(--ce-color-white);
	color: var(--ce-color-navy);
	font: inherit;
	cursor: pointer;
}

.ce-cookie-panel button:hover {
	background: var(--ce-color-navy);
	color: var(--ce-color-white);
}

#ce-cookie-options {
	margin-top: 0.75rem;
}

#ce-cookie-options label {
	display: block;
	margin-bottom: 0.625rem;
}

.site-footer .ce-footer-integrations {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1rem;
	margin-block-start: 0.75rem;
}

.site-footer .ce-footer-integrations button {
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	cursor: pointer;
}

.site-footer .ce-footer-integrations :is(a, button) {
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.ce-map-preview [hidden],
.ce-cookie-panel[hidden],
.ce-footer-integrations [hidden],
.ce-contact-detail-link--whatsapp[hidden] {
	display: none;
}

@media (max-width: 600px) {
	.ce-request__fields {
		grid-template-columns: minmax(0, 1fr);
	}
}
