/* ==========================================================================
   Esteluna – Hoja de estilos principal
   1. Tokens   2. Base   3. Utilidades   4. Botones   5. Cabecera
   6. Menú móvil   7. Contenido   8. Pie de página
   ========================================================================== */

/* 1. Tokens ------------------------------------------------------------- */
:root {
	--est-navy: #1f4270;
	--est-navy-700: #2a5590;
	--est-navy-900: #16304f;
	--est-sky: #a9c4e8;
	--est-sky-600: #3f6aa6;
	--est-sky-100: #e6eef9;
	--est-ivory: #f8f6f1;
	--est-sand: #efeae0;
	--est-white: #ffffff;
	--est-ink: #1b2432;
	--est-muted: #5f6b7a;
	--est-line: #e4ded2;
	--est-wa: #25d366;
	--est-wa-700: #1da851;

	--est-font-display: "Plus Jakarta Sans", "Manrope", system-ui, sans-serif;
	--est-font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--est-container: 1240px;
	--est-gutter: 24px;
	--est-topbar-h: 40px;
	--est-navbar-h: 88px;
	--est-navbar-h-scrolled: 72px;
	--est-navbar-h-mobile: 72px;

	--est-radius: 14px;
	--est-radius-sm: 8px;
	--est-radius-pill: 999px;
	--est-shadow: 0 12px 34px rgba(31, 66, 112, 0.10);
	--est-shadow-sm: 0 4px 16px rgba(31, 66, 112, 0.08);
	--est-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--est-speed: 0.28s;
}

/* 2. Base --------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--est-font-body);
	font-size: 16px;
	line-height: 1.65;
	color: var(--est-ink);
	background: var(--est-white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body.est-lock {
	overflow: hidden;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--est-navy);
	text-decoration: none;
	transition: color var(--est-speed) var(--est-ease);
}

a:hover {
	color: var(--est-sky-600);
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 0.5em;
	font-family: var(--est-font-display);
	font-weight: 600;
	line-height: 1.12;
	color: var(--est-navy);
	letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 3.9vw, 3.1rem); }
h2 { font-size: clamp(1.7rem, 2.9vw, 2.3rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h4 { font-size: 1.2rem; }

p {
	margin: 0 0 1.2em;
}

ul, ol {
	margin: 0;
	padding: 0;
}

button {
	font: inherit;
	color: inherit;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
}

:focus-visible {
	outline: 2px solid var(--est-sky);
	outline-offset: 3px;
}

/* 3. Utilidades --------------------------------------------------------- */
.est-container {
	width: 100%;
	max-width: calc(var(--est-container) + var(--est-gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--est-gutter);
}

.est-container--narrow {
	max-width: calc(820px + var(--est-gutter) * 2);
}

.est-section {
	padding-block: clamp(56px, 8vw, 104px);
}

.est-icon {
	width: 1.15em;
	height: 1.15em;
	flex: 0 0 auto;
}

.est-eyebrow {
	display: inline-block;
	margin-bottom: 14px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--est-sky-600);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.est-skip-link {
	position: absolute;
	top: -100px;
	left: 16px;
	z-index: 10000;
	padding: 10px 16px;
	background: var(--est-navy);
	color: var(--est-white);
	border-radius: var(--est-radius-sm);
}

.est-skip-link:focus {
	top: 16px;
}

/* 4. Botones ------------------------------------------------------------ */
.est-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 13px 24px;
	border-radius: var(--est-radius-pill);
	font-weight: 600;
	font-size: 15px;
	line-height: 1;
	letter-spacing: 0.01em;
	white-space: nowrap;
	border: 1.5px solid transparent;
	transition:
		background-color var(--est-speed) var(--est-ease),
		color var(--est-speed) var(--est-ease),
		border-color var(--est-speed) var(--est-ease),
		transform var(--est-speed) var(--est-ease),
		box-shadow var(--est-speed) var(--est-ease);
}

.est-btn:hover {
	transform: translateY(-1px);
}

.est-btn--light {
	background: var(--est-white);
	color: var(--est-navy);
}

.est-btn--light:hover {
	background: var(--est-sky);
	color: var(--est-navy-900);
	box-shadow: 0 8px 22px rgba(7, 21, 39, 0.30);
}

.est-btn--navy {
	background: var(--est-navy);
	color: var(--est-white);
}

.est-btn--navy:hover {
	background: var(--est-navy-700);
	color: var(--est-white);
}

.est-btn--outline {
	border-color: var(--est-navy);
	color: var(--est-navy);
}

.est-btn--outline:hover {
	background: var(--est-navy);
	color: var(--est-white);
}

.est-btn--wa {
	background: var(--est-wa);
	color: var(--est-white);
}

.est-btn--wa:hover {
	background: var(--est-wa-700);
	color: var(--est-white);
}

.est-btn--block {
	width: 100%;
}

.est-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	color: var(--est-navy);
}

.est-link .est-icon {
	transition: transform var(--est-speed) var(--est-ease);
}

.est-link:hover .est-icon {
	transform: translateX(4px);
}

/* 5. Cabecera ----------------------------------------------------------- */
.est-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	width: 100%;
	background: var(--est-white);
	transition: box-shadow var(--est-speed) var(--est-ease);
}

.est-header.is-scrolled {
	box-shadow: var(--est-shadow-sm);
}

.admin-bar .est-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .est-header {
		top: 46px;
	}
}

/* En móvil la barra de admin de WP no es fija (se va al hacer scroll): la cabecera va arriba del todo. */
@media (max-width: 600px) {
	.admin-bar .est-header {
		top: 0;
	}
}

/* 5.1 Barra superior */
.est-topbar {
	background: var(--est-navy-900);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.82);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.01em;
	transition:
		max-height var(--est-speed) var(--est-ease),
		opacity var(--est-speed) var(--est-ease);
	max-height: 60px;
	overflow: hidden;
}

.est-header.is-scrolled .est-topbar {
	max-height: 0;
	opacity: 0;
}

.est-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: var(--est-topbar-h);
}

.est-topbar__list {
	display: flex;
	align-items: center;
	gap: 24px;
	list-style: none;
}

.est-topbar__list li,
.est-topbar__list a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: inherit;
}

.est-topbar__list a:hover {
	color: var(--est-white);
}

.est-topbar__list .est-icon {
	width: 15px;
	height: 15px;
	color: var(--est-sky);
}

@media (max-width: 1199px) {
	.est-topbar__hide-md {
		display: none !important;
	}
}

@media (max-width: 639px) {
	.est-topbar__hide-sm {
		display: none !important;
	}
}

/* 5.2 Redes sociales */
.est-social {
	display: flex;
	align-items: center;
	gap: 6px;
	list-style: none;
}

.est-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	color: inherit;
	transition:
		background-color var(--est-speed) var(--est-ease),
		color var(--est-speed) var(--est-ease);
}

.est-social .est-icon {
	width: 16px;
	height: 16px;
}

.est-social--topbar a:hover {
	background: rgba(255, 255, 255, 0.1);
	color: var(--est-sky);
}

/* 5.3 Navbar: menú izq · logo centrado · menú der + CTA (fondo azul, logo blanco) */
.est-navbar {
	position: relative;
	background: var(--est-navy);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.est-navbar__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 28px;
	min-height: var(--est-navbar-h);
}

/* La altura de la cabecera es fija: cambiarla al hacer scroll desplaza el contenido y provoca parpadeo. */

.est-navbar__brand {
	justify-self: center;
	display: flex;
	align-items: center;
	padding-block: 10px;
}

.est-navbar__brand .custom-logo-link {
	display: block;
	line-height: 0;
}

.est-navbar__brand .custom-logo {
	width: auto;
	height: 58px;
	max-height: none;
}

.est-navbar__right {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 16px;
	min-width: 0;
}

.est-navbar__right .est-nav {
	flex: 1 1 auto;
	justify-content: flex-start;
}

.est-nav--left {
	justify-content: flex-end;
}

/* Logo de texto (fallback si no hay imagen) */
.est-logo-text {
	display: inline-flex;
	flex-direction: column;
	line-height: 1;
	color: var(--est-white);
}

.est-logo-text__name {
	font-family: var(--est-font-display);
	font-size: 32px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.est-logo-text__tag {
	margin-top: 5px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--est-sky);
}

.est-logo-text__tag:empty {
	display: none;
}

/* Navegación de escritorio */
.est-nav {
	display: none;
	min-width: 0;
}

.est-nav__list {
	display: flex;
	align-items: center;
	gap: 6px;
	list-style: none;
}

.est-nav__list > li {
	position: relative;
	display: flex;
	align-items: center;
}

.est-nav__link {
	position: relative;
	display: inline-flex;
	align-items: center;
	padding: 10px 14px;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0.01em;
	white-space: nowrap;
	color: rgba(255, 255, 255, 0.9);
}

.est-nav__link::after {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 4px;
	height: 2px;
	background: var(--est-sky);
	border-radius: 2px;
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform var(--est-speed) var(--est-ease);
}

.est-nav__list > li:hover > .est-nav__link::after,
.est-nav__list > li:focus-within > .est-nav__link::after,
.est-nav__list > li > .est-nav__link[aria-current="page"]::after {
	transform: scaleX(1);
}

.est-nav__list > li:hover > .est-nav__link,
.est-nav__list > li:focus-within > .est-nav__link,
.est-nav__list > li > .est-nav__link[aria-current="page"] {
	color: var(--est-white);
}

.est-nav__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	margin-left: -10px;
	color: rgba(255, 255, 255, 0.6);
	border-radius: 50%;
	transition:
		transform var(--est-speed) var(--est-ease),
		color var(--est-speed) var(--est-ease);
}

.est-nav__toggle .est-icon {
	width: 16px;
	height: 16px;
}

.est-nav__list > li:hover > .est-nav__toggle,
.est-nav__list > li.is-open > .est-nav__toggle {
	color: var(--est-sky);
	transform: rotate(180deg);
}

/* Submenú escritorio */
.est-nav__list--desktop .sub-menu {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	z-index: 20;
	min-width: 250px;
	padding: 10px;
	list-style: none;
	background: var(--est-white);
	border: 1px solid var(--est-line);
	border-radius: var(--est-radius);
	box-shadow: var(--est-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition:
		opacity var(--est-speed) var(--est-ease),
		transform var(--est-speed) var(--est-ease),
		visibility 0s linear var(--est-speed);
}

.est-nav__list--desktop .sub-menu::before {
	content: "";
	position: absolute;
	top: -8px;
	left: 0;
	right: 0;
	height: 8px;
}

.est-nav__list--desktop > li:hover > .sub-menu,
.est-nav__list--desktop > li:focus-within > .sub-menu,
.est-nav__list--desktop > li.is-open > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	transition-delay: 0s;
}

.est-nav__list--desktop .sub-menu li {
	display: block;
}

.est-nav__list--desktop .sub-menu .est-nav__link {
	display: flex;
	width: 100%;
	padding: 10px 14px;
	border-radius: var(--est-radius-sm);
	font-size: 14.5px;
	font-weight: 500;
	color: var(--est-ink);
	transition:
		background-color var(--est-speed) var(--est-ease),
		color var(--est-speed) var(--est-ease),
		padding-left var(--est-speed) var(--est-ease);
}

.est-nav__list--desktop .sub-menu .est-nav__link::after {
	display: none;
}

.est-nav__list--desktop .sub-menu .est-nav__link:hover,
.est-nav__list--desktop .sub-menu .est-nav__link:focus-visible,
.est-nav__list--desktop .sub-menu .est-nav__link[aria-current="page"] {
	background: var(--est-ivory);
	color: var(--est-navy);
	padding-left: 18px;
	box-shadow: inset 3px 0 0 var(--est-sky);
}

/* Acciones */
.est-navbar__actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 0 0 auto;
}

.est-navbar__cta {
	display: none;
}

.est-burger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	color: var(--est-white);
	border: 1px solid rgba(255, 255, 255, 0.3);
	transition:
		background-color var(--est-speed) var(--est-ease),
		color var(--est-speed) var(--est-ease),
		border-color var(--est-speed) var(--est-ease);
}

.est-burger:hover {
	background: var(--est-white);
	border-color: var(--est-white);
	color: var(--est-navy);
}

.est-burger .est-icon {
	width: 22px;
	height: 22px;
}

@media (min-width: 640px) {
	.est-navbar__cta {
		display: inline-flex;
	}
}

/* Escritorio: menú visible a partir de 1200px; por debajo, hamburguesa. */
@media (min-width: 1200px) {
	.est-nav {
		display: flex;
		min-width: 0;
	}

	.est-burger {
		display: none;
	}
}

/* Escritorio compacto (1200–1359px) */
@media (min-width: 1200px) and (max-width: 1359px) {
	.est-navbar__inner {
		gap: 16px;
	}

	.est-navbar__right {
		gap: 10px;
	}

	.est-navbar__brand .custom-logo {
		height: 50px;
	}

	.est-nav__list {
		gap: 0;
	}

	.est-nav__link {
		padding: 10px 11px;
		font-size: 14.5px;
	}

	.est-nav__link::after {
		left: 11px;
		right: 11px;
	}

	.est-logo-text__name {
		font-size: 28px;
	}

	.est-navbar__cta {
		padding: 12px 18px;
		font-size: 14px;
	}
}

@media (max-width: 1199px) {
	.est-navbar__inner {
		min-height: var(--est-navbar-h-mobile);
	}

	/* Sin menú de escritorio: logo a la izquierda, hamburguesa a la derecha. */
	.est-navbar__inner {
		display: flex;
		justify-content: space-between;
		gap: 12px;
	}

	.est-navbar__brand {
		justify-self: auto;
	}

	.est-navbar__right {
		flex: 0 0 auto;
	}

	.est-logo-text__name {
		font-size: 26px;
	}

	.est-navbar__brand .custom-logo {
		height: 44px;
	}
}

/* 5.4 Cabecera transparente (portada) */
.est-header--transparent {
	position: fixed;
	left: 0;
	right: 0;
	background: transparent;
}

.est-header--transparent:not(.is-scrolled) .est-navbar {
	background: transparent;
	border-bottom-color: rgba(255, 255, 255, 0.14);
}

.est-header--transparent .est-navbar {
	transition: background-color var(--est-speed) var(--est-ease);
}

/* 6. Menú móvil --------------------------------------------------------- */
.est-mobile {
	position: fixed;
	inset: 0;
	z-index: 2000;
	visibility: hidden;
	pointer-events: none;
}

.est-mobile.is-open {
	visibility: visible;
	pointer-events: auto;
}

.est-mobile__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(22, 48, 79, 0.55);
	backdrop-filter: blur(3px);
	opacity: 0;
	transition: opacity var(--est-speed) var(--est-ease);
}

.est-mobile.is-open .est-mobile__backdrop {
	opacity: 1;
}

.est-mobile__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(420px, 90vw);
	display: flex;
	flex-direction: column;
	background: var(--est-navy);
	color: var(--est-white);
	box-shadow: -20px 0 60px rgba(22, 48, 79, 0.45);
	transform: translateX(100%);
	transition: transform 0.38s var(--est-ease);
	overflow-y: auto;
	overscroll-behavior: contain;
}

.est-mobile.is-open .est-mobile__panel {
	transform: translateX(0);
}

.est-mobile__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 22px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.est-mobile__brand .custom-logo {
	height: 40px;
	width: auto;
}

.est-mobile__brand .est-logo-text__name {
	font-size: 24px;
}

.est-mobile__brand .est-logo-text__tag {
	font-size: 9px;
	letter-spacing: 0.2em;
	white-space: nowrap;
}

.est-mobile__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.3);
	color: var(--est-white);
	transition:
		background-color var(--est-speed) var(--est-ease),
		color var(--est-speed) var(--est-ease);
}

.est-mobile__close:hover {
	background: var(--est-white);
	color: var(--est-navy);
}

.est-mobile__close .est-icon {
	width: 20px;
	height: 20px;
}

.est-mobile__nav {
	flex: 1 1 auto;
	padding: 12px 10px;
}

.est-nav__list--mobile {
	display: block;
	list-style: none;
}

.est-nav__list--mobile li {
	display: block;
}

.est-nav__list--mobile > li {
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.est-nav__list--mobile > li:last-child {
	border-bottom: 0;
}

.est-nav__list--mobile > li {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.est-nav__list--mobile .est-nav__link {
	flex: 1 1 auto;
	padding: 16px 14px;
	font-family: var(--est-font-display);
	font-size: 22px;
	font-weight: 600;
	color: var(--est-white);
}

.est-nav__list--mobile .est-nav__link::after {
	display: none;
}

.est-nav__list--mobile .est-nav__link[aria-current="page"] {
	color: var(--est-sky);
}

.est-nav__list--mobile .est-nav__toggle {
	width: 44px;
	height: 44px;
	margin: 0 6px 0 0;
	color: var(--est-white);
	border: 1px solid rgba(255, 255, 255, 0.25);
}

.est-nav__list--mobile .est-nav__toggle .est-icon {
	width: 18px;
	height: 18px;
}

.est-nav__list--mobile li.is-open > .est-nav__toggle {
	transform: rotate(180deg);
	background: rgba(255, 255, 255, 0.12);
}

.est-nav__list--mobile .sub-menu {
	flex: 0 0 100%;
	display: none;
	list-style: none;
	margin: 0 0 10px;
	padding: 4px 0 6px 14px;
	border-left: 2px solid var(--est-sky);
	margin-left: 14px;
}

.est-nav__list--mobile li.is-open > .sub-menu {
	display: block;
}

.est-nav__list--mobile .sub-menu .est-nav__link {
	padding: 9px 12px;
	font-family: var(--est-font-body);
	font-size: 15.5px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.8);
}

.est-nav__list--mobile .sub-menu .est-nav__link:hover {
	color: var(--est-sky);
}

.est-mobile__foot {
	padding: 20px 22px 28px;
	background: var(--est-navy-900);
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.est-mobile__contact {
	list-style: none;
	margin: 18px 0 14px;
	display: grid;
	gap: 8px;
}

.est-mobile__contact a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 14.5px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.85);
}

.est-mobile__contact a:hover {
	color: var(--est-sky);
}

.est-mobile__contact .est-icon {
	color: var(--est-sky);
	width: 16px;
	height: 16px;
}

.est-social--mobile a {
	color: var(--est-white);
	border: 1px solid rgba(255, 255, 255, 0.25);
	width: 36px;
	height: 36px;
}

.est-social--mobile a:hover {
	background: var(--est-white);
	color: var(--est-navy);
}

/* 7. Contenido ---------------------------------------------------------- */
.est-page-header {
	margin-bottom: 36px;
}

.est-page-title {
	margin-bottom: 8px;
}

.est-page-desc {
	color: var(--est-muted);
	max-width: 62ch;
}

.est-entry__content > * + * {
	margin-top: 1.1em;
}

.est-entry__content img {
	border-radius: var(--est-radius);
}

.est-entry__thumb {
	margin: 0 0 32px;
}

.est-entry__thumb img {
	width: 100%;
	border-radius: var(--est-radius);
}

.est-grid {
	display: grid;
	gap: 28px;
}

@media (min-width: 640px) {
	.est-grid--3 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.est-grid--3 {
		grid-template-columns: repeat(3, 1fr);
	}
}

.est-card {
	display: flex;
	flex-direction: column;
	background: var(--est-white);
	border: 1px solid var(--est-line);
	border-radius: var(--est-radius);
	overflow: hidden;
	transition:
		transform var(--est-speed) var(--est-ease),
		box-shadow var(--est-speed) var(--est-ease);
}

.est-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--est-shadow);
}

.est-card__media img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.est-card__body {
	padding: 22px 24px 26px;
}

.est-card__meta {
	display: block;
	margin-bottom: 8px;
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--est-sky-600);
}

.est-card__title {
	font-size: 1.25rem;
	margin-bottom: 10px;
}

.est-card__excerpt {
	color: var(--est-muted);
	font-size: 15px;
}

.est-404 {
	text-align: center;
}

.est-404 .est-btn {
	margin-top: 8px;
}

.pagination {
	margin-top: 48px;
	text-align: center;
}

.pagination .nav-links {
	display: inline-flex;
	gap: 6px;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding-inline: 12px;
	border: 1px solid var(--est-line);
	border-radius: var(--est-radius-pill);
	font-weight: 600;
	font-size: 14px;
}

.pagination .page-numbers.current {
	background: var(--est-navy);
	border-color: var(--est-navy);
	color: var(--est-white);
}

/* 8. Pie de página (fondo claro) ---------------------------------------- */
.est-footer {
	background: var(--est-white);
	color: var(--est-muted);
	border-top: 1px solid var(--est-line);
	padding-block: clamp(48px, 6vw, 80px) 28px;
	font-size: 15px;
}

.est-footer a {
	color: var(--est-muted);
}

.est-footer a:hover {
	color: var(--est-navy);
}

/* Tarjeta CTA */
.est-footer__cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	margin-bottom: clamp(48px, 6vw, 80px);
	padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 56px);
	border-radius: 24px;
	background: linear-gradient(135deg, var(--est-sky-100) 0%, #f3f7fc 60%, var(--est-white) 100%);
	border: 1px solid rgba(31, 66, 112, 0.08);
	box-shadow: 0 24px 60px rgba(31, 66, 112, 0.08);
}

.est-footer__cta-title {
	margin: 0 0 8px;
	font-family: var(--est-font-display);
	font-size: clamp(1.55rem, 2.6vw, 2.05rem);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: var(--est-navy);
}

.est-footer__cta-text p {
	max-width: 56ch;
	margin: 0;
	color: var(--est-muted);
}

.est-footer .est-footer__cta-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex: 0 0 auto;
	min-height: 54px;
	padding: 0 28px;
	border-radius: var(--est-radius-pill);
	font-weight: 700;
	font-size: 15px;
	color: var(--est-white);
	background: var(--est-navy);
	box-shadow: 0 12px 28px rgba(31, 66, 112, 0.28);
	transition:
		background-color var(--est-speed) var(--est-ease),
		transform var(--est-speed) var(--est-ease),
		box-shadow var(--est-speed) var(--est-ease);
}

.est-footer__cta-btn .est-icon {
	transition: transform var(--est-speed) var(--est-ease);
}

.est-footer .est-footer__cta-btn:hover {
	color: var(--est-white);
	background: var(--est-navy-700);
	transform: translateY(-1px);
}

.est-footer__cta-btn:hover .est-icon {
	transform: translateX(4px);
}

/* Columnas */
.est-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 0.9fr 1.2fr;
	gap: 40px 32px;
}

.est-footer__logo img,
.est-footer__logo .custom-logo {
	height: 48px;
	width: auto;
}

.est-footer__logo .est-logo-text {
	color: var(--est-navy);
}

.est-footer__logo .est-logo-text__tag {
	color: var(--est-sky-600);
}

.est-footer__about {
	max-width: 40ch;
	margin: 20px 0 22px;
	line-height: 1.65;
}

.est-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
}

.est-footer__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 1px solid var(--est-line);
	color: var(--est-navy);
	transition:
		background-color var(--est-speed) var(--est-ease),
		border-color var(--est-speed) var(--est-ease),
		color var(--est-speed) var(--est-ease);
}

.est-footer__social a:hover {
	background: var(--est-navy);
	border-color: var(--est-navy);
	color: var(--est-white);
}

.est-footer__social .est-icon {
	width: 17px;
	height: 17px;
}

.est-footer__heading {
	margin: 0 0 18px;
	font-family: var(--est-font-body);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.01em;
	color: var(--est-navy);
}

.est-footer__menu {
	display: grid;
	gap: 12px;
	list-style: none;
}

.est-footer__menu a {
	display: inline-block;
	line-height: 1.4;
}

.est-footer .est-footer__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 18px;
	font-weight: 600;
	color: var(--est-sky-600);
}

.est-footer__more .est-icon {
	width: 16px;
	height: 16px;
	transition: transform var(--est-speed) var(--est-ease);
}

.est-footer__more:hover .est-icon {
	transform: translateX(4px);
}

.est-footer__contact {
	display: grid;
	gap: 14px;
	list-style: none;
}

.est-footer__contact li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	line-height: 1.5;
}

.est-footer__ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 34px;
	height: 34px;
	margin-top: -4px;
	border-radius: 50%;
	background: var(--est-sky-100);
	color: var(--est-navy);
}

.est-footer__ico .est-icon {
	width: 16px;
	height: 16px;
}

/* Barra inferior */
.est-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px 24px;
	margin-top: clamp(40px, 5vw, 64px);
	padding-top: 24px;
	border-top: 1px solid var(--est-line);
	font-size: 14px;
}

.est-footer__copy {
	margin: 0;
}

.est-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 20px;
	list-style: none;
}

.est-footer__credit {
	display: inline-flex;
	align-items: center;
	opacity: 0.85;
	transition: opacity var(--est-speed) var(--est-ease);
}

.est-footer__credit:hover {
	opacity: 1;
}

.est-footer__credit img {
	height: 20px;
	width: auto;
}

@media (max-width: 991px) {
	.est-footer__grid {
		grid-template-columns: 1fr 1fr;
	}

	.est-footer__col--brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 767px) {
	.est-footer__cta {
		flex-direction: column;
		align-items: flex-start;
	}

	.est-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 599px) {
	.est-footer__grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}
}

/* 9. Barra flotante inferior (píldora centrada): evaluación + WhatsApp -- */
body.has-action-bar {
	padding-bottom: var(--est-bar-space, 96px);
}

.est-bar {
	position: fixed;
	left: 50%;
	bottom: 16px;
	z-index: 1500;
	display: grid;
	grid-template-columns: 1fr 1fr;
	width: min(400px, calc(100% - 32px));
	background: var(--est-white);
	border: 1px solid var(--est-line);
	border-radius: var(--est-radius-pill);
	box-shadow: 0 12px 34px rgba(7, 21, 39, 0.16);
	transform: translateX(-50%);
	overflow: hidden;
}

.est-bar__btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 12px 14px 11px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	line-height: 1.1;
	text-align: center;
	text-decoration: none;
	transition: background-color var(--est-speed) var(--est-ease);
}

.est-bar__btn + .est-bar__btn {
	border-left: 1px solid var(--est-line);
}

.est-bar__btn .est-icon {
	width: 20px;
	height: 20px;
}

.est-bar__btn--eval {
	color: var(--est-navy);
}

.est-bar__btn--eval .est-icon {
	color: var(--est-sky-600);
}

.est-bar__btn--wa {
	color: #128c4a;
}

.est-bar__btn--wa .est-icon {
	color: #25d366;
}

.est-bar__btn:hover {
	background: var(--est-sky-100);
}

.est-bar__btn--wa:hover {
	background: #e9f8ef;
	color: #128c4a;
}

.est-bar__btn:focus-visible {
	outline: 2px solid var(--est-sky-600);
	outline-offset: -4px;
}

@media (max-width: 599px) {
	.est-bar {
		bottom: 12px;
		width: calc(100% - 24px);
	}

	.est-bar__btn {
		font-size: 11px;
		padding: 10px 10px 9px;
	}
}

body.est-lock .est-bar,
body.est-modal-open .est-bar {
	opacity: 0;
	pointer-events: none;
}

.elementor-editor-active .est-bar {
	display: none;
}

/* 9b. Ventana emergente de evaluación ---------------------------------- */
body.est-modal-open {
	overflow: hidden;
}

.est-modal {
	position: fixed;
	inset: 0;
	z-index: 2500;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

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

.est-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(7, 21, 39, 0.6);
	backdrop-filter: blur(3px);
	opacity: 0;
	transition: opacity 0.22s var(--est-ease);
}

.est-modal.is-open .est-modal__backdrop {
	opacity: 1;
}

.est-modal__dialog {
	position: relative;
	width: min(520px, 100%);
	margin-top: 48px;
	outline: none;
	opacity: 0;
	transform: translateY(16px) scale(0.98);
	transition:
		opacity 0.22s var(--est-ease),
		transform 0.26s var(--est-ease);
}

.est-modal.is-open .est-modal__dialog {
	opacity: 1;
	transform: none;
}

/* Botón de cierre fuera de la tarjeta, arriba a la derecha */
.est-modal__close {
	position: absolute;
	top: -46px;
	right: 0;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--est-white);
	color: var(--est-navy);
	box-shadow: 0 6px 18px rgba(7, 21, 39, 0.25);
	transition:
		background-color var(--est-speed) var(--est-ease),
		color var(--est-speed) var(--est-ease);
}

.est-modal__close:hover {
	background: var(--est-sky);
	color: var(--est-navy-900);
}

.est-modal__close .est-icon {
	width: 18px;
	height: 18px;
}

.est-modal__card {
	max-height: calc(100vh - 96px);
	max-height: calc(100dvh - 96px);
	overflow-y: auto;
	overscroll-behavior: contain;
	background: var(--est-white);
	box-shadow: 0 30px 70px rgba(7, 21, 39, 0.45);
}

@media (prefers-reduced-motion: reduce) {
	.est-modal__backdrop,
	.est-modal__dialog {
		transition: none;
	}
}

/* 10. Blog: listados y artículo ---------------------------------------- */
.est-eyebrow-line {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--est-muted);
}

.est-eyebrow-line .est-icon {
	width: 12px;
	height: 12px;
	color: var(--est-sky-600);
}

.est-archive-hero {
	position: relative;
	padding-block: clamp(56px, 8vw, 96px);
	background: var(--est-ivory);
	overflow: hidden;
	isolation: isolate;
}

.est-archive-hero--image {
	background: var(--est-navy);
	color: var(--est-white);
}

.est-archive-hero__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.est-archive-hero__bg img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.est-archive-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(96deg, #0b1220 0%, rgba(11, 18, 32, 0.7) 60%, rgba(11, 18, 32, 0.4) 100%);
	opacity: 0.72;
}

.est-archive-hero__inner {
	position: relative;
}

.est-archive-hero--image .est-eyebrow-line {
	color: rgba(255, 255, 255, 0.78);
}

.est-archive-hero--image .est-eyebrow-line .est-icon {
	color: var(--est-sky);
}

.est-archive-hero__title {
	max-width: 18ch;
	margin: 0 0 12px;
	font-size: clamp(2rem, 4vw, 3.2rem);
	font-weight: 500;
	line-height: 1.02;
	letter-spacing: -0.018em;
	text-wrap: balance;
}

.est-archive-hero--image .est-archive-hero__title {
	color: var(--est-white);
}

.est-archive-hero__desc {
	max-width: 58ch;
	margin: 0;
	font-size: clamp(1.02rem, 1.3vw, 1.15rem);
	line-height: 1.65;
	color: var(--est-muted);
}

.est-archive-hero--image .est-archive-hero__desc {
	color: rgba(255, 255, 255, 0.82);
}

/* Migas de pan */
.est-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	margin: 0 0 22px;
	padding: 0;
	list-style: none;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: var(--est-muted);
}

.est-crumbs li {
	display: flex;
	align-items: center;
	gap: 10px;
}

.est-crumbs li + li::before {
	content: "";
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--est-sky-600);
}

.est-crumbs a {
	color: var(--est-sky-600);
}

.est-crumbs a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.est-crumbs [aria-current="page"] span {
	color: var(--est-navy);
}

.est-archive-hero--image .est-crumbs ol {
	color: rgba(255, 255, 255, 0.72);
}

.est-archive-hero--image .est-crumbs li + li::before {
	background: var(--est-sky);
}

.est-archive-hero--image .est-crumbs a {
	color: var(--est-sky);
}

.est-archive-hero--image .est-crumbs [aria-current="page"] span {
	color: var(--est-white);
}

.est-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 32px;
}

.est-pill {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 0 16px;
	border: 1px solid var(--est-line);
	border-radius: var(--est-radius-pill);
	font-size: 14px;
	font-weight: 600;
	color: var(--est-navy);
	transition:
		background-color var(--est-speed) var(--est-ease),
		border-color var(--est-speed) var(--est-ease),
		color var(--est-speed) var(--est-ease);
}

.est-pill:hover {
	border-color: var(--est-navy);
	color: var(--est-navy);
}

.est-pill.is-active {
	background: var(--est-navy);
	border-color: var(--est-navy);
	color: var(--est-white);
}

.est-archive {
	padding-block: clamp(40px, 5vw, 56px) clamp(56px, 8vw, 104px);
}

.est-post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

@media (max-width: 991px) {
	.est-post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 599px) {
	.est-post-grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}
}

.est-post-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	background: var(--est-white);
	border: 1px solid var(--est-line);
	border-radius: 16px;
	overflow: hidden;
	transition:
		transform var(--est-speed) var(--est-ease),
		box-shadow var(--est-speed) var(--est-ease),
		border-color var(--est-speed) var(--est-ease);
}

.est-post-card:hover {
	transform: translateY(-4px);
	border-color: transparent;
	box-shadow: 0 18px 44px rgba(31, 66, 112, 0.12);
}

.est-post-card__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--est-navy);
}

.est-post-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.9s var(--est-ease);
}

.est-post-card:hover .est-post-card__img {
	transform: scale(1.05);
}

.est-post-card__placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background:
		radial-gradient(420px 260px at 85% 10%, rgba(169, 196, 232, 0.18), transparent 60%),
		linear-gradient(160deg, var(--est-navy-900) 0%, var(--est-navy) 70%);
}

.est-post-card__placeholder .est-icon {
	width: 40px;
	height: 40px;
	color: var(--est-sky);
	opacity: 0.8;
}

.est-post-card__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	gap: 10px;
	padding: 22px 24px 26px;
}

.est-post-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 12px;
	margin: 0;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--est-muted);
}

.est-post-card__cat {
	color: var(--est-sky-600);
}

.est-post-card__title {
	margin: 0;
	font-size: 1.25rem;
	line-height: 1.2;
}

.est-post-card__title a {
	color: inherit;
}

.est-post-card__title a:hover {
	color: var(--est-sky-600);
}

.est-post-card__excerpt {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	color: var(--est-muted);
}

.est-post-card__read {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	align-self: flex-start;
	margin-top: auto;
	padding: 6px 0 3px;
	font-size: 14.5px;
	font-weight: 600;
	color: var(--est-navy);
	border-bottom: 1px solid color-mix(in srgb, var(--est-sky-600) 45%, transparent);
}

.est-post-card__read .est-icon {
	width: 16px;
	height: 16px;
	color: var(--est-sky-600);
	transition: transform var(--est-speed) var(--est-ease);
}

.est-post-card__read:hover .est-icon {
	transform: translateX(5px);
}

.est-archive__empty {
	padding: 28px;
	border: 1px dashed var(--est-line);
	border-radius: 12px;
	text-align: center;
	color: var(--est-muted);
}

.pagination .est-icon--prev {
	transform: rotate(90deg);
}

.pagination .est-icon--next {
	transform: rotate(-90deg);
}


/* Artículo: empieza con la foto a todo el ancho */
.est-post__hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 420px;
	padding-block: clamp(56px, 8vw, 96px) clamp(40px, 6vw, 64px);
	background: var(--est-navy);
	color: var(--est-white);
	overflow: hidden;
	isolation: isolate;
}

.est-post__hero--image {
	min-height: clamp(460px, 62vh, 640px);
}

.est-post__hero-bg {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.est-post__hero-bg img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.est-post__hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(11, 18, 32, 0.92) 0%, rgba(11, 18, 32, 0.55) 45%, rgba(11, 18, 32, 0.25) 100%);
}

.est-post__hero:not(.est-post__hero--image) {
	background:
		radial-gradient(720px 520px at 82% 8%, rgba(169, 196, 232, 0.16), transparent 62%),
		linear-gradient(160deg, var(--est-navy-900) 0%, var(--est-navy) 70%);
}

.est-post__hero-inner {
	position: relative;
	width: 100%;
}

.est-post__hero .est-crumbs ol {
	color: rgba(255, 255, 255, 0.72);
}

.est-post__hero .est-crumbs li + li::before {
	background: var(--est-sky);
}

.est-post__hero .est-crumbs a {
	color: var(--est-sky);
}

.est-post__hero .est-crumbs [aria-current="page"] span {
	display: inline-block;
	max-width: 32ch;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	vertical-align: bottom;
	color: var(--est-white);
}

.est-post__cat {
	margin: 0 0 14px;
}

.est-post__cat a {
	display: inline-flex;
	align-items: center;
	padding: 7px 14px;
	border: 1px solid rgba(169, 196, 232, 0.5);
	border-radius: var(--est-radius-pill);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--est-sky);
	background: rgba(255, 255, 255, 0.06);
}

.est-post__cat a:hover {
	background: var(--est-sky);
	color: var(--est-navy-900);
}

.est-post__title {
	max-width: 20ch;
	margin: 0;
	font-size: clamp(2rem, 4.2vw, 3.4rem);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -0.02em;
	color: var(--est-white);
	text-wrap: balance;
}

.est-post__lead {
	max-width: 62ch;
	margin: 18px 0 0;
	font-size: clamp(1.05rem, 1.4vw, 1.2rem);
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.84);
}

/* Cuerpo del artículo: texto a la izquierda, ficha de evaluación fija a la derecha */
.est-post__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
	align-items: stretch;
	gap: clamp(40px, 6vw, 88px);
	padding-top: clamp(40px, 6vw, 64px);
	padding-bottom: clamp(48px, 7vw, 88px);
}

.est-post__layout--single {
	grid-template-columns: minmax(0, 820px);
	justify-content: center;
}

.est-post__main {
	min-width: 0;
}

.est-post__side {
	min-width: 0;
	align-self: stretch;
}

.est-post__form {
	position: sticky;
	top: calc(var(--est-navbar-h, 88px) + 24px);
}

@media (max-width: 991px) {
	.est-post__layout {
		grid-template-columns: 1fr;
		gap: 44px;
	}

	.est-post__form {
		position: static;
	}
}

.est-post__content {
	font-size: 17px;
	line-height: 1.75;
}

.est-post__content h2 {
	margin-top: 1.6em;
	font-size: clamp(1.4rem, 2.2vw, 1.75rem);
}

.est-post__content h3 {
	margin-top: 1.4em;
	font-size: 1.2rem;
}

.est-post__content a {
	color: var(--est-sky-600);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.est-post__content ul,
.est-post__content ol {
	padding-left: 1.3em;
}

.est-post__content blockquote {
	margin: 1.6em 0;
	padding: 4px 0 4px 22px;
	border-left: 2px solid var(--est-sky-600);
	font-family: var(--est-font-display);
	font-size: 1.15rem;
	font-style: italic;
	color: var(--est-navy);
}

.est-post__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 36px;
}

.est-post__tags a {
	display: inline-flex;
	padding: 6px 12px;
	border: 1px solid var(--est-line);
	border-radius: var(--est-radius-pill);
	font-size: 13px;
	font-weight: 600;
}

.est-post__cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	margin: clamp(40px, 6vw, 64px) 0 clamp(48px, 7vw, 88px);
	padding: clamp(24px, 3.5vw, 40px);
	border-radius: 20px;
	background: linear-gradient(135deg, var(--est-sky-100) 0%, #f3f7fc 60%, var(--est-white) 100%);
	border: 1px solid rgba(31, 66, 112, 0.08);
}

.est-post__cta h2 {
	margin: 0 0 6px;
	font-size: clamp(1.3rem, 2vw, 1.6rem);
	font-weight: 500;
}

.est-post__cta p:last-child {
	margin: 0;
	color: var(--est-muted);
}

.est-post__cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	flex: 0 0 auto;
}

@media (max-width: 767px) {
	.est-post__cta {
		flex-direction: column;
		align-items: flex-start;
	}
}

.est-related {
	padding-block: clamp(48px, 6vw, 80px);
	background: var(--est-ivory);
}

.est-related__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 28px;
}

.est-related__title {
	margin: 0;
	font-size: clamp(1.55rem, 2.6vw, 2rem);
	font-weight: 500;
}

/* Elementor: sin márgenes extra en páginas construidas con el editor */
.elementor-page .est-main {
	padding: 0;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}

	html {
		scroll-behavior: auto;
	}
}
