/* ============================================================
   CONTACT HERO — matching h-man hero layout
   Map on left, text on right
   ============================================================ */

.contact-hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px 40px;
}

.contact-hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-hero-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

/* ============================================================
   HERO MAP CONTAINER
   ============================================================ */
#hero-map {
  width: 100%;
  height: 420px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 1;
  background: #e8ecf1;
}

/* Loading placeholder */
#hero-map:not(.loaded) {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
}
#hero-map:not(.loaded)::after {
  content: 'Loading map…';
}

/* ============================================================
   TEXT STYLES — matching h-man hero text
   ============================================================ */
.contact-hero-right .hero-title {
  font-size: 38px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 20px;
  text-align: left !important;
}

.contact-hero-right .hero-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.85) !important;
  line-height: 1.7;
  text-align: justify;
  max-width: 600px;
  margin-bottom: 30px;
}

/* ============================================================
   LEAFLET OVERRIDES
   ============================================================ */
#hero-map .leaflet-control-zoom {
  border: none !important;
  border-radius: 8px !important;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
}
#hero-map .leaflet-control-zoom a {
  width: 34px !important;
  height: 34px !important;
  line-height: 34px !important;
  font-size: 18px !important;
  color: #264D77 !important;
  background: #fff !important;
  border: none !important;
}
#hero-map .leaflet-control-zoom a:hover {
  background: #f4f6f9 !important;
}
#hero-map .leaflet-control-attribution {
  font-size: 10px !important;
  opacity: 0.5;
}
#hero-map .leaflet-control-attribution a {
  color: #264D77 !important;
}

/* Popup */
#hero-map .leaflet-popup-content-wrapper {
  border-radius: 10px !important;
  padding: 0 !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 14px !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12) !important;
}
#hero-map .leaflet-popup-content {
  margin: 14px 18px !important;
}
#hero-map .leaflet-popup-content strong {
  color: #142D47;
  display: block;
  margin-bottom: 4px;
}
#hero-map .leaflet-popup-tip {
  background: #fff !important;
  box-shadow: none !important;
}
#hero-map .leaflet-popup-close-button {
  top: 6px !important;
  right: 6px !important;
  color: #888 !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
  .contact-hero-content {
    gap: 40px;
  }
  .contact-hero-right .hero-title {
    font-size: 32px;
  }
  .contact-hero-right .hero-subtitle {
    font-size: 16px;
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    min-height: auto;
    padding: 60px 0 40px;
  }
  .contact-hero-content {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 20px 30px;
  }
  .contact-hero-left {
    order: 1; /* map stays on top */
  }
  .contact-hero-right {
    order: 2;
    align-items: center;
    text-align: center;
  }
  .contact-hero-right .hero-title {
    text-align: center !important;
    font-size: 26px;
  }
  .contact-hero-right .hero-subtitle {
    text-align: justify;
    max-width: 100%;
    margin-bottom: 0;
  }
  #hero-map {
    height: 300px;
  }
}
