/* ── Map ── */
.contact-map-section {
    background: #f4f7fb;
    padding: 48px 0 56px;
}

.contact-map-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.contact-map-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #3798da;
}

.contact-map-label i {
    font-size: 0.85rem;
}

.contact-map-addr {
    font-size: 0.82rem;
    color: var(--muted);
}


.contact-map-wrap {
  position: relative;
  width: 100%;
  height: 420px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef5fc 100%);
  border-radius: 20px;
  border: 1px solid rgba(70, 100, 150, 0.12);
  box-shadow: 0 22px 60px rgba(33, 66, 114, 0.08);
  overflow: hidden;
}

.contact-map-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.contact-map-wrap iframe[src] {
  opacity: 1;
  transform: scale(1);
}

.contact-map-card {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  max-width: 260px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(19, 50, 105, 0.08);
  backdrop-filter: blur(12px);
}

.contact-map-card-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f2043;
  margin-bottom: 6px;
}

.contact-map-card-text {
  font-size: 0.85rem;
  color: #4f5f7d;
  line-height: 1.55;
}

/* Loader */
.map-loader {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.92);
  color: #495c7a;
  font-size: 14px;
  transition: opacity 0.3s ease;
}

.map-loader.hidden {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 768px) {
  .contact-map-wrap {
    height: 320px;
  }

  .contact-map-card {
    max-width: 100%;
    left: 14px;
    right: 14px;
    top: 14px;
  }
}

.map-loader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #ddd;
  border-top-color: #c9b890;
  border-radius: 50%;
  animation: mapSpin 1s linear infinite;
}

@keyframes mapSpin {
  to { transform: rotate(360deg); }
}