/* Nenalisi HYLA Demo — mockup-aligned wizard */

.nhd {
	--nhd-ink: #142033;
	--nhd-muted: #7a8494;
	--nhd-line: #e4e7ec;
	--nhd-soft: #f3f4f6;
	--nhd-card: #ffffff;
	--nhd-page: transparent;
	--nhd-cta: #d7ef43;
	--nhd-cta-ink: #111111;
	--nhd-danger: #b42318;
	--nhd-radius: 28px;
	--nhd-radius-sm: 18px;
	--nhd-shadow: 0 18px 50px rgba(20, 32, 51, 0.08);
	--nhd-font: inherit;

	box-sizing: border-box;
	width: 100%;
	max-width: 920px;
	margin: 0 auto;
	padding: 0.5rem 0 1rem;
	color: var(--nhd-ink);
	font-family: var(--nhd-font);
	background: var(--nhd-page);
}

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

.nhd .nhd-is-hidden,
.nhd [hidden] {
	display: none !important;
}

.nhd-header {
	text-align: center;
	margin: 0 0 1.5rem;
}

.nhd-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0 0 1rem;
	padding: 0.45rem 0.95rem;
	border: 1px solid var(--nhd-line);
	border-radius: 999px;
	background: #fff;
	color: var(--nhd-muted);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.nhd-title {
	margin: 0 0 0.65rem;
	padding: 0;
	border: 0;
	background: none;
	font-size: clamp(1.8rem, 3.2vw, 2.45rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.03em;
	color: var(--nhd-ink);
	text-transform: none;
}

.nhd-lead {
	margin: 0 auto;
	max-width: 36rem;
	font-size: 1rem;
	line-height: 1.55;
	color: var(--nhd-muted);
}

.nhd-shell {
	background: var(--nhd-card);
	border-radius: var(--nhd-radius);
	box-shadow: var(--nhd-shadow);
	padding: 1.6rem 1.7rem 1.35rem;
}

/* Progress */
.nhd-progress {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.75rem;
	margin: 0 0 1.75rem;
}

.nhd-progress__item {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	min-width: 0;
}

.nhd-progress__bar {
	display: block;
	height: 5px;
	border-radius: 999px;
	background: #e8ebf0;
}

.nhd-progress__meta {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	color: var(--nhd-muted);
	font-size: 0.92rem;
	font-weight: 600;
}

.nhd-progress__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.55rem;
	height: 1.55rem;
	border-radius: 999px;
	background: #e8ebf0;
	color: var(--nhd-muted);
	font-size: 0.78rem;
	font-weight: 700;
}

.nhd-progress__item.is-active .nhd-progress__bar,
.nhd-progress__item.is-done .nhd-progress__bar {
	background: var(--nhd-ink);
}

.nhd-progress__item.is-active .nhd-progress__meta,
.nhd-progress__item.is-done .nhd-progress__meta {
	color: var(--nhd-ink);
}

.nhd-progress__item.is-active .nhd-progress__num,
.nhd-progress__item.is-done .nhd-progress__num {
	background: var(--nhd-ink);
	color: #fff;
}

.nhd-progress__item.is-done .nhd-progress__num {
	font-size: 0.75rem;
}

/* Panels */
.nhd-panel {
	display: none;
}

.nhd-panel.is-active {
	display: block;
	animation: nhd-fade 0.28s ease;
}

.nhd-kicker {
	margin: 0 0 0.45rem;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #98a2b3;
}

.nhd-panel-title {
	margin: 0 0 0.35rem;
	padding: 0;
	border: 0;
	background: none;
	font-size: clamp(1.25rem, 2vw, 1.55rem);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.02em;
	color: var(--nhd-ink);
	text-transform: none;
}

.nhd-panel-text {
	margin: 0 0 1.35rem;
	font-size: 0.98rem;
	line-height: 1.5;
	color: var(--nhd-muted);
}

.nhd-form {
	position: relative;
}

.nhd-honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.nhd-field {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	margin-bottom: 1.2rem;
}

.nhd-field--full {
	grid-column: 1 / -1;
}

.nhd-field-label {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #98a2b3;
}

.nhd-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.9rem 1rem;
}

.nhd-field input[type="text"],
.nhd-field input[type="email"],
.nhd-field input[type="tel"],
.nhd-field textarea {
	width: 100%;
	padding: 0.95rem 1rem;
	border: 1px solid var(--nhd-line);
	border-radius: 14px;
	background: #fff;
	color: var(--nhd-ink);
	font: inherit;
	font-size: 1rem;
	line-height: 1.4;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nhd-field textarea {
	resize: vertical;
	min-height: 96px;
}

.nhd-field input:focus,
.nhd-field textarea:focus {
	outline: none;
	border-color: var(--nhd-ink);
	box-shadow: 0 0 0 3px rgba(215, 239, 67, 0.35);
}

.nhd-field.is-invalid input,
.nhd-field.is-invalid textarea,
.nhd-field.is-invalid .nhd-option-grid,
.nhd-field.is-invalid .nhd-days {
	border-color: var(--nhd-danger);
}

/* Option cards */
.nhd-option-grid {
	display: grid;
	gap: 0.85rem;
}

.nhd-option-grid--2 {
	grid-template-columns: repeat(2, 1fr);
}

.nhd-option-grid--3 {
	grid-template-columns: repeat(3, 1fr);
}

.nhd-option {
	position: relative;
	display: block;
	cursor: pointer;
}

.nhd-option input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.nhd-option__body {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.3rem;
	min-height: 100%;
	padding: 1.2rem 1.15rem;
	border: 1.5px solid var(--nhd-line);
	border-radius: var(--nhd-radius-sm);
	background: #fff;
	transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.nhd-option--compact .nhd-option__body {
	align-items: center;
	text-align: center;
	padding: 1.1rem 0.85rem;
}

.nhd-option:hover .nhd-option__body {
	border-color: #cfd5de;
}

.nhd-option input:checked + .nhd-option__body {
	border-color: var(--nhd-ink);
	box-shadow: inset 0 0 0 1px var(--nhd-ink);
}

.nhd-option__radio {
	position: absolute;
	top: 1rem;
	right: 1rem;
	width: 1.15rem;
	height: 1.15rem;
	border: 1.5px solid #c5ccd6;
	border-radius: 999px;
	background: #fff;
}

.nhd-option input:checked + .nhd-option__body .nhd-option__radio {
	border-color: var(--nhd-ink);
	box-shadow: inset 0 0 0 4px var(--nhd-ink);
}

.nhd-option__icon {
	width: 2.35rem;
	height: 2.35rem;
	margin-bottom: 0.55rem;
	border-radius: 12px;
	background-color: var(--nhd-soft);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 1.2rem 1.2rem;
}

.nhd-option--home .nhd-option__icon {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23142033' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Cpath d='M4 10.5 12 4l8 6.5V20a1 1 0 0 1-1 1h-5v-6H10v6H5a1 1 0 0 1-1-1v-9.5Z'/%3E%3C/svg%3E");
}

.nhd-option--video .nhd-option__icon {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23142033' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Crect x='3' y='6' width='12' height='12' rx='2'/%3E%3Cpath d='m15 10 6-3v10l-6-3v-4Z'/%3E%3C/svg%3E");
}

.nhd-option__label {
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.25;
	color: var(--nhd-ink);
}

.nhd-option__hint {
	font-size: 0.9rem;
	line-height: 1.4;
	color: var(--nhd-muted);
}

/* Month + day picker */
.nhd-months {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.nhd-month {
	appearance: none;
	margin: 0;
	padding: 0.55rem 0.95rem;
	border: 1.5px solid var(--nhd-line);
	border-radius: 999px;
	background: #fff;
	color: var(--nhd-muted);
	font: inherit;
	font-size: 0.9rem;
	font-weight: 600;
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.nhd-month:hover {
	border-color: #cfd5de;
	color: var(--nhd-ink);
}

.nhd-month.is-active {
	border-color: var(--nhd-ink);
	background: var(--nhd-ink);
	color: #fff;
}

.nhd-days-scroll {
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	scroll-snap-type: x proximity;
	padding: 0.15rem 0 0.45rem;
	margin: 0;
	scrollbar-width: thin;
	scrollbar-color: #c5ccd6 transparent;
}

.nhd-days-scroll::-webkit-scrollbar {
	height: 6px;
}

.nhd-days-scroll::-webkit-scrollbar-thumb {
	background: #c5ccd6;
	border-radius: 999px;
}

.nhd-days {
	display: flex;
	gap: 0.65rem;
	width: max-content;
	min-width: 100%;
}

.nhd-day {
	position: relative;
	display: block;
	flex: 0 0 4.6rem;
	scroll-snap-align: start;
	cursor: pointer;
}

.nhd-day.is-month-hidden {
	display: none !important;
}

.nhd-day input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.nhd-day__body {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.15rem;
	min-height: 5.6rem;
	padding: 0.7rem 0.35rem;
	border: 1.5px solid var(--nhd-line);
	border-radius: 16px;
	background: #fff;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nhd-day:hover .nhd-day__body {
	border-color: #cfd5de;
}

.nhd-day input:checked + .nhd-day__body {
	border-color: var(--nhd-ink);
	box-shadow: inset 0 0 0 1px var(--nhd-ink);
}

.nhd-day__dow {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--nhd-muted);
}

.nhd-day__num {
	font-size: 1.45rem;
	font-weight: 700;
	line-height: 1.1;
	color: var(--nhd-ink);
}

.nhd-day__mon {
	font-size: 0.82rem;
	color: var(--nhd-muted);
}

.nhd-summary {
	display: none;
	margin: 0 0 1.1rem;
	padding: 0.85rem 1rem;
	border-radius: 14px;
	background: var(--nhd-soft);
	border: 1px solid var(--nhd-line);
	font-size: 0.92rem;
	color: var(--nhd-ink);
}

.nhd-summary.is-visible {
	display: block;
}

.nhd-check {
	display: flex;
	gap: 0.7rem;
	align-items: flex-start;
	font-size: 0.9rem;
	line-height: 1.45;
	color: var(--nhd-muted);
	cursor: pointer;
}

.nhd-check input {
	margin-top: 0.2rem;
	width: 1.05rem;
	height: 1.05rem;
	accent-color: var(--nhd-ink);
	flex-shrink: 0;
}

.nhd-check a {
	color: var(--nhd-ink);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.nhd-error {
	margin: 0 0 0.85rem;
	padding: 0.75rem 0.9rem;
	border-radius: 12px;
	background: #fef3f2;
	color: var(--nhd-danger);
	font-size: 0.92rem;
}

/* Footer nav */
.nhd-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 0.35rem;
	padding-top: 1.15rem;
	border-top: 1px solid var(--nhd-line);
}

.nhd-footer__hint {
	margin: 0;
	font-size: 0.92rem;
	color: var(--nhd-muted);
}

.nhd-link {
	appearance: none;
	border: 0;
	background: transparent;
	padding: 0;
	margin: 0;
	color: var(--nhd-muted);
	font: inherit;
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
}

.nhd-link:hover {
	color: var(--nhd-ink);
}

.nhd-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	min-height: 3.15rem;
	min-width: 10.5rem;
	padding: 0.85rem 1.6rem;
	border: 0;
	border-radius: 999px;
	font: inherit;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.15s ease, filter 0.15s ease, opacity 0.15s ease;
}

.nhd-btn:hover {
	transform: translateY(-1px);
}

.nhd-btn:disabled {
	opacity: 0.65;
	cursor: wait;
	transform: none;
}

.nhd-btn--primary {
	background: var(--nhd-cta);
	color: var(--nhd-cta-ink);
}

.nhd-btn--primary:hover {
	filter: brightness(0.97);
	color: var(--nhd-cta-ink);
}

/* Success */
.nhd-success {
	padding: 1.5rem 0.5rem 1rem;
	text-align: center;
	animation: nhd-fade 0.35s ease;
}

.nhd-success__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.8rem;
	height: 2.8rem;
	margin-bottom: 0.8rem;
	border-radius: 999px;
	background: var(--nhd-cta);
	color: var(--nhd-cta-ink);
	font-size: 1.2rem;
	font-weight: 700;
}

.nhd-success__title {
	margin: 0 0 0.4rem;
	font-size: 1.3rem;
	font-weight: 700;
	color: var(--nhd-ink);
}

.nhd-success__text {
	margin: 0 0 1.2rem;
	color: var(--nhd-muted);
	line-height: 1.5;
}

.nhd-success__actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.85rem;
}

.nhd.is-success .nhd-form,
.nhd.is-success .nhd-progress {
	display: none;
}

/* WhatsApp bar — high specificity against theme/Elementor link styles */
.nhd .nhd-wa-wrap {
	display: block !important;
	width: 100% !important;
	margin: 1rem 0 0 !important;
	padding: 0 !important;
}

.nhd a.nhd-wa,
.nhd .nhd-wa-wrap a.nhd-wa,
.nhd .nhd-wa-wrap > a {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 0.65rem !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0.95rem 1.2rem !important;
	border: 1px solid var(--nhd-line) !important;
	border-radius: 999px !important;
	background: #ffffff !important;
	background-image: none !important;
	box-shadow: none !important;
	color: var(--nhd-ink) !important;
	text-decoration: none !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	font-size: 0.95rem !important;
	font-weight: 500 !important;
	line-height: 1.4 !important;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.nhd a.nhd-wa:hover,
.nhd a.nhd-wa:focus,
.nhd a.nhd-wa:active,
.nhd .nhd-wa-wrap a.nhd-wa:hover,
.nhd .nhd-wa-wrap a.nhd-wa:focus {
	border-color: #cfd5de !important;
	background: #ffffff !important;
	color: var(--nhd-ink) !important;
	text-decoration: none !important;
	box-shadow: none !important;
}

.nhd a.nhd-wa .nhd-wa__icon,
.nhd .nhd-wa__icon {
	display: inline-block !important;
	width: 1.25rem !important;
	height: 1.25rem !important;
	flex-shrink: 0 !important;
	margin: 0 !important;
	background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23142033' stroke-width='1.8'%3E%3Cpath d='M21 12a8.5 8.5 0 0 1-12.4 7.5L4 21l1.6-4.3A8.5 8.5 0 1 1 21 12Z'/%3E%3Cpath d='M8.8 10.2c.3-.4.6-.4.9-.4h.3c.2 0 .4 0 .5.4l.7 1.6c.1.3 0 .5-.2.7l-.4.4a6.5 6.5 0 0 0 2.5 2.5l.4-.3c.2-.2.5-.2.7-.1l1.6.7c.3.1.4.3.4.5v.3c0 .3 0 .6-.4.9-.5.4-1.3.5-2.1.3A8.6 8.6 0 0 1 8.5 11c-.2-.8-.1-1.6.3-2.1Z'/%3E%3C/svg%3E") !important;
}

.nhd a.nhd-wa .nhd-wa__text,
.nhd .nhd-wa__text {
	display: inline !important;
	margin: 0 !important;
	padding: 0 !important;
	color: inherit !important;
	font-size: inherit !important;
	font-weight: inherit !important;
	text-decoration: none !important;
	background: transparent !important;
}

.nhd a.nhd-wa .nhd-wa__link,
.nhd .nhd-wa__link {
	display: inline !important;
	color: inherit !important;
	font-weight: 700 !important;
	text-decoration: underline !important;
	text-underline-offset: 2px !important;
	background: transparent !important;
}

@keyframes nhd-fade {
	from {
		opacity: 0;
		transform: translateY(6px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 760px) {
	.nhd-shell {
		padding: 1.25rem 1rem 1.1rem;
		border-radius: 22px;
	}

	.nhd-option-grid--2,
	.nhd-option-grid--3,
	.nhd-grid {
		grid-template-columns: 1fr;
	}

	.nhd-progress__label {
		display: none;
	}

	.nhd-footer {
		flex-wrap: wrap;
	}

	.nhd-btn {
		width: 100%;
		min-width: 0;
	}

	.nhd-footer [data-nhd-next]:not(.nhd-is-hidden),
	.nhd-footer [data-nhd-submit]:not(.nhd-is-hidden) {
		order: -1;
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.nhd-panel.is-active,
	.nhd-success,
	.nhd-btn {
		animation: none !important;
		transition: none !important;
	}
}
