/* ---------- Değişkenler ---------- */
:root {
    --navy: #0C1B2E; --navy-2: #14273F; --line-d: #27405E;
    --bone: #F3F1EC; --bone-2: #E4E1D9; --line-l: #CFCBC1;
    --ink: #0C1B2E; --mut-l: #51606F; --mut-d: #9FB0C3;
    --coral: #FF6B4A; --coral-deep: #B5311A;
    --display: "Bricolage Grotesque", "Arial Narrow", Arial, sans-serif;
    --body: "Hanken Grotesk", "Segoe UI", Arial, sans-serif;
    --mono: "IBM Plex Mono", Consolas, monospace;
    --section: clamp(64px, 8vw, 128px);
}

/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bone); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
svg { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; }
h1 { font-weight: 800; font-size: clamp(42px, 6vw, 84px); line-height: .98; letter-spacing: -.035em; }
h2 { font-weight: 700; font-size: clamp(30px, 3.6vw, 52px); line-height: 1.08; letter-spacing: -.025em; }
h3 { font-weight: 700; font-size: 24px; line-height: 1.2; letter-spacing: -.01em; }
.h-lg { font-weight: 800; font-size: clamp(34px, 4.2vw, 60px); line-height: 1.02; letter-spacing: -.03em; }
.h-xl { font-weight: 800; font-size: clamp(36px, 5vw, 72px); line-height: 1; letter-spacing: -.03em; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 30; padding: 12px 20px; background: var(--coral); color: var(--navy); font-weight: 600; }
.skip-link:focus { left: 16px; }

/* ---------- Düzen ---------- */
.wrap { width: 100%; max-width: 1288px; margin-inline: auto; padding-inline: 24px; }
.section { padding-block: var(--section); }
.stack { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px 72px; align-items: center; }
.band-dark { background: var(--navy); color: var(--bone); }
.band-mid { background: var(--bone-2); border-block: 1px solid var(--line-l); }
.band-accent { background: var(--coral); color: var(--navy); }
.band-accent :focus-visible { outline-color: var(--navy); }
.ruled { border-top: 1px solid var(--line-l); }
.visual { min-width: 0; }
.plate { min-width: 0; padding: clamp(20px, 3vw, 40px); background: var(--navy); color: var(--bone); border-radius: 6px; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 48px; margin-bottom: 48px; }
.section-head h2 { max-width: 15em; }
.section-head p { max-width: 30em; color: var(--mut-l); }
.section-head-narrow { max-width: 800px; }

/* ---------- Metin ve düğme ---------- */
.lead { max-width: 34em; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--mut-d); }
.body-lg { max-width: 36em; font-size: 18px; line-height: 1.65; color: var(--mut-l); }
.body-strong { font-size: 20px; line-height: 1.45; font-weight: 600; max-width: 28em; }
.label { font: 500 13px/1.4 var(--mono); letter-spacing: .02em; color: var(--mut-d); }
.num { font: 500 14px/1.4 var(--mono); color: var(--coral-deep); }
.band-dark .num { color: var(--coral); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.btn { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 28px; border-radius: 999px; font-weight: 600; transition: background-color .2s, color .2s; }
.btn span, .text-link span { transition: transform .2s; }
.btn:hover span, .text-link:hover span { transform: translateX(4px); }
.btn-accent { background: var(--coral); color: var(--navy); }
.btn-accent:hover { background: #FF8568; }
.btn-dark { background: var(--navy); color: var(--bone); }
.btn-dark:hover { background: var(--navy-2); }
.text-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; border-bottom: 1px solid currentColor; }
.text-link:hover { color: var(--coral-deep); }
.band-dark .text-link:hover { color: var(--coral); }

/* ---------- Üst menü ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--navy); color: var(--bone); border-bottom: 1px solid var(--line-d); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo-text { font: 700 24px/1 var(--display); letter-spacing: -.03em; white-space: nowrap; }
.logo-text span { font-weight: 400; }
.menu-toggle { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 4px; border: 0; background: none; color: inherit; font: 500 16px var(--body); cursor: pointer; }
.menu-toggle-bars { width: 22px; height: 10px; border-block: 2px solid currentColor; transition: height .2s; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars { height: 2px; border-bottom: 0; }
.main-nav { display: none; }
.main-nav.is-open { position: absolute; inset: 100% 0 auto; display: flex; flex-direction: column; max-height: calc(100vh - 76px); max-height: calc(100dvh - 76px); overflow-y: auto; padding: 12px 24px 32px; background: var(--navy); border-bottom: 1px solid var(--line-d); }
.main-nav a { display: flex; align-items: center; min-height: 48px; font-weight: 500; color: var(--mut-d); }
.main-nav a:hover, .main-nav a[aria-current] { color: var(--bone); }
.nav-group { display: grid; grid-template-columns: 1fr 48px; }
.nav-caret { display: grid; place-items: center; min-height: 44px; border: 0; background: none; color: var(--mut-d); cursor: pointer; }
.nav-caret svg { transition: transform .2s; }
.nav-group.is-open .nav-caret svg { transform: rotate(180deg); }
.nav-panel { display: none; grid-column: 1 / -1; padding: 8px 0 16px 20px; border-left: 1px solid var(--line-d); gap: 20px; }
.nav-group.is-open .nav-panel { display: grid; }
.nav-panel a { min-height: 44px; }
.nav-panel .label a { font-weight: 500; min-height: 0; }

@media (min-width: 960px) {
    .menu-toggle { display: none; }
    .main-nav, .main-nav.is-open { position: static; display: flex; flex-direction: row; align-items: center; gap: 30px; max-height: none; overflow: visible; padding: 0; border: 0; font-size: 16px; }
    .nav-group { position: relative; display: flex; align-items: center; }
    .nav-caret { width: 32px; }
    .nav-panel { position: absolute; top: 100%; right: -120px; padding: 28px; width: 520px; grid-template-columns: 1fr 1fr; background: var(--navy-2); border: 1px solid var(--line-d); border-radius: 6px; }
    .nav-group:hover .nav-panel { display: grid; }
    .nav-panel .label { padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px solid var(--line-d); }
    .nav-panel > div > a { min-height: 40px; line-height: 1.3; color: var(--bone); }
    .nav-panel > div > a:hover { color: var(--coral); }
    .nav-cta { padding: 0 22px; border: 1px solid #5E7A99; border-radius: 999px; color: var(--bone) !important; min-height: 44px !important; }
    .nav-cta:hover { border-color: var(--coral); }
}

/* ---------- Açılışlar ---------- */
.home-hero, .page-hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px 64px; align-items: center; padding-block: clamp(48px, 6vw, 96px); }
.home-hero h1 { font-size: clamp(44px, 7vw, 100px); line-height: .96; }
.page-hero-single h1 { max-width: 12em; }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 10px; font: 400 14px/1.8 var(--mono); color: var(--mut-d); }
.crumbs a:hover { color: var(--bone); }
.crumbs [aria-current] { color: var(--coral); }
.svg-mono { font: 400 12px var(--mono); letter-spacing: .06em; }
.paths { border-top: 1px solid var(--line-d); }
.paths .wrap { display: grid; grid-template-columns: minmax(0, 1fr); }
.paths a { display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; align-items: center; padding: 28px 0; transition: color .2s; }
.paths a + a { border-top: 1px solid var(--line-d); }
.paths strong { grid-column: 1; font: 700 clamp(20px, 2vw, 26px)/1.2 var(--display); letter-spacing: -.01em; }
.paths i { grid-column: 2; grid-row: 1 / 3; font-style: normal; font-size: 24px; color: var(--coral); transition: transform .2s; }
.paths a:hover { color: var(--coral); }
.paths a:hover i { transform: translateX(6px); }

/* ---------- Hizmet satırları ---------- */
.service-rows { border-bottom: 1px solid var(--ink); }
.service-row { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px 0; align-items: baseline; padding: 32px 0; border-top: 1px solid var(--line-l); transition: background-color .2s; }
.service-row:first-child { border-top-color: var(--ink); }
.service-row strong { font: 700 clamp(26px, 2.6vw, 38px)/1.05 var(--display); letter-spacing: -.02em; transition: color .2s; }
.service-row:hover strong { color: var(--coral-deep); }
.service-text { grid-column: 2; color: var(--mut-l); }
.tags { grid-column: 2; display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { padding: 6px 12px; border: 1px solid var(--line-l); border-radius: 999px; font-size: 14px; line-height: 1.3; color: var(--mut-l); }

/* ---------- Ürün listesi ---------- */
.product-list { border-bottom: 1px solid var(--line-l); }
.product-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 20px; align-items: center; padding: 18px 0; border-top: 1px solid var(--line-l); transition: color .2s; }
.product-list strong { font: 600 22px/1.25 var(--display); }
.product-list span { grid-column: 1; color: var(--mut-l); font-size: 16px; }
.product-list i { grid-column: 2; grid-row: 1 / 3; font-style: normal; transition: transform .2s; }
.product-list a:hover { color: var(--coral-deep); }
.product-list a:hover i { transform: translateX(6px); }
.band-dark .product-list, .band-dark .product-list a { border-color: var(--line-d); }
.band-dark .product-list span { color: var(--mut-d); }
.band-dark .product-list a:hover { color: var(--coral); }

/* ---------- Özellik, adım, rakam ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 0 40px; }
.feature { padding: 26px 0 40px; border-top: 1px solid var(--ink); }
.feature p { margin-top: 12px; color: var(--mut-l); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 40px 32px; }
.steps li { padding-top: 20px; border-top: 2px solid var(--ink); }
.steps h3 { margin: 12px 0; }
.steps p { color: var(--mut-l); }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; padding-block: clamp(48px, 6vw, 80px); }
.stats strong { display: block; font: 800 clamp(44px, 5vw, 72px)/1.1 var(--display); letter-spacing: -.03em; }
.stats span { color: var(--mut-l); }
.sample-note { grid-column: 1 / -1; font: 500 13px var(--mono); color: var(--coral-deep); }

/* ---------- Hizmet ayrıntısı ---------- */
.jump { background: var(--navy-2); color: var(--bone); }
.jump .wrap { display: flex; gap: 8px 36px; overflow-x: auto; }
.jump a { display: inline-flex; align-items: center; gap: 10px; min-height: 60px; white-space: nowrap; font-weight: 500; }
.jump a:hover, .jump .num { color: var(--coral); }
.service-scope { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px 72px; margin-top: clamp(48px, 6vw, 88px); }
.service-scope .label, .agenda + .label { color: var(--mut-l); margin-bottom: 16px; }
.scope-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 0 40px; }
.scope-list div { padding: 20px 0; border-top: 1px solid var(--line-l); }
.scope-list dt { font: 600 20px/1.3 var(--display); margin-bottom: 6px; }
.scope-list dd { color: var(--mut-l); }
.check-list li { position: relative; padding: 14px 0 14px 32px; border-top: 1px solid var(--line-l); }
.check-list li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 14px; height: 8px; border: solid var(--coral-deep); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.band-dark .check-list li { border-color: var(--line-d); }
.band-dark .check-list li::before { border-color: var(--coral); }

/* ---------- Sorular ve çağrı ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px 72px; }
.faq details { border-top: 1px solid var(--ink); }
.faq details:last-child { border-bottom: 1px solid var(--ink); }
.faq summary { display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; font: 600 20px/1.35 var(--display); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; color: var(--coral-deep); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 24px; max-width: 38em; color: var(--mut-l); }
.cta { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px 72px; align-items: end; padding-block: clamp(64px, 8vw, 120px); }
.cta h2 { font-weight: 800; font-size: clamp(38px, 5.2vw, 76px); line-height: .98; letter-spacing: -.035em; }
.cta p { max-width: 28em; font-size: 18px; }

/* ---------- Alt bilgi ---------- */
.site-footer { background: var(--navy); color: var(--bone); padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 40px 32px; }
.footer-grid .label { margin-bottom: 10px; }
.footer-grid a, .footer-grid address span { display: flex; align-items: center; min-height: 40px; }
.footer-grid a:hover { color: var(--coral); }
.footer-grid address { margin-top: 12px; font-style: normal; }
.footer-brand p { margin-top: 16px; color: var(--mut-d); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-d); font-size: 14px; color: var(--mut-d); }

/* ---------- Maketler ---------- */
.mock-window { background: #fff; color: var(--ink); border-radius: 10px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.mock-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; padding: 18px 22px; background: var(--bone); border-bottom: 1px solid var(--line-l); }
.mock-bar strong { font: 700 19px var(--display); }
.mock-bar span { font: 400 12px var(--mono); color: var(--mut-l); }
.mock-scroll { overflow-x: auto; }
.mock table { width: 100%; min-width: 400px; border-collapse: collapse; font-size: 16px; font-variant-numeric: tabular-nums; }
.mock th { padding: 12px 22px; text-align: left; font: 400 13px var(--mono); color: var(--mut-l); }
.mock td { padding: 16px 22px; border-top: 1px solid var(--bone-2); color: var(--mut-l); white-space: nowrap; }
.mock td b { font-weight: 600; color: var(--ink); }
.mock .is-selected td { background: #FFF0EC; }
.mock .is-selected td:first-child { box-shadow: inset 4px 0 var(--coral); }
.mock-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 22px; background: var(--bone); border-top: 1px solid var(--line-l); }
.mock-chips span { padding: 6px 10px; border-radius: 4px; background: var(--bone-2); font: 400 13px/1.3 var(--mono); color: #43505E; }
.mock-chips .on { background: var(--navy); color: var(--bone); }
.mock-note { margin-top: 14px; font-size: 14px; color: var(--mut-d); }
.mock-lines li { display: flex; justify-content: space-between; gap: 20px; padding: 16px 22px; border-top: 1px solid var(--bone-2); font-size: 16px; font-variant-numeric: tabular-nums; }
.mock-lines li:first-child { border-top: 0; }
.mock-lines li > b { white-space: nowrap; }
.mock-lines span b { margin-right: 8px; }
.mock-lines em { font-style: normal; color: #1D6B4C; font-weight: 600; }
.mock-lines .total { background: #FFF0EC; font-weight: 700; }
.approval { padding: 24px 22px; }
.approval li { position: relative; padding: 0 0 22px 36px; }
.approval li:last-child { padding-bottom: 0; }
.approval li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border: 2px solid #8793A0; border-radius: 50%; background: #fff; z-index: 1; }
.approval li:not(:last-child)::after { content: ""; position: absolute; left: 9px; top: 20px; bottom: -4px; width: 2px; background: var(--line-l); }
.approval .done::before { background: var(--navy); border-color: var(--navy); }
.approval .now::before { background: var(--coral); border-color: var(--coral); }
.approval b, .approval span { display: block; line-height: 1.4; }
.approval span { color: var(--mut-l); font-size: 16px; }
.tree { padding: clamp(16px, 2vw, 24px); background: var(--navy-2); border: 1px solid var(--line-d); border-radius: 10px; display: grid; gap: 12px; }
.tree-level { display: grid; gap: 10px; margin-left: clamp(8px, 2vw, 28px); padding-left: clamp(12px, 2vw, 20px); border-left: 1px solid #3A587C; }
.tree-node { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 14px; padding: 13px 16px; border: 1px solid var(--line-d); border-radius: 6px; font-size: 16px; }
.tree-node strong { font-weight: 600; }
.tree-node span { font-size: 15px; color: var(--mut-d); }
.tree-node .hot { color: var(--coral); }
.tree-root { background: var(--bone); color: var(--ink); }
.tree-root span { color: var(--mut-l); }
.mock-phone { display: grid; justify-items: center; }
.phone { width: min(310px, 100%); padding: 36px 24px 28px; background: var(--bone); color: var(--ink); border: 8px solid #253B57; border-radius: 40px; }
.phone .label { color: var(--mut-l); }
.phone-route { margin: 8px 0 24px; font: 800 44px/1 var(--display); letter-spacing: -.03em; }
.phone-route span { color: var(--coral-deep); }
.phone dl { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 20px 0; border-block: 1px solid var(--line-l); }
.phone dt { font-size: 14px; color: var(--mut-l); }
.phone dd { font: 700 22px/1.2 var(--display); }
.phone-code { height: 72px; margin: 24px 0; background: repeating-linear-gradient(90deg, var(--ink) 0 3px, transparent 3px 6px, var(--ink) 6px 7px, transparent 7px 12px, var(--ink) 12px 17px, transparent 17px 20px); }
.phone-alert { padding: 14px 16px; background: var(--navy); color: var(--bone); border-radius: 12px; font-size: 15px; line-height: 1.4; }
.phone-alert b { display: block; color: var(--coral); }
.agenda li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--line-d); }
.agenda .label { margin-bottom: 14px; }
.agenda time { font: 400 15px var(--mono); color: var(--mut-d); }
.agenda em { font-style: normal; font-size: 15px; color: var(--mut-d); }
.agenda .is-key span { font-weight: 600; color: var(--coral); }

/* ---------- Geniş ekran ---------- */
@media (min-width: 960px) {
    .split, .home-hero, .page-hero:not(.page-hero-single), .cta { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .home-hero { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
    .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .paths .wrap { grid-template-columns: 1fr 1fr; }
    .paths a:first-child { padding-right: 40px; }
    .paths a + a { border-top: 0; border-left: 1px solid var(--line-d); padding-left: 40px; }
    .service-row { grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 1.1fr) minmax(0, 1fr); gap: 0 32px; }
    .service-text, .tags { grid-column: auto; }
    .service-scope { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
    .faq { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
}
@media (max-width: 959px) { .split-flip .visual { order: 2; } }

/* ---------- Hareket ---------- */
@media (prefers-reduced-motion: no-preference) {
    .route-live path { stroke-dasharray: 1; animation: draw 1.4s ease-out both; }
    @keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
    @supports (animation-timeline: view()) {
        .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
        @keyframes rise { from { opacity: .35; transform: translateY(20px); } to { opacity: 1; transform: none; } }
    }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
