/* Növénydoktor – Kiskert kérdések űrlap */
.ndk-wrap {
	--ndk-olive: #404a3d;
	--ndk-green: #6c844a;
	--ndk-green2: #5b8c51;
	--ndk-yellow: #eddd5e;
	--ndk-cream: #f5f0e9;
	--ndk-gray: #878986;
	--ndk-dark: #394336;
	font-family: 'Barlow', system-ui, sans-serif;
	font-weight: 500;
	color: var(--ndk-olive);
	max-width: 820px;
	margin: 0 auto 48px;
	box-sizing: border-box;
}
.ndk-wrap *, .ndk-wrap *::before, .ndk-wrap *::after { box-sizing: border-box; }

/* Lépések (számozott körök) */
.ndk-lepesek {
	list-style: none;
	counter-reset: ndk;
	margin: 0 0 32px;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}
.ndk-lepesek li {
	counter-increment: ndk;
	position: relative;
	padding: 56px 18px 18px;
	background: var(--ndk-cream);
	border-radius: 10px;
	color: var(--ndk-gray);
	line-height: 1.45;
	font-size: 16px;
}
.ndk-lepesek li::before {
	content: counter(ndk);
	position: absolute;
	top: 14px;
	left: 18px;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--ndk-green2);
	color: #fff;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: center;
}
.ndk-lepesek strong { display: block; color: var(--ndk-olive); font-weight: 600; margin-bottom: 2px; }

/* Űrlapkártya akcentcsíkkal */
.ndk-urlap {
	background: #fff;
	border: 1px solid #e6e0d6;
	border-left: 6px solid var(--ndk-green2);
	border-radius: 10px;
	padding: 28px 32px 32px;
}
.ndk-urlap fieldset { border: 0; margin: 0 0 12px; padding: 0; min-width: 0; }
.ndk-urlap legend {
	font-family: 'Amatic SC', cursive;
	font-weight: 700;
	font-size: 40px;
	line-height: 1.1;
	color: var(--ndk-olive);
	padding: 0;
	margin-bottom: 12px;
}
.ndk-sor { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.ndk-mezo { margin-bottom: 18px; }
.ndk-mezo label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 16px; }
.ndk-kotelezo { color: var(--ndk-green); }

.ndk-urlap input[type="text"],
.ndk-urlap input[type="email"],
.ndk-urlap input[type="tel"],
.ndk-urlap textarea {
	width: 100%;
	font: inherit;
	font-size: 16px;
	color: var(--ndk-olive);
	background: #fff;
	border: 1.5px solid #d6d2c8;
	border-radius: 8px;
	padding: 11px 14px;
	transition: border-color .15s, box-shadow .15s;
}
.ndk-urlap textarea { resize: vertical; min-height: 140px; }
.ndk-urlap input:focus,
.ndk-urlap textarea:focus {
	outline: none;
	border-color: var(--ndk-green);
	box-shadow: 0 0 0 3px rgba(108, 132, 74, .2);
}
.ndk-urlap ::placeholder { color: #a9aaa7; }

/* Fotófeltöltő */
.ndk-feltolto {
	border: 2px dashed #c9c3b6;
	border-radius: 10px;
	background: var(--ndk-cream);
	padding: 18px;
}
.ndk-feltolto input[type="file"] { font: inherit; font-size: 15px; max-width: 100%; }
.ndk-feltolto input[type="file"]::file-selector-button {
	font: inherit;
	font-weight: 600;
	background: var(--ndk-olive);
	color: #fff;
	border: 0;
	border-radius: 999px;
	padding: 9px 18px;
	margin-right: 12px;
	cursor: pointer;
}
.ndk-sugo { margin: 10px 0 0; font-size: 14px; color: var(--ndk-gray); line-height: 1.45; }
.ndk-elonezet { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.ndk-elonezet:empty { display: none; }
.ndk-elonezet figure { margin: 0; width: 96px; }
.ndk-elonezet img, .ndk-elonezet .ndk-nincs-kep {
	width: 96px; height: 96px; object-fit: cover; border-radius: 8px; display: block;
	background: #e6e0d6;
}
.ndk-elonezet .ndk-nincs-kep { display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--ndk-gray); }
.ndk-elonezet figcaption { font-size: 12px; color: var(--ndk-gray); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 4px; }
.ndk-fajlhiba { color: #9a3b2a; font-size: 14px; font-weight: 600; margin: 10px 0 0; }

/* Nyilatkozatok */
.ndk-nyilatkozat {
	background: var(--ndk-cream);
	border-radius: 10px;
	padding: 18px 20px;
	margin: 8px 0 24px;
}
.ndk-dij { margin: 0 0 12px; font-weight: 600; color: var(--ndk-olive); }
.ndk-pipa { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; line-height: 1.45; font-size: 16px; }
.ndk-pipa + .ndk-pipa { margin-top: 12px; }
.ndk-pipa input { width: 20px; height: 20px; margin: 2px 0 0; flex: 0 0 auto; accent-color: var(--ndk-green2); }
.ndk-pipa strong { font-weight: 600; }
.ndk-pipa a { color: var(--ndk-green); text-decoration: underline; }

/* Gomb (pill, sárga) */
.ndk-gomb {
	font-family: 'Barlow', system-ui, sans-serif;
	font-weight: 600;
	font-size: 18px;
	background: var(--ndk-yellow);
	color: var(--ndk-olive);
	border: 0;
	border-radius: 999px;
	padding: 15px 38px;
	cursor: pointer;
	transition: transform .12s, box-shadow .12s;
}
.ndk-gomb:hover { box-shadow: 0 6px 16px rgba(64, 74, 61, .18); transform: translateY(-1px); }
.ndk-gomb:focus-visible { outline: 3px solid var(--ndk-green); outline-offset: 3px; }
.ndk-gomb[disabled] { opacity: .6; cursor: wait; transform: none; box-shadow: none; }

/* Üzenetek */
.ndk-hibak {
	border-left: 6px solid #9a3b2a;
	background: #fbf1ee;
	border-radius: 10px;
	padding: 14px 20px;
	margin-bottom: 20px;
	color: #6b2a1e;
}
.ndk-hibak p { margin: 0 0 6px; }
.ndk-hibak ul { margin: 0; padding-left: 20px; }
.ndk-siker {
	background: var(--ndk-cream);
	border-left: 6px solid var(--ndk-green2);
	border-radius: 10px;
	padding: 28px 32px;
	color: var(--ndk-gray);
	font-size: 17px;
	line-height: 1.5;
}
.ndk-cim {
	font-family: 'Amatic SC', cursive;
	font-weight: 700;
	font-size: 48px;
	line-height: 1.1;
	color: var(--ndk-olive);
	margin: 0 0 12px;
}
.ndk-siker a { color: var(--ndk-green); font-weight: 600; }

/* Robotcsapda */
.ndk-rejtett { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 680px) {
	.ndk-lepesek { grid-template-columns: 1fr; }
	.ndk-sor { grid-template-columns: 1fr; }
	.ndk-urlap { padding: 22px 18px 24px; border-left-width: 5px; }
	.ndk-urlap legend { font-size: 34px; }
	.ndk-gomb { width: 100%; }
}
