/* =========================================================
   ЗЕЛЕМІНЬ — контакти на головній
   Три колонки: картка контактів | колаж фото (1 велике + 2 малі) | карта з маршрутом.
   ========================================================= */
.hc { background: var(--forest-950); padding: clamp(70px, 8vw, 120px) var(--gutter) clamp(60px, 7vw, 100px); }
.hc__inner { max-width: var(--container); margin: 0 auto; }
.hc__head { text-align: center; margin-bottom: clamp(30px, 3.4vw, 50px); }
.hc__head .section-eyebrow { justify-content: center; margin-bottom: 14px; }
.hc__title { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(2.4rem, 1.3rem + 2.8vw, 4.2rem); line-height: 1; }
.hc__title em { font-style: italic; font-weight: 500; color: var(--moss-300); }

.hc__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr); gap: 18px; align-items: stretch; }
.hc__grid > * { min-width: 0; }

/* картка контактів */
.hc-card {
  display: flex; flex-direction: column; padding: clamp(24px, 2.4vw, 34px); border-radius: 26px;
  background: linear-gradient(165deg, rgba(92, 104, 59, .4), rgba(23, 30, 17, .9) 65%); border: 1px solid var(--glass-line);
}
.hc-list { list-style: none; margin: 0; padding: 0; display: grid; }
.hc-list li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--glass-line); }
.hc-list li:first-child { padding-top: 0; }
.hc-list svg { width: 22px; height: 22px; flex: none; margin-top: 2px; color: var(--ember); }
.hc-list div { display: grid; gap: 2px; min-width: 0; }
.hc-list small, .hc-social small, .hc-map small { font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--moss-300); }
.hc-list b { font-weight: 600; font-size: 1.02rem; }
.hc-list span { font-size: .85rem; color: var(--cream-soft); }
.hc-phone { font-family: var(--font-display); font-weight: 600; font-size: 1.7rem; line-height: 1.1; font-variant-numeric: lining-nums; transition: color .3s; }
.hc-phone:hover { color: var(--ember); }
.hc-social { display: grid; gap: 10px; padding-top: 18px; }
.hc-social__row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.hc-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--glass-line); font-size: .86rem; font-weight: 600; transition: background .3s, color .3s, border-color .3s; }
.hc-chip svg { width: 17px; height: 17px; color: var(--ember); transition: color .3s; }
.hc-chip:hover { background: var(--cream); color: var(--forest-900); border-color: var(--cream); }
.hc-chip:hover svg { color: var(--forest-900); }
.hc-more { margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ember); }
.hc-more svg { transition: transform .35s var(--ease); }
.hc-more:hover svg { transform: translateX(4px); }

/* фото */
.hc-photos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1.7fr) minmax(0, 1fr); gap: 12px; min-height: 480px; }
.hc-photo { position: relative; margin: 0; overflow: hidden; border-radius: 22px; background: var(--forest-800); }
.hc-photo--main { grid-column: 1 / -1; }
.hc-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.hc-photo:hover img { transform: scale(1.06); }
.hc-photo figcaption { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(16, 21, 12, .7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: .8rem; font-weight: 600; }

/* карта */
.hc-map { display: flex; flex-direction: column; border-radius: 26px; overflow: hidden; border: 1px solid var(--glass-line); background: var(--forest-900); }
.hc-map__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 18px 16px 22px; border-bottom: 1px solid var(--glass-line); }
.hc-map__top div { display: grid; }
.hc-map__top b { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; }
.hc-map__canvas { position: relative; flex: 1; min-height: 280px; color: rgba(185, 195, 140, .16); background: radial-gradient(70% 70% at 55% 45%, #26301b, #141a0e 75%); }
.hc-map__canvas svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hc-map__pin { position: absolute; left: 62%; top: 44%; transform: translate(-50%, -100%); width: 46px; height: 46px; border-radius: 50% 50% 50% 4px; rotate: -45deg; display: grid; place-items: center; background: var(--ember); color: var(--forest-900); box-shadow: 0 12px 26px -8px rgba(242, 180, 101, .6); }
.hc-map__pin svg { rotate: 45deg; }
.hc-map__pulse { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--ember); animation: hcPing 2.6s var(--ease) infinite; }
@keyframes hcPing { from { transform: scale(1); opacity: .8; } to { transform: scale(2); opacity: 0; } }
.hc-map__label { color: var(--cream); position: absolute; left: 14%; top: 18%; display: grid; padding: 8px 14px; border-radius: 12px; background: rgba(16, 21, 12, .8); border: 1px solid var(--glass-line); }
.hc-map__label b { font-family: var(--font-display); font-size: 1.15rem; }
.hc-map__label span { font-size: .76rem; color: var(--cream-soft); }
.hc-map__nav { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--glass-line); }
.hc-map__nav a { padding: 14px; text-align: center; font-weight: 600; font-size: .9rem; transition: background .3s, color .3s; }
.hc-map__nav a + a { border-left: 1px solid var(--glass-line); }
.hc-map__nav a:hover { background: var(--cream); color: var(--forest-900); }

@media (max-width: 1180px) {
  .hc__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hc-photos { grid-column: 1 / -1; grid-row: 2; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 300px; min-height: 0; }
  .hc-photo--main { grid-column: auto; }
}
@media (max-width: 760px) {
  .hc { padding-inline: 16px; }
  .hc__grid { grid-template-columns: minmax(0, 1fr); }
  .hc-photos { grid-column: auto; grid-row: auto; grid-template-columns: 1fr 1fr; grid-template-rows: 220px 130px; min-height: 0; }
  .hc-photo--main { grid-column: 1 / -1; }
  .hc-map__top { flex-wrap: wrap; }
}
