/* ===== Contacts ===== */
#contacts {
	padding-top: 40px;
	padding-bottom: 40px;

	@media (max-width: 767px) {
		padding-top: 20px;
		padding-bottom: 20px;
	}
}

.contacts__title {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 40px;
	line-height: 48px;
	text-transform: uppercase;
	margin-bottom: 60px;

	@media (max-width: 1200px) {
		font-size: 32px;
		line-height: 40px;
		margin-bottom: 40px;
	}

	@media (max-width: 767px) {
		font-size: 22px;
		line-height: 28px;
		margin-bottom: 20px;
	}
}

/* ===== Two-column layout ===== */
.contacts__content {
	display: flex;
	gap: 20px;
	align-items: stretch;

	@media (max-width: 767px) {
		flex-direction: column;
	}
}

.contacts__requisites .btn {
	/* margin-top: auto; */
	max-width: 282px;
}

/* ===== Left: Requisites ===== */
.contacts__requisites {
	flex: 1 0 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
	border-top: 1px solid var(--color-gray-light);
	padding-top: 20px;

	@media (max-width: 1200px) {
		flex: 0 0 258px;
	}

	@media (max-width: 767px) {
		flex: none;
		width: 100%;
		border-top: none;
		padding-top: 0;
	}
}

.contacts__req-label {
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 15px;
	line-height: 24px;
	color: var(--color-black);
}

.contacts__req-data {
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex: 1;
}

.contacts__company {
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 15px;
	line-height: 24px;
	color: var(--color-black);
}

.contacts__req-rows {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.contacts__req-row {
	display: flex;
	align-items: center;
	gap: 8px;
}

.contacts__req-key {
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 15px;
	line-height: 24px;
	color: var(--color-black);
}

.contacts__req-val {
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 15px;
	line-height: 24px;
	color: var(--color-gray);
}

/* ===== Right: Info ===== */
.contacts__info {
	flex: 1 0 0;
	display: flex;
	flex-direction: column;
	gap: 40px;

	@media (max-width: 1200px) {
		gap: 20px;
	}

	@media (max-width: 767px) {
		flex: none;
		width: 100%;
		gap: 20px;
	}
}

.contacts__locations {
	display: flex;
	flex-direction: column;
	gap: 12px;

	@media (max-width: 767px) {
		gap: 8px;
	}
}

/* Office / production address cards */
.contacts__office {
	background: var(--color-gray-light);
	border-radius: 4px;
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 32px;

	@media (max-width: 1200px) {
		gap: 20px;
	}

	@media (max-width: 767px) {
		padding: 20px 12px;
		gap: 12px;
	}
}

.contacts__office-top {
	display: flex;
	flex-direction: column;
	gap: 12px;

	@media (max-width: 767px) {
		gap: 8px;
	}
}

.contacts__office-label {
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 14px;
	line-height: 14px;
	color: var(--color-gray);
}

.contacts__office-address {
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 28px;
	line-height: 32px;
	letter-spacing: -0.56px;
	color: var(--color-black);

	@media (max-width: 1200px) {
		font-size: 22px;
		line-height: 32px;
		letter-spacing: 0;
	}
}

.contacts__office-directions {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-family: var(--font-body);
	font-size: 15px;
	line-height: 24px;
}

.contacts__office-how {
	font-weight: 600;
	color: var(--color-gray);
}

.contacts__office-item {
	font-weight: 600;
	color: var(--color-black);
}

.contacts__office-route {
	width: fit-content;
	max-width: 100%;
	align-self: flex-start;
}

/* Contact rows */
.contacts__rows {
	display: flex;
	flex-direction: column;
}

.contacts__row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	padding: 20px 0;
	border-bottom: 1px solid var(--color-gray);

	&:first-child {
		padding-top: 0;
	}

	@media (max-width: 1200px) {
		padding: 16px 0;

		&:first-child {
			padding-top: 0;
		}
	}

	@media (max-width: 767px) {
		flex-direction: column;
		gap: 12px;
		padding: 16px 0;

		&:first-child {
			padding-top: 0;
		}
	}
}

.contacts__row-label {
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 15px;
	line-height: 24px;
	color: var(--color-black);
	flex-shrink: 0;
}

.contacts__row-value {
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 15px;
	line-height: 24px;
	color: var(--color-gray);
	width: 300px;
	flex-shrink: 0;

	@media (max-width: 1200px) {
		width: 256px;
	}

	@media (max-width: 767px) {
		width: auto;
	}
}

.contacts__row-value p {
	margin-bottom: 8px;
}

.contacts__row-value p:last-child {
	margin-bottom: 0;
}

.contacts__row-value a {
	color: inherit;
	text-decoration: underline;

	&:hover {
		color: var(--color-orange);
	}
}

.contacts__row-links {
	display: flex;
	flex-direction: column;
	width: 300px;
	flex-shrink: 0;

	@media (max-width: 1200px) {
		width: 256px;
	}

	@media (max-width: 767px) {
		width: auto;
	}

	a {
		font-family: var(--font-body);
		font-weight: 400;
		font-size: 15px;
		line-height: 24px;
		color: var(--color-black);
		text-decoration: underline;
		text-decoration-skip-ink: none;

		&:hover {
			color: var(--color-orange);
		}
	}
}

.contacts__row--socials {
	justify-content: flex-end;
	border-bottom: none;
	padding-bottom: 0;

	.contacts__row-links {
		flex-direction: row;
		gap: 16px;
		width: auto;
	}
}

.contacts__row--action {
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
	border-bottom: none;

	.btn {
		max-width: 282px;
		width: 100%;
	}
}
