/* ==========================================================================
   EstéticaconSEO · Premium UI
   Tokens, cabecera + megamenú, banner principal (home), base de sección y pie
   ========================================================================== */

/* Fuentes autoalojadas (sin peticiones a Google) */
@font-face {
	font-family: "Instrument Serif";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/instrument-serif-latin-400-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
}

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */
:root {
	/* Oscuros */
	--ec-ink: #0d0b12;
	--ec-ink-2: #15121c;
	--ec-ink-3: #211c2b;
	/* Claros */
	--ec-paper: #ffffff;
	--ec-ivory: #faf7f2;
	--ec-sand: #efe7dc;
	/* Acentos */
	--ec-champagne: #e6cfa7;
	--ec-gold: #b8915a;
	--ec-rose: #d46bca;
	--ec-rose-soft: #ebb9e2;
	/* Texto */
	--ec-text-dark: #1a1620;
	--ec-mute-dark: #625c6b;
	--ec-text-light: #f6f1ea;
	--ec-mute-light: rgba(246, 241, 234, 0.7);
	--ec-line-dark: rgba(26, 22, 32, 0.1);
	--ec-line-light: rgba(246, 241, 234, 0.14);

	--ec-font-display: "Instrument Serif", "Times New Roman", serif;
	--ec-font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

	--ec-shimmer: linear-gradient(100deg, var(--ec-champagne) 0%, #fff4df 30%, var(--ec-rose-soft) 55%, var(--ec-champagne) 80%);

	--ec-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--ec-ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

	--ec-radius: 22px;
	--ec-radius-s: 12px;
	--ec-shadow-soft: 0 1px 1px rgba(13, 11, 18, 0.04), 0 12px 32px -12px rgba(13, 11, 18, 0.18);
	--ec-shadow-deep: 0 40px 80px -30px rgba(13, 11, 18, 0.55);

	--ec-wrap: 1320px;
	--ec-gutter: clamp(1.25rem, 4vw, 2.5rem);
	--ec-header-h: 84px;
}

/* --------------------------------------------------------------------------
   Botones
   -------------------------------------------------------------------------- */
.ec-btn,
.brxe-button.ec-btn {
	--_bg: var(--ec-champagne);
	--_fg: var(--ec-ink);
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.75em;
	min-height: 52px;
	padding: 0 1.6em;
	border: 0;
	border-radius: 999px;
	background: var(--_bg);
	color: var(--_fg);
	font-family: var(--ec-font-body);
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	text-decoration: none;
	white-space: nowrap;
	isolation: isolate;
	overflow: hidden;
	transition: transform 0.5s var(--ec-ease), box-shadow 0.5s var(--ec-ease), color 0.3s;
	will-change: transform;
}
.ec-btn::before {
	/* Barrido de luz */
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.65) 50%, transparent 80%);
	transform: translateX(-120%);
	transition: transform 0.9s var(--ec-ease);
}
.ec-btn::after {
	/* Flecha */
	content: "";
	width: 1.05em;
	height: 1.05em;
	background: currentColor;
	-webkit-mask: 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.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: 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.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform 0.5s var(--ec-ease);
}
.ec-btn:hover {
	box-shadow: 0 18px 40px -16px rgba(230, 207, 167, 0.75);
}
.ec-btn:hover::before {
	transform: translateX(120%);
}
.ec-btn:hover::after {
	transform: translateX(4px);
}
.ec-btn:focus-visible {
	outline: 2px solid var(--ec-champagne);
	outline-offset: 4px;
}

.ec-btn.ec-btn--ghost {
	--_bg: transparent;
	--_fg: var(--ec-text-light);
	box-shadow: inset 0 0 0 1px var(--ec-line-light);
}
.ec-btn.ec-btn--ghost:hover {
	box-shadow: inset 0 0 0 1px var(--ec-champagne);
	color: var(--ec-champagne);
}
.ec-btn--ghost::after {
	-webkit-mask-image: 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.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M6 13l6 6 6-6'/%3E%3C/svg%3E");
	mask-image: 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.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M6 13l6 6 6-6'/%3E%3C/svg%3E");
}
.ec-btn--ghost:hover::after {
	transform: translateY(3px);
}

.ec-btn.ec-btn--dark {
	--_bg: var(--ec-ink);
	--_fg: var(--ec-text-light);
}
.ec-btn--dark::before {
	background: linear-gradient(110deg, transparent 20%, rgba(230, 207, 167, 0.35) 50%, transparent 80%);
}

/* --------------------------------------------------------------------------
   Cabecera
   -------------------------------------------------------------------------- */
/* Siempre oscura (el logo lleva texto blanco); el blanco vive en paneles y secciones */
#brx-header {
	--_fg: var(--ec-text-light);
	--_bg: rgba(13, 11, 18, 0.94);
	--_line: var(--ec-line-light);
	position: fixed;
	inset: 0 0 auto;
	z-index: 998;
	transition: transform 0.6s var(--ec-ease), background-color 0.4s, color 0.4s;
}
/* Sobre un banner oscuro (home, sobre mí, contacto, especialidades) y sin scroll: transparente con texto claro */
body:has(.ec-hero, .ec-ahero, .ec-chero, .ec-shero) #brx-header:not(.scrolling) {
	--_bg: transparent;
	--_line: transparent;
}
/* Con sesión iniciada: bajo la barra de administración de WordPress (en móvil esa barra no es fija) */
.admin-bar #brx-header {
	top: var(--wp-admin--admin-bar--height, 32px);
}
@media (max-width: 600px) {
	.admin-bar #brx-header {
		top: 0;
	}
}
#brx-header.ec-header--hidden:not(:has(.open, .brx-open)) {
	transform: translateY(-105%);
}
/* El contenido de páginas sin banner no queda bajo la cabecera fija */
body:not(:has(.ec-hero, .ec-ahero, .ec-chero, .ec-shero)) #brx-content {
	padding-top: var(--ec-header-h);
}

.ec-header {
	position: relative;
	padding: 0 var(--ec-gutter);
	color: var(--_fg);
	font-family: var(--ec-font-body);
}
.ec-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--_bg);
	border-bottom: 1px solid var(--_line);
	-webkit-backdrop-filter: saturate(1.4) blur(18px);
	backdrop-filter: saturate(1.4) blur(18px);
	transition: background-color 0.4s, border-color 0.4s;
}
.ec-header__inner.brxe-container {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	width: 100%;
	max-width: var(--ec-wrap);
	height: var(--ec-header-h);
	margin-inline: auto;
}

.ec-logo.brxe-logo {
	flex-shrink: 0;
}
.ec-logo img,
.ec-logo .bricks-site-logo {
	display: block;
	width: auto;
	height: 54px;
}

/* Nav */
.ec-nav.brxe-nav-nested {
	margin-left: auto;
}
.ec-nav .brx-nav-nested-items {
	gap: 0.25rem;
}
.ec-nav__link.brxe-text-link,
.ec-nav .brx-submenu-toggle {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.65rem 0.95rem;
	color: var(--_fg);
	font-size: 0.93rem;
	font-weight: 500;
	letter-spacing: 0.01em;
	text-decoration: none;
	transition: color 0.3s;
}
.ec-nav .brx-submenu-toggle > * {
	color: inherit;
	font: inherit;
}
.ec-nav__link.brxe-text-link::after,
.ec-nav .brx-submenu-toggle::after {
	/* Subrayado que crece desde el centro */
	content: "";
	position: absolute;
	left: 0.95rem;
	right: 0.95rem;
	bottom: 0.35rem;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transition: transform 0.5s var(--ec-ease);
}
.ec-nav__link.brxe-text-link:hover::after,
.ec-nav__link[aria-current="page"]::after,
.ec-nav .open > .brx-submenu-toggle::after,
.ec-nav .brx-submenu-toggle:hover::after {
	transform: scaleX(1);
}
.ec-nav .brx-submenu-toggle button svg,
.ec-nav .brx-submenu-toggle button i {
	width: 0.7em;
	transition: transform 0.4s var(--ec-ease);
}
.ec-nav .open > .brx-submenu-toggle button {
	transform: rotate(180deg);
}

.ec-header__cta.ec-btn {
	min-height: 44px;
	padding: 0 1.25em;
	font-size: 0.88rem;
}
body:has(.ec-hero, .ec-ahero, .ec-chero, .ec-shero) #brx-header:not(.scrolling) .ec-header__cta {
	--_bg: var(--ec-text-light);
}

/* Hamburguesa */
/* Botón de cristal con dos líneas finas (la inferior más corta) que se cruzan en X */
.ec-burger.brxe-toggle {
	position: relative;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid var(--ec-line-light);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.04);
	color: var(--ec-champagne);
	cursor: pointer;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	transition: border-color 0.4s, background-color 0.4s;
}
.ec-burger .brxa-wrap {
	display: none;
}
.ec-burger::before,
.ec-burger::after {
	content: "";
	position: absolute;
	left: 13px;
	height: 1.5px;
	border-radius: 2px;
	background: currentColor;
	transition: transform 0.55s var(--ec-ease), width 0.55s var(--ec-ease), top 0.55s var(--ec-ease);
}
.ec-burger::before {
	top: 18px;
	width: 18px;
}
.ec-burger::after {
	top: 25px;
	width: 11px;
}
.ec-burger:hover {
	border-color: rgba(230, 207, 167, 0.5);
}
.ec-burger:hover::after {
	width: 18px;
}
.ec-burger[aria-expanded="true"] {
	border-color: rgba(230, 207, 167, 0.5);
	background: rgba(230, 207, 167, 0.08);
}
.ec-burger[aria-expanded="true"]::before,
.ec-burger[aria-expanded="true"]::after {
	top: 21.5px;
	width: 18px;
}
.ec-burger[aria-expanded="true"]::before {
	transform: rotate(45deg);
}
.ec-burger[aria-expanded="true"]::after {
	transform: rotate(-45deg);
}
.ec-burger:focus-visible {
	outline: 2px solid var(--ec-champagne);
	outline-offset: 3px;
}
.ec-nav__close.brxe-toggle {
	color: var(--_fg);
}

/* --------------------------------------------------------------------------
   Megamenú (escritorio)
   -------------------------------------------------------------------------- */
@media (min-width: 1024px) {
	.ec-nav .brxe-dropdown:not([data-toggle="click"]):hover .brx-dropdown-content::after {
		/* Puente invisible para no perder el hover */
		height: 28px;
	}

	.ec-mega.brx-dropdown-content {
		margin-top: 14px;
		padding: 0;
		background: transparent;
		border: 0;
		opacity: 0;
		visibility: hidden;
		transform: translateY(14px) scale(0.985);
		transform-origin: 50% 0;
		filter: blur(6px);
		transition: opacity 0.45s var(--ec-ease), transform 0.6s var(--ec-ease), filter 0.5s var(--ec-ease), visibility 0s linear 0.45s;
	}
	.open > .ec-mega.brx-dropdown-content {
		opacity: 1;
		visibility: visible;
		transform: none;
		filter: none;
		transition-delay: 0s;
	}

	.ec-mega__wrap {
		--mx: 50%;
		--my: 0%;
		position: relative;
		display: grid;
		grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
		gap: 0.75rem;
		width: 100%;
		padding: 0.75rem;
		background: var(--ec-ivory);
		border: 1px solid var(--ec-line-dark);
		border-radius: calc(var(--ec-radius) + 6px);
		box-shadow: var(--ec-shadow-deep);
		color: var(--ec-text-dark);
		overflow: hidden;
	}
	.ec-mega__wrap::before {
		/* Foco de luz que sigue al cursor */
		content: "";
		position: absolute;
		inset: 0;
		pointer-events: none;
		background: radial-gradient(420px circle at var(--mx) var(--my), rgba(230, 207, 167, 0.35), transparent 60%);
		opacity: 0;
		transition: opacity 0.4s;
	}
	.ec-mega__wrap:hover::before {
		opacity: 1;
	}
}

.ec-mega__links {
	position: relative;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-content: start;
	gap: 0.25rem;
	padding: 1.25rem;
}
.ec-mega__eyebrow {
	grid-column: 1 / -1;
	margin: 0 0 0.5rem 0.9rem;
	color: var(--ec-gold);
	font-family: var(--ec-font-body);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

/* Enlace enriquecido */
.ec-mlink.brxe-block,
.ec-mlink {
	--_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%3C/svg%3E");
	position: relative;
	display: grid;
	grid-template-columns: 44px 1fr;
	grid-template-rows: min-content 1fr;
	column-gap: 1rem;
	row-gap: 0.2rem;
	align-items: start;
	align-content: start;
	padding: 0.9rem;
	border-radius: var(--ec-radius-s);
	color: var(--ec-text-dark);
	text-decoration: none;
	transition: background-color 0.35s, transform 0.5s var(--ec-ease);
}
.ec-mlink::before {
	/* Icono */
	content: "";
	grid-row: 1 / span 2;
	width: 44px;
	height: 44px;
	border-radius: 14px;
	background:
		var(--ec-ink) padding-box;
	box-shadow: inset 0 0 0 1px rgba(230, 207, 167, 0.25);
	transition: transform 0.5s var(--ec-ease), background-color 0.3s;
}
.ec-mlink::after {
	content: "";
	position: absolute;
	top: calc(0.9rem + 12px);
	left: calc(0.9rem + 12px);
	width: 20px;
	height: 20px;
	background: var(--ec-champagne);
	-webkit-mask: var(--_ico) center / contain no-repeat;
	mask: var(--_ico) center / contain no-repeat;
	transition: transform 0.5s var(--ec-ease);
}
.ec-mlink:hover,
.ec-mlink:focus-visible {
	background: var(--ec-paper);
	box-shadow: var(--ec-shadow-soft);
	outline: none;
}
.ec-mlink:hover::before {
	transform: rotate(-6deg) scale(1.06);
}
.ec-mlink:hover::after {
	transform: rotate(-6deg) scale(1.06);
}
.ec-mlink__title {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--ec-font-body);
	font-size: 0.98rem;
	font-weight: 650;
	line-height: 1.3;
}
.ec-mlink__title::after {
	content: "→";
	opacity: 0;
	transform: translateX(-6px);
	transition: opacity 0.3s, transform 0.5s var(--ec-ease);
	color: var(--ec-gold);
}
.ec-mlink:hover .ec-mlink__title::after {
	opacity: 1;
	transform: none;
}
.ec-mlink__desc {
	color: var(--ec-mute-dark);
	font-size: 0.85rem;
	line-height: 1.5;
}

/* Iconos por enlace */
:is(.ec-mlink, .ec-float__ico).ec-ico--seo { --_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%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M20 20l-4.2-4.2M8.5 11.5l2 2 3.5-4'/%3E%3C/svg%3E"); }
:is(.ec-mlink, .ec-float__ico).ec-ico--web { --_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%3Crect x='3' y='4.5' width='18' height='15' rx='2.5'/%3E%3Cpath d='M3 9h18M6.5 6.8h.01M9 6.8h.01'/%3E%3C/svg%3E"); }
:is(.ec-mlink, .ec-float__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-mlink, .ec-float__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-mlink, .ec-float__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-mlink, .ec-float__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-mlink, .ec-float__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-mlink, .ec-float__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"); }

/* Tarjeta destacada (oscura) */
.ec-mega__feature {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 340px;
	padding: 1.75rem;
	border-radius: var(--ec-radius);
	background: var(--ec-ink);
	color: var(--ec-text-light);
	overflow: hidden;
	isolation: isolate;
}
.ec-mega__feature::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(180deg, rgba(13, 11, 18, 0) 15%, rgba(13, 11, 18, 0.88) 72%),
		radial-gradient(120% 70% at 100% 0%, rgba(230, 207, 167, 0.13), transparent 60%);
}
.ec-mega__img.brxe-image,
.ec-mega__img {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
}
.ec-mega__img img,
img.ec-mega__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 60% 20%;
	transform: scale(1.06);
	transition: transform 1.4s var(--ec-ease);
}
.open .ec-mega__img img,
.open img.ec-mega__img {
	transform: scale(1);
}
.ec-mega__kicker {
	margin: 0 0 0.6rem;
	color: var(--ec-champagne);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}
.ec-mega__title {
	margin: 0 0 1.25rem;
	font-family: var(--ec-font-display);
	font-size: clamp(1.6rem, 1.2rem + 0.8vw, 2.1rem);
	font-weight: 400;
	line-height: 1.08;
	color: var(--ec-text-light);
}
.ec-mega__title em {
	font-style: normal;
	color: var(--ec-champagne);
}
.ec-mega__feature .ec-btn {
	align-self: flex-start;
	min-height: 46px;
	font-size: 0.88rem;
}

/* Tarjeta cita (clara) */
.ec-mega__feature--quote {
	justify-content: space-between;
	background: var(--ec-sand);
	color: var(--ec-text-dark);
}
.ec-mega__feature--quote::after {
	background: radial-gradient(90% 60% at 100% 0%, rgba(230, 207, 167, 0.1), transparent 60%),
		radial-gradient(80% 60% at 0% 100%, rgba(184, 145, 90, 0.18), transparent 60%);
}
.ec-mega__feature--quote::before {
	content: "“";
	position: absolute;
	top: -0.6rem;
	right: 1.25rem;
	font-family: var(--ec-font-display);
	font-size: 9rem;
	line-height: 1;
	color: rgba(184, 145, 90, 0.35);
}
.ec-mega__feature--quote .ec-mega__kicker {
	color: var(--ec-gold);
}
.ec-mega__feature--quote .ec-mega__title {
	color: var(--ec-text-dark);
}
.ec-mega__feature--quote .ec-mega__title em {
	color: var(--ec-gold);
}

/* Entrada escalonada de los elementos al abrir */
@media (min-width: 1024px) {
	.ec-mega .ec-mlink,
	.ec-mega .ec-mega__feature {
		opacity: 0;
		transform: translateY(10px);
		transition: opacity 0.5s var(--ec-ease), transform 0.6s var(--ec-ease), background-color 0.35s;
	}
	.open > .ec-mega .ec-mlink,
	.open > .ec-mega .ec-mega__feature {
		opacity: 1;
		transform: none;
	}
	.open > .ec-mega .ec-mlink:nth-of-type(1) { transition-delay: 0.06s, 0.06s, 0s; }
	.open > .ec-mega .ec-mlink:nth-of-type(2) { transition-delay: 0.1s, 0.1s, 0s; }
	.open > .ec-mega .ec-mlink:nth-of-type(3) { transition-delay: 0.14s, 0.14s, 0s; }
	.open > .ec-mega .ec-mlink:nth-of-type(4) { transition-delay: 0.18s, 0.18s, 0s; }
	.open > .ec-mega .ec-mega__feature { transition-delay: 0.12s; }
	.open > .ec-mega .ec-mlink:hover { transition-delay: 0s; }
}

/* --------------------------------------------------------------------------
   Menú móvil (< 1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1023.98px) {
	.ec-header__cta.ec-btn {
		display: none;
	}
	.ec-logo img,
	.ec-logo .bricks-site-logo {
		height: 42px;
	}
	:root {
		--ec-header-h: 72px;
	}

	/* El panel abre bajo la cabecera: logo y botón de cierre siempre visibles */
	#brx-header:has(.ec-nav.brx-open) {
		--_bg: var(--ec-ink);
		--_line: var(--ec-line-light);
	}
	.ec-nav.brx-open .brx-nav-nested-items {
		top: var(--ec-header-h);
		justify-content: flex-start !important;
		align-items: stretch;
		gap: 0;
		padding: 1rem var(--ec-gutter) 2.5rem;
		background:
			radial-gradient(90% 50% at 100% 0%, rgba(230, 207, 167, 0.1), transparent 60%),
			radial-gradient(70% 40% at 0% 100%, rgba(184, 145, 90, 0.18), transparent 60%),
			var(--ec-ink);
		color: var(--ec-text-light);
		animation: ec-menu-in 0.6s var(--ec-ease) both;
	}
	.ec-nav.brx-open .brx-nav-nested-items > li {
		border-bottom: 1px solid var(--ec-line-light);
		animation: ec-rise 0.7s var(--ec-ease) both;
	}
	.ec-nav.brx-open .brx-nav-nested-items > li:nth-child(2) { animation-delay: 0.05s; }
	.ec-nav.brx-open .brx-nav-nested-items > li:nth-child(3) { animation-delay: 0.1s; }
	.ec-nav.brx-open .brx-nav-nested-items > li:nth-child(4) { animation-delay: 0.15s; }
	.ec-nav.brx-open .brx-nav-nested-items > li:nth-child(5) { animation-delay: 0.2s; }
	.ec-nav.brx-open .brx-nav-nested-items > li:nth-child(6) { animation-delay: 0.25s; }
	/* El propio botón de la cabecera hace de cierre (se transforma en X) */
	.ec-nav .brx-nav-nested-items > li.brx-toggle-div,
	.ec-nav .brx-nav-nested-items > li:has(> .ec-nav__close),
	.ec-nav .ec-nav__close {
		display: none !important;
	}
	.ec-nav.brx-open .ec-nav__link,
	.ec-nav.brx-open .brx-submenu-toggle {
		padding: 1.1rem 0;
		color: var(--ec-text-light);
		font-family: var(--ec-font-display);
		font-size: clamp(1.9rem, 6vw, 2.4rem);
		font-weight: 400;
	}
	.ec-nav.brx-open .ec-nav__link::after,
	.ec-nav.brx-open .brx-submenu-toggle::after {
		display: none;
	}
	.ec-nav.brx-open .ec-nav__close {
		color: var(--ec-text-light);
	}

	/* El megamenú pasa a ser una lista sencilla */
	.ec-nav.brx-open .ec-mega.brx-dropdown-content {
		background: transparent;
		padding: 0 0 1rem;
	}
	.ec-mega__wrap {
		display: block;
	}
	.ec-mega__links {
		grid-template-columns: 1fr;
		padding: 0;
	}
	.ec-mega__eyebrow,
	.ec-mega__feature,
	.ec-mlink__desc {
		display: none;
	}
	.ec-mlink.brxe-block,
	.ec-mlink {
		grid-template-columns: 36px 1fr;
		align-items: center;
		padding: 0.6rem 0;
		color: var(--ec-text-light);
	}
	.ec-mlink::before {
		grid-row: auto;
		width: 36px;
		height: 36px;
		border-radius: 11px;
		background: var(--ec-ink-3);
	}
	.ec-mlink::after {
		top: calc(0.6rem + 9px);
		left: 9px;
		width: 18px;
		height: 18px;
	}
	.ec-mlink:hover,
	.ec-mlink:focus-visible {
		background: transparent;
		box-shadow: none;
	}
	.ec-nav__item-cta {
		margin-top: 2rem;
	}
	.ec-nav.brx-open li:has(> .ec-nav__item-cta) {
		border: 0;
	}
	.ec-nav__item-cta.ec-btn {
		width: 100%;
	}
}
@media (min-width: 1024px) {
	.ec-nav__item-cta,
	.ec-nav li:has(> .ec-nav__item-cta) {
		display: none !important;
	}
}

/* --------------------------------------------------------------------------
   Banner principal
   -------------------------------------------------------------------------- */
.ec-hero.brxe-section {
	--px: 0;
	--py: 0;
	--mx: 70%;
	--my: 40%;
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: max(680px, 100svh);
	padding: calc(var(--ec-header-h) + clamp(2rem, 5vw, 4rem)) 0 0;
	background: var(--ec-ink);
	color: var(--ec-text-light);
	font-family: var(--ec-font-body);
	overflow: hidden;
	isolation: isolate;
}
.ec-hero::before {
	/* Luz ambiente + foco del cursor */
	content: "";
	position: absolute;
	inset: 0;
	z-index: -2;
	background:
		radial-gradient(600px circle at var(--mx) var(--my), rgba(230, 207, 167, 0.1), transparent 60%),
		radial-gradient(min(820px, 120vw) 620px at 85% 20%, rgba(230, 207, 167, 0.11), transparent 70%),
		radial-gradient(min(720px, 110vw) 560px at 10% 90%, rgba(184, 145, 90, 0.2), transparent 70%),
		linear-gradient(180deg, var(--ec-ink) 0%, var(--ec-ink-2) 100%);
}
.ec-hero::after {
	/* Grano fino de película */
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	opacity: 0.07;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	mix-blend-mode: overlay;
}

.ec-hero__inner.brxe-container {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
	align-items: center;
	gap: clamp(2rem, 5vw, 5rem);
	width: 100%;
	max-width: calc(var(--ec-wrap) + 2 * var(--ec-gutter));
	margin: 0 auto;
	padding-inline: var(--ec-gutter);
	flex: 1;
}

.ec-hero__content.brxe-block {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
}

.ec-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0 0 1.75rem;
	padding: 0.5rem 1rem 0.5rem 0.6rem;
	border: 1px solid var(--ec-line-light);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.03);
	color: var(--ec-mute-light);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}
.ec-eyebrow::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--ec-champagne);
	box-shadow: 0 0 0 0 rgba(230, 207, 167, 0.6);
	animation: ec-pulse 2.4s var(--ec-ease) infinite;
}

.ec-hero__title.brxe-heading {
	margin: 0;
	max-width: 13ch;
	color: var(--ec-text-light);
	font-family: var(--ec-font-display);
	font-size: clamp(2.9rem, 1.6rem + 4.6vw, 6.1rem);
	font-weight: 400;
	line-height: 0.98;
	letter-spacing: -0.015em;
	text-wrap: balance;
}
.ec-hero__title em {
	font-style: normal;
	background: var(--ec-shimmer);
	background-size: 250% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	animation: ec-shimmer 7s linear infinite;
	padding-right: 0.06em;
}

.ec-hero__lead {
	max-width: 34rem;
	margin: 1.75rem 0 0;
	color: var(--ec-mute-light);
	font-size: clamp(1.05rem, 0.95rem + 0.35vw, 1.25rem);
	line-height: 1.65;
}
.ec-hero__lead strong {
	color: var(--ec-text-light);
	font-weight: 600;
}

.ec-hero__actions.brxe-block {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 0.85rem;
	margin-top: 2.5rem;
}

.ec-hero__proof.brxe-block {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 0.6rem 1.75rem;
	margin: 3rem 0 0;
	padding: 1.5rem 0 0;
	border-top: 1px solid var(--ec-line-light);
	list-style: none;
}
.ec-hero__proof li {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	color: var(--ec-mute-light);
	font-size: 0.9rem;
}
.ec-hero__proof li::before {
	content: "";
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	border-radius: 50%;
	background: var(--ec-champagne);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1a11 11 0 100 22 11 11 0 000-22zm-1.6 15.6L5.8 12l1.6-1.6 3 3 6.2-6.2 1.6 1.6z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1a11 11 0 100 22 11 11 0 000-22zm-1.6 15.6L5.8 12l1.6-1.6 3 3 6.2-6.2 1.6 1.6z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Imagen en arco */
.ec-hero__media.brxe-block {
	position: relative;
	justify-self: end;
	width: min(100%, 520px);
	transform: translate3d(calc(var(--px) * -10px), calc(var(--py) * -10px), 0);
	transition: transform 0.9s var(--ec-ease);
}
.ec-hero__frame.brxe-div {
	position: relative;
	aspect-ratio: 4 / 5;
	border-radius: 999px 999px var(--ec-radius) var(--ec-radius);
	overflow: hidden;
	box-shadow: var(--ec-shadow-deep), 0 0 0 1px rgba(230, 207, 167, 0.18);
	isolation: isolate;
}
.ec-hero__frame::before {
	/* Filo dorado interior */
	content: "";
	position: absolute;
	inset: 10px;
	z-index: 2;
	border: 1px solid rgba(230, 207, 167, 0.35);
	border-radius: 999px 999px calc(var(--ec-radius) - 8px) calc(var(--ec-radius) - 8px);
	pointer-events: none;
}
.ec-hero__frame::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, transparent 55%, rgba(13, 11, 18, 0.55) 100%);
	pointer-events: none;
}
.ec-hero__img.brxe-image,
img.ec-hero__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 30%;
	animation: ec-settle 2.2s var(--ec-ease) both;
}
.ec-hero__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 30%;
}

/* Halo detrás del arco */
.ec-hero__media::before {
	content: "";
	position: absolute;
	inset: -12% -18% auto auto;
	width: 80%;
	aspect-ratio: 1;
	z-index: -1;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(230, 207, 167, 0.21), transparent 65%);
	filter: blur(30px);
	animation: ec-breathe 9s var(--ec-ease-in-out) infinite alternate;
}
.ec-hero__media::after {
	/* Anillo orbital */
	content: "";
	position: absolute;
	inset: -6% -10% -4% -10%;
	z-index: -1;
	border: 1px dashed rgba(230, 207, 167, 0.18);
	border-radius: 50%;
	animation: ec-spin 60s linear infinite;
}

.ec-hero__sign {
	position: absolute;
	left: 50%;
	bottom: 1.4rem;
	z-index: 3;
	margin: 0;
	transform: translateX(-50%);
	color: var(--ec-text-light);
	font-size: 0.82rem;
	letter-spacing: 0.04em;
	white-space: nowrap;
}
.ec-hero__sign strong {
	font-family: var(--ec-font-display);
	font-size: 1.35rem;
	font-weight: 400;
	margin-right: 0.35rem;
	color: var(--ec-champagne);
}

/* Tarjetas flotantes de cristal */
.ec-float.brxe-div {
	position: absolute;
	z-index: 4;
	display: flex;
	align-items: center;
	gap: 0.8rem;
	padding: 0.85rem 1.1rem 0.85rem 0.85rem;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 18px;
	background: rgba(21, 18, 28, 0.55);
	box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6);
	-webkit-backdrop-filter: blur(16px) saturate(1.3);
	backdrop-filter: blur(16px) saturate(1.3);
	color: var(--ec-text-light);
	font-size: 0.8rem;
	line-height: 1.3;
	transform: translate3d(calc(var(--px) * var(--_d, 18px)), calc(var(--py) * var(--_d, 18px)), 0);
	transition: transform 0.9s var(--ec-ease);
}
.ec-float strong {
	display: block;
	font-size: 0.92rem;
	font-weight: 700;
}
.ec-float span {
	color: var(--ec-mute-light);
}
.ec-float__ico {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 12px;
	background: linear-gradient(140deg, var(--ec-champagne), var(--ec-gold));
	flex-shrink: 0;
}
.ec-float__ico::before {
	content: "";
	width: 18px;
	height: 18px;
	background: var(--ec-ink);
	-webkit-mask: var(--_ico) center / contain no-repeat;
	mask: var(--_ico) center / contain no-repeat;
}
.ec-float--a {
	--_d: 26px;
	top: 14%;
	left: -16%;
	animation: ec-float-in 1s var(--ec-ease) 0.9s both, ec-bob 6s var(--ec-ease-in-out) 2s infinite alternate;
}
.ec-float--b {
	--_d: -22px;
	top: 46%;
	right: -5%;
	animation: ec-float-in 1s var(--ec-ease) 1.1s both, ec-bob 7s var(--ec-ease-in-out) 2.2s infinite alternate-reverse;
}
.ec-float--c {
	--_d: 16px;
	bottom: 16%;
	left: -10%;
	animation: ec-float-in 1s var(--ec-ease) 1.3s both, ec-bob 6.5s var(--ec-ease-in-out) 2.4s infinite alternate;
}
/* Mini gráfica que crece */
.ec-bars {
	display: flex;
	align-items: flex-end;
	gap: 4px;
	height: 34px;
	padding: 0 4px;
}
.ec-bars i {
	width: 6px;
	border-radius: 3px;
	background: linear-gradient(180deg, var(--ec-champagne), var(--ec-gold));
	transform-origin: bottom;
	animation: ec-grow 1.2s var(--ec-ease) both;
}
.ec-bars i:nth-child(1) { height: 30%; animation-delay: 1.4s; }
.ec-bars i:nth-child(2) { height: 45%; animation-delay: 1.5s; }
.ec-bars i:nth-child(3) { height: 40%; animation-delay: 1.6s; }
.ec-bars i:nth-child(4) { height: 68%; animation-delay: 1.7s; }
.ec-bars i:nth-child(5) { height: 100%; animation-delay: 1.8s; background: linear-gradient(180deg, var(--ec-rose-soft), var(--ec-rose)); }

/* Cinta inferior (transición a fondo claro) */
.ec-marquee.brxe-div {
	position: relative;
	align-self: stretch;
	width: 100%;
	max-width: none;
	margin: clamp(3rem, 6vw, 5rem) 0 0;
	padding: 1.15rem 0;
	background: var(--ec-ivory);
	color: var(--ec-text-dark);
	overflow: hidden;
	border-top: 1px solid rgba(184, 145, 90, 0.25);
}
.ec-marquee__track {
	display: flex;
	justify-content: center;
	width: max-content;
	min-width: 100%;
}
/* El JS duplica el contenido para el bucle infinito (el HTML no lleva texto repetido) */
.ec-marquee.is-ready .ec-marquee__track {
	justify-content: flex-start;
	animation: ec-marquee 38s linear infinite;
}
.ec-marquee:hover .ec-marquee__track {
	animation-play-state: paused;
}
.ec-marquee__track > * {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	max-width: none;
	width: max-content;
	margin: 0;
	font-family: var(--ec-font-display);
	font-size: clamp(1.3rem, 1rem + 1vw, 1.9rem);
	white-space: nowrap;
}
.ec-marquee__track span {
	display: inline-flex;
	align-items: center;
}
.ec-marquee__track span::after {
	content: "✦";
	margin: 0 2.25rem;
	font-style: normal;
	font-size: 0.6em;
	color: var(--ec-gold);
}

/* Entrada del contenido del banner (solo CSS: si el JS falla, todo se ve) */
.ec-hero .ec-eyebrow { animation: ec-rise 0.9s var(--ec-ease) 0.1s both; }
.ec-hero .ec-hero__lead { animation: ec-rise 0.9s var(--ec-ease) 0.35s both; }
.ec-hero .ec-hero__actions { animation: ec-rise 0.9s var(--ec-ease) 0.5s both; }
.ec-hero .ec-hero__proof { animation: ec-rise 0.9s var(--ec-ease) 0.65s both; }

/* Responsive del banner */
@media (max-width: 991.98px) {
	.ec-hero__inner.brxe-container {
		grid-template-columns: 1fr;
		text-align: left;
	}
	.ec-hero__media.brxe-block {
		justify-self: center;
		width: min(100%, 420px);
		margin-top: 1rem;
	}
	.ec-float--a { left: -6%; }
	.ec-float--b { right: -6%; }
	.ec-float--c { left: -4%; }
}
@media (max-width: 600px) {
	.ec-hero.brxe-section {
		min-height: 0;
	}
	.ec-hero__actions.brxe-block,
	.ec-hero__actions .ec-btn {
		width: 100%;
	}
	.ec-hero__proof.brxe-block {
		flex-direction: column;
	}
}

/* Móvil y tableta: las tarjetas salen de la foto (no tapan la cara) y se apoyan
   como dos píldoras compactas sobre el borde inferior del arco */
@media (max-width: 991.98px) {
	.ec-hero__media.brxe-block {
		margin-bottom: 1.75rem;
	}
	.ec-float.ec-float--c {
		display: none;
	}
	.ec-float.brxe-div {
		top: auto;
		bottom: -1.5rem;
		max-width: calc(50% - 0.6rem);
		gap: 0.55rem;
		padding: 0.5rem 0.75rem 0.5rem 0.5rem;
		border-radius: 14px;
		background: rgba(21, 18, 28, 0.82);
		font-size: 0.68rem;
		transform: none;
		animation: ec-float-in 1s var(--ec-ease) 0.9s both;
	}
	.ec-float strong {
		font-size: 0.78rem;
	}
	.ec-float--a { left: 0.4rem; right: auto; }
	.ec-float--b { right: 0.4rem; left: auto; animation-delay: 1.1s; }
	.ec-float__ico {
		width: 28px;
		height: 28px;
		border-radius: 9px;
	}
	.ec-float__ico::before {
		width: 14px;
		height: 14px;
	}
	.ec-bars {
		gap: 3px;
		height: 24px;
		padding: 0 2px;
	}
	.ec-bars i {
		width: 4px;
	}
	.ec-hero__sign {
		bottom: 2.6rem;
	}
}

/* --------------------------------------------------------------------------
   Aparición al hacer scroll (solo con JS: sin JS todo se ve)
   -------------------------------------------------------------------------- */
.ec-js .ec-reveal {
	transition: opacity 1s var(--ec-ease), transform 1.1s var(--ec-ease), clip-path 1.4s var(--ec-ease);
	transition-delay: var(--ec-d, 0s);
}
.ec-js .ec-reveal:not(.is-in) {
	opacity: 0;
	transform: translateY(32px);
}

/* --------------------------------------------------------------------------
   Pie de página
   -------------------------------------------------------------------------- */
.ec-footer.brxe-section {
	--_mute: rgba(246, 241, 234, 0.62);
	position: relative;
	display: block;
	padding: clamp(4.5rem, 9vw, 8rem) 0 0;
	background:
		radial-gradient(min(760px, 110vw) 560px at 92% 0%, rgba(230, 207, 167, 0.08), transparent 70%),
		radial-gradient(min(640px, 100vw) 520px at 0% 45%, rgba(184, 145, 90, 0.16), transparent 70%),
		linear-gradient(180deg, var(--ec-ink) 0%, #09080d 100%);
	color: var(--ec-text-light);
	font-family: var(--ec-font-body);
	overflow: hidden;
	isolation: isolate;
}
.ec-footer::before {
	/* Filo dorado superior */
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(230, 207, 167, 0.55) 30%, rgba(235, 185, 226, 0.45) 70%, transparent);
}
.ec-footer::after {
	/* Mismo grano que el banner */
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	opacity: 0.06;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	mix-blend-mode: overlay;
}
.ec-footer__inner.brxe-container {
	display: block;
	width: 100%;
	max-width: calc(var(--ec-wrap) + 2 * var(--ec-gutter));
	margin-inline: auto;
	padding-inline: var(--ec-gutter);
	container-type: inline-size;
}
.ec-footer__inner::after {
	/* Firma gigante que se funde con el fondo (decorativa, fuera del árbol de accesibilidad) */
	content: "EstéticaconSEO";
	content: "EstéticaconSEO" / "";
	display: block;
	margin: clamp(1.5rem, 4vw, 3rem) 0 -0.17em;
	font-family: var(--ec-font-display);
	/* El texto mide 5,21 veces su tamaño de fuente: 18,6cqi lo deja al 97 % del ancho útil */
	font-size: 18.6cqi;
	line-height: 0.9;
	letter-spacing: -0.02em;
	text-align: center;
	white-space: nowrap;
	background: linear-gradient(180deg, rgba(230, 207, 167, 0.32) 0%, rgba(235, 185, 226, 0.12) 55%, rgba(230, 207, 167, 0) 92%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	pointer-events: none;
	user-select: none;
}
.ec-footer p {
	margin: 0;
}

/* 1 · Llamada a la acción */
.ec-footer__cta.brxe-block {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
	align-items: end;
	gap: clamp(2rem, 5vw, 5rem);
	padding-bottom: clamp(3.5rem, 7vw, 6rem);
	border-bottom: 1px solid var(--ec-line-light);
}
.ec-footer__cta-head.brxe-block {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}
.ec-footer__title {
	max-width: 15ch;
	color: var(--ec-text-light);
	font-family: var(--ec-font-display);
	font-size: clamp(2.6rem, 1.4rem + 4.2vw, 5.6rem);
	line-height: 1;
	letter-spacing: -0.015em;
	text-wrap: balance;
}
.ec-footer__title em {
	background: var(--ec-shimmer);
	background-size: 250% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	animation: ec-shimmer 8s linear infinite;
}
.ec-footer__cta-side.brxe-block {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2rem;
}
.ec-footer__lead {
	color: var(--_mute);
	font-size: clamp(1.02rem, 0.95rem + 0.3vw, 1.15rem);
	line-height: 1.65;
}
.ec-footer__actions.brxe-block {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 1.75rem;
}
.ec-footer__call.brxe-block {
	display: grid;
	grid-template-columns: auto auto;
	grid-template-rows: auto auto;
	column-gap: 0.8rem;
	align-items: center;
	width: auto;
	color: var(--ec-text-light);
	text-decoration: none;
}
.ec-footer__call::before {
	content: "";
	grid-row: 1 / span 2;
	width: 44px;
	height: 44px;
	background: var(--ec-champagne);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 44'%3E%3Ccircle cx='22' cy='22' r='21.5' fill='none' stroke='black'/%3E%3Cpath d='M17.6 14.5h-2.2a1.4 1.4 0 00-1.4 1.5c.6 7.3 6.7 13.4 14 14a1.4 1.4 0 001.5-1.4v-2.2l-3.2-1.3-1.7 1.6a10 10 0 01-5.6-5.6l1.6-1.7z' fill='none' stroke='black' stroke-width='1.4' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 44'%3E%3Ccircle cx='22' cy='22' r='21.5' fill='none' stroke='black'/%3E%3Cpath d='M17.6 14.5h-2.2a1.4 1.4 0 00-1.4 1.5c.6 7.3 6.7 13.4 14 14a1.4 1.4 0 001.5-1.4v-2.2l-3.2-1.3-1.7 1.6a10 10 0 01-5.6-5.6l1.6-1.7z' fill='none' stroke='black' stroke-width='1.4' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform 0.5s var(--ec-ease);
}
.ec-footer__call:hover::before {
	transform: rotate(-12deg);
}
.ec-footer__call-label {
	color: var(--_mute);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.ec-footer__call-num {
	font-family: var(--ec-font-display);
	font-size: 1.55rem;
	line-height: 1.1;
	transition: color 0.3s;
}
.ec-footer__call:hover .ec-footer__call-num {
	color: var(--ec-champagne);
}

/* 2 · Columnas */
.ec-footer__grid.brxe-block {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.15fr);
	gap: clamp(2.5rem, 4vw, 4rem);
	padding: clamp(3.5rem, 6vw, 5rem) 0;
	--ec-d: 0.1s;
}
.ec-footer__brand.brxe-block {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.5rem;
	max-width: 22rem;
}
.ec-footer__logo img,
.ec-footer__logo .bricks-site-logo {
	display: block;
	width: auto;
	height: 52px;
}
.ec-footer__about {
	color: var(--_mute);
	font-size: 0.95rem;
	line-height: 1.7;
}

.ec-footer .ec-footer__heading {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	margin-bottom: 1.4rem;
	color: var(--ec-champagne);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}
.ec-footer__heading::before {
	content: "";
	width: 18px;
	height: 1px;
	background: currentColor;
}
.ec-footer__col.brxe-block {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}
.ec-footer__list.brxe-block {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ec-footer__li.brxe-block {
	display: block;
	margin: 0;
}
.ec-footer .ec-footer__link.brxe-text-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	padding: 0.4rem 0;
	color: var(--_mute);
	font-size: 0.95rem;
	line-height: 1.4;
	text-decoration: none;
	transition: color 0.3s, transform 0.5s var(--ec-ease);
}
.ec-footer .ec-footer__link.brxe-text-link::before {
	/* Filo que entra al pasar por encima */
	content: "";
	position: absolute;
	left: -22px;
	top: 50%;
	width: 14px;
	height: 1px;
	background: var(--ec-champagne);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.5s var(--ec-ease);
}
.ec-footer .ec-footer__link.brxe-text-link:hover,
.ec-footer .ec-footer__link.brxe-text-link:focus-visible {
	color: var(--ec-text-light);
	transform: translateX(22px);
}
.ec-footer .ec-footer__link.brxe-text-link:hover::before,
.ec-footer .ec-footer__link.brxe-text-link:focus-visible::before {
	transform: scaleX(1);
}

/* Contacto */
.ec-footer__col--contact.brxe-block {
	gap: 0.35rem;
}
.ec-footer__contact.brxe-block {
	position: relative;
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr);
	grid-template-rows: auto auto;
	column-gap: 0.9rem;
	align-items: center;
	width: 100%;
	padding: 0.5rem 0;
	color: var(--ec-text-light);
	text-decoration: none;
}
.ec-footer__contact::before {
	content: "";
	grid-row: 1 / span 2;
	width: 40px;
	height: 40px;
	border-radius: 13px;
	background: var(--ec-ink-3);
	box-shadow: inset 0 0 0 1px rgba(230, 207, 167, 0.2);
	transition: background-color 0.35s, box-shadow 0.35s;
}
.ec-footer__contact::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 11px;
	width: 18px;
	height: 18px;
	margin-top: -9px;
	background: var(--ec-champagne);
	-webkit-mask: var(--_ico) center / contain no-repeat;
	mask: var(--_ico) center / contain no-repeat;
	transition: background-color 0.35s;
}
.ec-footer__contact:hover::before {
	background: var(--ec-champagne);
	box-shadow: none;
}
.ec-footer__contact:hover::after {
	background: var(--ec-ink);
}
.ec-footer__contact-label {
	color: var(--_mute);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.ec-footer__contact-value {
	overflow: hidden;
	font-size: 0.98rem;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
	transition: color 0.3s;
}
.ec-footer__contact:hover .ec-footer__contact-value {
	color: var(--ec-champagne);
}

/* LinkedIn */
.ec-footer__social.brxe-block {
	position: relative;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border: 1px solid var(--ec-line-light);
	border-radius: 50%;
	transition: background-color 0.35s, border-color 0.35s, transform 0.5s var(--ec-ease);
}
.ec-footer__social::before {
	content: "";
	width: 18px;
	height: 18px;
	background: var(--ec-champagne);
	-webkit-mask: var(--_ico) center / contain no-repeat;
	mask: var(--_ico) center / contain no-repeat;
	transition: background-color 0.35s;
}
.ec-footer__social:hover {
	border-color: var(--ec-champagne);
	background: var(--ec-champagne);
	transform: translateY(-2px);
}
.ec-footer__social:hover::before {
	background: var(--ec-ink);
}

/* Iconos del pie */
.ec-footer .ec-ico--phone { --_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='M8.5 3.5H6A2 2 0 004 5.6C4.8 13.4 10.6 19.2 18.4 20a2 2 0 002.1-2v-2.5l-4-1.6-2 2a12 12 0 01-6.4-6.4l2-2z'/%3E%3C/svg%3E"); }
.ec-footer .ec-ico--mail { --_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%3Crect x='3' y='5' width='18' height='14' rx='2.5'/%3E%3Cpath d='M4 7l8 6 8-6'/%3E%3C/svg%3E"); }
.ec-footer .ec-ico--form { --_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%3C/svg%3E"); }
.ec-footer .ec-ico--linkedin { --_ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4.5 3A1.5 1.5 0 003 4.5v15A1.5 1.5 0 004.5 21h15a1.5 1.5 0 001.5-1.5v-15A1.5 1.5 0 0019.5 3zm2.8 4a1.6 1.6 0 110 3.2 1.6 1.6 0 010-3.2zM6 11h2.7v7.5H6zm4.4 0H13v1.1c.4-.7 1.3-1.3 2.6-1.3 2.4 0 2.9 1.5 2.9 3.6v4.1h-2.7v-3.6c0-.9 0-2-1.2-2s-1.5.9-1.5 1.9v3.7h-2.7z'/%3E%3C/svg%3E"); }

/* 3 · Barra legal */
.ec-footer__bar.brxe-block {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 1rem 2rem;
	padding: 1.6rem 0;
	border-top: 1px solid var(--ec-line-light);
}
.ec-footer__copy {
	color: var(--_mute);
	font-size: 0.84rem;
}
.ec-footer__legal.brxe-block {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.4rem 1.6rem;
	width: auto;
}
.ec-footer .ec-footer__legal-link.brxe-text-link {
	color: var(--_mute);
	font-size: 0.84rem;
	text-decoration: underline;
	text-decoration-color: transparent;
	text-underline-offset: 4px;
	transition: color 0.3s, text-decoration-color 0.3s;
}
.ec-footer .ec-footer__legal-link.brxe-text-link:hover {
	color: var(--ec-text-light);
	text-decoration-color: var(--ec-champagne);
}
.ec-footer__top.brxe-block {
	justify-self: end;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border: 1px solid var(--ec-line-light);
	border-radius: 50%;
	color: var(--ec-champagne);
	transition: border-color 0.35s, background-color 0.35s, transform 0.5s var(--ec-ease);
}
.ec-footer__top::before {
	content: "";
	width: 18px;
	height: 18px;
	background: currentColor;
	-webkit-mask: 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.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5M6 11l6-6 6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: 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.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5M6 11l6-6 6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform 0.5s var(--ec-ease);
}
.ec-footer__top:hover {
	border-color: var(--ec-champagne);
	background: rgba(230, 207, 167, 0.08);
}
.ec-footer__top:hover::before {
	transform: translateY(-3px);
}
.ec-footer :is(a, .ec-btn):focus-visible {
	outline: 2px solid var(--ec-champagne);
	outline-offset: 4px;
}

/* Responsive del pie */
@media (max-width: 1100px) {
	.ec-footer__grid.brxe-block {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.ec-footer__brand.brxe-block {
		grid-column: 1 / -1;
		max-width: 34rem;
	}
}
@media (max-width: 991.98px) {
	.ec-footer__cta.brxe-block {
		grid-template-columns: 1fr;
		align-items: start;
	}
	.ec-footer__bar.brxe-block {
		grid-template-columns: 1fr auto;
	}
	.ec-footer__legal.brxe-block {
		grid-column: 1 / -1;
		grid-row: 1;
		justify-content: flex-start;
	}
}
@media (max-width: 767.98px) {
	.ec-footer__grid.brxe-block {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 2.75rem;
	}
	.ec-footer__col--contact.brxe-block {
		grid-column: 1 / -1;
	}
	.ec-footer__actions.brxe-block,
	.ec-footer__actions .ec-btn {
		width: 100%;
	}
}
@media (max-width: 420px) {
	.ec-footer .ec-footer__link.brxe-text-link {
		font-size: 0.9rem;
	}
	.ec-footer__legal.brxe-block {
		gap: 0.4rem 1.1rem;
	}
}

/* --------------------------------------------------------------------------
   Base de sección (compartida por todas las páginas)
   -------------------------------------------------------------------------- */
.ec-sec.brxe-section {
	--_fg: var(--ec-text-dark);
	--_mute: var(--ec-mute-dark);
	--_line: var(--ec-line-dark);
	--_accent: var(--ec-gold);
	position: relative;
	display: block;
	padding: clamp(5rem, 10vw, 9rem) 0;
	color: var(--_fg);
	font-family: var(--ec-font-body);
	overflow-x: clip;
	isolation: isolate;
}
.ec-sec--white.brxe-section { background: var(--ec-paper); }
.ec-sec--ivory.brxe-section { background: var(--ec-ivory); }
.ec-sec--sand.brxe-section { background: var(--ec-sand); }
.ec-sec--champagne.brxe-section {
	background:
		radial-gradient(70% 90% at 100% 0%, rgba(255, 244, 223, 0.9), transparent 60%),
		radial-gradient(60% 80% at 0% 100%, rgba(230, 207, 167, 0.07), transparent 60%),
		linear-gradient(135deg, #ecd9b6 0%, var(--ec-champagne) 45%, #d9bb8c 100%);
}
/* Mismo peso que .ec-sec.brxe-section para que sus variables ganen */
.ec-sec--dark.brxe-section {
	--_fg: var(--ec-text-light);
	--_mute: var(--ec-mute-light);
	--_line: var(--ec-line-light);
	--_accent: var(--ec-champagne);
	background:
		radial-gradient(min(760px, 110vw) 560px at 90% 10%, rgba(230, 207, 167, 0.07), transparent 70%),
		radial-gradient(min(680px, 100vw) 520px at 5% 95%, rgba(184, 145, 90, 0.14), transparent 70%),
		var(--ec-ink);
}
.ec-sec--dark::after {
	/* Mismo grano que el banner */
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	opacity: 0.06;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	mix-blend-mode: overlay;
}
[id].ec-sec {
	scroll-margin-top: var(--ec-header-h);
}

.ec-wrap.brxe-container {
	display: block;
	width: 100%;
	max-width: calc(var(--ec-wrap) + 2 * var(--ec-gutter));
	margin-inline: auto;
	padding-inline: var(--ec-gutter);
}

/* Cabeceras de sección */
.ec-head.brxe-block {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	max-width: 54rem;
}
.ec-kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.85rem;
	margin: 0 0 1.5rem;
	color: var(--_accent);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}
.ec-kicker::before {
	content: "";
	width: 36px;
	height: 1px;
	background: currentColor;
	transform-origin: left;
	transition: transform 1.2s var(--ec-ease) 0.2s;
}
.ec-h2.brxe-heading,
.ec-statement__title.brxe-heading {
	margin: 0;
	color: var(--_fg);
	font-family: var(--ec-font-display);
	font-size: clamp(2.3rem, 1.3rem + 3.3vw, 4.5rem);
	font-weight: 400;
	line-height: 1.02;
	letter-spacing: -0.015em;
	text-wrap: balance;
}
.ec-accent {
	background: linear-gradient(100deg, var(--ec-gold) 0%, #c99a62 45%, #b25aa8 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.ec-sec--dark .ec-accent,
.ec-welcome .ec-accent {
	background: var(--ec-shimmer);
	background-size: 250% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	animation: ec-shimmer 8s linear infinite;
}
.ec-sec--champagne .ec-accent,
.ec-sec--sand .ec-accent {
	background: linear-gradient(100deg, #6e4f24, #8e5a84);
	-webkit-background-clip: text;
	background-clip: text;
}
.ec-lead {
	max-width: 40rem;
	margin: 1.5rem 0 0;
	color: var(--_mute);
	font-size: clamp(1.08rem, 1rem + 0.4vw, 1.3rem);
	line-height: 1.6;
}

/* Texto largo */
.ec-prose {
	color: var(--_mute);
	font-size: 1.02rem;
	line-height: 1.75;
}
.ec-prose p {
	margin: 0 0 1em;
}
.ec-prose > :last-child,
.ec-prose p:last-child {
	margin-bottom: 0;
}
.ec-prose strong,
.ec-prose b {
	color: var(--_fg);
	font-weight: 650;
}
.ec-prose ul {
	display: grid;
	gap: 0.7rem;
	margin: 1.25rem 0 0;
	padding: 0;
	list-style: none;
}
.ec-prose li {
	position: relative;
	padding-left: 1.6rem;
}
.ec-prose li::before {
	content: "";
	position: absolute;
	left: 0.1rem;
	top: 0.6em;
	width: 7px;
	height: 7px;
	border-radius: 2px;
	background: linear-gradient(140deg, var(--ec-champagne), var(--ec-gold));
	transform: rotate(45deg);
}
.ec-prose--lg {
	font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
}
.ec-prose--sm {
	font-size: 0.96rem;
}

/* Fotos */
.ec-photo.brxe-div {
	position: relative;
	overflow: hidden;
	border-radius: var(--ec-radius);
	box-shadow: var(--ec-shadow-deep);
	isolation: isolate;
}
.ec-photo__img.brxe-image,
img.ec-photo__img,
.ec-photo__img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.ec-photo img {
	transition: transform 1.6s var(--ec-ease);
}
.ec-photo--tall { aspect-ratio: 4 / 5; }
.ec-photo--portrait { aspect-ratio: 3 / 4; }
.ec-photo--arch {
	aspect-ratio: 4 / 5;
	border-radius: 999px 999px var(--ec-radius) var(--ec-radius);
}
.ec-photo--glow.brxe-div {
	box-shadow: var(--ec-shadow-deep), 0 0 0 1px rgba(230, 207, 167, 0.2), 0 0 120px -30px rgba(230, 207, 167, 0.27);
}
.ec-photo.brxe-div::before {
	/* Filo dorado interior (como el banner) */
	content: "";
	position: absolute;
	inset: 10px;
	z-index: 2;
	border: 1px solid rgba(255, 244, 223, 0.45);
	border-radius: calc(var(--ec-radius) - 8px);
	pointer-events: none;
}
.ec-photo--arch.brxe-div::before {
	border-radius: 999px 999px calc(var(--ec-radius) - 8px) calc(var(--ec-radius) - 8px);
}

/* --------------------------------------------------------------------------
   Aparición de fotos con máscara
   -------------------------------------------------------------------------- */
/* La máscara va sobre la foto, no sobre el contenedor (no recorta insignias ni anillos) */
.ec-js .ec-reveal--mask:not(.is-in) {
	opacity: 1;
	transform: none;
}
.ec-js .ec-reveal--mask .ec-photo {
	clip-path: inset(0 0 0 0 round var(--ec-radius));
	transition: clip-path 1.4s var(--ec-ease);
}
.ec-js .ec-reveal--mask:not(.is-in) .ec-photo {
	clip-path: inset(14% 10% 14% 10% round var(--ec-radius));
}
.ec-js .ec-reveal--mask .ec-photo--arch {
	clip-path: inset(0 0 0 0 round 999px 999px var(--ec-radius) var(--ec-radius));
}
.ec-js .ec-reveal--mask:not(.is-in) .ec-photo--arch {
	clip-path: inset(14% 10% 14% 10% round 999px 999px var(--ec-radius) var(--ec-radius));
}
.ec-js .ec-reveal--mask:not(.is-in) img {
	transform: scale(1.22);
}
.ec-js .ec-head:not(.is-in) .ec-kicker::before {
	transform: scaleX(0);
}

/* --------------------------------------------------------------------------
   Componentes compartidos por las páginas interiores
   -------------------------------------------------------------------------- */
/* Miga de pan (banners oscuros) */
.ec-crumbs.brxe-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.55rem;
	margin: 0 0 1.75rem;
	color: var(--_mute);
	font-size: 0.8rem;
	letter-spacing: 0.04em;
}
.ec-crumbs a.item {
	color: var(--_mute);
	text-decoration: underline;
	text-decoration-color: transparent;
	text-underline-offset: 4px;
	transition: color 0.3s, text-decoration-color 0.3s;
}
.ec-crumbs a.item:hover {
	color: var(--ec-text-light);
	text-decoration-color: var(--ec-champagne);
}
.ec-crumbs .separator {
	color: var(--ec-gold);
}
.ec-crumbs [aria-current] {
	color: var(--ec-text-light);
}

/* Entrada palabra a palabra (el JS envuelve cada palabra; sin JS el título se ve tal cual) */
.ec-word {
	display: inline-block;
	overflow: clip;
	overflow-clip-margin: 0.12em;
	padding-bottom: 0.08em;
	margin-bottom: -0.08em;
	vertical-align: top;
}
.ec-word__in {
	display: inline-block;
	animation: ec-word-in 1.1s var(--ec-ease) both;
	animation-delay: calc(0.15s + var(--i) * 0.07s);
}
@keyframes ec-word-in {
	from { transform: translateY(105%) rotate(4deg); opacity: 0; }
	to { transform: none; opacity: 1; }
}

/* Frase que se ilumina palabra a palabra (fondo claro) */
.ec-lightup {
	position: relative;
	margin: clamp(2rem, 4vw, 3rem) 0 0;
	padding-left: clamp(1.25rem, 2.5vw, 2rem);
	border-left: 2px solid var(--ec-gold);
	color: var(--ec-text-dark);
	font-family: var(--ec-font-display);
	font-size: clamp(1.8rem, 1.2rem + 2vw, 3rem);
	line-height: 1.12;
	letter-spacing: -0.01em;
	text-wrap: pretty;
}
.ec-lightup .ec-w {
	color: rgba(26, 22, 32, 0.18);
	transition: color 0.5s var(--ec-ease);
}
.ec-lightup .ec-w.is-on {
	color: var(--ec-text-dark);
}
.ec-lightup .ec-w.is-key.is-on {
	background: linear-gradient(100deg, var(--ec-gold) 0%, #c99a62 45%, #b25aa8 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* Buscador que escribe solo las búsquedas de su lista */
.ec-query__field.brxe-block {
	position: relative;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 0.8rem;
	min-height: 62px;
	padding: 0.9rem 1.2rem;
	border-radius: 999px;
	background: var(--ec-paper);
	color: var(--ec-text-dark);
	box-shadow: 0 0 0 5px rgba(230, 207, 167, 0.16), 0 18px 36px -18px rgba(0, 0, 0, 0.6);
}
.ec-query__field::before {
	content: "";
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	background: var(--ec-mute-dark);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ec-query__list.brxe-block {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	min-width: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ec-query__item {
	font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
	font-weight: 500;
}
/* Con JS la lista se oculta a la vista (sigue en el HTML) y se escribe letra a letra */
.ec-query__field.is-typing .ec-query__list {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}
.ec-query__typed {
	min-width: 0;
	font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
	font-weight: 500;
	white-space: nowrap;
	overflow: hidden;
}
.ec-query__typed::after {
	content: "";
	display: inline-block;
	width: 2px;
	height: 1.15em;
	margin-left: 2px;
	vertical-align: -0.2em;
	background: var(--ec-gold);
	animation: ec-caret 1s steps(1) infinite;
}
@keyframes ec-caret {
	50% { opacity: 0; }
}

/* Preguntas frecuentes (home y especialidades): <details> nativo, accesible y con el texto siempre en el HTML */
.ec-faq__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-faq__aside.brxe-block {
	position: sticky;
	top: calc(var(--ec-header-h) + 2rem);
}
.ec-faq__help.brxe-block {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1rem;
	margin-top: 2.5rem;
	padding: 1.75rem;
	border-radius: var(--ec-radius);
	background: var(--ec-paper);
	box-shadow: var(--ec-shadow-soft);
}
.ec-faq__help-t {
	margin: 0;
	font-family: var(--ec-font-display);
	font-size: 1.6rem;
	line-height: 1.1;
}
.ec-faq__list.brxe-block {
	display: flex;
	flex-direction: column;
	border-top: 1px solid var(--ec-line-dark);
}
.ec-faq__item {
	width: 100%;
	border-bottom: 1px solid var(--ec-line-dark);
	interpolate-size: allow-keywords;
}
.ec-faq__item::details-content {
	height: 0;
	overflow: clip;
	transition: height 0.6s var(--ec-ease), content-visibility 0.6s allow-discrete;
}
.ec-faq__item[open]::details-content {
	height: auto;
}
.ec-faq__q.brxe-block {
	display: flex;
	flex-direction: row;
	align-items: center;
	width: 100%;
	text-align: left;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 1.6rem 0;
	cursor: pointer;
	list-style: none;
}
.ec-faq__q::-webkit-details-marker {
	display: none;
}
.ec-faq__q::after {
	/* Más que gira hasta ser una equis */
	content: "";
	flex-shrink: 0;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background:
		linear-gradient(var(--ec-text-dark), var(--ec-text-dark)) center / 14px 1.5px no-repeat,
		linear-gradient(var(--ec-text-dark), var(--ec-text-dark)) center / 1.5px 14px no-repeat;
	box-shadow: inset 0 0 0 1px var(--ec-line-dark);
	transition: transform 0.5s var(--ec-ease), background-color 0.4s, box-shadow 0.4s;
}
.ec-faq__item[open] > .ec-faq__q::after {
	transform: rotate(135deg);
	background-color: var(--ec-champagne);
	box-shadow: none;
}
.ec-faq__q:hover::after {
	box-shadow: inset 0 0 0 1px var(--ec-gold);
}
.ec-faq__q:focus-visible {
	outline: 2px solid var(--ec-gold);
	outline-offset: 4px;
	border-radius: 8px;
}
.ec-faq__title.brxe-heading {
	flex: 1;
	margin: 0;
	color: var(--ec-text-dark);
	font-family: var(--ec-font-body);
	font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
	font-weight: 600;
	line-height: 1.4;
	transition: color 0.3s;
}
.ec-faq__q:hover .ec-faq__title {
	color: #8a6430;
}
.ec-faq__a {
	max-width: 40rem;
	padding: 0 3.5rem 1.75rem 0;
	color: var(--ec-mute-dark);
	line-height: 1.75;
}
.ec-faq__a p {
	margin: 0;
}
@media (max-width: 991.98px) {
	.ec-faq__wrap.brxe-container {
		grid-template-columns: minmax(0, 1fr);
	}
	.ec-faq__aside.brxe-block {
		position: static;
	}
}
@media (max-width: 767.98px) {
	.ec-faq__a {
		padding-right: 0;
	}
}

/* --------------------------------------------------------------------------
   Keyframes
   -------------------------------------------------------------------------- */
@property --ec-angle {
	syntax: "<angle>";
	initial-value: 0deg;
	inherits: false;
}
@keyframes ec-orbit {
	to { --ec-angle: 360deg; }
}
@keyframes ec-rise {
	from { opacity: 0; transform: translateY(18px); }
	to { opacity: 1; transform: none; }
}
@keyframes ec-menu-in {
	from { clip-path: inset(0 0 100% 0); }
	to { clip-path: inset(0 0 0 0); }
}
@keyframes ec-settle {
	from { transform: scale(1.12); }
	to { transform: scale(1); }
}
@keyframes ec-float-in {
	from { opacity: 0; translate: 0 24px; scale: 0.94; }
	to { opacity: 1; translate: 0 0; scale: 1; }
}
@keyframes ec-bob {
	from { margin-top: 0; }
	to { margin-top: -12px; }
}
@keyframes ec-grow {
	from { transform: scaleY(0); }
	to { transform: scaleY(1); }
}
@keyframes ec-shimmer {
	to { background-position: -250% 0; }
}
@keyframes ec-pulse {
	0% { box-shadow: 0 0 0 0 rgba(230, 207, 167, 0.55); }
	70%, 100% { box-shadow: 0 0 0 10px rgba(230, 207, 167, 0); }
}
@keyframes ec-breathe {
	from { transform: scale(0.9); opacity: 0.7; }
	to { transform: scale(1.1); opacity: 1; }
}
@keyframes ec-spin {
	to { transform: rotate(360deg); }
}
@keyframes ec-marquee {
	to { transform: translateX(-50%); }
}

/* Accesibilidad: sin movimiento si el usuario lo pide */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
	.ec-hero__media,
	.ec-float {
		transform: none !important;
	}
}

/* Sin cursivas en ningún sitio: el énfasis va con color y peso */
em,
cite,
blockquote {
	font-style: normal;
}
