.bt-contact-section {
	padding: 3.5rem 0;
}

.bt-contact-section__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}

@media (min-width: 992px) {
	.bt-contact-section__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
		gap: 2.5rem;
		align-items: start;
	}
}

.bt-contact-section__title {
	margin: 0 0 0.9rem;
	font-family: "Lexend", sans-serif;
	font-size: clamp(1.8rem, 3vw, 2.4rem);
	line-height: 1.15;
	color: var(--text-primary, #1c1e21);
}

.bt-contact-section__description {
	margin: 0;
	font-size: 1rem;
	line-height: 1.55;
	color: var(--text-secondary, #5c6670);
}

.bt-contact-section__photo-wrap {
	margin: 1.35rem 0 0;
	padding: 0;
	max-width: min(100%, 28rem);
	border-radius: 0.75rem;
	overflow: hidden;
	box-shadow: 0 12px 40px rgba(15, 23, 42, 0.1);
}

.bt-contact-section__photo {
	display: block;
	width: 100%;
	height: auto;
}

.bt-contact-section__form {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.1rem 1.4rem;
}

@media (min-width: 720px) {
	.bt-contact-section__form {
		grid-template-columns: 1fr 1fr;
	}
}

.bt-contact-section__field {
	display: grid;
	gap: 0;
}

.bt-contact-section__field label {
	position: absolute;
	left: -9999px;
}

.bt-contact-section__field input,
.bt-contact-section__field textarea {
	width: 100%;
	border: 0;
	border-bottom: 1px solid rgba(17, 24, 39, 0.5);
	border-radius: 0;
	padding: 0 0 0.55rem 0;
	background: transparent;
	color: var(--text-primary, #1c1e21);
	font-size: 1rem;
	line-height: 1.25;
}

.bt-contact-section__field input:focus,
.bt-contact-section__field textarea:focus {
	outline: none;
	border-bottom-color: var(--accent, #3088eb);
	box-shadow: none;
}

.bt-contact-section__field textarea {
	resize: vertical;
	min-height: 4.6rem;
}

.bt-contact-section__field--full {
	grid-column: 1 / -1;
	margin-top: 0.2rem;
}

.bt-contact-section__field input::placeholder,
.bt-contact-section__field textarea::placeholder {
	color: rgba(17, 24, 39, 0.9);
	opacity: 1;
}

.bt-contact-section__submit {
	border: 0;
	border-radius: 999px;
	padding: 0.85rem 1.7rem;
	font-weight: 700;
	font-size: 1rem;
	letter-spacing: 0;
	background: #111;
	color: #fff;
	cursor: pointer;
	justify-self: start;
	margin-top: 0.25rem;
}

.bt-contact-section__submit:hover {
	opacity: 0.94;
}

.bt-contact-section__notice {
	margin-bottom: 0.8rem;
	padding: 0.7rem 0.8rem;
	border-radius: 0.55rem;
	font-size: 0.92rem;
}

.bt-contact-section__notice--success {
	background: rgba(16, 185, 129, 0.12);
	border: 1px solid rgba(16, 185, 129, 0.35);
	color: #065f46;
}

.bt-contact-section__notice--error {
	background: rgba(239, 68, 68, 0.1);
	border: 1px solid rgba(239, 68, 68, 0.3);
	color: #991b1b;
}

.bt-contact-section__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

[data-theme="dark"] .bt-contact-section__title {
	color: var(--text-primary, #f5f5f5);
}

[data-theme="dark"] .bt-contact-section__description,
[data-theme="dark"] .bt-contact-section__field label {
	color: rgba(255, 255, 255, 0.72);
}

[data-theme="dark"] .bt-contact-section__photo-wrap {
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .bt-contact-section__field input,
[data-theme="dark"] .bt-contact-section__field textarea {
	border-bottom-color: rgba(255, 255, 255, 0.36);
	color: #f2f4f7;
}

[data-theme="dark"] .bt-contact-section__field input::placeholder,
[data-theme="dark"] .bt-contact-section__field textarea::placeholder {
	color: rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .bt-contact-section__submit {
	background: #f3f4f6;
	color: #111827;
}

[data-theme="dark"] .bt-contact-section__notice--success {
	color: #6ee7b7;
}

[data-theme="dark"] .bt-contact-section__notice--error {
	color: #fca5a5;
}
