/* ==========================================================================
   Rubu Bilişim — site stilleri
   Tasarım fikri: rubu tahtası (sinüs kadranı). Kemik rengi kâğıt, mürekkep,
   rubu turuncusu; derece taksimatı, cetvel çizgileri, ölçüm notları.
   ========================================================================== */

/* ---------- Tokenlar ---------- */
:root {
    --paper: #F2EDE3;
    --paper-2: #E9E2D4;
    --paper-3: #DDD4C2;
    --card: #F8F5EE;
    --ink: #191714;
    --ink-2: #3E3A33;
    --muted: #6F685C;
    --rule: rgba(25, 23, 20, .14);
    --rule-strong: rgba(25, 23, 20, .32);
    --accent: #F39A1E;
    --accent-2: #FFB547;
    --accent-ink: #A25A00;
    --led: #5BE38B;
    --danger: #B23A2A;
    --ok: #2F7D4F;

    --rack: #1C1A17;
    --rack-2: #26231F;
    --rack-3: #322E28;

    --f-sans: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

    --gutter: 16px;
    --maxw: 1240px;
    --radius: 6px;
    --tabbar-h: 66px;
    --safe-b: env(safe-area-inset-bottom, 0px);
    --ease: cubic-bezier(.2, .7, .1, 1);
    --spring: cubic-bezier(.34, 1.4, .64, 1);

    color-scheme: light;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --paper: #14130F;
        --paper-2: #1C1A16;
        --paper-3: #2A2721;
        --card: #1A1814;
        --ink: #EDE7DA;
        --ink-2: #CFC7B7;
        --muted: #9C9483;
        --rule: rgba(237, 231, 218, .12);
        --rule-strong: rgba(237, 231, 218, .3);
        --accent-ink: #FFB547;
        --rack: #0D0C0A;
        --rack-2: #191714;
        --rack-3: #24211C;
        color-scheme: dark;
    }
}
:root[data-theme="dark"] {
    --paper: #14130F;
    --paper-2: #1C1A16;
    --paper-3: #2A2721;
    --card: #1A1814;
    --ink: #EDE7DA;
    --ink-2: #CFC7B7;
    --muted: #9C9483;
    --rule: rgba(237, 231, 218, .12);
    --rule-strong: rgba(237, 231, 218, .3);
    --accent-ink: #FFB547;
    --rack: #0D0C0A;
    --rack-2: #191714;
    --rack-3: #24211C;
    color-scheme: dark;
}

@media (min-width: 720px) { :root { --gutter: 32px; } }

/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--f-sans);
    font-size: 17px;
    line-height: 1.6;
    font-variation-settings: "wdth" 100;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
    overflow-x: hidden;
}
/* kâğıt dokusu */
body::before {
    content: "";
    position: fixed; inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: .5;
    background-image:
        linear-gradient(var(--rule) 1px, transparent 1px),
        linear-gradient(90deg, var(--rule) 1px, transparent 1px);
    background-size: 120px 120px;
    mask-image: linear-gradient(180deg, #000 0, transparent 70vh);
    -webkit-mask-image: linear-gradient(180deg, #000 0, transparent 70vh);
}
main, footer, header, .statusbar { position: relative; z-index: 1; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; font-weight: 750; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
.mono { font-family: var(--f-mono); font-size: .8em; letter-spacing: .02em; }
.muted { color: var(--muted); }
::selection { background: var(--accent); color: #191714; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--paper); padding: 8px 14px; }
.skip:focus { left: 8px; }
[hidden] { display: none !important; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.ico { width: 1.25em; height: 1.25em; flex: none; }

/* Görünüm geçişleri: mobilde uygulama gibi sayfa değişimi */
@view-transition { navigation: auto; }
.tabbar { view-transition-name: tabbar; }
.topbar { view-transition-name: topbar; }
::view-transition-old(root) { animation: vt-out .18s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .32s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Tipografi parçaları ---------- */
.kicker {
    font-family: var(--f-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--muted);
    margin: 0 0 18px;
    display: flex; gap: 10px; align-items: center;
}
.kicker b { color: var(--accent-ink); font-weight: 700; }
.kicker::after { content: ""; height: 1px; width: 48px; background: var(--rule-strong); }

h1 em, h2 em, .sechead__title em, .phead__title em {
    font-style: italic;
    font-weight: 300;
    font-variation-settings: "wdth" 100;
    color: var(--accent-ink);
}

.sechead { display: grid; gap: 4px; margin-bottom: 36px; }
.sechead__title {
    font-size: clamp(2rem, 4.6vw, 3.6rem);
    font-variation-settings: "wdth" 78;
    font-weight: 800;
    max-width: 18ch;
}
.sechead .link-arrow { justify-self: start; margin-top: 14px; }
@media (min-width: 900px) {
    .sechead { grid-template-columns: 1fr auto; align-items: end; }
    .sechead .kicker { grid-column: 1 / -1; }
    .sechead .link-arrow { margin: 0; justify-self: end; }
}

/* ---------- Butonlar & bağlantılar ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 13px 20px;
    border: 1.5px solid transparent;
    border-radius: 4px;
    font-weight: 650;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s, transform .2s var(--spring);
    white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn .ico { transition: transform .25s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn--lg { padding: 17px 26px; font-size: 16px; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--accent); color: #191714; }
.btn--accent { background: var(--accent); color: #191714; }
.btn--accent:hover { background: var(--ink); color: var(--paper); }
.btn--ghost { border-color: var(--rule-strong); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--block { width: 100%; }

.link-arrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 650;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 6px;
    text-decoration-color: var(--accent);
}
.link-arrow .ico { transition: transform .25s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }

.chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px;
    border: 1px solid var(--rule-strong);
    border-radius: 999px;
    background: transparent;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}
.chip.is-active, .chip:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip--dark { border-color: rgba(255,255,255,.2); color: #EDE7DA; }
.chip--dark:hover { background: var(--accent); color: #191714; border-color: var(--accent); }

.iconbtn {
    width: 42px; height: 42px;
    display: inline-grid; place-items: center;
    border: 1px solid var(--rule);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: background .2s, transform .2s var(--spring);
}
.iconbtn:hover { background: var(--paper-2); }
.iconbtn:active { transform: scale(.9); }

/* tema ikonları */
.ico--sun { display: none; }
:root[data-theme="dark"] .ico--sun { display: block; }
:root[data-theme="dark"] .ico--moon { display: none; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .ico--sun { display: block; }
    :root:not([data-theme="light"]) .ico--moon { display: none; }
}

/* ---------- Durum şeridi ---------- */
.statusbar {
    display: none;
    background: var(--ink);
    color: var(--paper);
    font-family: var(--f-mono);
    font-size: 11.5px;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.statusbar__in { display: flex; gap: 28px; align-items: center; height: 34px; }
.statusbar__in span { opacity: .75; }
.statusbar__since { margin-left: auto; color: var(--accent); opacity: 1 !important; }
.statusbar__live { display: inline-flex; align-items: center; gap: 8px; opacity: 1 !important; }
.statusbar__live i { width: 7px; height: 7px; border-radius: 50%; background: var(--led); box-shadow: 0 0 0 0 rgba(91,227,139,.6); animation: ping 2.4s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(91,227,139,.55); } 70%, 100% { box-shadow: 0 0 0 8px rgba(91,227,139,0); } }
@media (min-width: 1024px) { .statusbar { display: block; } }

/* ---------- Üst bar ---------- */
.topbar {
    position: sticky; top: 0; z-index: 40;
    background: color-mix(in srgb, var(--paper) 86%, transparent);
    backdrop-filter: saturate(1.4) blur(14px);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    border-bottom: 1px solid transparent;
    padding-top: env(safe-area-inset-top, 0px);
    transition: border-color .2s, transform .3s var(--ease);
}
.topbar.is-scrolled { border-bottom-color: var(--rule); }
.topbar__in { display: flex; align-items: center; gap: 16px; height: 62px; }
.brand { display: block; flex: none; }
.brand__img { height: 34px; width: auto; }
.brand__img--dark { display: none; }
:root[data-theme="dark"] .brand__img--light { display: none; }
:root[data-theme="dark"] .brand__img--dark { display: block; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .brand__img--light { display: none; }
    :root:not([data-theme="light"]) .brand__img--dark { display: block; }
}
.topbar__title { display: none; }
.mainnav { display: none; }
.topbar__actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.topbar__cta { display: none; }
.topbar__menu { display: none; }

@media (min-width: 720px) {
    .topbar__cta { display: inline-flex; padding: 10px 16px; }
    .topbar__menu { display: inline-grid; }
}
@media (min-width: 1024px) {
    .topbar__in { height: 76px; }
    .brand__img { height: 42px; }
    .topbar__menu { display: none; }
    .mainnav { display: flex; gap: 2px; margin-left: 28px; }
    .mainnav__link {
        position: relative;
        padding: 8px 12px;
        font-size: 15px;
        font-weight: 550;
        text-decoration: none;
        border-radius: 4px;
        display: flex; align-items: baseline; gap: 6px;
        transition: background .2s;
    }
    .mainnav__link small { font-family: var(--f-mono); font-size: 10px; color: var(--muted); }
    .mainnav__link:hover { background: var(--paper-2); }
    .mainnav__link.is-active small { color: var(--accent-ink); }
    .mainnav__link.is-active::after {
        content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--accent);
    }
}
/* mobilde aşağı kaydırınca üst bar gizlenir */
@media (max-width: 1023px) {
    .topbar.is-hidden { transform: translateY(-100%); }
}

/* ---------- Mobil sekme çubuğu ---------- */
.tabbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
    height: calc(var(--tabbar-h) + var(--safe-b));
    padding: 0 6px var(--safe-b);
    background: color-mix(in srgb, var(--paper) 90%, transparent);
    backdrop-filter: saturate(1.5) blur(18px);
    -webkit-backdrop-filter: saturate(1.5) blur(18px);
    border-top: 1px solid var(--rule);
}
.tabbar__item, .tabbar__fab {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    height: var(--tabbar-h);
    font-size: 10.5px; font-weight: 600; letter-spacing: .01em;
    color: var(--muted);
    text-decoration: none;
    background: none; border: 0; padding: 0;
    cursor: pointer;
    position: relative;
    transition: color .2s;
}
.tabbar__item .ico { width: 24px; height: 24px; transition: transform .3s var(--spring); }
.tabbar__item:active .ico { transform: scale(.82); }
.tabbar__item.is-active { color: var(--ink); }
.tabbar__item.is-active::before {
    content: ""; position: absolute; top: 0; left: 50%; width: 28px; height: 3px; margin-left: -14px;
    background: var(--accent); border-radius: 0 0 3px 3px;
    animation: tabin .4s var(--spring);
}
@keyframes tabin { from { transform: scaleX(0); } }
.tabbar__fab { color: var(--ink); justify-content: flex-end; padding-bottom: 9px; }
.tabbar__fab-disc {
    width: 54px; height: 54px;
    margin-top: -26px;
    display: grid; place-items: center;
    background: var(--accent);
    color: #191714;
    /* rubu: çeyrek daire biçimli düğme */
    border-radius: 54px 10px 10px 10px;
    box-shadow: 0 0 0 5px var(--paper), 0 10px 24px -8px rgba(243, 154, 30, .7);
    transition: transform .35s var(--spring), border-radius .35s var(--ease);
}
.tabbar__fab-disc .ico { width: 26px; height: 26px; }
.tabbar__fab:active .tabbar__fab-disc { transform: scale(.9) rotate(-8deg); }
.tabbar__fab.is-active .tabbar__fab-disc { border-radius: 50%; transform: rotate(45deg); }
@media (min-width: 1024px) { .tabbar { display: none; } }
@media (max-width: 1023px) {
    body { padding-bottom: calc(var(--tabbar-h) + var(--safe-b)); }
}

/* ---------- Alt panel (sheet) ---------- */
.sheet { position: fixed; inset: 0; z-index: 80; }
.sheet[hidden] { display: none; }
.sheet__backdrop { position: absolute; inset: 0; background: rgba(10, 9, 7, .45); opacity: 0; transition: opacity .3s; }
.sheet.is-open .sheet__backdrop { opacity: 1; }
.sheet__panel {
    position: absolute; left: 0; right: 0; bottom: 0;
    max-height: 88vh; overflow: auto;
    background: var(--paper);
    border-radius: 22px 22px 0 0;
    padding: 0 16px calc(20px + var(--safe-b));
    transform: translateY(100%);
    transition: transform .42s var(--ease);
    overscroll-behavior: contain;
}
.sheet.is-open .sheet__panel { transform: translateY(0); }
@media (min-width: 720px) {
    .sheet__panel { left: auto; top: 0; width: 400px; max-height: none; border-radius: 0; transform: translateX(100%); padding-top: 24px; }
    .sheet.is-open .sheet__panel { transform: translateX(0); }
    .sheet__grip { display: none !important; }
}
.sheet__grip { display: grid; place-items: center; height: 26px; cursor: grab; touch-action: none; }
.sheet__grip i { width: 40px; height: 5px; border-radius: 3px; background: var(--rule-strong); }
.sheet__quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 6px 0 14px; }
.sheet__quick a {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    padding: 14px 4px;
    background: var(--paper-2);
    border-radius: 14px;
    font-size: 12px; font-weight: 600; text-decoration: none;
    transition: transform .2s var(--spring);
}
.sheet__quick a:active { transform: scale(.94); }
.sheet__quick a .ico { width: 24px; height: 24px; color: var(--accent-ink); }
.sheet__nav { display: grid; background: var(--card); border: 1px solid var(--rule); border-radius: 14px; overflow: hidden; }
.sheet__nav a {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 16px;
    font-weight: 600; text-decoration: none;
    border-bottom: 1px solid var(--rule);
}
.sheet__nav a:last-child { border-bottom: 0; }
.sheet__nav a:active { background: var(--paper-2); }
.sheet__nav a .ico:first-child { color: var(--muted); }
.sheet__nav a.is-active { color: var(--accent-ink); }
.sheet__nav a.is-active .ico:first-child { color: var(--accent-ink); }
.sheet__chev { margin-left: auto; opacity: .35; width: 18px; height: 18px; }
.sheet__foot { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
body.sheet-lock { overflow: hidden; }

/* ---------- WhatsApp ---------- */
.wa-fab {
    position: fixed; z-index: 45;
    right: 16px; bottom: calc(var(--tabbar-h) + var(--safe-b) + 14px);
    display: flex; align-items: center; gap: 10px;
    height: 50px; padding: 0 13px;
    background: #1FAF5A; color: #fff;
    border-radius: 999px;
    text-decoration: none; font-weight: 650; font-size: 14px;
    box-shadow: 0 10px 28px -10px rgba(31, 175, 90, .8);
    transition: transform .3s var(--spring);
}
.wa-fab .ico { width: 24px; height: 24px; }
.wa-fab span { display: none; }
.wa-fab:active { transform: scale(.92); }
@media (min-width: 1024px) {
    .wa-fab { bottom: 24px; right: 24px; height: 54px; padding: 0 15px; }
    .wa-fab span { display: inline; max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .4s var(--ease); }
    .wa-fab:hover span { max-width: 220px; }
}
body.sheet-lock .wa-fab { opacity: 0; pointer-events: none; }

/* ---------- Toast ---------- */
.toast {
    position: fixed; left: 50%; z-index: 90;
    bottom: calc(var(--tabbar-h) + var(--safe-b) + 18px);
    transform: translate(-50%, 20px);
    background: var(--ink); color: var(--paper);
    padding: 11px 18px; border-radius: 999px;
    font-size: 14px; font-weight: 600;
    opacity: 0; pointer-events: none;
    transition: opacity .25s, transform .35s var(--spring);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 1024px) { .toast { bottom: 32px; } }

/* ---------- Cetvel ---------- */
.ruler {
    height: 22px;
    border-top: 1px solid var(--rule-strong);
    background-image:
        linear-gradient(90deg, var(--rule-strong) 1px, transparent 1px),
        linear-gradient(90deg, var(--rule-strong) 1px, transparent 1px),
        linear-gradient(90deg, var(--ink) 1px, transparent 1px);
    background-size: 8px 6px, 40px 11px, 160px 18px;
    background-repeat: repeat-x;
    opacity: .7;
}

/* ---------- Bölümler ---------- */
.section { padding: 72px 0; position: relative; }
@media (min-width: 900px) { .section { padding: 120px 0; } }

/* ---------- HERO ---------- */
.hero { padding: 26px 0 0; overflow: hidden; }
.hero__grid { display: grid; gap: 10px; align-items: center; }
@media (min-width: 960px) {
    .hero { padding-top: 56px; }
    .hero__grid { grid-template-columns: 1.08fr .92fr; gap: 40px; }
}
.hero__title {
    font-size: clamp(2.75rem, 7.6vw, 6rem);
    font-weight: 800;
    font-variation-settings: "wdth" 70;
    line-height: .93;
    letter-spacing: -.025em;
    margin-bottom: 26px;
    text-wrap: balance;
}
.hero__title .w { display: inline-block; }
.hero__text { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-2); max-width: 40ch; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin: 30px 0 34px; }
.hero__readout {
    display: grid; grid-template-columns: repeat(3, 1fr);
    margin: 0; border-top: 1px solid var(--rule-strong);
    max-width: 520px;
}
.hero__readout div { padding: 12px 0 0; border-right: 1px solid var(--rule); padding-left: 14px; }
.hero__readout div:first-child { padding-left: 0; }
.hero__readout div:last-child { border-right: 0; }
.hero__readout dt { font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.hero__readout dd { margin: 2px 0 0; font-size: 26px; font-weight: 500; color: var(--ink); }

.hero__instrument { margin: 0; position: relative; max-width: 620px; justify-self: center; width: 100%; }
@media (max-width: 959px) { .hero__instrument { max-width: 420px; margin-top: 18px; } }
.hero__reading {
    display: flex; justify-content: space-between; gap: 12px;
    border-top: 1px dashed var(--rule-strong);
    padding-top: 10px; margin-top: -6px;
    font-size: 12px; color: var(--muted);
}
.hero__reading b { color: var(--accent-ink); font-weight: 700; font-size: 15px; display: inline-block; min-width: 4ch; }

/* Rubu tahtası SVG */
.quadrant { width: 100%; height: auto; overflow: visible; touch-action: pan-y; }
.q-body { fill: var(--card); stroke: var(--ink); stroke-width: 2; }
.q-grid { stroke: var(--rule-strong); stroke-width: .8; }
.q-grid--mid { stroke: var(--accent); stroke-dasharray: 3 4; stroke-width: 1; }
.q-arc { fill: none; stroke: var(--accent); stroke-width: 2.2; }
.q-band { fill: none; stroke: var(--ink); stroke-width: 1; }
.q-tick { stroke: var(--ink); stroke-width: 1; }
.q-tick--major { stroke-width: 2; }
.q-tick--fine { stroke-width: .8; opacity: .6; }
.q-num { font-family: var(--f-mono); font-size: 13px; fill: var(--ink); text-anchor: middle; dominant-baseline: middle; }
.q-label line { stroke: var(--rule-strong); stroke-width: 1; }
.q-label circle { fill: var(--accent); }
.q-label text { font-family: var(--f-mono); font-size: 14px; fill: var(--muted); letter-spacing: .06em; transition: fill .2s; }
.q-label.is-hit text { fill: var(--accent-ink); font-weight: 700; }
.q-label.is-hit circle { r: 5; }
.q-alidade { transform: rotate(-45deg); transition: transform .9s var(--ease); }
.q-alidade.is-live { transition: transform .12s linear; }
.q-alidade__line { stroke: var(--accent-ink); stroke-width: 2.5; }
.q-alidade__bead { fill: var(--accent); stroke: var(--ink); stroke-width: 2; }
.q-alidade__tip { fill: var(--accent-ink); }
.q-pivot { fill: var(--ink); }
.q-pivot-in { fill: var(--accent); }

/* mini işaret */
.qmini { width: 1em; height: 1em; }
.qmini__fill { fill: var(--accent); }
.qmini__line { fill: none; stroke: var(--paper); stroke-width: 3; }

/* kayan şerit */
.marquee { margin-top: 52px; background: var(--ink); color: var(--paper); overflow: hidden; }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee span {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 16px 28px;
    font-family: var(--f-mono); font-size: 13px; text-transform: uppercase; letter-spacing: .08em;
    border-right: 1px solid rgba(255,255,255,.14);
    white-space: nowrap;
}
.marquee span .ico { color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- KABİN (hizmetler) ---------- */
.rackwrap { display: grid; gap: 28px; }
@media (min-width: 1000px) {
    .rackwrap { grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
    .rackwrap__intro { position: sticky; top: 140px; }
    .rackwrap__intro .sechead { grid-template-columns: 1fr; }
    .rackwrap__intro .sechead .link-arrow { justify-self: start; margin-top: 14px; }
}
.rack {
    position: relative;
    background: var(--rack);
    border-radius: 10px;
    padding: 12px 26px 18px;
    box-shadow: 0 40px 80px -40px rgba(25, 23, 20, .6), inset 0 0 0 1px rgba(255,255,255,.04);
}
/* raylardaki vida delikleri */
.rack::before, .rack::after {
    content: ""; position: absolute; top: 40px; bottom: 26px; width: 10px;
    background-image: radial-gradient(circle, #3b3730 1.6px, transparent 2.2px);
    background-size: 10px 14px;
}
.rack::before { left: 8px; }
.rack::after { right: 8px; }
.rack__top { display: flex; justify-content: space-between; padding: 4px 2px 12px; color: #8a8273; font-size: 11px; letter-spacing: .14em; }
.rack__base { height: 10px; margin: 10px -12px 0; background: repeating-linear-gradient(90deg, #2c2924 0 6px, #1a1815 6px 10px); border-radius: 2px; }

.unit {
    position: relative;
    display: grid;
    grid-template-columns: auto auto 1fr auto;
    align-items: center; gap: 14px;
    min-height: 86px;
    padding: 14px 16px 14px 14px;
    margin-bottom: 8px;
    background: linear-gradient(180deg, var(--rack-3), var(--rack-2));
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 4px;
    color: #EDE7DA;
    text-decoration: none;
    transition: transform .45s var(--ease), border-color .3s, box-shadow .3s;
}
.unit:hover, .unit:focus-visible {
    transform: translateX(10px);
    border-color: rgba(243, 154, 30, .55);
    box-shadow: -10px 0 30px -12px rgba(243, 154, 30, .45);
}
.unit__ears { position: absolute; left: -20px; top: 8px; bottom: 8px; width: 12px; display: flex; flex-direction: column; justify-content: space-between; }
.unit__ears i { width: 6px; height: 6px; border-radius: 50%; background: #48433a; box-shadow: inset 0 1px 1px rgba(0,0,0,.6); }
.unit__u { font-size: 10.5px; color: #8a8273; writing-mode: vertical-rl; transform: rotate(180deg); letter-spacing: .12em; }
.unit__led {
    position: absolute; top: 12px; right: 14px;
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--led); box-shadow: 0 0 8px var(--led);
    animation: blink 3.2s infinite;
}
.unit:nth-child(3n) .unit__led { animation-delay: .7s; }
.unit:nth-child(3n+1) .unit__led { animation-delay: 1.6s; }
.unit:hover .unit__led { background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: blink .25s infinite; }
@keyframes blink { 0%, 92%, 100% { opacity: 1; } 95% { opacity: .2; } }
.unit__icon { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; color: var(--accent); }
.unit__icon .ico { width: 22px; height: 22px; }
.unit__text strong { display: block; font-size: 17px; font-weight: 650; line-height: 1.25; }
.unit__text small { display: block; font-size: 13.5px; color: #a49c8c; line-height: 1.45; margin-top: 4px; }
.unit__vent { display: none; }
.unit__go { color: #8a8273; transition: color .2s, transform .3s var(--ease); }
.unit:hover .unit__go { color: var(--accent); transform: translate(2px, -2px); }
@media (min-width: 720px) {
    .unit { grid-template-columns: auto auto 1fr 90px auto; padding: 18px 22px 18px 16px; }
    .unit__vent {
        display: block; height: 34px;
        background: repeating-linear-gradient(90deg, #15130f 0 3px, transparent 3px 7px);
        border-radius: 2px; opacity: .8;
    }
}
@media (max-width: 480px) {
    .rack { padding: 10px 16px 14px 22px; }
    .unit { gap: 10px; }
    .unit__icon { width: 38px; height: 38px; }
    .unit__text small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}

/* ---------- Çözüm alanları ---------- */
.section--areas { background: var(--paper-2); }
.areas {
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 70%);
    gap: 12px;
    overflow-x: auto; scroll-snap-type: x mandatory;
    padding: 0 var(--gutter) 6px;
    scroll-padding: 0 var(--gutter);
    scrollbar-width: none;
}
.areas::-webkit-scrollbar { display: none; }
@media (min-width: 900px) {
    .areas {
        grid-auto-flow: row; grid-template-columns: repeat(3, 1fr);
        max-width: calc(var(--maxw) - 2 * var(--gutter)); margin: 0 auto; overflow: visible; padding: 0;
        width: calc(100% - 2 * var(--gutter));
        gap: 0; border-top: 1px solid var(--rule-strong); border-left: 1px solid var(--rule-strong);
    }
}
.area {
    position: relative; overflow: hidden;
    scroll-snap-align: start;
    min-height: 220px;
    padding: 22px;
    background: var(--card);
    border: 1px solid var(--rule);
    border-radius: 12px;
    display: flex; flex-direction: column; justify-content: space-between;
}
@media (min-width: 900px) {
    .area { border-radius: 0; border: 0; border-right: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule-strong); background: transparent; min-height: 250px; padding: 28px; }
}
.area__no { font-size: 11px; color: var(--muted); position: relative; z-index: 2; }
.area__icon { color: var(--accent-ink); position: relative; z-index: 2; }
.area__icon .ico { width: 48px; height: 48px; }
.area h3 { font-size: 21px; font-variation-settings: "wdth" 85; font-weight: 700; max-width: 14ch; position: relative; z-index: 2; transition: color .3s; }
.area__img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    filter: grayscale(1) contrast(1.15);
    mix-blend-mode: multiply;
    opacity: 0; transform: scale(1.08);
    transition: opacity .5s var(--ease), transform .8s var(--ease);
}
.area::after {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, transparent 30%, var(--ink) 100%);
    opacity: 0; transition: opacity .5s;
}
@media (hover: hover) {
    .area:hover .area__img { opacity: .9; transform: scale(1); }
    .area:hover::after { opacity: .85; }
    .area:hover h3, .area:hover .area__no { color: #fff; }
    .area:hover .area__icon { color: var(--accent); }
}

/* ---------- Hikâye (hakkımızda özeti) ---------- */
.story { display: grid; gap: 30px; }
@media (min-width: 960px) { .story { grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; } }
.story__digits {
    display: block;
    font-size: clamp(7rem, 24vw, 17rem);
    font-weight: 900;
    font-variation-settings: "wdth" 62;
    line-height: .8;
    letter-spacing: -.04em;
    color: transparent;
    -webkit-text-stroke: 2px var(--ink);
    background: linear-gradient(0deg, var(--accent) 0 var(--fill, 38%), transparent var(--fill, 38%));
    -webkit-background-clip: text; background-clip: text;
}
.story__now { display: block; margin-top: 14px; color: var(--muted); }
.story__text .lead { font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.35; font-weight: 500; color: var(--ink); }
.story__text p { color: var(--ink-2); }

/* ---------- Logo duvarı ---------- */
.logowall { overflow: hidden; padding: 6px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logowall__track { display: flex; gap: 12px; width: max-content; animation: marquee 60s linear infinite; }
.logowall--rev .logowall__track { animation-direction: reverse; animation-duration: 70s; }
.logowall:hover .logowall__track { animation-play-state: paused; }
.logowall__item {
    width: 168px; height: 96px; flex: none;
    display: grid; place-items: center;
    background: #fff; border-radius: 8px; padding: 14px 20px;
    border: 1px solid var(--rule);
}
.logowall__item img { max-height: 62px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.logowall__item:hover img { filter: none; opacity: 1; }
:root[data-theme="dark"] .logowall__item { background: #E9E4D9; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logowall__item { background: #E9E4D9; } }

/* ---------- Blog kartları ---------- */
.pgrid { display: grid; gap: 28px; }
@media (min-width: 720px) { .pgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pgrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 719px) {
    .pgrid--scroll {
        grid-auto-flow: column; grid-auto-columns: 82%;
        overflow-x: auto; scroll-snap-type: x mandatory;
        margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px;
        scroll-padding: 0 var(--gutter);
        scrollbar-width: none;
    }
    .pgrid--scroll::-webkit-scrollbar { display: none; }
    .pgrid--scroll .pcard { scroll-snap-align: start; }
}
.pcard { display: flex; flex-direction: column; gap: 16px; }
.pcard__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 8px; background: var(--paper-2); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.04); }
.pcard__ph {
    position: relative; display: flex; align-items: flex-end; height: 100%; padding: 18px;
    background:
        repeating-linear-gradient(0deg, transparent 0 23px, var(--rule) 23px 24px),
        repeating-linear-gradient(90deg, transparent 0 23px, var(--rule) 23px 24px),
        var(--paper-2);
}
.pcard__ph .qmini { position: absolute; right: -10%; top: -14%; width: 72%; height: auto; opacity: .95; transition: transform .7s var(--ease); }
.pcard:hover .pcard__ph .qmini { transform: rotate(-6deg) scale(1.03); }
.pcard__ph em { font-family: var(--f-mono); font-style: normal; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; background: var(--ink); color: var(--paper); padding: 5px 9px; border-radius: 3px; position: relative; }
.pcard__meta { display: flex; flex-wrap: wrap; gap: 6px; color: var(--muted); margin: 0; font-size: 12px; }
.pcard__meta a { text-decoration: none; color: var(--accent-ink); }
.pcard__meta i { font-style: normal; opacity: .5; }
.pcard__title { font-size: 21px; font-weight: 700; font-variation-settings: "wdth" 88; line-height: 1.18; }
.pcard__title a { text-decoration: none; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 2px no-repeat; transition: background-size .4s var(--ease); }
.pcard:hover .pcard__title a { background-size: 100% 2px; }
.pcard__excerpt { color: var(--ink-2); font-size: 15.5px; margin: 0; }
.pcard--big .pcard__title { font-size: clamp(1.6rem, 3vw, 2.4rem); }
@media (min-width: 900px) {
    .pcard--big { display: grid; grid-template-columns: 1.25fr 1fr; gap: 36px; align-items: center; }
}

/* ---------- İletişim bloğu / iş emri formu ---------- */
.section--contact { background: var(--paper-2); }
.contactblock { display: grid; gap: 36px; }
@media (min-width: 960px) { .contactblock { grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; } }
.contactlist { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.contactlist li { display: flex; gap: 12px; align-items: flex-start; }
.contactlist .ico { color: var(--accent-ink); margin-top: 3px; }
.contactlist a { text-decoration: none; font-weight: 600; }

.workorder {
    position: relative;
    background: var(--card);
    border: 1px solid var(--rule-strong);
    border-radius: 6px;
    padding: 26px 20px 22px;
    box-shadow: 0 30px 60px -40px rgba(25, 23, 20, .45);
}
/* delikli kâğıt kenarı */
.workorder::before {
    content: ""; position: absolute; left: 14px; right: 14px; top: 10px; height: 6px;
    background-image: radial-gradient(circle, var(--paper-2) 2.5px, transparent 3px);
    background-size: 16px 6px;
}
@media (min-width: 720px) { .workorder { padding: 34px 34px 28px; } }
.workorder__head {
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
    padding-bottom: 14px; margin: 6px 0 22px;
    border-bottom: 2px solid var(--ink);
    font-size: 11.5px; letter-spacing: .1em; color: var(--muted);
}
.workorder__head span:first-child { color: var(--ink); font-weight: 700; }
.workorder__head b { color: var(--accent-ink); }
.workorder__grid { display: grid; gap: 4px 24px; }
@media (min-width: 640px) { .workorder__grid { grid-template-columns: 1fr 1fr; } .field--wide { grid-column: 1 / -1; } }
.workorder__foot { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
@media (max-width: 480px) { .workorder__foot .btn { flex: 1 1 100%; } }

.field { display: block; padding: 10px 0 6px; }
.field__label { display: block; font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 2px; }
.field input, .field textarea, .field select {
    width: 100%;
    padding: 8px 0 10px;
    background: transparent;
    border: 0; border-bottom: 1.5px solid var(--rule-strong);
    border-radius: 0;
    font: inherit; font-size: 17px;
    color: var(--ink);
    transition: border-color .2s;
    -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .6; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-bottom-color: var(--accent); }
.field:focus-within .field__label { color: var(--accent-ink); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); margin-top: 14px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); flex: none; }

.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 6px; margin-bottom: 16px; font-size: 15px; font-weight: 550; }
.notice--ok { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.notice--err { background: color-mix(in srgb, var(--danger) 12%, transparent); color: var(--danger); }
:root[data-theme="dark"] .notice--ok { color: #7fd6a2; }
:root[data-theme="dark"] .notice--err { color: #f19d8f; }

/* ---------- Footer ---------- */
.footer {
    background: #191714; color: #EDE7DA;
    padding: 64px 0 28px;
    margin-top: 0;
    overflow: hidden;
}
.footer a { text-decoration: none; }
.footer__top { display: grid; gap: 40px; }
@media (min-width: 960px) { .footer__top { grid-template-columns: 1fr 1.4fr; gap: 80px; } }
.footer__lead { font-size: 18px; line-height: 1.5; color: #CFC7B7; max-width: 46ch; }
.footer__quick { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; }
@media (min-width: 720px) { .footer__cols { grid-template-columns: repeat(3, 1fr); } }
.footer__cols > div:last-child { grid-column: 1 / -1; }
@media (min-width: 720px) { .footer__cols > div:last-child { grid-column: auto; } }
.footer h4 { font-family: var(--f-mono); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; color: var(--accent); margin-bottom: 14px; }
.footer__cols a { display: block; padding: 4px 0; color: #CFC7B7; transition: color .2s, transform .2s; }
.footer__cols a:hover { color: #fff; transform: translateX(3px); }
.footer__cols p { color: #CFC7B7; font-size: 15px; margin-bottom: 8px; }
.footer__social { display: flex; gap: 8px; margin-top: 14px; }
.footer__social a { width: 40px; height: 40px; display: grid !important; place-items: center; padding: 0 !important; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; }
.footer__social a:hover { background: var(--accent); color: #191714; border-color: var(--accent); transform: none !important; }
.footer__mark {
    display: flex; align-items: flex-end; gap: .06em;
    margin: 56px 0 18px;
    font-size: clamp(5.5rem, 27vw, 21rem);
    font-weight: 900; font-variation-settings: "wdth" 125;
    line-height: .74; letter-spacing: -.05em;
    color: transparent; -webkit-text-stroke: 1.5px rgba(237, 231, 218, .28);
    user-select: none;
}
.footer__mark .qmini { width: .74em; height: .74em; flex: none; }
.footer__mark .qmini__line { stroke: #191714; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: #9C9483; }

/* ---------- Sayfa başlığı ---------- */
.phead { padding: 28px 0 0; }
@media (min-width: 900px) { .phead { padding-top: 56px; } }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; color: var(--muted); margin-bottom: 26px; font-size: 12px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--accent-ink); }
.phead__title {
    font-size: clamp(2.6rem, 7vw, 5.4rem);
    font-weight: 800; font-variation-settings: "wdth" 72;
    line-height: .95; letter-spacing: -.025em;
    max-width: 16ch;
    text-wrap: balance;
}
.phead__intro { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 54ch; margin: 22px 0 0; }
.phead .ruler { margin-top: 48px; }

/* ---------- Metin içeriği (prose) ---------- */
.prose { font-size: 18px; line-height: 1.75; color: var(--ink-2); max-width: 70ch; }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin-bottom: 0; }
.prose h2 { font-size: 1.7em; font-variation-settings: "wdth" 82; color: var(--ink); margin-top: 1.8em; line-height: 1.15; }
.prose h3 { font-size: 1.3em; color: var(--ink); margin-top: 1.6em; line-height: 1.2; }
.prose a { color: var(--accent-ink); text-underline-offset: 4px; }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--accent-ink); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--accent); font-size: 1.12em; color: var(--ink); font-style: italic; }
.prose img { border-radius: 8px; margin: 1.6em 0; }
.prose code { font-family: var(--f-mono); font-size: .85em; background: var(--paper-2); padding: 2px 6px; border-radius: 4px; }
.prose pre { background: var(--rack); color: #EDE7DA; padding: 18px; border-radius: 8px; overflow-x: auto; font-size: 14px; }
.prose pre code { background: none; padding: 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: .9em; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--rule); padding: 10px 12px 10px 0; text-align: left; vertical-align: top; }
.prose th { font-family: var(--f-mono); font-size: .75em; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 500; }
.prose hr { border: 0; height: 22px; background: inherit; border-top: 1px solid var(--rule-strong); }

/* ---------- Hizmetler sayfası ---------- */
.svclist { display: grid; }
.svc {
    display: grid; gap: 14px;
    padding: 34px 0;
    border-bottom: 1px solid var(--rule-strong);
    text-decoration: none;
    position: relative;
}
.svc:first-child { border-top: 1px solid var(--rule-strong); }
@media (min-width: 900px) {
    .svc { grid-template-columns: 90px 1.1fr 1.4fr 60px; gap: 32px; align-items: start; padding: 44px 0; }
}
.svc__no { font-family: var(--f-mono); font-size: 13px; color: var(--muted); padding-top: 6px; }
.svc__title { display: flex; gap: 14px; align-items: center; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 750; font-variation-settings: "wdth" 80; line-height: 1.05; }
.svc__title .ico { color: var(--accent-ink); width: 30px; height: 30px; }
.svc__body { color: var(--ink-2); }
.svc__body p:last-child { margin-bottom: 0; }
.svc__go { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--rule-strong); display: grid; place-items: center; transition: background .25s, transform .35s var(--spring); }
.svc:hover .svc__go { background: var(--accent); border-color: var(--accent); transform: rotate(-45deg); color: #191714; }
.svc::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--accent); transition: width .6s var(--ease); }
.svc:hover::before { width: 100%; }

/* Hizmet detay */
.sdetail { display: grid; gap: 44px; padding: 48px 0 20px; }
@media (min-width: 1000px) { .sdetail { grid-template-columns: 1fr 360px; gap: 80px; } }
.sdetail__hero { position: relative; overflow: hidden; border-radius: 10px; background: var(--paper-2); margin: 0 0 36px; }
.sdetail__hero img { width: 100%; height: auto; }
.sdetail__aside { display: grid; gap: 18px; align-content: start; }
@media (min-width: 1000px) { .sdetail__aside { position: sticky; top: 120px; } }
.card { background: var(--card); border: 1px solid var(--rule); border-radius: 10px; padding: 22px; }
.card h3 { font-size: 18px; margin-bottom: 12px; }
.card--ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.card--ink p { color: color-mix(in srgb, var(--paper) 75%, transparent); }
.minirack { display: grid; gap: 6px; }
.minirack a {
    display: flex; align-items: center; gap: 12px;
    padding: 11px 12px;
    border-radius: 6px;
    text-decoration: none; font-size: 15px; font-weight: 550;
    background: var(--paper-2);
    transition: background .2s, transform .25s var(--ease);
}
.minirack a:hover { transform: translateX(4px); }
.minirack a .ico { color: var(--accent-ink); }
.minirack a.is-current { background: var(--ink); color: var(--paper); }
.minirack a.is-current .ico { color: var(--accent); }
.minirack i { width: 7px; height: 7px; border-radius: 50%; background: var(--led); margin-left: auto; box-shadow: 0 0 6px var(--led); }
.nextlink {
    display: flex; justify-content: space-between; align-items: center; gap: 20px;
    padding: 40px 0; border-top: 1px solid var(--rule-strong);
    text-decoration: none;
}
.nextlink small { display: block; font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 6px; }
.nextlink strong { font-size: clamp(1.5rem, 4vw, 3rem); font-variation-settings: "wdth" 75; font-weight: 800; line-height: 1; }
.nextlink .ico { width: 40px; height: 40px; transition: transform .35s var(--ease); }
.nextlink:hover .ico { transform: translateX(8px); color: var(--accent-ink); }

/* ---------- Referanslar sayfası ---------- */
.refbar { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; margin: 40px 0 22px; }
.search {
    display: flex; align-items: center; gap: 10px;
    padding: 0 16px; height: 48px; min-width: min(100%, 340px);
    background: var(--card); border: 1px solid var(--rule-strong); border-radius: 999px;
}
.search input { border: 0; background: transparent; font: inherit; color: var(--ink); width: 100%; outline: 0; }
.search .ico { color: var(--muted); }
.refgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--rule-strong); border-left: 1px solid var(--rule-strong); }
@media (min-width: 640px) { .refgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .refgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ref {
    position: relative;
    display: grid; grid-template-rows: 1fr auto; gap: 12px;
    padding: 18px;
    border-right: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule-strong);
    text-decoration: none;
    transition: background .3s;
}
.ref:hover { background: var(--card); }
.ref__logo { aspect-ratio: 3 / 2; display: grid; place-items: center; background: #fff; border-radius: 6px; padding: 14px; }
:root[data-theme="dark"] .ref__logo { background: #E9E4D9; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ref__logo { background: #E9E4D9; } }
.ref__logo img { max-height: 76px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .3s, opacity .3s, transform .4s var(--ease); }
.ref:hover .ref__logo img { filter: none; opacity: 1; transform: scale(1.05); }
.ref__name { min-width: 0; overflow-wrap: anywhere; font-size: 14px; font-weight: 600; line-height: 1.3; display: flex; justify-content: space-between; gap: 8px; }
.ref__name small { font-family: var(--f-mono); font-size: 10.5px; color: var(--muted); font-weight: 400; }
.ref[hidden] { display: none; }
.empty { padding: 50px 0; text-align: center; color: var(--muted); }

/* ---------- Hakkımızda ---------- */
.journey { position: relative; display: grid; gap: 0; margin-top: 30px; }
.journey__step { display: grid; grid-template-columns: 70px 1fr; gap: 18px; padding: 0 0 34px; position: relative; }
@media (min-width: 900px) { .journey__step { grid-template-columns: 160px 1fr; gap: 40px; padding-bottom: 48px; } }
.journey__deg { font-family: var(--f-mono); font-size: 13px; color: var(--accent-ink); padding-top: 6px; position: relative; }
.journey__deg::after { content: ""; position: absolute; right: -10px; top: 12px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--paper); }
@media (min-width: 900px) { .journey__deg::after { right: -21px; } }
.journey::before { content: ""; position: absolute; left: 74px; top: 12px; bottom: 30px; width: 1px; background: var(--rule-strong); }
@media (min-width: 900px) { .journey::before { left: 177px; } }
.journey__text { font-size: clamp(1.1rem, 2vw, 1.45rem); line-height: 1.45; font-weight: 450; color: var(--ink); max-width: 46ch; }
.journey__step:first-child .journey__text { font-size: clamp(1.4rem, 2.8vw, 2.1rem); font-weight: 600; line-height: 1.2; font-variation-settings: "wdth" 85; }
.values { display: grid; gap: 1px; background: var(--rule-strong); border: 1px solid var(--rule-strong); border-radius: 10px; overflow: hidden; }
@media (min-width: 800px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value { background: var(--paper); padding: 30px 26px; }
.value__k { font-family: var(--f-mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
.value h3 { font-size: 30px; font-variation-settings: "wdth" 78; margin: 14px 0 10px; }
.value p { color: var(--ink-2); margin: 0; font-size: 15.5px; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--rule-strong); border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule-strong); }
@media (min-width: 800px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--paper); padding: 26px 18px 22px 0; }
.stat + .stat { padding-left: 18px; }
@media (max-width: 799px) { .stat:nth-child(3) { padding-left: 0; } }
.stat b { display: block; font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 800; font-variation-settings: "wdth" 70; line-height: 1; }
.stat span { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }

/* ---------- İletişim sayfası ---------- */
.ccards { display: grid; gap: 12px; margin: 44px 0 0; }
@media (min-width: 720px) { .ccards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .ccards { grid-template-columns: repeat(4, 1fr); } }
.ccard {
    display: grid; gap: 10px; align-content: start;
    padding: 22px; min-height: 150px;
    background: var(--card); border: 1px solid var(--rule); border-radius: 10px;
    text-decoration: none;
    transition: transform .3s var(--ease), border-color .3s;
}
a.ccard:hover { transform: translateY(-4px); border-color: var(--accent); }
.ccard .ico { width: 26px; height: 26px; color: var(--accent-ink); }
.ccard small { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.ccard strong { font-size: 17px; line-height: 1.35; font-weight: 600; }
.ccard--wa { background: #1FAF5A; border-color: #1FAF5A; color: #fff; }
.ccard--wa .ico, .ccard--wa small { color: #fff; }
.mapbox { position: relative; border-radius: 10px; overflow: hidden; border: 1px solid var(--rule-strong); min-height: 340px; background: var(--paper-2); }
.mapbox iframe { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border: 0; filter: grayscale(.6) contrast(1.05); }
:root[data-theme="dark"] .mapbox iframe { filter: grayscale(.7) invert(.9) hue-rotate(180deg); }
.mapbox__tag { position: absolute; left: 14px; top: 14px; z-index: 2; background: var(--ink); color: var(--paper); padding: 6px 10px; border-radius: 4px; font-family: var(--f-mono); font-size: 11px; }

/* ---------- Teklif sihirbazı ---------- */
.wizard { display: grid; gap: 30px; margin-top: 40px; }
.wizard > * { min-width: 0; }
.wizard__dial svg { width: 100%; height: auto; }
@media (min-width: 1000px) { .wizard { grid-template-columns: 300px 1fr; gap: 60px; align-items: start; } }
.wizard__dial { position: relative; max-width: 300px; }
@media (min-width: 1000px) { .wizard__dial { position: sticky; top: 130px; } }
@media (max-width: 999px) {
    .wizard__dial { display: flex; align-items: center; gap: 16px; max-width: none; position: sticky; top: 62px; z-index: 5; background: var(--paper); padding: 10px 0; border-bottom: 1px solid var(--rule); }
    .wizard__dial svg { width: 64px; height: 64px; flex: none; }
}
.dial__track { fill: none; stroke: var(--paper-3); stroke-width: 14; }
.dial__fill { fill: none; stroke: var(--accent); stroke-width: 14; transition: stroke-dashoffset .6s var(--ease); }
.dial__frame { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.dial__deg { font-family: var(--f-mono); font-size: 13px; fill: var(--muted); }
.wizard__steps { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 4px; }
@media (max-width: 999px) { .wizard__steps { display: none; } }
.wizard__steps li { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 15px; padding: 6px 0; }
.wizard__steps li b { font-family: var(--f-mono); font-size: 11px; width: 26px; height: 26px; border: 1px solid var(--rule-strong); border-radius: 50%; display: grid; place-items: center; font-weight: 500; }
.wizard__steps li.is-current { color: var(--ink); font-weight: 650; }
.wizard__steps li.is-current b { background: var(--accent); border-color: var(--accent); color: #191714; }
.wizard__steps li.is-done b { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.wizard__now { font-weight: 650; }
.wizard__now small { display: block; font-family: var(--f-mono); font-size: 11px; color: var(--muted); font-weight: 400; text-transform: uppercase; letter-spacing: .1em; }
@media (min-width: 1000px) { .wizard__now { display: none; } }

.step { border: 0; padding: 0; margin: 0 0 40px; min-width: 0; }
.js .step { display: none; margin: 0; }
.js .step.is-current { display: block; animation: stepin .45s var(--ease); }
@keyframes stepin { from { opacity: 0; transform: translateX(20px); } }
.step legend { font-size: clamp(1.6rem, 3.6vw, 2.4rem); font-weight: 750; font-variation-settings: "wdth" 80; line-height: 1.1; margin-bottom: 8px; padding: 0; }
.step__hint { color: var(--muted); margin-bottom: 22px; }
.opts { display: grid; gap: 10px; }
@media (min-width: 640px) { .opts { grid-template-columns: repeat(2, 1fr); } }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span {
    display: flex; gap: 12px; align-items: center;
    padding: 16px 16px; min-height: 64px;
    background: var(--card); border: 1.5px solid var(--rule); border-radius: 10px;
    font-weight: 600; font-size: 15.5px; line-height: 1.3;
    transition: border-color .2s, background .2s, transform .2s var(--spring);
}
.opt span .ico { color: var(--accent-ink); width: 22px; height: 22px; }
.opt span::after { content: ""; margin-left: auto; width: 20px; height: 20px; border: 1.5px solid var(--rule-strong); border-radius: 5px; flex: none; transition: all .2s; }
.opt input[type="radio"] + span::after { border-radius: 50%; }
.opt input:checked + span { border-color: var(--ink); background: var(--paper-2); }
.opt input:checked + span::after { background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23191714' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; border-color: var(--accent); }
.opt:active span { transform: scale(.98); }
.opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.wizard__nav { display: flex; gap: 10px; margin-top: 30px; justify-content: space-between; }
.no-js .wizard__nav [data-prev], .no-js .wizard__nav [data-next] { display: none; }
@media (max-width: 999px) {
    .wizard__nav { position: sticky; bottom: calc(var(--tabbar-h) + var(--safe-b) + 8px); background: var(--paper); padding: 12px 0; z-index: 4; }
}
.done { text-align: center; padding: 40px 0; }
.done .qmini { width: 120px; height: 120px; margin: 0 auto 24px; animation: spinin 1s var(--spring); }
@keyframes spinin { from { transform: rotate(-90deg) scale(.6); opacity: 0; } }

/* ---------- SSS ---------- */
.faq { max-width: 900px; margin-top: 30px; }
.faq details { border-bottom: 1px solid var(--rule-strong); }
.faq details:first-child { border-top: 1px solid var(--rule-strong); }
.faq summary {
    display: flex; gap: 18px; align-items: center;
    padding: 24px 0;
    font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 650;
    cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary small { font-family: var(--f-mono); font-size: 12px; color: var(--muted); font-weight: 400; min-width: 28px; }
.faq summary .ico { margin-left: auto; transition: transform .35s var(--ease); color: var(--muted); }
.faq details[open] summary .ico { transform: rotate(45deg); color: var(--accent-ink); }
.faq__a { padding: 0 0 26px 46px; color: var(--ink-2); max-width: 70ch; }

/* ---------- Araçlar ---------- */
.tools { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 900px) { .tools { grid-template-columns: repeat(2, 1fr); } }
.tool { background: var(--card); border: 1px solid var(--rule); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.tool__head { display: flex; align-items: center; gap: 12px; }
.tool__head .ico { width: 28px; height: 28px; color: var(--accent-ink); }
.tool__head h2 { font-size: 22px; font-variation-settings: "wdth" 85; }
.tool__big { font-family: var(--f-mono); font-size: clamp(1.4rem, 4vw, 2rem); font-weight: 700; word-break: break-all; }
.tool__row { display: flex; gap: 8px; flex-wrap: wrap; }
.tool__row .field { flex: 1 1 200px; padding: 0; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; font-family: var(--f-mono); font-size: 14px; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 500; word-break: break-all; }
.range { width: 100%; accent-color: var(--accent); }
.tool--ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tool--ink p { color: color-mix(in srgb, var(--paper) 72%, transparent); }

/* ---------- Blog listesi ---------- */
.bloghead { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin: 36px 0 34px; }
.cats { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter); }
.cats::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .cats { margin: 0; padding: 2px 0; flex-wrap: wrap; } }
.cats .chip small { font-family: var(--f-mono); font-size: 11px; opacity: .6; }
.featured { padding-bottom: 46px; margin-bottom: 46px; border-bottom: 1px solid var(--rule-strong); }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 56px; }
.pager a, .pager span { min-width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--rule-strong); border-radius: 999px; text-decoration: none; font-family: var(--f-mono); font-size: 14px; padding: 0 12px; }
.pager .is-current { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- Blog yazısı ---------- */
.progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 60; pointer-events: none; }
.progress i { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }
.post { padding: 28px 0 40px; }
@media (min-width: 900px) { .post { padding-top: 56px; } }
.post__head { max-width: 900px; }
.post__title { font-size: clamp(2.2rem, 5.6vw, 4.4rem); font-weight: 800; font-variation-settings: "wdth" 74; line-height: 1; letter-spacing: -.02em; margin: 6px 0 22px; text-wrap: balance; }
.post__lead { font-size: clamp(1.1rem, 1.8vw, 1.35rem); color: var(--ink-2); max-width: 60ch; }
.post__meta { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); padding: 16px 0; border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule); margin-top: 26px; font-size: 13px; }
.post__meta a { color: var(--accent-ink); text-decoration: none; }
.post__cover { margin: 36px 0 0; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 8; background: var(--paper-2); }
.post__cover img { width: 100%; height: 100%; object-fit: cover; }
.post__layout { display: grid; gap: 40px; margin-top: 44px; }
@media (min-width: 1100px) { .post__layout { grid-template-columns: 240px minmax(0, 1fr) 60px; gap: 56px; } }
.toc { font-size: 14px; }
@media (min-width: 1100px) { .toc { position: sticky; top: 120px; align-self: start; } }
@media (max-width: 1099px) { .toc { background: var(--card); border: 1px solid var(--rule); border-radius: 10px; padding: 4px 16px; } .toc summary { padding: 12px 0; cursor: pointer; font-weight: 650; } }
.toc ol { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 2px; counter-reset: toc; }
.toc li a { display: block; padding: 6px 0 6px 12px; border-left: 2px solid var(--rule); text-decoration: none; color: var(--muted); transition: color .2s, border-color .2s; }
.toc li.lvl-3 a { padding-left: 24px; font-size: 13px; }
.toc li a.is-active, .toc li a:hover { color: var(--ink); border-left-color: var(--accent); }
.share { display: flex; gap: 8px; }
@media (min-width: 1100px) { .share { flex-direction: column; position: sticky; top: 120px; align-self: start; } }
.share .iconbtn { width: 46px; height: 46px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.tags span { font-family: var(--f-mono); font-size: 12px; padding: 5px 10px; background: var(--paper-2); border-radius: 4px; }
.postnav { display: grid; gap: 12px; margin-top: 56px; }
@media (min-width: 720px) { .postnav { grid-template-columns: 1fr 1fr; } }
.postnav a { display: block; padding: 20px; border: 1px solid var(--rule-strong); border-radius: 10px; text-decoration: none; transition: border-color .2s; }
.postnav a:hover { border-color: var(--accent); }
.postnav small { display: block; font-family: var(--f-mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 6px; }
.postnav strong { font-size: 17px; line-height: 1.3; }
.postnav a:last-child { text-align: right; }

/* ---------- CTA bandı ---------- */
.ctaband { background: var(--accent); color: #191714; padding: 64px 0; overflow: hidden; position: relative; }
.ctaband__in { display: grid; gap: 24px; align-items: center; position: relative; z-index: 1; }
@media (min-width: 900px) { .ctaband__in { grid-template-columns: 1fr auto; } }
.ctaband h2 { font-size: clamp(2rem, 5vw, 3.8rem); font-variation-settings: "wdth" 72; font-weight: 800; max-width: 18ch; }
.ctaband h2 em { color: #191714; }
.ctaband .btn--ink { background: #191714; color: #F2EDE3; }
.ctaband .btn--ink:hover { background: #F2EDE3; color: #191714; }
.ctaband .qmini { position: absolute; right: -60px; bottom: -120px; width: 420px; height: 420px; opacity: .14; }
.ctaband .qmini__fill { fill: #191714; }
.ctaband .qmini__line { stroke: var(--accent); }
.ctaband__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ctaband .btn--ghost { border-color: rgba(25,23,20,.4); color: #191714; }

/* ---------- 404 ---------- */
.lost { min-height: 64vh; display: grid; place-items: center; text-align: center; padding: 50px 0; }
.lost__code { font-size: clamp(6rem, 22vw, 14rem); font-weight: 900; font-variation-settings: "wdth" 62; line-height: .85; letter-spacing: -.04em; }
.lost__code span { color: var(--accent-ink); }
.lost p { color: var(--ink-2); max-width: 44ch; margin: 18px auto 28px; }

/* ---------- Animasyonlar ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js [data-split] .w { opacity: 0; transform: translateY(.4em); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-split].is-in .w { opacity: 1; transform: none; }
.js [data-split].reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .js .reveal, .js [data-split] .w { opacity: 1; transform: none; }
    .marquee__track, .logowall__track { animation: none; }
}

/* ---------- Kurulu uygulama (PWA) modu ---------- */
@media (display-mode: standalone) {
    .statusbar { display: none; }
    .footer__mark { display: none; }
    body { overscroll-behavior-y: none; user-select: none; -webkit-user-select: none; }
    input, textarea, .prose, .post { user-select: text; -webkit-user-select: text; }
}

/* Teklif sihirbazında mobilde alt düğmelerle çakışmasın */
@media (max-width: 1023px) { .page-quote .wa-fab { display: none; } }
