/* ==========================================================================
   RE/MAX by Grupo Cenote — hoja de estilos del tema
   Los tokens (color, tipografía, espaciado, radios) viven en theme.json.
   Aquí vive la composición: cabecera, pie y bloques de sección.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Base
   -------------------------------------------------------------------------- */

:root {
	--rmx-gutter: clamp(1.25rem, 4vw, 3rem);
	--rmx-section-pad: clamp(3.5rem, 7vw, 7rem);
	--rmx-header-h: 76px;
	--rmx-radius: var(--wp--custom--radius--md, 12px);
	--rmx-radius-lg: var(--wp--custom--radius--lg, 20px);
	--rmx-shadow-sm: var(--wp--custom--shadow--sm, 0 1px 3px rgba(17, 24, 39, 0.08));
	--rmx-shadow-md: var(--wp--custom--shadow--md, 0 4px 12px rgba(17, 24, 39, 0.08));
	--rmx-shadow-lg: var(--wp--custom--shadow--lg, 0 18px 40px rgba(17, 24, 39, 0.14));
	--rmx-transition: var(--wp--custom--transition, 180ms cubic-bezier(0.4, 0, 0.2, 1));
	--rmx-red: var(--wp--preset--color--brand-red, #dc1c2e);
	--rmx-red-dark: var(--wp--preset--color--brand-red-dark, #b31525);
	--rmx-blue: var(--wp--preset--color--brand-blue, #003da5);
	--rmx-blue-dark: var(--wp--preset--color--brand-blue-dark, #002b75);
	--rmx-ink: var(--wp--preset--color--contrast, #111827);
	--rmx-muted: var(--wp--preset--color--muted, #5b6472);
	--rmx-line: var(--wp--preset--color--line, #e3e6ea);
	--rmx-sand: var(--wp--preset--color--sand, #f7f5f2);
	--rmx-display: var(--wp--preset--font-family--display, "Archivo", sans-serif);
	--rmx-body: var(--wp--preset--font-family--body, "Inter", sans-serif);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

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

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}

body {
	margin: 0;
	font-family: var(--rmx-body);
	color: var(--rmx-ink);
	background: #fff;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--rmx-display);
	letter-spacing: -0.022em;
	margin: 0;
	text-wrap: balance;
}

p {
	margin: 0;
}

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

a {
	color: var(--rmx-blue);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--rmx-red);
}

:focus-visible {
	outline: 3px solid var(--rmx-blue);
	outline-offset: 2px;
	border-radius: 2px;
}

/* Accesibilidad: saltar al contenido */
.rmx-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 999;
	padding: 0.85rem 1.4rem;
	background: var(--rmx-red);
	color: #fff;
	font-weight: 600;
	text-decoration: none;
}

.rmx-skip:focus {
	left: 0;
	color: #fff;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

/* --------------------------------------------------------------------------
   2. Estructura de sección
   -------------------------------------------------------------------------- */

.rmx-container {
	width: 100%;
	max-width: 1240px;
	margin-inline: auto;
	padding-inline: var(--rmx-gutter);
}

.rmx-container.is-content {
	max-width: 820px;
}

/* Las páginas de shortcodes traen sus propias secciones a sangre: el
   contenedor se disuelve para no anidar contenedores. */
.rmx-container.is-flow {
	display: contents;
}

/* Ritmo tipográfico del texto corrido (páginas legales).
   IMPORTANTE: los selectores se limitan a hijos directos. Las páginas que
   combinan texto con shortcodes contienen secciones enteras dentro de
   .rmx-prose, y un selector como ".rmx-prose p" tendría más especificidad que
   las clases de los componentes y les robaría el color. */
.rmx-prose {
	padding-block: clamp(2.5rem, 5vw, 4rem);
}

.rmx-prose > * + * {
	margin-top: 1.15rem;
}

.rmx-prose > h2 {
	margin-top: clamp(2rem, 3.5vw, 2.75rem);
	font-size: clamp(1.35rem, 1.15rem + 0.9vw, 1.75rem);
	line-height: 1.25;
}

.rmx-prose > h3 {
	margin-top: 1.75rem;
	font-size: 1.1875rem;
}

.rmx-prose > p,
.rmx-prose > ul > li,
.rmx-prose > ol > li {
	line-height: 1.75;
	color: var(--rmx-muted);
}

.rmx-prose > p strong,
.rmx-prose > ul strong,
.rmx-prose > ol strong {
	color: var(--rmx-ink);
	font-weight: 600;
}

.rmx-prose > ul,
.rmx-prose > ol {
	padding-left: 1.35rem;
	list-style: disc;
}

.rmx-prose > ul > li + li,
.rmx-prose > ol > li + li {
	margin-top: 0.5rem;
}

.rmx-prose > .rmx-notice {
	margin-top: 0;
}

.rmx-section {
	padding-block: var(--rmx-section-pad);
}

.rmx-section.is-pad-l {
	padding-block: clamp(2.75rem, 5vw, 4.5rem);
}

.rmx-section.is-pad-xl {
	padding-block: var(--rmx-section-pad);
}

.rmx-section.is-pad-none {
	padding-block: 0;
}

.rmx-section.has-sand-background-color {
	background: var(--rmx-sand);
}

.rmx-section.has-base-background-color {
	background: #fff;
}

.rmx-section.has-brand-blue-background-color {
	background: var(--rmx-blue-dark);
	color: #fff;
}

/* Encabezado de sección */
.rmx-heading {
	max-width: 780px;
	margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.rmx-heading.is-center {
	margin-inline: auto;
	text-align: center;
}

.rmx-eyebrow {
	font-family: var(--rmx-display);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--rmx-red);
	margin-bottom: 0.85rem;
}

.rmx-heading__title {
	font-size: clamp(1.85rem, 1.2rem + 2.2vw, 2.85rem);
	font-weight: 700;
	line-height: 1.12;
}

.rmx-heading__lead {
	margin-top: 1.1rem;
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--rmx-muted);
	max-width: 68ch;
}

.rmx-heading.is-center .rmx-heading__lead {
	margin-inline: auto;
}

/* Encabezado de página interior */
.rmx-page-head {
	background: var(--rmx-blue-dark);
	color: #fff;
	padding-block: clamp(2.25rem, 5vw, 3.5rem);
	position: relative;
	overflow: hidden;
}

.rmx-page-head::after {
	content: "";
	position: absolute;
	right: -80px;
	top: -60px;
	width: 320px;
	height: 320px;
	border-radius: 50%;
	background: rgba(220, 28, 46, 0.22);
	pointer-events: none;
}

.rmx-page-head__title {
	position: relative;
	font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem);
	font-weight: 800;
	line-height: 1.08;
	color: #fff;
	max-width: 22ch;
}

/* --------------------------------------------------------------------------
   3. Botones
   -------------------------------------------------------------------------- */

.rmx-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	font-family: var(--rmx-display);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: 0.005em;
	padding: 0.95rem 1.75rem;
	border-radius: 999px;
	border: 2px solid transparent;
	text-decoration: none;
	cursor: pointer;
	transition: background-color var(--rmx-transition), color var(--rmx-transition),
		border-color var(--rmx-transition), box-shadow var(--rmx-transition), transform var(--rmx-transition);
}

.rmx-btn__icon {
	display: inline-flex;
	flex-shrink: 0;
}

.rmx-btn.is-primary {
	background: var(--rmx-red);
	border-color: var(--rmx-red);
	color: #fff;
	box-shadow: 0 6px 18px rgba(220, 28, 46, 0.26);
}

.rmx-btn.is-primary:hover {
	background: var(--rmx-red-dark);
	border-color: var(--rmx-red-dark);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 10px 26px rgba(220, 28, 46, 0.32);
}

.rmx-btn.is-secondary {
	background: transparent;
	border-color: var(--rmx-blue);
	color: var(--rmx-blue);
}

.rmx-btn.is-secondary:hover {
	background: var(--rmx-blue);
	color: #fff;
	transform: translateY(-2px);
}

.rmx-btn.is-light {
	background: #fff;
	border-color: #fff;
	color: var(--rmx-ink);
}

.rmx-btn.is-light:hover {
	background: rgba(255, 255, 255, 0.9);
	color: var(--rmx-ink);
	transform: translateY(-2px);
}

.rmx-btn.is-ghost-light {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.55);
	color: #fff;
}

.rmx-btn.is-ghost-light:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: #fff;
	color: #fff;
	transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   4. Cabecera
   -------------------------------------------------------------------------- */

.rmx-topbar {
	background: var(--rmx-blue-dark);
	color: rgba(255, 255, 255, 0.9);
	font-size: 0.8125rem;
}

.rmx-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: 40px;
}

.rmx-topbar__claim {
	margin: 0;
	letter-spacing: 0.01em;
}

.rmx-topbar__contact {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin: 0;
}

.rmx-topbar__contact a {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	color: #fff;
	text-decoration: none;
	font-weight: 500;
	white-space: nowrap;
}

.rmx-topbar__contact a:hover {
	color: #fff;
	text-decoration: underline;
}

.rmx-topbar__sep {
	width: 1px;
	height: 14px;
	background: rgba(255, 255, 255, 0.28);
}

.rmx-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #fff;
	box-shadow: 0 1px 0 rgba(17, 24, 39, 0.08);
}

.rmx-header.is-scrolled {
	box-shadow: 0 4px 20px rgba(17, 24, 39, 0.1);
}

.rmx-header__bar {
	background: #fff;
}

.rmx-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: var(--rmx-header-h);
}

.rmx-logo {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
}

.rmx-logo img {
	width: auto;
	height: 46px;
	max-width: 200px;
	object-fit: contain;
}

.rmx-header__right {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

/* La landing lleva un botón de acción en la cabecera: es una pieza de campaña
   y el objetivo es el contacto directo. */
.rmx-header__cta {
	margin-right: 0.35rem;
}

.rmx-header__cta .rmx-btn {
	padding: 0.68rem 1.35rem;
	font-size: 0.9375rem;
}

.rmx-nav__list {
	display: flex;
	align-items: center;
	gap: 0.35rem;
}

.rmx-nav__item a {
	display: inline-block;
	padding: 0.6rem 0.95rem;
	font-family: var(--rmx-display);
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--rmx-ink);
	text-decoration: none;
	border-radius: 8px;
	position: relative;
	transition: color var(--rmx-transition), background-color var(--rmx-transition);
}

.rmx-nav__item a::after {
	content: "";
	position: absolute;
	left: 0.95rem;
	right: 0.95rem;
	bottom: 0.32rem;
	height: 2px;
	background: var(--rmx-red);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform var(--rmx-transition);
}

.rmx-nav__item a:hover {
	color: var(--rmx-red);
	background: rgba(220, 28, 46, 0.05);
}

.rmx-nav__item a:hover::after,
.rmx-nav__item a[aria-current="page"]::after {
	transform: scaleX(1);
}

.rmx-nav__item a[aria-current="page"] {
	color: var(--rmx-red);
}

.rmx-burger {
	display: none;
	align-items: center;
	gap: 0.55rem;
	background: none;
	border: 1px solid var(--rmx-line);
	border-radius: 999px;
	padding: 0.55rem 1rem;
	font-family: var(--rmx-display);
	font-weight: 600;
	font-size: 0.875rem;
	color: var(--rmx-ink);
	cursor: pointer;
}

.rmx-burger__box {
	display: inline-flex;
	flex-direction: column;
	gap: 4px;
	width: 18px;
}

.rmx-burger__box span {
	display: block;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	transition: transform var(--rmx-transition), opacity var(--rmx-transition);
}

.rmx-burger[aria-expanded="true"] .rmx-burger__box span:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}

.rmx-burger[aria-expanded="true"] .rmx-burger__box span:nth-child(2) {
	opacity: 0;
}

.rmx-burger[aria-expanded="true"] .rmx-burger__box span:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   5. Portada
   -------------------------------------------------------------------------- */

/* Portada a sangre (sitio oficial) */
.rmx-hero.is-full {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: center;
	min-height: clamp(560px, 78vh, 760px);
	overflow: hidden;
	background: var(--rmx-blue-dark);
}

/* --------------------------------------------------------------------------
   Portada partida (landing de campañas)
   Dos columnas sobre fondo claro: imagen contenida a un lado y el mensaje al
   otro. Deliberadamente distinta de la del sitio oficial, que va a sangre.
   -------------------------------------------------------------------------- */

.rmx-hero.is-split {
	background: var(--rmx-sand);
	padding-block: clamp(2.5rem, 5vw, 4.5rem);
	overflow: hidden;
}

.rmx-hero.is-split .rmx-hero__grid {
	display: grid;
	grid-template-columns: 1fr 0.92fr;
	gap: clamp(2rem, 4vw, 3.75rem);
	align-items: center;
}

.rmx-hero.is-split .rmx-hero__media {
	position: relative;
	inset: auto;
	z-index: auto;
	order: 2;
	border-radius: var(--rmx-radius-lg);
	overflow: hidden;
	box-shadow: var(--rmx-shadow-lg);
}

.rmx-hero.is-split .rmx-hero__media img {
	display: block;
	width: 100%;
	height: clamp(320px, 46vw, 520px);
	object-fit: cover;
	object-position: center 60%;
}

.rmx-hero.is-split .rmx-hero__content {
	order: 1;
	max-width: none;
	color: var(--rmx-ink);
}

.rmx-hero.is-split .rmx-hero__title {
	color: var(--rmx-ink);
	text-shadow: none;
	font-size: clamp(2rem, 1.3rem + 2.8vw, 3.15rem);
}

.rmx-hero.is-split .rmx-hero__lead {
	color: var(--rmx-muted);
}

.rmx-hero.is-split .rmx-hero__eyebrow {
	color: #fff;
}

.rmx-hero.is-split .rmx-hero__points {
	border-top-color: var(--rmx-line);
}

.rmx-hero.is-split .rmx-hero__points li {
	color: var(--rmx-ink);
}

.rmx-hero.is-split .rmx-hero__points .rmx-icon {
	color: var(--rmx-red);
}

.rmx-hero.is-full .rmx-hero__media {
	position: absolute;
	inset: 0;
	z-index: -2;
}

.rmx-hero.is-full .rmx-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.rmx-hero.is-full::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	/* Calibrado sobre la foto real: con un 78 % de azul a la izquierda el texto
	   blanco mantiene ~14:1 de contraste (el mínimo AAA es 7:1), así que se
	   puede aligerar el degradado y dejar que la imagen se vea. Un overlay más
	   opaco oscurecía la playa hasta parecer un fondo liso. */
	background: linear-gradient(
		100deg,
		rgba(0, 22, 60, 0.78) 0%,
		rgba(0, 30, 78, 0.62) 42%,
		rgba(0, 40, 100, 0.30) 72%,
		rgba(0, 40, 100, 0.12) 100%
	);
}

.rmx-hero.is-full .rmx-hero__inner {
	padding-block: clamp(3.5rem, 8vw, 6rem);
}

.rmx-hero__content {
	max-width: 720px;
	color: #fff;
}

.rmx-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	font-family: var(--rmx-display);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #fff;
	background: rgba(220, 28, 46, 0.92);
	padding: 0.5rem 1rem;
	border-radius: 999px;
	margin-bottom: 1.5rem;
}

.rmx-hero__title {
	font-size: clamp(2.15rem, 1.3rem + 3.6vw, 3.75rem);
	font-weight: 800;
	line-height: 1.06;
	letter-spacing: -0.03em;
	color: #fff;
	text-shadow: 0 2px 24px rgba(0, 12, 36, 0.32);
}

.rmx-hero__lead {
	margin-top: 1.5rem;
	font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
	line-height: 1.68;
	color: rgba(255, 255, 255, 0.92);
	max-width: 60ch;
}

.rmx-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	margin-top: 2.25rem;
}

.rmx-hero__points {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.75rem;
	margin-top: 2.25rem;
	padding-top: 1.6rem;
	border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.rmx-hero__points li {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	font-size: 0.9375rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.94);
}

.rmx-hero__points .rmx-icon {
	color: #ff6b78;
	flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   6. Franja de confianza
   -------------------------------------------------------------------------- */

.rmx-trust {
	background: var(--rmx-ink);
	color: #fff;
}

.rmx-trust__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1px;
	background: rgba(255, 255, 255, 0.14);
}

.rmx-trust__item {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	padding: 1.9rem 1.5rem;
	background: var(--rmx-ink);
	text-align: center;
}

.rmx-trust__value {
	font-family: var(--rmx-display);
	font-size: clamp(1.5rem, 1.2rem + 0.9vw, 1.9rem);
	font-weight: 800;
	color: #fff;
	letter-spacing: -0.02em;
}

.rmx-trust__label {
	font-size: 0.875rem;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.68);
}

/* --------------------------------------------------------------------------
   7. Audiencias (vender / comprar)
   -------------------------------------------------------------------------- */

.rmx-audiences__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(1.25rem, 2.5vw, 2rem);
}

.rmx-audience {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--rmx-line);
	border-radius: var(--rmx-radius-lg);
	padding: clamp(1.75rem, 3vw, 2.75rem);
	box-shadow: var(--rmx-shadow-sm);
	position: relative;
	overflow: hidden;
	transition: transform var(--rmx-transition), box-shadow var(--rmx-transition);
}

.rmx-audience::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 4px;
	background: var(--rmx-blue);
}

.rmx-audience.is-vender::before {
	background: var(--rmx-red);
}

.rmx-audience:hover {
	transform: translateY(-4px);
	box-shadow: var(--rmx-shadow-lg);
}

.rmx-audience__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	border-radius: 14px;
	background: rgba(0, 61, 165, 0.09);
	color: var(--rmx-blue);
	margin-bottom: 1.4rem;
}

.rmx-audience.is-vender .rmx-audience__icon {
	background: rgba(220, 28, 46, 0.1);
	color: var(--rmx-red);
}

.rmx-audience__title {
	font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.6rem);
	font-weight: 700;
}

.rmx-audience__text {
	margin-top: 0.85rem;
	color: var(--rmx-muted);
	line-height: 1.68;
}

.rmx-audience__points {
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
	margin: 1.6rem 0 0;
	padding-top: 1.5rem;
	border-top: 1px solid var(--rmx-line);
}

.rmx-audience__points li {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	font-size: 0.9375rem;
	line-height: 1.55;
}

.rmx-audience__points .rmx-icon,
.rmx-docs__list .rmx-icon,
.rmx-contact__aside-list .rmx-icon {
	color: var(--rmx-red);
	flex-shrink: 0;
	margin-top: 0.18rem;
}

.rmx-audience__action {
	margin-top: auto;
	padding-top: 2rem;
}

.rmx-audience__action .rmx-btn {
	width: 100%;
}

/* --------------------------------------------------------------------------
   8. Proceso por pasos
   -------------------------------------------------------------------------- */

.rmx-steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(1rem, 2vw, 1.75rem);
	counter-reset: none;
}

.rmx-step {
	position: relative;
	padding-top: 1.5rem;
	border-top: 3px solid var(--rmx-line);
	transition: border-color var(--rmx-transition);
}

.rmx-step:hover {
	border-top-color: var(--rmx-red);
}

.rmx-step__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--rmx-blue);
	color: #fff;
	font-family: var(--rmx-display);
	font-weight: 700;
	font-size: 1rem;
	margin-bottom: 1.1rem;
}

.rmx-step__title {
	font-size: 1.125rem;
	font-weight: 700;
}

.rmx-step__text {
	margin-top: 0.6rem;
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--rmx-muted);
}

.rmx-steps-section__action {
	margin-top: clamp(2rem, 3.5vw, 3rem);
}

/* --------------------------------------------------------------------------
   9. Rejilla de fichas y tipos
   -------------------------------------------------------------------------- */

.rmx-grid {
	display: grid;
	gap: clamp(1.25rem, 2.5vw, 1.9rem);
	align-items: stretch;
}

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

.rmx-grid.is-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rmx-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--rmx-line);
	border-radius: var(--rmx-radius-lg);
	overflow: hidden;
	box-shadow: var(--rmx-shadow-sm);
	transition: transform var(--rmx-transition), box-shadow var(--rmx-transition);
}

.rmx-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--rmx-shadow-lg);
}

.rmx-card__media {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--rmx-line);
}

.rmx-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 420ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Marcador cuando ninguna ruta de imagen resuelve: mejor que un hueco roto. */
.rmx-card__placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	width: 100%;
	height: 100%;
	background: var(--rmx-sand);
	color: var(--rmx-muted);
	font-size: 0.8125rem;
	font-weight: 600;
}

.rmx-card__placeholder .rmx-icon {
	color: var(--rmx-line);
}

.rmx-card:hover .rmx-card__media img {
	transform: scale(1.06);
}

.rmx-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 1.5rem;
}

.rmx-card__resort {
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--rmx-muted);
	text-transform: uppercase;
}

.rmx-card__title {
	margin-top: 0.5rem;
	font-size: 1.1875rem;
	font-weight: 700;
	line-height: 1.25;
}

.rmx-card__title a {
	color: var(--rmx-ink);
	text-decoration: none;
}

.rmx-card__title a:hover {
	color: var(--rmx-red);
}

.rmx-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
	margin-top: 1.1rem;
}

.rmx-card__meta li {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--rmx-muted);
}

.rmx-card__meta .rmx-icon {
	color: var(--rmx-blue);
}

.rmx-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-top: auto;
	padding-top: 1.4rem;
	border-top: 1px solid var(--rmx-line);
}

.rmx-card__price {
	font-family: var(--rmx-display);
	font-weight: 700;
	font-size: 0.9375rem;
	color: var(--rmx-ink);
}

.rmx-card__price.is-todo {
	color: var(--rmx-muted);
	font-weight: 600;
	font-size: 0.875rem;
	background: var(--rmx-sand);
	padding: 0.35rem 0.7rem;
	border-radius: 6px;
}

.rmx-card__foot .rmx-icon {
	color: var(--rmx-red);
	transition: transform var(--rmx-transition);
}

.rmx-card:hover .rmx-card__foot .rmx-icon {
	transform: translateX(4px);
}

.rmx-opportunities__action {
	margin-top: clamp(2rem, 3.5vw, 3rem);
	text-align: center;
}

/* Barra de filtros del catálogo */
.rmx-filter {
	margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
	padding: 1.35rem 1.5rem;
	background: var(--rmx-sand);
	border: 1px solid var(--rmx-line);
	border-radius: var(--rmx-radius);
}

.rmx-filter__head {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	margin-bottom: 1.1rem;
	color: var(--rmx-ink);
}

.rmx-filter__head .rmx-icon {
	color: var(--rmx-red);
	flex-shrink: 0;
}

.rmx-filter__title {
	font-family: var(--rmx-display);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.rmx-filter__groups {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem 2.25rem;
}

.rmx-filter__group {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
}

.rmx-filter__label {
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--rmx-muted);
}

.rmx-filter__opts {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
}

.rmx-filter__btn {
	font-family: var(--rmx-display);
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--rmx-ink);
	background: #fff;
	border: 1px solid var(--rmx-line);
	border-radius: 999px;
	padding: 0.4rem 0.85rem;
	cursor: pointer;
	transition: background-color var(--rmx-transition), color var(--rmx-transition),
		border-color var(--rmx-transition);
}

.rmx-filter__btn:hover {
	border-color: var(--rmx-blue);
	color: var(--rmx-blue);
}

.rmx-filter__btn.is-active {
	background: var(--rmx-blue);
	border-color: var(--rmx-blue);
	color: #fff;
}

.rmx-filter__empty {
	margin-top: 1.25rem;
	padding: 0.9rem 1.1rem;
	background: #fff;
	border: 1px dashed var(--rmx-line);
	border-radius: var(--rmx-radius);
	font-size: 0.9375rem;
	color: var(--rmx-muted);
}

.rmx-card[hidden] {
	display: none;
}

/* Tipos de propiedad */
.rmx-type,
.rmx-reason {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	border: 1px solid var(--rmx-line);
	border-radius: var(--rmx-radius-lg);
	padding: 1.85rem 1.6rem;
	box-shadow: var(--rmx-shadow-sm);
	transition: transform var(--rmx-transition), box-shadow var(--rmx-transition),
		border-color var(--rmx-transition);
}

.rmx-type:hover,
.rmx-reason:hover {
	transform: translateY(-4px);
	box-shadow: var(--rmx-shadow-md);
	border-color: rgba(0, 61, 165, 0.28);
}

.rmx-type__icon,
.rmx-reason__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	border-radius: 12px;
	background: rgba(0, 61, 165, 0.08);
	color: var(--rmx-blue);
	margin-bottom: 1.15rem;
}

.rmx-type__title,
.rmx-reason__title {
	font-size: 1.125rem;
	font-weight: 700;
}

.rmx-type__text,
.rmx-reason__text {
	margin-top: 0.65rem;
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--rmx-muted);
}

/* --------------------------------------------------------------------------
   10. Servicios (sitio oficial)
   -------------------------------------------------------------------------- */

.rmx-service {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	border: 1px solid var(--rmx-line);
	border-radius: var(--rmx-radius-lg);
	padding: 1.85rem 1.65rem;
	box-shadow: var(--rmx-shadow-sm);
	position: relative;
	overflow: hidden;
	transition: transform var(--rmx-transition), box-shadow var(--rmx-transition),
		border-color var(--rmx-transition);
}

.rmx-service::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 3px;
	background: var(--rmx-blue);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform var(--rmx-transition);
}

.rmx-service:hover {
	transform: translateY(-4px);
	box-shadow: var(--rmx-shadow-md);
	border-color: rgba(0, 61, 165, 0.28);
}

.rmx-service:hover::before {
	transform: scaleX(1);
}

.rmx-service__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 13px;
	background: rgba(0, 61, 165, 0.08);
	color: var(--rmx-blue);
	margin-bottom: 1.2rem;
}

.rmx-service__title {
	font-size: 1.1875rem;
	font-weight: 700;
	line-height: 1.25;
}

.rmx-service__text {
	margin-top: 0.7rem;
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--rmx-muted);
}

.rmx-service__points {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	margin-top: 1.35rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--rmx-line);
}

.rmx-service__points li {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	font-size: 0.875rem;
	line-height: 1.5;
	color: var(--rmx-muted);
}

.rmx-service__points .rmx-icon {
	color: var(--rmx-red);
	flex-shrink: 0;
	margin-top: 0.15rem;
}

/* --------------------------------------------------------------------------
   11. Proceso resumido (portada del sitio oficial)
   -------------------------------------------------------------------------- */

.rmx-overview__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(1rem, 2vw, 1.75rem);
}

.rmx-overview__step {
	position: relative;
	background: #fff;
	border: 1px solid var(--rmx-line);
	border-radius: var(--rmx-radius-lg);
	padding: 1.85rem 1.5rem;
	box-shadow: var(--rmx-shadow-sm);
	transition: transform var(--rmx-transition), box-shadow var(--rmx-transition);
}

.rmx-overview__step:hover {
	transform: translateY(-4px);
	box-shadow: var(--rmx-shadow-md);
}

.rmx-overview__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: rgba(220, 28, 46, 0.09);
	color: var(--rmx-red);
	margin-bottom: 1.1rem;
}

.rmx-overview__num {
	position: absolute;
	top: 1.1rem;
	right: 1.25rem;
	font-family: var(--rmx-display);
	font-size: 2.25rem;
	font-weight: 800;
	line-height: 1;
	color: var(--rmx-line);
}

.rmx-overview__title {
	font-size: 1.0625rem;
	font-weight: 700;
}

.rmx-overview__text {
	margin-top: 0.6rem;
	font-size: 0.9125rem;
	line-height: 1.65;
	color: var(--rmx-muted);
}

.rmx-overview__action {
	margin-top: clamp(2rem, 3.5vw, 3rem);
}

/* --------------------------------------------------------------------------
   12 bis. Disponibilidad
   -------------------------------------------------------------------------- */

.rmx-availability .rmx-notice {
	max-width: 760px;
	margin-bottom: clamp(2rem, 4vw, 3rem);
}

.rmx-availability__action {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	margin-top: clamp(2rem, 3.5vw, 3rem);
}

/* --------------------------------------------------------------------------
   12. Contexto de mercado (sitio oficial)
   -------------------------------------------------------------------------- */

.rmx-authority__grid {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: clamp(1.75rem, 4vw, 3.5rem);
	align-items: center;
}

.rmx-authority__items {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.rmx-authority__item {
	display: flex;
	gap: 1.1rem;
	align-items: flex-start;
}

.rmx-authority__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	flex-shrink: 0;
	border-radius: 12px;
	background: var(--rmx-sand);
	color: var(--rmx-blue);
}

.rmx-authority__title {
	font-size: 1.0625rem;
	font-weight: 700;
}

.rmx-authority__text {
	margin-top: 0.45rem;
	font-size: 0.9375rem;
	line-height: 1.68;
	color: var(--rmx-muted);
}

.rmx-authority__media {
	margin: 0;
	position: relative;
	border-radius: var(--rmx-radius-lg);
	overflow: hidden;
	box-shadow: var(--rmx-shadow-lg);
}

.rmx-authority__media img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.rmx-authority__media figcaption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 1.5rem 1.25rem 1rem;
	background: linear-gradient(transparent, rgba(0, 22, 60, 0.9));
	color: rgba(255, 255, 255, 0.94);
	font-size: 0.8125rem;
	line-height: 1.5;
}

/* --------------------------------------------------------------------------
   13. Rejillas utilitarias
   -------------------------------------------------------------------------- */
/* .rmx-reason se reutiliza en varias secciones (motivos, cómo trabajamos,
   tarjetas resumen); solo se garantiza que las rejillas estiren las tarjetas. */
.rmx-overview-cards .rmx-grid,
.rmx-howwework .rmx-grid,
.rmx-reasons .rmx-grid {
	align-items: stretch;
}

/* --------------------------------------------------------------------------
   14. Preguntas frecuentes
   -------------------------------------------------------------------------- */

.rmx-faq__list {
	max-width: 900px;
	margin-inline: auto;
	border-top: 1px solid var(--rmx-line);
}

.rmx-faq__item {
	border-bottom: 1px solid var(--rmx-line);
}

.rmx-faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
	padding: 1.3rem 0;
	cursor: pointer;
	list-style: none;
	font-family: var(--rmx-display);
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.4;
	color: var(--rmx-ink);
	transition: color var(--rmx-transition);
}

.rmx-faq__q::-webkit-details-marker {
	display: none;
}

.rmx-faq__q:hover {
	color: var(--rmx-red);
}

.rmx-faq__q .rmx-icon {
	width: 26px;
	height: 26px;
	padding: 4px;
	border-radius: 50%;
	background: var(--rmx-sand);
	flex-shrink: 0;
	color: var(--rmx-muted);
	transition: color var(--rmx-transition), background-color var(--rmx-transition),
		transform var(--rmx-transition);
}

.rmx-faq__q:hover .rmx-icon {
	background: rgba(220, 28, 46, 0.1);
	color: var(--rmx-red);
}

.rmx-faq__item[open] .rmx-faq__q {
	color: var(--rmx-red);
}

.rmx-faq__item[open] .rmx-faq__q .rmx-icon {
	background: rgba(220, 28, 46, 0.1);
	color: var(--rmx-red);
	transform: rotate(180deg);
}

.rmx-faq__a {
	padding: 0 0 1.4rem;
	max-width: 72ch;
}

.rmx-faq__a p {
	font-size: 0.9688rem;
	line-height: 1.72;
	color: var(--rmx-muted);
}

/* --------------------------------------------------------------------------
   15. Contacto
   -------------------------------------------------------------------------- */

.rmx-contact__grid {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: clamp(1.25rem, 2.5vw, 2rem);
	align-items: start;
}

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

.rmx-contact__item {
	display: flex;
	gap: 1rem;
	background: #fff;
	border: 1px solid var(--rmx-line);
	border-radius: var(--rmx-radius);
	padding: 1.5rem;
	box-shadow: var(--rmx-shadow-sm);
}

.rmx-contact__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	flex-shrink: 0;
	border-radius: 10px;
	background: rgba(220, 28, 46, 0.09);
	color: var(--rmx-red);
}

.rmx-contact__label {
	font-family: var(--rmx-display);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--rmx-muted);
}

.rmx-contact__value {
	margin-top: 0.35rem;
	font-size: 0.9688rem;
	font-weight: 600;
	line-height: 1.5;
	word-break: break-word;
}

.rmx-contact__value a {
	color: var(--rmx-ink);
	text-decoration: none;
}

.rmx-contact__value a:hover {
	color: var(--rmx-red);
	text-decoration: underline;
}

.rmx-contact__aside {
	background: var(--rmx-blue-dark);
	color: #fff;
	border-radius: var(--rmx-radius-lg);
	padding: clamp(1.75rem, 3vw, 2.5rem);
}

.rmx-contact__aside-title {
	font-size: 1.3rem;
	font-weight: 700;
	color: #fff;
}

.rmx-contact__aside-text {
	margin-top: 0.85rem;
	font-size: 0.9688rem;
	line-height: 1.68;
	color: rgba(255, 255, 255, 0.82);
}

.rmx-contact__aside-list {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	margin-top: 1.75rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.rmx-contact__aside-list li {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	font-size: 0.9375rem;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.92);
}

.rmx-contact__aside-list .rmx-icon {
	color: #7f9fe0;
}

/* --------------------------------------------------------------------------
   16. Llamada final y avisos
   -------------------------------------------------------------------------- */

.rmx-cta {
	background: linear-gradient(135deg, var(--rmx-red) 0%, var(--rmx-red-dark) 55%, #8d0f1c 100%);
	color: #fff;
	padding-block: clamp(3rem, 6vw, 5rem);
}

.rmx-cta__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: clamp(1.5rem, 4vw, 3.5rem);
	flex-wrap: wrap;
}

.rmx-cta__text {
	max-width: 620px;
}

.rmx-cta__title {
	font-size: clamp(1.6rem, 1.2rem + 1.7vw, 2.35rem);
	font-weight: 700;
	color: #fff;
}

.rmx-cta__lead {
	margin-top: 0.9rem;
	font-size: 1.0625rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.9);
}

.rmx-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
}

.rmx-cta .rmx-btn.is-primary {
	background: #fff;
	border-color: #fff;
	color: var(--rmx-red);
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
}

.rmx-cta .rmx-btn.is-primary:hover {
	background: rgba(255, 255, 255, 0.92);
	border-color: rgba(255, 255, 255, 0.92);
	color: var(--rmx-red);
}

.rmx-notice {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	margin-top: 1.75rem;
	padding: 1rem 1.25rem;
	border-radius: var(--rmx-radius);
	border: 1px solid rgba(0, 61, 165, 0.2);
	background: rgba(0, 61, 165, 0.04);
	font-size: 0.875rem;
	line-height: 1.6;
	color: var(--rmx-muted);
}

.rmx-notice .rmx-icon {
	color: var(--rmx-blue);
	flex-shrink: 0;
	margin-top: 0.15rem;
}

.rmx-notice.is-legal {
	border-color: var(--rmx-line);
	background: var(--rmx-sand);
}

/* Marca de contenido pendiente */
.rmx-todo {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-top: 0.5rem;
	padding: 0.25rem 0.6rem;
	border-radius: 6px;
	background: #fff5d6;
	border: 1px dashed #d9a800;
	color: #7a5c00;
	font-family: var(--rmx-body);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
}

.rmx-todo span[aria-hidden] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #d9a800;
	color: #fff;
	font-size: 0.625rem;
	font-weight: 700;
}

/* --------------------------------------------------------------------------
   17. Nosotros y detalle de proceso
   -------------------------------------------------------------------------- */

.rmx-facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(1.25rem, 2.5vw, 2rem);
}

.rmx-fact {
	padding-left: 1.5rem;
	border-left: 3px solid var(--rmx-red);
}

.rmx-fact__q {
	font-size: 1.1875rem;
	font-weight: 700;
}

.rmx-fact__a {
	margin-top: 0.7rem;
	font-size: 0.9688rem;
	line-height: 1.7;
	color: var(--rmx-muted);
}

.rmx-detail__steps {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(1.5rem, 3vw, 2.5rem);
}

.rmx-detail__step {
	display: flex;
	gap: 1.15rem;
}

.rmx-detail__step .rmx-step__num {
	margin-bottom: 0;
	flex-shrink: 0;
}

.rmx-detail__title {
	font-size: 1.125rem;
	font-weight: 700;
}

.rmx-detail__text {
	margin-top: 0.55rem;
	font-size: 0.9375rem;
	line-height: 1.68;
	color: var(--rmx-muted);
}

.rmx-docs {
	margin-top: clamp(2.5rem, 4vw, 3.5rem);
	background: #fff;
	border: 1px solid var(--rmx-line);
	border-left: 4px solid var(--rmx-blue);
	border-radius: var(--rmx-radius);
	padding: clamp(1.5rem, 3vw, 2.25rem);
	max-width: 760px;
}

.rmx-docs__title {
	font-size: 1.125rem;
	font-weight: 700;
}

.rmx-docs__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.7rem 1.75rem;
	margin-top: 1.25rem;
}

.rmx-docs__list li {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	font-size: 0.9375rem;
	line-height: 1.55;
	color: var(--rmx-muted);
}

.rmx-process-detail .rmx-notice {
	max-width: 760px;
}

/* Página legal */
.rmx-legal {
	padding-block: clamp(2rem, 5vw, 4rem);
}

.rmx-legal__notice .rmx-notice {
	margin-top: 0;
}

/* --------------------------------------------------------------------------
   18. Pie
   -------------------------------------------------------------------------- */

.rmx-footer {
	background: var(--rmx-ink);
	color: rgba(255, 255, 255, 0.74);
	padding-top: clamp(3rem, 6vw, 4.5rem);
}

.rmx-footer__inner {
	display: grid;
	grid-template-columns: 1.4fr 0.8fr 1.1fr;
	gap: clamp(2rem, 4vw, 3.5rem);
	padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.rmx-footer__logo {
	width: auto;
	height: 44px;
	background: #fff;
	padding: 0.5rem 0.75rem;
	border-radius: 8px;
}

.rmx-footer__tagline {
	margin-top: 1.25rem;
	max-width: 38ch;
	font-size: 0.9125rem;
	line-height: 1.7;
}

.rmx-footer__title {
	font-family: var(--rmx-display);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #fff;
	margin-bottom: 1.15rem;
}

.rmx-footer__nav ul {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.rmx-footer__nav a {
	color: rgba(255, 255, 255, 0.74);
	text-decoration: none;
	font-size: 0.9375rem;
}

.rmx-footer__nav a:hover {
	color: #fff;
	text-decoration: underline;
}

.rmx-footer__contact {
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
}

.rmx-footer__contact li {
	display: flex;
	align-items: flex-start;
	gap: 0.7rem;
	font-size: 0.9125rem;
	line-height: 1.55;
}

.rmx-footer__contact .rmx-icon {
	color: var(--rmx-red);
	flex-shrink: 0;
	margin-top: 0.12rem;
}

.rmx-footer__contact a {
	color: rgba(255, 255, 255, 0.86);
	text-decoration: none;
}

.rmx-footer__contact a:hover {
	color: #fff;
	text-decoration: underline;
}

.rmx-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	padding-block: 1.75rem;
}

.rmx-footer__legal {
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
}

.rmx-footer__disclaimer,
.rmx-footer__copy,
.rmx-footer__independiente,
.rmx-footer__credito {
	font-size: 0.8125rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.55);
	margin: 0;
}

.rmx-footer__credito a {
	color: rgba(255, 255, 255, 0.72);
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.rmx-footer__credito a:hover {
	color: #fff;
}

.rmx-footer__independiente {
	color: rgba(255, 255, 255, 0.72);
	font-weight: 500;
}

/* --------------------------------------------------------------------------
   19. Adaptación a pantallas pequeñas
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
	.rmx-grid.is-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rmx-steps,
	.rmx-overview__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rmx-footer__inner {
		grid-template-columns: 1fr 1fr;
	}

	.rmx-footer__aside {
		grid-column: 1 / -1;
	}
}

@media (max-width: 900px) {
	/* En móvil la foto se recorta más y el texto cae sobre el cielo claro, así
	   que el degradado necesita ser más opaco que en escritorio. Va aquí, y no
	   en la sección Portada, porque debe quedar DESPUÉS de la regla base para
	   poder sobreescribirla. */
	.rmx-hero.is-full::before {
		background: linear-gradient(
			170deg,
			rgba(0, 22, 60, 0.86) 0%,
			rgba(0, 28, 74, 0.72) 55%,
			rgba(0, 35, 90, 0.58) 100%
		);
	}

	.rmx-topbar__claim {
		display: none;
	}

	.rmx-topbar__inner {
		justify-content: center;
	}

	.rmx-burger {
		display: inline-flex;
	}

	.rmx-nav {
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		background: #fff;
		border-top: 1px solid var(--rmx-line);
		box-shadow: 0 18px 34px rgba(17, 24, 39, 0.16);
		display: none;
		padding: 0.75rem var(--rmx-gutter) 1.25rem;
	}

	.rmx-nav.is-open {
		display: block;
	}

	.rmx-nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.rmx-nav__item a {
		display: block;
		padding: 0.95rem 0.25rem;
		border-bottom: 1px solid var(--rmx-line);
		border-radius: 0;
		font-size: 1rem;
	}

	.rmx-nav__item a::after {
		display: none;
	}

	.rmx-header__right {
		position: relative;
	}

	.rmx-grid.is-3,
	.rmx-grid.is-4,
	.rmx-contact__grid,
	.rmx-audiences__grid,
	.rmx-facts,
	.rmx-authority__grid {
		grid-template-columns: 1fr;
	}

	.rmx-authority__media {
		order: -1;
	}

	.rmx-contact__list {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 720px) {
	:root {
		--rmx-header-h: 66px;
	}

	.rmx-logo img {
		height: 38px;
	}

	.rmx-topbar__contact .rmx-topbar__sep,
	.rmx-topbar__contact a span:not(.rmx-topbar__num) {
		display: none;
	}

	.rmx-topbar__contact {
		gap: 1.5rem;
	}

	.rmx-hero.is-full {
		min-height: auto;
	}

	.rmx-hero.is-full .rmx-hero__inner {
		padding-block: 3.5rem 3rem;
	}

	.rmx-hero.is-full .rmx-hero__media img {
		object-position: center 68%;
	}

	/* Portada partida en móvil: una sola columna, con la imagen arriba. */
	.rmx-hero.is-split .rmx-hero__grid {
		grid-template-columns: 1fr;
	}

	.rmx-hero.is-split .rmx-hero__media {
		order: 1;
	}

	.rmx-hero.is-split .rmx-hero__content {
		order: 2;
	}

	.rmx-hero.is-split .rmx-hero__media img {
		height: clamp(240px, 52vw, 340px);
	}

	.rmx-hero.is-full .rmx-hero__actions .rmx-btn {
		width: 100%;
	}

	.rmx-hero__points {
		flex-direction: column;
		gap: 0.65rem;
	}

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

	.rmx-trust__item {
		padding: 1.4rem 1rem;
	}

	.rmx-steps,
	.rmx-overview__list,
	.rmx-detail__steps,
	.rmx-docs__list {
		grid-template-columns: 1fr;
	}

	.rmx-cta__actions {
		width: 100%;
	}

	.rmx-cta__actions .rmx-btn {
		width: 100%;
	}

	.rmx-footer__inner {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 420px) {
	.rmx-topbar {
		font-size: 0.75rem;
	}

	.rmx-btn {
		padding: 0.85rem 1.35rem;
		font-size: 0.9375rem;
	}
}
