.contacts-section {
  background-color: #fff;
  padding: 3rem 2rem;
	position: relative;
}

.contacts-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #b30000;
  border-left: 6px solid #b30000;
  padding-left: 1rem;
}

.contacts-container {
  max-width: 1200px;
  margin: 0 auto;
}

.contacts-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
}

.contacts-info {
  flex: 1 1 400px;
}

.contacts-address {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  color: #111;
  background: #f9f9f9;
  padding: 1.2rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.contacts-address.contacts-active {
  display: block;
  opacity: 1;
}

.contacts-address h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  color: #900;
}

.contacts-address a {
  color: #b30000;
  text-decoration: underline;
}

.contacts-address a:hover {
  text-decoration: none;
}

.contacts-address ul {
  margin: 0.5rem 0 1rem;
  padding-left: 1.2rem;
  list-style-type: disc;
}

#office-select {
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 2px solid #900;
  border-radius: 8px;
  background-color: #fff;
  color: #111;
  background-image: url("data:image/svg+xml;utf8,<svg fill='black' viewBox='0 0 24 24' width='24' height='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
  appearance: none;
  width: 100%;
  max-width: 400px;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

#office-select:hover,
#office-select:focus {
  border-color: #b30000;
  box-shadow: 0 0 0 3px rgba(179, 0, 0, 0.2);
  outline: none;
}

.contacts-image {
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contacts-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: cover;
  border-radius: 14px; /* чуть мягче */
box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3);

  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.contacts-image img:hover {
  transform: scale(1.02);
box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4);

}



.contacts-map-wrapper {
  margin-top: 2rem;
  height: 400px;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.contacts-map {
  width: 100%;
  height: 100%;
}

/* Fade эффекты */
.contacts-fade {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.contacts-fade-show {
  opacity: 1;
}

/*						Внимание - режим работы					*/
.contact-worktime {
	padding: 20px 0 60px;
}
/*									Секция с предупреждением				*/
.contacts-warning {
  position: relative;
  width: 100%;
  background-image: url("../images/inf/contacts-attention-banner.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  aspect-ratio: 2883 / 1024;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.contacts-warning-text {
  max-width: 600px;
  color: #1a1a1a;
  text-align: right;
  font-family: inherit;
  padding-right: 5%;
  padding-bottom: 5%;
  box-sizing: border-box;
}

.contacts-warning-text h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.contacts-warning-text p {
  font-size: 1.125rem;
  line-height: 1.6;
}

/* Адаптация под мобилки */
@media (max-width: 768px) {
  .contacts-warning {
    aspect-ratio: auto;
    background-size: cover;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
  }

  .contacts-warning-text {
    text-align: left;
    max-width: 100%;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    backdrop-filter: blur(2px);
  }

  .contacts-warning-text h3 {
    font-size: 1.5rem;
  }

  .contacts-warning-text p {
    font-size: 1rem;
  }
}
