/* ============================================================
   Carsell TR — İLETİŞİM SAYFASI (cx-*)
   Logo paleti: ink #172128 · mavi #0086FF
   ============================================================ */

:root {
  --cx-ink: #172128;
  --cx-ink-2: #1f2c36;
  --cx-blue: #0086ff;
  --cx-blue-dark: #006bd6;
  --cx-blue-soft: #e8f4ff;
  --cx-wa: #22c15e;
  --cx-bg: #f4f7fa;
  --cx-card: #ffffff;
  --cx-text: #33414d;
  --cx-muted: #7b8a97;
  --cx-line: #e3eaf1;
  --cx-radius: 20px;
  --cx-shadow: 0 10px 32px rgba(23, 33, 40, 0.08);
  --cx-shadow-lg: 0 24px 60px rgba(23, 33, 40, 0.14);
  --cx-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.cx-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.cx-blue { color: var(--cx-blue); }

.cx-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--cx-blue-soft);
  color: var(--cx-blue-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============================================================
   HERO
   ============================================================ */
.cx-hero {
  position: relative;
  background: var(--cx-ink);
  color: #fff;
  padding: 72px 0 132px;
  overflow: hidden;
  isolation: isolate;
}

.cx-hero__pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, #000 40%, transparent 100%);
  z-index: -1;
}

.cx-hero__glow {
  position: absolute;
  width: 560px;
  height: 560px;
  right: -140px;
  top: -220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 134, 255, 0.35) 0%, transparent 65%);
  filter: blur(10px);
  z-index: -1;
}

.cx-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 40px;
}

.cx-breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.25s;
}

.cx-breadcrumb a:hover { color: var(--cx-blue); }

.cx-hero__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: end;
}

.cx-hero__title {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}

.cx-hero__desc {
  font-size: 1.08rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  max-width: 520px;
  margin: 0;
}

.cx-hero__right {
  display: grid;
  gap: 12px;
  justify-items: stretch;
}

.cx-hero__stat {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(4px);
}

.cx-hero__stat strong {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--cx-blue);
  white-space: nowrap;
}

.cx-hero__stat span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}

/* ============================================================
   HIZLI KANALLAR (hero'nun üstüne taşan kartlar)
   ============================================================ */
.cx-channels {
  margin-top: -76px;
  position: relative;
  z-index: 2;
}

.cx-channels__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.cx-channel {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 22px 20px;
  background: var(--cx-card);
  border-radius: var(--cx-radius);
  border: 1px solid var(--cx-line);
  box-shadow: var(--cx-shadow);
  text-decoration: none;
  color: var(--cx-text);
  transition: transform 0.35s var(--cx-ease), box-shadow 0.35s var(--cx-ease), border-color 0.35s;
}

.cx-channel:hover {
  transform: translateY(-6px);
  box-shadow: var(--cx-shadow-lg);
  border-color: rgba(0, 134, 255, 0.35);
  color: var(--cx-text);
}

.cx-channel__ico {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  background: var(--cx-blue-soft);
  color: var(--cx-blue-dark);
  margin-bottom: 8px;
  transition: transform 0.35s var(--cx-ease);
}

.cx-channel:hover .cx-channel__ico { transform: scale(1.08) rotate(-4deg); }

.cx-channel--wa .cx-channel__ico {
  background: rgba(34, 193, 94, 0.12);
  color: var(--cx-wa);
}

.cx-channel--wa:hover { border-color: rgba(34, 193, 94, 0.4); }

.cx-channel__label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--cx-muted);
}

.cx-channel__value {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--cx-ink);
  word-break: break-word;
}

.cx-channel__hint {
  margin-top: 6px;
  font-size: 0.84rem;
  color: var(--cx-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.cx-channel__hint i {
  transition: transform 0.3s var(--cx-ease);
  color: var(--cx-blue);
}

.cx-channel:hover .cx-channel__hint i { transform: translateX(4px); }

/* ============================================================
   ANA BÖLÜM — BİLGİ PANELİ + FORM
   ============================================================ */
.cx-main {
  background: var(--cx-bg);
  padding: 100px 0 88px;
  margin-top: -30px;
}

.cx-main__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 36px;
  align-items: start;
}

/* --- Sol panel --- */
.cx-side {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 18px;
}

.cx-office {
  background: var(--cx-card);
  border: 1px solid var(--cx-line);
  border-radius: var(--cx-radius);
  padding: 28px;
  box-shadow: var(--cx-shadow);
}

.cx-office__title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--cx-ink);
  margin: 0 0 10px;
}

.cx-office__addr {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--cx-text);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 18px;
}

.cx-office__addr i { color: var(--cx-blue); margin-top: 3px; }

.cx-office__map {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--cx-line);
  margin-bottom: 18px;
  aspect-ratio: 16 / 10;
}

.cx-office__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.cx-office__rows {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cx-office__rows li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px dashed var(--cx-line);
  font-size: 0.92rem;
}

.cx-office__rows li span {
  color: var(--cx-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.cx-office__rows li span i { color: var(--cx-blue); }

.cx-office__rows li strong {
  color: var(--cx-ink);
  font-weight: 700;
  text-align: right;
}

/* --- Değerleme CTA --- */
.cx-valuation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  border-radius: var(--cx-radius);
  background: linear-gradient(115deg, var(--cx-blue) 0%, var(--cx-blue-dark) 100%);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(0, 134, 255, 0.35);
  transition: transform 0.35s var(--cx-ease), box-shadow 0.35s var(--cx-ease);
  position: relative;
  overflow: hidden;
}

.cx-valuation::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  right: -60px;
  bottom: -90px;
}

.cx-valuation:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(0, 134, 255, 0.45);
  color: #fff;
}

.cx-valuation__text {
  display: grid;
  gap: 3px;
}

.cx-valuation__text strong { font-size: 1.05rem; font-weight: 800; }
.cx-valuation__text span { font-size: 0.88rem; opacity: 0.85; }

.cx-valuation__btn {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  transition: transform 0.3s var(--cx-ease);
  z-index: 1;
}

.cx-valuation:hover .cx-valuation__btn { transform: translateX(5px); }

/* --- Form --- */
.cx-formwrap {
  background: var(--cx-card);
  border: 1px solid var(--cx-line);
  border-radius: var(--cx-radius);
  padding: 36px;
  box-shadow: var(--cx-shadow);
}

.cx-form-head { margin-bottom: 26px; }

.cx-form-title {
  font-size: clamp(1.4rem, 2.6vw, 1.75rem);
  font-weight: 800;
  color: var(--cx-ink);
  margin: 14px 0 0;
  letter-spacing: -0.01em;
}

.cx-alert {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 0.94rem;
  margin-bottom: 22px;
}

.cx-alert--success {
  background: #e8f9ef;
  color: #157347;
  border: 1px solid #bfe9d0;
}

.cx-alert--error {
  background: #fdecec;
  color: #b02a37;
  border: 1px solid #f5c2c7;
}

.cx-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

/* Yüzen etiketli alanlar */
.cx-field {
  position: relative;
  margin-bottom: 18px;
}

.cx-field input,
.cx-field select,
.cx-field textarea {
  width: 100%;
  padding: 22px 16px 10px;
  border: 1.5px solid var(--cx-line);
  border-radius: 12px;
  background: #fbfcfe;
  font-size: 0.98rem;
  font-family: inherit;
  color: var(--cx-ink);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
  appearance: none;
  -webkit-appearance: none;
}

.cx-field select { min-height: 58px; cursor: pointer; }

.cx-field textarea { resize: vertical; min-height: 130px; }

.cx-field label {
  position: absolute;
  left: 16px;
  top: 16px;
  font-size: 0.97rem;
  color: var(--cx-muted);
  pointer-events: none;
  transition: all 0.2s var(--cx-ease);
}

.cx-field input:focus,
.cx-field select:focus,
.cx-field textarea:focus {
  border-color: var(--cx-blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 134, 255, 0.1);
}

.cx-field input:focus + label,
.cx-field input:not(:placeholder-shown) + label,
.cx-field textarea:focus + label,
.cx-field textarea:not(:placeholder-shown) + label,
.cx-field select:focus + label,
.cx-field select:valid + label {
  top: 7px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cx-blue-dark);
}

.cx-field--select::after {
  content: "\F282";
  font-family: "bootstrap-icons";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--cx-muted);
  pointer-events: none;
  font-size: 0.85rem;
}

.cx-form__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 8px;
}

.cx-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  border: none;
  border-radius: 999px;
  background: var(--cx-ink);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s var(--cx-ease), box-shadow 0.3s;
}

.cx-submit:hover {
  background: var(--cx-blue);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 134, 255, 0.35);
}

.cx-submit i { transition: transform 0.3s var(--cx-ease); }
.cx-submit:hover i { transform: translateX(4px) rotate(8deg); }

.cx-form__note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 20px 0 0;
  font-size: 0.84rem;
  color: var(--cx-muted);
}

.cx-form__note i { color: var(--cx-blue); }

/* ============================================================
   SSS
   ============================================================ */
.cx-faq {
  background: #fff;
  padding: 80px 0 96px;
}

.cx-faq__head {
  text-align: center;
  margin-bottom: 44px;
}

.cx-faq__title {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 800;
  color: var(--cx-ink);
  letter-spacing: -0.01em;
  margin: 14px 0 0;
}

.cx-faq__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 22px;
  align-items: start;
  max-width: 1050px;
  margin: 0 auto;
}

.cx-faq__item {
  border: 1px solid var(--cx-line);
  border-radius: 16px;
  background: var(--cx-card);
  overflow: hidden;
  transition: box-shadow 0.3s, border-color 0.3s;
}

.cx-faq__item:has(.cx-faq__q:not(.collapsed)) {
  border-color: rgba(0, 134, 255, 0.35);
  box-shadow: var(--cx-shadow);
}

.cx-faq__q {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 18px 20px;
  background: none;
  border: none;
  text-align: left;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--cx-ink);
  cursor: pointer;
}

.cx-faq__no {
  flex: 0 0 auto;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--cx-blue);
  background: var(--cx-blue-soft);
  border-radius: 8px;
  padding: 5px 8px;
}

.cx-faq__text { flex: 1; }

.cx-faq__q i {
  flex: 0 0 auto;
  color: var(--cx-muted);
  transition: transform 0.3s var(--cx-ease);
}

.cx-faq__q:not(.collapsed) i {
  transform: rotate(180deg);
  color: var(--cx-blue);
}

.cx-faq__a {
  padding: 0 20px 20px 62px;
  color: var(--cx-text);
  font-size: 0.93rem;
  line-height: 1.7;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .cx-channels__grid { grid-template-columns: repeat(2, 1fr); }
  .cx-main__grid { grid-template-columns: 1fr; }
  .cx-side { position: static; }
  .cx-hero__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .cx-hero__right {
    grid-template-columns: repeat(3, 1fr);
  }
  .cx-hero__stat { flex-direction: column; gap: 2px; align-items: flex-start; }
}

@media (max-width: 768px) {
  .cx-hero { padding: 48px 0 116px; }
  .cx-faq__grid { grid-template-columns: 1fr; }
  .cx-formwrap { padding: 26px 20px; }
  .cx-form__row { grid-template-columns: 1fr; gap: 0; }
  .cx-form__footer { justify-content: center; }
  .cx-submit { width: 100%; justify-content: center; }
}

@media (max-width: 560px) {
  .cx-channels__grid { grid-template-columns: 1fr; }
  .cx-hero__right { grid-template-columns: 1fr; }
  .cx-hero__stat { flex-direction: row; align-items: baseline; }
  .cx-faq__a { padding-left: 20px; }
}
