/* =========================================================
   Servisfoni Bayilik — kamuya açık site
   Yön: sakin kurumsal. Sıcak kâğıt zemin, grafit panel,
   marka kırmızısı yalnızca vurgu (pin, aktif durum, CTA).
   ========================================================= */

:root {
    --red: #e3262b;
    --red-600: #c71f24;
    --red-ink: #b01b20;
    --red-wash: #fdf0ef;

    --graphite: #24272d;
    --graphite-2: #2e3239;
    --graphite-line: rgba(255, 255, 255, .09);

    --ink: #24272d;
    --ink-2: #565b66;
    --ink-3: #868b95;
    --line: #e3e0da;
    --line-2: #d4d0c8;
    --paper: #f5f3ef;
    --paper-2: #efece6;
    --card: #ffffff;
    --ok: #1f7a4d;
    --ok-wash: #eaf5ef;
    --warn-wash: #fff6e6;

    --font-display: "Avenir Next", "Avenir", "Century Gothic", "Futura", "Trebuchet MS", sans-serif;
    --font-body: "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Noto Sans", Ubuntu, sans-serif;

    --radius: 14px;
    --radius-sm: 9px;
    --shadow: 0 1px 2px rgba(36, 39, 45, .05), 0 8px 28px -12px rgba(36, 39, 45, .14);
    --focus: 0 0 0 3px rgba(227, 38, 43, .22);
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--red-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--red); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.2; margin: 0; letter-spacing: -.01em; color: var(--ink); }
p { margin: 0; }
button { font: inherit; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -3rem; z-index: 100; background: var(--graphite); color: #fff; padding: .6rem 1rem; border-radius: 8px; text-decoration: none; }
.skip-link:focus { top: 1rem; }
.muted { color: var(--ink-2); }
.small { font-size: .875rem; }

.eyebrow {
    display: inline-flex; align-items: center; gap: .55rem;
    font-family: var(--font-display); font-size: .78rem; font-weight: 600;
    letter-spacing: .14em; text-transform: uppercase; color: var(--red-ink);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--red); border-radius: 2px; }
.eyebrow-light { color: #f3b7b8; }

/* ---------------- Üst menü ---------------- */
.topbar {
    position: sticky; top: 0; z-index: 40;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(140%) blur(10px);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid var(--line);
}
.topbar-inner {
    max-width: 1240px; margin: 0 auto; padding: .8rem 1.5rem;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand img { width: 168px; height: auto; }
.mainnav { display: flex; align-items: center; gap: .25rem; }
.mainnav a {
    position: relative; padding: .5rem .85rem; border-radius: 8px;
    color: var(--ink-2); text-decoration: none; font-size: .95rem; font-weight: 500;
    transition: color .2s, background-color .2s;
}
.mainnav a:hover { color: var(--ink); background: var(--paper); }
.mainnav a[aria-current="page"] { color: var(--ink); }
.mainnav a[aria-current="page"]::after {
    content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .1rem;
    height: 2px; border-radius: 2px; background: var(--red);
}
.mainnav .nav-phone {
    margin-left: .75rem; display: inline-flex; align-items: center; gap: .45rem;
    border: 1px solid var(--line-2); color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums;
}
.nav-phone svg { width: 16px; height: 16px; fill: var(--red); }
.nav-toggle { display: none; }

/* ---------------- Başvuru düzeni ---------------- */
.apply {
    display: grid;
    grid-template-columns: minmax(300px, 400px) minmax(0, 1fr);
    min-height: calc(100vh - 64px);
}
.apply-intro {
    position: relative;
    background-color: var(--graphite);
    background-image:
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .07) 1px, transparent 0),
        radial-gradient(120% 60% at 0% 100%, rgba(227, 38, 43, .16), transparent 60%);
    background-size: 22px 22px, 100% 100%;
    color: #d9dbe0;
}
.apply-intro-inner {
    position: sticky; top: 64px;
    padding: 3.25rem 2.5rem 2.5rem;
    display: flex; flex-direction: column; gap: 1.6rem;
    animation: rise .7s var(--ease) both;
}
.apply-intro h1 { color: #fff; font-size: clamp(1.7rem, 2.4vw, 2.15rem); font-weight: 600; }
.apply-intro .lead { color: #b9bcc4; font-size: 1rem; }

/* Güzergâh — form ilerledikçe pinler kırmızıya döner */
.route { list-style: none; margin: .4rem 0 0; padding: 0; position: relative; }
.route::before {
    content: ""; position: absolute; left: 9px; top: 12px; bottom: 12px; width: 2px;
    background-image: linear-gradient(to bottom, rgba(255,255,255,.22) 50%, transparent 0);
    background-size: 2px 8px;
}
.route li {
    position: relative; display: flex; align-items: center; gap: 1rem;
    padding: .55rem 0; color: #9da1ab; font-size: .95rem; transition: color .3s;
}
.route .pin {
    position: relative; z-index: 1; flex: none; width: 20px; height: 20px; border-radius: 50%;
    background: var(--graphite); border: 2px solid #5d626d;
    transition: border-color .3s, background-color .3s, transform .3s var(--ease);
}
.route li.is-current { color: #fff; }
.route li.is-current .pin { border-color: #fff; transform: scale(1.1); }
.route li.is-done { color: #e8e9ec; }
.route li.is-done .pin {
    background: var(--red); border-color: var(--red);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8.5 2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: 12px; background-position: center; background-repeat: no-repeat;
}

.trust {
    display: flex; gap: .85rem; align-items: flex-start;
    padding: 1rem 1.1rem; border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, .04); border: 1px solid var(--graphite-line);
    font-size: .9rem; color: #b9bcc4;
}
.trust svg { flex: none; width: 24px; height: 24px; color: #f08d8f; margin-top: 2px; }
.trust strong { color: #fff; font-weight: 600; }
.intro-link { color: #fff; text-decoration: none; font-weight: 500; font-size: .95rem; }
.intro-link span { display: inline-block; transition: transform .2s var(--ease); color: var(--red); }
.intro-link:hover { color: #fff; }
.intro-link:hover span { transform: translateX(4px); }

.apply-main { padding: 3rem clamp(1.25rem, 4vw, 4rem) 4rem; }

/* ---------------- Kart & form ---------------- */
.card {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.apply-form {
    max-width: 780px; padding: clamp(1.4rem, 3vw, 2.6rem);
    animation: rise .7s .08s var(--ease) both;
}
.form-head { padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); margin-bottom: .4rem; }
.form-head h2 { font-size: 1.55rem; font-weight: 600; }
.form-head p { color: var(--ink-3); font-size: .9rem; margin-top: .35rem; }

.form-alert {
    margin: 1.2rem 0 .2rem; padding: .85rem 1rem; border-radius: var(--radius-sm);
    background: var(--red-wash); color: var(--red-ink); border: 1px solid #f6caca;
    font-weight: 500; font-size: .95rem;
}

.step { border: 0; margin: 0; padding: 1.9rem 0 .4rem; min-width: 0; scroll-margin-top: 80px; }
.step + .step { border-top: 1px dashed var(--line-2); }
.step legend {
    float: left; width: 100%; padding: 0; margin-bottom: 1.15rem;
    font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--ink);
    display: flex; align-items: center; gap: .7rem;
}
.step legend + * { clear: both; }
.step-no {
    display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
    background: var(--paper); border: 1px solid var(--line-2);
    font-size: .78rem; color: var(--ink-2); letter-spacing: .02em; font-variant-numeric: tabular-nums;
    transition: background-color .3s, color .3s, border-color .3s;
}
.step.is-done .step-no { background: var(--red); border-color: var(--red); color: #fff; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
.field { margin-bottom: 1.1rem; min-width: 0; }
.field label, .field .label { display: block; font-size: .9rem; font-weight: 600; color: var(--ink); margin-bottom: .4rem; }
.req { color: var(--red); font-weight: 700; }
.opt { font-weight: 400; color: var(--ink-3); font-size: .8rem; margin-left: .25rem; }
.hint { color: var(--ink-2); font-size: .9rem; margin: -.4rem 0 1rem; }

input[type="text"], input[type="tel"], input[type="email"], input[type="password"], select, textarea {
    width: 100%; height: 48px; padding: 0 .95rem;
    font: inherit; font-size: 1rem; color: var(--ink);
    background: #fcfbf9; border: 1px solid var(--line-2); border-radius: var(--radius-sm);
    transition: border-color .2s, box-shadow .2s, background-color .2s;
    appearance: none; -webkit-appearance: none;
}
input::placeholder { color: #a6a9b0; }
input:hover, select:hover { border-color: #bdb8ae; }
input:focus, select:focus, textarea:focus { outline: none; background: #fff; border-color: var(--ink-2); box-shadow: 0 0 0 3px rgba(36, 39, 45, .08); }
[aria-invalid="true"] { border-color: var(--red) !important; background: #fffafa !important; }
[aria-invalid="true"]:focus { box-shadow: var(--focus) !important; }
.select { position: relative; }
.select::after {
    content: ""; position: absolute; right: 1rem; top: 50%; width: 8px; height: 8px; margin-top: -6px;
    border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg); pointer-events: none;
}
select { padding-right: 2.5rem; cursor: pointer; }

.field-error { color: var(--red-ink); font-size: .85rem; margin-top: .4rem; display: flex; gap: .35rem; align-items: flex-start; }
.field-error::before { content: "!"; flex: none; display: inline-grid; place-items: center; width: 16px; height: 16px; margin-top: 2px; border-radius: 50%; background: var(--red); color: #fff; font-size: .7rem; font-weight: 700; }
.field-error[hidden] { display: none; }

/* Servis çipleri */
.chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
    display: inline-flex; align-items: center; gap: .45rem;
    padding: .55rem 1rem .55rem .8rem; border-radius: 999px;
    border: 1px solid var(--line-2); background: #fcfbf9; color: var(--ink);
    font-size: .93rem; font-weight: 500; user-select: none;
    transition: background-color .18s, border-color .18s, color .18s, transform .12s;
}
.chip svg { width: 15px; height: 15px; color: transparent; border-radius: 50%; border: 1.5px solid #b9b5ac; padding: 1px; transition: all .18s; }
.chip:hover span { border-color: #a9a399; }
.chip:active span { transform: scale(.97); }
.chip input:checked + span { background: var(--graphite); border-color: var(--graphite); color: #fff; }
.chip input:checked + span svg { color: #fff; background: var(--red); border-color: var(--red); }
.chip input:focus-visible + span { box-shadow: var(--focus); }
.chips.is-invalid .chip span { border-color: #eaa6a7; }

/* Dosya alanı */
.drop {
    position: relative; display: flex; align-items: center; gap: 1rem;
    padding: 1.2rem 1.25rem; cursor: pointer;
    border: 1.5px dashed #c4bfb5; border-radius: var(--radius);
    background: repeating-linear-gradient(-45deg, #fbfaf7 0 10px, #f8f6f2 10px 20px);
    transition: border-color .2s, background-color .2s;
}
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.drop:hover, .drop.is-over { border-color: var(--ink-2); }
.drop.is-over { background: #f3f1ec; }
.drop:focus-within { box-shadow: var(--focus); border-color: var(--red); }
.drop[data-invalid] { border-color: var(--red); background: #fffafa; }
.drop.has-file { border-style: solid; border-color: var(--ok); background: var(--ok-wash); }
.drop-icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); }
.drop-icon svg { width: 26px; height: 26px; }
.drop.has-file .drop-icon { color: var(--ok); border-color: #bfe0cd; }
.drop-text { display: flex; flex-direction: column; min-width: 0; }
.drop-text strong { font-weight: 600; font-size: .98rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drop-text strong u { text-decoration-color: var(--red); text-underline-offset: 3px; }
.drop-text span { color: var(--ink-3); font-size: .85rem; }

.note { display: flex; gap: .6rem; align-items: flex-start; font-size: .88rem; color: var(--ink-2); background: var(--paper); border-radius: var(--radius-sm); padding: .75rem .9rem; margin-bottom: 1rem; }
.note svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--ink-3); }

/* Onaylar */
.legal-lead { font-size: .9rem; color: var(--ink-2); margin-bottom: 1.1rem; }
.checks { display: flex; flex-direction: column; gap: .2rem; }
.check { display: flex; gap: .8rem; align-items: flex-start; cursor: pointer; padding: .65rem .75rem; margin: 0 -.75rem; border-radius: var(--radius-sm); font-size: .93rem; line-height: 1.55; color: var(--ink); transition: background-color .15s; }
.check:hover { background: var(--paper); }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check .box { flex: none; width: 21px; height: 21px; margin-top: 1px; border-radius: 6px; border: 1.5px solid #b3aea4; background: #fff; transition: all .15s; }
.check input:checked + .box {
    background: var(--graphite) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.5 8.5 3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
    border-color: var(--graphite);
}
.check input:focus-visible + .box { box-shadow: var(--focus); }
.check input[aria-invalid="true"] + .box { border-color: var(--red); }
.checks .field-error { margin: -.2rem 0 .4rem 2.2rem; }
.captcha { margin-top: 1rem; }

/* Gönder */
.form-submit { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; margin-top: 1.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.submit-note { display: flex; align-items: center; gap: .5rem; color: var(--ink-3); font-size: .85rem; }
.submit-note svg { width: 16px; height: 16px; flex: none; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    height: 44px; padding: 0 1.2rem; border-radius: 10px; border: 1px solid transparent;
    font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer;
    transition: background-color .2s, border-color .2s, color .2s, transform .12s, box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn-lg { height: 54px; padding: 0 1.7rem; font-size: 1.02rem; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 6px 18px -8px rgba(227, 38, 43, .7); }
.btn-primary:hover { background: var(--red-600); color: #fff; }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-dark { background: var(--graphite); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--paper); color: var(--ink); }
.btn[disabled], .btn.is-loading { opacity: .75; pointer-events: none; }
.btn.is-loading svg { animation: spin 1s linear infinite; }

.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Başarı */
.success-card { max-width: 640px; padding: clamp(2rem, 5vw, 3.2rem); text-align: center; animation: rise .6s var(--ease) both; }
.success-mark { width: 72px; height: 72px; margin: 0 auto 1.4rem; color: var(--ok); }
.success-mark svg { width: 100%; height: 100%; }
.success-mark path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s .25s var(--ease) forwards; }
.success-card h2 { font-size: 1.7rem; margin-bottom: .7rem; }
.success-card > p { color: var(--ink-2); max-width: 46ch; margin: 0 auto; }
.refbox { display: inline-flex; flex-direction: column; gap: .2rem; margin: 1.6rem 0 1.2rem; padding: 1rem 1.8rem; border-radius: var(--radius); background: var(--paper); border: 1px dashed var(--line-2); }
.refbox span { font-size: .8rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: .1em; }
.refbox strong { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 1.35rem; letter-spacing: .04em; }
.success-card .small { margin-bottom: 1.6rem !important; }

/* ---------------- İçerik sayfaları ---------------- */
.pagehead {
    background-color: var(--graphite);
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .07) 1px, transparent 0), radial-gradient(70% 120% at 100% 0%, rgba(227, 38, 43, .18), transparent 60%);
    background-size: 22px 22px, 100% 100%;
    color: #fff;
}
.pagehead-inner { max-width: 880px; margin: 0 auto; padding: 3.4rem 1.5rem 3rem; animation: rise .6s var(--ease) both; }
.pagehead .eyebrow { color: #f3b7b8; }
.pagehead h1 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 600; margin-top: .7rem; }
.pagehead-meta { color: #a8acb5; font-size: .9rem; margin-top: .6rem; }

.prose-wrap { max-width: 880px; margin: 0 auto; padding: 2.5rem 1.5rem 4rem; }
.prose { padding: clamp(1.5rem, 4vw, 3rem); }
.prose h2 { font-size: 1.25rem; font-weight: 600; margin: 2.2rem 0 .8rem; display: flex; gap: .6rem; align-items: baseline; }
.prose h2:first-child { margin-top: 0; }
.prose h2 .n { color: var(--red); font-size: .95rem; font-variant-numeric: tabular-nums; }
.prose h3 { font-size: 1.05rem; margin: 1.5rem 0 .5rem; }
.prose p, .prose li { color: #3d414a; }
.prose p + p { margin-top: .9rem; }
.prose ul, .prose ol { padding-left: 1.2rem; margin: .7rem 0; }
.prose li { margin: .35rem 0; }
.prose li::marker { color: var(--red); }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .92rem; }
.prose th, .prose td { text-align: left; padding: .65rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--paper); font-weight: 600; color: var(--ink); }
.prose .contact-card { margin-top: 1rem; padding: 1.1rem 1.3rem; background: var(--paper); border-radius: var(--radius-sm); border-left: 3px solid var(--red); }
.prose .contact-card p { margin: .15rem 0; }
.signature { margin-top: 1.8rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.signature strong { display: block; font-family: var(--font-display); }

.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 0 0 2rem; }
.stat { padding: 1.3rem 1.4rem; }
.stat b { display: block; font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); margin-bottom: .3rem; }
.stat span { color: var(--ink-2); font-size: .92rem; }
.stat i { display: block; width: 26px; height: 3px; border-radius: 3px; background: var(--red); margin-bottom: .9rem; }

.doclist { list-style: none; padding: 0 !important; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.doclist li { display: flex; align-items: center; gap: .65rem; margin: 0 !important; padding: .7rem .9rem; background: var(--paper); border-radius: var(--radius-sm); font-size: .95rem; }
.doclist li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }

.cta-band { margin-top: 2rem; padding: 1.6rem 1.8rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; background: var(--graphite); color: #fff; border-radius: var(--radius); }
.cta-band h2 { color: #fff; font-size: 1.25rem; margin: 0 0 .2rem; }
.cta-band p { color: #b9bcc4 !important; font-size: .95rem; }

/* ---------------- Alt bilgi ---------------- */
.sitefoot { background: #1d2025; color: #a7abb4; font-size: .92rem; }
.sitefoot-inner { max-width: 1240px; margin: 0 auto; padding: 3rem 1.5rem 2rem; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2rem; }
.sitefoot-brand img { width: 150px; height: auto; filter: brightness(0) invert(1); opacity: .9; margin-bottom: 1rem; }
.sitefoot-brand p { max-width: 30ch; }
.sitefoot h2 { font-family: var(--font-display); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: .9rem; font-weight: 600; }
.sitefoot-col { display: flex; flex-direction: column; gap: .45rem; align-items: flex-start; }
.sitefoot a, .linkish { color: #c9ccd2; text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; font-size: inherit; }
.sitefoot a:hover, .linkish:hover { color: #fff; }
.sitefoot-bottom { border-top: 1px solid rgba(255, 255, 255, .07); max-width: 1240px; margin: 0 auto; padding: 1.2rem 1.5rem 1.6rem; font-size: .84rem; color: #7f838c; }

/* Çerez çubuğu */
.cookiebar {
    position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 60; max-width: 720px; margin: 0 auto;
    display: flex; gap: 1rem 1.5rem; align-items: center; flex-wrap: wrap;
    padding: 1rem 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: 0 18px 50px -16px rgba(0, 0, 0, .35); font-size: .9rem; color: var(--ink-2);
    animation: rise .4s var(--ease) both;
}
.cookiebar[hidden] { display: none; }
.cookiebar p { flex: 1 1 320px; }
.cookiebar-actions { display: flex; gap: .5rem; }

/* ---------------- Hareket ---------------- */
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ---------------- Duyarlı düzen ---------------- */
@media (max-width: 1080px) {
    .apply { grid-template-columns: 320px minmax(0, 1fr); }
    .apply-intro-inner { padding: 2.6rem 1.8rem; }
    .sitefoot-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
    .nav-toggle {
        display: inline-flex; flex-direction: column; justify-content: center; gap: 4px;
        width: 42px; height: 42px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; cursor: pointer;
    }
    .nav-toggle span:not(.sr-only) { display: block; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s var(--ease), opacity .2s; }
    .nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(6px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] span:nth-child(3) { opacity: 0; }
    .nav-toggle[aria-expanded="true"] span:nth-child(4) { transform: translateY(-6px) rotate(-45deg); }
    .mainnav {
        position: absolute; left: 0; right: 0; top: 100%;
        flex-direction: column; align-items: stretch; gap: 0;
        padding: .5rem 1rem 1rem; background: #fff; border-bottom: 1px solid var(--line);
        box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .25);
        display: none;
    }
    .mainnav.is-open { display: flex; }
    .mainnav a { padding: .8rem .6rem; }
    .mainnav a[aria-current="page"]::after { left: .6rem; right: auto; width: 24px; bottom: .45rem; }
    .mainnav .nav-phone { margin: .5rem 0 0; justify-content: center; }
    .brand img { width: 140px; }

    /* Mobilde form doğrudan görünsün: tanıtım kısalır */
    .apply { display: block; min-height: 0; }
    .apply-intro-inner { position: static; padding: 1.6rem 1.25rem 1.5rem; gap: .7rem; }
    .apply-intro h1 { font-size: 1.4rem; }
    .apply-intro .lead { font-size: .93rem; }
    .route, .trust, .intro-link { display: none; }
    .apply-main { padding: 1rem .75rem 3rem; }
    .apply-form { margin-top: -.25rem; }
    .about-grid { grid-template-columns: 1fr; }
    .doclist { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .grid-2 { grid-template-columns: 1fr; }
    .form-submit .btn { width: 100%; }
    .sitefoot-inner { grid-template-columns: 1fr; }
    .drop { padding: 1rem; }
    .chip span { font-size: .9rem; padding: .5rem .85rem .5rem .7rem; }
}

/* İnce ayarlar */
.apply-form, .success-card { margin-inline: auto; }
[id] { scroll-margin-top: 84px; }

/* ---------------- Feyzullah Can'dan Mesaj: antetli mektup ---------------- */
.pagehead-letter .pagehead-inner { padding-bottom: 7.5rem; text-align: center; }
.pagehead-letter .eyebrow::after { content: ""; width: 22px; height: 2px; background: var(--red); border-radius: 2px; }

.letter-desk { max-width: 900px; margin: -5.5rem auto 0; padding: 0 1.5rem 4.5rem; position: relative; }
.letter {
    --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
    position: relative; overflow: hidden; background: #fff;
    border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: 4px var(--radius) var(--radius) var(--radius);
    box-shadow: 0 1px 2px rgba(36, 39, 45, .06), 0 30px 60px -30px rgba(36, 39, 45, .35);
    padding: 0 clamp(1.4rem, 6vw, 4.5rem);
    animation: rise .7s .05s var(--ease) both;
}
/* Arka planda silik konum işareti */
.letter::after {
    content: ""; position: absolute; right: -90px; top: 34%; width: 380px; height: 380px;
    background: url("../img/favicon.svg") no-repeat center / contain; opacity: .03; pointer-events: none;
}
.letter > * { position: relative; z-index: 1; }

.lh-head {
    display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
    padding: 2.4rem 0 1.6rem; border-bottom: 1px solid var(--line);
    background: linear-gradient(var(--red), var(--red)) left bottom / 56px 2px no-repeat;
}
.lh-logo { width: 200px; height: auto; }
.lh-meta { text-align: right; line-height: 1.3; }
.lh-meta span { display: block; font-family: var(--font-display); font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--red-ink); }
.lh-meta b { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--ink); }

.lh-body { padding: 2.6rem 0 .5rem; font-family: var(--serif); font-size: 1.08rem; line-height: 1.85; color: #34373e; }
.lh-body p + p { margin-top: 1.05rem; }
.lh-body strong { color: var(--ink); }
.lh-list { list-style: none; padding: 0; margin: 1.1rem 0 .4rem; display: grid; gap: .55rem; }
.lh-list li { position: relative; padding-left: 1.7rem; }
.lh-list li::before {
    content: ""; position: absolute; left: .2rem; top: .68em; width: 8px; height: 8px; border-radius: 50%;
    background: var(--red); box-shadow: 0 0 0 3px var(--red-wash);
}
.letter-salute { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--ink); margin-bottom: 1.3rem; }
.lh-body h2 {
    display: flex; align-items: baseline; gap: .75rem;
    font-family: var(--font-display); font-size: 1.28rem; font-weight: 600; color: var(--ink);
    margin: 2.6rem 0 1rem; padding-top: 1.6rem; border-top: 1px solid var(--line);
}
.lh-body h2 .n { font-size: .85rem; letter-spacing: .08em; color: var(--red); font-variant-numeric: tabular-nums; }

.pullquote {
    position: relative; margin: 2.2rem 0; padding: 1.6rem 0 1.4rem 4.2rem;
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    font-family: var(--font-display); font-size: 1.32rem; line-height: 1.5; font-weight: 500; color: var(--ink);
}
.pullquote::before {
    content: "\201C"; position: absolute; left: 0; top: .55rem;
    font-family: Georgia, serif; font-size: 5rem; line-height: 1; color: var(--red);
}

.lh-sign {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem;
    margin-top: 2.6rem; padding: 2rem 0 2.4rem; border-top: 1px solid var(--line);
}
.lh-regards { font-family: var(--serif); font-style: italic; color: var(--ink-2); font-size: 1.05rem; }
.lh-name { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; color: var(--ink); margin-top: .5rem; letter-spacing: -.01em; }
.lh-name::after { content: ""; display: block; width: 56px; height: 2px; background: var(--red); border-radius: 2px; margin: .6rem 0 .55rem; }
.lh-role { font-family: var(--font-display); font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.lh-sign-logo { width: 160px; height: auto; flex: none; opacity: .9; }

.lh-foot {
    display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem 1.4rem;
    margin: 0 calc(-1 * clamp(1.4rem, 6vw, 4.5rem)); padding: 1rem 1.5rem;
    background: var(--paper); border-top: 1px solid var(--line);
    font-size: .8rem; color: var(--ink-3); text-align: center;
}
.lh-foot span + span::before { content: "·"; margin-right: 1.4rem; color: var(--line-2); }

@media (max-width: 620px) {
    .pagehead-letter .pagehead-inner { padding-bottom: 6rem; }
    .letter-desk { padding: 0 .75rem 3rem; margin-top: -4.5rem; }
    .lh-head { flex-direction: column; align-items: flex-start; gap: .9rem; padding-top: 1.8rem; }
    .lh-meta { text-align: left; }
    .lh-logo { width: 170px; }
    .lh-body { font-size: 1.02rem; line-height: 1.8; padding-top: 2rem; }
    .pullquote { font-size: 1.12rem; padding-left: 3rem; }
    .pullquote::before { font-size: 4rem; }
    .lh-sign { flex-direction: column; align-items: flex-start; gap: 1.4rem; }
    .lh-name { font-size: 1.4rem; }
    .lh-sign-logo { width: 120px; }
    .lh-foot { flex-direction: column; gap: .25rem; }
    .lh-foot span + span::before { content: none; }
    .letter::after { width: 240px; height: 240px; right: -70px; }
}
