/* Contact Section */
.k-contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 104px); align-items: start; }
.k-contact.is-no-form .k-contact__grid { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.k-contact__intro { margin-top: 20px; }
.k-contact__status { margin: 22px 0 0; }
.k-contact__rows { margin: clamp(28px, 3.5vw, 44px) 0 0; }
.k-contact__row { display: grid; grid-template-columns: 170px 1fr; gap: 6px 20px; padding: 18px 0; border-top: 1px solid var(--k-line); }
.k-contact__row:last-child { border-bottom: 1px solid var(--k-line); }
.k-contact__row dt { display: flex; align-items: center; gap: 10px; color: var(--k-mut); font-size: .875rem; }
.k-contact__row dt .k-icon { width: 16px; height: 16px; }
.k-contact__row dd { margin: 0; line-height: 1.55; overflow-wrap: anywhere; }
.k-contact__row a { color: var(--k-fg); text-decoration-thickness: 1px; text-underline-offset: .2em; }
.k-contact__big { font-size: clamp(1.375rem, 1.2rem + .8vw, 1.875rem); font-weight: 300; letter-spacing: -.02em; text-decoration: none !important; }
.k-contact__big:hover { text-decoration: underline !important; }
.k-contact__tips { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.k-contact__tips li { position: relative; padding-left: 22px; color: var(--k-soft); font-size: .9375rem; line-height: 1.55; }
.k-contact__tips li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--k-sod); }

.k-contact__form { background: var(--k-mgla); color: var(--k-las); border-radius: var(--k-radius-lg); padding: clamp(24px, 3.5vw, 48px); scroll-margin-top: 24px; }
.k-contact__form-title { margin: 0 0 8px; font-size: clamp(1.5rem, 1.3rem + .8vw, 2rem); font-weight: 300; letter-spacing: -.03em; }
.k-contact__form-intro { margin: 0 0 8px; color: var(--k-grafit); font-size: .9375rem; }

@media (max-width: 899px) {
	.k-contact__grid { grid-template-columns: 1fr; }
	.k-contact__row { grid-template-columns: 1fr; }
}

/* ---------- Formularz (znacznik z wtyczki) ---------- */
.dk-form { margin-top: 18px; }
.dk-form__trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.dk-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.dk-field { display: grid; gap: 6px; align-content: start; min-width: 0; margin: 0; padding: 0; border: 0; }
.dk-field--message, .dk-field--voicemail { grid-column: 1 / -1; }
.dk-field__label { font-size: .875rem; font-weight: 500; color: var(--k-las); padding: 0; }
.dk-field__req { font-weight: 400; color: var(--k-grafit); }
.dk-field__hint { margin: 0; font-size: .8125rem; color: var(--k-grafit); line-height: 1.45; }
.dk-field__count { margin: 0; justify-self: end; font-size: .75rem; color: var(--k-grafit); font-variant-numeric: tabular-nums; }
.dk-field__error { margin: 0; }

/* Przełącznik telefon / e-mail */
.dk-seg { align-self: start; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; gap: 4px; border: 1px solid rgba(18, 36, 30, .32); border-radius: 999px; background: #fff; width: 100%; }
.dk-seg__opt { position: relative; display: block; cursor: pointer; }
.dk-seg__opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.dk-seg__opt span { display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 999px; font-size: .9375rem; color: var(--k-las); transition: background-color .15s var(--k-ease), color .15s var(--k-ease); }
.dk-seg__opt input:checked + span { background: var(--k-las); color: var(--k-papier); font-weight: 500; }
.dk-seg__opt input:focus-visible + span { outline: 2px solid var(--k-sod); outline-offset: 2px; }

/* Podsumowanie błędów nad formularzem */
.dk-form__summary { margin-bottom: 16px; padding: 14px 18px; border-radius: 8px; background: #f8e9e4; color: #6e2412; border-left: 3px solid #a2341b; font-size: .9375rem; outline: none; }
.dk-form__summary p { margin: 0 0 6px; font-weight: 500; }
.dk-form__summary ul { margin: 0; padding-left: 1.1em; }
.dk-form__summary a { color: inherit; }
.dk-form__summary:focus-visible { outline: 2px solid var(--k-sod); outline-offset: 2px; }

/* Po wysłaniu */
.k-contact__after { margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(18, 36, 30, .14); }
.k-contact__after-title { margin: 0 0 10px; font-size: .875rem; font-weight: 500; }
.k-contact__steps { margin: 0; padding: 0; list-style: none; counter-reset: k-step; display: grid; gap: 8px; }
.k-contact__steps li { counter-increment: k-step; display: grid; grid-template-columns: 26px 1fr; gap: 10px; font-size: .9375rem; line-height: 1.5; color: var(--k-grafit); }
.k-contact__steps li::before { content: counter(k-step); display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--k-las); color: var(--k-las); font-size: .75rem; }
.dk-form input[type="text"],
.dk-form input[type="tel"],
.dk-form input[type="email"],
.dk-form select,
.dk-form textarea {
	width: 100%; box-sizing: border-box;
	min-height: 50px;
	padding: 12px 14px;
	border: 1px solid rgba(18, 36, 30, .32);
	border-radius: 8px;
	background: #fff;
	color: var(--k-las);
	font: inherit; font-size: 1rem;
	transition: border-color .15s var(--k-ease), box-shadow .15s var(--k-ease);
}
.dk-form select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2312241E' stroke-width='1.8'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.dk-form textarea { min-height: 110px; resize: vertical; }
.dk-form :is(input, select, textarea):hover { border-color: rgba(18, 36, 30, .55); }
.dk-form :is(input, select, textarea):focus { outline: none; border-color: var(--k-las); box-shadow: 0 0 0 3px rgba(226, 162, 90, .45); }
.dk-form [aria-invalid="true"] { border-color: #a2341b; box-shadow: 0 0 0 1px #a2341b; }
.dk-field__error { font-size: .8125rem; color: #a2341b; font-weight: 500; }
.dk-choice { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.dk-choice label { display: inline-flex; align-items: center; gap: 8px; font-size: .9375rem; cursor: pointer; }
.dk-choice input { width: 20px; height: 20px; accent-color: var(--k-las); }
.dk-choice label { min-height: 44px; }
.dk-form__footer { margin-top: 22px; display: grid; gap: 14px; }
.dk-form__submit {
	justify-self: start;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 56px; padding: 0 30px;
	border: 0; border-radius: 999px;
	background: var(--k-las); color: var(--k-papier);
	font: inherit; font-size: 1rem; font-weight: 500;
	cursor: pointer;
	transition: background-color .2s var(--k-ease), opacity .2s;
}
.dk-form__submit:hover { background: var(--k-glebia); }
.dk-form__submit:disabled { opacity: .6; cursor: progress; }
.dk-form__privacy { margin: 0; font-size: .8125rem; color: var(--k-grafit); line-height: 1.5; }
.dk-form__privacy a { color: var(--k-las); }
.dk-form__status:empty { display: none; }
.dk-form__status { outline: none; margin-bottom: 14px; }
.dk-form__msg { margin: 0; padding: 12px 16px; border-radius: 8px; font-size: .9375rem; }
.dk-form__msg--ok { background: #e3eee4; color: #173b22; border-left: 3px solid #2f6b3f; }
.dk-form__msg--error { background: #f8e9e4; color: #6e2412; border-left: 3px solid #a2341b; }
.dk-form__msg--info { background: var(--k-papier); color: var(--k-las); }


@media (max-width: 599px) {
	.dk-form__grid { grid-template-columns: 1fr; }
	.dk-form__submit { justify-self: stretch; }
}
