/* ==========================================================================
   EstéticaconSEO · Home (secciones bajo el banner)
   Solo se carga en la portada. Tokens, botones y base de sección en premium.css
   ========================================================================== */

/* --------------------------------------------------------------------------
   1 · Intro
   -------------------------------------------------------------------------- */
.ec-intro__grid.brxe-block {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	align-items: center;
	gap: clamp(2.5rem, 7vw, 7rem);
	margin-top: clamp(3rem, 6vw, 5rem);
}
.ec-intro__media.brxe-block {
	position: relative;
}
.ec-intro__media .ec-photo img {
	object-position: 45% 30%;
}
.ec-intro__badge {
	position: absolute;
	right: -1.5rem;
	bottom: 2.5rem;
	z-index: 3;
	display: flex;
	flex-direction: column;
	padding: 1.1rem 1.4rem;
	border-radius: 18px;
	background: var(--ec-ink);
	box-shadow: var(--ec-shadow-deep);
	color: var(--ec-text-light);
	animation: ec-bob 6s var(--ec-ease-in-out) infinite alternate;
}
.ec-intro__badge strong {
	font-family: var(--ec-font-display);
	font-size: 1.9rem;
	font-weight: 400;
	line-height: 1;
	color: var(--ec-champagne);
}
.ec-intro__badge span {
	margin-top: 0.3rem;
	color: var(--ec-mute-light);
	font-size: 0.8rem;
	letter-spacing: 0.04em;
}
.ec-intro__copy .ec-prose p:first-child {
	color: var(--ec-text-dark);
	font-family: var(--ec-font-display);
	font-size: clamp(1.45rem, 1.1rem + 1vw, 2rem);
	line-height: 1.3;
}

/* Tarjeta de bienvenida (oscura sobre marfil) */
.ec-welcome.brxe-block {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 2.2fr);
	gap: clamp(1.5rem, 4vw, 4rem);
	align-items: start;
	margin-top: clamp(4rem, 8vw, 7rem);
	padding: clamp(2rem, 4vw, 3.5rem);
	border-radius: calc(var(--ec-radius) + 8px);
	background:
		radial-gradient(60% 120% at 100% 0%, rgba(230, 207, 167, 0.11), transparent 60%),
		radial-gradient(50% 100% at 0% 100%, rgba(184, 145, 90, 0.22), transparent 60%),
		var(--ec-ink);
	color: var(--ec-text-light);
	box-shadow: var(--ec-shadow-deep);
	overflow: hidden;
}
.ec-welcome::before {
	/* Destello que recorre el borde */
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: 1px;
	background: conic-gradient(from var(--ec-angle), transparent 0 70%, rgba(230, 207, 167, 0.9) 85%, transparent 100%);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
	animation: ec-orbit 6s linear infinite;
	pointer-events: none;
}
.ec-welcome__title.brxe-heading {
	margin: 0;
	color: var(--ec-text-light);
	font-family: var(--ec-font-display);
	font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.8rem);
	font-weight: 400;
	line-height: 1.05;
}
.ec-welcome__list.brxe-block {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: ec-w;
}
.ec-welcome__item {
	padding-top: 1.4rem;
	border-top: 1px solid var(--ec-line-light);
	color: var(--ec-mute-light);
	font-size: 0.97rem;
	line-height: 1.65;
	counter-increment: ec-w;
}
.ec-welcome__item::before {
	content: "0" counter(ec-w);
	display: block;
	margin-bottom: 0.8rem;
	color: var(--ec-champagne);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.18em;
}
.ec-welcome__item strong {
	color: var(--ec-text-light);
	font-weight: 650;
}

/* --------------------------------------------------------------------------
   2 · Diagnóstico: tarjetas que se apilan
   -------------------------------------------------------------------------- */
.ec-stack.brxe-block {
	display: grid;
	gap: clamp(1.5rem, 3vw, 2.5rem);
	margin-top: clamp(3rem, 6vw, 5rem);
}
.ec-stack__card.brxe-block {
	position: sticky;
	top: calc(var(--ec-header-h) + 1.5rem);
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	min-height: min(520px, 72vh);
	border: 1px solid var(--ec-line-light);
	border-radius: calc(var(--ec-radius) + 10px);
	background: linear-gradient(160deg, var(--ec-ink-3) 0%, var(--ec-ink-2) 60%);
	box-shadow: 0 -30px 60px -30px rgba(0, 0, 0, 0.7);
	overflow: hidden;
	transform-origin: 50% 0;
}
.ec-stack__card:nth-child(2) { top: calc(var(--ec-header-h) + 2.75rem); }
.ec-stack__card:nth-child(3) { top: calc(var(--ec-header-h) + 4rem); }
@supports (animation-timeline: view()) {
	/* Cada tarjeta se encoge y se apaga cuando la siguiente pasa por encima */
	.ec-stack__card:not(:last-child) {
		animation: ec-stack-out linear both;
		animation-timeline: view();
		animation-range: exit-crossing 0% exit-crossing 100%;
	}
}
.ec-stack__media.brxe-div {
	position: relative;
	align-self: stretch;
	height: auto;
	min-height: 260px;
	overflow: hidden;
}
.ec-stack__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, transparent 60%, var(--ec-ink-3) 100%);
}
.ec-stack__img.brxe-image,
.ec-stack__img img,
img.ec-stack__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 55% 30%;
}
.ec-stack__body.brxe-block {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(2rem, 4.5vw, 4rem);
}
.ec-stack__num {
	margin-bottom: 1.25rem;
	font-family: var(--ec-font-display);
	font-size: clamp(4rem, 3rem + 3vw, 6.5rem);
	line-height: 0.8;
	color: transparent;
	-webkit-text-stroke: 1px rgba(230, 207, 167, 0.55);
}
.ec-stack__title.brxe-heading {
	margin: 0 0 1.25rem;
	color: var(--ec-text-light);
	font-family: var(--ec-font-display);
	font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.6rem);
	font-weight: 400;
	line-height: 1.08;
}

/* La solución */
.ec-solution.brxe-block {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	column-gap: clamp(2rem, 5vw, 5rem);
	margin-top: clamp(4rem, 8vw, 7rem);
	padding: clamp(2rem, 4.5vw, 4rem);
	border-radius: calc(var(--ec-radius) + 10px);
	background: linear-gradient(135deg, rgba(230, 207, 167, 0.12), rgba(230, 207, 167, 0.04));
	box-shadow: inset 0 0 0 1px rgba(230, 207, 167, 0.3);
}
.ec-solution__label {
	grid-column: 1 / -1;
	margin: 0 0 1.25rem;
	color: var(--ec-champagne);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}
.ec-solution__title {
	margin: 0;
	color: var(--ec-text-light);
	font-family: var(--ec-font-display);
	font-size: clamp(1.8rem, 1.2rem + 1.8vw, 3rem);
	line-height: 1.08;
	text-wrap: balance;
}
.ec-solution .ec-prose {
	align-self: end;
}

/* --------------------------------------------------------------------------
   3 · CTA consulta (champán)
   -------------------------------------------------------------------------- */
.ec-cta__wrap.brxe-container {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	align-items: center;
	gap: clamp(2.5rem, 7vw, 7rem);
}
.ec-cta .ec-kicker {
	color: #6e4f24;
}
.ec-cta .ec-lead {
	color: var(--ec-text-dark);
	font-weight: 600;
}
.ec-cta .ec-prose {
	max-width: 36rem;
	margin: 1rem 0 2.5rem;
	color: #4a3f3a;
}
.ec-cta__media.brxe-block {
	position: relative;
	justify-self: center;
	width: min(100%, 440px);
}
.ec-cta__media::after {
	/* Anillo orbital (eco del banner) */
	content: "";
	position: absolute;
	inset: -5% -9%;
	z-index: -1;
	border: 1px dashed rgba(110, 79, 36, 0.3);
	border-radius: 50%;
	animation: ec-spin 50s linear infinite;
}
.ec-cta .ec-photo img {
	object-position: 50% 30%;
}

/* --------------------------------------------------------------------------
   4 · Metodología
   -------------------------------------------------------------------------- */
.ec-method__head.brxe-block,
.ec-spec__head.brxe-block {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	align-items: end;
	gap: clamp(1.5rem, 5vw, 5rem);
}
.ec-method__intro {
	padding-left: 1.5rem;
	border-left: 1px solid var(--ec-champagne);
}
.ec-steps.brxe-block {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
	margin-top: clamp(3rem, 6vw, 5rem);
}
.ec-step.brxe-block {
	position: relative;
	align-self: stretch;
	display: flex;
	flex-direction: column;
	padding: clamp(1.75rem, 3vw, 2.5rem);
	border: 1px solid var(--ec-line-dark);
	border-radius: calc(var(--ec-radius) + 4px);
	background: var(--ec-ivory);
	overflow: hidden;
}
.ec-js .ec-step.ec-reveal {
	transition: opacity 1s var(--ec-ease), transform 0.8s var(--ec-ease), box-shadow 0.7s var(--ec-ease), background-color 0.5s;
	transition-delay: var(--ec-d, 0s), var(--ec-d, 0s), 0s, 0s;
}
.ec-step:nth-child(2) { --ec-d: 0.12s; }
.ec-step:nth-child(3) { --ec-d: 0.24s; }
.ec-step::before {
	/* Línea dorada que crece al pasar el ratón */
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 2px;
	background: linear-gradient(90deg, var(--ec-gold), var(--ec-rose));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.8s var(--ec-ease);
}
.ec-step.is-in:hover,
html:not(.ec-js) .ec-step:hover {
	transform: translateY(-8px);
	transition-delay: 0s;
	background: var(--ec-paper);
	box-shadow: var(--ec-shadow-soft), 0 40px 70px -40px rgba(184, 145, 90, 0.5);
}
.ec-step:hover::before {
	transform: scaleX(1);
}
.ec-step__top.brxe-block,
.ec-spec__top.brxe-block {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	justify-content: space-between;
	width: 100%;
	margin-bottom: 2rem;
}
.ec-step__ico,
.ec-spec__ico {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 18px;
	background: var(--ec-ink);
	box-shadow: inset 0 0 0 1px rgba(230, 207, 167, 0.25);
	transition: transform 0.6s var(--ec-ease);
}
.ec-step__ico::before,
.ec-spec__ico::before {
	content: "";
	width: 26px;
	height: 26px;
	background: var(--ec-champagne);
	-webkit-mask: var(--_ico) center / contain no-repeat;
	mask: var(--_ico) center / contain no-repeat;
}
.ec-step:hover .ec-step__ico,
.ec-spec__card:hover .ec-spec__ico {
	transform: rotate(-8deg) scale(1.06);
}
.ec-step__num {
	font-family: var(--ec-font-display);
	font-size: 3.5rem;
	line-height: 0.8;
	color: transparent;
	-webkit-text-stroke: 1px rgba(184, 145, 90, 0.6);
}
.ec-step__title.brxe-heading {
	margin: 0 0 1rem;
	color: var(--ec-text-dark);
	font-family: var(--ec-font-display);
	font-size: clamp(1.55rem, 1.3rem + 0.6vw, 1.9rem);
	font-weight: 400;
	line-height: 1.12;
}

/* Iconos (mismo set que el megamenú) */
:is(.ec-step__ico, .ec-spec__ico).ec-ico--map { --_ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6.5-5.6-6.5-11a6.5 6.5 0 0113 0c0 5.4-6.5 11-6.5 11z'/%3E%3Ccircle cx='12' cy='10' r='2.3'/%3E%3C/svg%3E"); }
:is(.ec-step__ico, .ec-spec__ico).ec-ico--method { --_ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19h16M6 15l4-4 3 3 5-6'/%3E%3Cpath d='M15 8h3v3'/%3E%3C/svg%3E"); }
:is(.ec-step__ico, .ec-spec__ico).ec-ico--tooth { --_ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5.5C10 4 6 3.5 5 6.5c-1 3 .5 5 1 7s.8 6.5 2.5 6.5S10 15 12 15s1.8 5 3.5 5 2-4.5 2.5-6.5 2-4 1-7c-1-3-5-2.5-7-1z'/%3E%3C/svg%3E"); }
:is(.ec-step__ico, .ec-spec__ico).ec-ico--hair { --_ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 20c0-6 1-11 6-14M10 20c0-5 1-9 5-12M14 20c0-4 1-7 4-9'/%3E%3C/svg%3E"); }
:is(.ec-step__ico, .ec-spec__ico).ec-ico--derma { --_ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3c3 4 6 7.2 6 10.5A6 6 0 016 13.5C6 10.2 9 7 12 3z'/%3E%3Cpath d='M9.5 14a2.5 2.5 0 002.5 2.5'/%3E%3C/svg%3E"); }
:is(.ec-step__ico, .ec-spec__ico).ec-ico--aesthetic { --_ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l1.9 5.6L19.5 10l-5.6 1.9L12 17.5l-1.9-5.6L4.5 10l5.6-1.4z'/%3E%3Cpath d='M18.5 16.5l.7 2 2 .7-2 .7-.7 2-.7-2-2-.7 2-.7z'/%3E%3C/svg%3E"); }

/* --------------------------------------------------------------------------
   5 · Especialidades (oscuro, foco que sigue al cursor)
   -------------------------------------------------------------------------- */
.ec-spec__intro {
	margin: 0;
	padding-left: 1.5rem;
	border-left: 1px solid rgba(230, 207, 167, 0.5);
	color: var(--ec-mute-light);
	font-size: 1.02rem;
	line-height: 1.7;
}
.ec-spec__grid.brxe-block {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
	margin-top: clamp(3rem, 6vw, 5rem);
}
.ec-spec__card.brxe-block {
	--mx: 50%;
	--my: 50%;
	position: relative;
	align-self: stretch;
	display: flex;
	flex-direction: column;
	min-height: 330px;
	padding: clamp(1.75rem, 3.5vw, 2.75rem);
	border-radius: calc(var(--ec-radius) + 6px);
	background: rgba(255, 255, 255, 0.025);
	box-shadow: inset 0 0 0 1px var(--ec-line-light);
	overflow: hidden;
	isolation: isolate;
}
.ec-spec__card:nth-child(2n) { --ec-d: 0.12s; }
.ec-spec__card::before {
	/* Foco de luz */
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: radial-gradient(380px circle at var(--mx) var(--my), rgba(230, 207, 167, 0.16), transparent 65%);
	opacity: 0;
	transition: opacity 0.5s;
}
.ec-spec__card::after {
	/* Borde que se ilumina junto al cursor */
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: 1px;
	background: radial-gradient(260px circle at var(--mx) var(--my), rgba(230, 207, 167, 0.85), transparent 70%);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
	opacity: 0;
	transition: opacity 0.5s;
	pointer-events: none;
}
.ec-spec__card:hover::before,
.ec-spec__card:hover::after {
	opacity: 1;
}
.ec-spec__top.brxe-block {
	margin-bottom: auto;
	padding-bottom: 2.5rem;
}
.ec-spec__ico {
	background: linear-gradient(140deg, var(--ec-champagne), var(--ec-gold));
	box-shadow: 0 20px 40px -20px rgba(230, 207, 167, 0.6);
}
.ec-spec__ico::before {
	background: var(--ec-ink);
}
.ec-spec__num {
	color: var(--ec-mute-light);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.2em;
}
.ec-spec__title.brxe-heading {
	margin: 0 0 0.75rem;
	color: var(--ec-text-light);
	font-family: var(--ec-font-display);
	font-size: clamp(1.75rem, 1.35rem + 1.1vw, 2.4rem);
	font-weight: 400;
	line-height: 1.06;
}
.ec-spec__text {
	max-width: 30rem;
	margin: 0;
	color: var(--ec-mute-light);
	line-height: 1.65;
}
.ec-spec__link.brxe-text-link {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	align-self: flex-start;
	margin-top: 1.75rem;
	color: var(--ec-champagne);
	font-size: 0.92rem;
	font-weight: 600;
	text-decoration: none;
}
.ec-spec__link::after {
	/* Toda la tarjeta es clicable */
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}
.ec-spec__link::before {
	content: "";
	order: 2;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e6cfa7' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 12h8M13 8l4 4-4 4'/%3E%3C/svg%3E") center / 18px no-repeat;
	box-shadow: inset 0 0 0 1px rgba(230, 207, 167, 0.4);
	transition: transform 0.5s var(--ec-ease), background-color 0.4s;
}
.ec-spec__card:hover .ec-spec__link::before {
	transform: translateX(6px);
	background-color: rgba(230, 207, 167, 0.12);
}
.ec-spec__link:focus-visible {
	outline: none;
}
.ec-spec__card:has(.ec-spec__link:focus-visible) {
	box-shadow: inset 0 0 0 2px var(--ec-champagne);
}

/* --------------------------------------------------------------------------
   6 · Frase que se ilumina palabra a palabra
   -------------------------------------------------------------------------- */
.ec-statement.brxe-section {
	text-align: center;
}
.ec-statement::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: -1;
	width: min(900px, 120vw);
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.75), transparent 62%);
	transform: translate(-50%, -50%);
}
.ec-statement__wrap.brxe-container {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.ec-statement .ec-kicker {
	color: #6e4f24;
}
.ec-statement__title.brxe-heading {
	max-width: 17ch;
	font-size: clamp(2.6rem, 1.2rem + 4.8vw, 6.4rem);
	line-height: 1;
}
.ec-statement__title .ec-w {
	color: rgba(26, 22, 32, 0.16);
	transition: color 0.5s;
}
.ec-statement__title .ec-w.is-on {
	color: var(--ec-text-dark);
}
.ec-statement__title .ec-w.is-key.is-on {
	color: #8a6430;
}
.ec-statement__foot.brxe-block {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.5rem;
	margin-top: 3rem;
}
.ec-statement__q {
	margin: 0;
	color: var(--ec-mute-dark);
	font-size: clamp(1.05rem, 1rem + 0.4vw, 1.3rem);
}

/* --------------------------------------------------------------------------
   7 · SEO vs PPC
   -------------------------------------------------------------------------- */
.ec-vs__grid.brxe-block {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	align-items: start;
	gap: clamp(2rem, 5vw, 5rem);
	margin-top: clamp(3rem, 6vw, 5rem);
}
.ec-vs__media.brxe-block {
	position: sticky;
	top: calc(var(--ec-header-h) + 1.5rem);
}
.ec-vs__media .ec-photo img {
	object-position: 50% 20%;
}
.ec-vs__body.brxe-block {
	display: grid;
	gap: 1.25rem;
}

/* Gráfico */
.ec-chart.brxe-block {
	display: block;
	padding: clamp(1.5rem, 3vw, 2.25rem);
	border-radius: calc(var(--ec-radius) + 4px);
	background:
		radial-gradient(60% 80% at 100% 0%, rgba(230, 207, 167, 0.08), transparent 60%),
		var(--ec-ink);
	color: var(--ec-text-light);
	box-shadow: var(--ec-shadow-deep);
}
.ec-chart__head.brxe-block {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1.5rem;
	margin-bottom: 1.25rem;
}
.ec-chart__title.brxe-heading {
	margin: 0;
	color: var(--ec-text-light);
	font-family: var(--ec-font-display);
	font-size: clamp(1.5rem, 1.25rem + 0.7vw, 2rem);
	font-weight: 400;
}
.ec-chart__legend {
	display: flex;
	gap: 1.25rem;
	color: var(--ec-mute-light);
	font-size: 0.8rem;
}
.ec-chart__legend span {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}
.ec-chart__legend span::before {
	content: "";
	width: 18px;
	height: 2px;
	border-radius: 2px;
	background: #8d8798;
}
.ec-chart__legend .is-seo::before {
	height: 3px;
	background: var(--ec-champagne);
}
.ec-chart__svg svg {
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
}
.ec-chart__grid path {
	fill: none;
	stroke: rgba(246, 241, 234, 0.14);
	stroke-width: 1;
}
.ec-chart__ads,
.ec-chart__seo {
	fill: none;
	stroke-linecap: round;
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	transition: stroke-dashoffset 2.2s var(--ec-ease-in-out);
}
.ec-chart__ads {
	stroke: #8d8798;
	stroke-width: 2;
}
.ec-chart__seo {
	stroke: var(--ec-champagne);
	stroke-width: 3;
	transition-delay: 0.5s;
}
.ec-chart__seo-area {
	fill: rgba(230, 207, 167, 0.1);
	opacity: 0;
	transition: opacity 1.5s 1.6s;
}
.ec-chart__dot {
	fill: var(--ec-champagne);
	opacity: 0;
	transition: opacity 0.4s 2.5s;
	animation: ec-dot 2.4s var(--ec-ease) infinite;
}
.ec-chart__cut {
	fill: none;
	stroke: rgba(230, 207, 167, 0.36);
	stroke-width: 1;
	opacity: 0;
	transition: opacity 0.6s 1.2s;
}
.ec-chart__note {
	fill: var(--ec-rose-soft);
	font-family: var(--ec-font-body);
	font-size: 12px;
	font-weight: 600;
	opacity: 0;
	transition: opacity 0.6s 1.3s;
}
.ec-chart__axis {
	fill: rgba(246, 241, 234, 0.5);
	font-family: var(--ec-font-body);
	font-size: 11px;
	letter-spacing: 0.06em;
}
.ec-chart.is-in .ec-chart__ads,
.ec-chart.is-in .ec-chart__seo,
html:not(.ec-js) .ec-chart__ads,
html:not(.ec-js) .ec-chart__seo {
	stroke-dashoffset: 0;
}
.ec-chart.is-in :is(.ec-chart__seo-area, .ec-chart__dot, .ec-chart__cut, .ec-chart__note),
html:not(.ec-js) :is(.ec-chart__seo-area, .ec-chart__dot, .ec-chart__cut, .ec-chart__note) {
	opacity: 1;
}
.ec-chart__foot {
	margin: 0.75rem 0 0;
	color: rgba(246, 241, 234, 0.45);
	font-size: 0.75rem;
}

/* Comparativa */
.ec-vs__cards.brxe-block {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
}
.ec-vs__card.brxe-block {
	display: block;
	padding: clamp(1.5rem, 3vw, 2.25rem);
	border: 1px solid var(--ec-line-dark);
	border-radius: calc(var(--ec-radius) + 4px);
	background: var(--ec-ivory);
}
.ec-vs__card--seo.brxe-block {
	--ec-d: 0.12s;
	border-color: rgba(184, 145, 90, 0.45);
	background: linear-gradient(160deg, #f6ead4 0%, var(--ec-ivory) 70%);
	box-shadow: 0 40px 70px -40px rgba(184, 145, 90, 0.55);
}
.ec-vs__tag {
	display: inline-block;
	margin: 0 0 1.25rem;
	padding: 0.35rem 0.8rem;
	border-radius: 999px;
	background: rgba(26, 22, 32, 0.06);
	color: var(--ec-mute-dark);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}
.ec-vs__card--seo .ec-vs__tag {
	background: var(--ec-ink);
	color: var(--ec-champagne);
}
.ec-vs__title.brxe-heading {
	margin: 0 0 1rem;
	color: var(--ec-text-dark);
	font-family: var(--ec-font-display);
	font-size: clamp(1.4rem, 1.2rem + 0.6vw, 1.75rem);
	font-weight: 400;
	line-height: 1.12;
}

/* --------------------------------------------------------------------------
   8 · Sobre mí
   -------------------------------------------------------------------------- */
.ec-about__wrap.brxe-container {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	align-items: start;
	gap: clamp(2.5rem, 7vw, 7rem);
}
.ec-about__media.brxe-block {
	position: sticky;
	top: calc(var(--ec-header-h) + 2rem);
}
.ec-about .ec-photo img {
	object-position: 52% 30%;
}
.ec-about__stats.brxe-block {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
	margin: 1.25rem 0 0;
	padding: 0;
	list-style: none;
}
.ec-about__stat {
	display: flex;
	flex-direction: column;
	padding: 1.1rem 1.25rem;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.04);
	box-shadow: inset 0 0 0 1px var(--ec-line-light);
}
.ec-about__stat strong {
	font-family: var(--ec-font-display);
	font-size: 1.7rem;
	font-weight: 400;
	line-height: 1.1;
	color: var(--ec-champagne);
}
.ec-about__stat span {
	color: var(--ec-mute-light);
	font-size: 0.82rem;
}
.ec-about__copy .ec-prose {
	margin-top: 2rem;
}
.ec-about__copy .ec-quote + .ec-prose {
	margin-top: 0;
}
.ec-quote {
	margin: 2.5rem 0;
	padding: 0 0 0 2rem;
	border-left: 1px solid var(--ec-champagne);
	color: var(--ec-text-light);
	font-family: var(--ec-font-display);
	font-size: clamp(1.6rem, 1.2rem + 1.3vw, 2.4rem);
	line-height: 1.15;
	text-wrap: balance;
}
.ec-about__actions.brxe-block {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.25rem 2rem;
	margin-top: 2.5rem;
}
.ec-about__sign {
	color: var(--ec-mute-light);
	font-size: 0.85rem;
	letter-spacing: 0.06em;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
	.ec-intro__grid.brxe-block,
	.ec-cta__wrap.brxe-container,
	.ec-method__head.brxe-block,
	.ec-spec__head.brxe-block,
	.ec-vs__grid.brxe-block,
	.ec-about__wrap.brxe-container,
	.ec-solution.brxe-block,
	.ec-welcome.brxe-block,
	.ec-steps.brxe-block,
	.ec-welcome__list.brxe-block {
		grid-template-columns: minmax(0, 1fr);
	}
	.ec-intro__media.brxe-block {
		width: min(100%, 460px);
	}
	.ec-solution .ec-prose {
		margin-top: 1.5rem;
	}
	.ec-step:nth-child(n) {
		--ec-d: 0s;
	}
	.ec-vs__media.brxe-block,
	.ec-about__media.brxe-block {
		position: static;
	}
	.ec-vs__media.brxe-block {
		width: min(100%, 420px);
	}
	.ec-about__media.brxe-block {
		width: min(100%, 440px);
	}
	.ec-cta__media.brxe-block {
		width: min(100%, 360px);
	}
}
@media (max-width: 767.98px) {
	.ec-intro__badge {
		right: 0.75rem;
		bottom: 1rem;
	}
	.ec-stack__card.brxe-block {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: 200px auto;
		min-height: 0;
	}
	.ec-stack__card:nth-child(n) {
		top: calc(var(--ec-header-h) + 0.75rem);
	}
	.ec-stack__media.brxe-div {
		min-height: 200px;
	}
	.ec-stack__media::after {
		background: linear-gradient(180deg, transparent 45%, var(--ec-ink-3) 100%);
	}
	.ec-stack__num {
		position: absolute;
		top: 1.25rem;
		right: 1.5rem;
		z-index: 2;
		margin: 0;
		font-size: 3.25rem;
		-webkit-text-stroke-color: rgba(255, 244, 223, 0.8);
	}
	.ec-spec__grid.brxe-block,
	.ec-vs__cards.brxe-block {
		grid-template-columns: minmax(0, 1fr);
	}
	.ec-spec__card.brxe-block {
		min-height: 0;
	}
	.ec-spec__card:nth-child(n) {
		--ec-d: 0s;
	}
	/* El SVG se encoge: sus textos suben en unidades del viewBox */
	.ec-chart__note {
		font-size: 20px;
	}
	.ec-chart__axis {
		font-size: 18px;
	}
	.ec-cta .ec-btn,
	.ec-statement .ec-btn,
	.ec-about .ec-btn {
		width: 100%;
	}
	.ec-statement__foot.brxe-block {
		align-self: stretch;
	}
}

/* --------------------------------------------------------------------------
   Keyframes
   -------------------------------------------------------------------------- */
@keyframes ec-stack-out {
	to { transform: scale(0.92); filter: brightness(0.5); }
}
@keyframes ec-dot {
	0%, 100% { r: 6px; }
	50% { r: 9px; }
}

@media (prefers-reduced-motion: reduce) {
	.ec-js .ec-reveal:not(.is-in) {
		opacity: 1;
		transform: none;
		clip-path: none;
	}
	.ec-stack__card:not(:last-child) {
		animation: none;
	}
	.ec-statement__title .ec-w {
		color: inherit;
	}
}
