/* ==========================================================================
   SENTEZ PLASTİK — Dijital Kartvizit
   Tek stil dosyası: tema, rehber, kartvizit, QR ve yazdırma stilleri
   ========================================================================== */

:root {
  color-scheme: light;
  --bg: #f4f2ec;
  --bg-deep: #ece9e0;
  --surface: #fffdf8;
  --surface-2: #f0ede5;
  --surface-3: #e6e2d8;
  --ink: #12211e;
  --ink-soft: #40544f;
  --muted: #6d7f7a;
  --line: rgba(18, 33, 30, 0.11);
  --line-strong: rgba(18, 33, 30, 0.2);
  --brand: #0c5b4d;
  --brand-2: #0f7f67;
  --brand-ink: #ffffff;
  --brand-soft: #d9eee7;
  --accent: #d9663d;
  --accent-soft: #f8e5da;
  --gold: #b98a2f;
  --header-bg: rgba(244, 242, 236, 0.82);
  --hero-glow: rgba(15, 127, 103, 0.14);
  --card-sheen: rgba(255, 255, 255, 0.7);
  --shadow-sm: 0 2px 8px rgba(15, 40, 34, 0.04), 0 14px 34px rgba(15, 40, 34, 0.06);
  --shadow-md: 0 18px 50px -20px rgba(15, 40, 34, 0.28);
  --shadow-lg: 0 42px 100px -34px rgba(15, 40, 34, 0.42);
  --radius: 26px;
  --radius-sm: 16px;
  --wrap: 1180px;
  --font-sans: "Segoe UI Variable", "Segoe UI", ui-sans-serif, system-ui, -apple-system,
    "Helvetica Neue", Arial, sans-serif;
  --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, ui-serif, serif;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #091311;
  --bg-deep: #0d1917;
  --surface: #101e1b;
  --surface-2: #162823;
  --surface-3: #1d332d;
  --ink: #edf5f1;
  --ink-soft: #b8cbc4;
  --muted: #8ba39b;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.2);
  --brand: #62d4b1;
  --brand-2: #8ae8ca;
  --brand-ink: #06251e;
  --brand-soft: #163d33;
  --accent: #ff9366;
  --accent-soft: #2b1b14;
  --gold: #e0b35c;
  --header-bg: rgba(9, 19, 17, 0.84);
  --hero-glow: rgba(98, 212, 177, 0.12);
  --card-sheen: rgba(255, 255, 255, 0.06);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25), 0 14px 34px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 18px 50px -20px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 42px 100px -34px rgba(0, 0, 0, 0.8);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Aşama 3: Kartvizit görünümü koyu "sahne" üzerinde sunulur.
   Tema ne olursa olsun tutarlı ve şık görünmesi için değişkenler burada ezilir. */
body.kart-sayfasi,
html[data-rota="kisi"] body {
  min-height: 100vh;
  --bg: #060d0b;
  --bg-deep: #0a1512;
  --surface: #0f1d19;
  --surface-2: #14241f;
  --surface-3: #1b2f28;
  --ink: #eefaf5;
  --ink-soft: #b9d2c9;
  --muted: #86a39a;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.2);
  --brand: #3fd6a6;
  --brand-2: #63e6bd;
  --brand-ink: #04241c;
  --brand-soft: #123227;
  --accent: #ff9366;
  --accent-soft: #2b1b14;
  --header-bg: rgba(6, 13, 11, 0.72);
  background:
    radial-gradient(880px 520px at 14% -10%, rgba(63, 214, 166, 0.14), transparent 70%),
    radial-gradient(700px 460px at 92% 2%, rgba(255, 147, 102, 0.1), transparent 72%),
    var(--bg);
}

img,
svg {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
h4,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--brand);
  color: var(--brand-ink);
}

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.ikon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gorsel-gizli {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.atla {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-size: 13px;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.atla:focus {
  transform: none;
}

.sarici {
  width: min(calc(100% - 48px), var(--wrap));
  margin-inline: auto;
}

.ust-etiket {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nabiz {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 0 var(--brand);
  animation: nabiz 2.6s ease-out infinite;
}

@keyframes nabiz {
  0% {
    box-shadow: 0 0 0 0 rgba(15, 127, 103, 0.4);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(15, 127, 103, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(15, 127, 103, 0);
  }
}

/* --------------------------------------------------------------------------
   Üst menü
   -------------------------------------------------------------------------- */

.ust-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.ust-bar.kaydirildi {
  border-color: var(--line);
  box-shadow: 0 8px 30px -20px rgba(15, 40, 34, 0.4);
}

.ust-bar-ic {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 74px;
}

.kart-geri {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 650;
  transition: color 0.2s ease;
}

.kart-geri:hover {
  color: var(--brand);
}

.kart-geri .ikon {
  width: 16px;
  height: 16px;
}

.marka-orta {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.marka {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.marka-isaret {
  width: 38px;
  height: 38px;
  color: var(--brand);
}

.marka-yazi {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.marka-yazi strong {
  font-size: 15px;
  font-weight: 750;
  letter-spacing: 0.16em;
}

.marka-yazi small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.34em;
}

.ust-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.ust-nav a {
  position: relative;
  padding: 6px 0;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.ust-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  transition: right 0.25s ease;
}

.ust-nav a:hover,
.ust-nav a.aktif {
  color: var(--ink);
}

.ust-nav a:hover::after,
.ust-nav a.aktif::after {
  right: 0;
}

.ust-aksiyon {
  display: flex;
  align-items: center;
  gap: 10px;
}

.yuvarlak-btn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink-soft);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.yuvarlak-btn:hover {
  border-color: var(--brand);
  background: var(--brand);
  color: var(--brand-ink);
  transform: rotate(-8deg);
}

.tema-gunes {
  display: none;
}

[data-theme="dark"] .tema-gunes {
  display: block;
}

[data-theme="dark"] .tema-ay {
  display: none;
}

/* --------------------------------------------------------------------------
   Kahraman alanı
   -------------------------------------------------------------------------- */

.kahraman {
  position: relative;
  overflow: hidden;
  padding: clamp(52px, 7.5vw, 98px) 0 clamp(54px, 8vw, 100px);
}

.kahraman::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  height: 620px;
  background:
    radial-gradient(560px 360px at 72% 34%, var(--hero-glow), transparent 68%),
    radial-gradient(460px 300px at 92% 4%, rgba(217, 102, 61, 0.08), transparent 70%);
  pointer-events: none;
}

.kahraman::after {
  content: "";
  position: absolute;
  top: -210px;
  right: -180px;
  width: 620px;
  height: 620px;
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(18, 33, 30, 0.018), 0 0 0 140px rgba(18, 33, 30, 0.012);
  pointer-events: none;
}

.kahraman-ic {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.kahraman-metin h1 {
  max-width: 12ch;
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: clamp(52px, 6.8vw, 92px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.kahraman-metin h1 em {
  color: var(--brand);
  font-style: italic;
  white-space: nowrap;
}

.kahraman-aciklama {
  max-width: 50ch;
  margin-top: 24px;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.75;
}

.kahraman-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease,
    border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn .ikon {
  width: 17px;
  height: 17px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-birincil {
  background: var(--brand);
  color: var(--brand-ink);
  box-shadow: 0 12px 26px -14px rgba(12, 91, 77, 0.7);
}

.btn-birincil:hover {
  background: var(--brand-2);
  box-shadow: 0 16px 32px -14px rgba(12, 91, 77, 0.65);
}

.btn-hayalet {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.btn-hayalet:hover {
  border-color: var(--brand);
  background: var(--surface);
  color: var(--brand);
}

.istatistik {
  display: flex;
  gap: clamp(26px, 4vw, 44px);
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.istatistik dt {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.istatistik dd {
  margin-top: 3px;
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Kart yığını */

.kart-yigini {
  position: relative;
  height: 440px;
  perspective: 1300px;
}

.mini-kart {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 390px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform-origin: 50% 80%;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.mini-kart::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  background: linear-gradient(90deg, var(--kisi-renk, var(--brand)), transparent 85%);
}

.mini-kart::after {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: var(--kisi-renk, var(--brand));
  opacity: 0.08;
}

.mini-kart--0 {
  z-index: 3;
  transform: translate(-50%, -50%) translate(34px, 8px) rotate(4deg);
}

.mini-kart--1 {
  z-index: 2;
  transform: translate(-50%, -50%) translate(-24px, -4px) rotate(-8deg) scale(0.94);
  opacity: 0.94;
}

.mini-kart--2 {
  z-index: 1;
  transform: translate(-50%, -50%) translate(-78px, -14px) rotate(-18deg) scale(0.87);
  opacity: 0.72;
}

.kart-yigini:hover .mini-kart--0 {
  transform: translate(-50%, -50%) translate(44px, 0) rotate(6deg);
}

.kart-yigini:hover .mini-kart--1 {
  transform: translate(-50%, -50%) translate(-36px, -12px) rotate(-11deg) scale(0.94);
}

.kart-yigini:hover .mini-kart--2 {
  transform: translate(-50%, -50%) translate(-100px, -26px) rotate(-22deg) scale(0.87);
}

.mini-kart-ust {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.mini-kart-logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand);
  letter-spacing: 0.12em;
}

.mini-kart-logo .ikon {
  width: 22px;
  height: 22px;
}

.mini-kart-foto {
  position: relative;
  z-index: 1;
  width: 82px;
  height: 82px;
  margin-top: 30px;
  border: 3px solid var(--surface);
  border-radius: 50%;
  background: var(--surface-2);
  box-shadow: 0 0 0 1px var(--line), 0 12px 28px -14px rgba(15, 40, 34, 0.4);
  object-fit: cover;
}

.mini-kart-ad {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.mini-kart-unvan {
  position: relative;
  z-index: 1;
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 12px;
}

.mini-kart-sirket {
  position: relative;
  z-index: 1;
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mini-kart-alt {
  position: absolute;
  right: 24px;
  bottom: 22px;
  left: 24px;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.mini-kart-iletisim {
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.4;
}

.mini-kart-iletisim strong {
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 600;
}

.mini-qr {
  width: 58px;
  height: 58px;
  padding: 5px;
  border-radius: 7px;
  background: #fff;
  border: 1px solid var(--line);
}

.mini-qr svg {
  width: 100%;
  height: 100%;
}

/* --------------------------------------------------------------------------
   Ekip rehberi
   -------------------------------------------------------------------------- */

.ekip-bolumu {
  position: relative;
  padding: clamp(54px, 7vw, 86px) 0 clamp(58px, 7vw, 90px);
  background: var(--bg-deep);
  border-block: 1px solid var(--line);
}

.bolum-baslik {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 32px;
}

.bolum-baslik h2 {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.bolum-aciklama {
  max-width: 42ch;
  padding-bottom: 4px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

.arac-cubugu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.arama {
  display: flex;
  flex: 1 1 310px;
  align-items: center;
  gap: 11px;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.arama:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(15, 127, 103, 0.12);
}

.arama .ikon {
  width: 19px;
  height: 19px;
  color: var(--muted);
}

.arama input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14px;
}

.arama input::placeholder {
  color: var(--muted);
}

.arama kbd {
  display: inline-grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 11px;
}

.filtreler {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.filtre {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 650;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filtre:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.filtre.aktif {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}

.sonuc-sayisi {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.sonuc-sayisi strong {
  color: var(--ink);
  font-weight: 700;
}

.ekip-izgara {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.kisi-karti {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 322px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  animation: kart-gir 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(var(--i, 0) * 45ms);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.kisi-karti::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--kisi-renk), transparent 88%);
}

.kisi-karti::after {
  content: "";
  position: absolute;
  top: -82px;
  right: -64px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: var(--kisi-renk);
  opacity: 0.07;
  pointer-events: none;
}

.kisi-karti:hover {
  z-index: 2;
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

@keyframes kart-gir {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.kisi-ust {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.departman {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--kisi-renk);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.11em;
  line-height: 1.4;
  text-transform: uppercase;
}

.kisi-ok {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease,
    transform 0.25s ease;
}

.kisi-ok .ikon {
  width: 14px;
  height: 14px;
}

.kisi-karti:hover .kisi-ok {
  border-color: var(--kisi-renk);
  background: var(--kisi-renk);
  color: #fff;
  transform: rotate(-35deg);
}

.kisi-avatar {
  position: relative;
  z-index: 1;
  width: 76px;
  height: 76px;
  margin-top: 16px;
  border: 3px solid var(--surface);
  border-radius: 50%;
  background: var(--surface-2);
  box-shadow: 0 0 0 1px var(--line), 0 10px 24px -12px rgba(15, 40, 34, 0.38);
  object-fit: cover;
}

.kisi-ad {
  position: relative;
  z-index: 2;
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.kisi-ad a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.kisi-unvan {
  position: relative;
  z-index: 1;
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.45;
}

.kisi-sirket {
  position: relative;
  z-index: 1;
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.kisi-alt {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.hizli-aksiyon {
  display: flex;
  gap: 5px;
}

.hizli-aksiyon a {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink-soft);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.hizli-aksiyon a:hover {
  border-color: var(--kisi-renk);
  background: var(--kisi-renk);
  color: #fff;
}

.hizli-aksiyon .ikon {
  width: 15px;
  height: 15px;
}

.kart-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--brand);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.kart-link .ikon {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.kisi-karti:hover .kart-link .ikon {
  transform: translateX(3px);
}

.bos-durum {
  padding: 62px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: 22px;
  background: var(--surface);
  text-align: center;
}

.bos-durum .ikon {
  width: 30px;
  height: 30px;
  margin: 0 auto 12px;
  color: var(--muted);
}

.bos-durum strong {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
}

.bos-durum p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

/* --------------------------------------------------------------------------
   Şirket paneli / alt bilgi
   -------------------------------------------------------------------------- */

.sirket-bolumu {
  padding: clamp(54px, 7vw, 90px) 0 clamp(64px, 8vw, 104px);
}

.sirket-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(30px, 5vw, 64px);
  padding: clamp(30px, 5vw, 62px);
  border-radius: 32px;
  background:
    radial-gradient(620px 380px at 88% 0%, rgba(120, 226, 193, 0.18), transparent 68%),
    linear-gradient(135deg, #072a24 0%, #0a463b 54%, #0d6554 100%);
  color: #eefaf5;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.sirket-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(120deg, transparent 20%, #000 100%);
  mask-image: linear-gradient(120deg, transparent 20%, #000 100%);
  opacity: 0.35;
  pointer-events: none;
}

.sirket-panel::after {
  content: "";
  position: absolute;
  right: -130px;
  bottom: -180px;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 50px rgba(255, 255, 255, 0.028), 0 0 0 100px rgba(255, 255, 255, 0.018);
  pointer-events: none;
}

.sirket-metin {
  position: relative;
  z-index: 1;
}

.sirket-metin .ust-etiket {
  color: #8fe3cb;
}

.sirket-metin h2 {
  max-width: 15ch;
  margin-top: 14px;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.03;
}

.sirket-metin > p {
  max-width: 52ch;
  margin-top: 20px;
  color: rgba(238, 250, 245, 0.72);
  font-size: 14px;
  line-height: 1.78;
}

.sirket-rozetler {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.sirket-rozetler span {
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(238, 250, 245, 0.82);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sirket-iletisim {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.sirket-iletisim a,
.sirket-iletisim .satir {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.055);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.sirket-iletisim a:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(3px);
}

.sirket-iletisim .ikon {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: #8fe3cb;
}

.sirket-iletisim span {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.sirket-iletisim small {
  color: rgba(238, 250, 245, 0.5);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sirket-iletisim strong {
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.sirket-butonlar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.sirket-butonlar .btn-hayalet {
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.sirket-butonlar .btn-hayalet:hover {
  border-color: #8fe3cb;
  background: rgba(255, 255, 255, 0.08);
  color: #8fe3cb;
}

.alt-bilgi {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.alt-bilgi-ic {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.alt-bilgi .marka-isaret {
  width: 26px;
  height: 26px;
}

.alt-bilgi-sol {
  display: flex;
  align-items: center;
  gap: 10px;
}

.alt-bilgi-sag {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.alt-bilgi-sag a {
  transition: color 0.2s ease;
}

.alt-bilgi-sag a:hover {
  color: var(--brand);
}

/* --------------------------------------------------------------------------
   Dijital kartvizit sayfası
   -------------------------------------------------------------------------- */

.kart-sayfa {
  padding: clamp(26px, 4vw, 48px) 0 clamp(56px, 7vw, 84px);
}

.kart-ust-bilgi {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(100%, 1040px);
  margin: 0 auto 16px;
}

.kart-ust-bilgi .ust-etiket {
  color: var(--muted);
}

.kart-yazdir {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.kart-yazdir:hover {
  border-color: var(--brand);
  background: var(--surface);
  color: var(--brand);
}

.kart-yazdir .ikon {
  width: 14px;
  height: 14px;
}

.dijital-kart {
  display: grid;
  grid-template-columns: 38% minmax(0, 1fr);
  width: min(100%, 1040px);
  min-height: 596px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: kart-acil 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes kart-acil {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.kart-sol {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px;
  background:
    radial-gradient(460px 380px at 15% 0%, rgba(80, 217, 178, 0.26), transparent 65%),
    linear-gradient(150deg, #0d6655 0%, #0a463b 48%, #06261f 100%);
  color: #eafaf5;
  overflow: hidden;
}

.kart-sol::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 0.8px, transparent 0.8px);
  background-size: 18px 18px;
  opacity: 0.3;
  pointer-events: none;
}

.kart-sol-ic {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.kart-desen {
  position: absolute;
  right: -130px;
  bottom: -150px;
  width: 400px;
  height: 400px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 44px rgba(255, 255, 255, 0.032), 0 0 0 88px rgba(255, 255, 255, 0.02);
  pointer-events: none;
}

.kart-logo {
  display: flex;
  align-items: center;
  gap: 9px;
}

.kart-logo .marka-isaret {
  width: 32px;
  height: 32px;
  color: #d8fff2;
}

.kart-logo-yazi {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.kart-logo-yazi strong {
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.18em;
}

.kart-logo-yazi small {
  margin-top: 4px;
  color: rgba(234, 250, 245, 0.55);
  font-size: 7px;
  letter-spacing: 0.3em;
}

.kart-rozet {
  margin-left: auto;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(234, 250, 245, 0.66);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kart-foto {
  width: 142px;
  height: 142px;
  margin: 36px 0 22px;
  padding: 4px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.04));
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.6);
}

.kart-foto img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #0a463b;
  object-fit: cover;
}

.kart-kimlik {
  margin-top: 4px;
}

.kart-departman {
  color: #8fe3cb;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.kart-kimlik h1 {
  margin-top: 10px;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(34px, 3.6vw, 46px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.kart-unvan {
  margin-top: 8px;
  color: rgba(234, 250, 245, 0.78);
  font-size: 14px;
  font-weight: 600;
}

.kart-sirket {
  margin-top: 3px;
  color: rgba(234, 250, 245, 0.5);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kart-sol-alt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(234, 250, 245, 0.5);
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kart-sol-alt span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.kart-sol-alt .ikon {
  width: 12px;
  height: 12px;
}

.kart-sag {
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3.6vw, 42px);
  background: var(--surface);
}

.kart-aksiyonlar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.kart-aksiyonlar .btn {
  min-height: 42px;
  padding: 0 17px;
  font-size: 12px;
}

.btn-ikon {
  border-color: var(--line);
  background: var(--surface-2);
  color: var(--ink-soft);
}

.btn-ikon:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand);
}

.kart-hakkinda {
  max-width: 62ch;
  margin-bottom: 24px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.75;
}

.iletisim {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.iletisim li {
  position: relative;
}

.iletisim a {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 11px 48px 11px 10px;
  border-radius: 13px;
  transition: background 0.2s ease;
}

.iletisim a:hover {
  background: var(--surface-2);
}

.iletisim .iletisim-ikon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
}

.iletisim .iletisim-ikon .ikon {
  width: 18px;
  height: 18px;
}

.iletisim-metin {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.iletisim-etiket {
  color: var(--muted);
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.iletisim-deger {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.kopyala-btn {
  position: absolute;
  top: 50%;
  right: 8px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.iletisim li:hover .kopyala-btn,
.kopyala-btn:focus-visible {
  opacity: 1;
}

.kopyala-btn:hover {
  border-color: var(--line);
  background: var(--surface);
  color: var(--brand);
}

.kopyala-btn .ikon {
  width: 15px;
  height: 15px;
}

.katalog {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: linear-gradient(110deg, var(--accent-soft), transparent 80%);
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.katalog:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.pdf-rozet {
  display: grid;
  place-items: center;
  width: 42px;
  height: 46px;
  flex: none;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 8px 18px -10px rgba(217, 102, 61, 0.8);
}

.katalog-metin {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.katalog-metin strong {
  font-size: 13px;
  font-weight: 700;
}

.katalog-metin small {
  margin-top: 1px;
  color: var(--muted);
  font-size: 10px;
}

.katalog > .ikon {
  width: 17px;
  height: 17px;
  color: var(--accent);
}

.kart-sag-alt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}

.kart-web {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--brand);
  font-weight: 700;
}

.kart-web .ikon {
  width: 13px;
  height: 13px;
}

.kart-not {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.kart-not::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
}

/* Aynı ekipten */

.diger-ekip {
  width: min(100%, 1040px);
  margin: 44px auto 0;
}

.diger-ekip .bolum-baslik {
  align-items: center;
  margin-bottom: 18px;
}

.diger-ekip .bolum-baslik h2 {
  margin-top: 0;
  font-size: 28px;
}

.diger-ekip .bolum-baslik a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
}

.diger-ekip .bolum-baslik a .ikon {
  width: 14px;
  height: 14px;
}

.diger-izgara {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.mini-kisi {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.mini-kisi:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
}

.mini-kisi img {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 50%;
  background: var(--surface-2);
  object-fit: cover;
}

.mini-kisi span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mini-kisi strong {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.mini-kisi small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Bulunamadı */

.bulunamadi {
  width: min(100%, 640px);
  margin: 40px auto;
  padding: clamp(34px, 6vw, 60px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.bulunamadi .buyuk-ikon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
}

.bulunamadi .buyuk-ikon .ikon {
  width: 26px;
  height: 26px;
}

.bulunamadi h1 {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.bulunamadi p {
  max-width: 42ch;
  margin: 10px auto 24px;
  color: var(--ink-soft);
  font-size: 14px;
}

/* Mobil aksiyon çubuğu */

.mobil-bar {
  display: none;
}

/* --------------------------------------------------------------------------
   QR modalı
   -------------------------------------------------------------------------- */

dialog {
  max-width: min(92vw, 430px);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
}

dialog::backdrop {
  background: rgba(4, 18, 15, 0.62);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}

.qr-kutu {
  position: relative;
  padding: 30px 28px 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.qr-kapat {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--ink-soft);
  transition: background 0.2s ease, color 0.2s ease;
}

.qr-kapat:hover {
  background: var(--ink);
  color: var(--bg);
}

.qr-kapat .ikon {
  width: 16px;
  height: 16px;
}

.qr-baslik {
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.qr-aciklama {
  max-width: 32ch;
  margin: 6px auto 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.qr-gorsel {
  display: inline-flex;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 38px -22px rgba(15, 40, 34, 0.45);
}

.qr-gorsel svg {
  width: 210px;
  height: 210px;
}

.qr-url {
  display: block;
  margin: 16px auto 14px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface-2);
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 9px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.qr-butonlar {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.qr-kopyala,
.qr-indir {
  width: 100%;
}

/* --------------------------------------------------------------------------
   Bildirim
   -------------------------------------------------------------------------- */

.toast-kap {
  position: fixed;
  bottom: 26px;
  left: 50%;
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: calc(100vw - 32px);
  transform: translateX(-50%);
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: 100%;
  padding: 11px 17px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.5);
  font-size: 12px;
  font-weight: 650;
  animation: toast-gir 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.toast .ikon {
  width: 15px;
  height: 15px;
  color: var(--brand);
}

.toast--hata .ikon {
  color: var(--accent);
}

.toast--cikis {
  animation: toast-cik 0.24s ease forwards;
}

@keyframes toast-gir {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes toast-cik {
  to {
    opacity: 0;
    transform: translateY(8px) scale(0.97);
  }
}

/* --------------------------------------------------------------------------
   Görünürlük animasyonu
   -------------------------------------------------------------------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].gorunur {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   AŞAMA 3 — Dijital kartvizit: koyu sahne, dikey (9:16) kart
   ========================================================================== */

.kart-sahne {
  display: grid;
  place-items: center;
}

.kart-ust-bilgi {
  width: min(100%, 430px);
  margin: 0 auto 14px;
}

.kart-ust-aksiyon {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dijital-kart {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(100%, 430px);
  aspect-ratio: 9 / 16;
  min-height: 0;
  margin: 0;
  padding: clamp(22px, 6vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 32px;
  background:
    radial-gradient(520px 340px at 82% -12%, rgba(63, 214, 166, 0.24), transparent 64%),
    radial-gradient(420px 300px at -12% 112%, rgba(255, 147, 102, 0.15), transparent 70%),
    linear-gradient(160deg, #10241e 0%, #0a1512 58%, #060d0b 100%);
  box-shadow: 0 46px 90px -40px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: #eafaf5;
  overflow: hidden;
}

.dijital-kart::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 0.8px, transparent 0.8px);
  background-size: 20px 20px;
  -webkit-mask-image: radial-gradient(120% 90% at 84% 0%, #000 0%, transparent 62%);
  mask-image: radial-gradient(120% 90% at 84% 0%, #000 0%, transparent 62%);
  pointer-events: none;
}

.dijital-kart::after {
  content: "";
  position: absolute;
  right: -130px;
  bottom: -150px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 40px rgba(255, 255, 255, 0.028), 0 0 0 80px rgba(255, 255, 255, 0.016);
  pointer-events: none;
}

/* Kart başlığı: SENTEZ PLASTİK / DİJİTAL KARTVİZİT */
.kart-baslik {
  position: relative;
  z-index: 1;
  text-align: center;
}

.kart-marka {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}

.kart-marka-isaret {
  width: 34px;
  height: 34px;
  color: #5fe6bb;
}

.kart-marka-yazi {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.kart-marka-yazi strong {
  color: #ffffff;
  font-size: clamp(18px, 5vw, 22px);
  font-weight: 750;
  letter-spacing: 0.14em;
}

.kart-marka-yazi small {
  margin-top: 7px;
  color: #6fe0bd;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.36em;
}

/* Profil: fotoğraf, ad soyad, unvan */
.kart-profil {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 10px 0;
  text-align: center;
}

.kart-profil-foto {
  width: clamp(96px, 30vw, 128px);
  aspect-ratio: 1;
  padding: 4px;
  border-radius: 50%;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.06));
  box-shadow: 0 26px 50px -24px rgba(0, 0, 0, 0.85);
}

.kart-profil-foto img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #0b1a16;
  object-fit: cover;
}

.kart-ad {
  margin-top: 16px;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(26px, 7.4vw, 34px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.04;
}

/* Yönlendirme sonrası ada verilen programatik odak çerçevesi çizilmesin */
.kart-ad:focus,
.kart-ad:focus-visible {
  outline: none;
}

.kart-gorev {
  margin-top: 7px;
  color: #8fe3cb;
  font-size: 13px;
  font-weight: 650;
}

.kart-departman-etiket {
  margin-top: 8px;
  color: rgba(234, 250, 245, 0.42);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.kart-departman-etiket:empty {
  display: none;
}

/* Eylem butonları */
.kart-butonlar {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.kbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.05);
  color: #dff3ec;
  font-size: 12px;
  font-weight: 650;
  text-align: center;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease,
    color 0.18s ease;
}

.kbtn .ikon {
  width: 18px;
  height: 18px;
  color: #6fe0bd;
}

.kbtn:hover {
  border-color: rgba(111, 224, 189, 0.55);
  background: rgba(111, 224, 189, 0.13);
  color: #fff;
  transform: translateY(-2px);
}

.kbtn:active {
  transform: translateY(0);
}

.kbtn--birincil {
  grid-column: 1 / -1;
  border-color: transparent;
  background: linear-gradient(135deg, #3ad3a5, #128a68);
  color: #04241c;
  font-weight: 750;
  box-shadow: 0 18px 36px -16px rgba(58, 211, 165, 0.75);
}

.kbtn--birincil .ikon {
  color: #04241c;
}

.kbtn--birincil:hover {
  background: linear-gradient(135deg, #4ae0b3, #159674);
  color: #04241c;
}

/* Alt bilgi: şirket adresi ve e-posta */
.kart-alt {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.kart-alt-satir {
  display: flex;
  align-items: center;
  gap: 6px;
}

.kart-alt-satir > a {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 7px 4px;
  border-radius: 10px;
  color: rgba(234, 250, 245, 0.68);
  font-size: 11.5px;
  line-height: 1.5;
  transition: color 0.18s ease;
}

.kart-alt-satir > a:hover {
  color: #fff;
}

.kart-alt-satir .ikon {
  width: 15px;
  height: 15px;
  flex: none;
  color: #6fe0bd;
}

.kart-alt-satir span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.kart-kopyala {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: rgba(234, 250, 245, 0.5);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.kart-kopyala:hover {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.kart-kopyala .ikon {
  width: 15px;
  height: 15px;
  color: inherit;
}

/* --------------------------------------------------------------------------
   Aşama 2: Görünüm yönlendirme (rehber / kartvizit)
   -------------------------------------------------------------------------- */

/* İlk boyamadan önce doğru görünümü göstererek titremeyi önler. */
html[data-rota="kisi"] #gorunum-rehber {
  display: none !important;
}

html[data-rota="rehber"] #gorunum-kartvizit {
  display: none !important;
}

html[data-rota="kisi"] .ust-nav {
  display: none !important;
}

html[data-rota="kisi"] #geri-btn {
  display: inline-flex !important;
}

/* Geçersiz adres bildirimi */
.uyari {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 18px;
  padding: 13px 14px;
  border: 1px solid var(--accent);
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--ink);
}

.uyari .ikon {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: var(--accent);
}

.uyari p {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  line-height: 1.6;
}

.uyari p strong {
  font-weight: 750;
}

.uyari-kapat {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: var(--ink-soft);
  transition: background 0.2s ease, color 0.2s ease;
}

.uyari-kapat:hover {
  background: var(--accent);
  color: #fff;
}

.uyari-kapat .ikon {
  width: 15px;
  height: 15px;
  margin: 0;
  color: inherit;
}

/* --------------------------------------------------------------------------
   Duyarlı düzen
   -------------------------------------------------------------------------- */

@media (max-width: 1040px) {
  .ekip-izgara {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kart-yigini {
    transform: scale(0.9);
  }

  .dijital-kart {
    grid-template-columns: 40% minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  .kahraman-ic {
    grid-template-columns: 1fr;
  }

  .kahraman-metin h1 {
    max-width: 14ch;
  }

  .kart-yigini {
    display: none;
  }

  .kahraman::after {
    opacity: 0.55;
  }

  .bolum-baslik {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .sirket-panel {
    grid-template-columns: 1fr;
  }

  .dijital-kart {
    grid-template-columns: 1fr;
    max-width: 720px;
  }

  .kart-sol {
    min-height: auto;
    padding: 28px;
  }

  .kart-foto {
    width: 116px;
    height: 116px;
    margin: 26px 0 18px;
  }

  .kart-sol-alt {
    margin-top: 26px;
  }

  .kart-sag {
    padding: 28px;
  }

  .diger-izgara {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .sarici {
    width: min(calc(100% - 32px), var(--wrap));
  }

  .ust-nav {
    display: none;
  }

  .ust-bar-ic {
    min-height: 66px;
  }

  .marka-orta .marka-yazi {
    display: none;
  }

  .kahraman {
    padding-top: 42px;
  }

  .kahraman-metin h1 {
    font-size: clamp(46px, 13vw, 66px);
  }

  .istatistik {
    gap: 24px;
  }

  .istatistik dd {
    font-size: 23px;
  }

  .arac-cubugu {
    align-items: stretch;
  }

  .arama {
    flex-basis: 100%;
  }

  .filtreler {
    flex-wrap: nowrap;
    width: 100%;
    padding-bottom: 4px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .filtreler::-webkit-scrollbar {
    display: none;
  }

  .filtre {
    flex: none;
  }

  .sonuc-sayisi {
    width: 100%;
    margin-left: 0;
  }

  .ekip-izgara {
    grid-template-columns: 1fr;
  }

  .kisi-karti {
    min-height: 300px;
  }

  .sirket-panel {
    border-radius: 24px;
  }

  .alt-bilgi-ic {
    flex-direction: column;
    align-items: flex-start;
  }

  .dijital-kart {
    border-radius: 24px;
  }

  .kart-aksiyonlar .btn {
    flex: 1;
    min-width: 100px;
  }

  .kopyala-btn {
    opacity: 1;
  }

  .diger-izgara {
    grid-template-columns: 1fr;
  }

  .mobil-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
    padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: var(--header-bg);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
  }

  .mobil-bar a,
  .mobil-bar button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 50px;
    padding: 5px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--surface);
    color: var(--ink-soft);
    font-size: 9px;
    font-weight: 650;
  }

  .mobil-bar .ikon {
    width: 17px;
    height: 17px;
  }

  .mobil-bar .mobil-kaydet {
    border-color: var(--brand);
    background: var(--brand);
    color: var(--brand-ink);
  }

  .dijital-kart {
    aspect-ratio: auto;
  }

  .qr-gorsel svg {
    width: 180px;
    height: 180px;
  }
}

@media (max-width: 480px) {
  .marka-yazi strong {
    font-size: 13px;
  }

  .kahraman-aciklama {
    font-size: 14px;
  }

  .kahraman-cta .btn {
    flex: 1;
  }

  .istatistik {
    justify-content: space-between;
    gap: 12px;
  }

  .istatistik dd {
    font-size: 20px;
  }

  .kart-ust-bilgi {
    margin-bottom: 12px;
  }

  .kart-sol {
    padding: 22px;
  }

  .kart-sag {
    padding: 22px;
  }

  .kart-kimlik h1 {
    font-size: 32px;
  }

  .kart-aksiyonlar {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .kart-aksiyonlar .btn-birincil {
    grid-column: 1 / -1;
  }

  .kart-sag-alt {
    flex-direction: column;
    align-items: flex-start;
  }

  .sirket-iletisim a,
  .sirket-iletisim .satir {
    padding: 11px 12px;
  }
}

/* --------------------------------------------------------------------------
   Hareket azaltma ve yazdırma
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  @page {
    margin: 12mm;
  }

  body {
    background: #fff !important;
    color: #12211e !important;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .ust-bar,
  .alt-bilgi,
  .kart-ust-bilgi,
  .diger-ekip,
  .mobil-bar,
  .toast-kap,
  .kart-kopyala,
  .kart-yazdir {
    display: none !important;
  }

  .kart-sayfa {
    padding: 0;
  }

  .kart-sahne {
    display: block;
  }

  .dijital-kart,
  .dijital-kart * {
    color: #12211e !important;
    background-image: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  .dijital-kart {
    width: 100%;
    max-width: 100%;
    aspect-ratio: auto;
    border: 1px solid #d9d9d9;
    border-radius: 14px;
    background: #fff !important;
  }

  .dijital-kart::before,
  .dijital-kart::after {
    display: none !important;
  }

  .kart-marka-isaret,
  .kbtn .ikon,
  .kart-alt-satir .ikon {
    color: #0c5b4d !important;
  }

  .kbtn {
    border-color: #d9d9d9 !important;
    background: #fff !important;
  }

  .kbtn--birincil {
    color: #fff !important;
    background: #0c5b4d !important;
  }

  .kbtn--birincil .ikon {
    color: #fff !important;
  }

  .kart-alt-satir > a {
    color: #40544f !important;
  }
}
