/* ========================================================= Podstrona
 * „Kontakt" ========================================================= */

/* ---------------------------- HERO ---------------------------- */
.kontakt-hero {
	position: relative;
	overflow: hidden;
	color: #fff;
	padding: 58px 0 60px;
	background:
		radial-gradient(120% 150% at 85% 0%, rgba(60, 180, 197, 0.22) 0%, rgba(60, 180, 197, 0) 55%),
		linear-gradient(135deg, #10224f 0%, #1b3a7b 60%, #1f5a9c 100%);
}

.kontakt-hero__inner {
	position: relative;
	z-index: 2;
	max-width: 1160px;
	margin: 0 auto;
	padding: 0 40px;
}

.k-crumb {
	display: flex;
	align-items: center;
	gap: 6px;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 14px;
	margin-bottom: 20px;
}

.k-crumb a {
	color: rgba(255, 255, 255, 0.7);
}

.k-crumb svg {
	width: 16px;
	height: 16px;
}

.k-crumb span {
	color: #5ec163;
}

.kontakt-hero__title {
	font-family: var(--font-head);
	font-weight: 700;
	font-size: clamp(32px, 4.4vw, 52px);
	margin: 0;
}

.kontakt-hero__title .accent-green {
	color: #5ec163;
}

.kontakt-hero__sub {
	margin: 14px 0 0;
	max-width: 660px;
	font-family: var(--font-head);
	font-weight: 500;
	font-size: clamp(16px, 1.4vw, 19px);
	color: rgba(255, 255, 255, 0.86);
}

.kontakt-hero__deco {
	position: absolute;
	z-index: 1;
	pointer-events: none;
	color: rgba(255, 255, 255, 0.42);
	font-family: var(--font-head);
	font-weight: 600;
}

.kontakt-hero__deco--pi {
	top: 40px;
	right: 7%;
	font-size: 46px;
}

.kontakt-hero__deco--sqrt {
	bottom: 30px;
	right: 15%;
	font-size: 30px;
	font-style: italic;
}

.kontakt-hero__deco--plus {
	top: 78px;
	right: 20%;
	font-size: 30px;
}

/* ---------------------------- TREŚĆ: info + formularz
 * ---------------------------- */
.kontakt {
	background: #f4f8fc;
	padding: 66px 0 70px;
}

.kontakt__grid {
	max-width: 1160px;
	margin: 0 auto;
	padding: 0 40px;
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 46px;
	align-items: stretch;
}

.kontakt__info {
	display: flex;
	flex-direction: column;
}

.k-eyebrow {
	display: inline-block;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--green);
	margin-bottom: 10px;
}

.kontakt__info h2,
.kontakt__formwrap h2 {
	font-family: var(--font-head);
	font-weight: 700;
	font-size: clamp(23px, 2.3vw, 30px);
	color: var(--navy);
	margin: 0 0 10px;
}

.kontakt__info .k-lead {
	color: #5a6577;
	font-size: 15.5px;
	line-height: 1.7;
	margin: 0 0 26px;
	max-width: 380px;
}

/* wiersze danych */
.kinfo {
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin: 0 0 26px;
}

.kinfo__row {
	display: flex;
	gap: 14px;
	align-items: flex-start;
}

.kinfo__ic {
	width: 46px;
	height: 46px;
	border-radius: 13px;
	background: rgba(60, 180, 197, 0.12);
	color: var(--teal);
	display: grid;
	place-items: center;
	flex-shrink: 0;
}

.kinfo__ic svg {
	width: 22px;
	height: 22px;
}

.kinfo__label {
	display: block;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 12px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #97a1b2;
	margin-bottom: 3px;
}

.kinfo__val {
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 16px;
	color: var(--navy);
	line-height: 1.35;
}

.kinfo__val--company {
	display: block;
}

.kinfo__company-name,
.kinfo__company-ids {
	display: block;
}

.kinfo__company-ids {
	margin-top: 2px;
	font-size: 14px;
}

a.kinfo__val {
	transition: color 0.2s var(--ease);
}

a.kinfo__val:hover {
	color: var(--teal);
}

/* social */
.ksocial {
	display: flex;
	gap: 12px;
	margin-bottom: 26px;
}

.ksocial a {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--navy);
	color: #fff;
	display: grid;
	place-items: center;
	transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.ksocial svg {
	width: 22px;
	height: 22px;
}

/* mini-CTA rezerwacji */
.kbook {
	margin-top: auto;
	background: #fff;
	border: 1px solid #e6ecf4;
	border-radius: 16px;
	padding: 24px 24px;
	box-shadow: 0 12px 30px rgba(27, 58, 123, 0.06);
}

.kbook__head {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 18px;
}

.kbook__ht {
	min-width: 0;
}

.kbook__avatar {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
	object-position: center 6%;
	border: 2px solid #eaf2f8;
	background: #eaf2f8;
	flex-shrink: 0;
}

.kbook__title {
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 21px;
	color: var(--navy);
	margin: 0;
	line-height: 1.2;
}

.kbook__desc {
	margin: 5px 0 0;
	color: #5a6577;
	font-size: 14px;
	line-height: 1.45;
}

.kbook .btn {
	width: 100%;
	justify-content: center;
}

/* ---------------------------- FORMULARZ ---------------------------- */
.kform {
	background: #fff;
	border: 1px solid #e6ecf4;
	border-radius: 20px;
	padding: 34px 32px;
	box-shadow: 0 20px 48px rgba(27, 58, 123, 0.1);
}

.kform__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.kfield {
	display: flex;
	flex-direction: column;
	margin-bottom: 16px;
}

.kfield label {
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 13.5px;
	color: var(--navy);
	margin-bottom: 7px;
}

.kfield label .req {
	color: #e5484d;
}

.kfield input,
.kfield select,
.kfield textarea {
	font-family: var(--font-body);
	font-size: 15px;
	color: var(--ink);
	padding: 12px 14px;
	border: 1.5px solid #dce3ec;
	border-radius: 10px;
	background: #fbfcfe;
	width: 100%;
	transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.kfield textarea {
	resize: vertical;
	min-height: 132px;
	line-height: 1.6;
}

.kfield select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='M7 10l5 5 5-5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	padding-right: 40px;
}

.kfield input::placeholder,
.kfield textarea::placeholder {
	color: #a7b0bf;
}

.kconsent {
	display: flex;
	gap: 11px;
	align-items: flex-start;
	margin: 6px 0 20px;
	font-size: 13.5px;
	color: #5a6577;
	line-height: 1.55;
}

.kconsent input {
	margin-top: 2px;
	width: 18px;
	height: 18px;
	accent-color: var(--green);
	flex-shrink: 0;
}

.kfield input:focus,
.kfield select:focus,
.kfield textarea:focus {
	outline: none;
	border-color: var(--teal);
	box-shadow: 0 0 0 3px rgba(60, 180, 197, 0.16);
}

.kconsent a {
	color: #2f8fb0;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.kform__submit {
	width: 100%;
	justify-content: center;
}

.kform__submit:disabled {
	opacity: 0.65;
	cursor: wait;
}

.kform__error {
	margin: 14px 0 0;
	color: #b42318;
	font-size: 13.5px;
	line-height: 1.5;
	text-align: center;
}

.rtz-hp {
	position: absolute !important;
	left: -10000px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.kform__success {
	display: none;
	text-align: center;
	padding: 20px 8px 6px;
}

.kform__success.is-visible {
	display: block;
}

.kform__success-ic {
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: rgba(76, 176, 80, 0.12);
	display: grid;
	place-items: center;
	margin: 0 auto 16px;
}

.kform__success-ic svg {
	width: 30px;
	height: 30px;
	color: var(--green);
}

.kform__success h3 {
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 20px;
	color: var(--navy);
	margin: 0 0 8px;
}

.kform__success p {
	color: #5a6577;
	font-size: 15px;
	line-height: 1.6;
	margin: 0;
}

/* ---------------------------- MAPA ---------------------------- */
.kmap {
	background: #fff;
	padding: 50px 0 76px;
}

.kmap__frame {
	position: relative;
	max-width: 1160px;
	margin: 0 auto;
	padding: 0 40px;
}

.kmap iframe {
	width: 100%;
	height: 430px;
	border: 0;
	border-radius: 20px;
	display: block;
	box-shadow: 0 18px 44px rgba(27, 58, 123, 0.1);
}

.kmap__embed-preview {
	pointer-events: none;
}

.kmap__empty {
	width: 100%;
	height: 430px;
	border-radius: 20px;
	display: grid;
	place-items: center;
	padding: 24px;
	color: #5a6577;
	text-align: center;
	background: #f4f8fc;
	box-shadow: 0 18px 44px rgba(27, 58, 123, 0.1);
}

.kmap__card {
	position: absolute;
	top: 24px;
	left: 64px;
	max-width: 290px;
	background: #fff;
	border-radius: 16px;
	padding: 18px 20px;
	box-shadow: 0 14px 36px rgba(27, 58, 123, 0.16);
}

.kmap__card h3 {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 16px;
	color: var(--navy);
	margin: 0 0 6px;
}

.kmap__card h3::before {
	content: "";
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	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='%233CB4C5' stroke-width='2'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5 7 13 7 13s7-8 7-13a7 7 0 0 0-7-7z'/%3E%3Ccircle cx='12' cy='9' r='2.4'/%3E%3C/svg%3E");
}

.kmap__card h3 svg {
	width: 18px;
	height: 18px;
	color: var(--teal);
}

.kmap__card p {
	margin: 0 0 10px;
	color: #5a6577;
	font-size: 14px;
	line-height: 1.5;
}

.kmap__card a {
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 14px;
	color: #2f8fb0;
}

.kmap__card a:hover {
	color: var(--navy);
}

/* ---------------------------- RWD ---------------------------- */
@media (max-width: 900px) {

	.kontakt__grid {
		grid-template-columns: 1fr;
		gap: 34px;
	}

	.kontakt__formwrap {
		order: -1;
	}

	.kontakt-hero__deco {
		display: none;
	}
}

@media (max-width: 560px) {

	.kontakt-hero {
		padding: 44px 0 46px;
	}

	.kontakt__grid,
	.kontakt-hero__inner,
	.kmap__frame {
		padding-left: 22px;
		padding-right: 22px;
	}

	.kform {
		padding: 26px 22px;
	}

	.kform__row {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.kmap__card {
		position: static;
		max-width: none;
		margin: 18px 0 0;
	}
}

.k-crumb a:hover {
	color: #fff;
}

.ksocial a:hover {
	background: #2f6fbf;
	transform: translateY(-2px);
}
