/* =========================================================
   İletişim — bilgiler + form + harita
   ========================================================= */
.contact { position: relative; z-index: 2; margin-top: clamp(-40px, -3vw, -28px); }
.contact__grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(28px, 4vw, 56px); align-items: start; }

/* ---------- İletişim bilgileri ---------- */
.cinfo { display: grid; gap: 12px; padding-top: clamp(40px, 5vw, 64px); }
.cinfo__item {
  display: flex; align-items: flex-start; gap: 16px; padding: 18px 20px; border-radius: 20px;
  background: #fff; color: var(--ink); text-decoration: none;
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 12px 30px -24px rgba(0,0,0,.3);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease;
}
a.cinfo__item:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 20px 40px -26px rgba(0,0,0,.4); }
.cinfo__icon {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: #f4f2ec; color: var(--ink); transition: background .3s ease;
}
a.cinfo__item:hover .cinfo__icon { background: var(--yellow); }
.cinfo__item small { display: block; margin-bottom: 3px; font: 600 .68rem var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--grey); }
.cinfo__item b, .cinfo__item span > a { display: block; font: 600 1rem/1.45 var(--font-title); letter-spacing: -.01em; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.cinfo__item span > a:hover { color: var(--yellow-d); }
.cinfo__addr { font-size: .95rem !important; font-weight: 500 !important; }

/* ---------- Form ---------- */
.cform {
  position: relative; display: grid; gap: 16px; padding: clamp(24px, 3.4vw, 40px);
  border-radius: calc(var(--radius) + 6px); background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 30px 60px -36px rgba(0,0,0,.35);
}
.cform__head h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.cform__head p { margin-top: 6px; color: var(--grey-2); font-size: .95rem; }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field[hidden] { display: none; }
.field > span { font: 600 .74rem var(--font-head); letter-spacing: .04em; color: var(--grey-2); }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 16px; border: 0; border-radius: 14px; outline: none;
  background: #f4f3ef; font: 500 .95rem var(--font-body); color: var(--ink);
  transition: background .25s ease, box-shadow .25s ease;
}
.field textarea { resize: vertical; }
.field select { min-height: 48px; cursor: pointer; }
.field input:focus, .field textarea:focus, .field select:focus { background: #fff; box-shadow: inset 0 0 0 1.5px var(--yellow); }
.field input[readonly] { background: #fff6d6; color: #6b5200; font-weight: 600; }
.field.is-error input, .field.is-error textarea, .field.is-error select { box-shadow: inset 0 0 0 1.5px #d9534f; background: #fff; }

.topics { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.topics legend { width: 100%; margin-bottom: 8px; padding: 0; }
.topics label { position: relative; cursor: pointer; }
.topics input { position: absolute; opacity: 0; pointer-events: none; }
.topics span {
  display: inline-block; padding: 9px 15px; border-radius: 999px; font: 600 .82rem var(--font-head); color: var(--grey-2);
  box-shadow: inset 0 0 0 1px var(--line); transition: background .25s ease, color .25s ease, box-shadow .25s ease;
}
.topics label:hover span { color: var(--ink); box-shadow: inset 0 0 0 1px #cfccc4; }
.topics input:checked + span { background: var(--ink); color: #fff; box-shadow: none; }
.topics input:focus-visible + span { outline: 2px solid var(--yellow-d); outline-offset: 2px; }

.consent { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: .84rem; color: var(--grey-2); line-height: 1.5; }
.consent input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--ink); }
.consent.is-error span { color: #c0392b; }
.cform__submit { justify-self: start; padding: 15px 28px; }

/* gönderildi */
.cform__done {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; padding: 32px;
  border-radius: inherit; background: #fff; text-align: center; animation: done-in .5s ease;
}
.cform__done[hidden] { display: none; }
@keyframes done-in { from { opacity: 0; transform: scale(.98); } }
.cform__check { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--yellow); color: var(--ink); }
.cform__done h3 { margin-top: 6px; font-size: 1.6rem; }
.cform__done p { color: var(--grey-2); }

/* ---------- Harita ---------- */
.cmap { padding: clamp(64px, 8vw, 104px) 0 clamp(96px, 11vw, 140px); scroll-margin-top: 80px; }
.cmap__frame { position: relative; overflow: hidden; border-radius: calc(var(--radius) + 6px); height: clamp(320px, 38vw, 460px); background: #e8e6e0; }
.cmap__frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05) brightness(1.03); transition: filter .6s ease; }
.cmap__frame:hover iframe { filter: none; }
.cmap__card {
  position: absolute; left: 20px; bottom: 20px; display: grid; gap: 6px; max-width: 320px; padding: 20px 22px;
  border-radius: 20px; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.35);
}
.cmap__card b { font: 600 1.1rem var(--font-title); letter-spacing: -.01em; }
.cmap__card span { font-size: .86rem; color: var(--grey-2); line-height: 1.5; }
.cmap__card .btn { justify-self: start; margin-top: 8px; padding: 10px 18px; font-size: .84rem; }

/* ---------- Mobil ---------- */
@media (max-width: 900px) {
  .contact { margin-top: -24px; }
  .contact__grid { grid-template-columns: 1fr; }
  .cform { order: -1; }                 /* mobilde önce form */
  .cinfo { padding-top: 0; }
}
@media (max-width: 560px) {
  .cform__row { grid-template-columns: 1fr; }
  .cform__submit { justify-self: stretch; justify-content: center; }
  .cmap__frame { height: 420px; }
  .cmap__card { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}
