/* =========================================================
   Alt sayfalar — ortak bileşenler (pages.css)
   site.css + home.css (body.dark) üzerine gelir.
   ========================================================= */

/* ---------- Sayfa başlığı ---------- */
.page-hero { position: relative; isolation: isolate; overflow: clip; padding-block: clamp(56px, 8vw, 112px) clamp(48px, 6vw, 88px); border-bottom: 1px solid var(--rule); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: radial-gradient(40% 80% at 85% 20%, rgba(25, 151, 239, .22), transparent 70%), radial-gradient(30% 60% at 5% 100%, rgba(8, 87, 175, .2), transparent 70%); }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(207, 236, 250, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(207, 236, 250, .05) 1px, transparent 1px);
  background-size: 72px 72px; -webkit-mask-image: radial-gradient(60% 90% at 80% 30%, #000, transparent 75%); mask-image: radial-gradient(60% 90% at 80% 30%, #000, transparent 75%); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; font-size: var(--t-1); color: var(--ink-3); }
.crumbs a { color: var(--ink-2); transition: color .2s; }
.crumbs a:hover { color: #fff; }
.page-hero h1 { max-width: 14em; font-size: clamp(40px, 5.6vw, 80px); line-height: 1; letter-spacing: -.04em; color: #fff; }
.page-hero .lede { margin-top: 24px; max-width: 38em; }
.page-hero .hero-acts { margin-top: 32px; }
.page-hero.slim { padding-bottom: clamp(36px, 4vw, 56px); }

/* ---------- Uzun metin ---------- */
.prose { max-width: 44em; }
.prose p { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.75; color: var(--ink-2); }
.prose p + p { margin-top: 22px; }
.prose p:first-child { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.55; color: var(--ink); }
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px 56px; }
.split > h2 { font-size: var(--t-5); }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* ---------- Bilgi kutuları (künye satırları) ---------- */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1.5px solid rgba(207, 236, 250, .4); }
.facts div { padding: 22px 22px 22px 0; }
.facts div + div { padding-left: 22px; border-left: 1px solid var(--rule); }
.facts dt { font-size: var(--t-0); color: var(--ink-3); }
.facts dd { margin-top: 6px; font: 500 var(--t-3)/1.2 var(--display); color: #fff; }
@media (max-width: 820px) { .facts { grid-template-columns: 1fr 1fr; } .facts div:nth-child(3) { padding-left: 0; border-left: 0; } .facts div:nth-child(n+3) { border-top: 1px solid var(--rule); } }

/* ---------- Form ---------- */
.panel { border-radius: var(--r-lg); background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .015)); box-shadow: inset 0 0 0 1px var(--rule); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.f { display: grid; gap: 8px; align-content: start; }
.f.full, .form > .full { grid-column: 1 / -1; }
.f label, .f .lbl { font-size: var(--t-1); font-weight: 500; color: var(--ink); }
.f label small { color: var(--ink-3); font-weight: 400; }
.f input, .f select, .f textarea { width: 100%; font: inherit; font-size: 16px; color: #fff; background: rgba(3, 11, 34, .6); border: 1px solid var(--rule-2); border-radius: var(--r-md); padding: 0 16px; height: 52px; outline: none; transition: border-color .2s, box-shadow .2s, background .2s; }
.f textarea { height: auto; min-height: 150px; padding: 14px 16px; resize: vertical; line-height: 1.55; }
.f select { appearance: none; -webkit-appearance: none; padding-right: 44px; background: rgba(3, 11, 34, .6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a9bde4' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center / 18px; }
.f select option { color: #051643; background: #fff; }
.f input::placeholder, .f textarea::placeholder { color: var(--ink-3); }
.f input:hover, .f select:hover, .f textarea:hover { border-color: rgba(207, 236, 250, .4); }
.f input:focus, .f select:focus, .f textarea:focus { border-color: var(--sky); background: rgba(3, 11, 34, .85); box-shadow: 0 0 0 4px rgba(25, 151, 239, .22); }
.err { display: none; font-size: 13px; color: #ff9a8f; }
.f.bad input, .f.bad select, .f.bad textarea { border-color: #ff7a6b; }
.f.bad .err, .bad > .err { display: block; }
.chips-in { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-in label { position: relative; cursor: pointer; }
.chips-in input { position: absolute; opacity: 0; pointer-events: none; }
.chips-in span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 99px; font-size: 15px; font-weight: 500; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--rule-2); transition: color .2s, background .2s, box-shadow .2s; }
.chips-in label:hover span { color: #fff; box-shadow: inset 0 0 0 1px rgba(207, 236, 250, .45); }
.chips-in input:checked + span { color: #fff; background: linear-gradient(180deg, #29a4f8, #0857af); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); }
.chips-in input:focus-visible + span { outline: 2px solid #6fc6ff; outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: var(--t-1); color: var(--ink-2); cursor: pointer; }
.consent input { width: 22px; height: 22px; margin-top: 1px; accent-color: #1997ef; flex-shrink: 0; }
.consent.bad { color: #ff9a8f; }
.form-foot { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.form-note { font-size: 14px; color: var(--ink-3); }
.done { display: none; padding: 40px 8px 16px; text-align: center; }
.done.show { display: block; }
.done b { display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 50%; color: #fff; font-size: 26px; background: linear-gradient(180deg, #29a4f8, #0857af); box-shadow: 0 14px 30px -14px rgba(25, 151, 239, .9); }
.done h3 { font-size: var(--t-4); }
.done p { margin-top: 8px; color: var(--ink-2); }
.done button { margin-top: 20px; font-weight: 500; color: #8cd3ff; text-decoration: underline; text-underline-offset: 4px; }
.form.sent > :not(.done) { display: none; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } .form-foot .btn { width: 100%; } }

/* ---------- İletişim kanalları ---------- */
.channels { display: grid; }
.ch { display: flex; align-items: center; gap: 16px; padding: 20px 4px; border-bottom: 1px solid var(--rule); }
.ch:first-child { border-top: 1.5px solid rgba(207, 236, 250, .4); }
.ch .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; color: #fff; background: linear-gradient(160deg, #29a4f8, #0857af); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); }
.ch .ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ch small { display: block; font-size: var(--t-0); color: var(--ink-3); }
.ch b { display: block; font-weight: 500; color: #fff; word-break: break-word; }
.ch b.pending { color: var(--ink-3); font-weight: 400; }
.ch .go { margin-left: auto; color: var(--ink-3); transition: transform .3s var(--ease), color .2s; }
a.ch:hover .go { transform: translateX(4px); color: #fff; }
a.ch:hover b { color: #8cd3ff; }

/* ---------- İletişim düzeni ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 32px 56px; align-items: start; }
.form-panel { padding: clamp(24px, 4vw, 48px); }
.form-panel h2 { font-size: var(--t-5); }
.form-intro { margin: 10px 0 30px; color: var(--ink-2); }
.side-h { font-size: var(--t-3); margin-bottom: 18px; }
.side-note { margin-top: 22px; font-size: var(--t-1); color: var(--ink-3); }
@media (min-width: 921px) { .contact-grid > aside { position: sticky; top: 100px; } }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Proje vakası ---------- */
.case { scroll-margin-top: 100px; }
.case + .case { margin-top: clamp(80px, 10vw, 140px); }
.case-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.case-tags span { padding: 6px 12px; border-radius: 99px; font-size: 13px; font-weight: 500; color: #b8dfff; box-shadow: inset 0 0 0 1px rgba(111, 198, 255, .35); background: rgba(25, 151, 239, .08); }
.case-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 24px 56px; align-items: end; margin-bottom: clamp(32px, 4vw, 48px); }
.case-head h2 { font-size: var(--t-6); }
.case-head p { color: var(--ink-2); }
.case-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: var(--t-1); color: var(--ink-2); }
.case-brand img { width: 32px; height: 32px; border-radius: 9px; }
.case-shots { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px; margin-top: clamp(28px, 4vw, 44px); }
.case-shots .shot { min-height: clamp(340px, 34vw, 480px); }
.case-shots figcaption { position: absolute; left: 16px; top: 16px; z-index: 2; padding: 6px 12px; border-radius: 99px; font-size: 13px; color: #fff; background: rgba(3, 11, 34, .55); box-shadow: inset 0 0 0 1px var(--rule-2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.shot.panel-shot { background: radial-gradient(60% 60% at 60% 50%, rgba(25, 151, 239, .25), transparent 70%), #061230; }
.shot .frame[data-fit="bleed"] iframe { left: 9%; top: 15%; transform-origin: top left; }
.case-foot { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; margin-top: 28px; }
.case-foot .stores { margin-top: 0; }
body.dark .shot iframe { color-scheme: light; }
@media (max-width: 920px) { .case-head, .case-shots { grid-template-columns: 1fr; } }
/* ---------- Footer: yasal bağlantılar ---------- */
.foot-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-right: auto; margin-left: 24px; }
.foot-legal a { color: rgba(222, 236, 252, .55); transition: color .2s; }
.foot-legal a:hover { color: #fff; }
@media (max-width: 640px) { .foot-legal { margin-left: 0; width: 100%; order: 3; } }

/* ---------- Yasal metinler ---------- */
.legal { max-width: 46em; }
.legal h2 { font-size: var(--t-4); margin: 44px 0 14px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.legal p + p { margin-top: 14px; }
.legal ul { list-style: disc; padding-left: 22px; margin-top: 12px; display: grid; gap: 6px; }
.legal a { color: #8cd3ff; text-decoration: underline; text-underline-offset: 3px; }
.legal .fill { padding: 1px 6px; border-radius: 5px; background: rgba(255, 196, 0, .14); color: #ffd666; font-style: normal; }
.legal .updated { margin-bottom: 32px; font-size: var(--t-1); color: var(--ink-3); }

/* ---------- 404 ---------- */
.nf { min-height: 60vh; display: grid; align-content: center; }
.nf .code { font: 700 clamp(80px, 14vw, 180px)/.9 var(--display); letter-spacing: -.05em; background: linear-gradient(180deg, #8cd3ff, rgba(25, 151, 239, .25)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.consent a { color: #8cd3ff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Tasarıma uygun açılır liste (ui-select.js) ---------- */
.uisel { position: relative; }
.uisel-native { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; opacity: 0; pointer-events: none; }
.uisel-btn { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; height: 52px; padding: 0 16px; border-radius: var(--r-md); font: inherit; font-size: 16px; text-align: left; color: #fff; background: rgba(3, 11, 34, .6); border: 1px solid var(--rule-2); cursor: pointer; transition: border-color .2s, box-shadow .2s, background .2s; }
.uisel-btn.is-empty .uisel-val { color: var(--ink-3); }
.uisel-btn:hover { border-color: rgba(207, 236, 250, .4); }
.uisel-btn:focus-visible, .uisel.is-open .uisel-btn { outline: none; border-color: var(--sky); background: rgba(3, 11, 34, .85); box-shadow: 0 0 0 4px rgba(25, 151, 239, .22); }
.uisel-chev { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: #a7c6e6; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.uisel.is-open .uisel-chev { transform: rotate(180deg); stroke: #fff; }
.f.bad .uisel-btn { border-color: #ff7a6b; }

.uisel-list { position: absolute; z-index: 30; top: calc(100% + 8px); left: 0; right: 0; margin: 0; padding: 6px; list-style: none;
  max-height: calc(5 * 44px + 12px); overflow-y: auto; overscroll-behavior: contain;
  border-radius: 14px; background: #071438; border: 1px solid rgba(207, 236, 250, .16);
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .7), 0 0 0 1px rgba(3, 11, 34, .6), inset 0 1px 0 rgba(255, 255, 255, .05);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s ease, transform .25s var(--ease), visibility 0s .25s;
  scrollbar-width: thin; scrollbar-color: rgba(111, 198, 255, .55) transparent; }
.uisel.is-open .uisel-list { opacity: 1; visibility: visible; transform: none; transition: opacity .18s ease, transform .25s var(--ease); }
.uisel-list:focus { outline: none; }
.uisel-list [role="option"] { position: relative; display: flex; align-items: center; min-height: 44px; padding: 0 40px 0 14px; border-radius: 9px; font-size: 15.5px; color: var(--ink-2); cursor: pointer; user-select: none; }
.uisel-list [role="option"].is-active { color: #fff; background: rgba(25, 151, 239, .2); }
.uisel-list [role="option"][aria-selected="true"] { color: #fff; font-weight: 500; }
.uisel-list [role="option"][aria-selected="true"]::after { content: ""; position: absolute; right: 14px; top: 50%; width: 10px; height: 6px; margin-top: -5px; border: solid #6fc6ff; border-width: 0 0 2px 2px; transform: rotate(-45deg); }
/* Kaydırma çubuğu: ince, mavi, kenarları yuvarlak */
.uisel-list::-webkit-scrollbar { width: 10px; }
.uisel-list::-webkit-scrollbar-track { background: transparent; margin: 8px 0; }
.uisel-list::-webkit-scrollbar-thumb { border: 3px solid transparent; border-radius: 99px; background: linear-gradient(180deg, #6fc6ff, #1997ef) padding-box; }
.uisel-list::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #8cd3ff, #29a4f8) padding-box; }
@media (prefers-reduced-motion: reduce) { .uisel-list, .uisel.is-open .uisel-list, .uisel-chev { transition: none; } }
/* ---------- Sık sorulan sorular (ortak) ---------- */
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-child { border-top: 1.5px solid rgba(207, 236, 250, .4); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 2px; list-style: none; cursor: pointer; font: 500 clamp(17px, 1.5vw, 20px)/1.35 var(--display); letter-spacing: -.01em; color: #fff; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: #8cd3ff; }
.faq summary:focus-visible { outline: 2px solid #6fc6ff; outline-offset: 4px; border-radius: 6px; }
.faq summary i { position: relative; flex-shrink: 0; width: 14px; height: 14px; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 1.5px; background: var(--ink-2); transition: transform .35s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details p { padding: 0 40px 24px 2px; max-width: 44em; color: var(--ink-2); }
.faq details p a { color: #8cd3ff; text-decoration: underline; text-underline-offset: 3px; }
.faq-side { margin: 14px 0 18px; color: var(--ink-2); max-width: 22em; }
@media (max-width: 640px) { .faq details p { padding-right: 4px; } }
@media (prefers-reduced-motion: reduce) { .faq summary i::before, .faq summary i::after { transition: none; } }

/* ---------- Yazılar (blog) ---------- */
.posts { border-top: 1.5px solid rgba(207, 236, 250, .4); }
.post-row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 7fr); gap: 10px 48px; padding: 32px 4px; border-bottom: 1px solid var(--rule); transition: background .25s; }
.post-row:hover { background: linear-gradient(90deg, rgba(25, 151, 239, .08), transparent 70%); }
.post-row .meta { font-size: var(--t-1); color: var(--ink-3); }
.post-row .meta b { display: block; margin-bottom: 4px; font-weight: 500; color: #8cd3ff; }
.post-row h2 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; transition: color .2s; }
.post-row:hover h2 { color: #8cd3ff; }
.post-row p { margin-top: 10px; color: var(--ink-2); max-width: 40em; }
@media (max-width: 720px) { .post-row { grid-template-columns: 1fr; padding: 24px 2px; } }

.post-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 22px; font-size: var(--t-1); color: var(--ink-3); }
.article { max-width: 44em; }
.article > p, .article li { font-size: clamp(17px, 1.25vw, 18.5px); line-height: 1.78; color: var(--ink-2); }
.article > p + p { margin-top: 18px; }
.article > p.intro { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.6; color: var(--ink); margin-bottom: 8px; }
.article h2 { font-size: var(--t-4); margin: 48px 0 16px; }
.article h3 { font-size: var(--t-3); margin: 30px 0 10px; font-weight: 700; }
.article ul, .article ol { padding-left: 24px; margin: 14px 0; display: grid; gap: 8px; }
.article ul { list-style: disc; } .article ol { list-style: decimal; }
.article li::marker { color: #6fc6ff; }
.article strong { color: #fff; font-weight: 500; }
.article a { color: #8cd3ff; text-decoration: underline; text-underline-offset: 3px; }
.article .note { margin: 28px 0; padding: 18px 22px; border-left: 2px solid #1997ef; background: rgba(25, 151, 239, .07); border-radius: 0 12px 12px 0; color: var(--ink-2); font-size: 16px; line-height: 1.7; }
.post-cta { margin-top: 56px; padding: clamp(24px, 4vw, 40px); border-radius: var(--r-lg); background: radial-gradient(60% 120% at 100% 0%, rgba(25, 151, 239, .25), transparent 70%), rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--rule); }
.post-cta h2 { margin: 0 0 10px; font-size: var(--t-4); }
.post-cta p { color: var(--ink-2); margin-bottom: 22px; max-width: 34em; }
.related { margin-top: 56px; }
.related h2 { font-size: var(--t-3); margin-bottom: 14px; }
.related a { display: block; padding: 14px 0; border-top: 1px solid var(--rule); color: #fff; font-weight: 500; }
.related a:hover { color: #8cd3ff; }
/* Form gönderim hatası ve gönderiliyor durumu */
.form-err { flex-basis: 100%; margin: 12px 0 0; padding: 12px 16px; border-radius: 12px; background: rgba(255, 120, 110, .1); border: 1px solid rgba(255, 154, 143, .35); color: #ffb3aa; font-size: 14px; line-height: 1.5; }
.form [type=submit][aria-busy=true] { opacity: .6; cursor: progress; }

/* Yasal metinlerde tablo ve satır içi düğme */
.legal table { width: 100%; margin: 8px 0 18px; border-collapse: collapse; font-size: 14px; display: block; overflow-x: auto; }
.legal th, .legal td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); }
.legal th { font-weight: 500; color: var(--ink-3); white-space: nowrap; }
.legal code { font: 13px/1 ui-monospace, Consolas, monospace; padding: 2px 6px; border-radius: 4px; background: rgba(255, 255, 255, .07); }
.legal button.link { border: 0; padding: 0 0 2px; font: inherit; font-weight: 500; cursor: pointer; background-color: transparent; }