/* NeF Valuación — estilos aislados (prefijo .nefv). Ajuste los colores en las variables. */
.nefv {
	--nefv-navy: #102a43;      /* azul institucional */
	--nefv-navy-2: #1c4066;
	--nefv-gold: #c9962e;      /* acento dorado */
	--nefv-bg: #ffffff;
	--nefv-line: #dbe3ec;
	--nefv-text: #22303f;
	--nefv-muted: #5b6b7c;
	--nefv-error: #b32d2e;
	--nefv-radius: 14px;
	font-family: inherit;
	color: var(--nefv-text);
	max-width: 640px;
	margin: 0 auto;
}

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

.nefv-card {
	background: var(--nefv-bg);
	border: 1px solid var(--nefv-line);
	border-top: 5px solid var(--nefv-gold);
	border-radius: var(--nefv-radius);
	padding: 28px 26px 30px;
	box-shadow: 0 10px 30px rgba(16, 42, 67, 0.08);
}

.nefv-eyebrow {
	display: inline-block;
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--nefv-gold);
	margin-bottom: 6px;
}

.nefv-title {
	margin: 0 0 8px;
	font-size: clamp(22px, 4vw, 30px);
	line-height: 1.2;
	color: var(--nefv-navy);
}

.nefv-sub { margin: 0 0 14px; color: var(--nefv-muted); font-size: 15px; line-height: 1.55; }

.nefv-progress { display: flex; align-items: center; margin: 6px 0 18px; }
.nefv-dot {
	width: 12px; height: 12px; border-radius: 50%;
	background: var(--nefv-line); flex: none;
}
.nefv-dot.nefv-on { background: var(--nefv-gold); box-shadow: 0 0 0 4px rgba(201, 150, 46, 0.18); }
.nefv-dot.nefv-done { background: var(--nefv-navy); }
.nefv-line { height: 2px; flex: 1; background: var(--nefv-line); margin: 0 6px; }
.nefv-line.nefv-on { background: var(--nefv-navy); }

.nefv-steptitle { margin: 0 0 12px; font-size: 18px; color: var(--nefv-navy); }

.nefv-label {
	display: block;
	font-weight: 600;
	font-size: 14px;
	margin: 14px 0 6px;
	color: var(--nefv-navy-2);
}

.nefv-input {
	width: 100%;
	padding: 12px 14px;
	font-size: 16px;
	border: 1px solid var(--nefv-line);
	border-radius: 10px;
	background: #fbfcfe;
	color: var(--nefv-text);
	transition: border-color 0.15s, box-shadow 0.15s;
}
.nefv-input:focus {
	outline: none;
	border-color: var(--nefv-gold);
	box-shadow: 0 0 0 3px rgba(201, 150, 46, 0.22);
}

.nefv-help {
	display: inline-flex; align-items: center; justify-content: center;
	width: 18px; height: 18px; margin-left: 6px;
	border: 1px solid var(--nefv-gold); border-radius: 50%;
	background: transparent; color: var(--nefv-gold);
	font-size: 12px; font-weight: 700; cursor: pointer; line-height: 1;
}
.nefv-help:focus-visible { outline: 2px solid var(--nefv-navy); outline-offset: 2px; }

.nefv-helptext {
	background: #f4f7fb;
	border-left: 3px solid var(--nefv-gold);
	padding: 10px 12px;
	font-size: 13.5px;
	color: var(--nefv-muted);
	border-radius: 0 8px 8px 0;
	margin: 0 0 8px;
}

.nefv-btn {
	display: inline-block;
	width: 100%;
	margin-top: 18px;
	padding: 14px 18px;
	font-size: 16px;
	font-weight: 700;
	text-align: center;
	color: #fff;
	background: var(--nefv-navy);
	border: none;
	border-radius: 10px;
	cursor: pointer;
	text-decoration: none;
	transition: background 0.15s, transform 0.08s;
}
.nefv-btn:hover { background: var(--nefv-navy-2); color: #fff; }
.nefv-btn:active { transform: translateY(1px); }
.nefv-btn:focus-visible { outline: 3px solid var(--nefv-gold); outline-offset: 2px; }
.nefv-btn.nefv-ghost {
	background: transparent;
	color: var(--nefv-navy);
	border: 1px solid var(--nefv-line);
}
.nefv-btn.nefv-cta { background: var(--nefv-gold); color: #1c1608; }
.nefv-btn.nefv-cta:hover { background: #b3841f; }
.nefv-btn:disabled { opacity: 0.6; cursor: wait; }

.nefv-row { display: flex; gap: 10px; }
.nefv-row .nefv-ghost { flex: 0 0 34%; }

.nefv-consent {
	display: flex; gap: 10px; align-items: flex-start;
	margin-top: 16px; font-size: 13.5px; color: var(--nefv-muted); line-height: 1.5;
}
.nefv-consent input { margin-top: 3px; accent-color: var(--nefv-gold); }

.nefv-hp { position: absolute !important; left: -9999px !important; height: 1px; width: 1px; opacity: 0; }

.nefv-error {
	color: var(--nefv-error);
	background: #fdf0f0;
	border-radius: 8px;
	padding: 10px 12px;
	font-size: 14px;
	margin: 12px 0 0;
}

.nefv-result {
	background: linear-gradient(160deg, var(--nefv-navy) 0%, var(--nefv-navy-2) 100%);
	color: #fff;
	border-radius: 12px;
	padding: 26px 22px;
	text-align: center;
	margin: 6px 0 4px;
}
.nefv-res-label {
	margin: 0 0 6px;
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #d8c58f;
	font-weight: 700;
}
.nefv-res-range {
	margin: 0;
	font-size: clamp(26px, 5vw, 38px);
	font-weight: 800;
	letter-spacing: -0.01em;
}
.nefv-res-mid { margin: 6px 0 0; font-size: 15px; color: #cdd9e6; }
.nefv-res-detail { margin: 12px 0 0; font-size: 13.5px; color: #a9bccf; }

.nefv-disclaimer {
	margin: 16px 0 0;
	font-size: 12px;
	line-height: 1.55;
	color: var(--nefv-muted);
}

@media (max-width: 480px) {
	.nefv-card { padding: 22px 16px 24px; }
	.nefv-row { flex-direction: column; }
	.nefv-row .nefv-ghost { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
	.nefv * { transition: none !important; }
}
