/* ============================================
   İletişim sayfası: lacivert başlık şeridi (sepet ailesi), solda iletişim bilgileri,
   sağda beyaz satış/teklif form kartı, altta müşteri paneli yönlendirme bandı.
   Belirteçler site-skin.css (--hm-*); düğmeler cloudserver.css (.cs-btn).
   Form alan sınıfları components.css'ten gelir; burada görünümleri eşitlenir.
   ============================================ */

.cx {
    --cx-line: #d3dde8;
    --cx-r: 12px;
    --cx-muted: #5f6f86;
}
.cx ::selection { background: #cfe4f4; color: var(--hm-ink); }
.cx :is(h1, h2) { margin: 0; font-family: var(--hm-display); font-weight: 700; letter-spacing: -.015em; text-wrap: balance; color: var(--hm-ink); }
.cx :where(a, button, input, textarea):focus-visible { outline: 2px solid var(--hm-blue-400); outline-offset: 2px; }

/* ---------- Başlık şeridi ---------- */
.cx-strip {
    padding: 34px 0 36px; color: #fff;
    background:
        radial-gradient(520px 260px at 8% 120%, rgb(58 144 206 / .22), rgb(58 144 206 / 0) 70%),
        radial-gradient(640px 300px at 96% -40%, rgb(58 144 206 / .18), rgb(58 144 206 / 0) 70%),
        var(--hm-navy-950);
}
.cx .cx-strip h1 { color: #fff; font-size: clamp(1.75rem, 3vw, 2.25rem); line-height: 1.15; }
.cx-strip p { max-width: 44em; margin: 8px 0 0; color: var(--hm-on-dark-2); font-size: 16px; line-height: 1.55; }

/* ---------- Gövde ---------- */
.cx-body { padding-top: 40px; padding-bottom: 72px; }
.cx-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: start; }
.cx h2 { font-size: 1.25rem; line-height: 1.2; }

/* İletişim bilgileri: tek liste, satırlar 1px çizgiyle ayrılır */
.cx-info { padding-top: 22px; }
.cx .cx-list { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--cx-line); }
.cx-list li { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--cx-line); }
.cx-list li > .cs-i { margin-top: 2px; font-size: 20px; color: var(--hm-blue-600); }
.cx-list li > div { min-width: 0; }
.cx-k { display: block; font-size: 13px; font-weight: 500; color: var(--cx-muted); }
.cx .cx-fig {
    display: inline-block; margin-top: 2px; color: var(--hm-ink);
    font: 700 20px/1.3 var(--hm-display); font-variant-numeric: tabular-nums; white-space: nowrap;
    text-decoration: none; transition: color .15s;
}
.cx .cx-fig--mail { font-size: 18px; }
.cx .cx-fig:hover { color: var(--hm-blue-600); }
.cx-addr { margin: 4px 0 0; font-style: normal; font-size: 15px; line-height: 1.55; color: var(--hm-ink-2); }
.cx .cx-map {
    display: inline-flex; align-items: center; gap: 6px; margin-top: 8px;
    color: var(--hm-blue-600); font-size: 14px; font-weight: 600; text-decoration: none;
}
.cx-map .cs-i { font-size: 16px; transition: transform .15s var(--hm-ease); }
.cx .cx-map:hover { color: var(--hm-blue-700); }
.cx-map:hover .cs-i { transform: translateX(3px); }

/* Form kartı */
.cx-card {
    background: #fff; border: 1px solid var(--cx-line); border-radius: var(--cx-r);
    box-shadow: 0 1px 2px rgb(6 32 51 / .04), 0 10px 28px -18px rgb(6 32 51 / .22);
}
.cx-card-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 28px; border-bottom: 1px solid var(--cx-line); }

/* Bilgi ipucu: yalnız ikon; metin üzerine gelince ve odakta görünür */
.cx-tip {
    position: relative; display: inline-grid; place-items: center; width: 28px; height: 28px; padding: 0;
    border: 0; border-radius: 50%; background: transparent; color: var(--cx-muted); cursor: help; font-size: 18px; flex: none;
}
.cx-tip:hover { color: var(--hm-blue-600); }
.cx-tip::after {
    content: attr(data-tip); position: absolute; top: calc(100% + 8px); right: -4px; z-index: 30;
    width: max-content; max-width: min(300px, calc(100vw - 48px));
    padding: 9px 11px; border-radius: 8px; background: var(--hm-navy-950); color: #fff;
    font: 500 13.5px/1.45 var(--font-body, Inter, system-ui, sans-serif); text-align: left; white-space: normal;
    box-shadow: 0 8px 24px -8px rgb(6 32 51 / .5); pointer-events: none;
}
.cx-tip:not(:hover):not(:focus)::after { display: none; }

.ct-form { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 24px 28px 28px; }
.ct-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ct-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ct-form .form-group { margin: 0; }
.ct-form .form-group label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--hm-ink); }
.ct-form .form-input, .ct-form .form-textarea {
    width: 100%; padding: 11px 13px; border: 1px solid var(--cx-line); border-radius: 9px; background: #fff;
    color: var(--hm-ink); font-family: inherit; font-size: 15px; line-height: 1.4; box-shadow: none;
    transition: border-color .15s, box-shadow .15s;
}
.ct-form .form-textarea { min-height: 160px; resize: vertical; }
.ct-form .form-input::placeholder, .ct-form .form-textarea::placeholder { color: #6b7a90; opacity: 1; }
.ct-form .form-input:hover, .ct-form .form-textarea:hover { border-color: #b9c8d8; }
.ct-form .form-input:focus, .ct-form .form-textarea:focus { outline: 0; border-color: var(--hm-blue-600); box-shadow: 0 0 0 3px var(--hm-tint-line); }
.cx .ct-submit { align-self: flex-start; min-width: 160px; border: 0; cursor: pointer; }
.cx .ct-submit:disabled { opacity: .6; cursor: progress; }

/* ---------- Müşteri paneli bandı ---------- */
.cx-panel {
    display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap;
    margin-top: 40px; padding: 24px 28px; border: 1px solid var(--hm-tint-line); border-radius: var(--cx-r);
    background: var(--hm-tint);
}
.cx-panel-t { min-width: 0; }
.cx-panel p { margin: 4px 0 0; font-size: 15px; color: var(--hm-ink-2); }
.cx-panel .cs-btn { flex: none; }
.cx-panel .cs-btn .cs-i { transition: transform .15s var(--hm-ease); }
.cx-panel .cs-btn:hover .cs-i { transform: translateX(3px); }

@media (max-width: 960px) {
    .cx-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .cx-info { padding-top: 0; }
}
@media (min-width: 641px) and (max-width: 960px) {
    .cx .cx-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
    .cx-list li:last-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    .cx-strip { padding: 26px 0 28px; }
    .cx-body { padding-top: 28px; padding-bottom: 56px; }
    .cx-card-h { padding: 16px 18px; }
    .ct-form { padding: 18px; }
    .ct-row { grid-template-columns: minmax(0, 1fr); }
    .cx .ct-submit { align-self: stretch; }
    .cx-panel { padding: 20px 18px; }
    .cx-panel .cs-btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .cx *, .cx *::after { transition: none !important; }
}
