/* Kapcsolat page styles. Loaded after shared.css.

   Ported from the standalone Kapcsolat.html prototype, which predates the
   shared layer and carried its own copy of the nav/hero/footer. Only the
   sections unique to this page live here — the hero now uses the shared
   .phero component, and the hard-coded 1272px/84px values are swapped for
   the --container / --pad-x tokens so the page lines up with the homepage. */

/* ============================================================ INTRO + FORM */
.intro{
  max-width: var(--container);
  margin: 100px auto 0;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.intro__left h2{
  margin: 0 0 32px;
  font-weight: 500; font-size: 50px; line-height: 1.22; letter-spacing: .2px;
  color: var(--ink);
  text-wrap: balance;
}
.intro__left h2 em{ font-style: normal; color: var(--primary-text); }
.intro__lede{
  font-size: 18px; line-height: 28px; color: var(--ink);
  max-width: 520px;
}

.info-stack{
  margin-top: 36px;
  display: grid; gap: 22px;
  max-width: 560px;
}
.info{
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
  transition: border-color var(--d-1) var(--ease-out);
}
.info:hover{ border-color: var(--line-strong); }
.info__icon{
  width: 56px; height: 56px; border-radius: 8px;
  background: rgba(223,81,41,.10); color: var(--primary-text);
  display: grid; place-items: center;
}
.info__label{
  font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--ink-2);
}
.info__value{
  margin-top: 4px;
  font-size: 18px; font-weight: 500; color: var(--ink); line-height: 1.45;
}
.info__value a{ color: var(--ink); transition: color .15s ease; }
.info__value a:hover{ color: var(--primary-text); }
.info__value small{
  display: block; font-weight: 400; font-size: 14px; color: var(--ink-2); margin-top: 4px;
}

/* ============================================================ MAP */
.map{
  max-width: var(--container); margin: 100px auto 0; padding: 0 var(--pad-x);
}
.map__head{
  display: flex; justify-content: space-between; align-items: end; gap: 16px;
  margin-bottom: 24px;
}
.map__title{
  margin: 0; font-weight: 500; font-size: 32px; color: var(--ink);
}
.map__tabs{ display: flex; gap: 8px; }
.map__tab{
  background: #fff; border: 1px solid var(--line); border-radius: 6px;
  padding: 10px 16px; font: 500 14px var(--font-sans); color: var(--ink);
  cursor: pointer; transition: all .15s ease;
}
.map__tab.is-on{
  background: var(--dark); border-color: var(--dark); color: #fff;
}
.map__frame{
  position: relative;
  height: 420px;
  border-radius: 12px;
  overflow: hidden;
  background: #d9dcd6;
  border: 1px solid var(--line-2);
}
.map__svg{ position: absolute; inset: 0; width: 100%; height: 100%; }
.map__pin{
  position: absolute; transform: translate(-50%, -100%);
  display: flex; flex-direction: column; align-items: center; pointer-events: none;
  transition: left .45s cubic-bezier(.2,.7,.2,1), top .45s cubic-bezier(.2,.7,.2,1);
}
.map__pin .dot{
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(223,81,41,.25);
}
.map__pin .stem{
  width: 2px; height: 12px; background: var(--primary);
}
.map__pin .label{
  margin-bottom: 6px;
  background: #fff; border-radius: 6px;
  padding: 8px 12px;
  font-size: 13px; font-weight: 600; color: var(--ink);
  box-shadow: var(--e1);
  white-space: nowrap;
}
.map__pin .label small{
  display: block; font-weight: 400; font-size: 11px; color: var(--ink-2); margin-top: 1px;
}

/* ============================================================ RESPONSIVE
   --pad-x is stepped down by shared.css at these same breakpoints, so only
   the grid shapes need restating here. */
@media (max-width: 1180px){
  .intro{ grid-template-columns: 1fr; gap: 48px; }
  .intro__left h2{ font-size: 38px; }
}
@media (max-width: 720px){
  .intro{ margin-top: 64px; }
  .intro__left h2{ font-size: 32px; }
  .formcard{ padding: 26px 22px 24px; }
  .form-grid{ grid-template-columns: 1fr; }
  .topic-row{ grid-template-columns: 1fr 1fr; }
  .team{ margin-top: 80px; }
  .team__head{ flex-direction: column; align-items: flex-start; }
  .map{ margin-top: 72px; }
  .map__head{ flex-direction: column; align-items: flex-start; }
  .map__frame{ height: 320px; }
  .submit-row{ flex-direction: column; align-items: stretch; gap: 12px; }
  .submit-row .btn{ justify-content: center; }
}
@media (prefers-reduced-motion: reduce){
  .info, .person, .map__pin{ transition: none; }
}
