/* Страница контактов */

body.contacts-page {
  background: #ffffff;
  color: #233140;
}

body.contacts-page .main-contacts {
  background: #ffffff;
}

.main-contacts {
	width: 100%;
  max-width: calc(94.4rem + var(--space-md) * 2);
  margin: 0 auto;
  padding: clamp(1rem, 1.4vw, 2rem) 20px 12.5rem;
  margin: 0 auto;
  box-sizing: border-box;
}

.contacts-page__title {
  margin: 0 0 1.1rem;
  font-family: "Cocomat Pro", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 2.625rem;
  line-height: 3.9rem;
  color: #233140;
}

.contacts-map {
  overflow: hidden;
  border-radius: 3.125rem;
  margin-bottom: 20px;
  background: #f2f4f6;
  container-type: inline-size;
}

.contacts-map__embed {
  width: 100%;
  min-height: 25rem;
  position: relative;
}

.contacts-map__embed iframe,
.contacts-map__embed > div,
.contacts-map__embed script + div {
  display: block;
  width: 100% !important;
  min-height: 25rem;
}

.contacts-panels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 48rem) {
  .contacts-panels {
    grid-template-columns: minmax(0, 2.04fr) minmax(0, 1fr);
    gap: 1.25rem;
  }
}

.contacts-panel {
  box-sizing: border-box;
  padding: clamp(1.5rem, 3.473vw, 5rem);
  border-radius: 2.875rem;
  background: #233140;
  color: #ffffff;
  min-height: 21.6rem;
}

.contacts-panel__title {
  margin: 0 0 0.625rem;
  font-family: "Cocomat Pro", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: clamp(1.5rem, 1vw, 2rem);
  line-height: 1.542;
  color: #ffffff;
}

.contacts-panel__content {
  font-family: "Cocomat Pro", sans-serif;
  font-size: clamp(1.5rem, 1vw, 2rem);
  line-height: 1.542;
  color: #ffffff;
  font-weight: 400;
}


.contacts-panel__content p {
  margin: 0 0 0.625rem;
  font-size: clamp(1.5rem, 1vw, 2rem);
  line-height: 1.542;
  font-weight: 400;
}

.contacts-panel__content p:last-child {
  margin-bottom: 0;
}

.contacts-panel--questions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.contacts-panel__email {
  margin-bottom: 0.625rem;
  font-family: "Cocomat Pro", sans-serif;
  font-size: clamp(1.25rem, 1.3899vw, 5rem);
  font-weight: 400;
  line-height: 1.542;
  color: #ffffff;
  text-decoration: none;
  word-break: break-word;
}

.contacts-panel__email::first-letter {
  text-transform: uppercase;
}

.contacts-panel__email:hover {
  opacity: 0.85;
}

.contacts-panel__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 58px;
  padding: 15px 25px;
  border-radius: 15px;
  background: var(--c-brand, #ffc601);
  color: #233140;
  font-family: "Cocomat Pro", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.contacts-panel__btn:hover {
  opacity: 0.9;
  color: #233140;
}


@media (max-width: 61.999rem) {
	.contacts-panel {
		padding: 40px;
	}
	
	.contacts-panel__title {
		font-size: 24px;
		line-height: 37px;
		margin-bottom: 10px;
	}
	
	.contacts-panel__content {
		font-size: 18px;
		line-height: 1.333;
	}
	
	.contacts-panel__content p {
		font-size: 18px;
		line-height: 1.333;
		margin-bottom: 10px;
	}
	
	.contacts-panel__email {
		font-size: 24px;
		line-height: 37px;
		margin-bottom: 10px;
	}
	
	.main-contacts {
		padding: 0 20px 20px;
	}
	
	.contacts-page__title {
		display: none;
	}

	.contacts-map {
		display: flex;
		justify-content: center;
		border-radius: 30px;
	}

	.contacts-map__embed {
		--contacts-map-design-height: 450;
		--contacts-map-design-width: 1510;
		width: 100%;
		height: max(202px, calc(100cqw * var(--contacts-map-design-height) / var(--contacts-map-design-width)));
		min-height: 202px;
		margin-inline: auto;
	}

	.contacts-map__embed iframe,
	.contacts-map__embed > div,
	.contacts-map__embed script + div {
		position: absolute;
		inset: 0;
		width: 100% !important;
		height: 100% !important;
		min-height: 0 !important;
	}
}