/* ==========================================================================
   Yardım Merkezi (Yardim.html), yardım konusu, sipariş takibi
   ========================================================================== */

.help-page { display: flex; flex-direction: column; gap: var(--section-gap); padding-block: 32px 64px; }
.help-page--topic, .help-page--track { padding-top: 0; }

/* Hero */
.help-hero {
  position: relative; overflow: hidden; min-height: 300px; padding: 48px 56px; border-radius: var(--radius-hero);
  background: var(--orange-100); display: flex; flex-direction: column; gap: 20px;
}
.help-hero-circle { position: absolute; right: -80px; top: -80px; width: 360px; height: 360px; border-radius: 50%; background: #FFE2CC; }
.help-hero-icon { position: absolute; right: 70px; top: 50px; color: var(--orange-600); }
.help-hero h1 { position: relative; font-size: 44px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; max-width: 760px; }
.help-search {
  position: relative; width: 100%; max-width: 760px; height: 60px; display: flex; border: 2px solid var(--orange-600);
  border-radius: var(--radius-panel); overflow: hidden; background: #fff;
}
.help-search:focus-within { box-shadow: var(--focus); }
.help-search-icon { width: 56px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: var(--muted); }
.help-search input { flex-grow: 1; min-width: 0; border: 0; outline: none; font-size: 16px; background: transparent; }
.help-search input::placeholder { color: var(--muted); }
.help-search button { width: 120px; flex-shrink: 0; border: 0; background: var(--orange-600); color: #fff; font-size: 16px; font-weight: 800; }
.help-search button:hover { background: var(--orange-700); }
.help-popular { position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13.5px; }
.help-popular > span { color: var(--ink-3); margin-right: 4px; }
.help-popular a {
  height: 34px; padding: 0 14px; border-radius: var(--radius-pill); background: #fff; color: var(--ink); font-weight: 700;
  text-decoration: none; display: inline-flex; align-items: center;
}
.help-popular a:hover { color: var(--orange-700); }

/* Konular */
.help-section { display: flex; flex-direction: column; gap: 20px; }
.topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.topic-card {
  min-height: 150px; padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  color: var(--ink); text-decoration: none; display: flex; gap: 18px; transition: border-color .15s;
}
.topic-card:hover { border-color: var(--petrol-300); color: var(--ink); }
.topic-card:hover strong { color: var(--orange-700); }
.topic-icon { width: 52px; height: 52px; flex-shrink: 0; border-radius: var(--radius-card); background: var(--orange-100); color: var(--orange-600); display: flex; align-items: center; justify-content: center; }
.topic-icon--lg { width: 60px; height: 60px; border-radius: var(--radius-panel); }
.topic-text { display: flex; flex-direction: column; gap: 6px; }
.topic-text strong { font-size: 17px; }
.topic-text span { font-size: 14px; line-height: 1.5; color: var(--muted); }

/* SSS + iletişim */
.help-split { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 32px; align-items: start; }
.help-faq, .help-contact { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.help-faq:focus, .help-contact:focus, .contact-form:focus { outline: none; }
.faq { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--border-soft); }
.faq-item:last-child, .faq-item.is-last { border-bottom: 0; }
.faq-q { margin: 0; font: inherit; letter-spacing: 0; }
.faq-q button {
  width: 100%; min-height: 64px; padding: 14px 24px; border: 0; background: transparent; font-size: 16px; font-weight: 700;
  color: var(--ink); text-align: left; display: flex; align-items: center; gap: 16px; font-family: var(--font-body);
}
.faq-q button:hover .faq-q-text { color: var(--orange-700); }
.faq-q-text { flex-grow: 1; line-height: 1.4; }
.faq-icon { width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; background: var(--ground); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.faq-icon .i-minus { display: none; }
.faq-q button[aria-expanded="true"] .faq-icon { background: var(--orange-600); color: #fff; }
.faq-q button[aria-expanded="true"] .i-plus { display: none; }
.faq-q button[aria-expanded="true"] .i-minus { display: block; }
.faq-a p { padding: 0 72px 22px 24px; font-size: 15px; line-height: 1.65; color: var(--ink-3); }
.faq-a mark { background: var(--peach); color: inherit; border-radius: 3px; }
.faq-empty { padding: 24px; display: flex; gap: 18px; align-items: flex-start; }
.faq-empty > div { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.faq-empty strong { font-size: 17px; }
.faq-empty p { font-size: 14.5px; color: var(--ink-3); line-height: 1.55; }

.live-card { padding: 24px; border-radius: 18px; background: var(--petrol-600); color: #fff; display: flex; flex-direction: column; gap: 14px; }
.live-head { display: flex; align-items: center; gap: 12px; }
.live-head svg { color: var(--apricot); }
.live-head strong { font-size: 17px; }
.live-card p { font-size: 14px; line-height: 1.5; color: var(--petrol-50); }
.live-btn { height: 50px; border-radius: 12px; font-size: 15.5px; }
.channels { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; }
.channels li { padding: 16px 22px; border-bottom: 1px solid var(--border-soft); display: flex; align-items: center; gap: 14px; }
.channels li:last-child { border-bottom: 0; }
.ch-icon { width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; background: var(--ground); color: var(--petrol-600); display: flex; align-items: center; justify-content: center; }
.ch-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.ch-text > span { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.ch-text strong, .ch-text a { font-size: 15px; font-weight: 700; }
.ch-text strong { color: var(--ink); }

/* Bize yazın */
.contact-form { padding: 36px 40px; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; display: flex; gap: 48px; scroll-margin-top: 16px; }
.cf-intro { width: 320px; flex-shrink: 0; display: flex; flex-direction: column; gap: 10px; }
.cf-intro h2 { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.cf-intro p { font-size: 15px; line-height: 1.6; color: var(--ink-3); }
.cf-body { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.cf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cf-grid .span-2 { grid-column: 1 / -1; }
.cf-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.check-legal { font-size: 13.5px; line-height: 1.5; color: var(--ink-3); }
.check-legal a { font-weight: 700; }
.cf-submit { height: 52px; flex-shrink: 0; padding: 0 32px; font-size: 16px; }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.field .opt { font-weight: 500; color: var(--muted); }

/* Konu sayfası */
.topic-head { display: flex; align-items: center; gap: 18px; padding-top: 8px; }
.topic-desc { margin-top: 6px; font-size: 16px; line-height: 1.55; color: var(--ink-3); max-width: 640px; }
.topic-others { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.acc-subtitle-help { font-size: 20px; font-weight: 700; }

/* Sipariş takibi */
.track-grid { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 32px; align-items: start; }
.track-card { padding: 32px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-hero); display: flex; flex-direction: column; gap: 16px; }
.track-card .page-title { font-size: 32px; }
.track-card .topic-desc { font-size: 15px; margin-top: 0; }
.track-form { display: flex; flex-direction: column; gap: 14px; }
.track-form .btn { height: 52px; }
.track-result { padding: 28px; display: flex; flex-direction: column; gap: 22px; }
.track-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.track-grid:has(.track-result) { grid-template-columns: minmax(0, 400px) minmax(0, 1fr); }
.track-grid:not(:has(.track-result)) { grid-template-columns: minmax(0, 520px); justify-content: center; }

/* Duyarlı */
@media (max-width: 1279px) {
  .help-split { grid-template-columns: minmax(0, 1fr) 380px; }
}
@media (max-width: 1023px) {
  .help-page { padding-top: 16px; }
  .help-hero { padding: 32px 28px; min-height: 0; }
  .help-hero h1 { font-size: 34px; max-width: 560px; }
  .help-hero-icon { width: 120px; height: 120px; right: 24px; top: 24px; }
  .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .help-split { grid-template-columns: minmax(0, 1fr); }
  .contact-form { flex-direction: column; gap: 20px; padding: 28px; }
  .cf-intro { width: auto; }
  .track-grid, .track-grid:has(.track-result) { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .help-hero { padding: 24px 16px; gap: 16px; border-radius: 20px; }
  .help-hero-circle, .help-hero-icon { display: none; }
  .help-hero h1 { font-size: 28px; }
  .help-search { height: 52px; border-radius: var(--radius-input); }
  .help-search-icon { width: 44px; }
  .help-search input { font-size: 15px; }
  .help-search button { width: 72px; font-size: 15px; }
  .help-popular a { height: 40px; }
  .topic-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .topic-card { min-height: 0; padding: 18px; gap: 14px; }
  .topic-icon { width: 46px; height: 46px; }
  .faq-q button { padding: 14px 16px; font-size: 15px; gap: 12px; }
  .faq-a p { padding: 0 16px 18px; font-size: 14.5px; }
  .channels li { padding: 14px 16px; }
  .contact-form { padding: 20px 16px; border-radius: var(--radius-panel); }
  .cf-intro h2 { font-size: 24px; }
  .cf-grid { grid-template-columns: minmax(0, 1fr); }
  .cf-foot { flex-direction: column; align-items: stretch; gap: 16px; }
  .cf-submit { width: 100%; }
  .track-card, .track-result { padding: 20px 16px; }
  .track-card .page-title { font-size: 26px; }
  .track-facts { grid-template-columns: minmax(0, 1fr); }
  .topic-head { align-items: flex-start; }
}

/* Sipariş takibi: "Değerlendir" bağlantısı mobilde 44px dokunma alanı */
.help-page--track .od-review-link { min-height: 44px; }
