/* =========================================================
   HSS MEKANİK — Alan seçim çarkı (hizmetler.html)
   Çark (kategori) → alan listesi → büyük örnek çizim (sahne)
   + çizim üzerinde numaralı ekipman noktaları ve lejant
   ========================================================= */

.as-page {
  --as-genis: none;          /* tam genişlik: içerik ekranın tamamını kullanır */
  --as-kenar: clamp(20px, 3vw, 64px);
  --as-kart-golge: 0 1px 2px rgba(29, 35, 49, .05), 0 12px 24px -14px rgba(29, 35, 49, .14), 0 44px 88px -48px rgba(29, 35, 49, .32);
}
.as-container {
  max-width: var(--as-genis);
  padding-left: max(var(--as-kenar), env(safe-area-inset-left, 0px));
  padding-right: max(var(--as-kenar), env(safe-area-inset-right, 0px));
}

/* ---------- Üst bant: ince lacivert şerit (header + başlık satırı), kartlar üstüne biner ----------
   Bölüm header'ın altına girer (diğer sayfalardaki page-hero gibi), header üstte şeffaf kalır. */
.as-calisma {
  --as-bindirme: 44px;     /* kartların bant üstüne binme payı */
  position: relative; overflow-x: clip; padding-bottom: 72px;
}
main > .as-calisma:first-child { margin-top: calc(-1 * var(--header-h)); }

.as-ust {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + 14px) 0 calc(var(--as-bindirme) + 18px);
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-900) 35%, var(--navy-700) 100%);
  color: #d7e2ee;
}
.as-ust::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(rgba(163, 176, 196, .07) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(163, 176, 196, .07) 1px, transparent 1px) 0 0 / 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse 50% 140% at 84% 40%, #000 0%, transparent 72%);
          mask-image: radial-gradient(ellipse 50% 140% at 84% 40%, #000 0%, transparent 72%);
}
.as-ust::after {
  content: ""; position: absolute; right: -6%; top: -60%; width: 56%; height: 220%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(43, 143, 224, .2), transparent);
}
.as-ust-ic { position: relative; z-index: 1; }
.as-yol { margin: 0 0 6px; }
.as-baslik {
  margin: 0; color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.12;
}
.as-alt { margin: 8px 0 0; max-width: 640px; font-size: 1.02rem; line-height: 1.5; color: var(--steel-300); }

.as-govde { position: relative; z-index: 2; margin-top: calc(-1 * var(--as-bindirme)); }

.as-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, clamp(400px, 25vw, 560px)) minmax(0, 1fr);
  gap: clamp(20px, 1.8vw, 32px);
  align-items: start;
}

/* ---------- Sol: kontrol kartı (çark + alan listesi) ---------- */
.as-kontrol {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--border); border-radius: 24px;
  box-shadow: var(--as-kart-golge);
  overflow: hidden;
}

.as-wheel-col {
  display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0;
  padding: 30px 26px 20px;
  background:
    radial-gradient(circle at 50% 46%, rgba(76, 192, 236, .10), transparent 62%),
    linear-gradient(180deg, #fbfcfe, #f4f7fb);
  border-bottom: 1px solid var(--border);
}

.as-wheel {
  --as-ibre: 180;           /* ibre altta: seçili dilim alttaki alan listesini gösterir */
  position: relative;
  width: 100%; max-width: 460px; aspect-ratio: 1 / 1;
  container-type: inline-size;
  touch-action: none;
  -webkit-user-select: none; user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.as-svg {
  width: 100%; height: 100%; overflow: visible;
  filter: drop-shadow(0 22px 30px rgba(29, 35, 49, .13)) drop-shadow(0 2px 3px rgba(29, 35, 49, .06));
}
.as-tabla { fill: url(#as-tabla-g); }
.as-tabla-kenar { fill: none; stroke: #fff; stroke-opacity: .9; stroke-width: 1.5; }

.as-seg { cursor: pointer; outline: none; }
.as-wheel.is-drag .as-seg { cursor: grabbing; }
.as-seg-sekil {
  fill: url(#as-dilim-g); stroke: rgba(29, 35, 49, .06); stroke-width: 1;
  transition: fill .25s var(--ease), stroke .25s var(--ease);
}
.as-seg:hover .as-seg-sekil { fill: #eef5fd; }
.as-seg.is-active .as-seg-sekil { fill: url(#as-aktif-g); stroke: var(--navy-900); }
.as-seg-kenar { fill: url(#as-grad); opacity: 0; transition: opacity .25s var(--ease); }
.as-seg.is-active .as-seg-kenar { opacity: 1; filter: drop-shadow(0 0 6px rgba(76, 192, 236, .55)); }
.as-seg:focus-visible .as-seg-sekil { stroke: var(--accent-400); stroke-width: 4; }

.as-seg-etiket text {
  font-family: var(--font); font-size: 17px; font-weight: 600; letter-spacing: -.005em;
  fill: var(--navy-700);
  transition: fill .25s var(--ease);
  pointer-events: none;
}
.as-seg.is-active .as-seg-etiket text { fill: #fff; }

.as-gobek { fill: url(#as-gobek-g); filter: drop-shadow(0 6px 10px rgba(29, 35, 49, .14)); }
.as-gobek-halka { fill: none; stroke: #e6ebf2; stroke-width: 1; }
.as-ibre path { filter: drop-shadow(0 3px 5px rgba(30, 122, 214, .4)); }

.as-hub-text {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 31%;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  text-align: center; pointer-events: none;
}
.as-hub-ad {
  font-family: var(--font-display); font-stretch: 106%; font-weight: 700;
  font-size: 1.05rem; font-size: clamp(.8rem, 4.4cqi, 1.15rem);
  line-height: 1.16; letter-spacing: -.01em; color: var(--navy-900);
  text-wrap: balance;
}
.as-hub-say {
  font-family: var(--font-mono); font-size: .68rem; font-size: clamp(.6rem, 2.7cqi, .72rem);
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent-600);
}

.as-hint { margin: 0; font-size: .84rem; color: var(--text-muted); text-align: center; }

.as-side { min-width: 0; padding: 22px 20px 22px; }
.as-kat-ad {
  margin: 0 0 4px 6px;
  font-family: var(--font-display); font-stretch: 108%; font-weight: 700;
  font-size: 1.14rem; line-height: 1.2; letter-spacing: -.01em; color: var(--navy-900);
}
.as-kat-desc { margin: 0 0 14px 6px; font-size: .87rem; line-height: 1.5; color: var(--text-muted); }

.as-list { position: relative; display: flex; flex-direction: column; gap: 2px; }
.as-list.is-yeni { animation: as-belir .32s var(--ease) both; }

.as-alan {
  position: relative;
  display: flex; align-items: center; gap: 10px; width: 100%;
  margin: 0; padding: 9px 12px 9px 18px;
  border: 0; border-radius: 11px; background: transparent;
  font: inherit; font-size: .9rem; line-height: 1.35; text-align: left;
  color: var(--navy-700); cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}
.as-alan::before {
  content: ""; position: absolute; left: 6px; top: 10px; bottom: 10px; width: 3px; border-radius: 3px;
  background: var(--brand-gradient); opacity: 0; transition: opacity .2s var(--ease);
}
.as-alan:hover { background: #f2f6fb; color: var(--navy-900); }
.as-alan[aria-checked="true"] {
  background: linear-gradient(180deg, #fff, #f7f9fc); color: var(--navy-900); font-weight: 600;
  box-shadow: 0 0 0 1px var(--border), 0 1px 2px rgba(29, 35, 49, .05), 0 10px 20px -12px rgba(29, 35, 49, .25);
}
.as-alan[aria-checked="true"]::before { opacity: 1; }
.as-alan:focus-visible { outline: 2px solid var(--accent-600); outline-offset: 1px; }

/* Uzun listeler (8'den fazla alan): masaüstü ve tablette iki sütunlu sıkı ızgara,
   sığmazsa liste kendi içinde kayar; kaydırılabilen kenar yumuşakça soluklaşır */
@media (min-width: 721px) {
  .as-list.is-uzun {
    --as-liste-max: clamp(260px, calc(100svh - 520px), 470px);
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 4px;
    align-content: start;
    max-height: var(--as-liste-max);
    overflow-y: auto; overscroll-behavior-y: contain;
    scrollbar-width: thin; scrollbar-color: var(--steel-300) transparent;
    margin: 0 -6px 0 -3px; padding: 3px 6px 8px 3px;
  }
  .as-list.is-uzun::-webkit-scrollbar { width: 6px; }
  .as-list.is-uzun::-webkit-scrollbar-thumb { background: var(--steel-300); border-radius: 6px; }
  .as-list.is-uzun::-webkit-scrollbar-track { background: transparent; }
  .as-list.is-uzun .as-alan {
    align-items: flex-start;
    padding: 7px 8px 7px 15px; border-radius: 10px;
    font-size: .86rem; line-height: 1.3;
  }
  .as-list.is-uzun .as-alan::before { left: 5px; top: 8px; bottom: 8px; }
  .as-list.is-uzun.is-alt {
    -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 44px), transparent 100%);
            mask-image: linear-gradient(180deg, #000 calc(100% - 44px), transparent 100%);
  }
  .as-list.is-uzun.is-ust {
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 36px);
            mask-image: linear-gradient(180deg, transparent 0, #000 36px);
  }
  .as-list.is-uzun.is-ust.is-alt {
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 36px, #000 calc(100% - 44px), transparent 100%);
            mask-image: linear-gradient(180deg, transparent 0, #000 36px, #000 calc(100% - 44px), transparent 100%);
  }
}

/* ---------- Sağ: sahne kartı ---------- */
.as-sahne {
  position: relative; min-width: 0;
  container-type: inline-size;
  background: var(--surface);
  border: 1px solid var(--border); border-radius: 24px;
  box-shadow: var(--as-kart-golge);
  overflow: hidden;
}

.as-sahne-ust {
  position: absolute; z-index: 4; top: 18px; left: 20px; right: 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  pointer-events: none;
}
.as-sahne-ust > * { pointer-events: auto; }
.as-sahne-kat {
  display: inline-flex; align-items: center; gap: 9px; margin: 0;
  padding: 7px 14px 7px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 0 0 1px rgba(226, 231, 239, .9), 0 6px 16px -8px rgba(29, 35, 49, .2);
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--navy-700);
}
.as-sahne-nokta { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-gradient); box-shadow: 0 0 0 3px rgba(76, 192, 236, .2); }

.as-gez {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 4px 4px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 0 0 1px rgba(226, 231, 239, .9), 0 6px 16px -8px rgba(29, 35, 49, .2);
}
.as-sayac { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .06em; color: var(--steel-500); margin-right: 4px; font-variant-numeric: tabular-nums; }
.as-gez-btn {
  display: grid; place-items: center; width: 34px; height: 34px; padding: 0;
  border: 0; border-radius: 50%; background: transparent; color: var(--navy-700); cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.as-gez-btn:hover { background: var(--navy-900); color: #fff; }
.as-gez-btn:focus-visible { outline: 2px solid var(--accent-600); outline-offset: 1px; }

/* Çizim alanı: mavi kâğıt ızgarası + yumuşak ışık */
.as-figure {
  position: relative; overflow: hidden;
  container-type: size;
  height: min(75cqw, max(58cqw, calc(100svh - var(--header-h) - 250px)));
  background:
    radial-gradient(ellipse 58% 54% at 50% 54%, rgba(76, 192, 236, .17), rgba(76, 192, 236, 0) 72%),
    linear-gradient(180deg, #fafcfe 0%, #eef3f9 100%);
  border-bottom: 1px solid var(--border);
}
.as-figure::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(rgba(27, 114, 204, .075) 1px, transparent 1px) 0 0 / 160px 160px,
    linear-gradient(90deg, rgba(27, 114, 204, .075) 1px, transparent 1px) 0 0 / 160px 160px,
    linear-gradient(rgba(27, 114, 204, .04) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(27, 114, 204, .04) 1px, transparent 1px) 0 0 / 32px 32px;
  background-position: center;
  -webkit-mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, #000 30%, transparent 100%);
          mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, #000 30%, transparent 100%);
}

.as-katman {
  position: absolute; inset: 0;
  opacity: 0; transform: translateY(10px) scale(.985);
  transition: opacity .5s var(--ease), transform .7s var(--ease);
}
.as-katman.is-on { opacity: 1; transform: none; }
.as-katman.is-cik { opacity: 0; transform: translateY(-6px) scale(1.01); transition-duration: .4s, .5s; }

/* 4:3 çizim kutusu: sahneye sığar, noktalar yüzdeyle bu kutuya yerleşir */
.as-art {
  position: absolute; left: 50%; top: 50%;
  width: min(100cqw, 133.333cqh); height: min(75cqw, 100cqh);
  transform: translate(-50%, -50%);
}
.as-img { display: block; width: 100%; height: 100%; object-fit: contain; }

.as-ph {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  color: #c3cddb;
}
.as-ph-motif { width: 40%; height: auto; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.as-ph-kat {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--steel-500);
}

/* ---------- Ekipman noktaları ---------- */
.as-hs {
  --boy: 30px;
  position: absolute; z-index: 2;
  width: var(--boy); height: var(--boy); margin: calc(var(--boy) / -2) 0 0 calc(var(--boy) / -2);
  display: grid; place-items: center; padding: 0;
  border: 2px solid #fff; border-radius: 50%;
  background: var(--brand-gradient-strong); color: #fff;
  font-family: var(--font-mono); font-size: .78rem; font-weight: 500; line-height: 1;
  box-shadow: 0 6px 14px -4px rgba(22, 96, 179, .55), 0 0 0 1px rgba(22, 96, 179, .25);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  animation: as-hs-gir .45s var(--ease) both;
  animation-delay: var(--gecikme, 0s);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.as-hs::before {
  content: ""; position: absolute; inset: -2px; border-radius: 50%;
  border: 2px solid rgba(76, 192, 236, .85);
  animation: as-nabiz 2.6s cubic-bezier(.2, .6, .3, 1) infinite;
  animation-delay: calc(var(--gecikme, 0s) + .5s);
  pointer-events: none;
}
.as-hs::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; }
.as-hs:hover, .as-hs.is-isik, .as-hs.is-acik, .as-hs:focus-visible {
  transform: scale(1.12); z-index: 3;
  box-shadow: 0 8px 18px -4px rgba(22, 96, 179, .6), 0 0 0 4px rgba(76, 192, 236, .35);
}
.as-hs:focus-visible { outline: 2px solid var(--navy-900); outline-offset: 3px; }

.as-hs-etiket {
  position: absolute; left: 50%; bottom: calc(100% + 12px);
  transform: translate(-50%, 4px);
  padding: 7px 11px; border-radius: 9px;
  background: var(--navy-900); color: #fff;
  font-family: var(--font); font-size: .82rem; font-weight: 600; line-height: 1.2; letter-spacing: 0;
  white-space: nowrap;
  box-shadow: 0 10px 22px -8px rgba(29, 35, 49, .5);
  opacity: 0; pointer-events: none;
  transition: opacity .18s var(--ease), transform .18s var(--ease);
}
.as-hs-etiket::after {
  content: ""; position: absolute; left: 50%; top: 100%; margin-left: -6px;
  border: 6px solid transparent; border-top-color: var(--navy-900);
}
.as-hs.is-alt .as-hs-etiket { bottom: auto; top: calc(100% + 12px); transform: translate(-50%, -4px); }
.as-hs.is-alt .as-hs-etiket::after { top: auto; bottom: 100%; border-top-color: transparent; border-bottom-color: var(--navy-900); }
.as-hs.is-sol .as-hs-etiket { left: -8px; transform: translate(0, 4px); }
.as-hs.is-sol .as-hs-etiket::after { left: 21px; }
.as-hs.is-sag .as-hs-etiket { left: auto; right: -8px; transform: translate(0, 4px); }
.as-hs.is-sag .as-hs-etiket::after { left: auto; right: 15px; margin-left: 0; }
.as-hs.is-alt.is-sol .as-hs-etiket, .as-hs.is-alt.is-sag .as-hs-etiket { transform: translate(0, -4px); }

.as-hs:hover .as-hs-etiket, .as-hs:focus-visible .as-hs-etiket,
.as-hs.is-isik .as-hs-etiket, .as-hs.is-acik .as-hs-etiket {
  opacity: 1; transform: translate(-50%, 0);
}
.as-hs.is-sol:hover .as-hs-etiket, .as-hs.is-sol:focus-visible .as-hs-etiket, .as-hs.is-sol.is-isik .as-hs-etiket, .as-hs.is-sol.is-acik .as-hs-etiket,
.as-hs.is-sag:hover .as-hs-etiket, .as-hs.is-sag:focus-visible .as-hs-etiket, .as-hs.is-sag.is-isik .as-hs-etiket, .as-hs.is-sag.is-acik .as-hs-etiket {
  transform: translate(0, 0);
}

@keyframes as-nabiz {
  0% { transform: scale(1); opacity: .9; }
  70%, 100% { transform: scale(2.1); opacity: 0; }
}
@keyframes as-hs-gir {
  from { opacity: 0; transform: scale(.4); }
  to { opacity: 1; transform: none; }
}

/* ---------- Sahne altı: açıklama + teklif | lejant ---------- */
.as-bilgi {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  grid-template-areas: "copy lejant" "teklif lejant";
}
.as-copy { grid-area: copy; padding: 30px 34px 0; min-width: 0; }
.as-teklif { grid-area: teklif; padding: 0 34px 32px; min-width: 0; }
.as-copy.is-yeni { animation: as-belir .36s var(--ease) both; }
.as-alan-ad {
  margin: 0 0 10px;
  font-family: var(--font-display); font-stretch: 108%; font-weight: 800;
  font-size: clamp(1.4rem, 1.9vw, 1.9rem); line-height: 1.15; letter-spacing: -.018em;
  text-wrap: balance;
}
.as-alan-desc { margin: 0 0 24px; max-width: 60ch; font-size: 1.02rem; line-height: 1.62; color: var(--text-muted); }

.as-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.as-cta { white-space: normal; text-align: center; box-shadow: 0 10px 22px -10px rgba(27, 114, 204, .7); }
.as-wa {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .95rem; font-weight: 600; color: var(--navy-700);
  padding: 6px 0; border-radius: 4px;
}
.as-wa svg { color: #1fb256; flex: none; }
.as-wa:hover { color: var(--accent-600); }
.as-wa:focus-visible { outline: 2px solid var(--accent-600); outline-offset: 3px; }
.as-not { margin: 16px 0 0; font-size: .84rem; color: var(--steel-500); }

.as-lejant {
  grid-area: lejant; min-width: 0;
  padding: 30px 30px 32px;
  background: linear-gradient(180deg, #f9fafc, #f5f7fb);
  border-left: 1px solid var(--border);
}
.as-lejant.is-yeni { animation: as-belir .36s var(--ease) both; }
.as-lejant-baslik {
  margin: 0 0 14px;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--steel-500);
}
.as-cipler { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.as-cipler li { margin: 0; }
.as-cip {
  display: inline-flex; align-items: center; gap: 9px;
  margin: 0; padding: 7px 14px 7px 12px; border-radius: 999px;
  background: #fff; border: 1px solid var(--border);
  font: inherit; font-size: .88rem; font-weight: 500; line-height: 1.25; color: var(--navy-700);
  box-shadow: 0 1px 2px rgba(29, 35, 49, .04);
}
.as-cip-nokta { width: 6px; height: 6px; border-radius: 50%; background: var(--steel-300); flex: none; }
button.as-cip {
  cursor: pointer; padding-left: 6px;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}
.as-cip-no {
  display: grid; place-items: center; flex: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand-gradient-strong); color: #fff;
  font-family: var(--font-mono); font-size: .7rem; font-weight: 500;
}
button.as-cip:hover, button.as-cip.is-isik, button.as-cip[aria-pressed="true"] {
  border-color: rgba(43, 143, 224, .55); background: var(--accent-100); color: var(--navy-900);
  box-shadow: 0 0 0 3px rgba(76, 192, 236, .18);
}
button.as-cip:focus-visible { outline: 2px solid var(--accent-600); outline-offset: 2px; }
.as-lejant-ipucu { margin: 14px 0 0; font-size: .82rem; line-height: 1.45; color: var(--text-muted); }

.as-noscript { margin: 0; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }

@keyframes as-belir {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Orta masaüstü ---------- */
@media (max-width: 1439px) {
  .as-stage { grid-template-columns: minmax(0, 392px) minmax(0, 1fr); }
  .as-wheel { max-width: 340px; }
  .as-wheel-col { padding: 26px 22px 18px; }
  .as-copy { padding: 26px 28px 0; }
  .as-teklif { padding: 0 28px 28px; }
  .as-lejant { padding: 26px 24px 28px; }
}

/* Sahne dar kalınca alt bilgi tek sütun */
@container (max-width: 760px) {
  .as-bilgi { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "copy" "teklif" "lejant"; }
  .as-lejant { border-left: 0; border-top: 1px solid var(--border); }
}

/* ---------- Tablet: kontrol kartı üstte (çark | liste), sahne altta tam genişlik ---------- */
@media (max-width: 1179px) {
  .as-calisma { --as-bindirme: 40px; padding-bottom: 64px; }
  .as-stage { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .as-kontrol { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .as-wheel-col { border-bottom: 0; border-right: 1px solid var(--border); justify-content: center; padding: 28px 24px; }
  .as-wheel { --as-ibre: 90; max-width: 360px; touch-action: pan-y; }
  .as-side { padding: 26px 22px; align-self: center; }
  .as-list.is-uzun { --as-liste-max: 340px; }
  .as-figure { height: 75cqw; }
}

/* ---------- Telefon: her şey alt alta, alanlar yatay şerit ---------- */
@media (max-width: 720px) {
  .as-calisma { --as-bindirme: 32px; padding-bottom: 48px; }
  .as-ust { padding-top: calc(var(--header-h) + 8px); padding-bottom: calc(var(--as-bindirme) + 16px); }
  .as-baslik { font-size: 1.6rem; }
  .as-alt { font-size: .96rem; }
  .as-stage { gap: 16px; }
  .as-kontrol { display: block; border-radius: 20px; }
  .as-wheel-col { border-right: 0; border-bottom: 1px solid var(--border); padding: 22px 16px 14px; gap: 10px; }
  .as-wheel { --as-ibre: 180; max-width: 340px; }
  .as-seg-etiket text { font-size: 18px; }

  .as-side { padding: 18px 20px 16px; }
  .as-kat-ad, .as-kat-desc { margin-left: 0; }
  .as-kat-desc { margin-bottom: 12px; }
  .as-list {
    flex-direction: row; gap: 8px;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x proximity; scrollbar-width: none;
    margin: 0 -20px; padding: 2px 20px 6px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 20px, #000 calc(100% - 28px), transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 20px, #000 calc(100% - 28px), transparent 100%);
  }
  .as-list::-webkit-scrollbar { display: none; }
  .as-alan {
    flex: 0 0 auto; width: auto; scroll-snap-align: center;
    padding: 10px 15px; border-radius: 999px;
    background: #fff; box-shadow: inset 0 0 0 1px var(--border);
    font-size: .9rem; white-space: nowrap;
  }
  .as-alan::before { display: none; }
  .as-alan:hover { background: #fff; }
  .as-alan[aria-checked="true"] { background: var(--navy-900); color: #fff; box-shadow: none; }

  .as-sahne { border-radius: 20px; }
  .as-sahne-ust { position: static; padding: 12px 12px 10px 14px; border-bottom: 1px solid var(--border); }
  .as-sahne-kat { padding: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; font-size: .68rem; }
  .as-gez { background: #f4f7fb; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .as-gez-btn { width: 36px; height: 36px; }
  .as-hs { --boy: 26px; font-size: .72rem; }
  .as-hs-etiket { font-size: .78rem; padding: 6px 10px; }

  .as-copy { padding: 20px 20px 0; }
  .as-teklif { padding: 0 20px 24px; }
  .as-alan-desc { font-size: .98rem; margin-bottom: 20px; }
  .as-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .as-cta { width: 100%; }
  .as-wa { justify-content: center; padding: 10px 0; }
  .as-not { text-align: center; margin-top: 10px; }
  .as-lejant { padding: 20px 20px 24px; }
}

/* =========================================================
   MASAÜSTÜ ÇALIŞMA ALANI: araç tek ekrana sığar (≥1180 geniş, ≥600 yüksek)
   Bölüm = ekran yüksekliği: ince başlık satırı + kartlar. Çark ve liste sol kartta
   birlikte görünür (liste kendi içinde kayar); çizim kalan yüksekliğe uyar;
   alan adı, açıklama, lejant ve teklif sağdaki panelde.
   ========================================================= */
@media (min-width: 1180px) and (min-height: 600px) {
  .as-calisma {
    --as-bindirme: 34px;
    --as-teker: clamp(250px, calc(100svh - 350px), 400px);
    --as-panel: clamp(310px, 21vw, 400px);
    --as-pp: clamp(18px, 1.4vw, 26px);   /* panel iç kenar boşluğu */
    display: flex; flex-direction: column;
    height: 100vh; height: 100svh;
    padding-bottom: clamp(14px, 2.2svh, 24px);
  }
  .as-ust { flex: none; padding: calc(var(--header-h) + clamp(0px, 1svh, 10px)) 0 calc(var(--as-bindirme) + 14px); }
  .as-ust-ic { display: flex; align-items: baseline; gap: 8px 22px; }
  .as-baslik { order: 1; flex: none; white-space: nowrap; font-size: clamp(1.4rem, 1.7vw, 1.85rem); }
  .as-alt {
    order: 2; flex: 1 1 auto; min-width: 0; max-width: none; margin: 0;
    font-size: .98rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .as-yol { order: 3; flex: none; margin: 0 0 0 auto; white-space: nowrap; }

  .as-govde { flex: 1 1 auto; min-height: 0; }
  .as-stage {
    height: 100%;
    grid-template-columns: minmax(0, clamp(350px, 25vw, 520px)) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    align-items: stretch;
    gap: clamp(16px, 1.4vw, 28px);
  }

  /* Sol kart: çark üstte sabit, liste kalan yükseklikte kayar */
  .as-kontrol { display: flex; flex-direction: column; min-height: 0; }
  .as-wheel-col { flex: none; gap: 10px; padding: clamp(14px, 2.4svh, 28px) 20px clamp(10px, 1.6svh, 18px); }
  .as-wheel { width: min(100%, var(--as-teker)); max-width: none; }
  .as-seg-etiket text { font-size: 18.5px; }
  .as-side { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; padding: 16px 16px 10px; }
  .as-list, .as-list.is-uzun {
    flex: 1 1 auto; min-height: 0; max-height: none;
    overflow-y: auto; overscroll-behavior-y: contain;
    scrollbar-width: thin; scrollbar-color: var(--steel-300) transparent;
    margin: 0 -6px 0 -3px; padding: 3px 6px 8px 3px;
  }
  .as-list::-webkit-scrollbar { width: 6px; }
  .as-list::-webkit-scrollbar-thumb { background: var(--steel-300); border-radius: 6px; }
  .as-list::-webkit-scrollbar-track { background: transparent; }
  .as-list.is-alt {
    -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 44px), transparent 100%);
            mask-image: linear-gradient(180deg, #000 calc(100% - 44px), transparent 100%);
  }
  .as-list.is-ust {
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 36px);
            mask-image: linear-gradient(180deg, transparent 0, #000 36px);
  }
  .as-list.is-ust.is-alt {
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 36px, #000 calc(100% - 44px), transparent 100%);
            mask-image: linear-gradient(180deg, transparent 0, #000 36px, #000 calc(100% - 44px), transparent 100%);
  }

  /* Sahne: çizim | bilgi paneli */
  .as-sahne {
    display: grid; height: 100%;
    grid-template-columns: minmax(0, 1fr) var(--as-panel);
    grid-template-rows: minmax(0, 1fr);
  }
  .as-sahne-ust { right: calc(var(--as-panel) + 18px); }
  .as-figure { grid-column: 1; grid-row: 1; height: auto; min-height: 0; border-bottom: 0; }
  .as-bilgi {
    grid-column: 2; grid-row: 1; min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr) auto;
    grid-template-areas: "copy" "lejant" "teklif";
    border-left: 1px solid var(--border);
  }
  .as-copy { padding: clamp(18px, 3.4svh, 34px) var(--as-pp) 0; }
  .as-alan-ad { font-size: clamp(1.3rem, 1.45vw, 1.75rem); margin-bottom: 8px; }
  .as-alan-desc { margin: 0; font-size: .95rem; line-height: 1.58; }
  .as-lejant {
    align-self: stretch; min-height: 0; overflow-y: auto;
    margin: clamp(14px, 2.4svh, 24px) var(--as-pp) 0; padding: clamp(14px, 2.2svh, 20px) 0 14px;
    border-left: 0; border-top: 1px solid var(--border);
    background: none;
    scrollbar-width: thin; scrollbar-color: var(--steel-300) transparent;
  }
  .as-lejant.is-tasma {
    -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 36px), transparent 100%);
            mask-image: linear-gradient(180deg, #000 calc(100% - 36px), transparent 100%);
  }
  .as-lejant-baslik { margin-bottom: 10px; }
  .as-cipler { gap: 6px; }
  .as-cip { font-size: .85rem; padding: 6px 12px 6px 10px; }
  button.as-cip { padding-left: 5px; }
  .as-lejant-ipucu { margin-top: 10px; font-size: .8rem; }
  .as-teklif {
    padding: clamp(12px, 2svh, 18px) var(--as-pp) clamp(12px, 2.4svh, 24px);
    border-top: 1px solid var(--border);
    background: linear-gradient(180deg, #f9fafc, #f4f7fb);
  }
  .as-actions { flex-direction: column; align-items: stretch; gap: 6px; }
  .as-cta { width: 100%; padding: 14px 12px; gap: 7px; font-size: .95rem; white-space: nowrap; }
  .as-wa { justify-content: center; padding: 6px 0; font-size: .92rem; }
  .as-not { margin: 6px 0 0; text-align: center; font-size: .8rem; }
  /* Panelde WhatsApp bağlantısı var: yüzen düğme paneli örtmesin */
  .as-page .wa-float { display: none; }
}
/* Alçak masaüstü ekranı (ör. 1366×650, 1536×730): ikincil metinler gizlenir, çark ve liste büyük kalır */
@media (min-width: 1180px) and (min-height: 600px) and (max-height: 819px) {
  .as-hint, .as-kat-desc, .as-not, .as-lejant-ipucu { display: none; }
  .as-alan-ad { font-size: 1.3rem; }
  .as-alan-desc { font-size: .9rem; line-height: 1.5; }
  .as-wa { padding: 4px 0; }
  .as-kat-ad {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
  .as-side { padding-top: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .as-katman, .as-katman.is-cik { transition: none; transform: none; }
  .as-seg-sekil, .as-seg-kenar, .as-seg-etiket text, .as-alan, .as-alan::before,
  .as-hs, .as-hs-etiket, button.as-cip, .as-gez-btn { transition: none; }
  .as-hs, .as-hs::before { animation: none; }
  .as-hs::before { display: none; }
  .as-list.is-yeni, .as-copy.is-yeni, .as-lejant.is-yeni { animation: none; }
}

@media (forced-colors: active) {
  .as-seg.is-active .as-seg-sekil { fill: Highlight; }
  .as-seg.is-active .as-seg-etiket text { fill: HighlightText; }
  .as-alan[aria-checked="true"] { outline: 2px solid Highlight; }
  .as-hs { border-color: CanvasText; }
  .as-hs-etiket { border: 1px solid CanvasText; }
}

/* Bu sayfada üst menü de içerikle aynı tam genişlikte hizalanır */
.as-page .header-inner {
  max-width: none;
  padding-left: max(var(--as-kenar), env(safe-area-inset-left, 0px));
  padding-right: max(var(--as-kenar), env(safe-area-inset-right, 0px));
}
