/* Kurumsal çözümler sayfasına özel; tasfiye.css ile birlikte yüklenir. */

.kc-hero h1 { max-width: 20ch; font-size: clamp(2rem, 3.6vw, 2.9rem); }

/* 3D hizmet panosu */
.kc-hub {
  position: relative;
  padding: 2.5rem 0;
  perspective: 1400px;
}

.kc-hub__scene {
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(calc(12deg + var(--rx, 0deg))) rotateY(calc(-18deg + var(--ry, 0deg)));
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}

.kc-hub.is-tilting .kc-hub__scene { transition-duration: .15s; }

.kc-hub__plate {
  position: absolute;
  inset: -12% -4% -10% 6%;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 22px;
  background: #143028;
  box-shadow: 0 40px 70px rgba(0, 0, 0, .4);
  transform: translateZ(-90px);
}

.kc-hub__plate img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) brightness(.55); }

.kc-hub__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
  transform-style: preserve-3d;
}

.kc-tile {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .95rem 1rem;
  border: 1px solid rgba(231, 197, 106, .35);
  border-radius: 16px;
  background: rgba(255, 255, 255, .97);
  color: #143028;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  box-shadow: 0 18px 34px rgba(0, 0, 0, .3);
  transform: translateZ(calc(30px + var(--i) * 10px));
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease, background .25s ease;
}

.kc-tile:hover,
.kc-tile:focus-visible {
  background: #fff;
  box-shadow: 0 30px 48px rgba(0, 0, 0, .38);
  transform: translateZ(calc(75px + var(--i) * 10px));
}

.kc-tile:focus-visible { outline: 2px solid #c4a15a; outline-offset: 3px; }

.kc-tile__icon {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  background: linear-gradient(145deg, #1b4332, #10261c);
  color: #e7c56a;
  font-size: 1.1rem;
}

.kc-hub__badge {
  position: relative;
  display: grid;
  width: max-content;
  margin: 1.1rem 0 0 auto;
  gap: .2rem;
  padding: .8rem 1.05rem;
  border-radius: 14px;
  background: linear-gradient(145deg, #e7c56a, #c4a15a);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
  transform: translateZ(140px);
  animation: kc-float 5s ease-in-out infinite;
}

.kc-hub__badge strong { color: #10261c; font-size: 1rem; font-weight: 700; }
.kc-hub__badge span { color: #143028; font-size: .78rem; letter-spacing: .02em; }

@keyframes kc-float {
  0%, 100% { transform: translateZ(140px) translateY(0); }
  50% { transform: translateZ(140px) translateY(-8px); }
}

/* Hizmet kartları */
.kc-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.kc-svc {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid #e3ebe6;
  border-radius: 20px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(27, 67, 50, .05);
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease;
}

.kc-svc.is-tilting { transition-duration: .12s, .35s; }
.kc-svc:hover { box-shadow: 0 28px 54px rgba(27, 67, 50, .15); }

.kc-svc::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(231, 197, 106, .2), transparent 55%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}

.kc-svc.is-tilting::after { opacity: 1; }

.kc-svc__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
  background: #e7eee9;
}

.kc-svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.kc-svc:hover .kc-svc__media img { transform: scale(1.05); }

.kc-svc__num {
  position: absolute;
  top: .85rem;
  right: .85rem;
  padding: .3rem .6rem;
  border-radius: 999px;
  background: rgba(16, 38, 28, .82);
  color: #e7c56a;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
}

.kc-svc__icon {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  margin: -1.65rem 0 0 1.3rem;
  border: 3px solid #fff;
  border-radius: 15px;
  background: linear-gradient(145deg, #1b4332, #10261c);
  color: #e7c56a;
  font-size: 1.35rem;
  box-shadow: 0 12px 22px rgba(16, 38, 28, .28);
  transform: translateZ(45px);
}

.kc-svc__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: .65rem;
  padding: .85rem 1.35rem 1.4rem;
  transform: translateZ(22px);
}

.kc-svc h3 { margin: 0; color: #143028; font-size: 1.12rem; font-weight: 700; }
.kc-svc__text { color: #5f6f68; font-size: .92rem; line-height: 1.6; }

.kc-svc__fits {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: .2rem;
}

.kc-svc__fits span {
  padding: .3rem .6rem;
  border: 1px solid #e3ebe6;
  border-radius: 999px;
  background: #f3f6f4;
  color: #1b4332;
  font-size: .76rem;
  font-weight: 600;
}

.kc-svc__more {
  margin-top: auto;
  color: #1b4332;
  font-size: .9rem;
  font-weight: 700;
}

.kc-svc__more::after { content: " →"; color: #c4a15a; }

.kc-svc:focus-visible { outline: 2px solid #c4a15a; outline-offset: 3px; }

/* Çözüm eşleştirme tablosu */
.kc-match td a {
  color: #1b4332;
  font-weight: 700;
  white-space: nowrap;
}

.kc-match td a::after { content: " →"; color: #c4a15a; }
.kc-match td a:hover { text-decoration: underline; text-underline-offset: .15em; }

@media (max-width: 1100px) {
  .kc-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 800px) {
  .kc-hub { padding: 1.5rem 0 2.5rem; }
  .kc-hub__scene { transform: rotateX(6deg) rotateY(-8deg); }
  .kc-hub__plate { inset: -1rem 0 -1rem 0; }
  .kc-tile,
  .kc-tile:hover,
  .kc-tile:focus-visible { transform: translateZ(30px); }
  .kc-hub__badge { animation: none; transform: translateZ(80px); }
  .kc-match td a { white-space: normal; }
}

@media (max-width: 560px) {
  .kc-services { grid-template-columns: 1fr; }
  .kc-hub__grid { gap: .6rem; }
  .kc-tile { gap: .55rem; padding: .75rem .7rem; font-size: .84rem; }
  .kc-tile__icon { width: 2.1rem; height: 2.1rem; font-size: .95rem; }
}

@media (prefers-reduced-motion: reduce) {
  .kc-hub__scene,
  .kc-tile,
  .kc-svc,
  .kc-svc__media img { transition: none; }
  .kc-hub__badge { animation: none; }
}
