/* DFN DRONE — alt sayfalar (hizmet, eğitim, şirket, blog, iletişim, sertifika, hukuk) pafta tasarımı.
   kinema.css'in renk/yazı belirteçlerini, üst çubuğu, menüyü ve alt bilgiyi kullanır; burada yalnız içerik düzeni var.
   Eski sayfa içeriği (.bento içindeki .c kartları) aynen kalır, görünümü bu dosya belirler. */
body.sayfa { overflow-x: hidden; }
body.sayfa .alt .mobil-eylem { display: none; }

/* ---------- giriş sahnesi (ana sayfa mantığı): yapışkan, solda metin, sağda 3B model, sonunda gerçek fotoğraf */
.sahne.sayfa-sahne { height: 210vh; position: relative; z-index: 10; }
.sahne.sayfa-sahne.uzun { height: 320vh; }
.sayfa-sahne .metin { width: min(640px, 46vw); }
.sayfa-sahne .metin h1 { font-size: clamp(44px, 5.4vw, 100px); overflow-wrap: anywhere; hyphens: auto; }
.sayfa-sahne .kirinti { margin-bottom: 18px; }
.sayfa-sahne .giris { margin: 22px 0 0; max-width: 520px; font: 400 15px/1.6 var(--f-mono); color: var(--murekkep-2); }
.sayfa-sahne .gercek { top: auto; bottom: calc(12px + 72px); width: min(40vw, 640px); }
html.webgl-yok .sayfa-sahne .gercek { --a: 1 !important; top: calc(var(--ust-h) + 60px); bottom: auto; }

/* ---------- bölümler: solda yapışkan numara, etiket ve teknik çizim; sağda kartlar */
main.bolumler { position: relative; z-index: 10; max-width: 1600px; margin: 0 auto; padding: 40px calc(12px + var(--kenar) + 10px) 120px; display: grid; gap: 64px; }
.bolum { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); align-items: start; }
.bolum-sol { align-self: stretch; }
.bolum-yapis { position: sticky; top: calc(var(--ust-h) + 60px); display: grid; gap: 10px; padding-top: 6px; border-top: 1px solid var(--murekkep); }
.bolum-no { font: 900 clamp(64px, 7vw, 120px)/.85 var(--f-baslik); color: var(--murekkep); letter-spacing: -.02em; }
.bolum.aktif .bolum-no { color: var(--vurgu); }
.bolum-etiket { font: 500 11px/1.35 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--murekkep-2); }
.bolum-cizim { width: 100%; height: auto; margin-top: 10px; overflow: visible; background: rgba(250, 250, 247, .55); border: 1px solid var(--cizgi); }
.bolum-cizim .c { fill: none; stroke: var(--murekkep); stroke-width: 1.1; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--c, 0)); }
.bolum-cizim .c.i { stroke: var(--murekkep-2); stroke-width: .8; }
.bolum-cizim .c.v { stroke: var(--vurgu); stroke-width: 1.5; }
.bolum-cizim .c.k { stroke-dasharray: none; stroke: var(--gri); opacity: calc(var(--c, 0) * 1.4); }
.bolum-cizim text { font: 500 10px var(--f-mono); letter-spacing: .08em; fill: var(--murekkep-2); opacity: calc(var(--c, 0) * 2 - .8); }
.bolum-cizim text.v { fill: var(--vurgu); }
.bolum-ic.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; min-width: 0; }
.bolum-ic.bento > * { grid-column: span 12; min-width: 0; }
@media (max-width: 1500px) { .bolum-ic.bento .w3 { grid-column: span 6; } }
@media (max-width: 1240px) { .bolum-ic.bento .w4 { grid-column: span 6; } .bolum { grid-template-columns: minmax(180px, 230px) minmax(0, 1fr); } }
body.sayfa .cetvel { display: grid; }
body.sayfa .cetvel ol { gap: 18px; }
body.sayfa .cetvel a .ce { max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; transition: max-width .4s var(--yavas), opacity .3s; background: rgba(250, 250, 247, .94); padding: 3px 0; }
body.sayfa .cetvel a:hover .ce, body.sayfa .cetvel a[aria-current="step"] .ce { max-width: 260px; opacity: 1; padding: 3px 6px; }
main.bolumler { padding-right: calc(12px + var(--kenar) + 64px); }

/* ---------- sayfa başı: kırıntı, büyük başlık, giriş, eylemler + sağda teknik çizim çerçevesinde görsel */
.sayfa-bas { position: relative; z-index: 10; min-height: min(86vh, 820px); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center;
  padding: calc(var(--ust-h) + 56px) calc(12px + var(--kenar) + 10px) 56px; max-width: 1560px; margin: 0 auto; }
.kirinti { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; font: 500 11px/1.4 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gri); }
.kirinti li + li::before { content: "/"; margin-right: 8px; color: var(--gri-2); }
.kirinti a { text-decoration: none; color: var(--murekkep-2); }
.kirinti a:hover { color: var(--vurgu); }
.sayfa-bas .ust-yazi { margin-bottom: 18px; }
.sayfa-bas h1 { margin: 0; font: 900 clamp(42px, 5.2vw, 96px)/.9 var(--f-baslik); text-transform: uppercase; letter-spacing: -.005em; overflow-wrap: anywhere; hyphens: auto; }
.icindekiler { list-style: none; margin: 24px 0 0; padding: 0; display: grid; border-top: 1px solid var(--murekkep); max-width: 560px; animation: belir .9s var(--yavas) .3s both; }
.icindekiler a { display: flex; align-items: baseline; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--cizgi); text-decoration: none; font: 800 21px/1.1 var(--f-baslik); text-transform: uppercase; transition: color .2s, padding .3s var(--yavas); }
.icindekiler a small { font: 500 11px var(--f-mono); color: var(--vurgu); letter-spacing: .1em; }
.icindekiler a:hover { color: var(--vurgu); padding-left: 8px; }
.sayfa-bas h1 .satir { display: block; overflow: hidden; padding: .14em 0 .04em; margin-top: -.14em; }
.sayfa-bas h1 .satir > span { display: block; animation: yukari 1s var(--yavas) both; }
.sayfa-bas h1 .satir:nth-child(2) > span { animation-delay: .08s; }
.sayfa-bas h1 .satir:nth-child(3) > span { animation-delay: .16s; }
.sayfa-bas h1 em { font-style: normal; color: var(--vurgu); }
@keyframes yukari { from { transform: translateY(105%); } }
.sayfa-bas .giris { margin: 24px 0 0; max-width: 560px; font: 400 15.5px/1.6 var(--f-mono); color: var(--murekkep-2); animation: belir .9s var(--yavas) .25s both; }
.sayfa-bas .eylem { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; animation: belir .9s var(--yavas) .35s both; }
@keyframes belir { from { opacity: 0; transform: translateY(12px); } }
.sekil { position: relative; margin: 0; border: 1px solid var(--murekkep); background: var(--kagit-3); aspect-ratio: 4 / 3; animation: sil 1.4s var(--yavas) .2s both; }
.sekil img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) contrast(1.02); }
.sekil figcaption { position: absolute; left: -1px; bottom: -1px; background: var(--kagit-2); border: 1px solid var(--murekkep); padding: 6px 10px; font: 500 10px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; }
.sekil::after { content: ""; position: absolute; top: 0; bottom: 0; width: 2px; background: var(--vurgu); left: 100%; animation: tarama 1.4s var(--yavas) .2s both; }
@keyframes sil { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes tarama { from { left: 0; opacity: 1; } 99% { opacity: 1; } to { left: 100%; opacity: 0; } }
.sekil-cizim { position: absolute; inset: -34px -30px -40px -30px; width: calc(100% + 60px); height: calc(100% + 74px); pointer-events: none; overflow: visible; }
.sekil-cizim .c { fill: none; stroke: var(--murekkep); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; animation: ciz 1.6s var(--yavas) .5s forwards; }
.sekil-cizim .c.v { stroke: var(--vurgu); }
.sekil-cizim text { font: 500 10px var(--f-mono); fill: var(--murekkep-2); letter-spacing: .08em; opacity: 0; animation: belir .6s 1.4s forwards; }
@keyframes ciz { to { stroke-dashoffset: 0; } }

/* ---------- içerik ızgarası (eski .bento) */
.bento { position: relative; z-index: 10; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; max-width: 1560px; margin: 0 auto; padding: 24px calc(12px + var(--kenar) + 10px) 96px; }
.bento > * { grid-column: span 12; min-width: 0; }
.bento .w3 { grid-column: span 3; } .bento .w4 { grid-column: span 4; } .bento .w6 { grid-column: span 6; } .bento .w8 { grid-column: span 8; } .bento .w12 { grid-column: 1 / -1; }
.bento .pair { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.bento .pair > .w6 { grid-column: span 6; }
.bento .pair.flip > :first-child { order: 2; }
.bento .sech { padding: 36px 0 4px; border-bottom: 1px solid var(--murekkep); display: flex; align-items: baseline; gap: 16px; }
.bento .sech h2 { margin: 0; font: 900 clamp(34px, 4vw, 64px)/.9 var(--f-baslik); text-transform: uppercase; }
.bento .sech p { margin: 0; color: var(--murekkep-2); font: 400 14px var(--f-mono); }

/* kart: pafta paneli — ince çerçeve, köşe işaretleri, üstte mono etiket */
.bento .c { position: relative; display: flex; flex-direction: column; gap: 10px; background: rgba(250, 250, 247, .9); border: 1px solid var(--cizgi); padding: 24px; color: var(--murekkep); text-decoration: none; transition: border-color .3s, transform .5s var(--yavas), opacity .6s var(--yavas); }
.bento .c::before, .bento .c::after { content: ""; position: absolute; width: 10px; height: 10px; border-color: var(--murekkep); border-style: solid; pointer-events: none; transition: width .35s var(--yavas), height .35s var(--yavas); }
.bento .c::before { left: -1px; top: -1px; border-width: 1px 0 0 1px; }
.bento .c::after { right: -1px; bottom: -1px; border-width: 0 1px 1px 0; }
.bento a.c:hover, .bento .c.img:hover { border-color: var(--murekkep); }
.bento a.c:hover::before, .bento a.c:hover::after { width: 26px; height: 26px; border-color: var(--vurgu); }
.bento .c .k, .bento .c .yr { font: 500 10.5px/1.3 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--murekkep-2); }
.bento .c .yr { color: var(--vurgu); font-weight: 600; }
.bento .c h2 { margin: 0; font: 900 clamp(30px, 3.2vw, 52px)/.92 var(--f-baslik); text-transform: uppercase; }
.bento .c h3 { margin: 0; font: 800 clamp(22px, 2vw, 30px)/1 var(--f-baslik); text-transform: uppercase; letter-spacing: .005em; }
.bento .c p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--murekkep-2); }
.bento .c p.d { font-size: 14.5px; }
.bento .c b, .bento .c strong { color: var(--murekkep); }
.bento .c .go { margin-top: auto; padding-top: 8px; font: 600 11px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--vurgu); }
.bento .c .ic { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--murekkep); border-radius: 50%; color: var(--vurgu); }
.bento .c .ic svg { width: 20px; height: 20px; }
.bento ul.ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 9px; }
.bento ul.ul li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; font-size: 14.5px; line-height: 1.5; color: var(--murekkep-2); }
.bento ul.ul li::before { content: "+"; font: 500 13px var(--f-mono); color: var(--vurgu); }
.bento ul.kv { list-style: none; margin: 6px 0 0; padding: 0; border-top: 1px solid var(--murekkep); }
.bento ul.kv li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--cizgi); font: 500 11px/1.35 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--gri); }
.bento ul.kv li span { color: var(--murekkep); text-align: right; text-transform: none; letter-spacing: 0; font-size: 12.5px; }
.bento .gear { font: 500 11px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--murekkep); border-top: 1px solid var(--cizgi); padding-top: 10px; margin-top: auto; }

/* görselli kartlar */
.bento .c.img, .bento .c.ill { padding: 0; overflow: hidden; }
.bento .c.img img, .bento .c.ill img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-bottom: 1px solid var(--murekkep); filter: saturate(.9); transition: transform 1.2s var(--yavas); }
.bento .c.ill img { height: 100%; aspect-ratio: auto; min-height: 320px; border-bottom: 0; }
.bento .c.img.tall img { aspect-ratio: 4 / 3; }
.bento .c.img:hover img { transform: scale(1.03); }
.bento .c.img > :not(img) { margin-left: 22px; margin-right: 22px; }
.bento .c.img > .k { margin-top: 18px; }
.bento .c.img > :last-child { margin-bottom: 22px; }
.bento .c.ill { background: var(--kagit-3); }

/* DJI resmî CAD görüntüleyici (fotoğrafın yerinde; WebGL yoksa fotoğraf kalır) */
.bento figure.model3d { position: relative; margin: 0; background: var(--kagit-2);
  background-image: linear-gradient(var(--cizgi-2) 1px, transparent 1px), linear-gradient(90deg, var(--cizgi-2) 1px, transparent 1px); background-size: 24px 24px;
  border-bottom: 1px solid var(--murekkep); aspect-ratio: 4 / 3; overflow: hidden; }
.bento .c.ill figure.model3d { height: 100%; min-height: 360px; aspect-ratio: auto; border-bottom: 0; }
.bento figure.model3d > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; border: 0; transition: opacity .8s; }
.bento figure.model3d.yuklendi > img { opacity: 0; }
.bento figure.model3d .model3d-tuval { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; }
.bento figure.model3d .model3d-tuval:active { cursor: grabbing; }
.bento figure.model3d figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; padding: 10px 12px; pointer-events: none; }
.bento figure.model3d figcaption > * { pointer-events: auto; }
.bento figure.model3d .m-ad { display: grid; gap: 2px; font: 500 10px/1.25 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; background: rgba(250, 250, 247, .92); border: 1px solid var(--murekkep); padding: 6px 9px; }
.bento figure.model3d .m-ad b { font: 800 15px/1 var(--f-baslik); letter-spacing: .02em; }
.bento figure.model3d .m-ad small { color: var(--gri); font-size: 9.5px; }
.bento figure.model3d button { min-height: 34px; padding: 0 12px; border: 1px solid var(--murekkep); border-radius: 999px; background: rgba(250, 250, 247, .92); font: 600 10.5px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.bento figure.model3d button[aria-pressed="true"] { background: var(--murekkep); color: var(--kagit-2); }
.bento figure.model3d:not(.yuklendi) figcaption button { display: none; }
.bento .c.img:hover figure.model3d > img { transform: none; }

/* istatistik */
.bento .c.st { justify-content: space-between; min-height: 150px; }
.bento .c.st b { font: 900 clamp(38px, 4vw, 64px)/.9 var(--f-baslik); letter-spacing: -.01em; }
.bento .c.st.red { background: var(--murekkep); color: var(--kagit-2); border-color: var(--murekkep); }
.bento .c.st.red .k, .bento .c.st.red b { color: var(--kagit-2); }
.bento .c.st.red::before, .bento .c.st.red::after { border-color: var(--vurgu); }

/* kişi */
.bento .c.person { flex-direction: row; align-items: flex-start; gap: 18px; }
.bento .c.person .av { flex: none; width: 64px; height: 64px; display: grid; place-items: center; border: 1px solid var(--murekkep); border-radius: 50%; font: 800 22px var(--f-baslik); background: var(--kagit-3); }
.bento .c.person.lead .av { width: 96px; height: 96px; font-size: 32px; background: var(--murekkep); color: var(--kagit-2); }
.bento .c.person > div { display: grid; gap: 8px; }

/* düğmeler (eski .btn) → kapsül */
.bento .btn, .hukuk .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--murekkep); background: var(--murekkep); color: var(--kagit-2); font: 600 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .25s, color .25s, border-color .25s; align-self: flex-start; }
.bento .btn:hover { background: var(--vurgu); border-color: var(--vurgu); }
.bento .btn.o { background: transparent; color: var(--murekkep); }
.bento .btn.o:hover { background: var(--murekkep); color: var(--kagit-2); border-color: var(--murekkep); }

/* iletişim ve harita */
.bento .c.contact { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; background: var(--murekkep); color: var(--kagit-2); border-color: var(--murekkep); }
.bento .c.contact .k, .bento .c.contact h3, .bento .c.contact a { color: var(--kagit-2); }
.bento .c.contact > div { display: grid; gap: 14px; }
.bento ul.cl { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font: 500 13px var(--f-mono); }
.bento ul.cl li { display: flex; align-items: center; gap: 8px; }
.bento ul.cl .ci svg { width: 16px; height: 16px; color: var(--vurgu-2); }
.bento .acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.bento .c.contact .btn { background: var(--vurgu); border-color: var(--vurgu); }
.bento .c.contact .btn.o { background: transparent; border-color: var(--kagit-2); color: var(--kagit-2); }
.bento .cs { display: flex; gap: 12px; } .bento .cs svg { width: 18px; height: 18px; }
.bento .c.mapc { padding: 0; min-height: 360px; }
.bento .c.mapc iframe { width: 100%; height: 100%; min-height: 360px; border: 0; filter: grayscale(.85) contrast(1.05) sepia(.12); }

/* referans logoları */
.bento .refs { display: grid; gap: 20px; }
.bento .refs .rh { display: grid; gap: 8px; }
.bento .lgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.bento .lg { display: grid; place-items: center; min-height: 120px; padding: 18px; border: 1px solid var(--cizgi); background: rgba(250, 250, 247, .9); }
.bento .lg img { width: 100%; max-width: 150px; max-height: 86px; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .85; transition: filter .3s, opacity .3s; }
.bento .lg:hover img { filter: none; opacity: 1; }

/* form bölümü (eski section.fm) */
.bento .c.fm { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px; padding: 32px; border-color: var(--murekkep); }
.bento .fmh { display: grid; gap: 12px; align-content: start; }
.bento form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.bento form label { display: grid; gap: 6px; font: 500 10.5px/1.25 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--murekkep-2); }
.bento form label i { color: var(--vurgu); font-style: normal; }
.bento form label.fw, .bento form .fw { grid-column: 1 / -1; }
.bento form input:not([type=checkbox]):not([type=radio]), .bento form select, .bento form textarea { width: 100%; min-height: 44px; border: 1px solid var(--murekkep); border-radius: 0; background: #fff; padding: 10px 12px; font: 400 15px var(--f-govde); color: var(--murekkep); text-transform: none; letter-spacing: 0; }
.bento form textarea { min-height: 96px; resize: vertical; }
.bento form input:focus, .bento form select:focus, .bento form textarea:focus { outline: 2px solid var(--vurgu); outline-offset: 0; }
.bento form label.chk { display: grid; grid-template-columns: 20px 1fr; align-items: start; gap: 10px; font: 400 13px/1.45 var(--f-govde); text-transform: none; letter-spacing: 0; }
.bento form label.chk input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--vurgu); }
.bento form button[type=submit], .bento form .btn { grid-column: 1 / -1; justify-self: start; background: var(--vurgu); border-color: var(--vurgu); }
.bento .pvmsg { grid-column: 1 / -1; margin: 0; padding: 10px 12px; border: 1px solid var(--vurgu); color: var(--vurgu); font: 500 13px var(--f-govde); }
.bento .pvmsg.ok { border-color: #1f7a45; color: #1f7a45; }
.bento .cf-turnstile { grid-column: 1 / -1; min-height: 65px; }

/* çipler, sekmeler ve diğer küçük öğeler */
.bento .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.bento .chips a, .bento .chips span { font: 500 10.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--cizgi); padding: 7px 9px; text-decoration: none; color: var(--murekkep-2); background: rgba(250, 250, 247, .8); }
.bento details { border-top: 1px solid var(--cizgi); padding: 12px 0; }
.bento details summary { cursor: pointer; font: 700 18px/1.2 var(--f-baslik); text-transform: uppercase; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.bento details summary::after { content: "+"; font: 500 16px var(--f-mono); color: var(--vurgu); }
.bento details[open] summary::after { content: "−"; }
.bento details > :not(summary) { margin-top: 10px; color: var(--murekkep-2); }
.bento table { width: 100%; border-collapse: collapse; font-size: 14px; }
.bento th, .bento td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--cizgi); }
.bento th { font: 600 10.5px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gri); }

/* kaydırınca kartlar belirir (JS varsa; yoksa hepsi görünür) */
html.sayfa-js .bento .c.gizli { opacity: 0; transform: translateY(18px); }

/* kart görseli taraması (sayfa.js): belirirken bir kez, üstüne gelince sürekli — ızgara + ilerleyen kırmızı tarama çizgisi */
.bento .c.img > .tara { display: block; position: relative; margin: 0 !important; overflow: hidden; border-bottom: 1px solid var(--murekkep); }
.bento .c.img > .tara > img { display: block; border-bottom: 0; }
.bento .c.img > .tara::before, .bento .c.img > .tara::after { content: ""; position: absolute; pointer-events: none; z-index: 1; opacity: 0; }
.bento .c.img > .tara::before { inset: 0; background-image: linear-gradient(rgba(226, 37, 76, .2) 1px, transparent 1px), linear-gradient(90deg, rgba(226, 37, 76, .2) 1px, transparent 1px); background-size: 28px 28px; transition: opacity .45s; }
.bento .c.img > .tara::after { left: 0; right: 0; top: 0; height: 32%; background: linear-gradient(180deg, rgba(226, 37, 76, 0), rgba(226, 37, 76, .18)); border-bottom: 1.5px solid var(--vurgu); transform: translateY(-100%); }
.bento .c.img.tarandi > .tara::after { animation: kart-tara 1.5s var(--yavas) .35s 1; }
.bento .c.img.tarandi > .tara::before { animation: kart-izgara 1.9s ease .35s 1; }
@media (hover: hover) {
  .bento .c.img:hover > .tara::before { opacity: 1; animation: none; }
  .bento .c.img:hover > .tara::after { animation: kart-tara 1.7s linear infinite; }
}
@keyframes kart-tara { 0% { transform: translateY(-100%); opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(320%); opacity: 0; } }
@keyframes kart-izgara { 0%, 100% { opacity: 0; } 30%, 70% { opacity: .8; } }
@media (prefers-reduced-motion: reduce) { .bento .c.img > .tara::before, .bento .c.img > .tara::after { animation: none !important; } }

/* ---------- hukuk sayfaları ve düz metin */
.hukuk { position: relative; z-index: 10; max-width: 920px; margin: 0 auto; padding: calc(var(--ust-h) + 48px) calc(12px + var(--kenar) + 10px) 96px; }
.hukuk .metin-kutu { background: rgba(250, 250, 247, .94); border: 1px solid var(--murekkep); padding: clamp(22px, 4vw, 48px); }
.hukuk h1 { font: 900 clamp(38px, 5vw, 72px)/.92 var(--f-baslik); text-transform: uppercase; margin: 0 0 18px; }
.hukuk h2, .hukuk h3, .hukuk h4, .hukuk h5 { font: 800 clamp(20px, 2vw, 28px)/1.1 var(--f-baslik); text-transform: uppercase; margin: 32px 0 10px; }
.hukuk p, .hukuk li { font-size: 15.5px; line-height: 1.7; color: var(--murekkep-2); }
.hukuk a { color: var(--vurgu); }
.hukuk .text-muted, .hukuk .lead { color: var(--gri); }
.hukuk img { max-width: 100%; height: auto; }

/* 404 */
.yok { position: relative; z-index: 10; min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 120px 20px; }
.yok b { display: block; font: 900 clamp(120px, 24vw, 340px)/.8 var(--f-baslik); color: var(--vurgu); }

/* ---------- tablet / telefon */
@media (max-width: 1100px) {
  .bento .w3 { grid-column: span 6; } .bento .w4 { grid-column: span 6; }
  .bento .c.fm { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .sahne.sayfa-sahne { height: 170vh; }
  .sayfa-sahne .metin { width: auto; }
  .sayfa-sahne .gercek { left: 20px; right: 20px; width: auto; bottom: 96px; }
  main.bolumler { gap: 40px; padding: 20px 16px 96px; }
  .bolum { grid-template-columns: 1fr; gap: 14px; }
  .bolum-yapis { position: relative; grid-template-columns: auto 1fr; align-items: end; column-gap: 14px; }
  .bolum-no { font-size: 56px; }
  .bolum-cizim { grid-column: 1 / -1; max-height: 170px; }
  body.sayfa .cetvel { display: none; }
  body.sayfa .alt .mobil-eylem { display: flex; }
  .sayfa-bas { grid-template-columns: 1fr; min-height: 0; padding: calc(var(--ust-h) + 36px) 20px 28px; }
  .sayfa-bas h1 { font-size: clamp(40px, 12vw, 64px); }
  .sekil-cizim { display: none; }
  .bento { gap: 12px; padding: 12px 16px 72px; }
  .bento .w3, .bento .w4, .bento .w6, .bento .w8, .bolum-ic.bento .w3, .bolum-ic.bento .w4 { grid-column: 1 / -1; }   /* bölüm içi kartlar da telefonda tam en (başlıklar sığsın) */
  .bento .c.person > div { min-width: 0; } .bento .c.person h3 { overflow-wrap: anywhere; }
  .bento .pair { gap: 12px; } .bento .pair > .w6 { grid-column: 1 / -1; }
  .bento .pair.flip > :first-child { order: 0; }
  .bento .c { padding: 18px; }
  .bento .c.ill img { min-height: 220px; }
  .bento form { grid-template-columns: 1fr; }
  .bento .c.fm { padding: 20px; }
  .bento .fmh, .bento .fmh > * { min-width: 0; } .bento .fm h2 { overflow-wrap: anywhere; }
  .bento .chiprow { display: flex; flex-wrap: wrap; gap: 6px; }
  .bento .sech { flex-wrap: wrap; gap: 4px 16px; } .bento .sech h2 { font-size: clamp(26px, 8.5vw, 34px); overflow-wrap: anywhere; } .bento .sech p { min-width: 0; }
  .bento .c h2, .bento .c h3 { overflow-wrap: anywhere; hyphens: auto; }
  .bento .c.contact { flex-direction: column; align-items: flex-start; }
  body.sayfa .alt { display: grid; }
}
@media (prefers-reduced-motion: reduce) {
  .sayfa-bas h1 .satir > span, .sayfa-bas .giris, .sayfa-bas .eylem, .sekil, .sekil::after, .sekil-cizim .c, .sekil-cizim text { animation: none !important; stroke-dashoffset: 0; opacity: 1; }
  html.sayfa-js .bento .c.gizli { opacity: 1; transform: none; }
}

/* gerçek fotoğraflar temaya uyar: kâğıda basılmış teknik fotoğraf (soluk, sıcak, kâğıtla kaynaşır); üstüne gelince gerçek renk */
.bento .c.img img, .bento .c.ill img, .bento figure.model3d > img, .sayfa-sahne .gercek img {
  filter: grayscale(.88) sepia(.32) contrast(1.12) brightness(1.04); mix-blend-mode: multiply; transition: filter .6s var(--yavas), transform 1.2s var(--yavas); }
.bento .c.img:hover img, .bento .c.ill:hover img, .sayfa-sahne .gercek:hover img { filter: none; mix-blend-mode: normal; }
.bento .c.img, .bento .c.ill { background: var(--kagit-2); }
.bento .c.img::after, .bento .c.ill::after { z-index: 2; }
/* simetri: Font Awesome yüklenmiyor — boş ikonlar ve "me-2" boşluğu düğme yazısını kaydırıyordu; düğme yazısı tek satır */
i.fas, i.far, i.fab, i.fa { display: none; }
.bento .btn, .hukuk .btn { white-space: nowrap; max-width: 100%; }
/* fotoğraf azaltma: bölüm başına bir fotoğraf (fazlası gizli, silinmedi) */
.bento .c.foto-az { display: none; }

/* ---------- Sertifikat yoxlanışı: sorğu forması ilk ekranda, sağda (FİN kodu kutusu fokuslu) */
.sert-kart { position: absolute; z-index: 3; right: calc(12px + var(--kenar) + 140px); top: calc(var(--ust-h) + 12px + 7vh); width: min(540px, 42vw);
  max-height: calc(100vh - var(--ust-h) - 12px - 7vh - 96px); overflow: auto; padding: 28px; border: 1px solid var(--murekkep); background: var(--kagit-2); box-shadow: 0 18px 50px rgba(22, 24, 31, .12); }
.sert-ic { display: grid; gap: 12px; }
.sert-ic > .k { font: 600 10.5px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--vurgu); }
.sert-ic > h2 { margin: 0; font: 900 clamp(30px, 2.8vw, 44px)/.95 var(--f-baslik); text-transform: uppercase; }
.sert-ic form { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 6px; }
.sert-ic input { min-width: 0; height: 60px; padding: 0 18px; border: 1px solid var(--murekkep); border-radius: 0; background: #fff; color: var(--murekkep);
  font: 700 24px/1 var(--f-mono); letter-spacing: .28em; text-transform: uppercase; outline: none; }
.sert-ic input::placeholder { font-size: 15px; letter-spacing: .08em; color: var(--gri); text-transform: none; }
.sert-ic input:focus { border-color: var(--vurgu); box-shadow: 0 0 0 3px rgba(226, 37, 76, .15); }
.sert-ic form .btn { height: 60px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--vurgu); color: #fff; font: 700 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.sert-ic form .btn:hover { background: var(--murekkep); }
.sert-ic .pvmsg { grid-column: 1 / -1; margin: 2px 0 0; font: 500 13px/1.4 var(--f-mono); color: var(--vurgu); }
.sert-ic > p.d { margin: 2px 0 0; font: 400 13px/1.55 var(--f-mono); color: var(--murekkep-2); }
.sert-ic .vres .vcard { display: grid; gap: 6px; margin-top: 4px; padding: 16px; border: 1px solid var(--murekkep); background: #fff; }
.sert-ic .vres .vcard .k { font: 600 10.5px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: #1f8a3b; }
.sert-ic .vres .vcard h3 { margin: 0; font: 800 26px/1 var(--f-baslik); text-transform: uppercase; }
.sert-ic .vres .vcard img { width: 100%; margin-top: 8px; border: 1px solid var(--cizgi); }
@media (max-width: 760px) { .sert-kart { position: relative; left: auto; right: auto; top: auto; width: auto; max-height: none; margin: 18px 20px 0; padding: 20px; } }

/* 2026-11-12 alt sayfalar: etkin bölümde üst çizgi kırmızıyla dolar, numara hafifçe yerine oturur (ana sayfadaki sahne geçişiyle aynı dil) */
.bolum-yapis::before { content: ""; position: absolute; left: 0; top: -1px; width: 100%; height: 2px; background: var(--vurgu); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--yavas); }
.bolum.aktif .bolum-yapis::before { transform: scaleX(1); }
.bolum-no { transition: color .4s, transform .7s var(--yavas), opacity .7s var(--yavas); }
html.sayfa-js .bolum:not(.aktif) .bolum-no { transform: translateY(8px); opacity: .55; }
@media (prefers-reduced-motion: reduce) { .bolum-yapis::before, .bolum-no { transition: none; } html.sayfa-js .bolum:not(.aktif) .bolum-no { transform: none; opacity: 1; } }
