/* Strona Kontakt (układ jak w aqiila, styl Brendz) */

.contact { display: grid; gap: 32px; padding: 24px 0 56px; }
@media (min-width: 992px) {
	.contact { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; padding-top: 32px; }
}

/* Lewa kolumna: nagłówek, wstęp, dane */
.contact__title { margin: 0 0 14px; font-size: 28px; font-weight: 700; line-height: 1.2; color: #1a1b1d; }
@media (min-width: 768px) { .contact__title { font-size: 35px; } }
.contact__lead { margin: 0 0 28px; font-size: 16px; line-height: 25.6px; color: var(--text-soft); }

.contact-group { margin-bottom: 22px; }
.contact-group:last-child { margin-bottom: 0; }
.contact-group__label { margin: 0 0 10px; font-size: 16px; font-weight: 700; line-height: 24px; color: #1a1b1d; }
.contact-info { display: grid; gap: 10px; }
.contact-info__item { display: flex; align-items: flex-start; gap: 14px; font-size: 16px; line-height: 24px; color: var(--text); }
.contact-info__item .icon { margin-top: 2px; color: var(--green); }
.contact-info__item a { color: var(--text); text-decoration: none; }
.contact-info__item a:hover { color: var(--green); }

/* Karta formularza */
.contact-card {
	padding: 24px 20px;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05), 0 0 0 1px var(--border);
}
@media (min-width: 768px) { .contact-card { padding: 32px; } }
.contact-card__title { margin: 0 0 6px; font-size: 24.5px; font-weight: 700; line-height: 1.25; color: #1a1b1d; }
.contact-card__lead { margin: 0 0 22px; font-size: 14px; line-height: 21px; color: var(--muted); }

.contact-notice { margin: 0 0 20px; padding: 12px 14px; border-radius: 8px; font-size: 14px; line-height: 21px; }
.contact-notice--success { background: #e8f6ea; color: #1d6b27; }
.contact-notice--error { background: #fdecec; color: #a12622; }

.contact-form { display: grid; gap: 16px; }
.contact-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.field-row { display: grid; gap: 16px; }
@media (min-width: 576px) { .field-row { grid-template-columns: 1fr 1fr; } }

/* Pływające etykiety */
.field { position: relative; }
.field__input {
	display: block;
	width: 100%;
	height: 54px;
	padding: 22px 14px 6px;
	border: 1px solid var(--border);
	border-radius: 8px;
	background: #fff;
	font: inherit;
	font-size: 15px;
	color: #000;
	transition: border-color 0.15s ease;
}
.field__input--area { height: auto; min-height: 140px; padding-top: 26px; resize: none; }
.field__input:focus { outline: 0; border-color: var(--green); }
.field__label {
	position: absolute;
	top: 16px;
	left: 15px;
	right: 40px;
	overflow: hidden;
	font-size: 15px;
	line-height: 20px;
	color: var(--muted);
	white-space: nowrap;
	text-overflow: ellipsis;
	pointer-events: none;
	transform-origin: left top;
	transition: transform 0.15s ease, color 0.15s ease;
}
.field__input:focus + .field__label,
.field__input:not(:placeholder-shown) + .field__label,
.field--select .field__input:valid + .field__label {
	transform: translateY(-9px) scale(0.78);
	color: var(--text-soft);
}
.field__input:focus + .field__label { color: var(--green); }
.req { color: #c0392b; }

.field--select .field__input {
	padding-right: 40px;
	-webkit-appearance: none;
	appearance: none;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23373f50' d='M5.22 8.22a.75.75 0 0 1 1.06 0L10 11.94l3.72-3.72a.75.75 0 1 1 1.06 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L5.22 9.28a.75.75 0 0 1 0-1.06Z'/%3E%3C/svg%3E") no-repeat right 12px center / 20px;
}

.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 19px; color: var(--text-soft); cursor: pointer; }
.consent input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--green); }
.consent a { color: var(--green); }

.contact-form__submit { justify-self: start; min-width: 190px; min-height: 46px; }
@media (max-width: 575px) { .contact-form__submit { justify-self: stretch; } }
