/* Contacts Page Styles */
/* Header container width fix for contacts page */
.header-white .container {
  max-width: 1312px !important;
}

/* Hero section for contacts page */
.projects-hero {
  padding: 40px 0 20px !important;
  max-width: 1312px;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
}

.hero-content {
  width: 100%;
}

/* Breadcrumbs */
.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.breadcrumb-link {
  font-family: "Inter", Helvetica;
  font-weight: 400;
  color: var(--gray-6);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-link:hover {
  color: var(--dark-9);
}

.breadcrumb-separator {
  font-family: "Inter", Helvetica;
  font-weight: 400;
  color: var(--gray-6);
  font-size: 14px;
}

.breadcrumb-current {
  font-family: "Inter", Helvetica;
  font-weight: 400;
  color: var(--gray-6);
  font-size: 14px;
}

/* Map styles */
.map {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
}

.map::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  filter: grayscale(100%);
  pointer-events: none;
}

.map iframe {
  min-height: 521px;
  width: 100%;
  border: none;
}

/* Contact text styles overrides */

/* Фон страницы как на главной */
.element {
  background-color: #f5f5f5;
}

/* Заголовок "Контакты" как на главной странице */
.contacts-page .projects-title {
  font-family: "Unbounded", Helvetica;
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  line-height: 130%;
  color: var(--dark-9);
  margin-bottom: 24px;
  margin-top: 0;
}

/* Адаптивные стили для заголовка */
@media (max-width: 1340px) {
  .contacts-page .projects-title {
    font-size: 36px;
  }
}

@media (max-width: 800px) {
  .contacts-page .projects-title {
    font-size: 30px;
  }
}

@media (max-width: 600px) {
  .contacts-page .projects-title {
    font-size: 26px;
  }
}

@media (max-width: 380px) {
  .contacts-page .projects-title {
    font-size: 25px;
  }
}

@media (max-width: 320px) {
  .contacts-page .projects-title {
    font-size: 21px;
  }
}


/* Стили для блока контактов как на главной странице (из main.css) */
.element .div-7 {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0px 15px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  max-width: 1342px;
  margin: 0 auto;
}

.element .contacts-box {
  display: flex;
  flex-direction: column;
  height: 726px;
  align-items: flex-start;
  gap: 8px;
  padding: 20px;
  position: relative;
  align-self: stretch;
  width: 100%;
  background-color: #ffffff;
  border-radius: 24px;
  box-shadow: 0px 6px 8px #00000005;
}

.element .description-button-2 {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 12px;
  position: relative;
  align-self: stretch;
  width: 100%;
  background-color: var(--gray-0);
  border-radius: 16px;
}

.element .description {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.element .frame-2 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.element .frame-8 {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 12px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.element .box-3 {
  display: flex;
  flex-direction: column;
  width: 180px;
  align-items: flex-start;
  gap: 4px;
  position: relative;
}

.element .box-4 {
  display: inline-flex;
  gap: 4px;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}

.element .text-wrapper-33 {
  position: relative;
  align-self: stretch;
  margin-top: -1.00px;
  font-family: var(--head-03-font-family);
  font-weight: var(--head-03-font-weight);
  color: var(--dark-9);
  font-size: var(--head-03-font-size);
  letter-spacing: var(--head-03-letter-spacing);
  line-height: var(--head-03-line-height);
  font-style: var(--head-03-font-style);
}

.element .text-wrapper-20 {
  position: relative;
  display: flex;
  align-items: center;
  align-self: stretch;
  font-family: var(--text-m-14-font-family);
  font-weight: var(--text-m-14-font-weight);
  color: #868e96;
  font-size: var(--text-m-14-font-size);
  letter-spacing: var(--text-m-14-letter-spacing);
  line-height: var(--text-m-14-line-height);
  font-style: var(--text-m-14-font-style);
}

.element .text-wrapper-34 {
  position: relative;
  display: flex;
  align-items: center;
  align-self: stretch;
  margin-top: -1.00px;
  font-family: var(--text-m-14-font-family);
  font-weight: var(--text-m-14-font-weight);
  color: #868e96;
  font-size: var(--text-m-14-font-size);
  letter-spacing: var(--text-m-14-letter-spacing);
  line-height: var(--text-m-14-line-height);
  font-style: var(--text-m-14-font-style);
}

.element .text-wrapper-35 {
  position: relative;
  align-self: stretch;
  font-family: var(--subtitle-m-18-font-family);
  font-weight: var(--subtitle-m-18-font-weight);
  color: var(--dark-9);
  font-size: var(--subtitle-m-18-font-size);
  letter-spacing: var(--subtitle-m-18-letter-spacing);
  line-height: var(--subtitle-m-18-line-height);
  font-style: var(--subtitle-m-18-font-style);
}

.element .text-wrapper-36 {
  position: relative;
  width: fit-content;
  font-family: var(--subtitle-m-18-font-family);
  font-weight: var(--subtitle-m-18-font-weight);
  color: var(--dark-9);
  font-size: var(--subtitle-m-18-font-size);
  letter-spacing: var(--subtitle-m-18-letter-spacing);
  line-height: var(--subtitle-m-18-line-height);
  white-space: nowrap;
  font-style: var(--subtitle-m-18-font-style);
}

/* Стили карты из main.css */
.map {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
}

.map::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  filter: grayscale(100%);
  pointer-events: none;
}

.map iframe {
  min-height: 521px;
  width: 100%;
  border: none;
}

/* Отступ между картой и футером */
.element .div-7 {
  margin-bottom: 40px;
}

/* Мобильная версия */
@media (max-width: 860px) {
  /* Заголовок страницы "Контакты" - 22px */
  .contacts-page .projects-title {
    font-size: 22px !important;
    line-height: 1.3 !important;
  }
  
  /* Заголовок "Офис" - 22px */
  .element .text-wrapper-33 {
    font-size: 22px !important;
    line-height: 1.3 !important;
  }
  
  /* Вертикальное выравнивание блоков Время работы, Телефон, E-mail */
  .element .frame-8 {
    flex-direction: column !important;
    gap: 16px !important;
    padding: 12px !important;
  }
  
  /* Блоки с информацией на всю ширину */
  .element .box-3,
  .element .box-4 {
    width: 100% !important;
  }
}