:root {
  --brand-main: #067597;
  --brand-dark: #055a74;
  --bg-light: #f8fafc;
  --text-dark: #1a2733;
  --radius-lg: 24px;
}

.page-contacts {
  padding-top: 40px;
  padding-bottom: 80px;
}

/* Анимация появления */
.fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
      padding-top: 65px;
}
@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}
.btn-modern-primary {
    border: 1.5px solid #067597;
    color: #067597;
    border-radius: 50px;
    font-weight: 600;
    padding: 10px 20px;
    transition: 0.3s;
}
.btn-modern-primary:hover {
  background: #067597;
  color: #fff;
}
/* Карточки контактов */
.contact-card {
  background: #ffffff;
  border: 1px solid #eef2f6;
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  border-color: rgba(6, 117, 151, 0.2);
}

.icon-circle {
  width: 64px;
  height: 64px;
  background: #e0f2fe; /* Светло-голубой круг */
  color: var(--brand-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 1.6rem;
  transition: 0.3s;
}

.contact-card:hover .icon-circle {
  background: var(--brand-main);
  color: #fff;
  transform: scale(1.1);
}

/* Карта и Форма */
.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 500px; /* Фиксированная высота для десктопа */
  border: 1px solid #eef2f6;
}

.form-wrapper {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid #eef2f6;
}

/* Стилизация полей ввода */
.input-group-modern {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 18px;
  top: 14px;
  color: #94a3b8;
  font-size: 1.1rem;
  z-index: 2;
  transition: color 0.3s;
}

.form-control {
  padding: 12px 16px 12px 50px; /* Отступ слева под иконку */
  border-radius: 12px;
  border: 2px solid #f1f5f9;
  background: #f8fafc;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  background: #fff;
  border-color: var(--brand-main);
  box-shadow: 0 0 0 4px rgba(6, 117, 151, 0.1);
  outline: none;
}

.input-group-modern:focus-within .input-icon {
  color: var(--brand-main);
}

textarea.form-control {
  resize: none;
}

/* Кнопка отправки */
.btn-modern-primary {
    border: 1.5px solid #067597;
    color: #067597;
    border-radius: 50px;
    font-weight: 600;
    padding: 10px 20px;
    transition: 0.3s;
}
.btn-modern-primary:hover {
  background: #067597;
  color: #fff;
}

/* Адаптив */
@media (max-width: 991px) {
  .map-wrapper { height: 350px; }
  .form-wrapper { padding: 30px; }
}

@media (max-width: 768px) {
  .page-contacts h1 { font-size: 2rem; }
  .map-wrapper { height: 300px; }
  .form-wrapper { padding: 20px; }
}