/* ==========================================================================
   İletişim — /iletisim (pages/contact.php)
   Kategori sayfasının koyu üst alanını (.cathero, pages/kategori.css) temel alır.
   Tüm yeni seçiciler .chero / .cmethod(s) / .cpage / .cform / .cside / .coffice / .cmap / .clinks ile sınırlıdır.
   ========================================================================== */

/* ---------- üst alan */
.chero .chero__in { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); padding-block: 28px 128px; }
.chero .cathero__eyebrow { color: #fff; margin: 0 0 14px; }
.chero__art { position: relative; justify-self: center; width: 260px; aspect-ratio: 1; display: grid; place-items: center; }
.chero__ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(143,179,234,.28); }
.chero__ring:nth-child(2) { inset: 18%; border-color: rgba(143,179,234,.38); background: radial-gradient(circle, rgba(58,116,209,.18), transparent 70%); }
.chero__ring:nth-child(3) { inset: 36%; border-color: rgba(143,179,234,.5); }
.chero__pin { position: relative; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 20px; background: var(--red); color: #fff; box-shadow: 0 18px 40px rgba(227,38,47,.4), 0 0 0 10px rgba(255,255,255,.06); transform: rotate(-6deg); }
.chero__pin svg { width: 36px; height: 36px; transform: rotate(6deg); }
@media (prefers-reduced-motion: no-preference) {
    .chero__ring:nth-child(1) { animation: chero-pulse 4.5s ease-out infinite; }
}
@keyframes chero-pulse { 0%, 100% { opacity: .6; transform: scale(.96); } 50% { opacity: 1; transform: scale(1); } }

/* ---------- iletişim kanalları (üst alanın altına biner) */
.cmethods { position: relative; z-index: 2; list-style: none; margin: -76px 0 0; padding: 0; display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 16px; }
.cmethods:has(> :nth-child(3):last-child) { --cols: 3; }
.cmethod { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 22px 22px 16px; background: #fff; border: 1px solid #e6ecf4; border-radius: 18px; box-shadow: 0 18px 44px rgba(13,27,46,.10); transition: box-shadow .2s, transform .2s, border-color .2s; }
.cmethod:hover { border-color: #d5e0ef; box-shadow: 0 22px 50px rgba(13,27,46,.14); transform: translateY(-2px); }
.cmethod__ico { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 12px; border-radius: 14px; background: var(--brand-50); color: var(--brand); transition: background .2s, color .2s; }
.cmethod__ico svg, .cmethod__ico .i { width: 24px; height: 24px; }
.cmethod:hover .cmethod__ico { background: var(--brand); color: #fff; }
.cmethod__label { font: 600 12px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cmethod__value { font-size: 17px; font-weight: 600; line-height: 1.4; color: var(--ink); overflow-wrap: anywhere; }
.cmethod__value a { color: var(--ink); }
.cmethod__value a:hover { color: var(--brand); }
.cmethod:nth-child(3) .cmethod__value { font-size: 15px; font-weight: 500; color: var(--ink-2); }
.cmethod__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; min-height: 44px; }
.cmethod__action { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; color: var(--brand); font-size: 14px; font-weight: 600; }
.cmethod__action .i { width: 15px; height: 15px; transition: transform .15s; }
.cmethod__action:hover .i { transform: translateX(3px); }
.cmethod__copy { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; min-height: 32px; padding: 0 10px; border: 1px solid #e1e8f1; border-radius: 8px; background: #fff; color: var(--muted); font-size: 13px; font-weight: 500; cursor: pointer; transition: color .15s, border-color .15s, background .15s; }
.cmethod__copy svg { width: 15px; height: 15px; }
.cmethod__copy:hover { color: var(--brand); border-color: var(--brand); }
.cmethod__copy.is-done { color: #157347; border-color: #9ed5b5; background: #effaf3; }

/* ---------- form + yan sütun */
.cpage { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(24px, 3.5vw, 44px); align-items: start; padding-block: clamp(36px, 4.5vw, 56px) clamp(40px, 5vw, 64px); }

.cform { min-width: 0; background: #fff; border: 1px solid #e6ecf4; border-radius: 20px; box-shadow: 0 10px 30px rgba(19,43,70,.06); padding: clamp(22px, 3.4vw, 40px); scroll-margin-top: 100px; }
.cform__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px 20px; flex-wrap: wrap; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid #eef2f8; }
.cform__head .slash-title { margin: 0 0 6px; font-size: clamp(22px, 2.2vw, 28px); }
.cform__head p { margin: 0; color: var(--ink-2); font-size: 15px; }
.cform__head .cform__req { color: var(--muted); font-size: 13.5px; }
.cform b { color: var(--red); font-weight: 700; }
.cform__form { gap: 18px; }
.cform .field { display: grid; gap: 7px; min-width: 0; align-content: start; }
.cform .field .ferr { margin-top: -2px; }
.cform .field > label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); }
.field__opt { color: var(--muted); font-weight: 400; font-size: 13px; }
.field__hint { color: var(--muted); font-size: 13px; line-height: 1.45; }
.cform input, .cform textarea, .cform select { font: inherit; font-size: 16px; color: var(--ink); width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #dfe6f0; border-radius: 10px; background: #fbfcfe; transition: border-color .15s, box-shadow .15s, background .15s; }
.cform textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.cform select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; background: #fbfcfe url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%2364718a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; }
.cform select:invalid { color: #8794aa; }
.cform select option { color: var(--ink); }
.cform input::placeholder, .cform textarea::placeholder { color: #9aa7bd; }
.cform input:hover, .cform textarea:hover, .cform select:hover { border-color: #c8d4e6; }
.cform input:focus, .cform textarea:focus, .cform select:focus { outline: none; background-color: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-50); }
.cform input:user-invalid, .cform textarea:user-invalid, .cform select:user-invalid { border-color: var(--red); }
.cform__foot { display: flex; align-items: center; gap: 14px 22px; flex-wrap: wrap; margin-top: 6px; padding-top: 20px; border-top: 1px solid #eef2f8; }
.cform__foot .btn { min-height: 52px; padding-inline: 28px; font-size: 16px; }
.cform__foot .btn .i { width: 18px; height: 18px; transition: transform .15s; }
.cform__foot .btn:hover .i { transform: translateX(3px); }
.cform__foot p { display: flex; align-items: center; gap: 8px; flex: 1 1 240px; margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.cform__foot p .i { width: 18px; height: 18px; color: var(--brand); }

/* firma + harita kartı */
.cside { position: sticky; top: 96px; min-width: 0; }
.coffice { overflow: hidden; background: #fff; border: 1px solid #e6ecf4; border-radius: 20px; box-shadow: 0 10px 30px rgba(19,43,70,.06); }
.coffice__body { position: relative; overflow: hidden; padding: 26px 26px 22px; color: #fff; background: radial-gradient(120% 140% at 0% 0%, #12305e 0%, #0b1d3a 55%, #081530 100%); }
.coffice__body::before { content: ""; position: absolute; right: 30px; top: -36px; width: 10px; height: 150px; background: linear-gradient(180deg, transparent, var(--red) 40%, transparent); transform: rotate(28deg); opacity: .8; }
.coffice__body > * { position: relative; }
.coffice .slash { color: #fff; font-size: 13px; }
.coffice__name { margin: 0 0 16px; font-size: 19px; font-weight: 700; line-height: 1.35; letter-spacing: -.01em; color: #fff; }
.coffice__addr { display: flex; gap: 12px; margin: 0 0 16px; font-style: normal; font-size: 15px; line-height: 1.55; color: #dbe4f1; }
.coffice__addr svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: #8fb3ea; }
.coffice__list { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid rgba(255,255,255,.12); }
.coffice__list li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 15px; color: #e6edf7; overflow-wrap: anywhere; }
.coffice__list li:last-child { border-bottom: 0; padding-bottom: 0; }
.coffice__list span { flex: none; color: #8fa0bb; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.coffice__list a { color: #fff; font-weight: 600; text-align: right; }
.coffice__list a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.coffice a:focus-visible { outline-color: #fff; }
.coffice__dir { display: flex; align-items: center; gap: 10px; padding: 15px 22px; border-top: 1px solid #eef2f8; color: var(--brand); font-weight: 600; font-size: 15px; transition: background .15s; }
.coffice__dir svg { width: 18px; height: 18px; flex: none; }
.coffice__dir .i { width: 15px; height: 15px; margin-left: auto; }
.coffice__dir:hover { background: var(--soft); }
.coffice .coffice__dir:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; border-radius: 0 0 20px 20px; }

/* tıkla-yükle harita */
.cmap { position: relative; aspect-ratio: 4 / 3; background: #eef3f9; }
.cmap__facade { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 20px; text-align: center; background:
    linear-gradient(115deg, transparent 47%, rgba(255,255,255,.95) 47.5%, rgba(255,255,255,.95) 50.5%, transparent 51%),
    linear-gradient(25deg, transparent 62%, rgba(255,255,255,.8) 62.4%, rgba(255,255,255,.8) 64.4%, transparent 64.8%),
    linear-gradient(160deg, transparent 30%, rgba(255,255,255,.7) 30.3%, rgba(255,255,255,.7) 31.8%, transparent 32.1%),
    linear-gradient(rgba(27,79,160,.06) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(27,79,160,.06) 1px, transparent 1px) 0 0 / 24px 24px,
    radial-gradient(70% 60% at 70% 30%, #dfe9d9 0, transparent 70%),
    #e9eff6; }
.cmap__pin { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50% 50% 50% 6px; background: var(--red); color: #fff; transform: rotate(-45deg); box-shadow: 0 12px 26px rgba(227,38,47,.35); }
.cmap__pin svg { width: 26px; height: 26px; transform: rotate(45deg); }
.cmap__load { background: #fff; color: var(--ink); border-color: #d5e0ef; box-shadow: 0 8px 20px rgba(13,27,46,.12); min-height: 44px; }
.cmap__load:hover { color: var(--brand); border-color: var(--brand); }
.cmap small { color: var(--muted); font-size: 12.5px; }
.cmap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- hızlı erişim bandı */
.clinks { padding-bottom: clamp(48px, 6vw, 80px); }
.clinks__band { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2.2fr); gap: clamp(20px, 3vw, 36px); align-items: center; padding: clamp(24px, 3.2vw, 36px); border-radius: 20px; color: #fff; background: radial-gradient(120% 140% at 0% 0%, #12305e 0%, #0b1d3a 60%, #081530 100%); box-shadow: 0 20px 44px rgba(8,21,48,.20); }
.clinks__band::before { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 220px; background: radial-gradient(circle, rgba(58,116,209,.35), transparent 70%); pointer-events: none; }
.clinks__band > * { position: relative; }
.clinks .slash { color: #fff; font-size: 13px; margin-bottom: 8px; }
.clinks h2 { margin: 0; font-size: clamp(20px, 2vw, 26px); font-weight: 700; letter-spacing: -.02em; color: #fff; }
.clinks__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.clinks__list a { display: flex; align-items: center; gap: 14px; height: 100%; padding: 16px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); color: #fff; transition: background .2s, border-color .2s; }
.clinks__list a:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.28); color: #fff; }
.clinks__list a:focus-visible { outline-color: #fff; }
.clinks__ico { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: rgba(143,182,245,.16); color: #8fb6f5; }
.clinks__ico .i { width: 22px; height: 22px; }
.clinks__text { display: grid; gap: 2px; min-width: 0; }
.clinks__text strong { font-size: 15.5px; font-weight: 600; }
.clinks__text small { color: #b9c7dc; font-size: 13px; line-height: 1.4; }
.clinks__arrow { width: 16px; height: 16px; margin-left: auto; color: #8fb6f5; transition: transform .15s; }
.clinks__list a:hover .clinks__arrow { transform: translateX(3px); }

/* ---------- duyarlı */
@media (max-width: 1240px) {
    .clinks__band { grid-template-columns: 1fr; }
}
@media (max-width: 1080px) {
    .cmethods, .cmethods:has(> :nth-child(3):last-child) { --cols: 2; }
    .cpage { grid-template-columns: 1fr; }
    .cside { position: static; }
    .coffice { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .coffice__body { grid-row: span 2; }
    .cmap { aspect-ratio: auto; min-height: 260px; }
}
@media (max-width: 860px) {
    .chero .chero__in { grid-template-columns: 1fr; gap: 8px; padding-bottom: 108px; }
    .chero__art { display: none; }
    .clinks__list { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
    .coffice { display: block; }
    .cmap { aspect-ratio: 4 / 3; min-height: 0; }
}
@media (max-width: 560px) {
    .chero .cathero__actions .btn { flex: 1 1 auto; }
    .chero .cathero__actions .cathero__btn { flex-basis: 100%; }
    .cmethods, .cmethods:has(> :nth-child(3):last-child) { --cols: 1; gap: 12px; margin-top: -56px; }
    .chero .chero__in { padding-bottom: 88px; }
    .cmethod { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; row-gap: 2px; padding: 16px; }
    .cmethod__ico { grid-row: span 2; margin: 0; width: 44px; height: 44px; }
    .cmethod__foot { grid-column: 1 / -1; padding-top: 10px; min-height: 0; }
    .cmethod__value { font-size: 16px; }
    .cform .form__row { grid-template-columns: 1fr; }
    .cform__foot .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .cmethod, .cmethod__action .i, .cform__foot .btn .i, .clinks__arrow { transition: none; }
    .cmethod:hover { transform: none; }
}
