/* =========================================================
   PXE Stüdyo — bilgi görünümleri (neon, pano, raf, kapı)
   Bütün sınıflar "if-" ile başlar.
   ========================================================= */

/* ---------- Ortak ---------- */
.if-x {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid currentColor; opacity: .7;
  transition: opacity .2s, background .2s, color .2s, transform .3s var(--ease);
}
.if-x:hover { opacity: 1; background: var(--red); border-color: var(--red); color: var(--paper); transform: rotate(90deg); }
.if-x svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.if-raf-card[hidden], .if-dim[hidden], .if-detail[hidden] { display: none !important; }
@keyframes ifSwap { from { opacity: 0; transform: translateY(10px); } }
@keyframes ifIn { from { opacity: 0; transform: translateY(18px) scale(.98); } }

/* =========================================================
   NEON — 360° hizmet çarkı
   ========================================================= */
.if-neon {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  align-items: center; gap: clamp(16px, 3vw, 56px);
  padding: 80px clamp(16px, 4vw, 64px) clamp(16px, 3vw, 40px);
  background: #090807; overflow: hidden;
}
.if-neon-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 65% at 36% 50%, rgba(225, 37, 27, .26), rgba(225, 37, 27, 0) 70%),
    repeating-linear-gradient(90deg, rgba(77, 53, 36, .5) 0 18px, rgba(10, 7, 5, .9) 18px 26px);
}
.if-neon-bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 36% 50%, rgba(9, 8, 7, .35) 20%, rgba(9, 8, 7, .96) 78%);
}
.if-neon-stage { position: relative; z-index: 1; display: grid; justify-items: center; gap: 6px; min-width: 0; }
.if-neon-title { width: clamp(150px, 19vw, 260px); height: auto; overflow: visible; }
.if-neon-title path, .if-neon-title ellipse, .if-neon-title circle { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.if-nt-glow * { stroke: #FF2A1E; stroke-width: 16; }
.if-nt-glow { opacity: .9; }
.if-nt-tube * { stroke: #FF4A3D; stroke-width: 7; }
.if-nt-core * { stroke: #FFE1DC; stroke-width: 2.4; }
.if-neon-title.is-flick { animation: ifFlick .5s steps(1); }
@keyframes ifFlick { 20% { opacity: .35; } 35% { opacity: 1; } 50% { opacity: .6; } 65% { opacity: 1; } }

.if-wheel {
  position: relative; width: min(60vh, 50vw, 600px); aspect-ratio: 1;
  border-radius: 50%; cursor: grab; touch-action: none;
  -webkit-user-select: none; user-select: none;
}
.if-wheel:focus-visible { outline-offset: 10px; }
.if-wheel.is-drag { cursor: grabbing; }
.if-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 6px rgba(225, 37, 27, .35)); }
.if-ring circle { fill: none; }
.if-r1 { stroke: rgba(242, 238, 231, .16); stroke-width: .6; }
.if-r2 { stroke: rgba(255, 74, 61, .7); stroke-width: .8; }
.if-r3 { stroke: rgba(242, 238, 231, .08); stroke-width: .4; stroke-dasharray: 1 2; }
.if-ticks line { stroke: rgba(242, 238, 231, .28); stroke-width: .5; }
.if-ticks line.mj { stroke: var(--red); stroke-width: 1.2; }
.if-needle {
  position: absolute; left: 50%; top: -1.5%; z-index: 2;
  width: 18px; height: 16px; margin-left: -9px;
  background: #FF4A3D; clip-path: polygon(0 0, 100% 0, 50% 100%);
  filter: drop-shadow(0 0 8px rgba(255, 60, 45, .9));
}
.if-read {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 8px;
  pointer-events: none;
}
.if-read b {
  font: 800 clamp(2rem, 5.2vmin, 3.6rem)/1 var(--f-display); letter-spacing: -.04em;
  color: #FFE1DC;
  text-shadow: 0 0 6px #FF4A3D, 0 0 18px rgba(255, 42, 30, .8), 0 0 42px rgba(255, 42, 30, .5);
}
.if-read span { font: 400 11px/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
.if-items { position: absolute; inset: 0; }
/* Düğme ve yazı boyu JS'te çarkın genişliğine ve hizmet sayısına göre hesaplanır (--isz, --ifs, --ifn) */
.if-svc {
  position: absolute; left: 50%; top: 50%;
  width: var(--isz, clamp(46px, 8.4vmin, 84px)); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-content: center; justify-items: center; gap: 2px; text-align: center;
  background: rgba(18, 16, 15, .88); color: var(--paper);
  border: 1px solid rgba(242, 238, 231, .18);
  transition: background .35s, border-color .35s, box-shadow .35s;
  will-change: transform;
}
.if-svc b { font: 700 var(--ifn, 9px)/1 var(--f-mono); color: var(--red); letter-spacing: .06em; transition: color .35s; }
.if-svc span { font: 600 var(--ifs, 11px)/1.05 var(--f-body); letter-spacing: -.01em; padding: 0 2px; white-space: nowrap; }
.if-svc:hover { border-color: rgba(255, 74, 61, .7); }
.if-svc.is-on {
  background: var(--red); border-color: #FF7A6E;
  box-shadow: 0 0 0 5px rgba(225, 37, 27, .18), 0 0 34px rgba(255, 60, 45, .75), 0 0 80px rgba(255, 42, 30, .35);
}
.if-svc.is-on b { color: var(--paper); }
.if-neon-nav { display: flex; align-items: center; gap: 14px; color: var(--paper); margin-top: 6px; }
.if-neon-nav .vw-arrow { width: 40px; height: 40px; border-color: rgba(242, 238, 231, .3); }
.if-hint { font: 400 10px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; opacity: .5; }
.if-neon-panel { position: relative; z-index: 1; max-height: calc(100dvh - 120px); overflow: auto; }
.if-neon-panel.is-swap { animation: ifSwap .5s var(--ease); }
/* Seçili hizmetin sekmeleri: tıklanınca o program / nesne o sekmeyle açılır */
.if-tl-k { margin-top: 18px; font: 400 10.5px/1.2 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; opacity: .6; }
.if-tl-k b { color: var(--red); font-weight: 700; }
.if-tl { margin-top: 8px; border-top: 1px solid var(--line-d); }
.if-tl li { border-bottom: 1px solid var(--line-d); }
.if-tl button {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 2px;
  text-align: left; font: 400 14px/1.3 var(--f-body); color: inherit;
  transition: color .2s, padding .3s var(--ease);
}
.if-tl button b { flex: none; min-width: 18px; font: 700 10px/1 var(--f-mono); color: var(--red); }
.if-tl button span { flex: 1; min-width: 0; }
.if-tl button svg { flex: none; width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; opacity: .35; transition: opacity .2s, transform .3s var(--ease); }
.if-tl button:hover, .if-tl button:focus-visible { color: #FF7A6E; padding-left: 6px; }
.if-tl button:hover svg, .if-tl button:focus-visible svg { opacity: 1; transform: translateX(3px); }
.if-go {
  margin-top: 20px; height: auto; min-height: 50px; padding: 10px 20px;
  flex-wrap: wrap; row-gap: 2px; text-align: left;
}
.if-go em {
  flex-basis: 100%; font: 400 12px/1.2 var(--f-body); font-style: normal;
  letter-spacing: 0; text-transform: none; opacity: .8;
}

@media (max-width: 860px) {
  .if-neon {
    grid-template-columns: 1fr; align-content: start; gap: 20px;
    padding: 76px 16px 24px; overflow-y: auto; -webkit-overflow-scrolling: touch;
  }
  .if-neon-bg { position: fixed; }
  .if-wheel { width: min(92vw, 54vh, 500px); }
  .if-neon-panel { max-height: none; overflow: visible; }
}

/* =========================================================
   PANO — fikir panosu (Strateji & Fikir)
   Üstte iğnelenmiş sekme kartları, ortada sekmenin gösterimi,
   sağda "bu işi yapıyoruz" kutusu + P · X · E yöntemi.
   ========================================================= */
.if-pano { background: #2E2117; }
.if-board {
  position: absolute; inset: clamp(8px, 1.4vw, 20px); border-radius: 10px; overflow: hidden;
  background-color: #BC8F60;
  background-image:
    radial-gradient(rgba(96, 58, 26, .5) 1px, transparent 1.7px),
    radial-gradient(rgba(255, 236, 205, .28) 1px, transparent 1.5px),
    radial-gradient(ellipse at 30% 20%, rgba(255, 232, 195, .28), transparent 60%),
    radial-gradient(ellipse at 85% 95%, rgba(70, 36, 12, .4), transparent 60%);
  background-size: 9px 9px, 13px 13px, 100% 100%, 100% 100%;
  background-position: 0 0, 5px 7px, 0 0, 0 0;
  box-shadow: inset 0 0 0 clamp(8px, 1vw, 14px) #5A3E29, inset 0 0 0 calc(clamp(8px, 1vw, 14px) + 2px) rgba(0, 0, 0, .25), inset 0 0 60px rgba(40, 18, 4, .45), 0 20px 60px rgba(0, 0, 0, .5);
  color: var(--ink);
}
.if-pgrid {
  position: absolute; inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(270px, 24vw, 330px);
  grid-template-rows: auto minmax(0, 1fr);
  grid-template-areas: "head head" "work side";
  gap: clamp(16px, 2.4vh, 28px) clamp(18px, 2vw, 30px);
  padding: clamp(20px, 2.6vh, 32px) clamp(22px, 2.4vw, 36px) clamp(20px, 2.6vh, 30px);
}

/* Panoya iğnelenmiş kâğıt (ortak) */
.if-pp {
  position: relative; color: var(--ink);
  transform: translate(var(--dx, 0px), var(--dy, 0px)) rotate(var(--r, 0deg));
  box-shadow: 0 12px 22px rgba(50, 24, 6, .35), 0 2px 4px rgba(50, 24, 6, .2);
  transition: transform .45s var(--ease), box-shadow .3s, background .25s, color .25s;
}
.if-drag { touch-action: none; cursor: grab; -webkit-user-select: none; user-select: none; }
.if-drag:hover { z-index: 3; box-shadow: 0 18px 30px rgba(50, 24, 6, .4), 0 2px 4px rgba(50, 24, 6, .2); }
.if-drag.is-drag { z-index: 6; cursor: grabbing; transition: box-shadow .3s; box-shadow: 0 30px 46px rgba(50, 24, 6, .45); }
.if-pp.is-active { z-index: 4; outline: 3px solid var(--red); outline-offset: 4px; }
.if-pp:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }

.if-strings { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 5; pointer-events: none; overflow: visible; }
.if-str { fill: none; stroke: #D41E14; stroke-width: 1.8; stroke-linecap: round; filter: drop-shadow(0 2px 1px rgba(60, 20, 0, .35)); }
.if-arr { fill: none; stroke: #C81A10; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 2px 1px rgba(60, 20, 0, .3)); }
.if-pin { fill: url(#ifPinG); }
.if-pin-sh { fill: rgba(40, 18, 4, .35); }

/* Sekme kartları — "Odaya dön" düğmesine yer bırakır */
.if-phead { grid-area: head; min-width: 0; padding-left: 172px; }
.if-ptabs { display: flex; align-items: flex-end; gap: clamp(8px, 1vw, 16px); min-width: 0; padding-top: 6px; }
.if-ptab {
  flex: 0 1 188px; min-width: 0; min-height: 66px;
  padding: 22px 14px 12px; text-align: left;
  background: #FBF8F2; border-top: 6px solid var(--c, var(--red));
  cursor: pointer;
}
.if-ptab small { display: block; font: 700 9.5px/1 var(--f-mono); letter-spacing: .14em; color: var(--red); }
.if-ptab b { display: block; margin-top: 6px; font: 800 clamp(11.5px, 1vw, 14.5px)/1.12 var(--f-display); letter-spacing: -.025em; }
.if-ptab:hover { transform: translateY(-3px) rotate(calc(var(--r, 0deg) * .4)); }
.if-ptab[aria-selected="true"] {
  z-index: 2; background: var(--ink); color: var(--paper); border-top-color: var(--red);
  transform: translateY(-6px) rotate(0deg);
  box-shadow: 0 20px 34px rgba(50, 24, 6, .45), 0 2px 4px rgba(50, 24, 6, .25);
}
.if-ptab[aria-selected="true"] small { color: #FF7A6E; }

/* Çalışma alanı: sekmenin gösterimi */
.if-work { grid-area: work; position: relative; min-width: 0; min-height: 0; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); }
.if-demo { min-width: 0; min-height: 0; display: grid; gap: clamp(14px, 1.8vw, 26px); }
.if-demo > * { min-width: 0; min-height: 0; animation: ifPinIn .5s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes ifPinIn { from { opacity: 0; translate: 0 -16px; scale: 1.04; } }

/* Kâğıt türleri */
.if-paper { display: flex; flex-direction: column; gap: 10px; padding: 26px clamp(12px, 1.4vw, 18px) clamp(12px, 1.4vw, 16px); background: #FBF8F2; }
.if-graph {
  background-color: #FCFAF5;
  background-image: linear-gradient(rgba(34, 48, 245, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(34, 48, 245, .09) 1px, transparent 1px);
  background-size: 16px 16px;
}
.if-lined { background-image: repeating-linear-gradient(0deg, rgba(14, 13, 12, .07) 0 1px, transparent 1px 24px); }
.if-pnote { display: flex; flex-direction: column; gap: 8px; padding: 26px 14px 14px; background: #FBF8F2; }
.if-pnote--y { background-color: #F2D06B; }
.if-pnote--p { background-color: #F5BCC6; }
.if-pnote--w { background-color: #FBF8F2; }
.if-pcard { display: flex; flex-direction: column; gap: 8px; padding: 26px 14px 14px; background-color: #FBF8F2; }
.if-pstrip { display: grid; gap: 4px; padding: 24px 18px 12px; background: var(--paper); }
.if-pp small { font: 700 9.5px/1.2 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; opacity: .72; }
.if-cap { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.if-cap b { font: 800 clamp(14px, 1.3vw, 18px)/1.05 var(--f-display); letter-spacing: -.03em; }
.if-cap span { font: 400 10px/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; opacity: .6; }
.if-tag {
  display: inline-block; margin-left: auto; padding: 3px 7px; border: 1.5px solid var(--red); border-radius: 3px;
  color: var(--red); font: 700 9px/1 var(--f-mono); font-style: normal; letter-spacing: .12em; text-transform: uppercase;
  transform: rotate(-3deg);
}
.if-pp small .if-tag { margin-left: 6px; }
.if-hl li { position: relative; padding-left: 14px; font: 500 clamp(12px, 1vw, 14px)/1.3 var(--f-body); }
.if-hl li + li { margin-top: 6px; }
.if-hl li::before { content: ""; position: absolute; left: 0; top: .5em; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.if-hand { font: 600 clamp(13px, 1.1vw, 15px)/1.35 var(--f-body); }
.if-mini { font: 400 10px/1.3 var(--f-mono); opacity: .7; }
.if-words { display: flex; flex-wrap: wrap; gap: 6px; }
.if-words span, .if-words s { padding: 4px 9px; border-radius: 999px; border: 1.5px solid var(--ink); font: 600 12.5px/1 var(--f-body); }
.if-words s { opacity: .5; text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.if-pstrip p { font: 600 clamp(13px, 1.15vw, 16px)/1.35 var(--f-body); }
.if-pstrip u { text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.if-checks { display: grid; gap: 7px; }
.if-checks li { position: relative; display: flex; align-items: center; gap: 8px; font: 400 12.5px/1.25 var(--f-body); }
.if-checks li::before { content: ""; flex: none; width: 13px; height: 13px; border: 1.5px solid var(--ink); border-radius: 2px; }
.if-checks li.is-ok::after { content: ""; position: absolute; left: 4px; top: 50%; margin-top: -10px; width: 5px; height: 10px; border: 2px solid var(--red); border-top: 0; border-left: 0; transform: rotate(40deg); }
.if-any { font-size: 13px; line-height: 1.45; opacity: .8; max-width: 60ch; }

/* Marka stratejisi */
.if-demo--marka {
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr) auto;
  grid-template-areas: "map kit" "map ton" "cum cum";
}
.if-demo--marka .if-pnote { justify-content: center; }
.if-map { flex: 1 1 0; min-height: 0; width: 100%; height: 100%; overflow: visible; }
.if-map-q { fill: rgba(225, 37, 27, .09); }
.if-map-ax path { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.if-map-al text { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .06em; fill: var(--ink); opacity: .72; }
.if-map-d { fill: var(--ink); opacity: .78; }
.if-map-l { font-family: var(--f-body); font-size: 12px; font-weight: 600; fill: var(--ink); }
.if-map-l.is-b { fill: var(--red); font-weight: 700; }
.if-map-now { fill: none; stroke: var(--ink); stroke-width: 2; stroke-dasharray: 3 3; }
.if-map-mv, .if-map-mh { fill: none; stroke: var(--red); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.if-map-mv { stroke-dasharray: 6 5; }
.if-map-ring { fill: none; stroke: var(--red); stroke-width: 2; stroke-dasharray: 4 4; transform-box: fill-box; transform-origin: center; animation: ifSpin 14s linear infinite; }
.if-map-biz { fill: var(--red); }
.if-map-ql { font-family: var(--f-mono); font-size: 10px; letter-spacing: .08em; fill: var(--red); }

/* İsim bulma */
.if-demo--isim {
  grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.3fr);
  grid-template-rows: repeat(2, minmax(0, 1fr)) auto;
  grid-template-areas: "n1 n2 n3 n4 chk" "n5 n6 n7 n8 chk" "slg slg slg slg chk";
}
.if-demo--isim .if-pcard { align-self: center; }
.if-name { justify-content: center; align-items: center; gap: 6px; padding: 24px 8px 12px; text-align: center; }
.if-name b { font: 800 clamp(13px, 1.35vw, 19px)/1.05 var(--f-display); letter-spacing: -.03em; overflow-wrap: anywhere; }
.if-name small { font-weight: 400; letter-spacing: .02em; text-transform: none; font-size: 10.5px; }
.if-name.is-x { opacity: .8; }
.if-name.is-x b { text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 3px; }
.if-name.is-x small { color: var(--bordo); opacity: 1; }
.if-name.is-win small { color: var(--red); opacity: 1; font-weight: 700; }
.if-name.is-win::after {
  content: ""; position: absolute; left: 7%; right: 7%; top: 26%; bottom: 20%; pointer-events: none;
  border: 3px solid var(--red); border-radius: 50%; transform: rotate(-5deg);
}

/* Kampanya fikri */
.if-demo--kampanya {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr);
  grid-template-areas: "c1 hdf c2" "c3 ana c4" "c5 btc c6";
  column-gap: clamp(30px, 5vw, 84px); row-gap: clamp(16px, 3vh, 40px);
  align-items: center;
}
.if-idea {
  align-self: stretch; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 28px clamp(14px, 2vw, 26px) 18px; text-align: center;
  background: var(--red); color: var(--paper);
}
.if-idea p { font: 800 clamp(17px, 2vw, 30px)/1.05 var(--f-display); letter-spacing: -.035em; }
.if-idea span { font: 400 10px/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.if-ch { gap: 4px; padding: 24px 12px 12px; }
.if-ch b { font: 800 clamp(12px, 1.1vw, 15px)/1.1 var(--f-display); letter-spacing: -.02em; }
.if-ch span { font-size: 12px; line-height: 1.3; opacity: .72; }
.if-demo--kampanya .if-pnote p { font: 500 13px/1.35 var(--f-body); }
.if-bars { display: grid; gap: 6px; }
.if-bars li { display: grid; grid-template-columns: 64px minmax(0, 1fr) 30px; align-items: center; gap: 8px; font: 400 10.5px/1 var(--f-mono); }
.if-bars i { height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--red) var(--v, 0%), rgba(14, 13, 12, .1) var(--v, 0%)); }
.if-bars b { text-align: right; }

/* Senaryo & storyboard */
.if-demo--senaryo {
  grid-template-columns: minmax(0, 1fr) clamp(150px, 23%, 230px);
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "sb vo" "sb pln";
  align-items: start;
}
.if-sb { align-self: stretch; }
.if-sb-g { flex: 1 1 0; min-height: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: clamp(8px, 1.2vw, 16px); }
.if-fr { min-height: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.if-fr svg { flex: 1 1 0; min-height: 0; width: 100%; background: #fff; border: 1.5px solid var(--ink); }
.if-fr svg path, .if-fr svg rect, .if-fr svg circle { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.if-fr svg .r { stroke: var(--red); }
.if-fr svg text { font-family: var(--f-mono); font-size: 11px; font-weight: 700; fill: var(--red); }
.if-fr figcaption b { display: block; font: 700 9.5px/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.if-fr figcaption span { font-size: 11.5px; line-height: 1.3; opacity: .75; }

/* Marka yenileme */
.if-demo--yenileme { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; grid-template-areas: "sheet" "road"; }
.if-rn-t {
  flex: 1 1 0; min-height: 0; display: grid;
  grid-template-columns: auto minmax(0, 1fr) clamp(30px, 4vw, 56px) minmax(0, 1fr);
  grid-template-rows: auto repeat(4, minmax(0, 1fr)); gap: 8px 10px;
}
.if-rn-h { align-self: end; font: 700 10px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; opacity: .6; }
.if-rn-h.is-new { color: var(--red); opacity: 1; }
.if-rn-l { align-self: center; font: 700 10px/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; }
.if-rn-c { min-width: 0; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 6px 10px; overflow: hidden; background: #fff; border: 1px solid rgba(14, 13, 12, .14); }
.if-rn-c.is-old { background: #EDE3C8; border-style: dashed; filter: saturate(.75) sepia(.15); }
.if-rn-a { align-self: center; display: grid; place-items: center; }
.if-rn-a svg { width: 100%; height: auto; fill: none; stroke: var(--red); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.if-rn-logo { width: 100%; max-width: 190px; height: 100%; max-height: 60px; }
.if-sw6 { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.if-sw6 i { width: clamp(14px, 1.6vw, 22px); aspect-ratio: 1; border: 1px solid rgba(14, 13, 12, .15); }
.if-rn-fo { font: italic 400 clamp(22px, 2.4vw, 34px)/1 Georgia, "Times New Roman", serif; color: #6B4E3D; text-shadow: 2px 2px 0 #C9B98F; }
.if-rn-fn { font: 800 clamp(22px, 2.4vw, 34px)/1 var(--f-display); letter-spacing: -.05em; }
.if-rn-q { font: 500 clamp(11px, .95vw, 13px)/1.3 var(--f-body); text-align: center; }
.if-rn-q.is-old { font-family: Georgia, "Times New Roman", serif; font-style: italic; color: #5C5040; }
.if-road { display: flex; align-items: center; gap: 8px; }
.if-step { flex: 1 1 0; min-width: 0; gap: 4px; padding: 24px 10px 10px; }
.if-step b { font: 700 9.5px/1 var(--f-mono); letter-spacing: .1em; color: var(--red); }
.if-step span { font: 600 12px/1.25 var(--f-body); }
.if-road-a { flex: none; display: grid; color: var(--ink); opacity: .75; }
.if-road-a svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }

/* Yeni sekme için yedek gösterim */
.if-demo--any { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); align-content: start; }
.if-demo--any > :first-child { grid-column: 1 / -1; }

/* Sağ sütun: açıklama kutusu (en üstte) + yöntem + Stand bağlantısı */
.if-side {
  grid-area: side; min-width: 0; min-height: 0;
  display: flex; flex-direction: column; gap: 20px;
  overflow-x: hidden; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(70, 36, 12, .45) transparent;
  margin: -16px -10px -12px; padding: 16px 10px 12px;
}
.if-katcard { flex: none; padding: 8px 4px 2px; background: #FBF8F2; }
.if-katk {
  position: absolute; top: -9px; left: 14px; z-index: 1; padding: 4px 9px;
  background: var(--red); color: var(--paper);
  font: 700 9px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; transform: rotate(-2deg);
}
.if-katbox { --os-fg: var(--ink); --os-mut: rgba(14, 13, 12, .5); --os-line: rgba(14, 13, 12, .12); color: var(--ink); }
.if-katbox .os-kat { padding: 18px 14px 14px; }
.if-katbox .os-kat-k { padding-right: 0; }
.if-katbox .os-kat-cta .btn { height: 38px; padding: 0 16px; }

.if-meth { flex: none; }
.if-meth-h {
  display: inline-grid; gap: 6px; padding: 10px 14px 12px; background: var(--paper);
  box-shadow: 0 8px 16px rgba(50, 24, 6, .3); transform: rotate(-1.2deg);
}
.if-meth-h p { font: 800 clamp(13px, 1.1vw, 15px)/1.1 var(--f-display); letter-spacing: -.03em; }
.if-meth-h em { font-style: normal; color: var(--red); }
.if-meth-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.if-mnote { aspect-ratio: 1; display: flex; flex-direction: column; justify-content: space-between; padding: 10px; text-align: left; cursor: pointer; }
.if-mnote small { opacity: .7; }
.if-mnote .if-l { font: 800 clamp(1.8rem, 2.5vw, 2.5rem)/.8 var(--f-display); letter-spacing: -.05em; }
.if-mnote strong { font: 700 12px/1 var(--f-body); }
.if-mnote:hover { z-index: 3; transform: rotate(calc(var(--r, 0deg) * .3)) scale(1.04); }
.if-note--P { background: var(--paper); color: var(--ink); }
.if-note--X { background: var(--red); color: var(--paper); }
.if-note--E { background: var(--ink); color: var(--paper); }
.if-note--E .if-l { color: var(--red); }
.if-meth-n { margin-top: 10px; font: 400 10px/1.4 var(--f-mono); letter-spacing: .04em; color: #3A2414; opacity: .8; }

.if-stand {
  flex: none; position: relative; align-self: flex-start; max-width: 100%;
  display: grid; gap: 4px; padding: 12px 18px 12px 30px; text-align: left;
  background: #D9B98A; color: var(--ink); border-radius: 4px 12px 12px 4px;
  box-shadow: 0 10px 18px rgba(50, 24, 6, .3); transform: rotate(1.2deg);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.if-stand::before { content: ""; position: absolute; left: 11px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: #2E2117; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .5); }
.if-stand small { font: 700 9px/1.2 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.if-stand b { font: 700 13px/1.25 var(--f-body); }
.if-stand span { display: inline-flex; align-items: center; gap: 6px; font: 700 10px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--bordo); }
.if-stand svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .25s var(--ease); }
.if-stand:hover { transform: rotate(0deg) translateY(-2px); box-shadow: 0 14px 24px rgba(50, 24, 6, .36); }
.if-stand:hover svg { transform: translateX(3px); }
.if-stand:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

/* Detay kartı (P · X · E) */
.if-dim { position: absolute; inset: 0; z-index: 7; background: rgba(20, 10, 4, .3); opacity: 0; transition: opacity .3s; }
.if-dim.is-in { opacity: 1; }
.if-detail {
  position: absolute; z-index: 8; right: clamp(16px, 3vw, 40px); top: 50%;
  width: min(420px, calc(100% - 32px)); max-height: calc(100% - 120px); overflow: auto;
  transform: translate(30px, -50%); opacity: 0;
  transition: transform .45s var(--ease), opacity .3s;
}
.if-detail.is-in { transform: translate(0, -50%); opacity: 1; }
.if-detail.is-swap > *:not(.if-x) { animation: ifSwap .45s var(--ease); }
.if-d-head { display: flex; align-items: center; gap: 14px; padding-right: 40px; }
.if-d-letter {
  width: 58px; height: 58px; flex: none; display: grid; place-items: center;
  font: 800 34px/1 var(--f-display); letter-spacing: -.05em;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .15);
}
.if-detail .vw-title { padding-right: 36px; }
.if-detail .vw-tags li { border-color: rgba(14, 13, 12, .2); }
.if-d-act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.if-d-act .btn { height: 42px; padding: 0 16px; }

/* Alçak ekran: sağ sütun sığsın diye biraz sıkışır (yine de kayabilir) */
@media (max-height: 780px) and (min-width: 961px) {
  .if-meth-n { display: none; }
  .if-katbox .os-kat .vw-list li { padding: 4px 0; }
  .if-meth-row { gap: 10px; margin-top: 12px; }
  .if-side { gap: 16px; }
}
@media (max-width: 1180px) and (min-width: 961px) {
  .if-pgrid { grid-template-columns: minmax(0, 1fr) clamp(250px, 27vw, 290px); }
  .if-demo--isim { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)) auto; grid-template-areas: "n1 n2 n3 n4" "n5 n6 n7 n8" "slg slg chk chk"; }
  .if-demo--kampanya { column-gap: clamp(22px, 3vw, 40px); }
}

/* Dar ekran: pano dikey kayar, ipler gizlenir, raptiyeler CSS ile çizilir */
@media (max-width: 960px) {
  .if-board {
    inset: 0; border-radius: 0; overflow-y: auto; -webkit-overflow-scrolling: touch;
    box-shadow: inset 0 0 0 8px #5A3E29;
  }
  .if-pgrid { position: relative; inset: auto; min-height: 100%; display: flex; flex-direction: column; gap: 28px; padding: 76px 18px 40px; }
  .if-phead { padding-left: 0; margin: 0 -18px; }
  .if-ptabs { overflow-x: auto; overflow-y: hidden; padding: 16px 18px 18px; scrollbar-width: none; scroll-snap-type: x proximity; }
  .if-ptabs::-webkit-scrollbar { display: none; }
  .if-ptab { flex: none; width: 138px; scroll-snap-align: start; }
  .if-work { display: block; }
  .if-side { overflow: visible; margin: 0; padding: 0; gap: 28px; }
  .if-strings { display: none; }
  .if-pp[data-pin]::before {
    content: ""; position: absolute; left: 50%; top: 6px; width: 15px; height: 15px; margin-left: -7.5px; z-index: 2;
    border-radius: 50%; background: radial-gradient(circle at 35% 32%, #FF8A80, #E1251B 50%, #6E0904);
    box-shadow: 0 3px 3px rgba(40, 18, 4, .4);
  }
  .if-drag { touch-action: manipulation; cursor: default; }
  .if-drag:hover { box-shadow: 0 12px 22px rgba(50, 24, 6, .35), 0 2px 4px rgba(50, 24, 6, .2); }

  .if-demo { gap: 20px 14px; }
  .if-demo--marka { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "map map" "kit ton" "cum cum"; }
  .if-map { flex: none; height: auto; aspect-ratio: 4 / 3; }
  .if-demo--isim { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "n1 n2" "n3 n4" "n5 n6" "n7 n8" "chk chk" "slg slg"; }
  .if-name { min-height: 96px; }
  .if-demo--kampanya { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "hdf hdf" "ana ana" "c1 c2" "c3 c4" "c5 c6" "btc btc"; gap: 18px 14px; align-items: stretch; }
  .if-idea { min-height: 150px; }
  .if-ch { border-left: 4px solid var(--red); }
  .if-demo--senaryo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "sb sb" "vo pln"; align-items: stretch; }
  .if-sb-g { flex: none; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
  .if-fr svg { flex: none; height: auto; aspect-ratio: 16 / 10; }
  .if-demo--yenileme { grid-template-rows: none; }
  .if-rn-t { flex: none; grid-template-rows: none; grid-auto-rows: minmax(60px, auto); }
  .if-road { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
  .if-road-a { display: none; }
  .if-meth-row { max-width: 360px; }

  .if-detail {
    position: fixed; left: 12px; right: 12px; top: auto; bottom: 12px; width: auto;
    max-height: 78dvh; transform: translateY(30px);
  }
  .if-detail.is-in { transform: none; }
}
@media (max-width: 520px) {
  .if-demo--marka { grid-template-columns: minmax(0, 1fr); grid-template-areas: "map" "kit" "ton" "cum"; }
  .if-demo--senaryo { grid-template-columns: minmax(0, 1fr); grid-template-areas: "sb" "vo" "pln"; }
  .if-rn-t { grid-template-columns: auto minmax(0, 1fr) 24px minmax(0, 1fr); gap: 6px; }
  .if-rn-l { font-size: 8.5px; letter-spacing: .04em; }
}
@media (prefers-reduced-motion: reduce) {
  .if-demo > *, .if-map-ring { animation: none; }
}

/* =========================================================
   RAF — arşiv
   ========================================================= */
.if-raf {
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: clamp(10px, 2vh, 24px);
  padding: 84px clamp(16px, 4vw, 64px) clamp(16px, 3vh, 32px);
  background: #120D0A; overflow: hidden;
}
.if-raf > * { position: relative; }
.if-raf-wall {
  position: absolute !important; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 50% 42%, rgba(255, 175, 95, .17), rgba(255, 175, 95, 0) 70%),
    linear-gradient(#1D1611, #0D0A08);
}
.if-raf-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }
.if-raf-head .vw-title { margin-bottom: 6px; }
.if-raf-head .vw-title em { font-style: normal; color: var(--red); }
.if-raf-all {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase;
  padding: 12px 0; border-bottom: 1px solid var(--red);
  transition: gap .3s var(--ease), color .2s;
}
.if-raf-all:hover { gap: 16px; color: #FF6A5E; }
.if-raf-all svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.if-shelf { display: grid; align-content: end; justify-items: center; min-height: 0; }
.if-tapes {
  display: flex; align-items: flex-end; justify-content: center; gap: clamp(8px, 1.3vw, 18px);
  padding: 46px 12px 0; max-width: 100%;
}
.if-tape {
  --c: var(--red);
  position: relative; flex: none;
  width: clamp(56px, 6.6vw, 88px); height: clamp(200px, 38vh, 360px);
  padding: 10px 7px 9px; border-radius: 4px;
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; justify-items: center; gap: 8px;
  background: linear-gradient(90deg, #0B0A09, #1E1C1B 28%, #141312 72%, #090808);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), 0 14px 26px rgba(0, 0, 0, .55);
  color: var(--ink);
  transition: transform .55s var(--ease), opacity .4s, filter .4s;
  animation: ifTapeIn .7s var(--ease) both; animation-delay: calc(var(--d, 0) * 60ms + 200ms);
}
@keyframes ifTapeIn { from { opacity: 0; transform: translateY(30px); } }
.if-tape:hover { transform: translateY(-12px); }
.if-tape.is-out { transform: translateY(-38px) rotate(-2.5deg); }
.if-tapes.has-out .if-tape:not(.is-out) { opacity: .45; filter: saturate(.6); }
.if-tape-top { font: 700 8px/1 var(--f-mono); letter-spacing: .14em; color: rgba(242, 238, 231, .5); white-space: nowrap; }
.if-tape-label {
  width: 100%; min-height: 0; overflow: hidden;
  background: var(--paper); border-radius: 2px; padding: 10px 0;
  writing-mode: vertical-rl; transform: rotate(180deg);
  display: flex; align-items: center; gap: 10px;
  font: 600 clamp(11px, 1.2vw, 14px)/1 var(--f-body); white-space: nowrap; text-overflow: ellipsis;
}
.if-tape-label b { font: 700 11px/1 var(--f-mono); color: var(--red); letter-spacing: .06em; }
.if-tape-band { width: 100%; height: 22px; border-radius: 2px; background: var(--c); }
.if-tape-cat { font: 700 8px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(242, 238, 231, .6); }
.if-decor { flex: none; width: clamp(70px, 8vw, 120px); align-self: flex-end; margin: 0 clamp(4px, 1.5vw, 24px); opacity: .9; }
.if-decor svg { width: 100%; height: auto; }
.if-decor:last-child { animation: ifSpin 9s linear infinite; transform-origin: 50% 50%; }
@keyframes ifSpin { to { transform: rotate(360deg); } }
.if-plank {
  width: min(100%, 780px); height: 18px; border-radius: 3px; margin-top: -2px;
  background: linear-gradient(#80593B, #4E3422);
  box-shadow: 0 2px 0 #2E1E13, 0 18px 34px rgba(0, 0, 0, .65);
}

.if-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-d); }
.if-stat { padding: clamp(10px, 1.6vh, 18px) 18px 0 0; }
.if-stat + .if-stat { padding-left: 18px; border-left: 1px solid var(--line-d); }
.if-stat b { display: block; font: 800 clamp(1.5rem, 3vw, 2.6rem)/1 var(--f-display); letter-spacing: -.04em; }
.if-stat sup { color: var(--red); font-size: .5em; vertical-align: top; margin-left: 2px; }
.if-stat p { margin-top: 6px; font-size: 12px; line-height: 1.35; opacity: .62; max-width: 26ch; }

.if-raf-card {
  position: absolute !important; inset: 0; z-index: 8;
  display: grid; place-items: center; padding: 76px clamp(16px, 4vw, 48px) clamp(16px, 3vw, 32px);
  background: rgba(10, 7, 5, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .35s var(--ease);
}
.if-raf-card.is-in { opacity: 1; }
.if-card-in {
  position: relative; width: min(900px, 100%); max-height: 100%; overflow: auto;
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(18px, 2.6vw, 34px); align-items: center;
}
.if-raf-card.is-in .if-card-in { animation: ifIn .5s var(--ease); }
.if-card-in.is-swap > * { animation: ifSwap .4s var(--ease); }
.if-card-cover { aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: var(--ink-2); }
.if-card-cover svg, .if-card-cover img { width: 100%; height: 100%; object-fit: cover; }
.if-card-info { padding-right: 30px; }
.if-card-info .vw-title { font-size: clamp(1.5rem, 2.8vw, 2.3rem); }
.if-card-act { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.if-card-act .vw-arrow { color: var(--paper); }
.if-card-n { margin-top: 14px; font: 700 10px/1 var(--f-mono); letter-spacing: .14em; opacity: .5; }

@media (max-width: 760px) {
  .if-raf { display: block; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 76px 16px 28px; }
  .if-raf-wall { position: fixed !important; }
  .if-shelf { margin: 22px -16px 26px; }
  .if-tapes { justify-content: flex-start; overflow-x: auto; padding: 46px 16px 0; scroll-snap-type: x mandatory; scrollbar-width: none; width: 100%; }
  .if-tapes::-webkit-scrollbar { display: none; }
  .if-tape { height: 250px; width: 64px; scroll-snap-align: center; }
  .if-tape-label { white-space: normal; line-height: 1.12; font-size: 12px; gap: 6px; }
  .if-decor { width: 70px; }
  .if-plank { width: calc(100% - 32px); }
  .if-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .if-stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .if-stat:nth-child(n + 3) { border-top: 1px solid var(--line-d); margin-top: 12px; }
  .if-raf-card { position: fixed !important; place-items: end center; padding: 70px 10px 10px; }
  .if-card-in { grid-template-columns: 1fr; gap: 16px; max-height: calc(100dvh - 80px); }
  .if-card-cover { aspect-ratio: 16 / 10; }
  .if-card-info { padding-right: 0; }
}

/* =========================================================
   KAPI — iletişim
   ========================================================= */
.if-kapi { background: #F6F0E4; color: var(--ink); overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; }
.if-kapi-light {
  position: absolute; inset: 0; min-height: 100%; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 75% at 8% 0%, rgba(255, 206, 140, .6), rgba(255, 206, 140, 0) 65%),
    linear-gradient(112deg, rgba(255, 238, 205, 0) 38%, rgba(255, 228, 185, .45) 52%, rgba(255, 238, 205, 0) 66%),
    radial-gradient(ellipse 50% 50% at 100% 100%, rgba(225, 37, 27, .12), rgba(225, 37, 27, 0) 70%);
  animation: ifGlow 7s ease-in-out infinite alternate;
}
@keyframes ifGlow { to { opacity: .75; } }
.if-kapi-grid {
  position: relative; min-height: calc(100% - 52px); max-width: 1380px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: clamp(24px, 4.5vw, 72px); align-items: center;
  padding: 88px clamp(20px, 5vw, 72px) clamp(24px, 4vw, 48px);
}
.if-kapi-intro { animation: ifIn .7s var(--ease) both .15s; }
.if-kapi-title {
  font: 800 clamp(2.3rem, 5.4vw, 5rem)/.96 var(--f-display); letter-spacing: -.055em;
  margin: 16px 0 20px; max-width: 12ch;
}
.if-kapi-title em { font-style: normal; color: var(--red); }
.if-kapi .vw-text { opacity: .78; }
.if-kapi-mail { margin-top: 28px; display: grid; gap: 10px; }
.if-kapi-mail > div { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.if-kapi-mail a {
  font: 700 clamp(1.1rem, 2.1vw, 1.7rem)/1.2 var(--f-body); letter-spacing: -.02em;
  border-bottom: 2px solid var(--red); word-break: break-all;
  transition: color .2s;
}
.if-kapi-mail a:hover { color: var(--red); }
.if-kapi-nap { margin-top: 18px; }
.if-kapi-adr { font: 500 14px/1.55 var(--f-body); opacity: .78; max-width: 44ch; }
.if-kapi-mail .if-kapi-adr a { font: inherit; letter-spacing: 0; border-bottom: 1px solid rgba(14, 13, 12, .25); word-break: normal; }
.if-copy {
  height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(14, 13, 12, .25);
  font: 700 10px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase;
  transition: background .2s, color .2s, border-color .2s;
}
.if-copy:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.if-kapi-social { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; }
.if-kapi-social a { font: 600 14px/1 var(--f-body); padding: 6px 0; border-bottom: 1px solid rgba(14, 13, 12, .2); transition: border-color .2s, color .2s; }
.if-kapi-social a span { color: var(--red); }
.if-kapi-social a:hover { border-color: var(--red); color: var(--red); }

.if-brief { display: grid; gap: 14px; background: #FFFDF8; border-color: rgba(14, 13, 12, .1); box-shadow: 0 30px 70px rgba(120, 70, 20, .16); animation: ifIn .7s var(--ease) both .3s; }
.if-f-k { font: 400 11px/1.2 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.if-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.if-brief .chip { color: var(--ink); border-color: rgba(14, 13, 12, .3); opacity: 1; }
.if-brief .chip:hover { border-color: var(--ink); }
.if-brief .chip[aria-pressed="true"] { color: var(--paper); border-color: var(--red); }
.if-chip-all { font-weight: 600; }
/* Hizmet çipleri (15 + Hepsi): biraz daha küçük, satıra sarar, taşmaz */
.if-chips[data-group="svc"] { gap: 6px; }
.if-chips[data-group="svc"] .chip { height: 30px; padding: 0 11px; font-size: 11.5px; white-space: nowrap; }
.if-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.if-field { display: grid; gap: 4px; }
.if-field span { font: 400 10px/1.2 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; opacity: .6; }
.if-field input, .if-field textarea {
  width: 100%; font: 400 16px/1.4 var(--f-body); color: var(--ink);
  background: transparent; border: 0; border-bottom: 1.5px solid rgba(14, 13, 12, .22); border-radius: 0;
  padding: 8px 0; outline: none; transition: border-color .2s;
}
.if-field textarea { resize: vertical; min-height: 88px; }
.if-field input:focus, .if-field textarea:focus { border-color: var(--red); }
.if-field ::placeholder { color: rgba(14, 13, 12, .38); }
.if-brief-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 6px; }
.if-brief-foot small { font-size: 12px; line-height: 1.35; opacity: .6; max-width: 30ch; }

.if-kapi-band {
  position: relative; height: 52px; overflow: hidden;
  background: var(--red); color: var(--ink); display: flex; align-items: center;
}
.if-band-track { display: flex; align-items: center; gap: 22px; white-space: nowrap; padding-left: 22px; animation: ifBand 26s linear infinite; }
.if-band-track span { font: 800 20px/1 var(--f-display); letter-spacing: -.03em; }
.if-band-track i { width: 10px; height: 10px; background: var(--paper); clip-path: polygon(0 0, 100% 50%, 0 100%); flex: none; }
@keyframes ifBand { to { transform: translateX(-50%); } }

@media (max-width: 860px) {
  .if-kapi-grid { grid-template-columns: 1fr; align-items: start; padding: 76px 16px 28px; gap: 28px; min-height: 0; }
  .if-kapi-title { max-width: none; }
  .if-brief { padding: 18px; }
}
@media (max-width: 480px) {
  .if-row2 { grid-template-columns: 1fr; }
  .if-brief-foot { flex-direction: column; align-items: stretch; }
  .if-brief-foot .btn { justify-content: center; }
}
