:root {
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e5e7eb;
  --card: #ffffff;
  --bg: #f8fafc;
  --brand: #2da2ff;
  --brand-soft: rgba(45, 162, 255, 0.1);
  --ok: #16a34a;
  --warn: #dc2626;
  --radius: 8px;
  --shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color: var(--ink);
}

body {
  min-height: 100vh;
}

.wrap {
  max-width: 1200px;
  margin: 24px auto 48px;
  padding: 0 16px;
}

/* HERO */
.hero {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: var(--shadow);
  background: linear-gradient(135deg, #0f172a, #020617);
}

.hero-cover {
  height: 220px;
  background: radial-gradient(circle at 0 0,
      rgba(56, 189, 248, 0.35),
      transparent 55%),
    radial-gradient(circle at 100% 0, rgba(37, 99, 235, 0.45), transparent 52%),
    #020617;
  position: relative;
}

.hero-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.02);
  opacity: 0.75;
  mix-blend-mode: lighten;
}

.hero-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(15, 23, 42, 0),
      rgba(15, 23, 42, 0.78));
}

.hero-bar {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 16px 18px 18px;
  position: relative;
}

/* Logo (profil görseli) – daha oturaklı */
.logo {
  position: relative;
  width: 104px;
  height: 104px;
  border-radius: 999px;
  margin-top: -64px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(from 180deg, #38bdf8, #6366f1, #22c55e, #38bdf8);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.9;
}

.logo-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: radial-gradient(circle at 30% 10%, #e0f2fe, #0f172a);
  border: 1px solid rgba(15, 23, 42, 0.5);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.45);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-inner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #fff;
}

.logo-inner svg {
  width: 52px;
  height: 52px;
  color: #e2e8f0;
}

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

.title {
  font-weight: 800;
  font-size: 26px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f9fafb;
}

.badge {
  font-size: 12px;
  border-radius: 999px;
  padding: 3px 9px;
  background: rgba(22, 163, 74, 0.16);
  color: #bbf7d0;
  border: 1px solid rgba(34, 197, 94, 0.45);
}

.meta {
  color: rgba(226, 232, 240, 0.85);
  font-size: 13px;
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  align-items: center;
}

.meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.meta span::before {
  content: "•";
  opacity: 0.5;
}

.meta span:first-child::before {
  content: "";
}

.actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Ortak buton mikro animasyonları */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  background: #ffffff;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: background-color 0.18s ease, color 0.18s ease,
    border-color 0.18s ease, box-shadow 0.18s ease, transform 0.16s ease,
    opacity 0.16s ease;
}

.btn:hover {
  background: #f1f5f9;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
  transform: translateY(-1px);
}

.btn.primary {
  border-color: transparent;
  background: var(--brand);
  color: #f9fafb;
}

.btn.primary:hover {
  background: #1d8be0;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.4);
}

/* Takip butonu – ikonlu, pill */
#btn-follow {
  border-radius: 999px;
  padding-inline: 14px 18px;
  background: #ffffff;
  border-color: var(--brand);
  color: var(--brand);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.2);
}

#btn-follow .btn-follow-svg {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  padding: 3px;
  background: var(--brand-soft);
  stroke-linecap: round;
  stroke-linejoin: round;
}

#btn-follow.primary {
  background: #22c55e;
  border-color: transparent;
  color: #ecfdf5;
}

#btn-follow.primary .btn-follow-svg {
  background: rgba(15, 23, 42, 0.32);
  stroke: #ecfdf5;
}

/* Busy / pulse (JS’te kullanılıyor) */
.btn.is-busy {
  opacity: 0.7;
  transform: scale(0.97);
  pointer-events: none;
  box-shadow: none !important;
}

.btn.is-pulse {
  animation: mm-btn-pulse 0.26s ease-out;
}

@keyframes mm-btn-pulse {
  0% {
    transform: scale(0.97);
  }

  50% {
    transform: scale(1.03);
  }

  100% {
    transform: scale(1);
  }
}

/* icon button + kebab menu */
.iconbtn {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #e5e7eb;
  transition: background-color 0.16s ease, border-color 0.16s ease,
    transform 0.14s ease;
  padding: 0;
}

.iconbtn:hover {
  background: rgba(15, 23, 42, 1);
  border-color: rgba(148, 163, 184, 0.85);
  transform: translateY(-1px);
}

.kebab svg {
  width: 18px;
  height: 18px;
}

.menu {
  position: relative;
}

.menu-pop {
  position: fixed;
  top: 0;
  left: 0;
  width: 230px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.4);
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25);
  padding: 6px;
  z-index: 9999;
}

.menu-pop[hidden] {
  display: none;
}

.menu-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border: 0;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  transition: background-color 0.16s ease, color 0.16s ease,
    transform 0.14s ease;
}

.menu-item svg {
  width: 18px;
  height: 18px;
}

.menu-item:hover {
  background: #f8fafc;
  transform: translateY(-1px);
}

.menu-item.danger {
  color: #b91c1c;
}

/* GRID / cards */
.grid {
  display: grid;
  grid-template-columns: 2fr 1.15fr;
  gap: 18px;
  margin-top: 18px;
}

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

  .wrap {
    max-width: 100%;
  }

  .actions {
    margin-left: 0;
    margin-top: 12px;
    position: absolute;
    right: 14px;
  }

  .hero-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

.card {
  background: var(--card);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.section h2 {
  font-size: 18px;
  margin: 0;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  background: linear-gradient(to right, #f9fafb, #eff6ff);
}

.section .body {
  padding: 14px 16px 16px;
}

/* KPIs */
.kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 12px 16px 16px;
}

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

.kpi {
  border-radius: 8px;
  padding: 10px 11px;
  background: radial-gradient(circle at top left,
      rgba(56, 189, 248, 0.12),
      #ffffff);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.kpi .num {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
}

.kpi .lbl {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

/* text */
.about {
  white-space: pre-wrap;
  line-height: 1.7;
  font-size: 14px;
}

.about.clamped {
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.readmore {
  margin-top: 8px;
}

.link {
  color: var(--brand);
  text-decoration: none;
  font-weight: 500;
}

.link:hover {
  text-decoration: underline;
}

.muted {
  color: var(--muted);
  font-size: 13px;
}

/* links */
.links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  background: #ffffff;
  font-size: 13px;
  white-space: nowrap;
  transition: background-color 0.16s ease, box-shadow 0.16s ease,
    transform 0.14s ease;
}

.links a svg {
  width: 16px;
  height: 16px;
}

.links a:hover {
  background: #eff6ff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

/* jobs – daha kurumsal liste */
.jobs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.job {
  border-radius: 8px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: linear-gradient(to right, #ffffff, #f9fafb);
  padding: 10px 11px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: box-shadow 0.16s ease, transform 0.14s ease,
    border-color 0.16s ease, background-color 0.16s ease;
}

.job:hover {
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
  transform: translateY(-1px);
  border-color: #bfdbfe;
  background: #f9fbff;
}

.job-header {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
}

.job-title {
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
  flex: 1;
}

.job-title:hover {
  text-decoration: underline;
}

.job-route {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 11px;
  color: #0369a1;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  white-space: nowrap;
}

.job-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
  flex-wrap: wrap;
}

.job-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.job-meta-item::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.9);
}

.job-meta-item:first-child::before {
  display: none;
}

.jobs-footer {
  margin-top: 10px;
  display: flex;
  justify-content: flex-end;
}

.jobs-footer .btn {
  border-radius: 999px;
}

/* gallery / fleet / recs */
.fleet {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 720px) {
  .fleet {
    grid-template-columns: 1fr;
  }
}

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

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

.gallery img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery img:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.2);
}

.recs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 720px) {
  .recs {
    grid-template-columns: 1fr;
  }
}

.rec {
  border-radius: 8px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  padding: 10px 11px;
  background: #ffffff;
}

.rec .name {
  font-weight: 700;
  font-size: 14px;
}

.rec .title {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

.grid>* {
  min-width: 0;
}

.title,
.section h2,
.about {
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
  display: flex;
  gap: 5px;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 700;
  margin: 0;
  color: #1e3a8a;
}

.titlebox .title {
  color: #fff;
}

/* =========================================================
   COMPANY PROFILE - RIGHT COLUMN (Premium UI)
   Hedef: .col-right içindeki kartlar
   ========================================================= */

.col-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}



/* Kart body */
.col-right .card.section .body {
  padding: 14px 16px 16px;
  color: #0f172a;
}

/* --------- Link listeleri (Website/Email/Map + Social) --------- */
.col-right .links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

/* Link chip */
.col-right .links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: #0f172a;
  border: 1px solid rgba(2, 6, 23, .08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(248, 250, 252, .95));
  box-shadow: 0 10px 18px rgba(2, 6, 23, .05);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  min-width: 0;
}

/* hover/focus */
.col-right .links a:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(2, 6, 23, .08);
  border-color: rgba(16, 185, 129, .35);
}

.col-right .links a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, .18), 0 14px 26px rgba(2, 6, 23, .08);
  border-color: rgba(59, 130, 246, .40);
}

/* Link ikon kapsülü */
.col-right .links a svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  opacity: .9;
}

.col-right .links a svg[fill="currentColor"] {
  opacity: .85;
}

/* Uzun email/site taşmasın */
.col-right .links a {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.col-right .links a svg+* {
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Sosyal linkleri otomatik 2 kolon yap */
.col-right .links+.links {
  margin-top: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 1024px) {
  .col-right .links+.links {
    grid-template-columns: 1fr;
  }
}

/* Sosyal chip daha kompakt */
.col-right .links+.links a {
  padding: 10px 12px;
}

.col-right .links+.links a svg {
  width: 18px;
  height: 18px;
}

/* --------- Founded / Employees mini stat --------- */
.col-right .muted {
  color: #475569;
  font-size: 13px;
  line-height: 1.35;
}

.col-right .body>div[style*="margin-top:12px"] {
  margin-top: 14px !important;
  padding-top: 12px;
  border-top: 1px dashed rgba(2, 6, 23, .14);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 1024px) {
  .col-right .body>div[style*="margin-top:12px"] {
    grid-template-columns: 1fr;
  }
}

/* founded/employees satırını "mini kart" yap */
.col-right .body>div[style*="margin-top:12px"] .muted {
  background: rgba(2, 6, 23, .03);
  border: 1px solid rgba(2, 6, 23, .06);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.col-right .body>div[style*="margin-top:12px"] b {
  color: #0f172a;
  font-weight: 900;
  letter-spacing: -.01em;
}

/* --------- Fleet KPI --------- */
.col-right .fleet {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 1024px) {
  .col-right .fleet {
    grid-template-columns: 1fr;
  }
}

/* Fleet içindeki .kpi mini kart */
.col-right .fleet .kpi {
  border: 1px solid rgba(2, 6, 23, .08);
  border-radius: 16px;
  padding: 12px 12px;
  background:
    radial-gradient(700px 180px at 0% 0%, rgba(16, 185, 129, .10), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(248, 250, 252, .92));
  box-shadow: 0 10px 18px rgba(2, 6, 23, .05);
  transition: transform .18s ease, box-shadow .18s ease;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.col-right .fleet .kpi:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(2, 6, 23, .08);
}

.col-right .fleet .kpi .num {
  font-size: 20px;
  font-weight: 950;
  color: #0f172a;
  letter-spacing: -.03em;
}

.col-right .fleet .kpi .lbl {
  font-size: 12.5px;
  color: #475569;
  text-align: right;
  line-height: 1.2;
}

/* --------- Recruiters --------- */
.col-right .recs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Recruiter kart */
.col-right .rec {
  border: 1px solid rgba(2, 6, 23, .08);
  border-radius: 16px;
  padding: 12px 12px;
  background:
    radial-gradient(900px 180px at 100% 0%, rgba(59, 130, 246, .10), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(248, 250, 252, .92));
  box-shadow: 0 10px 18px rgba(2, 6, 23, .05);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.col-right .rec:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(2, 6, 23, .08);
  border-color: rgba(59, 130, 246, .25);
}

/* İsim + Title */
.col-right .rec .name {
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -.02em;
  font-size: 14px;
}

.col-right .rec .title {
  margin-top: 2px;
  color: #475569;
  font-size: 13px;
}

/* Mail link */
.col-right .rec .link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid rgba(16, 185, 129, .28);
  background: rgba(16, 185, 129, .08);
  color: #065f46;
  font-weight: 800;
  font-size: 13px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.col-right .rec .link:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(16, 185, 129, .16);
  background: rgba(16, 185, 129, .12);
}

.col-right .rec .link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, .18), 0 10px 18px rgba(16, 185, 129, .16);
}

/* Küçük responsive iyileştirme */
@media (max-width: 520px) {
  .col-right .card.section>h2 {
    padding: 12px 14px;
  }

  .col-right .card.section .body {
    padding: 12px 14px 14px;
  }

  .col-right .links a {
    padding: 10px 11px;
  }
}

/* Motion azaltma */
@media (prefers-reduced-motion: reduce) {

  .col-right .links a,
  .col-right .fleet .kpi,
  .col-right .rec {
    transition: none;
  }
}

.company-type{
    margin-top:8px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:5px 10px;
    border-radius:999px;
    font-size:12px;
    font-weight:600;
    line-height:1.2;
    color:#1b3aa7;
    background:#eef3ff;
    border:1px solid rgba(27,58,167,.12);
    width:max-content;
    max-width:100%;
}