/* ═══════════════════════════════════════════════════════════
   CONTACT SECTION (DARK THEME)
   ═══════════════════════════════════════════════════════════ */

.t16-section--contact {
	background-color: transparent;
	padding: 40px 0 80px;
	color: #fff;
	overflow: hidden; /* Force prevent horizontal scroll */
	width: 100%;
}

.t16-section--contact *,
.t16-section--contact *::before,
.t16-section--contact *::after {
	box-sizing: border-box !important;
}

.t16-contact__wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
	min-width: 0;
}
.t16-contact__form-col {
	min-width: 0;
}

/* ── Left Column: Content ────────────────────────────────── */
.t16-contact__content {
	max-width: 550px;
}

.t16-contact__eyebrow {
	display: block;
	color: #B5FF00;
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	margin-bottom: 16px;
}

.t16-contact__heading {
	color: #ffffff;
	font-size: 3.5rem;
	font-weight: 900;
	line-height: 1.1;
	margin: 0 0 24px;
	text-transform: none; /* Matches screenshot "Gauk išskirtinį..." */
}

.t16-contact__desc {
	color: #a0a0a0;
	font-size: 1.125rem;
	line-height: 1.6;
	margin-bottom: 40px;
}

.t16-contact__checklist {
	list-style: none;
	padding: 0;
	margin: 0 0 40px;
}

.t16-contact__checklist li {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
	color: #ffffff;
	font-size: 1rem;
	font-weight: 500;
}

.t16-contact__checklist li:last-child {
	margin-bottom: 0;
}

.t16-contact__check-icon {
	color: #B5FF00;
	display: flex;
	align-items: center;
	background: rgba(181, 255, 0, 0.1);
	padding: 4px;
	border-radius: 4px;
}

.t16-contact__images {
	display: flex;
	gap: 20px;
}

.t16-contact__img-wrap {
	width: 80px;
	height: 80px;
	background-color: #111;
	border: 1px solid rgba(255,255,255,0.1);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	transition: border-color 0.2s, transform 0.2s;
	text-decoration: none;
}

.t16-contact__img-wrap:hover {
	border-color: #B5FF00;
	transform: translateY(-2px);
}

.t16-contact__img-wrap img {
	max-width: 100%;
	height: auto;
}

/* ── Right Column: Form Card ─────────────────────────────── */
.t16-contact__form-card {
	background-color: #ffffff;
	border-radius: 8px;
	padding: 50px 40px;
	color: #000000;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
	max-width: 100%;
	width: 100%;
	overflow: hidden;
}

.t16-contact__form-card p {
	margin-bottom: 16px;
	margin-top: 0;
}

/* WP / CF7 Overrides for the form card */
.t16-contact__form-card .wpcf7 {
	margin: 0;
}

.t16-contact__form-card label,
.t16-contact__form-card .wpcf7-form-control-wrap {
	display: block;
	font-size: 0.75rem;
	font-weight: 800;
	color: #1a1a1a;
	margin-bottom: 8px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}
.t16-contact__form-card label {
    color: #1a1a1a !important;
}

.t16-contact__form-card input[type="text"],
.t16-contact__form-card input[type="email"],
.t16-contact__form-card input[type="tel"],
.t16-contact__form-card textarea,
.t16-contact__form-card .wpcf7-form-control.wpcf7-text,
.t16-contact__form-card .wpcf7-form-control.wpcf7-textarea {
	width: 100% !important;
	max-width: 100% !important;
	padding: 16px !important;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	background-color: #fcfcfc;
	color: #000000 !important;
	font-family: inherit;
	font-size: 0.95rem;
	transition: border-color 0.2s ease;
	margin-bottom: 0 !important;
}

.t16-contact__form-card textarea {
	height: 100px !important;
	resize: vertical;
}

.t16-contact__form-card input:focus,
.t16-contact__form-card textarea:focus,
.t16-contact__form-card .wpcf7-form-control:focus {
	outline: none;
	border-color: #000;
	background-color: #fff;
}

/* Style for the CF7 submit button to look like the screenshot */
.t16-contact__form-card .wpcf7-submit {
	width: 100%;
	background-color: #B5FF00;
	color: #000000;
	border: none;
	padding: 18px;
	font-size: 1rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.2s ease;
	margin-top: 10px;
}

.t16-contact__form-card .wpcf7-submit:hover {
	background-color: #9ee600; /* slightly darker green */
	transform: translateY(-2px);
}

/* Notice styles */
.t16-contact__form-card .wpcf7-response-output {
	margin: 20px 0 0 !important;
	padding: 15px !important;
	border-radius: 4px;
	font-size: 0.9rem;
}

/* CF7 Custom Layout Styles */
.t16-cf7-header {
	margin-bottom: 30px;
}
.t16-cf7-header h3 {
	font-size: 1.75rem;
	font-weight: 800;
	margin: 0 0 8px;
	color: #000;
}
.t16-cf7-header p {
	color: #666;
	font-size: 1rem;
	margin: 0;
}

.t16-cf7-row {
	margin-bottom: 24px;
}
.t16-cf7-row input[type="text"],
.t16-cf7-row input[type="email"],
.t16-cf7-row input[type="tel"],
.t16-cf7-row textarea {
	margin-bottom: 0; /* Override generic margin */
}

.t16-cf7-row--2col {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.t16-cf7-footer {
	margin-top: 15px;
	text-align: center;
}
.t16-cf7-footer p {
	font-size: 0.8rem;
	color: #888;
	margin: 0;
	line-height: 1.4;
}

.t16-cf7-row .wpcf7-form-control-wrap {
	display: block;
	max-width: 100% !important;
}

/* Hide CF7 auto-generated br tags which cause huge gaps */
.t16-contact__form-card br {
	display: none;
}

.t16-contact__wrapper {
	word-wrap: break-word;
	overflow-wrap: break-word;
}

/* Additional elements in the form (like the padlock text) can be handled by standard CF7 HTML */

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
	.t16-contact__wrapper {
		grid-template-columns: 1fr;
		gap: 50px;
	}
	.t16-contact__content {
		max-width: 100%;
		text-align: center;
	}
	.t16-contact__checklist {
		max-width: 400px;
		margin-left: auto;
		margin-right: auto;
		text-align: left;
	}
	.t16-contact__checklist li {
		justify-content: flex-start;
	}
	.t16-contact__images {
		justify-content: center;
	}
	.t16-contact__heading {
		font-size: 3rem;
	}
	.t16-contact__wrapper {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	.t16-cf7-row--2col {
		grid-template-columns: 1fr;
		gap: 20px; /* Keep gap since they are stacked, no need for 0 */
	}
}

@media (max-width: 600px) {
	.t16-contact__form-card {
		padding: 25px 15px;
	}
	.t16-contact__heading {
		font-size: 2.25rem;
		word-break: break-word;
	}
	.t16-contact__desc {
		font-size: 1rem;
	}
	.t16-contact__checklist {
		width: 100%;
		padding: 0 15px;
	}
	.t16-cf7-header h3 {
		font-size: 1.5rem;
	}
	.t16-contact__images {
		gap: 10px;
	}
	.t16-contact__img-wrap {
		width: 60px;
		height: 60px;
	}
}
