/*
 * Demos de concepto: /demo/clinica/ y /demo/inmobiliaria/.
 *
 * Réplica de los estilos de DentalClinicDemo.tsx y RealEstateDemo.tsx (versión React 0dacf88, Tailwind). Son ejemplos de
 * webs de clientes y por eso llevan sus PROPIOS colores: es la única excepción a la paleta del sitio y solo vale dentro
 * de las demos (clase .ed). Puntos de corte de Tailwind: sm 640 px · md 768 px · lg 1024 px.
 */

/* ---------- Colores de cada demo ---------- */
.ed--clinic {
	--ed-bg: #f7f9fb;
	--ed-text: #191c1e;
	--ed-navy: #0f3846;
	--ed-navy-hover: #164e63;
	--ed-teal: #006b5f;
	--ed-teal-2: #006f64;
	--ed-accent: #14b8a6;
	--ed-mint: #f0fdfa;
	--ed-mint-border: #ccfbf1;
	--ed-border: #e2e8f0;
	--ed-muted: #41484b;
	--ed-gray: #71787c;
	--ed-light: #f8fafc;
	--ed-radius-btn: 8px;
	--cl-dark: #0f3846;
	--cl-dark-h: #164e63;
	--cl-dark-soft: #e6eff2;
	--cl-main: #006b5f;
	--cl-main-2: #006f64;
	--cl-accent: #14b8a6;
	--cl-soft: #f0fdfa;
	--cl-soft-b: #ccfbf1;
	--cl-line: #e2e8f0;
	--cl-line-s: #cbd5e1;
	--cl-muted: #41484b;
	--cl-on-dark-m: #d4e6ee;
	--cl-on-dark-s: #a6ccde;
	--cl-seal-b: rgba(166, 204, 222, 0.55);
}

.ed--estate {
	--ed-bg: #fff8f6;
	--ed-text: #201a18;
	--ed-rust: #b85d38;
	--ed-rust-d: #994522;
	--ed-soft: #f8ebe6;
	--ed-soft-border: #dbc1b8;
	--ed-border: #e5ddd0;
	--ed-muted: #55433c;
	--ed-brown: #825430;
	--ed-light: #f2e6e1;
	--ed-dark: #2a2421;
	--ed-radius-btn: 4px;
	--cl-dark: #2a2421;
	--cl-dark-h: #3d342f;
	--cl-dark-soft: #f2e6e1;
	--cl-main: #994522;
	--cl-main-2: #994522;
	--cl-accent: #b85d38;
	--cl-soft: #f8ebe6;
	--cl-soft-b: #dbc1b8;
	--cl-line: #e5ddd0;
	--cl-line-s: #cdbfb2;
	--cl-muted: #55433c;
	--cl-on-dark-m: #e8dcd5;
	--cl-on-dark-s: #d9c6bb;
	--cl-seal-b: rgba(255, 255, 255, 0.5);
}

/* ---------- Base ---------- */
.ed {
	min-height: 100vh;
	background-color: var(--ed-bg);
	color: var(--ed-text);
	font-family: var(--ec-font-inter);
	font-size: 1rem;
	line-height: 1.5;
	overflow-wrap: normal;
}

.ed :is(h1, h2, h3, h4, p, ul, figure) {
	margin: 0;
}

/* Como en la versión React: los h1, h2 y h3 van en la fuente de títulos de cada demo (TD-14, antes Syne); el h4 hereda Inter */
.ed :is(h1, h2, h3) {
	font-family: var(--demo-font-titulos);
	color: inherit;
}

.ed h4 {
	font-family: var(--ec-font-inter);
	color: inherit;
}

.ed a {
	text-decoration: none;
}

.ed mark.has-inline-color {
	background-color: transparent;
}

.ed .ed-ico {
	flex: none;
	width: 1rem;
	height: 1rem;
}

.ed .ed-ico--fill {
	fill: currentColor;
}

.ed .ed-ico--teal {
	color: #14b8a6;
}

.ed .ed-illu {
	display: block;
	width: 100%;
	height: 100%;
}

/* ---------- Barra superior ---------- */
.ed .ed-topbar {
	position: sticky;
	top: 0;
	z-index: 50;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.25rem 0.75rem;
	padding: 0.5rem 1rem;
	color: #fff;
	font-size: 0.75rem;
	line-height: 1.3333;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.ed--clinic .ed-topbar {
	background-color: #0f3846;
}

.ed--estate .ed-topbar {
	background-color: #2a2421;
}

.ed .ed-topbar a {
	color: inherit;
}

.ed .ed-topbar__back a {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	font-weight: 700;
	transition: color 0.15s ease;
}

.ed .ed-topbar__back a::before {
	content: '';
	flex: none;
	width: 1rem;
	height: 1rem;
	background-color: currentColor;
	-webkit-mask: var(--ec-i-mask) center / contain no-repeat;
	mask: var(--ec-i-mask) center / contain no-repeat;
}

.ed--clinic .ed-topbar__back a:hover {
	color: #6ef9e2;
}

.ed--estate .ed-topbar__back a:hover {
	color: #ffb59a;
}

.ed .ed-topbar__notice {
	order: 9;
	width: 100%;
	font-size: 11px;
	letter-spacing: 0.05em;
	text-align: center;
	text-transform: uppercase;
}

.ed--clinic .ed-topbar__notice {
	color: #a6ccde;
}

.ed--estate .ed-topbar__notice {
	color: #dbc1b8;
}

@media (min-width: 640px) {
	.ed .ed-topbar__notice {
		order: 0;
		width: auto;
	}
}

.ed .ed-topbar__close a {
	display: inline-block;
	padding: 0.25rem 0.625rem;
	border-radius: 4px;
	transition: background-color 0.15s ease;
}

.ed--clinic .ed-topbar__close a {
	background-color: #00222d;
}

.ed--clinic .ed-topbar__close a:hover {
	background-color: #164e63;
}

.ed--estate .ed-topbar__close a {
	background-color: #b85d38;
}

.ed--estate .ed-topbar__close a:hover {
	background-color: #994522;
}

/* ---------- Encabezado de la clínica / inmobiliaria ---------- */
.ed .ed-header {
	border-bottom: 1px solid var(--ed-border);
	background-color: #fff;
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.ed .ed-header__inner,
.ed .ed-container {
	margin-right: auto;
	margin-left: auto;
}

.ed--clinic .ed-header__inner,
.ed--clinic .ed-container,
.ed--clinic .ed-footer__inner {
	max-width: 72rem;
}

.ed--estate .ed-header__inner,
.ed--estate .ed-container,
.ed--estate .ed-footer__inner {
	max-width: 80rem;
}

.ed .ed-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 1.25rem;
}

.ed .ed-brand {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.ed .ed-brand__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border: 1px solid;
}

.ed .ed-brand__icon .ed-ico {
	width: 1.25rem;
	height: 1.25rem;
}

.ed--clinic .ed-brand__icon {
	border-color: #ccfbf1;
	border-radius: 12px;
	background-color: #f0fdfa;
	color: #14b8a6;
}

.ed--estate .ed-brand__icon {
	border-color: #dbc1b8;
	border-radius: 8px;
	background-color: #f8ebe6;
	color: #b85d38;
}

.ed .ed-brand__name {
	display: block;
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.75rem;
	letter-spacing: -0.025em;
}

.ed--clinic .ed-brand__name {
	color: #0f3846;
}

.ed--estate .ed-brand__name {
	color: #201a18;
	text-transform: uppercase;
}

.ed .ed-brand__zone {
	display: block;
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.5rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.ed--clinic .ed-brand__zone {
	color: #006b5f;
}

.ed--estate .ed-brand__zone {
	color: #825430;
	font-size: 11px;
	letter-spacing: 0.1em;
}

.ed .ed-header__actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

/* ---------- Botones ---------- */
.ed .ed-btn a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	border: 1px solid transparent;
	border-radius: var(--ed-radius-btn);
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.25rem;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.ed .ed-btn--sm a {
	padding: 0.5rem 1rem;
	font-size: 0.75rem;
	line-height: 1rem;
}

@media (min-width: 640px) {
	.ed .ed-btn--sm a {
		font-size: 0.875rem;
		line-height: 1.25rem;
	}
}

.ed .ed-btn--lg a {
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.ed .ed-btn--navy a {
	background-color: #0f3846;
	color: #fff;
}

.ed .ed-btn--navy a:hover {
	background-color: #164e63;
	color: #fff;
}

.ed .ed-btn--white a {
	padding: 0.75rem 1.25rem;
	border-color: #e2e8f0;
	background-color: #fff;
	color: #0f3846;
}

.ed .ed-btn--white a:hover {
	background-color: #f2f4f6;
	color: #0f3846;
}

.ed .ed-btn--rust a {
	background-color: #994522;
	color: #fff;
}

.ed .ed-btn--rust a:hover {
	background-color: #b85d38;
	color: #fff;
}

.ed .ed-btn--soft a {
	border-color: #dbc1b8;
	background-color: #f8ebe6;
	color: #201a18;
}

.ed .ed-btn--soft a:hover {
	background-color: #f2e6e1;
	color: #201a18;
}

.ed--estate .ed-hero .ed-btn--soft a {
	padding: 0.75rem 1.25rem;
}

.ed .ed-btn--grow {
	flex: 1;
}

.ed .ed-btn--grow a {
	display: flex;
	width: 100%;
	padding: 0.5rem 0.75rem;
	border: 0;
	font-size: 0.75rem;
	line-height: 1rem;
}

.ed .ed-iconbtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.5rem;
	border: 1px solid transparent;
	border-radius: 8px;
	transition: background-color 0.15s ease;
}

.ed--clinic .ed-iconbtn {
	border-color: #ccfbf1;
	background-color: #f0fdfa;
	color: #006b5f;
}

.ed--clinic .ed-iconbtn:hover {
	background-color: #ccfbf1;
}

.ed--estate .ed-iconbtn--solid {
	border: 0;
	border-radius: 4px;
	background-color: #994522;
	color: #fff;
}

.ed--estate .ed-iconbtn--solid:hover {
	background-color: #b85d38;
	color: #fff;
}

/* ---------- Hero ---------- */
.ed .ed-container {
	padding: 2.5rem 1.25rem;
}

.ed .ed-container > * + * {
	margin-top: 4rem;
}

.ed .ed-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: center;
	gap: 2.5rem;
}

@media (min-width: 1024px) {
	.ed .ed-hero {
		grid-template-columns: repeat(12, minmax(0, 1fr));
	}

	.ed--clinic .ed-hero__copy {
		grid-column: span 7;
	}

	.ed--clinic .ed-hero__media {
		grid-column: span 5;
	}

	.ed--estate .ed-hero__copy,
	.ed--estate .ed-hero__media {
		grid-column: span 6;
	}
}

.ed .ed-hero__copy {
	min-width: 0;
}

.ed .ed-hero__copy > * + * {
	margin-top: 1.25rem;
}

.ed .ed-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.25rem 0.75rem;
	border: 1px solid;
	border-radius: 9999px;
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1rem;
}

.ed--clinic .ed-pill {
	border-color: #ccfbf1;
	background-color: #f0fdfa;
	color: #006f64;
}

.ed--estate .ed-pill {
	border-color: #dbc1b8;
	background-color: #f8ebe6;
	color: #825430;
}

.ed .ed-pill .ed-ico {
	width: 0.875rem;
	height: 0.875rem;
}

.ed--clinic .ed-pill .ed-ico {
	color: #14b8a6;
}

.ed--estate .ed-pill .ed-ico {
	color: #b85d38;
}

.ed .ed-pill--sm {
	margin-bottom: 0.5rem;
	gap: 0.375rem;
	border-color: transparent;
}

.ed .ed-hero__title {
	font-size: 1.875rem;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.025em;
}

@media (min-width: 640px) {
	.ed .ed-hero__title {
		font-size: 2.25rem;
	}
}

@media (min-width: 1024px) {
	.ed .ed-hero__title {
		font-size: 3rem;
	}
}

.ed--clinic .ed-hero__title {
	color: #0f3846;
}

.ed--estate .ed-hero__title {
	color: #201a18;
}

.ed .ed-hero__text {
	max-width: 36rem;
	font-size: 1rem;
	line-height: 1.625;
}

.ed--clinic .ed-hero__text {
	color: #41484b;
}

.ed--estate .ed-hero__text {
	color: #55433c;
}

.ed .ed-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	padding-top: 0.5rem;
}

.ed .ed-hero__actions > * {
	margin-top: 0;
}

.ed .ed-hero__frame {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border-radius: 12px;
	background-color: #e2e8f0;
}

.ed .ed-hero__media {
	min-width: 0;
}

.ed--clinic .ed-hero__media {
	padding: 0.75rem;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	background-color: #fff;
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.ed--estate .ed-hero__media {
	padding: 0.75rem;
	border: 1px solid #e5ddd0;
	border-radius: 16px;
	background-color: #fff;
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.ed .ed-hero__frame--estate {
	aspect-ratio: 16 / 11;
	background-color: #f2e6e1;
}

.ed .ed-hero__badge {
	position: absolute;
	bottom: 0.75rem;
	left: 0.75rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 0.75rem;
	border: 1px solid;
	border-radius: 8px;
	background-color: rgba(255, 255, 255, 0.95);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1rem;
}

.ed--clinic .ed-hero__badge {
	border-color: #e2e8f0;
	color: #0f3846;
}

.ed--clinic .ed-hero__badge .ed-ico {
	color: #006b5f;
}

.ed .ed-hero__badge--stack {
	display: block;
	padding: 0.5rem 0.875rem;
	border-color: #e5ddd0;
	font-weight: 400;
}

.ed .ed-hero__badge-title {
	display: block;
	color: #201a18;
	font-weight: 700;
}

.ed .ed-hero__badge-sub {
	color: #825430;
	font-size: 11px;
}

/* ---------- Secciones y tarjetas ---------- */
.ed .ed-section > * + * {
	margin-top: 1.5rem;
}

.ed .ed-kicker {
	display: block;
	margin-bottom: 0.25rem;
	color: #006b5f;
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.ed .ed-h2 {
	color: #0f3846;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 2rem;
}

@media (min-width: 640px) {
	.ed .ed-h2 {
		font-size: 1.875rem;
		line-height: 2.25rem;
	}
}

.ed--estate .ed-h2 {
	color: #201a18;
	font-size: 1.5rem;
	line-height: 2rem;
}

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

@media (min-width: 768px) {
	.ed .ed-grid--4,
	.ed .ed-grid--3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ed .ed-grid--2,
	.ed .ed-grid--info {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.ed .ed-grid--4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

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

.ed .ed-card {
	min-width: 0;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	background-color: #fff;
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.ed--estate .ed-card {
	border-color: #e5ddd0;
}

.ed .ed-svc {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 1.25rem;
	transition: box-shadow 0.15s ease;
}

.ed .ed-svc:hover,
.ed .ed-prop:hover {
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.ed .ed-svc__badge {
	display: inline-block;
	margin-bottom: 0.75rem;
	padding: 0.125rem 0.5rem;
	border-radius: 9999px;
	background-color: #f0fdfa;
	color: #006f64;
	font-size: 11px;
	font-weight: 600;
}

.ed .ed-svc__name {
	margin-bottom: 0.5rem;
	color: #0f3846;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.5rem;
}

.ed .ed-svc__desc {
	margin-bottom: 1rem;
	color: #41484b;
	font-size: 0.75rem;
	line-height: 1.625;
}

.ed .ed-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	padding-top: 0.75rem;
	border-top: 1px solid #f2f4f6;
	font-size: 0.75rem;
	line-height: 1rem;
}

.ed .ed-card__meta {
	color: #71787c;
}

.ed .ed-card__link a {
	color: #006b5f;
	font-weight: 600;
}

.ed .ed-card__link--bold a {
	font-weight: 700;
}

.ed .ed-card__link a:hover {
	text-decoration: underline;
}

.ed .ed-spec {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 1.5rem;
}

.ed .ed-spec__top > * + * {
	margin-top: 0.75rem;
}

.ed .ed-spec__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
}

.ed .ed-spec__name {
	color: #0f3846;
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.75rem;
}

.ed .ed-spec__reg {
	padding: 0.125rem 0.5rem;
	border-radius: 4px;
	background-color: #f0fdfa;
	color: #006f64;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 0.75rem;
	line-height: 1rem;
}

.ed .ed-spec__specialty {
	color: #006b5f;
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1rem;
}

.ed .ed-spec__bio {
	color: #41484b;
	font-size: 0.75rem;
	line-height: 1.625;
}

.ed .ed-card__foot--spec {
	margin-top: 1rem;
}

.ed .ed-card--p6 {
	padding: 1.5rem;
}

.ed .ed-h3row {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1rem;
	color: #0f3846;
}

.ed .ed-h3row .ed-ico {
	width: 1.25rem;
	height: 1.25rem;
	color: #006b5f;
}

.ed .ed-h3 {
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.75rem;
}

.ed .ed-rows > * + * {
	margin-top: 0.75rem;
}

.ed .ed-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	padding: 0.75rem;
	border-radius: 8px;
	background-color: #f8fafc;
	font-size: 0.875rem;
	line-height: 1.25rem;
}

.ed .ed-row__label {
	color: #0f3846;
	font-weight: 500;
}

.ed .ed-row__value {
	color: #006b5f;
	font-weight: 600;
}

.ed .ed-note {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 1rem;
	padding: 0.75rem;
	border-radius: 8px;
	background-color: #f0fdfa;
	color: #006f64;
	font-size: 0.75rem;
	line-height: 1rem;
}

.ed .ed-small {
	color: #41484b;
	font-size: 0.75rem;
	line-height: 1rem;
}

.ed .ed-card--p6 .ed-small {
	margin-bottom: 1rem;
}

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

@media (min-width: 640px) {
	.ed .ed-insgrid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.ed .ed-ins {
	padding: 0.625rem;
	border: 1px solid #e2e8f0;
	border-radius: 4px;
	background-color: #f8fafc;
	text-align: center;
}

.ed .ed-ins__name {
	display: block;
	color: #0f3846;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1rem;
}

.ed .ed-ins__type {
	display: block;
	color: #71787c;
	font-size: 10px;
}

/* ---------- Formularios ---------- */
.ed .ed-formcard {
	max-width: 48rem;
	margin-right: auto;
	margin-left: auto;
	padding: 1.5rem;
	border-radius: 16px;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

@media (min-width: 640px) {
	.ed .ed-formcard {
		padding: 2.5rem;
	}
}

.ed .ed-formcard__head {
	margin-bottom: 2rem;
	text-align: center;
}

.ed .ed-formcard__head .ed-pill {
	display: inline-flex;
}

.ed .ed-formcard__title {
	color: #0f3846;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 2rem;
}

.ed .ed-formcard__head .ed-small {
	margin-top: 0.25rem;
}

.ed .ed-form > * + * {
	margin-top: 1rem;
}

.ed .ed-form__row {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1rem;
}

@media (min-width: 640px) {
	.ed .ed-form__row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.ed .ed-form label {
	display: block;
	margin-bottom: 0.25rem;
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1rem;
}

.ed--clinic .ed-form label {
	color: #0f3846;
}

.ed .ed-form input,
.ed .ed-form select {
	display: block;
	width: 100%;
	max-width: 100%;
	padding: 0.75rem;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	background-color: #f8fafc;
	box-shadow: none;
	color: inherit;
	font-family: var(--ec-font-inter);
	font-size: 0.75rem;
	line-height: 1rem;
}

.ed .ed-form input:focus,
.ed .ed-form select:focus {
	outline: none;
	border-color: #14b8a6;
}

.ed .ed-form__submit {
	display: block;
	width: 100%;
	padding: 0.875rem 0;
	border: 0;
	border-radius: 8px;
	background-color: #0f3846;
	box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
	color: #fff;
	font-family: var(--ec-font-inter);
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.25rem;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.ed .ed-form__submit:hover {
	background-color: #164e63;
}

/* ---------- Pie ---------- */
.ed .ed-footer {
	padding: 2rem 0;
	font-size: 0.75rem;
	line-height: 1rem;
	text-align: center;
}

.ed--clinic .ed-footer {
	border-top: 1px solid #d8dadc;
	background-color: #e6e8ea;
	color: #41484b;
}

.ed--estate .ed-footer {
	background-color: #2a2421;
	color: #dbc1b8;
}

.ed .ed-footer__inner {
	margin-right: auto;
	margin-left: auto;
	padding: 0 1.25rem;
}

.ed .ed-footer__inner > * + * {
	margin-top: 0.5rem;
}

.ed .ed-footer__title {
	font-weight: 600;
}

.ed--clinic .ed-footer__title {
	color: #0f3846;
}

.ed--estate .ed-footer__title {
	color: #fff;
}

.ed--clinic .ed-footer__text {
	color: #71787c;
}

.ed--estate .ed-footer__text {
	color: #88726b;
}

/* ---------- Aviso de prototipo (modal) ---------- */
.ed .ed-modal {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	background-color: rgba(0, 0, 0, 0.6);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

.ed .ed-modal[hidden] {
	display: none;
}

.ed .ed-modal[hidden]:target {
	display: flex;
}

.ed .ed-modal__card {
	width: 100%;
	max-width: 28rem;
	padding: 1.5rem;
	border-radius: 16px;
	background-color: #fff;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
	text-align: center;
}

@media (min-width: 640px) {
	.ed .ed-modal__card {
		padding: 2rem;
	}
}

.ed .ed-modal__card > * + * {
	margin-top: 1rem;
}

.ed .ed-modal__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	margin-right: auto;
	margin-left: auto;
	border-radius: 9999px;
}

.ed .ed-modal__icon .ed-ico {
	width: 1.5rem;
	height: 1.5rem;
}

.ed--clinic .ed-modal__icon {
	background-color: #f0fdfa;
	color: #006f64;
}

.ed--estate .ed-modal__icon {
	background-color: #f8ebe6;
	color: #994522;
}

.ed .ed-modal h3 {
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.75rem;
}

.ed--clinic .ed-modal h3 {
	color: #0f3846;
}

.ed--estate .ed-modal h3 {
	color: #201a18;
}

.ed .ed-modal p {
	font-size: 0.875rem;
	line-height: 1.625;
}

.ed--clinic .ed-modal p {
	color: #41484b;
}

.ed--estate .ed-modal p {
	color: #55433c;
}

.ed .ed-modal__actions {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding-top: 0.5rem;
}

.ed .ed-modal__actions > * + * {
	margin-top: 0;
}

.ed .ed-modal__actions a {
	display: block;
	width: 100%;
	padding: 0.625rem 0;
	border-radius: 8px;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.25rem;
	transition: background-color 0.15s ease;
}

.ed--clinic .ed-modal__keep {
	background-color: #0f3846;
	color: #fff;
}

.ed--clinic .ed-modal__keep:hover {
	background-color: #164e63;
	color: #fff;
}

.ed--clinic .ed-modal__back {
	background-color: #f2f4f6;
	color: #0f3846;
}

.ed--clinic .ed-modal__back:hover {
	background-color: #e6e8ea;
	color: #0f3846;
}

.ed--estate .ed-modal__keep {
	background-color: #994522;
	color: #fff;
}

.ed--estate .ed-modal__keep:hover {
	background-color: #b85d38;
	color: #fff;
}

.ed--estate .ed-modal__back {
	background-color: #f8ebe6;
	color: #201a18;
}

.ed--estate .ed-modal__back:hover {
	background-color: #f2e6e1;
	color: #201a18;
}

/* ---------- Inmobiliaria ---------- */
.ed--estate .ed-filters {
	padding: 1.5rem;
	border: 1px solid #e5ddd0;
	border-radius: 16px;
	background-color: #f8ebe6;
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.ed--estate .ed-filters > * + * {
	margin-top: 1rem;
}

.ed .ed-filters__head {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid rgba(219, 193, 184, 0.6);
}

@media (min-width: 640px) {
	.ed .ed-filters__head {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
}

.ed .ed-filters__title {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: #201a18;
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.25rem;
}

.ed .ed-filters__title .ed-ico {
	color: #b85d38;
}

.ed .ed-filters__count {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.ed .ed-filters__found {
	color: #55433c;
	font-size: 0.75rem;
	line-height: 1rem;
}

.ed .ed-filters__found strong {
	color: #994522;
}

.ed .ed-filters__clear {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	padding: 0;
	border: 0;
	background: none;
	color: #b85d38;
	font-family: var(--ec-font-inter);
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1rem;
	cursor: pointer;
}

.ed .ed-filters__clear[hidden] {
	display: none;
}

.ed .ed-filters__clear:hover {
	text-decoration: underline;
}

.ed .ed-filters__clear .ed-ico {
	width: 0.75rem;
	height: 0.75rem;
}

.ed .ed-filters__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1rem;
}

@media (min-width: 640px) {
	.ed .ed-filters__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.ed .ed-filters__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.ed--estate .ed-filters label,
.ed--estate .ed-form label {
	color: #55433c;
}

.ed--estate .ed-filters select,
.ed--estate .ed-form input,
.ed--estate .ed-form select {
	padding: 0.625rem;
	border: 1px solid #dbc1b8;
	border-radius: 4px;
	background-color: #fff;
	color: #201a18;
	font-size: 0.75rem;
	line-height: 1rem;
}

.ed--estate .ed-filters select {
	display: block;
	width: 100%;
	max-width: 100%;
	box-shadow: none;
	font-family: var(--ec-font-inter);
}

.ed--estate .ed-filters select:focus,
.ed--estate .ed-form input:focus,
.ed--estate .ed-form select:focus {
	outline: none;
	border-color: #b85d38;
}

.ed .ed-filters label {
	display: block;
	margin-bottom: 0.25rem;
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1rem;
}

.ed .ed-filters__reset {
	display: flex;
	align-items: flex-end;
}

.ed .ed-filters__reset button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.375rem;
	width: 100%;
	padding: 0.625rem 0.75rem;
	border: 1px solid #dbc1b8;
	border-radius: 4px;
	background-color: #fff;
	color: #825430;
	font-family: var(--ec-font-inter);
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1rem;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.ed .ed-filters__reset button:hover {
	background-color: #f2e6e1;
}

.ed .ed-filters__reset .ed-ico {
	width: 0.875rem;
	height: 0.875rem;
}

.ed .ed-listing > * + * {
	margin-top: 1.5rem;
}

.ed .ed-listing__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
}

.ed .ed-listing__units {
	color: #825430;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 0.75rem;
	line-height: 1rem;
}

.ed .ed-props[hidden],
.ed .ed-prop[hidden] {
	display: none;
}

.ed .ed-empty {
	padding: 3rem;
	border: 1px solid #e5ddd0;
	border-radius: 16px;
	background-color: #fff;
	text-align: center;
}

.ed .ed-empty[hidden] {
	display: none;
}

.ed .ed-empty > * + * {
	margin-top: 1rem;
}

.ed .ed-empty .ed-ico--xl {
	display: block;
	width: 3rem;
	height: 3rem;
	margin-right: auto;
	margin-left: auto;
	color: #dbc1b8;
}

.ed .ed-empty h3 {
	color: #201a18;
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.75rem;
}

.ed .ed-empty p {
	max-width: 28rem;
	margin-right: auto;
	margin-left: auto;
	color: #55433c;
	font-size: 0.875rem;
	line-height: 1.5;
}

.ed .ed-empty button {
	padding: 0.625rem 1.25rem;
	border: 0;
	border-radius: 4px;
	background-color: #994522;
	color: #fff;
	font-family: var(--ec-font-inter);
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1rem;
	cursor: pointer;
}

.ed .ed-empty button:hover {
	background-color: #b85d38;
}

.ed .ed-prop {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	overflow: hidden;
	padding: 0;
	transition: box-shadow 0.15s ease;
}

.ed .ed-prop__main {
	display: flex;
	flex: 1;
	flex-direction: column;
}

.ed .ed-prop__art {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	padding: 1rem;
	background-color: #f8ebe6;
}

.ed .ed-prop__tags {
	position: relative;
	z-index: 10;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.5rem;
}

.ed .ed-prop__tag {
	padding: 0.125rem 0.5rem;
	border-radius: 4px;
	background-color: rgba(255, 255, 255, 0.95);
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
	color: #994522;
	font-size: 10px;
	font-weight: 700;
}

.ed .ed-prop__zone {
	padding: 0.125rem 0.5rem;
	border-radius: 4px;
	background-color: rgba(42, 36, 33, 0.8);
	color: #fff;
	font-size: 10px;
}

.ed .ed-prop__illu-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: auto 0;
}

.ed .ed-prop__illu {
	width: 10rem;
	height: 6rem;
}

.ed .ed-prop__where {
	position: relative;
	z-index: 10;
	color: #825430;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 10px;
}

.ed .ed-prop__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 1.25rem;
}

.ed .ed-prop__body > * + * {
	margin-top: 0.75rem;
}

.ed .ed-prop__pricerow {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.5rem;
}

.ed .ed-prop__price {
	color: #994522;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.75rem;
}

.ed .ed-prop__delivery {
	color: #825430;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 10px;
}

.ed .ed-prop__title {
	color: #201a18;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.25;
}

.ed .ed-prop__text {
	margin-bottom: 0.75rem;
	display: -webkit-box;
	overflow: hidden;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	color: #55433c;
	font-size: 0.75rem;
	line-height: 1rem;
}

.ed .ed-specs {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.5rem;
	margin-top: auto;
	padding: 0.5rem;
	border: 1px solid rgba(229, 221, 208, 0.6);
	border-radius: 4px;
	background-color: #fff8f6;
	font-size: 0.75rem;
	line-height: 1.3333;
	text-align: center;
}

.ed .ed-prop__body > .ed-specs {
	margin-top: auto;
}

.ed .ed-specs__label {
	display: block;
	color: #825430;
	font-size: 10px;
}

.ed .ed-specs__value {
	display: block;
	color: #201a18;
	font-weight: 700;
}

/* "Detalle" completo, sin cortar (AUD-023): el texto baja de línea y se parte con guion si hace falta */
.ed .ed-specs__value--detail {
	overflow-wrap: break-word;
	-webkit-hyphens: auto;
	hyphens: auto;
}

.ed .ed-prop__actions {
	display: flex;
	gap: 0.5rem;
	padding: 0 1.25rem 1.25rem;
}

.ed .ed-prop__actions > * + * {
	margin-top: 0;
}

.ed .ed-project {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2.5rem;
	padding: 1.5rem;
	border-radius: 16px;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

@media (min-width: 640px) {
	.ed .ed-project {
		padding: 2.5rem;
	}
}

@media (min-width: 1024px) {
	.ed .ed-project {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		align-items: start;
	}

	.ed .ed-project__info,
	.ed .ed-dossier {
		grid-column: span 6;
	}
}

.ed .ed-project__info {
	min-width: 0;
}

.ed .ed-project__info > * + * {
	margin-top: 1rem;
}

.ed .ed-label {
	display: inline-block;
	padding: 0.25rem 0.625rem;
	border-radius: 4px;
	background-color: #f8ebe6;
	color: #994522;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.ed .ed-project__title {
	color: #201a18;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 2rem;
}

@media (min-width: 640px) {
	.ed .ed-project__title {
		font-size: 1.875rem;
		line-height: 2.25rem;
	}
}

.ed .ed-project__text {
	color: #55433c;
	font-size: 0.875rem;
	line-height: 1.625;
}

.ed .ed-feats {
	padding-top: 0.5rem;
}

.ed .ed-feats > * + * {
	margin-top: 0.75rem;
}

.ed .ed-feat {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	padding: 0.875rem;
	border: 1px solid #e5ddd0;
	border-radius: 8px;
	background-color: #fff8f6;
}

.ed .ed-feat .ed-ico {
	margin-top: 0.125rem;
	color: #b85d38;
}

.ed .ed-feat__title {
	color: #201a18;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1rem;
}

.ed .ed-feat__desc {
	margin-top: 0.125rem;
	color: #55433c;
	font-size: 0.75rem;
	line-height: 1rem;
}

.ed .ed-project__legal {
	padding-top: 0.5rem;
	color: #825430;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 11px;
}

.ed .ed-dossier {
	padding: 1.5rem;
	border: 1px solid #dbc1b8;
	border-radius: 12px;
	background-color: #f8ebe6;
}

.ed .ed-dossier h3 {
	margin-bottom: 0.25rem;
	color: #201a18;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.5rem;
}

.ed .ed-dossier > p {
	margin-bottom: 1rem;
	color: #55433c;
	font-size: 0.75rem;
	line-height: 1rem;
}

.ed .ed-form--estate > * + * {
	margin-top: 0.75rem;
}

.ed .ed-form--estate .ed-form__row {
	gap: 0.75rem;
}

.ed--estate .ed-form__submit {
	margin-top: 1.25rem;
	padding: 0.75rem 0;
	border-radius: 4px;
	background-color: #994522;
	font-size: 0.75rem;
	line-height: 1rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.ed--estate .ed-form__submit:hover {
	background-color: #b85d38;
}

@media (prefers-reduced-motion: reduce) {
	.ed * {
		transition: none !important;
	}
}

/* CRO-1, R6: los enlaces de la barra superior de las demos (son del sitio, no de la demo) miden 44 px o más por debajo de 640 px */
@media (max-width: 639px) {
	.ed .ed-topbar__back a,
	.ed .ed-topbar__close a {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
	}
}

/* ==========================================================================================================================
 * TD-38: la clínica como Web Profesional de 8 páginas (/demo/clinica/ y sus 7 hijas). Todo va con la clase .cl, solo en la clínica.
 * ======================================================================================================================== */
.cl :is(a, button, summary, input, select):focus-visible {
	outline: 3px solid var(--cl-main);
	outline-offset: 2px;
}

.cl .ed-topbar :is(a, button):focus-visible,
.cl .cl-close :is(a, button):focus-visible,
.cl .cl-band :is(a, button):focus-visible,
.cl .cl-hero :is(a, button):focus-visible {
	outline-color: #ffffff;
}

.cl .cl-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ---------- Barra superior: sello y "Ver en Google" ---------- */
.cl .ed-topbar__back {
	order: 0;
}

.cl .ed-topbar__close {
	order: 1;
}

.cl .ed-topbar__tools {
	order: 5;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	width: 100%;
}

.cl .ed-topbar__seal {
	padding: 0.1875rem 0.625rem;
	border: 1px solid var(--cl-seal-b);
	border-radius: 9999px;
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1rem;
	white-space: nowrap;
}

.cl .ed-topbar__google a {
	display: inline-flex;
	align-items: center;
	padding: 0.25rem 0.75rem;
	border-radius: 4px;
	background-color: #ffffff;
	color: var(--cl-dark);
	font-weight: 700;
	white-space: nowrap;
	transition: background-color 0.15s ease;
}

.cl .ed-topbar__google a:hover {
	background-color: var(--cl-dark-soft);
	color: var(--cl-dark);
}

@media (max-width: 639px) {
	/* La barra ocupa tres filas en el celular: ahí no queda fija para no tapar la pantalla. */
	.cl .ed-topbar {
		position: static;
	}

	.cl .ed-topbar__google a {
		min-height: 44px;
	}
}

@media (min-width: 640px) {
	.cl .ed-topbar {
		justify-content: center;
		gap: 0.5rem 1rem;
	}

	.cl .ed-topbar__tools {
		display: contents;
	}

	.cl .ed-topbar__back {
		order: 0;
		margin-right: auto;
	}

	.cl .ed-topbar__seal {
		order: 1;
	}

	.cl .ed-topbar__notice {
		order: 2;
	}

	.cl .ed-topbar__google {
		order: 3;
	}

	.cl .ed-topbar__close {
		order: 4;
	}
}

/* ---------- Encabezado y menú ---------- */
.cl .cl-header {
	position: relative;
	z-index: 40;
}

.cl .cl-header__inner {
	flex-wrap: wrap;
	gap: 0.75rem 1rem;
}

.cl .cl-header .ed-brand {
	color: inherit;
}

.cl .cl-header__actions {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	width: 100%;
}

.cl .cl-burger {
	margin-left: auto;
}

.cl .cl-header__actions > p {
	margin: 0;
}

.cl .cl-burger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 1px solid var(--cl-soft-b);
	border-radius: 8px;
	background-color: var(--cl-soft);
	color: var(--cl-main);
	cursor: pointer;
}

.cl .cl-burger:hover {
	background-color: var(--cl-soft-b);
}

.cl .cl-burger .ed-ico {
	width: 1.375rem;
	height: 1.375rem;
}

.cl .cl-burger__close,
.cl .cl-burger[aria-expanded='true'] .cl-burger__open {
	display: none;
}

.cl .cl-burger[aria-expanded='true'] .cl-burger__close {
	display: block;
}

.cl .cl-nav {
	order: 3;
	display: none;
	width: 100%;
	padding-top: 0.5rem;
	border-top: 1px solid var(--cl-line);
}

.cl .cl-nav.is-open {
	display: block;
}

.cl .cl-nav__list,
.cl .cl-sub {
	margin: 0;
	padding: 0;
	list-style: none;
}

.cl .cl-nav__link,
.cl .cl-sub__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	width: 100%;
	min-height: 2.75rem;
	padding: 0.5rem 0.25rem;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--cl-dark);
	font-family: var(--ec-font-inter);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.25rem;
	text-align: left;
	cursor: pointer;
}

.cl .cl-nav__link:hover,
.cl .cl-sub__link:hover {
	background-color: var(--cl-soft);
	color: var(--cl-main);
}

.cl :is(.cl-nav__link, .cl-sub__link)[aria-current='page'],
.cl .cl-nav__link.is-current {
	color: var(--cl-main);
	box-shadow: inset 0 -2px 0 var(--cl-accent);
}

.cl .cl-nav__chev {
	width: 1rem;
	height: 1rem;
	transition: transform 0.2s ease;
}

.cl .cl-nav__toggle[aria-expanded='true'] .cl-nav__chev {
	transform: rotate(180deg);
}

.cl .cl-sub {
	display: none;
	padding-left: 0.75rem;
}

.cl .cl-sub.is-open {
	display: block;
}

.cl .cl-sub__link {
	font-weight: 500;
}

@media (min-width: 1024px) {
	.cl .cl-burger {
		display: none;
	}

	.cl .cl-nav {
		order: 0;
		display: block;
		width: auto;
		padding-top: 0;
		border-top: 0;
		margin-left: auto;
	}

	.cl .cl-header__actions {
		width: auto;
	}

	.cl .cl-nav__list {
		display: flex;
		align-items: center;
		gap: 0.25rem;
	}

	.cl .cl-nav__link {
		width: auto;
		padding: 0.5rem 0.75rem;
	}

	.cl .cl-nav__item--sub {
		position: relative;
	}

	.cl .cl-sub {
		position: absolute;
		top: calc(100% + 0.25rem);
		left: 0;
		z-index: 60;
		min-width: 14rem;
		padding: 0.5rem;
		border: 1px solid var(--cl-line);
		border-radius: 12px;
		background-color: #ffffff;
		box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
	}

	/* Sin JavaScript el desplegable se abre con el puntero o con el teclado. */
	.cl:not(.cl-js) .cl-nav__item--sub:is(:hover, :focus-within) .cl-sub {
		display: block;
	}
}

/* ---------- Portada de las páginas interiores ---------- */
.cl .cl-hero .dm-hero__inner {
	padding: 2rem 1.25rem 6rem;
}

@media (min-width: 1024px) {
	.cl .cl-hero .dm-hero__inner {
		padding: 3.5rem 1.25rem 8rem;
	}
}

.cl .cl-hero .ed-hero__copy {
	max-width: 42rem;
}

.cl .cl-hero .ed-hero__copy > * + * {
	margin-top: 1rem;
}

.cl .cl-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem;
	margin: 0;
	padding: 0;
	color: var(--cl-on-dark-m);
	font-size: 0.8125rem;
	line-height: 1.25rem;
	list-style: none;
}

.cl .cl-crumbs li + li::before {
	content: '›';
	margin-right: 0.25rem;
}

.cl .cl-crumbs a {
	color: #ffffff;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.cl .cl-btn--ghost a {
	padding: 0.75rem 1.25rem;
	border: 1px solid rgba(255, 255, 255, 0.6);
	background-color: transparent;
	color: #ffffff;
}

.cl .cl-btn--ghost a:hover {
	background-color: rgba(255, 255, 255, 0.14);
	color: #ffffff;
}

.cl .ed-btn--wa a {
	min-height: 2.75rem;
}

/* ---------- Contenido de las páginas ---------- */
.cl .cl-main {
	padding-top: 3rem;
}

.cl .cl-head {
	max-width: 46rem;
}

.cl .cl-head > * + * {
	margin-top: 1rem;
}

.cl .cl-head .ed-pill {
	display: inline-flex;
}

.cl .cl-head .ed-hero__title {
	color: var(--cl-dark);
}

.cl .cl-text {
	color: var(--cl-muted);
	line-height: 1.625;
}

.cl .ed-card--p6 .ed-h3 {
	margin-bottom: 0.75rem;
}

.cl .cl-checks {
	display: grid;
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cl .cl-checks li {
	display: flex;
	align-items: flex-start;
	gap: 0.625rem;
	color: var(--cl-muted);
	line-height: 1.5;
}

.cl .cl-checks .ed-ico {
	width: 1.125rem;
	height: 1.125rem;
	margin-top: 0.1875rem;
	color: var(--cl-main);
}

.cl .cl-alert {
	border-color: #fcd9a8;
	background-color: #fffaf1;
}

.cl .cl-link a {
	display: inline-block;
	padding: 0.5rem 0;
	color: var(--cl-main);
}

.cl .cl-narrow {
	max-width: 48rem;
	margin-right: auto;
	margin-left: auto;
}

.cl .ed-container > .cl-narrow {
	width: 100%;
}

.cl .ed-section__head > * + * {
	margin-top: 0.5rem;
}

/* ---------- Paso a paso ---------- */
.cl .cl-steps {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1rem;
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 768px) {
	.cl .cl-steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.cl .cl-steps {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.cl .cl-step {
	min-width: 0;
	padding: 1.25rem;
	border: 1px solid var(--cl-line);
	border-radius: 12px;
	background-color: #ffffff;
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.cl .cl-step__n {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	margin-bottom: 0.75rem;
	border-radius: 9999px;
	background-color: var(--cl-dark);
	color: #ffffff;
	font-size: 0.875rem;
	font-weight: 700;
}

.cl .cl-step__t {
	color: var(--cl-dark);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.4;
}

.cl .cl-step__dur {
	display: inline-block;
	margin: 0.5rem 0;
	padding: 0.125rem 0.5rem;
	border-radius: 9999px;
	background-color: var(--cl-soft);
	color: var(--cl-main-2);
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.25rem;
}

.cl .cl-step__x {
	color: var(--cl-muted);
	font-size: 0.875rem;
	line-height: 1.6;
}

/* ---------- Preguntas frecuentes ---------- */
.cl .cl-faq {
	display: grid;
	gap: 0.75rem;
	max-width: 48rem;
}

.cl .cl-faq__item {
	border: 1px solid var(--cl-line);
	border-radius: 12px;
	background-color: #ffffff;
}

.cl .cl-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 3.25rem;
	padding: 0.75rem 1.25rem;
	color: var(--cl-dark);
	font-weight: 600;
	line-height: 1.4;
	list-style: none;
	cursor: pointer;
}

.cl .cl-faq__item summary::-webkit-details-marker {
	display: none;
}

.cl .cl-faq__item summary .ed-ico {
	width: 1.125rem;
	height: 1.125rem;
	color: var(--cl-main);
	transition: transform 0.2s ease;
}

.cl .cl-faq__item[open] summary .ed-ico {
	transform: rotate(180deg);
}

.cl .cl-faq__a {
	padding: 0 1.25rem 1.25rem;
	color: var(--cl-muted);
	line-height: 1.625;
}

/* ---------- Cierre ---------- */
.cl .cl-close {
	padding: 2.5rem 1.5rem;
	border-radius: 16px;
	background-color: var(--cl-dark);
	color: #ffffff;
	text-align: center;
}

.cl .cl-close__t {
	color: #ffffff;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 2rem;
}

.cl .cl-close__x {
	max-width: 36rem;
	margin: 0.5rem auto 0;
	color: var(--cl-on-dark-m);
	line-height: 1.6;
}

.cl .cl-close .ed-btn {
	margin: 1.25rem 0 0;
}

.cl .cl-close__more {
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.cl .cl-close__more p {
	color: var(--cl-on-dark-s);
	font-size: 0.75rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.cl .cl-close__more ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
	margin: 0.75rem 0 0;
	padding: 0;
	list-style: none;
}

.cl .cl-close__more a {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	padding: 0.5rem 1rem;
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 9999px;
	color: #ffffff;
	font-size: 0.875rem;
	font-weight: 600;
}

.cl .cl-close__more a:hover {
	background-color: rgba(255, 255, 255, 0.14);
	color: #ffffff;
}

/* ---------- Banda de urgencias ---------- */
.cl .cl-band {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	overflow: hidden;
	border-radius: 16px;
	background-color: var(--cl-dark);
	color: #ffffff;
}

@media (min-width: 768px) {
	.cl .cl-band {
		grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	}
}

.cl .cl-band__photo {
	position: relative;
	aspect-ratio: 4 / 3;
}

@media (min-width: 768px) {
	.cl .cl-band__photo {
		aspect-ratio: auto;
		min-height: 100%;
	}
}

.cl .cl-band__photo .dm-img {
	position: absolute;
	inset: 0;
}

.cl .cl-band__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.75rem;
	padding: 2rem 1.5rem;
}

.cl .cl-band__body > * {
	margin: 0;
}

.cl .cl-band__t {
	color: #ffffff;
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1.2;
}

.cl .cl-band__x {
	color: var(--cl-on-dark-m);
	line-height: 1.6;
}

.cl .cl-band__acts,
.cl .cl-quiz__acts {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	padding-top: 0.5rem;
}

.cl .cl-band__acts > p,
.cl .cl-quiz__acts > p {
	margin: 0;
}

/* ---------- Cuestionario ---------- */
.cl .cl-quiz {
	padding: 1.5rem;
	border-radius: 16px;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.08);
}

@media (min-width: 640px) {
	.cl .cl-quiz {
		padding: 2.5rem;
	}
}

.cl .cl-quiz__head {
	max-width: 36rem;
	margin-bottom: 1.5rem;
}

.cl .cl-quiz__head > * + * {
	margin-top: 0.25rem;
}

.cl .cl-quiz__stage {
	display: grid;
	max-width: 40rem;
}

.cl .cl-quiz__panel {
	grid-area: 1 / 1;
	min-width: 0;
	visibility: hidden;
}

.cl .cl-quiz__panel.is-active {
	visibility: visible;
}

/* Sin JavaScript: solo la pregunta 1, con enlaces a cada página. */
.cl .cl-quiz:not(.is-js) .cl-quiz__panel:not([data-step='1']) {
	display: none;
}

.cl .cl-quiz:not(.is-js) .cl-quiz__opts--js,
.cl .cl-quiz.is-js .cl-quiz__links {
	display: none;
}

.cl .cl-quiz__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 2.75rem;
	color: var(--cl-main);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.cl .cl-quiz__back,
.cl .cl-quiz__again {
	min-height: 2.75rem;
	padding: 0 0.75rem;
	border: 0;
	background: transparent;
	color: var(--cl-dark);
	font-family: var(--ec-font-inter);
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.cl .cl-quiz__q {
	margin: 0.25rem 0 1rem;
	color: var(--cl-dark);
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.4;
}

.cl .cl-quiz__q:focus {
	outline: none;
}

.cl .cl-quiz__opts,
.cl .cl-quiz__links {
	display: grid;
	gap: 0.625rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cl .cl-quiz__opt {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	width: 100%;
	min-height: 3.5rem;
	padding: 0.875rem 1rem;
	border: 1px solid var(--cl-line-s);
	border-radius: 10px;
	background-color: #ffffff;
	color: var(--cl-dark);
	font-family: var(--ec-font-inter);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.3;
	text-align: left;
	cursor: pointer;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.cl .cl-quiz__opt:hover {
	border-color: var(--cl-main);
	background-color: var(--cl-soft);
	color: var(--cl-dark);
}

.cl .cl-quiz__opt .ed-ico {
	color: var(--cl-main);
}

.cl .cl-quiz__desc {
	color: var(--cl-muted);
	line-height: 1.625;
}

.cl .cl-quiz__note {
	margin-top: 0.75rem;
	color: var(--cl-muted);
	font-size: 0.875rem;
	font-style: italic;
	line-height: 1.5;
}

.cl .cl-quiz__res .ed-btn--wa a {
	border-color: transparent;
	background-color: var(--cl-dark);
	color: #ffffff;
}

/* ---------- Antes y después ---------- */
.cl .cl-ba {
	max-width: 48rem;
	margin: 1.5rem 0 0;
	--p: 50%;
}

.cl .cl-ba__stage {
	position: relative;
	overflow: hidden;
	border-radius: 16px;
	background-color: var(--cl-line);
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
	touch-action: pan-y;
	user-select: none;
	-webkit-user-select: none;
}

.cl .cl-ba__img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	pointer-events: none;
}

.cl .cl-ba__img--before {
	clip-path: inset(0 calc(100% - var(--p)) 0 0);
}

.cl .cl-ba__tag {
	position: absolute;
	top: 0.75rem;
	padding: 0.25rem 0.625rem;
	border-radius: 9999px;
	background-color: rgba(7, 32, 42, 0.82);
	color: #ffffff;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1rem;
}

.cl .cl-ba__tag--before {
	left: 0.75rem;
}

.cl .cl-ba__tag--after {
	right: 0.75rem;
}

.cl .cl-ba__range {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	pointer-events: none;
}

.cl .cl-ba__handle {
	position: absolute;
	top: 0;
	bottom: 0;
	left: var(--p);
	width: 3px;
	margin-left: -1.5px;
	background-color: #ffffff;
	box-shadow: 0 0 0 1px rgba(7, 32, 42, 0.25);
	pointer-events: none;
}

.cl .cl-ba__handle::after {
	content: '↔';
	position: absolute;
	top: 50%;
	left: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	margin: -1.375rem 0 0 -1.375rem;
	border-radius: 9999px;
	background-color: #ffffff;
	box-shadow: 0 4px 12px rgba(7, 32, 42, 0.35);
	color: var(--cl-dark);
	font-size: 1.25rem;
	font-weight: 700;
}

.cl .cl-ba__range:focus-visible ~ .cl-ba__handle::after {
	outline: 3px solid var(--cl-main);
	outline-offset: 2px;
}

.cl .cl-ba__cap {
	margin-top: 0.5rem;
	color: var(--cl-muted);
	font-size: 0.8125rem;
}

.cl .cl-ba__pair {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
}

.cl .cl-ba__pair img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 12px;
}

.cl .cl-ba__pair figcaption {
	margin-top: 0.25rem;
	font-size: 0.8125rem;
	font-weight: 600;
}

/* ---------- Reseñas ---------- */
.cl .cl-rsum {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	color: var(--cl-dark);
	font-size: 1.125rem;
}

.cl .cl-stars {
	display: inline-flex;
	gap: 0.125rem;
	color: #b45309;
}

.cl .cl-stars .ed-ico {
	width: 1rem;
	height: 1rem;
}

.cl .cl-rgrid--one {
	display: block;
	max-width: 40rem;
}

.cl .cl-rev {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding: 1.25rem;
}

.cl .cl-rev__top {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.cl .cl-rev__av {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 9999px;
	background-color: var(--cl-dark);
	color: #ffffff;
	font-size: 0.875rem;
	font-weight: 700;
}

.cl .cl-rev__name {
	color: var(--cl-dark);
	font-weight: 700;
	line-height: 1.25rem;
}

.cl .cl-rev__tr {
	color: var(--cl-muted);
	font-size: 0.8125rem;
	line-height: 1.25rem;
}

.cl .cl-rev__x {
	color: var(--cl-muted);
	font-size: 0.875rem;
	line-height: 1.6;
}

.cl .cl-rnote {
	margin-top: 1rem;
}

/* ---------- Equipo y clínica: fotos ---------- */
.cl .cl-fcard {
	overflow: hidden;
}

.cl .cl-fcard__photo {
	aspect-ratio: 4 / 3;
	margin: 0;
	background-color: var(--cl-line);
}

.cl .cl-fcard__body {
	padding: 1.25rem;
}

.cl .cl-fcard__body > * + * {
	margin-top: 0.5rem;
}

/* ---------- Horarios y formas de pago en Turnos ---------- */
.cl .cl-narrow.ed-card--p6 .ed-insgrid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 640px) {
	.cl .cl-narrow.ed-card--p6 .ed-insgrid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* ---------- Pie ---------- */
.cl .cl-footer__nav ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.25rem 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cl .cl-footer__nav a {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	color: var(--cl-dark);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.cl .cl-footer__info {
	color: var(--cl-muted);
}

/* ---------- Aviso: mensaje de WhatsApp ---------- */
.cl .ed-modal__msg {
	padding: 0.75rem;
	border-radius: 8px;
	background-color: var(--cl-soft);
	color: var(--cl-dark);
	font-size: 0.875rem;
	line-height: 1.5;
}

.cl .ed-modal__msg span,
.cl .ed-modal__msg strong {
	display: block;
}

.cl .ed-modal__msg strong {
	margin-top: 0.25rem;
	color: var(--cl-dark);
}

/* ---------- Panel "Ver en Google" ---------- */
.cl .cl-gp {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	background-color: rgba(0, 0, 0, 0.6);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

.cl .cl-gp[hidden] {
	display: none;
}

.cl .cl-gp[hidden]:target {
	display: flex;
}

.cl .cl-gp__card {
	width: 100%;
	max-width: 36rem;
	max-height: calc(100vh - 2rem);
	padding: 1.5rem;
	overflow-y: auto;
	border-radius: 16px;
	background-color: #ffffff;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.cl .cl-gp__card h3 {
	color: var(--cl-dark);
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.75rem;
}

.cl .cl-gp__serp {
	margin-top: 1rem;
	padding: 1rem;
	border: 1px solid #dfe1e5;
	border-radius: 12px;
	background-color: #ffffff;
}

.cl .cl-gp__search {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	padding: 0.625rem 0.875rem;
	border: 1px solid #dfe1e5;
	border-radius: 9999px;
	box-shadow: 0 1px 4px rgba(32, 33, 36, 0.12);
	color: #202124;
	font-size: 0.9375rem;
}

.cl .cl-gp__search .ed-ico {
	color: #5f6368;
}

.cl .cl-gp__result {
	margin-top: 1rem;
}

.cl .cl-gp__site {
	display: flex;
	align-items: center;
	gap: 0.625rem;
}

.cl .cl-gp__ico {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 9999px;
	background-color: var(--cl-soft);
	color: var(--cl-main);
}

.cl .cl-gp__ico .ed-ico {
	width: 0.875rem;
	height: 0.875rem;
}

.cl .cl-gp__who {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.cl .cl-gp__name {
	color: #202124;
	font-size: 0.875rem;
	line-height: 1.25rem;
}

.cl .cl-gp__url {
	color: #4d5156;
	font-size: 0.75rem;
	line-height: 1rem;
	overflow-wrap: anywhere;
}

.cl .cl-gp__title {
	margin-top: 0.5rem;
	color: #1a0dab;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1.125rem;
	line-height: 1.35;
}

.cl .cl-gp__desc {
	margin-top: 0.25rem;
	color: #4d5156;
	font-size: 0.875rem;
	line-height: 1.5;
}

.cl .cl-gp__text {
	margin-top: 1rem;
	color: var(--cl-muted);
	font-size: 0.875rem;
	line-height: 1.6;
}

.cl .cl-gp__small {
	margin-top: 0.5rem;
	color: #5f6368;
	font-size: 0.75rem;
}

.cl .cl-gp__actions {
	margin-top: 1rem;
}

.cl .cl-gp__close {
	display: block;
	padding: 0.625rem 0;
	border-radius: 8px;
	background-color: var(--cl-dark);
	color: #ffffff;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.25rem;
	text-align: center;
}

.cl .cl-gp__close:hover {
	background-color: var(--cl-dark-h);
	color: #ffffff;
}

/* ---------- Animaciones al bajar ---------- */
.cl .cl-reveal {
	transition: opacity 0.45s ease, transform 0.45s ease;
}

.cl .cl-reveal.cl-hide {
	opacity: 0;
	transform: translateY(18px);
}

@media (prefers-reduced-motion: reduce) {
	.cl .cl-reveal.cl-hide {
		opacity: 1;
		transform: none;
	}
}

.cl .ed-svc .ed-card__link {
	white-space: nowrap;
}

/* ==========================================================================================================================
 * TD-39: inmobiliaria (6 páginas + 6 fichas) y piezas compartidas con el estudio. Los colores salen de las variables --cl-* de cada demo.
 * ======================================================================================================================== */
.cl .cl-grid2,
.cl .cl-grid4 {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1rem;
}

@media (min-width: 640px) {
	.cl .cl-grid2,
	.cl .cl-grid4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.cl .cl-grid4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.cl--inmo .cl-rev__av,
.cl--estudio .cl-rev__av {
	font-size: 0.75rem;
	letter-spacing: -0.02em;
}

/* Migas sobre fondo claro */
.cl .cl-crumbs--page ol {
	color: var(--cl-muted);
}

.cl .cl-crumbs--page a {
	color: var(--cl-main);
}

.cl .cl-close .ed-btn--white a {
	color: var(--cl-dark);
}

.cl .cl-close .ed-btn--white a:hover {
	background-color: var(--cl-dark-soft);
	color: var(--cl-dark);
}

.cl--inmo .cl-close .ed-btn--wa {
	display: inline-block;
}

.cl .cl-close .xd-btn {
	margin: 1.25rem 0 0;
}

/* ---------- Inmobiliaria: encabezado, portada y botones ---------- */
.ed.ed--estate .dm-hero .ed-hero__title .has-inline-color {
	color: #f0b89c !important;
}

.cl--inmo .ed-btn--white a {
	border-color: var(--cl-line);
	color: var(--cl-dark);
}

.cl--inmo .ed-btn--wa a .ed-ico {
	color: currentColor;
}

.cl--inmo .ed-btn--lg a {
	min-height: 2.75rem;
}

.cl--inmo .cl-nav__link {
	color: var(--cl-dark);
}

.cl--inmo .cl-nav__link:hover {
	background-color: var(--cl-soft);
	color: var(--cl-main);
}

.cl--inmo .cl-burger {
	border-color: var(--cl-soft-b);
	background-color: var(--cl-soft);
	color: var(--cl-main);
}

@media (min-width: 1024px) {
	.cl--inmo .cl-nav__list {
		gap: 0;
	}

	.cl--inmo .cl-nav__link {
		padding: 0.5rem 0.5rem;
		font-size: 0.8125rem;
	}
}

@media (min-width: 1200px) {
	.cl--inmo .cl-nav__link {
		padding: 0.5rem 0.75rem;
		font-size: 0.875rem;
	}
}

.cl--inmo .cl-quiz__opt {
	background-color: #ffffff;
}

.cl--inmo .ed-hero__title {
	color: var(--cl-dark);
}

.cl--inmo .dm-hero .ed-hero__title {
	color: #ffffff;
}

.cl--inmo .cl-head .ed-hero__text {
	color: var(--cl-muted);
}

.cl--inmo .ed-prop--project .ed-prop__price {
	font-size: 1.125rem;
}

.cl--inmo .ed-prop--project .ed-prop__text {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}

/* Portada dividida del proyecto: texto y foto */
.cl .cl-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	background-color: var(--cl-soft);
}

@media (min-width: 900px) {
	.cl .cl-split {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		min-height: 32rem;
	}
}

.cl .cl-split__copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: 1.25rem;
	padding: 2.5rem 1.25rem 3rem;
}

@media (min-width: 900px) {
	.cl .cl-split__copy {
		padding: 4rem clamp(2rem, 4vw, 4rem) 4rem max(1.5rem, calc(50vw - 36rem));
	}
}

.cl .cl-split__copy > * {
	margin: 0;
}

.cl .cl-split__copy .ed-hero__text {
	max-width: 34rem;
	color: var(--cl-muted);
}

.cl .cl-split__photo {
	position: relative;
	margin: 0;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background-color: var(--cl-line);
}

@media (min-width: 900px) {
	.cl .cl-split__photo {
		aspect-ratio: auto;
	}
}

.cl .cl-split__photo .dm-img {
	position: absolute;
	inset: 0;
}

.cl .cl-split .ed-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.cl .cl-split .ed-btn--soft a {
	background-color: #ffffff;
}

/* ---------- Tablas (tipologías y plan de pago) ---------- */
.cl .im-tablewrap {
	overflow-x: auto;
}

.cl .im-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9375rem;
}

.cl .im-table th,
.cl .im-table td {
	padding: 0.625rem 0.75rem;
	border-bottom: 1px solid var(--cl-line);
	text-align: left;
	vertical-align: top;
}

.cl .im-table thead th {
	color: var(--cl-muted);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.cl .im-table tbody th {
	color: var(--cl-dark);
	font-weight: 700;
}

.cl .im-feats {
	max-width: 56rem;
}

.cl .im-feats .ed-feats {
	display: grid;
	gap: 0.75rem;
}

.cl .im-legal {
	text-align: center;
}

/* ---------- Calculadora del plan de pago ---------- */
.cl .im-calc {
	max-width: 48rem;
	padding: 1.5rem;
}

@media (min-width: 640px) {
	.cl .im-calc {
		padding: 2rem;
	}
}

.cl:not(.cl-js) .im-calc__js,
.cl.cl-js .im-calc__table {
	display: none;
}

.cl .im-calc__sel {
	max-width: 22rem;
}

.cl .im-calc__sel label {
	display: block;
	margin-bottom: 0.375rem;
	color: var(--cl-dark);
	font-size: 0.875rem;
	font-weight: 700;
}

.cl .im-calc__sel select {
	width: 100%;
	min-height: 2.75rem;
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--cl-line-s);
	border-radius: 8px;
	background-color: #ffffff;
	color: var(--cl-dark);
	font-family: var(--ec-font-inter);
	font-size: 1rem;
}

.cl .im-calc__out {
	display: grid;
	gap: 0.75rem;
	margin: 1.25rem 0;
}

@media (min-width: 640px) {
	.cl .im-calc__out {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.cl .im-calc__out > div {
	padding: 0.875rem 1rem;
	border-radius: 10px;
	background-color: var(--cl-soft);
}

.cl .im-calc__out dt {
	color: var(--cl-muted);
	font-size: 0.8125rem;
	line-height: 1.3;
}

.cl .im-calc__out dd {
	margin: 0.25rem 0 0;
	color: var(--cl-dark);
	font-family: var(--demo-font-titulos);
	font-size: 1.375rem;
	font-weight: 700;
	line-height: 1.2;
}

.cl .im-calc__note {
	margin-top: 1rem;
	color: var(--cl-muted);
}

.cl .im-calc__js .ed-btn {
	margin: 0;
}

/* ---------- Ficha de propiedad ---------- */
.cl .im-ficha {
	display: grid;
	gap: 1.5rem;
	padding-top: 1.5rem;
}

.cl .im-gallery {
	min-width: 0;
}

.cl .im-gallery__track {
	position: relative;
	display: flex;
	gap: 0;
	margin: 0;
	padding: 0;
	overflow-x: auto;
	list-style: none;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	border-radius: 14px;
}

.cl .im-gallery__track::-webkit-scrollbar {
	display: none;
}

.cl .im-gallery__item {
	position: relative;
	flex: 0 0 100%;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	scroll-snap-align: start;
	background-color: var(--cl-line);
}

.cl .im-gallery__item .dm-img {
	position: absolute;
	inset: 0;
}

.cl .im-gallery__dots {
	display: flex;
	justify-content: center;
	gap: 0.125rem;
	margin-top: 0.25rem;
}

.cl:not(.cl-js) .im-gallery__dots {
	display: none;
}

.cl .im-gallery__dot {
	position: relative;
	width: 1.5rem;
	height: 1.5rem;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.cl .im-gallery__dot::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0.625rem;
	height: 0.625rem;
	margin: -0.3125rem 0 0 -0.3125rem;
	border: 2px solid var(--cl-main);
	border-radius: 9999px;
}

.cl .im-gallery__dot[aria-current='true']::before {
	background-color: var(--cl-main);
}

@media (min-width: 640px) {
	.cl .im-gallery__track {
		display: grid;
		grid-template-columns: 2fr 1fr;
		grid-template-rows: repeat(2, minmax(0, 1fr));
		gap: 0.75rem;
		aspect-ratio: 2 / 0.8;
		overflow: hidden;
		border-radius: 0;
	}

	.cl .im-gallery__item {
		flex: none;
		aspect-ratio: auto;
		border-radius: 14px;
	}

	.cl .im-gallery__item:first-child {
		grid-row: 1 / 3;
	}

	.cl .im-gallery__dots {
		display: none;
	}
}

.cl .im-ficha__main {
	display: grid;
	gap: 1rem;
	min-width: 0;
}

.cl .im-ficha__main > * {
	margin: 0;
}

.cl .im-ficha__tag .ed-prop__tag {
	display: inline-block;
	padding: 0.25rem 0.625rem;
	border-radius: 4px;
	background-color: var(--cl-soft);
	color: var(--cl-main);
	font-size: 0.75rem;
	font-weight: 700;
}

.cl .im-ficha__h1 {
	font-size: 1.875rem;
	line-height: 1.2;
}

@media (min-width: 768px) {
	.cl .im-ficha__h1 {
		font-size: 2.5rem;
	}
}

.cl .im-ficha__zone {
	display: flex;
	align-items: center;
	gap: 0.375rem;
	color: var(--cl-muted);
	font-weight: 600;
}

.cl .im-ficha__price {
	color: var(--cl-main);
	font-family: var(--demo-font-titulos);
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.1;
}

.cl .im-facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 768px) {
	.cl .im-facts {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.cl .im-facts li {
	display: flex;
	align-items: flex-start;
	gap: 0.625rem;
	padding: 0.875rem;
	border: 1px solid var(--cl-line);
	border-radius: 10px;
	background-color: #ffffff;
}

.cl .im-facts .ed-ico {
	width: 1.25rem;
	height: 1.25rem;
	color: var(--cl-main);
}

.cl .im-facts span {
	display: flex;
	flex-direction: column;
	min-width: 0;
	color: var(--cl-dark);
	font-weight: 600;
	line-height: 1.3;
}

.cl .im-facts b {
	color: var(--cl-muted);
	font-size: 0.75rem;
	font-weight: 600;
}

.cl .im-ficha__btns {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.cl .im-ficha__btns .ed-btn {
	margin: 0;
}

.cl .im-barrio {
	max-width: 46rem;
}

/* Barra fija del celular: precio y WhatsApp (el pie deja el espacio). */
.cl .im-bar {
	display: none;
}

@media (max-width: 639px) {
	.cl .im-bar {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 45;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 0.75rem;
		padding: 0.625rem 1rem;
		border-top: 1px solid var(--cl-line);
		background-color: #ffffff;
		box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
	}

	.cl.has-bar .ed-footer {
		padding-bottom: 5.5rem;
	}
}

.cl .im-bar__price {
	display: flex;
	flex-direction: column;
	min-width: 0;
	margin: 0;
	color: var(--cl-muted);
	font-size: 0.75rem;
	line-height: 1.2;
}

.cl .im-bar__price span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.cl .im-bar__price strong {
	color: var(--cl-main);
	font-size: 1.125rem;
	line-height: 1.3;
}

.cl .im-bar__btn {
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: 0.5rem;
	min-height: 2.75rem;
	padding: 0 1.125rem;
	border-radius: var(--ed-radius-btn);
	background-color: var(--cl-main);
	color: #ffffff;
	font-size: 0.9375rem;
	font-weight: 700;
}

.cl .im-bar__btn:hover {
	background-color: var(--cl-accent);
	color: #ffffff;
}

/* ---------- Cuestionario: tarjetas del resultado ---------- */
.cl .im-qgrid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.75rem;
	margin: 0 0 1rem;
	padding: 0;
	list-style: none;
}

.cl .im-qgrid[hidden],
.cl .im-mini[hidden] {
	display: none;
}

@media (min-width: 640px) {
	.cl .im-qgrid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.cl .im-qgrid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.cl .cl-quiz__stage:has(.im-qgrid) {
	max-width: none;
}

.cl .im-mini__a {
	display: flex;
	height: 100%;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--cl-line);
	border-radius: 12px;
	background-color: #ffffff;
	color: var(--cl-dark);
	transition: border-color 0.15s ease;
}

.cl .im-mini__a:hover {
	border-color: var(--cl-main);
}

.cl .im-mini__photo {
	position: relative;
	display: block;
	aspect-ratio: 3 / 2;
	background-color: var(--cl-line);
}

.cl .im-mini__photo .dm-img {
	position: absolute;
	inset: 0;
}

.cl .im-mini__body {
	display: flex;
	flex-direction: column;
	gap: 0.125rem;
	padding: 0.75rem 0.875rem 0.875rem;
}

.cl .im-mini__t {
	font-family: var(--demo-font-titulos);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
}

.cl .im-mini__s {
	color: var(--cl-muted);
	font-size: 0.8125rem;
}

.cl .im-mini__p {
	color: var(--cl-main);
	font-weight: 700;
}

/* ---------- Barrios ---------- */
.cl .im-bls {
	display: grid;
	gap: 1.5rem;
}

.cl .im-bl {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	overflow: hidden;
}

@media (min-width: 768px) {
	.cl .im-bl {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cl .im-bl--alt .im-bl__photo {
		order: 2;
	}
}

.cl .im-bl__photo {
	position: relative;
	aspect-ratio: 3 / 2;
	margin: 0;
	background-color: var(--cl-line);
}

.cl .im-bl__photo .dm-img {
	position: absolute;
	inset: 0;
}

.cl .im-bl__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.75rem;
	padding: 1.5rem;
}

.cl .im-bl__body > * {
	margin: 0;
}

.cl .im-bl__para {
	color: var(--cl-dark);
	font-weight: 600;
}

.cl .im-bl__para span {
	color: var(--cl-muted);
	font-size: 0.75rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

/* ---------- Nosotros y contacto ---------- */
.cl .im-team {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.5rem;
	align-items: center;
}

@media (min-width: 900px) {
	.cl .im-team {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.cl .im-team__photo {
	position: relative;
	aspect-ratio: 3 / 2;
	margin: 0;
	overflow: hidden;
	border-radius: 16px;
	background-color: var(--cl-line);
}

.cl .im-team__photo .dm-img {
	position: absolute;
	inset: 0;
}

.cl .im-team__lead {
	font-size: 1.125rem;
}

.cl .im-contact {
	max-width: 46rem;
}

.cl .im-contact__list {
	display: grid;
	gap: 1rem;
	margin: 0 0 1.25rem;
}

.cl .im-contact__item {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
}

.cl .im-contact__item .ed-ico {
	width: 1.25rem;
	height: 1.25rem;
	margin-top: 0.125rem;
	color: var(--cl-main);
}

.cl .im-contact__item dt {
	color: var(--cl-muted);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.cl .im-contact__item dd {
	margin: 0;
	color: var(--cl-dark);
	font-weight: 600;
}

.cl .im-contact .ed-btn {
	margin: 0;
}

.cl .ed-card--dossier .ed-dossier h3,
.cl .ed-formcard .ed-formcard__title {
	color: var(--cl-dark);
}

.cl .ed-form--estate button[type='submit'] {
	min-height: 2.75rem;
}

.cl .ed-ico--fill {
	fill: currentColor;
}

.cl .im-ficha > * {
	margin-block: 0;
}

.cl .im-facts span {
	overflow-wrap: anywhere;
}

.cl .im-contact__item dl {
	margin: 0;
}
