/**
 * Contact page — two-column form + visual layout.
 */

body.studio-contact-page .nk-main {
	background-color: #f6f6f6;
}

.studio-contact {
	padding: 48px 0 80px;
	font-family: inherit;
	color: #5f5f5f;
}

.studio-contact__container {
	max-width: 1100px;
}

.studio-contact__title {
	margin: 0 0 48px;
	font-family: "Montserrat", sans-serif;
	font-size: clamp(2rem, 4vw, 2.75rem);
	font-weight: 500;
	line-height: 1.2;
	text-align: center;
	color: #171717;
}

.studio-contact__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: stretch;
}

.studio-contact__form-card,
.studio-contact__visual {
	min-height: 100%;
	height: 100%;
}

.studio-contact__form-card {
	display: flex;
	flex-direction: column;
	justify-content: center;
	box-sizing: border-box;
	padding: 32px;
	background: #fff;
	border: 1px solid #e7ece8;
}

.studio-contact__form-card .wpcf7 {
	max-width: none;
	padding: 0;
	margin: 0;
	text-align: center;
	background: transparent;
	border: 0;
	box-shadow: none;
}

.studio-contact__form-card .wpcf7 label {
	display: block;
	margin-bottom: 0.35rem;
	font-family: "Nunito Sans", sans-serif !important;
	font-size: 0.9rem;
	font-style: normal;
	font-weight: 400;
	line-height: 1.4;
	color: #5f5f5f;
}

.studio-contact__form-card .wpcf7 p {
	margin-bottom: 1.25rem;
}

.studio-contact__form-card .wpcf7 p,
.studio-contact__form-card .wpcf7 span,
.studio-contact__form-card .wpcf7 .wpcf7-form-control-wrap,
.studio-contact__form-card .wpcf7 .wpcf7-not-valid-tip {
	font-family: inherit;
}

.studio-contact__form-card .wpcf7 input[type="email"],
.studio-contact__form-card .wpcf7 input[type="text"],
.studio-contact__form-card .wpcf7 input[type="tel"],
.studio-contact__form-card .wpcf7 input[type="url"],
.studio-contact__form-card .wpcf7 textarea,
.studio-contact__form-card .wpcf7 .form-control,
.studio-contact__form-card .wpcf7 select {
	width: 100%;
	padding: 14px 16px;
	font-family: inherit;
	font-size: 0.95rem;
	font-weight: 400;
	line-height: 1.5;
	color: #5f5f5f;
	background-color: #fff;
	border: 1px solid #d8dfd9;
	border-radius: 0;
	transition: border-color 0.2s ease;
}

.studio-contact__form-card .wpcf7 textarea {
	min-height: 140px;
	resize: vertical;
}

.studio-contact__form-card .wpcf7 input:focus,
.studio-contact__form-card .wpcf7 textarea:focus,
.studio-contact__form-card .wpcf7 select:focus {
	border-color: #263729;
	outline: none;
	box-shadow: none;
}

.studio-contact__form-card .wpcf7 .wpcf7-submit {
	display: block;
	width: 100%;
	padding: 12px 28px;
	margin-top: 8px;
	font-family: inherit;
	font-size: 0.85rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #fff;
	background: #263729;
	border: 0;
	border-radius: 0;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.studio-contact__form-card .wpcf7 .wpcf7-submit:hover,
.studio-contact__form-card .wpcf7 .wpcf7-submit:focus {
	background: #111913;
}

.studio-contact__form-card .wpcf7 .wpcf7-response-output {
	margin: 1rem 0 0;
	text-align: center;
}

.studio-contact__visual {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	padding: 0;
	overflow: hidden;
}

.studio-contact__visual-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.studio-contact__connect {
	margin-top: 48px;
	padding: 32px 40px;
	background: #fff;
	border: 1px solid #e7ece8;
}

.studio-contact__connect-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: start;
}

.studio-contact__connect-heading {
	margin: 0 0 1rem;
	font-family: "Montserrat", sans-serif;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #263729;
}

.studio-contact__phone {
	display: inline-block;
	font-family: "Montserrat", sans-serif;
	font-size: clamp(1.25rem, 3vw, 1.75rem);
	font-weight: 500;
	line-height: 1.3;
	color: #171717;
	text-decoration: none;
	transition: color 0.2s ease;
}

.studio-contact__phone:hover,
.studio-contact__phone:focus {
	color: #263729;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.studio-contact__social-list {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.studio-contact__social-item {
	margin: 0;
}

.studio-contact__social-link {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	width: 4.5rem;
	color: #263729;
	text-decoration: none;
	transition: color 0.2s ease, transform 0.2s ease;
}

.studio-contact__social-link:hover,
.studio-contact__social-link:focus {
	color: #111913;
	transform: translateY(-2px);
}

.studio-contact__social-link .fa {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	font-size: 15px;
	line-height: 1;
	border: 1px solid #d8dfd9;
	border-radius: 50%;
	background: #fff;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.studio-contact__social-link:hover .fa,
.studio-contact__social-link:focus .fa {
	border-color: #263729;
}

.studio-contact__social-label {
	font-family: "Nunito Sans", sans-serif;
	font-size: 0.72rem;
	font-weight: 400;
	line-height: 1.3;
	text-align: center;
	color: #5f5f5f;
}

@media screen and (max-width: 991px) {
	.studio-contact__connect {
		margin-top: 32px;
		padding: 28px 24px;
	}

	.studio-contact__connect-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}
}

@media screen and (max-width: 575px) {
	.studio-contact__connect {
		padding: 24px 20px;
	}

	.studio-contact__social-list {
		justify-content: flex-start;
	}
}

@media screen and (max-width: 991px) {
	.studio-contact__grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.studio-contact__form-card,
	.studio-contact__visual {
		width: min(620px, 100%);
		height: auto;
		min-height: 0;
		margin-right: auto;
		margin-left: auto;
	}

	.studio-contact__visual {
		/* Keep image card visually aligned with form card height on tablet. */
		min-height: clamp(420px, 74vw, 620px);
	}
}

@media screen and (max-width: 575px) {
	.studio-contact {
		padding: 32px 0 56px;
	}

	.studio-contact__title {
		margin-bottom: 32px;
	}

	.studio-contact__form-card {
		padding: 24px;
	}

	.studio-contact__visual {
		min-height: clamp(320px, 92vw, 460px);
	}
}
