/* ==========================================================================
   Katbilen Anasayfa — sade, fotoğraf odaklı tasarım
   Instagram görsel dili: sıcak traverten tonları, koyu lacivert başlıklar,
   bol boşluk, gerçek yaşam fotoğrafları.
   ========================================================================== */

.page-home {
  --kb-ink: #142036;
  --kb-ink-soft: #3c475b;
  --kb-muted: #6b7180;
  --kb-blue: #0a5db2;
  --kb-sand: #f6f1e9;
  --kb-stone: #ece3d5;
  --kb-paper: #fbf9f5;
  --kb-line: rgba(20, 32, 54, 0.12);
  --kb-radius: 22px;
  --kb-ease: cubic-bezier(.2, .7, .2, 1);
  background: var(--kb-paper);
  color: var(--kb-ink);
}

/* --- Genel ------------------------------------------------------------ */
.kb { overflow-x: clip; }
.kb * { box-sizing: border-box; }
:where(.kb) img { display: block; max-width: 100%; }
:where(.kb) :where(h1, h2, h3, p, figure, ol, ul, dl, dd) { margin: 0; padding: 0; }
:where(.kb) :where(ol, ul) { list-style: none; }

.kb-wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

.kb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--kb-blue);
}
.kb-eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.kb-eyebrow-light { color: #9cc4f0; }

.kb-h2 {
  font-size: clamp(2rem, 1.4rem + 2.2vw, 3.1rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--kb-ink);
  max-width: 17ch;
  text-wrap: balance;
}

.kb-lead {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--kb-ink-soft);
  max-width: 46ch;
}

.kb-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 56px;
}
.kb-head-note {
  max-width: 34ch;
  color: var(--kb-muted);
  line-height: 1.65;
}
.kb-head-note a { color: var(--kb-ink); text-decoration: underline; text-underline-offset: 3px; }

.kb-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding-bottom: 4px;
  font-weight: 600;
  color: var(--kb-ink);
  border-bottom: 1.5px solid var(--kb-ink);
  transition: gap .3s var(--kb-ease), color .2s;
}
.kb-link svg { width: 17px; height: 17px; }
.kb-link:hover { gap: 12px; color: var(--kb-blue); border-color: var(--kb-blue); }

/* Butonlar */
.kb-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.kb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--kb-ease);
}
.kb-btn svg { width: 18px; height: 18px; transition: transform .3s var(--kb-ease); }
.kb-btn:hover svg { transform: translateX(3px); }
.kb-btn-dark { background: var(--kb-ink); color: #fff; }
.kb-btn-dark:hover { background: var(--kb-blue); color: #fff; }
.kb-btn-line { color: var(--kb-ink); border: 1.5px solid var(--kb-line); background: transparent; }
.kb-btn-line:hover { border-color: var(--kb-ink); }
.kb-btn-light { background: #fff; color: var(--kb-ink); }
.kb-btn-light:hover { background: var(--kb-sand); color: var(--kb-ink); }

/* --- Hero ------------------------------------------------------------- */
.kb-hero {
  padding: 48px 0 104px;
  background:
    radial-gradient(1200px 600px at 0% 0%, #fff 0%, transparent 60%),
    var(--kb-sand);
}
.kb-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 72px;
}
.kb-kicker {
  display: block;
  margin-bottom: 26px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--kb-blue);
}
.kb-hero-title {
  font-size: clamp(2.6rem, 1.5rem + 3.9vw, 4.6rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.045em;
  color: var(--kb-ink);
  text-wrap: balance;
}
.kb-hero-lead {
  margin: 28px 0 40px;
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--kb-ink-soft);
  max-width: 44ch;
}
.kb-hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--kb-line);
  font-size: .95rem;
  color: var(--kb-muted);
}
.kb-hero-facts b { color: var(--kb-ink); font-weight: 700; }

.kb-hero-media {
  position: relative;
  aspect-ratio: 4 / 4.6;
  border-radius: calc(var(--kb-radius) + 8px);
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(80, 56, 20, .35);
}
.kb-hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.4s ease, transform 7s linear;
}
.kb-hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}
.kb-hero-dots {
  position: absolute;
  left: 24px;
  bottom: 22px;
  z-index: 2;
  display: flex;
  gap: 8px;
}
.kb-hero-dot {
  position: relative;
  width: 34px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: rgba(255, 255, 255, .45);
  cursor: pointer;
  overflow: hidden;
}
.kb-hero-dot::before { content: ""; position: absolute; inset: -10px 0; }
.kb-hero-dot i {
  position: absolute;
  inset: 0;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
}
.kb-hero-dot.is-active i { animation: kb-dot var(--kb-slide-ms, 6000ms) linear forwards; }
.kb-hero-media.is-static .kb-hero-dot.is-active i { animation: none; transform: scaleX(1); }
@keyframes kb-dot { to { transform: scaleX(1); } }


/* --- Manifesto -------------------------------------------------------- */
.kb-statement { padding: 128px 0 120px; background: var(--kb-paper); }
.kb-statement-text {
  max-width: 24ch;
  font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.3rem);
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--kb-ink);
  text-wrap: balance;
}
.kb-statement-text span { color: var(--kb-blue); }
.kb-pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
  margin-top: 80px;
}
.kb-pillars > div { padding-top: 24px; border-top: 1px solid var(--kb-ink); }
.kb-pillars dt { font-size: 1.05rem; font-weight: 700; letter-spacing: -.015em; margin-bottom: 10px; }
.kb-pillars dd { color: var(--kb-muted); line-height: 1.65; font-size: .97rem; }

/* --- Hizmet hikâyeleri ------------------------------------------------ */
.kb-services { padding: 120px 0; background: var(--kb-sand); }
.kb-story-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}
.kb-story { display: flex; flex-direction: column; color: var(--kb-ink); }
.kb-story-media {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--kb-radius);
  margin-bottom: 24px;
  background: var(--kb-stone);
}
.kb-story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--kb-ease);
}
.kb-story:hover .kb-story-media img { transform: scale(1.045); }
.kb-story-label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--kb-muted);
  margin-bottom: 10px;
}
.kb-story h3 {
  font-size: 1.32rem;
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -.025em;
  margin-bottom: 10px;
  text-wrap: balance;
}
.kb-story p { color: var(--kb-ink-soft); line-height: 1.6; font-size: .97rem; margin-bottom: 18px; }
.kb-story-more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: .94rem;
  transition: gap .3s var(--kb-ease), color .2s;
}
.kb-story-more svg { width: 16px; height: 16px; }
.kb-story:hover .kb-story-more { gap: 12px; color: var(--kb-blue); }

.kb-minor {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 72px;
  padding-top: 32px;
  border-top: 1px solid var(--kb-line);
}
.kb-minor a {
  display: inline-flex;
  padding: 11px 20px;
  border: 1px solid var(--kb-line);
  border-radius: 999px;
  color: var(--kb-ink);
  font-weight: 500;
  font-size: .95rem;
  transition: background .2s, border-color .2s;
}
.kb-minor a:hover { background: #fff; border-color: var(--kb-ink); }

/* --- İkili bölümler (rapor, uygulama) -------------------------------- */
.kb-split { padding: 128px 0; background: var(--kb-paper); }
.kb-split-sand { background: var(--kb-paper); }
.kb-split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: 96px;
}
.kb-split-reverse .kb-split-media { order: 2; }
.kb-split-media {
  aspect-ratio: 1 / 1.05;
  border-radius: calc(var(--kb-radius) + 6px);
  overflow: hidden;
  background: var(--kb-stone);
}
.kb-split-media img { width: 100%; height: 100%; object-fit: cover; }
#seffaf-yonetim .kb-split-media { aspect-ratio: 4 / 5; }
#seffaf-yonetim .kb-split-media img { object-position: 50% 70%; }
#mobil-uygulama .kb-split-media img { object-position: 60% 50%; }
.kb-split-copy .kb-h2 { margin-bottom: 24px; }

.kb-checks { margin: 40px 0; counter-reset: kb; }
.kb-checks li {
  counter-increment: kb;
  display: grid;
  grid-template-columns: 44px 1fr;
  row-gap: 2px;
  padding: 18px 0;
  border-top: 1px solid var(--kb-line);
}
.kb-checks li:last-child { border-bottom: 1px solid var(--kb-line); }
.kb-checks li::before {
  content: counter(kb, decimal-leading-zero);
  grid-row: span 2;
  font-size: .82rem;
  font-weight: 600;
  color: var(--kb-blue);
  padding-top: 3px;
}
.kb-checks b { font-weight: 700; letter-spacing: -.01em; }
.kb-checks span { color: var(--kb-muted); font-size: .95rem; }

.kb-reports { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kb-reports a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--kb-sand);
  color: var(--kb-ink);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: -.01em;
  transition: background .2s;
}
.kb-reports small { display: block; font-weight: 500; font-size: .78rem; color: var(--kb-muted); margin-bottom: 3px; letter-spacing: 0; }
.kb-reports svg { width: 18px; height: 18px; flex-shrink: 0; }
.kb-reports a:hover { background: var(--kb-stone); }

.kb-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 36px 0 40px; }
.kb-tags li {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--kb-sand);
  font-weight: 500;
  font-size: .95rem;
}
.kb-stores { display: flex; flex-wrap: wrap; gap: 12px; }
.kb-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 22px 0 18px;
  border-radius: 14px;
  background: var(--kb-ink);
  color: #fff;
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.1;
  transition: background .2s;
}
.kb-store:hover { background: var(--kb-blue); color: #fff; }
.kb-store svg { width: 24px; height: 24px; }
.kb-store small { display: block; font-weight: 500; font-size: .72rem; opacity: .7; }
.kb-note { margin-top: 22px; color: var(--kb-muted); font-size: .95rem; }
.kb-note a { color: var(--kb-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* --- Süreç ------------------------------------------------------------ */
.kb-process { padding: 120px 0; background: var(--kb-ink); color: #fff; }
.kb-process .kb-h2 { color: #fff; }
.kb-process .kb-eyebrow { color: #9cc4f0; }
.kb-process .kb-head-note { color: rgba(255,255,255,.62); }
.kb-process .kb-head-note a { color: #fff; }
.kb-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
}
.kb-steps li { padding-top: 28px; border-top: 1px solid rgba(255,255,255,.22); }
.kb-steps span {
  display: block;
  font-size: 2.6rem;
  font-weight: 300;
  letter-spacing: -.04em;
  color: rgba(255,255,255,.4);
  margin-bottom: 26px;
  line-height: 1;
}
.kb-steps h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: 12px; color: #fff; }
.kb-steps p { color: rgba(255,255,255,.66); line-height: 1.65; font-size: .97rem; }

/* --- Rehberler -------------------------------------------------------- */
.kb-guides { padding: 120px 0 104px; background: var(--kb-paper); }
.kb-guide-list { border-top: 1px solid var(--kb-ink); }
.kb-guide-list a {
  display: grid;
  grid-template-columns: 220px 1fr 28px;
  align-items: center;
  gap: 32px;
  padding: 30px 4px;
  border-bottom: 1px solid var(--kb-line);
  color: var(--kb-ink);
  transition: padding .35s var(--kb-ease), color .2s;
}
.kb-guide-list small { font-size: .82rem; color: var(--kb-muted); font-weight: 500; }
.kb-guide-list h3 { font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); font-weight: 700; letter-spacing: -.025em; }
.kb-guide-list svg { width: 24px; height: 24px; transition: transform .35s var(--kb-ease); }
.kb-guide-list a:hover { padding-left: 16px; color: var(--kb-blue); }
.kb-guide-list a:hover svg { transform: translateX(4px); }

/* --- Instagram -------------------------------------------------------- */
.kb-insta { padding: 104px 0 120px; background: var(--kb-paper); }
.kb-insta .kb-head { margin-bottom: 40px; }
.kb-insta-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 32px;
}
.kb-insta-row a {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 16px;
  background: var(--kb-stone);
}
.kb-insta-row img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--kb-ease), opacity .3s; }
.kb-insta-row a:hover img { transform: scale(1.04); opacity: .92; }

/* --- Son çağrı -------------------------------------------------------- */
.kb-cta { padding: 0 0 120px; background: var(--kb-paper); }
.kb-cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 64px;
  padding: 72px;
  border-radius: calc(var(--kb-radius) + 10px);
  background:
    linear-gradient(115deg, rgba(20,32,54,.97) 35%, rgba(20,32,54,.78)),
    url("/assets/images/home/kb-giris-640.webp") right center / cover no-repeat;
  color: #fff;
}
.kb-cta-copy h2 {
  font-size: clamp(2rem, 1.3rem + 2.4vw, 3.2rem);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -.04em;
  max-width: 14ch;
  margin-bottom: 20px;
}
.kb-cta-copy p { color: rgba(255,255,255,.72); line-height: 1.7; max-width: 44ch; margin-bottom: 36px; font-size: 1.05rem; }
.kb-cta-options { align-self: end; border-top: 1px solid rgba(255,255,255,.2); }
.kb-cta-options a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,.2);
  color: #fff;
  transition: padding .3s var(--kb-ease);
}
.kb-cta-options a:hover { padding-left: 10px; }
.kb-cta-options small { color: rgba(255,255,255,.55); font-size: .85rem; }
.kb-cta-options strong { font-weight: 600; text-align: right; }

/* --- Erişilebilirlik ------------------------------------------------- */
.kb a:focus-visible { outline: 2px solid var(--kb-blue); outline-offset: 4px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) {
  .kb *, .kb *::before { animation: none !important; transition: none !important; }
}

/* --- Duyarlı ---------------------------------------------------------- */
@media (max-width: 1100px) {
  .kb-story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 28px; }
  .kb-pillars, .kb-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
  .kb-insta-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kb-split-grid { gap: 56px; }
  .kb-cta-card { padding: 56px; gap: 48px; }
}

@media (max-width: 900px) {
  .kb-wrap { padding: 0 24px; }
  .kb-hero { padding: 24px 0 72px; }
  .kb-hero-grid, .kb-split-grid, .kb-cta-card { grid-template-columns: 1fr; }
  .kb-hero-grid { gap: 40px; }
  .kb-hero-media { aspect-ratio: 4 / 3.4; }
  .kb-split-reverse .kb-split-media { order: 0; }
  .kb-split-media { aspect-ratio: 4 / 3.4; }
  .kb-statement, .kb-services, .kb-split, .kb-process, .kb-guides { padding: 88px 0; }
  .kb-head { flex-direction: column; align-items: flex-start; margin-bottom: 40px; }
  .kb-guide-list a { grid-template-columns: 1fr 24px; gap: 6px 16px; }
  .kb-guide-list small { grid-column: 1 / -1; }
  .kb-insta-row { padding: 0 24px; }
}

@media (max-width: 640px) {
  .kb-wrap { padding: 0 16px; }
  .kb-hero { padding-top: 32px; }
  .kb-hero-media { border-radius: var(--kb-radius); aspect-ratio: 1 / 1; }
  .kb-hero-lead { font-size: 1.05rem; margin: 22px 0 30px; }
  .kb-actions .kb-btn { width: 100%; }
  .kb-hero-facts { margin-top: 36px; }
  .kb-pillars, .kb-steps { grid-template-columns: 1fr; gap: 28px; }
  .kb-pillars { margin-top: 56px; }
  .kb-story-grid { grid-template-columns: 1fr; gap: 48px; }
  .kb-story-media { aspect-ratio: 4 / 3.6; }
  .kb-reports { grid-template-columns: 1fr; }
  .kb-insta-row {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 16px 8px;
    scrollbar-width: none;
  }
  .kb-insta-row::-webkit-scrollbar { display: none; }
  .kb-insta-row a { flex: 0 0 64%; scroll-snap-align: start; }
  .kb-cta { padding-bottom: 88px; }
  .kb-cta-card { padding: 40px 24px; border-radius: var(--kb-radius); }
  .kb-cta-options strong { font-size: .95rem; }
  .kb-minor { margin-top: 56px; }
}
