:root {
  --ink: #08131b;
  --ink-2: #10222b;
  --ink-3: #163039;
  --paper: #fbfaf7;
  --stone: #efede7;
  --mist: #e8ece8;
  --line: rgba(8, 19, 27, .14);
  --line-dark: rgba(255, 255, 255, .14);
  --muted: #61717a;
  --gold: #c89545;
  --gold-2: #e1b66d;
  --teal: #285b5f;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(8, 19, 27, .16);
  /* Hero koyu scrim yığını: üst nav şeridi + yatay + dikey. Temel hero ile
     6 faaliyet varyantı paylaşır (DRY) — böylece nav okunabilirliği hiçbir
     varyantta kaybolmaz. Fotoğraf en altta --hero-photo ile eklenir. */
  --hero-scrims:
    linear-gradient(180deg, rgba(8, 19, 27, .74) 0, rgba(8, 19, 27, .24) 240px),
    linear-gradient(90deg, rgba(8, 19, 27, .82), rgba(8, 19, 27, .30) 48%, rgba(8, 19, 27, .78)),
    linear-gradient(180deg, rgba(8, 19, 27, .38), rgba(8, 19, 27, .82));
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
}

/* a11y: klavye kullanıcıları için "içeriğe geç" — odakta görünür olur */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
}

.skip-link:focus {
  left: 8px;
  top: 8px;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site {
  min-height: 100vh;
  overflow: hidden;
}

.container {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
}

.nav {
  position: relative;
  z-index: 20;
  width: min(1480px, calc(100% - 48px));
  height: 96px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  color: var(--white);
  /* Nav metnine ince gölge — parlak görsel noktalarında da okunur. */
  text-shadow: 0 1px 3px rgba(8, 19, 27, .55);
  border-bottom: 1px solid rgba(255, 255, 255, .15);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 220px;
}

/* Nav/footer logosu: 2x rendition (retina) — gösterim 48px'e sabit, net görünür */
.brand img {
  height: 48px;
  width: auto;
}

.mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(225, 182, 109, .58);
  color: var(--gold-2);
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0;
}

.brand strong {
  display: block;
  font-size: 22px;
  line-height: 1;
  font-weight: 650;
  letter-spacing: 1px;
  /* Veri Title Case ('Karalar'); ALL CAPS yalnızca görünüm. */
  text-transform: uppercase;
}

.brand span span {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, .72);
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 2.2vw, 38px);
  font-size: 13px;
  font-weight: 750;
  color: rgba(255, 255, 255, .82);
}

.nav-links a {
  padding: 38px 0 34px;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  border-color: var(--gold-2);
}

.nav-tools {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
  font-weight: 750;
}

.menu-button {
  width: 42px;
  height: 42px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .26);
  color: var(--white);
  background: rgba(255, 255, 255, .06);
  cursor: pointer;
}

.menu-button span,
.menu-button span::before,
.menu-button span::after {
  width: 18px;
  height: 2px;
  display: block;
  background: currentColor;
}

.menu-button span {
  position: relative;
}

.menu-button span::before,
.menu-button span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-button span::before {
  top: -6px;
}

.menu-button span::after {
  top: 6px;
}

.hero,
.page-hero {
  color: var(--white);
  /* Scrim'ler --hero-scrims'te sabit, fotoğraf --hero-photo'da.
     Şablon yalnızca --hero-photo'yu ezer; scrim (nav okunabilirliği) korunur.
     Faaliyet varyantları da aynı --hero-scrims'i kullanır (aşağıda). */
  background-image:
    var(--hero-scrims),
    var(--hero-photo, url("../img/karalar-hero-panorama.a3c30d81f726.png"));
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero {
  min-height: 760px;
  display: flex;
  flex-direction: column;
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 150px;
  background: linear-gradient(180deg, rgba(8, 19, 27, 0), var(--paper));
  pointer-events: none;
}

.page-hero {
  min-height: 520px;
}

.hero-about { background-position: 18% center; }
.hero-fields { background-position: 50% center; }
.hero-companies { background-position: 68% center; }
.hero-career { background-position: 32% center; }
.hero-contact { background-position: 86% center; }

.hero-insaat,
.hero-filo,
.hero-yat,
.hero-turizm,
.hero-elektronik,
.hero-global {
  background-position: center;
}

/* Faaliyet varyantları: ortak --hero-scrims (nav scrim dahil) + kendi fallback
   fotoğrafı. Admin'den görsel yüklenirse --hero-photo onu kullanır. */
.hero-insaat {
  background-image: var(--hero-scrims), var(--hero-photo, url("../img/portfolio-construction-1.3996dce13e7b.jpg"));
}

.hero-filo {
  background-image: var(--hero-scrims), var(--hero-photo, url("../img/portfolio-fleet-1.2da70bba30eb.jpg"));
}

.hero-yat {
  background-image: var(--hero-scrims), var(--hero-photo, url("../img/portfolio-yacht-2.ebf7836400fa.jpg"));
}

.hero-turizm {
  background-image: var(--hero-scrims), var(--hero-photo, url("../img/portfolio-tourism-1.52392a78f602.jpg"));
}

.hero-elektronik {
  background-image: var(--hero-scrims), var(--hero-photo, url("../img/portfolio-electronics-1.b4765fde7855.jpg"));
}

.hero-global {
  background-image: var(--hero-scrims), var(--hero-photo, url("../img/portfolio-global-1.6e1f48d30a7a.jpg"));
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1480px, calc(100% - 48px));
  margin: auto auto 74px;
  display: grid;
  grid-template-columns: minmax(0, 760px) 1fr;
  align-items: end;
  gap: 54px;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  padding: 92px 0 110px;
}

.eyebrow,
.kicker {
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold-2);
  font-size: 13px;
}

.hero .eyebrow::before,
.page-hero .eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: currentColor;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

.display {
  margin: 14px 0 0;
  font-family: var(--serif);
  font-size: clamp(44px, 6vw, 96px);
  line-height: .96;
  font-weight: 500;
  text-wrap: balance;
}

.hero .display {
  font-size: clamp(58px, 7vw, 116px);
}

.section-title {
  margin: 12px 0 0;
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 64px);
  line-height: 1.02;
  font-weight: 500;
  text-wrap: balance;
}

.lead {
  margin: 22px 0 0;
  max-width: 760px;
  color: #3f4b52;
  font-size: 18px;
  line-height: 1.75;
}

.hero .lead,
.page-hero .lead {
  max-width: 680px;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(18px, 1.45vw, 24px);
}

.hero-actions,
.action-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.btn {
  min-height: 52px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, .34);
  color: var(--white);
  background: rgba(8, 19, 27, .26);
  backdrop-filter: blur(14px);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .5px;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, .62);
  background: rgba(8, 19, 27, .44);
}

.btn.primary {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--ink);
}

.btn.primary:hover {
  background: var(--gold-2);
}

.btn.dark {
  border-color: var(--ink);
  color: var(--white);
  background: var(--ink);
}

.btn.light {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
  backdrop-filter: none;
}

.arrow {
  font-size: 18px;
  line-height: 1;
}

.hero-panel {
  justify-self: end;
  width: min(440px, 100%);
  padding-left: 26px;
  display: grid;
  gap: 22px;
  border-left: 1px solid rgba(225, 182, 109, .46);
}

.hero-panel p {
  margin: 0;
  color: rgba(255, 255, 255, .72);
  font-size: 15px;
  line-height: 1.7;
}

.micro-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.micro-stat {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.micro-stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1;
  font-weight: 500;
}

.micro-stat span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, .62);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.section {
  padding: 96px 0;
  position: relative;
}

.section.alt {
  background: var(--mist);
}

.section.dark {
  color: var(--white);
  background: var(--ink);
}

.section.dark .lead,
.section.dark .muted {
  color: rgba(255, 255, 255, .68);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 36px;
}

.section-head .lead {
  max-width: 540px;
  margin: 0;
  font-size: 16px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  gap: 70px;
  align-items: start;
}

.copy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  color: #455159;
  font-size: 15px;
  line-height: 1.75;
}

.copy-grid p {
  margin: 0;
}

.metric-row {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metric-row.six {
  grid-template-columns: repeat(6, 1fr);
}

.metric {
  min-height: 150px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(38px, 4vw, 62px);
  line-height: 1;
  font-weight: 500;
}

.count-up {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  transform: translateZ(0);
  will-change: transform, contents;
}

.count-up-done {
  transform: none;
  will-change: auto;
}

.metric span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.scale-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.scale-card {
  min-height: 190px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.scale-card strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1;
  font-weight: 500;
}

.scale-card span {
  display: block;
  margin-top: 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.scale-card p {
  margin: 18px 0 0;
  color: #4b5960;
  font-size: 14px;
  line-height: 1.65;
}

.detail-layout .scale-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.section.dark .metric {
  border-color: rgba(255, 255, 255, .16);
}

.section.dark .metric strong {
  color: var(--white);
}

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

.sector-card {
  min-height: 390px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background-image:
    linear-gradient(180deg, rgba(8, 19, 27, .08), rgba(8, 19, 27, .84)),
    url("../img/karalar-hero-panorama.a3c30d81f726.png");
  background-size: cover;
  border: 1px solid rgba(8, 19, 27, .10);
  transition: transform .22s ease, box-shadow .22s ease;
}

.sector-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.sector-card:nth-child(1) {
  background-image:
    linear-gradient(180deg, rgba(8, 19, 27, .08), rgba(8, 19, 27, .84)),
    url("../img/portfolio-construction-1.3996dce13e7b.jpg");
  background-position: center;
}

.sector-card:nth-child(2) {
  background-image:
    linear-gradient(180deg, rgba(8, 19, 27, .02), rgba(8, 19, 27, .76)),
    url("../img/portfolio-fleet-1.2da70bba30eb.jpg");
  background-position: center;
}

.sector-card:nth-child(3) {
  background-image:
    linear-gradient(180deg, rgba(8, 19, 27, .08), rgba(8, 19, 27, .84)),
    url("../img/portfolio-yacht-1.a63f5bebbb4a.jpg");
  background-position: center;
}

.sector-card:nth-child(4) {
  background-image:
    linear-gradient(180deg, rgba(8, 19, 27, .08), rgba(8, 19, 27, .84)),
    url("../img/portfolio-tourism-1.52392a78f602.jpg");
  background-position: center;
}

.sector-card:nth-child(5) {
  background-image:
    linear-gradient(180deg, rgba(8, 19, 27, .08), rgba(8, 19, 27, .84)),
    url("../img/portfolio-electronics-1.b4765fde7855.jpg");
  background-position: center;
}

.sector-card:nth-child(6) {
  background-image:
    linear-gradient(180deg, rgba(8, 19, 27, .08), rgba(8, 19, 27, .84)),
    url("../img/portfolio-global-1.6e1f48d30a7a.jpg");
  background-position: center;
}

.sector-card::before {
  content: attr(data-no);
  position: absolute;
  top: 22px;
  left: 22px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--gold-2);
  background: rgba(8, 19, 27, .50);
  border: 1px solid rgba(225, 182, 109, .72);
  font-family: var(--serif);
  font-size: 24px;
}

.sector-body {
  width: 100%;
  padding: 28px;
  position: relative;
  z-index: 1;
}

.sector-body h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.05;
  font-weight: 500;
  text-wrap: balance;
}

.sector-card-logo {
  display: block;
  width: min(188px, 76%);
  max-height: 62px;
  object-fit: contain;
  object-position: left center;
  margin: 0 0 18px;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .34));
}

.sector-card-logo-mkio {
  width: min(198px, 82%);
}

.sector-card-logo-filo {
  width: min(210px, 86%);
  max-height: none;
  padding: 7px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .24);
  box-sizing: border-box;
  filter: none;
}

.sector-body p {
  min-height: 70px;
  margin: 16px 0 22px;
  color: rgba(255, 255, 255, .76);
  font-size: 14px;
  line-height: 1.55;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.company-strip,
.company-grid {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .14);
}

.company-strip {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.company-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.company {
  min-height: 160px;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--ink);
  color: var(--white);
  transition: background .2s ease;
}

.company:hover {
  background: #10252d;
}

.company .symbol {
  color: var(--gold-2);
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
}

.company-logo-card {
  gap: 22px;
  background: var(--paper);
}

/* Koyu şeritte logolar açık kartta belirginleşir (kontrast) */
.company-logo-card:hover {
  background: var(--stone);
}

.company.company-logo-card small {
  color: #3f4b52;
}

.company-logo-card .company-logo {
  filter: none;
}

.company-logo {
  width: min(100%, 178px);
  height: 54px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .22));
}

.company-logo-mkio {
  width: min(100%, 204px);
}

.company-logo-filo,
.company-logo-gayrimenkul {
  width: min(100%, 230px);
  height: auto;
  max-height: 76px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .28));
}

.company-logo-gayrimenkul {
  width: min(100%, 246px);
  max-height: 72px;
}

/* Elysium dikey logo — diğerlerine yakın görünsün diye daha yüksek göster */
.company-logo-elysium {
  width: auto;
  height: auto;
  max-height: 84px;
}

.company strong {
  display: block;
  margin-top: 20px;
  font-size: 19px;
  line-height: 1.05;
  letter-spacing: .8px;
  /* Veri Title Case ('Karalar Filo'); ALL CAPS yalnızca görünüm. */
  text-transform: uppercase;
}

.company span span,
.company small {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, .56);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.timeline {
  margin-top: 14px;
  display: grid;
  border-top: 1px solid var(--line);
}

.time-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.time-item strong {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
}

.time-item h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.time-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.value-grid,
.feature-grid,
.service-grid,
.project-grid {
  display: grid;
  gap: 16px;
}

.value-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-grid,
.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.project-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.value,
.feature,
.service,
.project,
.contact-card,
.career-card {
  border: 1px solid var(--line);
  background: var(--white);
}

.value,
.feature,
.service,
.project {
  padding: 28px;
}

.value b,
.feature b,
.service b,
.project b,
.contact-card b,
.career-card b {
  color: var(--teal);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.value h3,
.feature h3,
.service h3,
.project h3,
.contact-card h3,
.career-card h3 {
  margin: 22px 0 0;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.12;
  font-weight: 500;
}

.value p,
.feature p,
.service p,
.project p,
.contact-card p,
.career-card p {
  margin: 14px 0 0;
  color: #4c5961;
  font-size: 14px;
  line-height: 1.65;
}

.project-thumb {
  width: calc(100% + 56px);
  max-width: none;
  /* Sabit 190px yükseklik tek kolonlu/orta ekranlarda görseli ince bir dilime
     indirip araçları kesiyordu. 2:1 oran masaüstü 3 kolonlu görünümle birebir
     aynıdır (≈380x190); dar ekranlarda görsel oranıyla büyür. */
  aspect-ratio: 2 / 1;
  height: auto;
  margin: -28px -28px 24px;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.detail-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.side-nav {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 8px;
}

.side-nav a {
  padding: 15px 16px;
  border: 1px solid var(--line);
  background: var(--white);
  color: #3c4850;
  font-size: 13px;
  font-weight: 800;
}

.side-nav a.active,
.side-nav a:hover {
  border-color: var(--gold);
  color: var(--ink);
}

.detail-block {
  padding: 38px;
  border: 1px solid var(--line);
  background: var(--white);
}

.detail-block + .detail-block {
  margin-top: 18px;
}

.hero-brand-logo {
  display: block;
  width: min(300px, 76vw);
  max-height: 92px;
  object-fit: contain;
  object-position: left center;
  margin: 24px 0 18px;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, .36));
}

.hero-brand-logo-mkio {
  width: min(340px, 78vw);
  max-height: none;
  margin: 22px 0 14px;
}

.hero-brand-logo-filo {
  width: min(460px, 82vw);
  max-height: none;
  margin: 24px 0 16px;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, .34));
}

.hero-brand-logo + .display {
  margin-top: 0;
}

.detail-block-branded {
  position: relative;
}

.detail-brand-logo {
  display: block;
  width: min(330px, 100%);
  max-height: 116px;
  object-fit: contain;
  object-position: left center;
  margin: 0 0 30px;
}

.detail-brand-logo-mkio {
  width: min(390px, 100%);
  max-height: none;
  margin-bottom: 24px;
}

.detail-brand-logo-filo {
  width: min(430px, 100%);
  max-height: none;
  margin-bottom: 26px;
  filter: drop-shadow(0 14px 28px rgba(8, 19, 27, .12));
}

.block-gap {
  margin-top: 18px;
}

.detail-block h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1.08;
  font-weight: 500;
}

.detail-block p {
  color: #445159;
  line-height: 1.78;
}

.pill-list {
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}

.pill-list li {
  padding: 10px 14px;
  border: 1px solid rgba(200, 149, 69, .42);
  color: #4a3a23;
  background: rgba(200, 149, 69, .09);
  font-size: 13px;
  font-weight: 750;
}

.photo-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(360px, .78fr);
  gap: 18px;
  align-items: stretch;
}

.photo-stack {
  display: grid;
  gap: 18px;
}

.photo-card {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  border: 1px solid rgba(8, 19, 27, .12);
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 18px 44px rgba(8, 19, 27, .12);
}

.photo-card.large {
  min-height: 520px;
}

.photo-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform .65s ease, filter .65s ease;
}

.photo-card:hover img {
  transform: scale(1.045);
  filter: saturate(1.05) contrast(1.03);
}

.photo-card figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 24px;
  background: linear-gradient(180deg, rgba(8, 19, 27, 0), rgba(8, 19, 27, .88));
}

.photo-card b {
  display: block;
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.photo-card span {
  display: block;
  max-width: 520px;
  margin-top: 8px;
  font-family: var(--serif);
  font-size: clamp(24px, 2.5vw, 38px);
  line-height: 1.08;
}

.photo-card.small span {
  font-size: 23px;
}

.image-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.image-strip img {
  width: 100%;
  aspect-ratio: 1.22;
  object-fit: cover;
  border: 1px solid rgba(8, 19, 27, .12);
  transition: transform .3s ease, filter .3s ease;
}

.image-strip img:hover {
  transform: translateY(-3px);
  filter: saturate(1.05) contrast(1.03);
}

.activity-flow {
  margin-top: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .62);
  overflow: hidden;
}

.activity-flow-head {
  min-height: 64px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.activity-flow-head span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.activity-flow-head strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.05;
  font-weight: 500;
}

.activity-flow-window {
  position: relative;
  overflow: hidden;
  padding: 18px 0;
}

.activity-flow-window::before,
.activity-flow-window::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: min(120px, 16vw);
  pointer-events: none;
}

.activity-flow-window::before {
  left: 0;
  background: linear-gradient(90deg, var(--paper), rgba(251, 250, 247, 0));
}

.activity-flow-window::after {
  right: 0;
  background: linear-gradient(270deg, var(--paper), rgba(251, 250, 247, 0));
}

.activity-flow-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: activityFlow 95s linear infinite;
  will-change: transform;
}

.activity-slide {
  flex: 0 0 clamp(230px, 26vw, 360px);
  height: clamp(176px, 18vw, 240px);
  margin: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(8, 19, 27, .12);
  background: var(--ink);
  color: var(--white);
}

.activity-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease, filter .45s ease;
}

.activity-slide figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 18px;
  background: linear-gradient(180deg, rgba(8, 19, 27, 0), rgba(8, 19, 27, .88));
}

.activity-slide b {
  display: block;
  color: var(--gold-2);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.activity-slide span {
  display: block;
  margin-top: 5px;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.05;
}

.activity-slide:hover img {
  transform: scale(1.055);
  filter: saturate(1.06) contrast(1.04);
}

.sapanca-flow {
  margin-top: 22px;
  border: 1px solid rgba(8, 19, 27, .16);
  background:
    linear-gradient(135deg, rgba(200, 149, 69, .12), rgba(255, 255, 255, 0) 38%),
    var(--ink);
  color: var(--white);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(8, 19, 27, .14);
}

.sapanca-flow-head {
  min-height: 66px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.sapanca-flow-head span {
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.sapanca-flow-head strong {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.05;
  font-weight: 500;
}

.sapanca-flow-window {
  position: relative;
  overflow: hidden;
  padding: 16px 0;
}

.sapanca-flow-window::before,
.sapanca-flow-window::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: min(140px, 18vw);
  pointer-events: none;
}

.sapanca-flow-window::before {
  left: 0;
  background: linear-gradient(90deg, var(--ink), rgba(8, 19, 27, 0));
}

.sapanca-flow-window::after {
  right: 0;
  background: linear-gradient(270deg, var(--ink), rgba(8, 19, 27, 0));
}

.sapanca-flow-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: sapancaFlow 78s linear infinite;
  will-change: transform;
}

.sapanca-slide {
  flex: 0 0 clamp(280px, 31vw, 440px);
  height: clamp(190px, 19vw, 248px);
  margin: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  background: #101b24;
}

.sapanca-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease, filter .45s ease;
}

.sapanca-slide figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 1;
  padding: 8px 10px;
  color: var(--white);
  background: rgba(8, 19, 27, .74);
  border: 1px solid rgba(225, 182, 109, .34);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.sapanca-slide:hover img {
  transform: scale(1.045);
  filter: saturate(1.06) contrast(1.03);
}

@media (prefers-reduced-motion: no-preference) {
  .photo-card.large img {
    animation: photoSlowPan 18s ease-in-out infinite alternate;
  }
}

@media (prefers-reduced-motion: reduce) {
  .activity-flow-track,
  .sapanca-flow-track {
    animation: none;
    transform: none;
  }
}

@keyframes photoSlowPan {
  from {
    transform: scale(1.01) translate3d(-.4%, 0, 0);
  }

  to {
    transform: scale(1.055) translate3d(.6%, -.4%, 0);
  }
}

@keyframes activityFlow {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(calc(-50% - 7px), 0, 0);
  }
}

@keyframes sapancaFlow {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(calc(-50% - 7px), 0, 0);
  }
}

.cta {
  color: var(--white);
  background-image:
    linear-gradient(90deg, rgba(8, 19, 27, .88), rgba(8, 19, 27, .54)),
    url("../img/karalar-hero-panorama.a3c30d81f726.png");
  background-size: cover;
  background-position: center bottom;
  padding: 74px 0;
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
}

.cta h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 60px);
  line-height: 1.02;
  font-weight: 500;
}

.cta p {
  max-width: 660px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: 17px;
  line-height: 1.65;
}

.contact-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
}

.role-grid,
.process-grid {
  display: grid;
  gap: 16px;
}

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

.role-card,
.process-step {
  border: 1px solid var(--line);
  background: var(--white);
}

.role-card {
  min-height: 210px;
  padding: 28px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 22px;
}

.role-card b,
.process-step b {
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.role-card h3,
.process-step h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.1;
  font-weight: 500;
}

.role-card p,
.process-step p {
  margin: 14px 0 0;
  color: #4c5961;
  font-size: 14px;
  line-height: 1.68;
}

.role-card span {
  display: inline-flex;
  margin-top: 20px;
  padding: 8px 11px;
  border: 1px solid rgba(200, 149, 69, .36);
  color: #6b542e;
  background: rgba(200, 149, 69, .08);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  counter-reset: process;
}

.process-step {
  min-height: 230px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.process-step::after {
  content: "";
  position: absolute;
  inset: auto 28px 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), rgba(200, 149, 69, 0));
}

.process-step h3 {
  margin-top: 28px;
}

.career-apply {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .62fr);
  gap: 42px;
  align-items: center;
}

.career-apply .contact-card {
  box-shadow: var(--shadow);
}

.career-apply .btn {
  margin-top: 24px;
}

.contact-card,
.career-card {
  padding: 30px;
}

.contact-stack {
  display: grid;
  gap: 16px;
}

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

.form label {
  display: grid;
  gap: 8px;
  color: #4c5961;
  font-size: 13px;
  font-weight: 800;
}

.form .wide {
  grid-column: 1 / -1;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  padding: 14px 14px;
  color: var(--ink);
  outline: none;
}

.form textarea {
  min-height: 148px;
  resize: vertical;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  border-color: var(--gold);
}

.footer {
  padding: 54px 0 26px;
  background: #071017;
  color: rgba(255, 255, 255, .68);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(150px, .65fr));
  gap: 46px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.footer .brand {
  min-width: 0;
  color: var(--white);
}

.footer p {
  max-width: 360px;
  margin: 22px 0 0;
  font-size: 14px;
  line-height: 1.7;
}

.footer h3 {
  margin: 0 0 18px;
  color: var(--white);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.footer-grid > div:not(:first-child) a,
.footer-grid > div:not(:first-child) span {
  display: block;
  margin-top: 10px;
  font-size: 14px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  font-size: 13px;
}

.footer-bottom div {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

@media (max-width: 1180px) {
  .nav {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-links,
  .nav-tools {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }

  body.nav-open .nav-links {
    position: fixed;
    inset: 96px 24px auto;
    display: grid;
    gap: 0;
    padding: 12px;
    color: var(--ink);
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  body.nav-open .nav-links a {
    padding: 16px;
    border-bottom: 1px solid var(--line);
  }

  body.nav-open .nav-links a.active {
    color: var(--ink);
    border-color: var(--gold);
  }

  .hero-inner,
  .split,
  .career-apply,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    justify-self: start;
    max-width: 640px;
  }

  .metric-row.six,
  .company-strip,
  .value-grid,
  .feature-grid,
  .scale-grid,
  .image-strip,
  .service-grid,
  .process-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .role-grid {
    grid-template-columns: 1fr;
  }

  .photo-showcase {
    grid-template-columns: 1fr;
  }

  .photo-card.large {
    min-height: 440px;
  }

  .side-nav {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 880px) {
  .nav,
  .hero-inner,
  .page-hero-inner,
  .container {
    width: min(100% - 32px, 720px);
  }

  .nav {
    height: 82px;
  }

  .brand {
    min-width: 0;
  }

  .mark {
    width: 40px;
    height: 40px;
    font-size: 26px;
  }

  .brand strong {
    font-size: 18px;
  }

  .brand span span {
    letter-spacing: 4px;
  }

  .hero {
    min-height: 690px;
    background-position: 52% center;
  }

  .hero-inner {
    margin-bottom: 54px;
  }

  .hero-panel {
    display: none;
  }

  .section {
    padding: 70px 0;
  }

  .page-hero {
    min-height: 470px;
  }

  .page-hero-inner {
    padding: 72px 0 92px;
  }

  .section-head {
    display: block;
  }

  .section-head .lead {
    margin-top: 18px;
  }

  .copy-grid,
  .contact-layout,
  .career-apply,
  .form {
    grid-template-columns: 1fr;
  }

  .metric-row,
  .metric-row.six {
    grid-template-columns: repeat(2, 1fr);
  }

  .metric {
    border-bottom: 1px solid var(--line);
  }

  .sector-grid,
  .company-grid,
  .scale-grid,
  .detail-layout .scale-grid,
  .role-grid,
  .process-grid,
  .project-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .company-strip,
  .value-grid,
  .feature-grid,
  .image-strip,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .photo-card,
  .photo-card.large {
    min-height: 320px;
  }

  .activity-flow-head,
  .sapanca-flow-head {
    display: block;
  }

  .activity-flow-head strong,
  .sapanca-flow-head strong {
    display: block;
    margin-top: 8px;
  }

  .activity-slide,
  .sapanca-slide {
    flex-basis: 250px;
    height: 190px;
  }

  .activity-slide span {
    font-size: 19px;
  }

  .sector-card {
    min-height: 320px;
  }

  .cta-inner {
    grid-template-columns: 1fr;
  }

  .cta .btn {
    width: fit-content;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .hero .lead,
  .page-hero .lead,
  .lead {
    font-size: 16px;
  }

  .display {
    font-size: clamp(46px, 14vw, 72px);
  }

  .hero-actions,
  .action-row {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .metric-row,
  .metric-row.six,
  .side-nav {
    grid-template-columns: 1fr;
  }

  .metric {
    border-right: 0;
  }

  .time-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .detail-block {
    padding: 28px;
  }
}
