/* Reyes Living · Calculadora de hipoteca
   Paleta y tipografía tomadas de reyesliving.com: marfil + marino + dorado,
   Playfair Display para titulares y DM Sans para el resto.
   Diseño minimalista: pocas líneas, mucho aire, un único acento marcado
   (el panel de resultado). Todo el bloque va con prefijo .rlhipo. */

.rlhipo {
	--rlhipo-piedra: #F8F5EF;
	--rlhipo-piedra-alta: #FFFFFF;
	--rlhipo-tinta: #15212A;
	--rlhipo-tinta-suave: #7C858D;
	--rlhipo-marino: #153C64;
	--rlhipo-marino-linea: rgba(255, 255, 255, 0.14);
	--rlhipo-oro: #C48D46;
	--rlhipo-oro-claro: #D5A573;
	--rlhipo-linea: #EAE5DA;

	--rlhipo-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
	--rlhipo-cuerpo: 'DM Sans', Arial, sans-serif;
	--rlhipo-cifra: 'DM Sans', Arial, sans-serif;

	background: var(--rlhipo-piedra);
	color: var(--rlhipo-tinta);
	font-family: var(--rlhipo-cuerpo);
	padding: clamp(24px, 4vw, 48px) 0;
	max-width: 1080px;
	margin: 0 auto;
	box-sizing: border-box;
border-radius:30px;
}
.rlhipo *, .rlhipo *::before, .rlhipo *::after { box-sizing: border-box; }

.rlhipo__intro { max-width: 70%; margin: 0 auto 48px; padding: 0 clamp(20px, 3vw, 32px); }

.rlhipo__eyebrow {
	font-family: var(--rlhipo-cuerpo);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--rlhipo-oro);
	margin: 0 0 14px;
}
.rlhipo__titulo {
	font-family: var(--rlhipo-display);
	font-weight: 500;
	font-size: clamp(28px, 3.2vw, 38px);
	line-height: 1.15;
	letter-spacing: -0.01em;
	margin: 0 0 14px;
	color: var(--rlhipo-tinta);
}
.rlhipo__subtitulo {
	font-size: 15px;
	line-height: 1.65;
	color: var(--rlhipo-tinta-suave);
	margin: 0;
}

.rlhipo__grid {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 0;
}
@media (max-width: 860px) {
	.rlhipo__grid { grid-template-columns: 1fr; }
}

.rlhipo__panel {
	padding: 0 clamp(20px, 3vw, 32px);
}
@media (min-width: 861px) {
	.rlhipo__panel { border-right: 1px solid var(--rlhipo-linea); padding-right: clamp(28px, 4vw, 48px); }
}
@media (max-width: 860px) {
	.rlhipo__panel { padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--rlhipo-linea); }
}

.rlhipo__campo { margin-bottom: 32px; }
.rlhipo__campo:last-child { margin-bottom: 0; }

.rlhipo__campo-header {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	margin-bottom: 12px;
}
.rlhipo__campo-header label {
	font-size: 12px;
	font-weight: 600;
	color: var(--rlhipo-tinta-suave);
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.rlhipo__valor-editable {
	display: inline-flex;
	align-items: baseline;
	gap: 4px;
}

.rlhipo__num {
	font-family: var(--rlhipo-display);
	font-variant-numeric: tabular-nums;
	font-size: 20px;
	font-weight: 500;
	color: var(--rlhipo-tinta);
	background: transparent;
	border: none;
	outline: none;
	text-align: right;
	width: 8ch;
	padding: 0;
	-moz-appearance: textfield;
}
.rlhipo__num--sm { width: 3.5ch; font-size: 17px; }
.rlhipo__num::-webkit-outer-spin-button,
.rlhipo__num::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
.rlhipo__num-suf {
	font-family: var(--rlhipo-cuerpo);
	font-size: 12px;
	color: var(--rlhipo-tinta-suave);
	padding-bottom: 2px;
}

.rlhipo__slider {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 1px;
	background: var(--rlhipo-linea);
	outline: none;
	margin: 6px 0;
}
.rlhipo__slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: var(--rlhipo-marino);
	cursor: pointer;
}
.rlhipo__slider::-moz-range-thumb {
	width: 11px;
	height: 11px;
	border: none;
	border-radius: 50%;
	background: var(--rlhipo-marino);
	cursor: pointer;
}

.rlhipo__minmax {
	display: flex;
	justify-content: space-between;
	font-size: 10.5px;
	color: var(--rlhipo-tinta-suave);
	opacity: 0.75;
}
.rlhipo__minmax span:nth-child(2):not(:last-child) { display: none; }
@media (min-width: 480px) {
	.rlhipo__minmax span:nth-child(2):not(:last-child) { display: inline; }
}

.rlhipo__aviso {
	font-size: 12px;
	line-height: 1.55;
	color: var(--rlhipo-tinta-suave);
	margin: 8px 0 0;
}

.rlhipo__pills { display: flex; gap: 20px; flex-wrap: wrap; }
.rlhipo__pill {
	font-family: var(--rlhipo-cuerpo);
	font-size: 13px;
	font-weight: 500;
	padding: 0 0 3px;
	border: none;
	border-bottom: 1px solid transparent;
	background: transparent;
	color: var(--rlhipo-tinta-suave);
	cursor: pointer;
	transition: color 0.15s ease, border-color 0.15s ease;
}
.rlhipo__pill:hover { color: var(--rlhipo-tinta); }
.rlhipo__pill.is-active {
	color: var(--rlhipo-tinta);
	font-weight: 600;
	border-bottom-color: var(--rlhipo-oro);
}

.rlhipo__select {
	width: 100%;
	font-family: var(--rlhipo-cuerpo);
	font-size: 13px;
	padding: 8px 0;
	border: none;
	border-bottom: 1px solid var(--rlhipo-linea);
	border-radius: 0;
	background: transparent;
	color: var(--rlhipo-tinta);
}
.rlhipo__select:focus { outline: none; border-bottom-color: var(--rlhipo-oro); }

.rlhipo__fila-doble {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
	margin-top: 32px;
	padding-top: 32px;
	border-top: 1px solid var(--rlhipo-linea);
}
@media (max-width: 560px) {
	.rlhipo__fila-doble { grid-template-columns: 1fr; }
}

/* Resultado — único acento con peso visual: panel marino */
.rlhipo__resultado {
	padding: clamp(28px, 4vw, 44px) clamp(20px, 3vw, 40px);
	background: var(--rlhipo-marino);
	color: var(--rlhipo-piedra);
	display: flex;
	flex-direction: column;
}
@media (min-width: 861px) {
	    .rlhipo__resultado {

        margin: 0px 30px;
        border-radius: 30px;
    } }
}

.rlhipo__resultado-principal { margin-bottom: 32px; }
.rlhipo__resultado-etiqueta {
	display: block;
	font-family: var(--rlhipo-cuerpo);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--rlhipo-oro-claro);
	margin-bottom: 12px;
}
.rlhipo__resultado-cifra {
	font-family: var(--rlhipo-display);
	font-size: clamp(36px, 4.6vw, 46px);
	font-weight: 500;
	color: #fff;
	line-height: 1;
}

.rlhipo__lista {
	margin: 0 0 32px;
}
.rlhipo__lista-fila {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	padding: 12px 0;
	font-size: 14px;
	border-top: 1px solid var(--rlhipo-marino-linea);
}
.rlhipo__lista-fila dt { color: rgba(255, 255, 255, 0.6); margin: 0; font-weight: 400; }
.rlhipo__lista-fila dd {
	margin: 0;
	font-family: var(--rlhipo-cifra);
	font-variant-numeric: tabular-nums;
	color: #fff;
	font-weight: 600;
}
.rlhipo__lista-fila--destacada dd { color: var(--rlhipo-oro-claro); font-size: 16px; }

.rlhipo__lista-sub {
	padding: 4px 0 12px;
}
.rlhipo__lista-sub div {
	display: flex;
	justify-content: space-between;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.45);
	padding: 5px 0;
}
.rlhipo__lista-sub div span:last-child {
	font-family: var(--rlhipo-cifra);
	font-variant-numeric: tabular-nums;
	color: rgba(255, 255, 255, 0.7);
}

.rlhipo__cta {
	display: block;
	text-align: center;
	text-decoration: none;
	font-family: var(--rlhipo-cuerpo);
	font-weight: 600;
	font-size: 12px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #171B1E;
	background: var(--rlhipo-oro);
	border-radius: 2px;
	padding: 15px 20px;
	margin-top: auto;
	transition: background 0.15s ease;
}
.rlhipo__cta:hover { background: var(--rlhipo-oro-claro); }

.rlhipo__disclaimer {
	font-size: 11px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.4);
	margin: 14px 0 0;
}
