/* ==========================================================
   CONTACTS PAGE
========================================================== */

.contacts-page {
	--contacts-red: #d71920;
	--contacts-ink: #263643;
	--contacts-slate: #657985;
	--contacts-soft: #eef2f5;
	--contacts-line: #dce3e8;
	--contacts-muted: #657682;

	background: #ffffff;
	color: var(--contacts-ink);
}

.contacts-container {
	width: calc(100% - 30px);
	max-width: 1560px;
	margin: 0 auto;
}


/* ==========================================================
   KICKER
========================================================== */

.contacts-kicker {
	display: flex;
	align-items: center;
	gap: 12px;

	margin: 0 0 18px;

	color: var(--contacts-red);

	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;

	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.contacts-kicker::before {
	content: "";

	width: 34px;
	height: 1px;

	background: var(--contacts-red);
}

.contacts-kicker--light {
	color: #ffffff;
}

.contacts-kicker--light::before {
	background: #ffffff;
}


/* ==========================================================
   HERO
========================================================== */

.contacts-hero {
	position: relative;

	width: calc(100% - 30px);
	max-width: 1560px;
	min-height: 390px;

	margin: 14px auto 0;

	overflow: hidden;

	border-radius: 8px;

	background: var(--contacts-slate);
}

.contacts-hero__background,
.contacts-hero__overlay {
	position: absolute;
	inset: 0;
}

.contacts-hero__background img {
	display: block;

	width: 100%;
	height: 100%;

	object-fit: cover;
	object-position: center;
}

.contacts-hero__overlay {
	background:
		linear-gradient(
			90deg,
			rgba(38, 56, 69, 0.97) 0%,
			rgba(38, 56, 69, 0.92) 35%,
			rgba(38, 56, 69, 0.68) 58%,
			rgba(38, 56, 69, 0.18) 100%
		);
}

.contacts-hero__inner {
	position: relative;
	z-index: 2;

	min-height: 390px;

	display: flex;
	align-items: center;
}

.contacts-hero__content {
	width: min(760px, 60%);

	padding: 65px 0;
}

.contacts-hero .contacts-kicker {
	color: rgba(255, 255, 255, 0.78);
}

.contacts-hero .contacts-kicker::before {
	background: var(--contacts-red);
}

.contacts-hero h1 {
	margin: 0;

	color: #ffffff;

	font-size: clamp(44px, 5vw, 72px);
	font-weight: 500;
	line-height: 1.03;

	letter-spacing: -0.035em;
}

.contacts-hero__text {
	max-width: 680px;

	margin: 24px 0 0;

	color: rgba(255, 255, 255, 0.88);

	font-size: 18px;
	line-height: 1.65;
}


/* ==========================================================
   BREADCRUMBS
========================================================== */

.contacts-breadcrumbs {
	padding: 20px 0 0;

	color: #8b969e;

	font-size: 13px;
}

.contacts-breadcrumbs a {
	color: var(--contacts-slate);
}


/* ==========================================================
   MAIN
========================================================== */

.contacts-main {
	padding: 70px 0 110px;
}

.contacts-heading {
	max-width: 760px;

	margin-bottom: 48px;
}

.contacts-heading h2 {
	margin: 0;

	color: var(--contacts-ink);

	font-size: clamp(36px, 3.5vw, 54px);
	font-weight: 500;
	line-height: 1.08;

	letter-spacing: -0.03em;
}

.contacts-heading > p:not(.contacts-kicker) {
	max-width: 680px;

	margin: 20px 0 0;

	color: var(--contacts-muted);

	font-size: 16px;
	line-height: 1.7;
}

.contacts-main__grid {
	display: grid;

	grid-template-columns:
		minmax(360px, 0.82fr)
		minmax(500px, 1.18fr);

	gap: 28px;

	align-items: stretch;
}


/* ==========================================================
   CONTACT CARDS
========================================================== */

.contacts-info {
	display: grid;

	grid-template-columns: repeat(2, minmax(0, 1fr));

	gap: 14px;
}

.contacts-info__card {
	min-height: 190px;

	padding: 28px;

	border: 1px solid var(--contacts-line);
	border-radius: 8px;

	background: #ffffff;

	transition:
		transform 0.25s ease,
		border-color 0.25s ease,
		box-shadow 0.25s ease;
}

.contacts-info__card:hover {
	transform: translateY(-2px);

	border-color: #c7d1d7;

	box-shadow:
		0 12px 32px
		rgba(38, 54, 67, 0.07);
}

.contacts-info__icon {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 48px;
	height: 48px;

	margin-bottom: 28px;

	border-radius: 6px;

	background: var(--contacts-soft);
	color: var(--contacts-red);
}

.contacts-info__label {
	display: block;

	margin-bottom: 10px;

	color: #89959d;

	font-size: 12px;
	font-weight: 700;

	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.contacts-info__card a,
.contacts-info__card p,
.contacts-info__card address {
	display: block;

	margin: 0;

	color: var(--contacts-ink);

	font-size: 16px;
	font-style: normal;
	font-weight: 500;
	line-height: 1.55;
}

.contacts-info__card a + a {
	margin-top: 4px;
}

.contacts-info__card a {
	transition: color 0.2s ease;
}

.contacts-info__card a:hover {
	color: var(--contacts-red);
}


/* ==========================================================
   FORM CARD
========================================================== */

.contacts-form-card {
	padding: 42px 46px;

	border-radius: 8px;

	background: var(--contacts-soft);
}

.contacts-form-card__header {
	margin-bottom: 30px;
}

.contacts-form-card__eyebrow {
	margin: 0 0 12px;

	color: var(--contacts-red);

	font-size: 13px;
	font-weight: 700;

	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.contacts-form-card__header h3 {
	margin: 0;

	color: var(--contacts-ink);

	font-size: clamp(28px, 2.5vw, 38px);
	font-weight: 500;
	line-height: 1.15;

	letter-spacing: -0.025em;
}

.contacts-form-card__header > p:last-child {
	margin: 14px 0 0;

	color: var(--contacts-muted);

	font-size: 15px;
	line-height: 1.6;
}


/* ==========================================================
   CONTACT FORM 7
========================================================== */

.contacts-form-card .wpcf7 {
	width: 100%;
}

.contacts-form-card .wpcf7-form {
	margin: 0;
}

.contacts-form-card .wpcf7 p {
	margin: 0 0 16px;
}

.contacts-form-card .wpcf7 label {
	display: block;

	margin: 0;

	color: #435866;

	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
}

.contacts-form-card
.wpcf7-form-control-wrap {
	display: block;

	width: 100%;

	margin-top: 7px;
}

.contacts-form-card
input[type="text"],

.contacts-form-card
input[type="tel"],

.contacts-form-card
input[type="email"],

.contacts-form-card
input[type="url"],

.contacts-form-card
select,

.contacts-form-card
textarea {
	display: block;

	width: 100%;

	box-sizing: border-box;

	border: 1px solid #d3dce2;
	border-radius: 6px;

	outline: none;

	background: #ffffff;

	color: var(--contacts-ink);

	font-family: inherit;
	font-size: 15px;

	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}

.contacts-form-card
input[type="text"],

.contacts-form-card
input[type="tel"],

.contacts-form-card
input[type="email"],

.contacts-form-card
input[type="url"],

.contacts-form-card
select {
	height: 52px;

	padding: 0 15px;
}

.contacts-form-card textarea {
	min-height: 125px;

	padding: 14px 15px;

	resize: vertical;
}

.contacts-form-card
input:focus,

.contacts-form-card
select:focus,

.contacts-form-card
textarea:focus {
	border-color: var(--contacts-slate);

	box-shadow:
		0 0 0 3px
		rgba(101, 121, 133, 0.10);
}

.contacts-form-card
.wpcf7-not-valid {
	border-color: var(--contacts-red) !important;
}

.contacts-form-card
.wpcf7-not-valid-tip {
	margin-top: 5px;

	color: var(--contacts-red);

	font-size: 12px;
}

.contacts-form-card
.wpcf7-acceptance {
	display: block;
}

.contacts-form-card
.wpcf7-acceptance
.wpcf7-list-item {
	margin: 0;
}

.contacts-form-card
.wpcf7-acceptance label {
	display: flex;

	gap: 9px;

	align-items: flex-start;

	font-weight: 400;

	cursor: pointer;
}

.contacts-form-card
.wpcf7-acceptance
input[type="checkbox"] {
	width: 17px;
	height: 17px;

	flex: 0 0 17px;

	margin: 2px 0 0;

	accent-color: var(--contacts-red);
}

.contacts-form-card
input[type="submit"] {
	display: inline-flex;

	min-height: 50px;

	margin-top: 8px;
	padding: 0 28px;

	border: 0;
	border-radius: 5px;

	background: var(--contacts-red);

	color: #ffffff;

	font-family: inherit;
	font-size: 14px;
	font-weight: 700;

	cursor: pointer;

	transition:
		transform 0.2s ease,
		background 0.2s ease;
}

.contacts-form-card
input[type="submit"]:hover {
	transform: translateY(-1px);

	background: #bd151b;
}

.contacts-form-card
.wpcf7-spinner {
	vertical-align: middle;
}

.contacts-form-card
.wpcf7-response-output {
	margin: 18px 0 0 !important;
	padding: 12px 15px !important;

	border-radius: 5px;

	font-size: 13px;
	line-height: 1.5;
}


/* ==========================================================
   MAP
========================================================== */

.contacts-location {
	padding: 105px 0;

	background: var(--contacts-soft);
}

.contacts-location__header {
	display: grid;

	grid-template-columns:
		minmax(0, 1fr)
		minmax(280px, 0.45fr);

	gap: 50px;

	align-items: end;

	margin-bottom: 38px;
}

.contacts-location__header h2 {
	margin: 0;

	color: var(--contacts-ink);

	font-size: clamp(34px, 3.2vw, 50px);
	font-weight: 500;
	line-height: 1.1;

	letter-spacing: -0.03em;
}

.contacts-location__header > p {
	margin: 0;

	color: var(--contacts-muted);

	font-size: 16px;
	line-height: 1.6;
}

.contacts-map {
	overflow: hidden;

	height: 480px;

	border-radius: 8px;

	background: #dce3e7;
}

.contacts-map iframe {
	display: block;

	width: 100%;
	height: 100%;

	border: 0;
}


/* ==========================================================
   DETAILS
========================================================== */

.contacts-details {
	padding: 75px 0;

	background: var(--contacts-slate);

	color: #ffffff;
}

.contacts-details__grid {
	display: grid;

	grid-template-columns: 0.75fr 1.25fr;

	gap: 70px;

	align-items: center;
}

.contacts-details h2 {
	max-width: 520px;

	margin: 0;

	color: #ffffff;

	font-size: clamp(30px, 3vw, 46px);
	font-weight: 500;
	line-height: 1.12;

	letter-spacing: -0.025em;
}

.contacts-details__items {
	display: grid;

	grid-template-columns: repeat(3, 1fr);
}

.contacts-details__items > div {
	min-height: 95px;

	padding: 10px 28px;

	border-left:
		1px solid
		rgba(255, 255, 255, 0.2);

	display: flex;
	flex-direction: column;
	justify-content: center;
}

.contacts-details__items span {
	margin-bottom: 8px;

	color: rgba(255, 255, 255, 0.62);

	font-size: 12px;
	font-weight: 600;

	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.contacts-details__items strong,
.contacts-details__items a {
	color: #ffffff;

	font-size: 16px;
	font-weight: 500;
	line-height: 1.4;
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 1100px) {

	.contacts-main__grid {
		grid-template-columns: 1fr;
	}

	.contacts-info__card {
		min-height: 165px;
	}

	.contacts-details__grid {
		grid-template-columns: 1fr;
		gap: 35px;
	}

}


/* ==========================================================
   MOBILE / TABLET
========================================================== */

@media (max-width: 800px) {

	.contacts-hero {
		min-height: 340px;
	}

	.contacts-hero__inner {
		min-height: 340px;
	}

	.contacts-hero__content {
		width: 78%;
	}

	.contacts-hero__overlay {
		background:
			linear-gradient(
				90deg,
				rgba(38, 56, 69, 0.96) 0%,
				rgba(38, 56, 69, 0.82) 70%,
				rgba(38, 56, 69, 0.52) 100%
			);
	}

	.contacts-main {
		padding: 60px 0 75px;
	}

	.contacts-location {
		padding: 75px 0;
	}

	.contacts-location__header {
		grid-template-columns: 1fr;
		gap: 15px;
	}

	.contacts-details__items {
		grid-template-columns: 1fr;
	}

	.contacts-details__items > div {
		min-height: 78px;

		padding: 18px 0;

		border-left: 0;

		border-top:
			1px solid
			rgba(255, 255, 255, 0.18);
	}

}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 640px) {

	.contacts-container {
		width: calc(100% - 24px);
	}

	.contacts-hero {
		width: calc(100% - 24px);

		min-height: 330px;

		margin-top: 10px;

		border-radius: 7px;
	}

	.contacts-hero__inner {
		min-height: 330px;
	}

	.contacts-hero__content {
		width: 100%;

		padding: 45px 0;
	}

	.contacts-hero h1 {
		font-size: 40px;
	}

	.contacts-hero__text {
		max-width: 95%;

		font-size: 15px;
		line-height: 1.6;
	}

	.contacts-hero__overlay {
		background:
			rgba(38, 56, 69, 0.86);
	}

	.contacts-breadcrumbs {
		padding-top: 14px;
	}

	.contacts-main {
		padding: 48px 0 60px;
	}

	.contacts-heading {
		margin-bottom: 30px;
	}

	.contacts-heading h2 {
		font-size: 34px;
	}

	.contacts-info {
		grid-template-columns: 1fr;
	}

	.contacts-info__card {
		min-height: 0;

		padding: 23px;
	}

	.contacts-info__icon {
		margin-bottom: 20px;
	}

	.contacts-form-card {
		padding: 28px 20px;
	}

	.contacts-location {
		padding: 60px 0;
	}

	.contacts-map {
		height: 390px;
	}

	.contacts-details {
		padding: 58px 0;
	}

}