/* —— Ustawienia ————————————————————————————————— */
:root {
  --mm-border: #cfcfcf;
  --mm-black: #000;
  --mm-accent: #d7ff4d; /* limonkowy jak w projekcie */
  --mm-radius: 6px;
  --mm-gap: 16px;
}

/* Reset labeli tylko wizualnie – zostają dla dostępności */
.mm-form .screen-reader-text {
  position: absolute !important;
  clip: rect(1px,1px,1px,1px);
  height: 1px; width: 1px; overflow: hidden;
}

/* Siatka dwóch kolumn dla pierwszego rzędu */
.mm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--mm-gap);
  margin-bottom: var(--mm-gap);
}

/* Pola */
.mm-field { display:block; }
.mm-form input[type="text"],
.mm-form input[type="email"],
.mm-form input[type="tel"],
.mm-form textarea {
	width: 100%;
	 border-radius: 2px;
	border: 1px solid #000;
	background: #FFF;
	padding: 18px 22px;
	color: #000;
	leading-trim: both;
	text-edge: cap;
	font-family: "Space Grotesk";
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 133.3%; 
}
.mm-form input::placeholder,
.mm-form textarea::placeholder {
	color: #000;
	leading-trim: both;
	text-edge: cap;
	font-family: "Space Grotesk";
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 133.3%; 
}
.mm-form textarea { height: 170px; resize: vertical;margin-top:20px;padding:25px 22px; }

.mm-form input:focus,
.mm-form textarea:focus {
  border-color: #999;
  box-shadow: 0 0 0 3px rgba(0,0,0,.04);
}

/* Zgoda RODO */
.mm-consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 10px;
  font-size: 12px;
  color: #555;
  margin: 20px 0 0 0;
}
.mm-consent a { text-decoration: underline; }
.mm-consent span { color: #000;
leading-trim: both;
text-edge: cap;
font-family: "Space Grotesk";
font-size: 12px;
font-style: normal;
font-weight: 400;
line-height: 133.3%; /* 15.996px */ }

/* Przycisk – czarny pełnej szerokości z limonkowym tekstem */
.mm-submit { margin-top: 57px; }
.mm-submit input[type="submit"] {
  width: 100%;
	 color: #DEFC52;
	padding: 11px 12px 11px 17px;
	font-family: "Space Grotesk";
	font-size: 15px;
	font-style: normal;
	font-weight: 400;
	line-height: 240%; /* 16.65px */
	text-transform: uppercase;
	border-radius: 2px;
	border: 1px solid #000;
	transition: 300ms;
	background: #000;
  cursor: pointer;
}
@media only screen and (min-width: 1066px) {
	.mm-submit input[type="submit"]:hover { color: #000; background: #DEFC52; border: 1px solid #DEFC52;}
}
.mm-consent input[type="checkbox"] {
position: relative;
    left: -17px;
    border: 1px solid #000;
}
.wpcf7-not-valid-tip {
	font-size: 10px;
    margin-top: 2px;
}
/* Responsywność */
@media (max-width: 640px) {
  .mm-grid { grid-template-columns: 1fr; }
}

.contact .flex-container {
	gap: 85px;
	row-gap: 0;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: top;
	margin-bottom: 50px;
	border-bottom: 1px solid #000;
}

.contact .flex-container .half:first-of-type {
	width: 50%;
}

.contact .flex-container .half:last-of-type {
	width: calc(50% - 85px);
	border-left: 1px solid #000;
}

.contact .flex-container .full h2 {
	color: #000;
	font-family: "Space Grotesk";
	font-size: 80px;
	font-style: normal;
	font-weight: 600;
	line-height: 97%; /* 77.6px */
	margin: 0 auto 50px auto;
}

.contact .flex-container .half p {
	color: #000;
	margin: 50px auto 0 auto;
	font-family: "Space Grotesk";
	font-size: 20px;
	font-style: normal;
	font-weight: 400;
	line-height: 133%; 
}

.contact .flex-container .full {
	width: 100%;
	border-bottom: 1px solid #000;
}


.contact .flex-container .half .in {
	padding: 24px 24px 24px 24px; 
}

.contact .flex-container .half .in img {
	width: 100%;
	height: auto;
}

.contact .wpcf7 {
	margin-top: 75px;
}

/* blokada przewijania podczas modala */
.cf7p-lock { overflow: hidden; }

.cf7p-modal { position: fixed; inset: 0; display: none; z-index: 9999; }
.cf7p-modal.is-open { display: block; }

/* tło */
.cf7p-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.45);
}

/* okno dialogowe */
.cf7p-dialog {
	width: 500px;
	max-width: 90%;
    min-height: 353px;
    max-height: 90vh;
    border-radius: 2px;
    background: #fff;
    z-index: 999999;
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* tytuł + treść */
#cf7p-title { padding: 50px 50px 35px 50px;color: #000;
leading-trim: both;
margin: 0;
text-edge: cap;
font-family: "Space Grotesk";
font-size: 50px;
font-style: normal;
font-weight: 600;
line-height: 50px; /* 100% */}
.cf7p-body  { padding: 0 50px 0 50px;color: #000;
font-family: "Space Grotesk";
margin: 0;
font-size: 15px;
font-style: normal;
font-weight: 400;
line-height: 133%; /* 19.95px */ }
.cf7p-dialog .cl {
	border-radius: 2px 2px 0 0;
	background: #DEFC52;
	text-align: center;
}
.cf7p-dialog .cl button {
	background: none;
    border: none;
    cursor: pointer;
}
.cf7p-dialog .cl button svg {
	transition: 300ms;
}
@media only screen and (min-width: 1066px) {
.cf7p-dialog .cl button:hover svg {
	transform: rotate(360deg);
}
}
.wpcf7 form .wpcf7-response-output{display:none !important;}

.contact .parallax-container {
	display: none;
}

@media only screen and (max-width: 996px) {
	.contact .flex-container .half:last-of-type {
		display: none;
	}

	.flex-container>.half {
		width: 100%;
	}

	.contact .flex-container {
		margin-bottom: 20px;
		border-bottom: none;
	}

	.contact .parallax-container {
		display: block;
	}

	.contact .wpcf7 {
		margin-top: 50px;
	}

	.contact .flex-container .half p {
		margin-top: 40px;
	}

	.contact .flex-container .full h2 {
		color: #000;
		font-family: "Space Grotesk";
		font-size: 50px;
		font-style: normal;
		font-weight: 600;
		line-height: 97%; /* 48.5px */
	}

	.mm-grid {
		margin-botttom: 0;
	}
}