/* Hoja de registro contextual (Theme 1.20.0). Hoja inferior en móvil, tarjeta centrada en escritorio. */

.indf-reg[hidden] {
	display: none;
}

.indf-reg {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: flex-end;
	justify-content: center;
}

.indf-reg__fondo {
	position: absolute;
	inset: 0;
	background: rgba( 28, 27, 25, 0.72 );
}

.indf-reg__hoja {
	position: relative;
	width: 100%;
	max-width: 480px;
	max-height: 92vh;
	overflow-y: auto;
	background: var( --indf-crema );
	color: var( --indf-negro );
	border: 3px solid var( --indf-negro );
	border-bottom: 0;
	box-shadow: 0 -6px 0 var( --indf-turquesa );
	padding: 26px 22px calc( 22px + env( safe-area-inset-bottom, 0px ) );
	outline: none;
}

.indf-reg__x {
	position: absolute;
	top: 8px;
	right: 10px;
	width: 44px;
	height: 44px;
	font-size: 1.8rem;
	line-height: 1;
	background: none;
	border: 0;
	cursor: pointer;
	color: var( --indf-negro );
}

.indf-reg__kicker {
	font-family: var( --fuente-ui );
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.75rem;
	font-weight: 700;
	color: var( --indf-turquesa-oscuro );
	margin: 0 0 4px;
}

.indf-reg__titulo {
	font-family: var( --fuente-display );
	text-transform: uppercase;
	font-weight: 400;
	font-size: 1.9rem;
	line-height: 1.05;
	margin: 0 40px 8px 0;
}

.indf-reg__lead {
	font-family: var( --fuente-cuerpo );
	font-size: 1rem;
	line-height: 1.45;
	margin: 0 0 12px;
}

.indf-reg__ventajas {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
	font-family: var( --fuente-ui );
	font-size: 0.92rem;
}

.indf-reg__ventajas li {
	padding-left: 22px;
	position: relative;
	margin-bottom: 4px;
}

.indf-reg__ventajas li::before {
	content: '✓';
	position: absolute;
	left: 0;
	color: var( --indf-turquesa-oscuro );
	font-weight: 700;
}

.indf-reg__acciones {
	display: grid;
	gap: 12px;
	margin-bottom: 12px;
}

.indf-reg__boton {
	display: block;
	text-align: center;
	min-height: 48px;
}

.indf-reg__nota {
	font-family: var( --fuente-ui );
	font-size: 0.78rem;
	line-height: 1.4;
	color: #4a4740;
	margin: 0 0 8px;
}

.indf-reg__nota a {
	color: inherit;
}

.indf-reg__ahora-no {
	display: block;
	margin: 0 auto;
	font-family: var( --fuente-ui );
	font-size: 0.88rem;
	background: none;
	border: 0;
	text-decoration: underline;
	cursor: pointer;
	color: var( --indf-negro );
	min-height: 44px;
}

html.indf-reg-abierta {
	overflow: hidden;
}

@media ( min-width: 640px ) {
	.indf-reg {
		align-items: center;
	}

	.indf-reg__hoja {
		border-bottom: 3px solid var( --indf-negro );
		box-shadow: 8px 8px 0 var( --indf-turquesa );
	}
}
