/* SotsTech CV — üst menü (masaüstü: satır içi, mobil: sağdan açılan çekmece) + AI özet penceresi */

/* ================= üst menü: masaüstü ================= */
.site-header {
  position: sticky; top: 0; z-index: 40; isolation: isolate; padding: 0; background: none; border-bottom: 0;
  box-shadow: 0 1px 0 rgba(15, 20, 50, .06), 0 10px 28px -16px rgba(15, 20, 50, .22);
  transition: box-shadow .25s ease;
}
/* cam efekti header'ın kendisine değil ::before'a verilir; böylece mobildeki sabit (fixed) çekmece bozulmaz */
.site-header::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .80));
  -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px);
}
.site-header::after {            /* altta ince renkli parlama çizgisi (sadece sayfa kayınca) */
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(47, 84, 224, .45), rgba(106, 77, 224, .45), transparent);
  opacity: 0; transition: opacity .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 rgba(15, 20, 50, .08), 0 16px 36px -16px rgba(15, 20, 50, .34); }
.site-header.is-scrolled::after { opacity: 1; }
.site-header .bar { max-width: 1240px; height: 68px; margin: 0 auto; padding: 0 24px; gap: 8px; border: 0; border-radius: 0; background: none; box-shadow: none; }

.brandline { display: flex; align-items: center; gap: 0; min-width: 0; flex: none; }
.logo-mark { display: grid; place-items: center; width: 42px; height: 42px; overflow: hidden; margin-right: 12px; border-radius: 13px; background: linear-gradient(145deg, #2f54e0, #1b2f9e); color: #fff; font: 700 12.5px var(--ui); letter-spacing: .02em; text-decoration: none; box-shadow: 0 4px 12px -2px rgba(47, 84, 224, .5); }
.logo-mark:hover { color: #fff; }
.site-header .brand { font: 700 1.05rem var(--ui); letter-spacing: -.015em; color: var(--ink); white-space: nowrap; text-decoration: none; }
.brand-cv { font: 700 1.05rem var(--ui); color: var(--accent); margin-left: 5px; white-space: nowrap; text-decoration: none; }
.brand-cv:hover { color: var(--accent-dark); }

.site-header nav { display: flex; align-items: center; flex: 1; min-width: 0; gap: 6px; margin-left: 22px; }
.nav-head, .nav-scrim, .menu-btn, .nav-user { display: none; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-end { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-end form { margin: 0; }

.site-header nav .nl, .site-header nav .linklike {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 13px; border: 0; border-radius: 10px;
  background: none; color: #3b435a; font: 500 .9rem var(--ui); text-decoration: none; cursor: pointer; white-space: nowrap;
}
.site-header nav .nl:hover, .site-header nav .linklike:hover { background: var(--soft); color: var(--ink); }
.site-header nav .nl.on { background: var(--accent-soft); color: var(--accent); box-shadow: inset 0 0 0 1px rgba(47, 84, 224, .16); }
.site-header nav .ic { display: none; }

.lang-pill { display: flex; gap: 2px; padding: 3px; border-radius: 11px; background: var(--soft); border: 1px solid var(--line); }
.site-header nav .lang-pill a { display: flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 8px; font: 600 .75rem var(--ui); letter-spacing: .04em; color: #4a526b; text-decoration: none; }
.site-header nav .lang-pill a:hover { background: #fff; color: var(--ink); }
.site-header nav .lang-pill a.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(15, 20, 50, .14); }

.site-header nav a.nav-cta {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 18px; margin-left: 4px; border-radius: 11px;
  background: var(--navy); color: #fff; font: 600 .9rem var(--ui); text-decoration: none; white-space: nowrap;
  box-shadow: 0 10px 22px -8px rgba(11, 18, 38, .6), inset 0 1px 0 rgba(255, 255, 255, .12);
  transition: box-shadow .2s ease, background .2s ease;
}
.site-header nav a.nav-cta:hover { background: #18224a; color: #fff; }
.site-header nav a.nav-cta .ic { display: block; opacity: .85; }

.hdr-right { display: flex; align-items: center; gap: 8px; margin-left: 8px; flex: none; }
.hdr-right:empty { display: none; }

/* ---- AI düğmesi ---- */
.ai-btn {
  display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 15px; border-radius: 11px; border: 0;
  background: linear-gradient(135deg, #2f54e0, #6a4de0); color: #fff; cursor: pointer; font: 600 .875rem var(--ui); white-space: nowrap;
  box-shadow: 0 10px 22px -8px rgba(80, 70, 220, .65), inset 0 1px 0 rgba(255, 255, 255, .28);
  transition: box-shadow .2s ease, filter .2s ease;
}
.ai-btn:hover { filter: brightness(1.07); box-shadow: 0 14px 28px -8px rgba(80, 70, 220, .75), inset 0 1px 0 rgba(255, 255, 255, .32); }
.ai-btn .spark { font-size: .95rem; line-height: 1; }
.ai-btn .l-short { display: none; }

/* çok dar telefonlar: başlık sığsın */
@media (max-width: 380px) {
  .site-header .bar { padding: 0 10px; gap: 6px; }
  .brand-cv { display: none; }
  .hdr-right { gap: 6px; }
}

/* CV işlemleri (PDF, kopyala, WhatsApp, paylaş, QR): yalnızca mobil menüde görünür */
.nav-cv { display: none; }

/* ================= mobil: çekmece ================= */
@media (max-width: 899px) {
  .site-header::before { background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .88)); }
  .site-header .bar { height: 60px; padding: 0 14px; }
  .logo-mark { width: 38px; height: 38px; margin-right: 10px; border-radius: 12px; }
  .site-header .brand, .brand-cv { font-size: .95rem; letter-spacing: -.02em; }
  .brand-cv { margin-left: 4px; }
  .site-header nav { margin: 0; }

  .hdr-right { margin-left: auto; }
  .ai-btn { height: 40px; padding: 0 12px; gap: 6px; }
  .ai-btn .l-long { display: none; }
  .ai-btn .l-short { display: inline; }

  .menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer;
    box-shadow: 0 1px 2px rgba(15, 20, 50, .06), 0 8px 16px -10px rgba(15, 20, 50, .35); transition: box-shadow .2s ease, background .2s ease; }
  .menu-btn:hover { background: var(--soft); }
  .menu-btn:active { box-shadow: 0 1px 2px rgba(15, 20, 50, .1); }
  .menu-btn .bars, .menu-btn .bars::before, .menu-btn .bars::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; content: ''; position: relative; }
  .menu-btn .bars::before { position: absolute; top: -6px; left: 0; }
  .menu-btn .bars::after { position: absolute; top: 6px; left: 0; }

  .site-header nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 3; width: min(88vw, 360px); flex: none;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    padding: 0 16px calc(20px + env(safe-area-inset-bottom)); background: #fff; overflow-y: auto; overscroll-behavior: contain;
    border-radius: 24px 0 0 24px; box-shadow: -18px 0 50px rgba(15, 20, 50, .28);
    transform: translateX(105%); visibility: hidden; transition: transform .3s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .3s;
  }
  .site-header.nav-open nav { transform: none; visibility: visible; transition-delay: 0s; }

  .nav-head { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 1; background: #fff; padding: 14px 0 10px; }
  .nav-head strong { font: 700 1.05rem var(--ui); }
  .nav-x { display: grid; place-items: center; width: 40px; height: 40px; border: 0; background: var(--soft); border-radius: 12px; cursor: pointer; color: var(--ink); }
  .nav-x:hover { background: var(--line); }

  .nav-user { display: flex; align-items: center; gap: 12px; margin: 4px 0 12px; padding: 12px; border-radius: 16px; background: var(--soft); border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
  .nav-user .av { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: #fff; font: 700 1rem var(--ui); }
  .nav-user .who { display: flex; flex-direction: column; min-width: 0; }
  .nav-user strong { font: 600 .98rem var(--ui); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .nav-user small { color: var(--muted); font-size: .8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

  .nav-links { flex-direction: column; align-items: stretch; gap: 2px; }

  .nav-cv { display: flex; flex-direction: column; gap: 2px; margin: 10px 0 0; padding-top: 10px; border-top: 1px solid var(--line); }
  .nav-cv-h { margin: 0 0 4px; padding: 0 10px; font: 700 .74rem var(--ui); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
  .nav-cv [hidden] { display: none !important; }
  .site-header nav .nav-cv .nl::after { display: none; }
  .site-header nav .nav-cv .nl.is-done { color: #13804f; }
  .site-header nav .nav-cv .nl.is-done .ic { background: #e6f7ee; color: #13804f; }
  .nav-end { flex-direction: column; align-items: stretch; gap: 2px; margin: 8px 0 0; padding-top: 8px; border-top: 1px solid var(--line); }
  .nav-end form { display: block; }

  .site-header nav .nl, .site-header nav .linklike {
    display: flex; align-items: center; gap: 14px; width: 100%; height: auto; min-height: 52px; padding: 8px 10px; border-radius: 14px;
    font: 500 1rem var(--ui); color: var(--ink); text-align: left;
  }
  .site-header nav .ic { display: block; flex: none; box-sizing: content-box; width: 20px; height: 20px; padding: 9px; border-radius: 12px; background: var(--soft); color: #44507a; }
  .site-header nav .nl span, .site-header nav .linklike span { flex: 1; }
  .site-header nav .nl:not(.nl-login)::after { content: ''; width: 8px; height: 8px; border: solid #9aa2b8; border-width: 2px 2px 0 0; transform: rotate(45deg); margin-right: 6px; }
  .site-header nav .nl.on { background: var(--accent-soft); color: var(--accent); }
  .site-header nav .nl.on .ic { background: #fff; color: var(--accent); }
  .site-header nav .linklike { color: var(--danger); }
  .site-header nav .linklike .ic { background: #fdecea; color: var(--danger); }

  .lang-pill { align-self: stretch; margin: 12px 0 0; padding: 4px; border-radius: 14px; }
  .site-header nav .lang-pill a { flex: 1; justify-content: center; height: 38px; border-radius: 10px; font-size: .85rem; }

  .site-header nav a.nav-cta { height: 54px; margin: 12px 0 0; padding: 0 20px; border-radius: 16px; justify-content: space-between; font-size: 1rem; background: var(--accent); box-shadow: 0 12px 24px -10px rgba(47, 84, 224, .7); }
  .site-header nav a.nav-cta:hover { background: var(--accent-dark); }

  .nav-scrim { display: block; position: fixed; inset: 0; z-index: 2; background: rgba(11, 18, 38, .5); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); opacity: 0; pointer-events: none; transition: opacity .25s; }
  .site-header.nav-open .nav-scrim { opacity: 1; pointer-events: auto; }
}
body.nav-lock { overflow: hidden; }

/* ================= AI özet penceresi ================= */
.ai-modal [hidden] { display: none !important; }
.ai-modal { position: fixed; inset: 0; z-index: 70; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(22, 26, 34, .5); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); animation: ai-fade .2s ease; }
.ai-modal[hidden] { display: none; }
.ai-card {
  display: flex; flex-direction: column; width: 100%; max-width: 620px; max-height: min(88vh, 760px); max-height: min(88dvh, 760px);
  background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 24px 64px rgba(22, 26, 34, .32);
  animation: ai-pop .26s cubic-bezier(.2, .8, .2, 1);
}
@keyframes ai-fade { from { opacity: 0; } }
@keyframes ai-pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }

.ai-head { display: flex; align-items: center; gap: 12px; padding: 18px 18px 14px 20px; border-bottom: 1px solid var(--line); }
.ai-badge { flex: none; display: block; width: 40px; height: 40px; border-radius: 12px; object-fit: cover; background: var(--soft); }
.ai-titles { flex: 1; min-width: 0; }
.ai-head h2 { margin: 0; font: 700 1.2rem/1.25 var(--ui); letter-spacing: -.01em; }
.ai-sub { margin: 2px 0 0; font: 500 .85rem var(--ui); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ai-x { flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--soft); color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.ai-x:hover { background: var(--line); }

.ai-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 20px 22px 8px; }

/* sonuç metni */
.ai-result { font: 400 1.05rem/1.75 var(--serif); color: var(--ink); max-width: 62ch; }
.ai-result p { margin: 0 0 1em; }
.ai-result p.lead { font-size: 1.16rem; line-height: 1.65; padding-bottom: 1em; margin-bottom: 1.1em; border-bottom: 1px solid var(--line); }
.ai-result h3 { margin: 1.5em 0 .5em; font: 700 1rem/1.3 var(--ui); color: var(--accent-dark); }
.ai-result h3:first-child { margin-top: 0; }
.ai-result ul { list-style: none; margin: 0 0 1em; padding: 0; }
.ai-result li { position: relative; margin: 0 0 .6em; padding-left: 1.4em; }
.ai-result li::before { content: ''; position: absolute; left: .2em; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.ai-result strong { font-weight: 700; }

/* yükleniyor */
.ai-loading { padding-bottom: 14px; }
.ai-loading-t { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; color: var(--muted); font: 500 .95rem var(--ui); }
.ai-spin { flex: none; width: 20px; height: 20px; border: 3px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: ai-rot .8s linear infinite; }
@keyframes ai-rot { to { transform: rotate(360deg); } }
.ai-skel i { display: block; height: 12px; margin-bottom: 12px; border-radius: 6px; background: linear-gradient(90deg, var(--soft) 25%, #e9ecf3 50%, var(--soft) 75%); background-size: 200% 100%; animation: ai-shim 1.4s ease-in-out infinite; }
.ai-skel i.s { width: 60%; }
@keyframes ai-shim { to { background-position: -200% 0; } }

.ai-err { margin-bottom: 14px; color: #7a1913; background: #fdecea; border: 1px solid #f3b5b0; border-radius: 12px; padding: 12px 14px; font: 500 .95rem/1.5 var(--ui); }

/* alt çubuk */
.ai-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px; padding: 12px 18px calc(14px + env(safe-area-inset-bottom)) 22px; border-top: 1px solid var(--line); background: #fff; }
.ai-meta { flex: 1 1 200px; margin: 0; font: 400 .78rem/1.45 var(--ui); color: var(--muted); }
.ai-actions { display: flex; gap: 8px; margin-left: auto; }

@media (max-width: 639px) {
  .ai-modal { align-items: flex-end; padding: 0; }
  .ai-card { max-width: none; max-height: 90vh; max-height: 90dvh; border-radius: 22px 22px 0 0; animation-name: ai-sheet; }
  .ai-head { position: relative; padding-top: 24px; }
  .ai-head::before { content: ''; position: absolute; top: 8px; left: 50%; width: 38px; height: 4px; margin-left: -19px; border-radius: 4px; background: var(--line); }
  .ai-body { padding: 18px 18px 6px; }
  .ai-result { font-size: 1.04rem; }
  .ai-result p.lead { font-size: 1.12rem; }
  .ai-foot { padding-left: 18px; }
  .ai-actions { width: 100%; }
  .ai-actions .btn { flex: 1; }
}
@keyframes ai-sheet { from { transform: translateY(100%); } }

@media (prefers-reduced-motion: reduce) {
  .site-header nav, .nav-scrim, .ai-modal, .ai-card { transition: none !important; animation: none !important; }
  .ai-skel i, .ai-spin { animation-duration: 3s; }
}
@media print { .ai-modal, .nav-scrim, .menu-btn, .nav-cv { display: none !important; } }/* logo: net kalsın diye hedef boyuta (42/84/126 px) önceden küçültülmüş dosyalar kullanılır; filtre/transform YOK */
.logo-mark img { display: block; width: 100%; height: 100%; object-fit: cover; image-rendering: auto; }
.logo-mark:has(img) { background: #000; box-shadow: 0 0 0 1px rgba(15, 20, 50, .12), 0 8px 18px -6px rgba(20, 30, 80, .45); transition: box-shadow .2s ease; }
.logo-mark:has(img):hover { box-shadow: 0 0 0 1px rgba(47, 84, 224, .45), 0 10px 22px -6px rgba(47, 84, 224, .55); }
.foot-brand .logo-mark { width: 34px; height: 34px; border-radius: 10px; }

/* ================= mobil alt menü (uygulama tarzı, ekranda sabit) ================= */
.tabbar { display: none; }
@media (max-width: 899px) {
  body.tb-on { --tb-h: 76px; --tb-gap: 12px; padding-bottom: calc(var(--tb-h) + var(--tb-gap) + 16px + env(safe-area-inset-bottom)); }
  body.tb-on .tabbar {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch;
    position: fixed; left: 50%; bottom: calc(var(--tb-gap) + env(safe-area-inset-bottom)); z-index: 30;
    width: min(calc(100% - 24px), 520px); height: var(--tb-h); margin: 0; padding: 6px 4px; transform: translateX(-50%);
    border: 1px solid var(--tb-line, var(--line)); border-radius: 26px;
    background: var(--tb-bg, rgba(255, 255, 255, .94)); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
    box-shadow: 0 18px 40px -16px rgba(15, 30, 22, .45), 0 2px 6px rgba(15, 30, 22, .06);
    -webkit-tap-highlight-color: transparent;
  }
  .tabbar .tb {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-width: 0; padding: 0 2px;
    color: var(--tb-ink, var(--ink)); text-decoration: none; font: 500 clamp(.6rem, 2.9vw, .72rem)/1.15 var(--ui);
    transition: transform .25s cubic-bezier(.22, 1, .36, 1);
  }
  .tabbar .tb + .tb::before { content: ''; position: absolute; left: 0; top: 18%; bottom: 18%; width: 1px; background: var(--tb-line, var(--line)); }
  .tabbar .tb .ic { box-sizing: content-box; width: 22px; height: 22px; padding: 4px 14px; border-radius: 14px; transition: background .25s ease, color .25s ease; }
  .tabbar .tb span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tabbar .tb:active { transform: scale(.94); }
  .tabbar .tb.on { font-weight: 700; color: var(--tb-on, var(--accent)); }
  .tabbar .tb.on .ic { background: var(--tb-soft, var(--accent-soft)); }
  .tabbar .tb:focus-visible { outline: 2px solid var(--tb-on, var(--accent)); outline-offset: -4px; border-radius: 20px; }

  /* sabit alt çubukların menünün üstünde kalması */
  body.tb-on .privacy-bar { bottom: calc(var(--tb-h) + var(--tb-gap) + 10px + env(safe-area-inset-bottom)) !important; }
  body.tb-on .savebar { bottom: calc(var(--tb-h) + var(--tb-gap) + 8px + env(safe-area-inset-bottom)) !important; left: 12px; right: 12px; width: auto; border: 1px solid var(--line); border-radius: 18px; }
  /* klavye açılınca menü gizlenir (form yazarken yer kaplamasın) */
  body.kb-open .tabbar { display: none !important; }
  body.kb-open.tb-on { padding-bottom: 0; }
  body.kb-open.tb-on .savebar { bottom: 0 !important; left: 0; right: 0; border-radius: 18px 18px 0 0; }
}
@media print { .tabbar { display: none !important; } }

/* =====================================================================
   MOBİL ÇERÇEVE — üst menü + sabit alt menü (tüm telefon genişliklerinde aynı görünüm, <= 899px)
   ===================================================================== */
body { --tb-ink: #1d3a2b; --tb-on: #1d3a2b; --tb-soft: #dcebc2; --tb-line: #e3e0d2; --tb-bg: rgba(255, 254, 251, .94); }
html body .logo-mark:has(img) { background: none; box-shadow: 0 8px 18px -8px rgba(18, 48, 40, .6); }
html body .logo-mark:has(img):hover { box-shadow: 0 10px 22px -8px rgba(18, 48, 40, .7); }

@media (max-width: 899px) {
  html body .site-header { box-shadow: none; }
  html body .site-header::before { background: linear-gradient(180deg, rgba(245, 243, 234, .96), rgba(245, 243, 234, .82)); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  html body .site-header::after { display: none; }
  html body .site-header .bar { height: 72px; padding: 0 16px; }
  html body .logo-mark { width: 46px; height: 46px; margin-right: 12px; border-radius: 14px; }
  html body .site-header .brand { font: 700 clamp(1.02rem, 4.9vw, 1.2rem) "Inter", "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; letter-spacing: -.025em; color: #12241a; }
  html body .brand-cv { display: inline; margin-left: 5px; font: 600 clamp(1.02rem, 4.9vw, 1.2rem) "Inter", "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #5a8a49; }
  html body .menu-btn { width: 48px; height: 48px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 10px 24px -10px rgba(18, 48, 40, .4), 0 1px 3px rgba(18, 48, 40, .08); }
  html body .menu-btn:hover { background: #fff; }
  html body .menu-btn .bars, html body .menu-btn .bars::before, html body .menu-btn .bars::after { background: #12241a; }
  body.cvpage .brand-cv { display: none; }

  /* ---- yandan açılan menü: 2 sütunlu kutucuklar ---- */
  html body .site-header nav { width: min(92vw, 400px); padding: 0 16px calc(24px + env(safe-area-inset-bottom)); background: rgba(247, 246, 240, .93); -webkit-backdrop-filter: blur(24px) saturate(1.4); backdrop-filter: blur(24px) saturate(1.4); border-radius: 28px 0 0 28px; }
  html body .nav-head { background: transparent; padding: 20px 0 14px; }
  html body .nav-head strong { position: relative; font: 800 1.55rem "Inter", "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; letter-spacing: -.03em; color: #12241a; }
  html body .nav-head strong::after { content: ""; position: absolute; left: 0; bottom: -8px; width: 34px; height: 3px; border-radius: 3px; background: #5a8a49; }
  html body .nav-x { background: rgba(255, 255, 255, .85); color: #12241a; box-shadow: 0 4px 12px -6px rgba(18, 48, 40, .35); }

  html body .nav-user { margin: 14px 0 14px; padding: 14px; gap: 14px; border: 0; border-radius: 20px; background: linear-gradient(135deg, #1d3a2b, #264c38); color: #fff; box-shadow: 0 16px 28px -18px rgba(29, 58, 43, .9); position: relative; }
  html body .nav-user .av { width: 48px; height: 48px; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); font-size: 1.1rem; }
  html body .nav-user strong { font-size: 1.02rem; }
  html body .nav-user small { color: rgba(255, 255, 255, .72); }
  html body .nav-user::after { content: ""; flex: none; width: 8px; height: 8px; margin: 0 6px 0 auto; border: solid rgba(255, 255, 255, .7); border-width: 2px 2px 0 0; transform: rotate(45deg); }
  html body .nav-user .who { flex: 1; }

  html body .nav-links, html body .nav-cv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  html body .nav-links { margin-top: 14px; }
  html body .nav-cv { margin-top: 18px; padding-top: 0; border-top: 0; }
  html body .nav-cv-h { grid-column: 1 / -1; margin: 0 0 0; padding: 0 2px; font: 700 .72rem "Inter", "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; letter-spacing: .08em; color: #5d695f; }
  html body .site-header nav .nl, html body .site-header nav .linklike {
    min-height: 62px; padding: 8px 10px; gap: 10px; border-radius: 16px; background: rgba(255, 255, 255, .72); border: 1px solid rgba(255, 255, 255, .95);
    box-shadow: 0 8px 18px -14px rgba(18, 48, 40, .5); font: 600 .84rem/1.2 "Inter", "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #12241a; min-width: 0;
  }
  html body .site-header nav .ic { width: 18px; height: 18px; padding: 9px; border-radius: 12px; background: #e8ece4; color: #1d3a2b; }
  html body .site-header nav .nl span, html body .site-header nav .linklike span { min-width: 0; overflow-wrap: anywhere; }
  html body .site-header nav .nl:not(.nl-login)::after { width: 6px; height: 6px; margin-right: 2px; border-color: #9aa59a; }
  html body .site-header nav .nl.on { background: #ecf4dc; color: #1d3a2b; box-shadow: inset 0 0 0 1.5px rgba(90, 138, 73, .35); }
  html body .site-header nav .nl.on .ic { background: #fff; color: #1d3a2b; }

  html body .nav-end { display: flex; flex-direction: column; align-items: stretch; margin-top: 16px; padding-top: 0; border-top: 0; gap: 12px; }
  html body .site-header nav .linklike { min-height: 58px; background: rgba(253, 236, 234, .85); border-color: rgba(243, 181, 176, .5); color: #b3261e; }
  html body .site-header nav .linklike .ic { background: #fbdcd8; color: #b3261e; }
  html body .lang-pill { align-self: flex-start; margin: 0; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .8); }
  html body .site-header nav .lang-pill a { flex: none; height: 34px; padding: 0 16px; border-radius: 999px; }
  html body .site-header nav a.nav-cta { background: #1d3a2b; }

  /* ana sayfadaki 4'lü şerit artık sabit alt menü: tekrar görünmesin */
  .px-dock { display: none !important; }

  html body .site-header nav a.nav-cta .cta-arrow { display: none; }
  html body .site-header nav a.nav-cta .cta-plus { display: inline-flex; }

  /* okunabilirlik: px.css'teki "a { color: inherit }" menüdeki bağlantı renklerini ezmesin; metinler her zaman sığsın */
  html body .site-header nav a.nav-user { color: #fff; }
  html body .site-header nav a.nav-user strong { color: #fff; }
  html body .site-header nav a.nav-user small { color: rgba(255, 255, 255, .78); }
  html body .site-header nav a.nl, html body .site-header nav button.nl { color: #12241a; }
  html body .site-header nav a.nl.on, html body .site-header nav .nl.on { color: #1d3a2b; }
  html body .site-header nav .nav-cv .nl.is-done { color: #13804f; }
  html body .site-header nav .linklike { color: #b3261e; }
  html body .site-header nav a.nav-cta { color: #fff; }
  html body .site-header nav .nl, html body .site-header nav .linklike { white-space: normal; font-size: clamp(.74rem, 3.5vw, .86rem); line-height: 1.22; }
  html body .site-header nav .nl span, html body .site-header nav .linklike span { flex: 1 1 0; min-width: 0; white-space: normal; overflow-wrap: break-word; hyphens: auto; }
  html body .nav-user .who strong, html body .nav-user .who small { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; }
}

/* çok dar telefonlar (≤360 px): kutucuklarda ok işareti kalkar, simge küçülür; böylece kelimeler bölünmeden sığar */
@media (max-width: 360px) {
  html body .site-header nav .nl, html body .site-header nav .linklike { gap: 8px; padding: 8px; }
  html body .site-header nav .nl:not(.nl-login)::after { display: none; }
  html body .site-header nav .ic { width: 16px; height: 16px; padding: 8px; border-radius: 11px; }
  html body .site-header nav .nl, html body .site-header nav .linklike { font-size: .74rem; }
}
