/*!
 * ReviewTap, capa de diseno del sitio.
 *
 * Todo se apoya en tokens declarados en :root. La marca es monocroma (el logo
 * es blanco y negro y el primario historico del sitio era #000), con un unico
 * acento dorado tomado de la estrella de Google, #F5BD4F.
 *
 * Orden del archivo: tokens, reset, tipografia, utilidades de layout,
 * componentes compartidos, chrome (header y footer), prosa de paginas internas.
 */

/* ------------------------------------------------------------------ tokens */

:root {
	/* Tinta y neutros calidos, para que el blanco no se vea clinico */
	--rt-ink: hsl(24 8% 6%);
	--rt-ink-2: hsl(24 6% 16%);
	--rt-fg: hsl(24 7% 12%);
	--rt-muted: hsl(24 5% 42%);
	--rt-faint: hsl(24 5% 58%);
	--rt-line: hsl(30 10% 89%);
	--rt-line-soft: hsl(30 12% 94%);
	--rt-bg: hsl(0 0% 100%);
	--rt-surface: hsl(40 30% 97.5%);
	--rt-surface-2: hsl(38 24% 95%);

	/* Acento: la estrella */
	--rt-gold: hsl(41 89% 63%);
	--rt-gold-deep: hsl(37 92% 48%);
	--rt-gold-soft: hsl(43 96% 94%);
	--rt-gold-line: hsl(41 80% 82%);

	/* Secciones oscuras */
	--rt-dark: hsl(24 9% 7%);
	--rt-dark-2: hsl(24 8% 11%);
	--rt-dark-line: hsl(24 7% 20%);
	--rt-dark-fg: hsl(40 24% 97%);
	--rt-dark-muted: hsl(30 6% 66%);

	/* Semanticos */
	--rt-good: hsl(152 52% 34%);
	--rt-good-soft: hsl(152 48% 96%);
	--rt-good-line: hsl(152 40% 78%);
	--rt-bad: hsl(4 68% 48%);
	--rt-bad-soft: hsl(6 72% 97%);
	--rt-bad-line: hsl(6 62% 84%);

	/* Radios */
	--rt-r-sm: .5rem;
	--rt-r: .875rem;
	--rt-r-lg: 1.25rem;
	--rt-r-xl: 1.75rem;
	--rt-r-full: 999px;

	/* Sombras, muy contenidas: la jerarquia la llevan los bordes */
	--rt-sh-sm: 0 1px 2px hsl(24 8% 6% / .05);
	--rt-sh: 0 4px 14px -4px hsl(24 8% 6% / .08), 0 1px 3px hsl(24 8% 6% / .04);
	--rt-sh-lg: 0 28px 56px -20px hsl(24 8% 6% / .18), 0 8px 20px -10px hsl(24 8% 6% / .08);

	/* Ritmo */
	--rt-container: 1160px;
	--rt-narrow: 760px;
	--rt-gutter: clamp(1.15rem, 4vw, 2rem);
	--rt-section: clamp(4rem, 8vw, 7.5rem);
	--rt-header-h: 72px;

	/* Tipografia */
	--rt-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ------------------------------------------------------------------- reset */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--rt-header-h) + 1rem);
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
}

body.rt {
	margin: 0;
	background: var(--rt-bg);
	color: var(--rt-fg);
	font-family: var(--rt-font);
	font-size: 1.0625rem;
	line-height: 1.62;
	font-feature-settings: "cv05" 1, "ss01" 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img, svg, video, canvas { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }

/* -------------------------------------------------------------- tipografia */

/*
 * El selector entero va envuelto en :where(), lo que deja estas reglas con
 * especificidad (0,0,0): son un reset de verdad y cualquier componente les gana.
 *
 * Escribirlas como `.rt a` NO valia: eso puntua (0,1,1), mas que `.rt-btn--primary`
 * (0,1,0), asi que `color: inherit` ganaba y pintaba el texto de los botones
 * negros del color del parrafo de al lado, es decir negro sobre negro.
 */
:where(.rt) :where(h1, h2, h3, h4) {
	margin: 0 0 .5em;
	color: var(--rt-ink);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -.028em;
	text-wrap: balance;
}

:where(.rt) :where(h1) { font-size: clamp(2.1rem, 4vw, 3.05rem); letter-spacing: -.035em; font-weight: 800; }
:where(.rt) :where(h2) { font-size: clamp(1.95rem, 3.9vw, 3rem); }
:where(.rt) :where(h3) { font-size: clamp(1.15rem, 1.8vw, 1.4rem); letter-spacing: -.02em; }
:where(.rt) :where(h4) { font-size: 1.0625rem; letter-spacing: -.012em; }

:where(.rt) :where(p) { margin: 0 0 1.05rem; }
:where(.rt) :where(p:last-child) { margin-bottom: 0; }
:where(.rt) :where(a) { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: .18em; }
:where(.rt) :where(strong, b) { font-weight: 650; color: var(--rt-ink); }

/*
 * Enfasis en titulares: un bloque relleno detras de la palabra, no un subrayado.
 *
 * El estado por defecto es el terminado (bloque pintado, palabra en tinta), asi
 * que sin JavaScript se ve completo. El JS marca is-armed al cargar, que lo
 * vacia, y is-lit cuando el titular entra en pantalla, que es cuando barre.
 */
/*
 * El bloque y el color de la palabra, en tokens: cambiarlos cambia los 12
 * titulares de golpe. Dorado con la palabra en tinta, que da 11:1 de contraste
 * y funciona igual sobre fondo claro que sobre las secciones oscuras.
 */
:root {
	--rt-hl-fill: var(--rt-gold);
	--rt-hl-word: var(--rt-ink);
}

.rt-hl {
	position: relative;
	display: inline-block;
	isolation: isolate;
	padding: 0 .22em;
	margin: 0 -.06em;
	white-space: nowrap;
}

.rt-hl__fill {
	position: absolute;
	inset: .06em 0 .02em;
	border-radius: .16em;
	background: var(--rt-hl-fill);
	z-index: -1;
}

/* La copia de abajo: color del titular, legible sobre el fondo de la seccion */
.rt-hl__word { position: relative; color: inherit; }

/*
 * La copia de arriba: color de contraste, recortada igual que el bloque.
 * Cubre toda la caja de relleno y repite el padding del padre, para que el
 * texto caiga en la misma posicion exacta. Con `inset: 0 .22em` la caja
 * quedaba mas estrecha que la palabra y el recorte se comia la ultima letra.
 */
.rt-hl__word--lit {
	position: absolute;
	inset: 0;
	padding: 0 .22em;
	color: var(--rt-hl-word);
	pointer-events: none;
}

/* Estado por defecto, el terminado: sin JavaScript se ve completo */
.rt-hl__fill,
.rt-hl__word--lit { clip-path: inset(0 0 0 0); }

/*
 * No hace falta variante para las secciones oscuras: el dorado con tinta ya
 * contrasta en ambos fondos. La copia de arriba sigue siendo necesaria porque
 * en fondo oscuro la palabra base hereda el blanco del titular.
 */

.rt-hl.is-armed .rt-hl__fill,
.rt-hl.is-armed .rt-hl__word--lit { clip-path: inset(0 100% 0 0); }

.rt-hl.is-lit .rt-hl__fill,
.rt-hl.is-lit .rt-hl__word--lit {
	animation: rt-hl-wipe .7s cubic-bezier(.16, 1, .3, 1) forwards;
}

@keyframes rt-hl-wipe {
	from { clip-path: inset(0 100% 0 0); }
	to   { clip-path: inset(0 0 0 0); }
}

/* -------------------------------------------------------------- utilidades */

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

.rt-narrow { max-width: var(--rt-narrow); margin-inline: auto; }

.rt-section { padding-block: var(--rt-section); position: relative; }
.rt-section--tight { padding-block: clamp(3rem, 5vw, 4.5rem); }
.rt-section--surface { background: var(--rt-surface); }

.rt-section--dark {
	background: var(--rt-dark);
	color: var(--rt-dark-muted);
}
.rt-section--dark h1,
.rt-section--dark h2,
.rt-section--dark h3,
.rt-section--dark h4 { color: var(--rt-dark-fg); }
.rt-section--dark strong { color: var(--rt-dark-fg); }

.rt-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	margin: 0 0 1rem;
	font-size: .78rem;
	font-weight: 650;
	letter-spacing: .085em;
	text-transform: uppercase;
	color: var(--rt-muted);
}
.rt-eyebrow::before {
	content: "";
	width: 1.35rem;
	height: 2px;
	background: var(--rt-gold);
	border-radius: 2px;
}
.rt-section--dark .rt-eyebrow { color: var(--rt-dark-muted); }

.rt-lede {
	font-size: clamp(1.075rem, 1.5vw, 1.24rem);
	line-height: 1.58;
	color: var(--rt-muted);
	max-width: 62ch;
}
.rt-section--dark .rt-lede { color: var(--rt-dark-muted); }

.rt-head { max-width: 44rem; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.rt-head--center { margin-inline: auto; text-align: center; }
.rt-head--center .rt-lede { margin-inline: auto; }

.rt-sr {
	position: absolute; width: 1px; height: 1px;
	padding: 0; margin: -1px; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.rt-skip {
	position: absolute; left: -9999px; top: 0; z-index: 200;
	background: var(--rt-ink); color: #fff; padding: .75rem 1.25rem;
	border-radius: 0 0 var(--rt-r-sm) 0;
}
.rt-skip:focus { left: 0; }

:where(.rt) :focus-visible {
	outline: 2px solid var(--rt-gold-deep);
	outline-offset: 3px;
	border-radius: var(--rt-r-sm);
}

/* ------------------------------------------------------------- componentes */

.rt-icon { width: 1.25em; height: 1.25em; flex: none; }

/* Botones */
.rt-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	padding: .95rem 1.6rem;
	border: 1px solid transparent;
	border-radius: var(--rt-r-full);
	font-size: .975rem;
	font-weight: 600;
	letter-spacing: -.01em;
	text-decoration: none;
	cursor: pointer;
	transition: transform .16s ease, background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
	white-space: nowrap;
}
.rt-btn:hover { transform: translateY(-1px); }
.rt-btn:active { transform: translateY(0); }
.rt-btn__arrow { width: 1.05em; height: 1.05em; transition: transform .18s ease; }
.rt-btn:hover .rt-btn__arrow { transform: translateX(3px); }

.rt-btn--primary {
	background: var(--rt-ink);
	color: #fff;
	box-shadow: var(--rt-sh);
}
.rt-btn--primary:hover { background: var(--rt-ink-2); box-shadow: var(--rt-sh-lg); }

.rt-btn--gold {
	background: var(--rt-gold);
	color: var(--rt-ink);
	box-shadow: 0 8px 24px -10px hsl(41 89% 45% / .6);
}
.rt-btn--gold:hover { background: hsl(41 92% 58%); }

.rt-btn--ghost {
	background: transparent;
	border-color: var(--rt-line);
	color: var(--rt-ink);
}
.rt-btn--ghost:hover { border-color: var(--rt-ink); background: var(--rt-surface-2); }

.rt-btn--onDark {
	background: transparent;
	border-color: var(--rt-dark-line);
	color: var(--rt-dark-fg);
}
.rt-btn--onDark:hover { border-color: var(--rt-dark-fg); background: hsl(0 0% 100% / .06); }

.rt-btn--sm { padding: .6rem 1.1rem; font-size: .9rem; }
.rt-btn--block { width: 100%; }

/* Pildoras */
.rt-pill {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	padding: .4rem .85rem .4rem .55rem;
	border: 1px solid var(--rt-line);
	border-radius: var(--rt-r-full);
	background: var(--rt-bg);
	font-size: .82rem;
	font-weight: 550;
	color: var(--rt-ink-2);
	box-shadow: var(--rt-sh-sm);
}
.rt-pill__dot {
	width: .45rem; height: .45rem; border-radius: 50%;
	background: var(--rt-gold-deep);
	box-shadow: 0 0 0 3px var(--rt-gold-soft);
	margin-left: .25rem;
}
.rt-pill--dark {
	background: hsl(0 0% 100% / .06);
	border-color: var(--rt-dark-line);
	color: var(--rt-dark-fg);
}

/* Estrellas */
.rt-stars { display: inline-flex; gap: .1rem; align-items: center; }
.rt-stars__s svg { width: 1em; height: 1em; fill: var(--rt-line); }
.rt-stars__s.is-on svg { fill: var(--rt-gold); }
.rt-stars--lg { font-size: 1.35rem; }

/* Estrellas con relleno parcial: las usa la landing y la pagina de resena */
.rt-ratestars { position: relative; display: inline-block; line-height: 1; }
.rt-ratestars__base,
.rt-ratestars__on { display: flex; gap: .12em; }
.rt-ratestars__base svg,
.rt-ratestars__on svg { width: 1em; height: 1em; }
.rt-ratestars__base svg { fill: var(--rt-line); }
.rt-ratestars__on {
	position: absolute;
	inset: 0;
	overflow: hidden;
	width: var(--rt-fill);
}
.rt-ratestars__on svg { fill: var(--rt-gold); }
.rt-ratestars__on span { flex: none; }


/* Tarjetas */
.rt-card {
	background: var(--rt-bg);
	border: 1px solid var(--rt-line);
	border-radius: var(--rt-r-lg);
	padding: clamp(1.4rem, 2.4vw, 2rem);
}
.rt-card--dark {
	background: var(--rt-dark-2);
	border-color: var(--rt-dark-line);
}

/* Lista de pasos numerados. Se usa en la landing y en la pagina de gracias. */
.rt-contact__steps {
	list-style: none;
	margin: 2.25rem 0;
	padding: 0;
	display: grid;
	gap: 1.5rem;
}
.rt-contact__steps li { display: flex; gap: 1rem; }
.rt-contact__steps span {
	display: grid;
	place-items: center;
	width: 2rem; height: 2rem;
	flex: none;
	border-radius: 50%;
	background: var(--rt-ink);
	color: #fff;
	font-size: .85rem;
	font-weight: 700;
}
.rt-contact__steps strong { display: block; margin-bottom: .2rem; color: var(--rt-ink); }
.rt-contact__steps p { margin: 0; font-size: .93rem; color: var(--rt-muted); }

/* Fila de acciones centrada. Compartida por el cierre, el 404 y las gracias. */
.rt-closing__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .75rem;
	margin-top: 2.25rem;
}

/* Grid */
.rt-grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.rt-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rt-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) {
	.rt-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.rt-grid--2, .rt-grid--3 { grid-template-columns: minmax(0, 1fr); }
}

/* Aparicion al hacer scroll */
.rt-reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity .6s cubic-bezier(.2,.7,.3,1), transform .6s cubic-bezier(.2,.7,.3,1);
}
.rt-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.rt-reveal { opacity: 1; transform: none; }
}

/* ----------------------------------------------------------------- header */

.rt-header {
	position: sticky;
	top: 0;
	z-index: 90;
	background: hsl(0 0% 100% / .78);
	backdrop-filter: saturate(1.8) blur(16px);
	-webkit-backdrop-filter: saturate(1.8) blur(16px);
	border-bottom: 1px solid transparent;
	transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.rt-header.is-stuck {
	background: hsl(0 0% 100% / .9);
	border-bottom-color: var(--rt-line);
	box-shadow: 0 1px 24px -10px hsl(24 8% 6% / .22);
}

/*
 * Tres columnas: la marca a la izquierda, la navegacion centrada de verdad
 * (no empujada por el ancho del logo) y las acciones a la derecha.
 */
.rt-header__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 1rem;
	min-height: var(--rt-header-h);
	transition: min-height .25s ease;
}
.rt-header.is-stuck .rt-header__inner { min-height: 62px; }

.rt-brand { display: inline-flex; align-items: center; justify-self: start; }
.rt-brand img { height: 36px; width: auto; transition: height .25s ease; }

/* La navegacion vive dentro de una capsula, que la separa del resto del ancho */
.rt-nav { justify-self: center; }
.rt-nav ul {
	display: flex;
	align-items: center;
	gap: .1rem;
	list-style: none;
	margin: 0;
	padding: .25rem;
	border: 1px solid var(--rt-line-soft);
	border-radius: var(--rt-r-full);
	background: var(--rt-surface);
}
.rt-nav a {
	display: block;
	padding: .5rem .95rem;
	border-radius: var(--rt-r-full);
	font-size: .925rem;
	font-weight: 550;
	letter-spacing: -.01em;
	color: var(--rt-muted);
	text-decoration: none;
	white-space: nowrap;
	transition: background-color .18s ease, color .18s ease;
}
.rt-nav a:hover { background: var(--rt-bg); color: var(--rt-ink); box-shadow: var(--rt-sh-sm); }
.rt-nav .current-menu-item > a {
	background: var(--rt-bg);
	color: var(--rt-ink);
	font-weight: 600;
	box-shadow: var(--rt-sh-sm);
}

.rt-header__actions {
	display: flex;
	align-items: center;
	gap: .5rem;
	justify-self: end;
}
/* Acceso al panel. Discreto: la accion que manda es comprar el tag. */
.rt-header__login {
	padding: .5rem .8rem;
	border-radius: var(--rt-r-full);
	font-size: .9rem;
	font-weight: 550;
	color: var(--rt-muted);
	text-decoration: none;
	white-space: nowrap;
	transition: background-color .18s ease, color .18s ease;
}
.rt-header__login:hover { background: var(--rt-surface-2); color: var(--rt-ink); }
@media (max-width: 1080px) { .rt-header__login { display: none; } }

.rt-header__phone {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	padding: .5rem .8rem;
	border-radius: var(--rt-r-full);
	font-size: .9rem;
	font-weight: 550;
	color: var(--rt-ink-2);
	text-decoration: none;
	white-space: nowrap;
	transition: background-color .18s ease;
}
.rt-header__phone:hover { background: var(--rt-surface-2); }
.rt-header__phone .rt-icon { width: 1em; height: 1em; color: var(--rt-gold-deep); }

/* Boton hamburguesa */
.rt-burger {
	display: none;
	width: 42px; height: 42px;
	align-items: center; justify-content: center;
	border: 1px solid var(--rt-line);
	border-radius: var(--rt-r-full);
	background: var(--rt-bg);
	cursor: pointer;
	flex: none;
}
.rt-burger span {
	display: block; position: relative;
	width: 17px; height: 1.6px; background: var(--rt-ink); border-radius: 2px;
	transition: transform .22s ease, opacity .18s ease;
}
.rt-burger span::before,
.rt-burger span::after {
	content: ""; position: absolute; left: 0;
	width: 17px; height: 1.6px; background: var(--rt-ink); border-radius: 2px;
	transition: transform .22s ease;
}
.rt-burger span::before { top: -5.5px; }
.rt-burger span::after { top: 5.5px; }
.rt-burger[aria-expanded="true"] span { background: transparent; }
.rt-burger[aria-expanded="true"] span::before { transform: translateY(5.5px) rotate(45deg); }
.rt-burger[aria-expanded="true"] span::after { transform: translateY(-5.5px) rotate(-45deg); }

/* A partir de aqui la capsula ya no cabe: el menu pasa al panel movil */
@media (max-width: 1080px) {
	.rt-header__inner { grid-template-columns: auto 1fr; }
	.rt-nav { display: none; }
	.rt-burger { display: inline-flex; }
}
@media (max-width: 700px) {
	.rt-header__phone span { display: none; }
	.rt-header__phone { padding: .55rem; }
}
@media (max-width: 480px) {
	.rt-header__actions .rt-btn { display: none; }
}

/* Panel movil */
.rt-mobile {
	position: fixed;
	inset: var(--rt-header-h) 0 0;
	z-index: 89;
	background: var(--rt-bg);
	padding: 1.5rem var(--rt-gutter) 2.5rem;
	overflow-y: auto;
	display: none;
	flex-direction: column;
	gap: .35rem;
}
.rt-mobile.is-open { display: flex; animation: rt-fade .22s ease both; }
@keyframes rt-fade { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.rt-mobile ul { list-style: none; margin: 0 0 1rem; padding: 0; }

/* Acotado a la lista: si fuese `.rt-mobile a` le ganaria a .rt-btn--primary */
.rt-mobile ul a {
	display: block;
	padding: .95rem .25rem;
	border-bottom: 1px solid var(--rt-line-soft);
	font-size: 1.15rem;
	font-weight: 600;
	letter-spacing: -.02em;
	color: var(--rt-ink);
	text-decoration: none;
}
.rt-mobile__cta { margin-top: .5rem; display: grid; gap: .6rem; }

@media (max-width: 1000px) {
	.rt-nav, .rt-header__phone { display: none; }
	.rt-burger { display: inline-flex; }
	.rt-header__actions { margin-left: auto; }
}
@media (max-width: 560px) {
	.rt-header__actions .rt-btn { display: none; }
}

body.rt-menu-open { overflow: hidden; }

/* ----------------------------------------------------------------- footer */

.rt-footer {
	position: relative;
	background: var(--rt-dark);
	color: var(--rt-dark-muted);
	padding-block: clamp(2.5rem, 5vw, 3.5rem) 2rem;
}
/* Un halo dorado muy tenue arriba, que cose el pie con el resto de la pagina */
.rt-footer::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 1px;
	background: linear-gradient(90deg, transparent, hsl(41 89% 63% / .55), transparent);
}

.rt-footer h4 {
	color: var(--rt-dark-fg);
	font-size: .78rem;
	letter-spacing: .09em;
	text-transform: uppercase;
	margin-bottom: 1.1rem;
	font-weight: 650;
}
.rt-footer a:not(.rt-btn) { color: var(--rt-dark-muted); text-decoration: none; transition: color .16s ease; }
.rt-footer a:not(.rt-btn):hover { color: var(--rt-dark-fg); }

.rt-footer__top {
	display: grid;
	grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr));
	gap: clamp(1.75rem, 4vw, 3rem);
	padding-bottom: 2.75rem;
	border-bottom: 1px solid var(--rt-dark-line);
}
@media (max-width: 880px) {
	.rt-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rt-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
	.rt-footer__top { grid-template-columns: minmax(0, 1fr); }
}

.rt-footer__brand img { height: 38px; width: auto; filter: invert(1) brightness(1.7); margin-bottom: 1.25rem; }
.rt-footer__brand p { max-width: 34ch; font-size: .95rem; }

.rt-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; font-size: .95rem; }

.rt-footer__contact li { display: flex; align-items: flex-start; gap: .6rem; }
.rt-footer__contact .rt-icon { width: 1.05em; height: 1.05em; margin-top: .35em; color: var(--rt-gold); }

.rt-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem 1.5rem;
	justify-content: space-between;
	align-items: center;
	padding-top: 1.75rem;
	font-size: .84rem;
	color: hsl(30 6% 52%);
}

/* ------------------------------------------------- paginas internas, prosa */

.rt-page {
	padding-block: clamp(3rem, 6vw, 5rem) var(--rt-section);
}
.rt-page__head {
	max-width: var(--rt-narrow);
	margin: 0 auto clamp(2rem, 4vw, 3rem);
	text-align: center;
}
.rt-page__head h1 { font-size: clamp(2rem, 4.4vw, 3.15rem); }

.rt-prose {
	max-width: var(--rt-narrow);
	margin-inline: auto;
	font-size: 1.03rem;
	color: var(--rt-ink-2);
}
.rt-prose > * + * { margin-top: 1.1rem; }
.rt-prose h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); margin-top: 2.5rem; }
.rt-prose h3 { font-size: 1.2rem; margin-top: 2rem; }
.rt-prose ul, .rt-prose ol { padding-left: 1.25rem; }
.rt-prose li + li { margin-top: .45rem; }
.rt-prose a { color: var(--rt-ink); text-decoration: underline; text-decoration-color: var(--rt-gold); text-decoration-thickness: 2px; }
.rt-prose img { border-radius: var(--rt-r); margin-block: 1.75rem; }
.rt-prose blockquote {
	margin: 1.75rem 0;
	padding: .25rem 0 .25rem 1.35rem;
	border-left: 3px solid var(--rt-gold);
	color: var(--rt-ink);
	font-size: 1.1rem;
}
.rt-prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.rt-prose th, .rt-prose td { border: 1px solid var(--rt-line); padding: .7rem .9rem; text-align: left; }
.rt-prose th { background: var(--rt-surface); font-weight: 650; }

.rt-page__meta { margin: .75rem 0 0; font-size: .875rem; color: var(--rt-faint); }

/* Contenido que sigue viniendo de Elementor: se deja respirar y nada mas */
.rt-page__raw { margin-inline: calc(var(--rt-gutter) * -1); }

.rt-pagelinks { margin-top: 2rem; font-size: .9rem; color: var(--rt-muted); }

.rt-page .navigation.pagination {
	display: flex;
	justify-content: center;
	gap: .4rem;
	margin-top: 3rem;
}
.rt-page .nav-links .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 2.4rem;
	height: 2.4rem;
	padding-inline: .7rem;
	border: 1px solid var(--rt-line);
	border-radius: var(--rt-r-full);
	font-size: .9rem;
	text-decoration: none;
	color: var(--rt-ink-2);
}
.rt-page .nav-links .page-numbers.current {
	background: var(--rt-ink);
	border-color: var(--rt-ink);
	color: #fff;
}

/* ------------------------------------------------------ pagina de gracias */

.rt-thanks__inner {
	max-width: 40rem;
	margin-inline: auto;
	text-align: center;
}

.rt-thanks__mark {
	display: inline-grid;
	place-items: center;
	width: 4rem; height: 4rem;
	margin-bottom: 1.75rem;
	border-radius: 50%;
	background: var(--rt-good-soft);
	color: var(--rt-good);
}
.rt-thanks__mark .rt-icon { width: 1.9rem; height: 1.9rem; stroke-width: 2.6; }

.rt-thanks h1 { font-size: clamp(2rem, 4.6vw, 3rem); }
.rt-thanks .rt-lede { margin-inline: auto; }

.rt-thanks__steps { text-align: left; max-width: 26rem; margin-inline: auto; }

.rt-thanks__hurry { margin-top: 2.25rem; font-size: .9rem; color: var(--rt-faint); }

.rt-thanks__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .75rem;
	margin-top: .85rem;
}

.rt-thanks__back { margin-top: 2rem; font-size: .9rem; }
.rt-thanks__back a { color: var(--rt-muted); }

/* Estado 404 y similares */
.rt-empty { text-align: center; padding-block: clamp(4rem, 10vw, 8rem); }
.rt-empty__code {
	font-size: clamp(4rem, 14vw, 8rem);
	font-weight: 800;
	letter-spacing: -.05em;
	line-height: 1;
	color: var(--rt-ink);
	margin-bottom: 1rem;
}
.rt-empty__code span { color: var(--rt-gold); }

/* ------------------------------------------------------ formulario embebido */

.rt-form .fluentform .ff-el-input--label label {
	font-size: .875rem;
	font-weight: 600;
	color: var(--rt-ink);
	letter-spacing: -.008em;
	margin-bottom: .4rem;
}
.rt-form .fluentform .ff-el-form-control {
	width: 100%;
	padding: .85rem 1rem;
	border: 1px solid var(--rt-line);
	border-radius: var(--rt-r);
	background: var(--rt-bg);
	font-size: 1rem;
	color: var(--rt-ink);
	box-shadow: none;
	transition: border-color .16s ease, box-shadow .16s ease;
}
.rt-form .fluentform .ff-el-form-control:focus {
	border-color: var(--rt-gold-deep);
	box-shadow: 0 0 0 3px var(--rt-gold-soft);
	outline: none;
}
.rt-form .fluentform .ff-el-form-control::placeholder { color: var(--rt-faint); }
.rt-form .fluentform .ff-el-group { margin-bottom: 1.1rem; }

/* El asterisco de obligatorio, discreto */
.rt-form .fluentform .ff-el-is-required.asterisk-right label::after { color: var(--rt-gold-deep); }

/*
 * El campo de tipo de negocio es un grupo de radios. Se presenta como fichas
 * seleccionables: mas rapido de responder con el pulgar y menos formulario.
 */
.rt-form .fluentform .ff-el-input--content:has(.ff-el-form-check) {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
}
.rt-form .fluentform .ff-el-form-check { margin: 0; }
.rt-form .fluentform .ff-el-form-check-label {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	margin: 0;
	padding: .55rem .95rem;
	border: 1px solid var(--rt-line);
	border-radius: var(--rt-r-full);
	background: var(--rt-bg);
	font-size: .92rem;
	font-weight: 500;
	color: var(--rt-ink-2);
	cursor: pointer;
	transition: border-color .16s ease, background-color .16s ease;
}
.rt-form .fluentform .ff-el-form-check-label:hover { border-color: var(--rt-ink); }
.rt-form .fluentform .ff-el-form-check-input { accent-color: var(--rt-ink); margin: 0; }
.rt-form .fluentform .ff-el-form-check-label:has(:checked) {
	border-color: var(--rt-ink);
	background: var(--rt-gold-soft);
	color: var(--rt-ink);
	font-weight: 600;
}

/* El boton lleva estilos generados por el propio plugin, de ahi el peso extra */
.rt-form .fluentform .ff-btn-submit,
.rt-form .fluentform .ff-btn-submit.ff_btn_style {
	width: 100%;
	padding: 1rem 1.6rem;
	border: 0;
	border-radius: var(--rt-r-full);
	background: var(--rt-ink) !important;
	color: #fff !important;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.4;
	cursor: pointer;
	transition: background-color .16s ease, transform .16s ease;
}
.rt-form .fluentform .ff-btn-submit:hover,
.rt-form .fluentform .ff-btn-submit.ff_btn_style:hover {
	background: var(--rt-ink-2) !important;
	transform: translateY(-1px);
}

.rt-form .fluentform .ff-el-is-error .ff-el-form-control { border-color: var(--rt-bad); }
.rt-form .fluentform .error-text,
.rt-form .fluentform .text-danger,
.rt-form .fluentform .ff-el-is-error .error { color: var(--rt-bad); font-size: .85rem; }
.rt-form .fluentform .ff-message-success {
	padding: 1rem 1.15rem;
	border: 1px solid color-mix(in srgb, var(--rt-good) 30%, transparent);
	border-radius: var(--rt-r);
	background: var(--rt-good-soft);
	color: var(--rt-good);
}

/* ================================================== movil: todo centrado ==
 *
 * En pantalla estrecha la pagina se lee mejor con un solo eje: titulares,
 * entradillas, acciones y contenido de tarjeta van centrados. Se quedan
 * alineados a la izquierda solo el formulario y las filas del acordeon, donde
 * centrar dificulta rellenar y escanear.
 */

@media (max-width: 780px) {

	.rt-head,
	.rt-page__head { text-align: center; }

	.rt-lede { margin-inline: auto; }

	/* .rt-eyebrow es inline-flex, asi que se centra sola con el text-align */

	/* Listas con marca: la vineta pasa a ser parte de la linea */
	.rt-contact__steps li {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: .6rem;
	}

	.rt-closing__actions { justify-content: center; }

	/* Pie */
	.rt-footer { text-align: center; }
	.rt-footer__brand img { margin-inline: auto; }
	.rt-footer__brand p { margin-inline: auto; }
	.rt-footer__contact li { justify-content: center; }
	.rt-footer__contact .rt-icon { margin-top: .3em; }
	.rt-footer__bottom { justify-content: center; text-align: center; }

	/* Gracias y 404 ya venian centrados */
	.rt-thanks__steps li { text-align: center; }
}

/* ================================================ acceso al panel (OTP) === */

/*
 * Pantalla completa: sin navegacion ni pie. La tarjeta va centrada en el alto
 * del viewport, con la marca encima. dvh en vez de vh para que en movil no la
 * corte la barra del navegador.
 */
.rt-auth__screen {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: clamp(1.5rem, 4vh, 2.5rem);
	min-height: 100vh;
	min-height: 100dvh;
	padding: clamp(1.75rem, 5vw, 3rem) var(--rt-gutter);
	overflow: hidden;
}

.rt-auth__glow {
	position: absolute;
	top: -35%;
	left: 50%;
	transform: translateX(-50%);
	width: min(900px, 130vw);
	aspect-ratio: 1;
	background: radial-gradient(circle at 50% 50%, var(--rt-gold-soft) 0%, transparent 62%);
	pointer-events: none;
}

.rt-auth__brand { position: relative; display: inline-flex; }
.rt-auth__brand img { height: 38px; width: auto; }

.rt-auth__back { margin-top: 1.25rem; font-size: .875rem; }
.rt-auth__back a { color: var(--rt-faint); }
.rt-auth__back a:hover { color: var(--rt-ink); }

.rt-login__inner { position: relative; width: 100%; max-width: 26.5rem; text-align: center; }

.rt-login__notice {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	margin: 0 0 1.5rem;
	padding: .55rem 1rem;
	border: 1px solid var(--rt-gold-line);
	border-radius: var(--rt-r-full);
	background: var(--rt-gold-soft);
	font-size: .82rem;
	font-weight: 550;
	color: var(--rt-ink-2);
	text-align: left;
}
.rt-login__notice .rt-icon { width: 1em; height: 1em; flex: none; color: var(--rt-gold-deep); }

.rt-login__card {
	padding: clamp(1.75rem, 4vw, 2.75rem);
	border: 1px solid var(--rt-line);
	border-radius: var(--rt-r-xl);
	background: var(--rt-bg);
	box-shadow: var(--rt-sh-lg);
	text-align: left;
}

.rt-login__step { display: none; }
.rt-login__step.is-on { display: block; animation: rt-fade .25s ease both; }

.rt-login h1 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin-bottom: .6rem; }
.rt-login__lede { font-size: .95rem; color: var(--rt-muted); margin-bottom: 1.75rem; }
.rt-login__lede strong { color: var(--rt-ink); }

.rt-login__label {
	display: block;
	margin-bottom: .45rem;
	font-size: .875rem;
	font-weight: 600;
	color: var(--rt-ink);
}
.rt-login__input {
	width: 100%;
	margin-bottom: 1.15rem;
	padding: .85rem 1rem;
	border: 1px solid var(--rt-line);
	border-radius: var(--rt-r);
	background: var(--rt-bg);
	font-size: 1rem;
	transition: border-color .16s ease, box-shadow .16s ease;
}
.rt-login__input:focus {
	border-color: var(--rt-gold-deep);
	box-shadow: 0 0 0 3px var(--rt-gold-soft);
	outline: none;
}

/* Las seis casillas del codigo */
.rt-otp { display: flex; gap: .5rem; margin-bottom: 1.35rem; }
.rt-otp__box {
	flex: 1;
	min-width: 0;
	aspect-ratio: 3 / 4;
	padding: 0;
	border: 1px solid var(--rt-line);
	border-radius: var(--rt-r);
	background: var(--rt-bg);
	font-size: clamp(1.2rem, 5vw, 1.6rem);
	font-weight: 700;
	text-align: center;
	color: var(--rt-ink);
	transition: border-color .16s ease, box-shadow .16s ease;
}
.rt-otp__box:focus {
	border-color: var(--rt-ink);
	box-shadow: 0 0 0 3px var(--rt-surface-2);
	outline: none;
}
.rt-otp__box:not(:placeholder-shown) { border-color: var(--rt-ink); }

.rt-login__foot { margin: 1.25rem 0 0; font-size: .9rem; color: var(--rt-muted); text-align: center; }
.rt-login__foot a { color: var(--rt-ink); text-decoration: underline; text-decoration-color: var(--rt-gold); text-decoration-thickness: 2px; }

.rt-login__link {
	border: 0;
	padding: 0;
	background: none;
	font: inherit;
	color: var(--rt-ink);
	text-decoration: underline;
	text-decoration-color: var(--rt-gold);
	text-decoration-thickness: 2px;
	cursor: pointer;
}

.rt-login__help { margin-top: 1.5rem; font-size: .875rem; color: var(--rt-faint); }
.rt-login__help a { color: var(--rt-muted); }

/* --------------------------- selector de color del producto --------------- */

.rt-hw__media { position: relative; }

/*
 * Las variantes se apilan en la misma celda de rejilla y se alternan con
 * opacidad. Con display:none el navegador no llegaba a descargar la imagen
 * oculta (lleva loading=lazy) y al cambiar de color aparecia en 0x0 hasta
 * terminar de cargar. Asi ambas estan maquetadas desde el principio, no hay
 * salto, y el cambio se funde.
 */
.rt-hw__img {
	grid-area: 1 / 1;
	opacity: 0;
	transition: opacity .25s ease;
}
.rt-hw__img.is-on { opacity: 1; }

.rt-swatches {
	position: absolute;
	left: 50%;
	bottom: 1rem;
	transform: translateX(-50%);
	display: flex;
	gap: .45rem;
	padding: .35rem;
	border: 1px solid var(--rt-line);
	border-radius: var(--rt-r-full);
	background: hsl(0 0% 100% / .86);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	box-shadow: var(--rt-sh-sm);
}

.rt-swatch {
	width: 1.5rem;
	height: 1.5rem;
	padding: 0;
	border: 1px solid var(--rt-line);
	border-radius: 50%;
	background: var(--rt-swatch);
	cursor: pointer;
	transition: transform .16s ease, box-shadow .16s ease;
}
.rt-swatch:hover { transform: scale(1.08); }
.rt-swatch.is-on {
	box-shadow: 0 0 0 2px var(--rt-bg), 0 0 0 4px var(--rt-ink);
}

/* --------------------------------------------------------- aviso de cookies */
/* Abajo, sin tapar la pagina y sin ventana modal: no se puede exigir el si
   para leer, asi que las dos opciones pesan lo mismo y se ven a la vez. */

.rt-cookies {
	position: fixed;
	inset: auto 0 0 0;
	z-index: 90;
	padding: 0 clamp(.75rem, 3vw, 1.5rem) clamp(.75rem, 3vw, 1.5rem);
	animation: rt-cookiesin .3s ease both;
}
@keyframes rt-cookiesin { from { opacity: 0; transform: translateY(12px); } }

.rt-cookies__box {
	display: grid;
	gap: .7rem;
	width: 100%;
	max-width: 44rem;
	margin-inline: auto;
	padding: .8rem 1rem;
	border: 1px solid var(--rt-dark-line);
	border-radius: .9rem;
	background: var(--rt-dark);
	color: var(--rt-dark-fg);
	box-shadow: 0 16px 40px hsl(24 9% 7% / .32);
}
@media (min-width: 760px) {
	.rt-cookies__box { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1rem; }
	.rt-cookies__detail { grid-column: 1 / -1; }
}

.rt-cookies__title { margin: 0 0 .1rem; font-size: .88rem; font-weight: 700; }
.rt-cookies__text { margin: 0; font-size: .8rem; line-height: 1.5; color: var(--rt-dark-muted); }

.rt-cookies__more {
	border: 0;
	background: none;
	padding: 0;
	font: inherit;
	font-size: .8rem;
	font-weight: 650;
	color: var(--rt-gold);
	text-decoration: underline;
	text-underline-offset: .18em;
	cursor: pointer;
}

.rt-cookies__acts { display: flex; gap: .4rem; flex-wrap: wrap; }

/* El boton de aceptar va en dorado: es la marca y ademas se ve sobre el negro */
.rt-cookies__acts .rt-btn--primary {
	background: var(--rt-gold);
	border-color: var(--rt-gold);
	color: var(--rt-ink);
}
.rt-cookies__acts .rt-btn--primary:hover { background: var(--rt-gold-deep); border-color: var(--rt-gold-deep); }
.rt-cookies__acts .rt-btn { padding: .5rem .9rem; font-size: .82rem; }
.rt-cookies__acts .rt-btn--ghost {
	border-color: var(--rt-dark-line);
	color: var(--rt-dark-fg);
	background: transparent;
}
.rt-cookies__acts .rt-btn--ghost:hover { border-color: var(--rt-dark-fg); }

.rt-cookies__detail {
	display: grid;
	gap: .7rem;
	max-height: 40vh;
	overflow-y: auto;
	padding-top: .8rem;
	border-top: 1px solid var(--rt-dark-line);
}
.rt-cookies__detail[hidden] { display: none; }
.rt-cookies__row strong { display: block; font-size: .85rem; color: var(--rt-dark-fg); }
.rt-cookies__row p { margin: .25rem 0 0; font-size: .82rem; line-height: 1.5; color: var(--rt-dark-muted); }
.rt-cookies__meta { font-size: .78rem !important; color: var(--rt-faint) !important; }
.rt-cookies__meta code {
	font-size: .95em;
	color: var(--rt-dark-fg);
	background: hsl(0 0% 100% / .07);
	padding: .1rem .35rem;
	border-radius: .3rem;
}
.rt-cookies__meta a { color: var(--rt-gold); }

/* ------------------------------------------------------- pagina de gracias */

.rt-thanks__card {
	max-width: 30rem;
	margin: 2rem auto 0;
	border: 1px solid var(--rt-line);
	border-radius: 1.1rem;
	background: var(--rt-bg);
	overflow: hidden;
	text-align: left;
}
.rt-thanks__row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	padding: .8rem 1.1rem;
	border-bottom: 1px solid var(--rt-line-soft);
	font-size: .92rem;
}
.rt-thanks__row:last-child { border-bottom: 0; }
.rt-thanks__row span { color: var(--rt-muted); flex: none; }
.rt-thanks__row strong { text-align: right; }
.rt-thanks__row--total { background: var(--rt-surface); font-size: 1.05rem; }

.rt-thanks__next { max-width: 32rem; margin: 2.5rem auto 0; text-align: left; }
.rt-thanks__next h2 { font-size: 1.15rem; margin: 0 0 1rem; text-align: center; }
.rt-thanks__next ol {
	list-style: none;
	counter-reset: rt-step;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1rem;
}
.rt-thanks__next li {
	counter-increment: rt-step;
	position: relative;
	padding-left: 2.4rem;
	font-size: .95rem;
	line-height: 1.55;
	color: var(--rt-muted);
}
.rt-thanks__next li::before {
	content: counter(rt-step);
	position: absolute;
	left: 0;
	top: -.1rem;
	display: grid;
	place-items: center;
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 50%;
	background: var(--rt-gold-soft);
	color: var(--rt-gold-deep);
	font-size: .85rem;
	font-weight: 700;
}
.rt-thanks__next li strong { color: var(--rt-ink); }

.rt-thanks__cta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .6rem;
	margin-top: 2rem;
}
.rt-thanks__help { margin-top: 2rem; font-size: .88rem; color: var(--rt-muted); text-align: center; }
.rt-thanks__brand { display: block; margin: 0 auto 2rem; width: 9rem; }
.rt-thanks__brand img { width: 100%; height: auto; }
.rt-thanks {
	max-width: 44rem;
	margin-inline: auto;
	padding: clamp(2rem, 6vw, 4rem) 1.25rem 4rem;
	text-align: center;
}
