/* Контакти на головній — split + icon rows (макет zip) */

.contacts-section {
  background: var(--color-bg-page);
  padding: 0;
}

.contacts-layout {
  display: grid;
  gap: clamp(2rem, 5vw, 3.75rem);
  align-items: stretch;
  padding: var(--section-pad-y) var(--section-pad-x);
}

.contacts-layout__content {
  min-width: 0;
}

.contacts-section__header {
  margin-bottom: 2rem;
}

.contacts-section__header .section-heading {
  margin-top: 0.875rem;
}

.contact-rows {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(31, 74, 115, 0.1);
}

.contact-row:last-child {
  border-bottom: 1px solid rgba(31, 74, 115, 0.1);
}

.contact-row__icon {
  width: 2.625rem;
  height: 2.625rem;
  border-radius: 0.6875rem;
  background: var(--color-bg-accent);
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-row__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-sage-dark);
}

.contact-row__value {
  margin-top: 0.25rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-navy);
  line-height: 1.4;
}

.contact-row__value a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-ui) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .contact-row__value a:hover {
    color: var(--color-navy-dark);
  }
}

.contacts-layout__map {
  min-width: 0;
}

.contacts-section .map-preview {
  width: 100%;
  min-height: 16rem;
  height: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-bg-accent);
  border: 1px solid rgba(138, 175, 168, 0.28);
}

.contacts-section .map-preview iframe {
  width: 100%;
  height: 100%;
  min-height: 16rem;
  display: block;
  border: 0;
}

.contacts-section .map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 16rem;
  height: 100%;
  padding: var(--space-lg);
  text-align: center;
  color: var(--color-sage-dark);
}

.contacts-section .map-placeholder__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  color: inherit;
}

.contacts-section .map-placeholder p {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 500;
}

.contacts-section__more {
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .contacts-layout {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .contacts-section .map-preview,
  .contacts-section .map-preview iframe,
  .contacts-section .map-placeholder {
    min-height: 22.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-row__value a {
    transition: none;
  }
}
