/* =========================================================
   RITMA — Belge Tasarımı sayfası
   Ortak: assets/css/style.css

   Hero, CRM/ERP/servis ile aynı ailede: açık zemin, solda metin,
   sağda görsel, altta section'a yapışık figür. Ayrışma görselin
   TÜRÜNDE: diğer sayfalarda bir ekran duruyor, burada gerçek bir
   belge — okunacak kadar büyük, çünkü sayfanın iddiası o.
   ========================================================= */

/* =================== SUBNAV ===================
   solutions-servis'ten birebir; subnav davranışı sayfadan sayfaya
   değişmemeli.
   =================================================== */

/* =================== HERO =================== */
.tp-hero {
  position: relative;
  background: var(--bg-soft);
  min-height: 760px;
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: center
}

.hero-grid {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 500px) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px
}

@media (min-width:1440px) {
  .hero-grid {
    gap: 88px
  }
}

@media (min-width:1680px) {
  .hero-grid {
    gap: 100px
  }
}

.hv-blob {
  position: absolute;
  top: -110px;
  right: -120px;
  width: 560px;
  height: 560px;
  border-radius: 52% 48% 56% 44% / 44% 52% 48% 56%;
  background: radial-gradient(circle closest-side at 50% 48%, rgba(244, 71, 11, .20), rgba(244, 71, 11, .07) 52%, rgba(255, 183, 128, .03) 74%, transparent 100%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0
}

.hero-copy {
  max-width: 560px
}

.tp-hero .eyebrow {
  display: block;
  margin-bottom: 20px
}

.tp-hero h1 {
  margin-top: 0;
  /* letter-spacing yok: style.css'teki h1,h2,h3 kuralı -.025em veriyor,
     index.html de aynısını kullanıyor. Daha sıkısı karakterleri birbirine
     sokuyor. */
  font-size: clamp(46px, 4.8vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  color: var(--ink)
}

.tp-hero .lede {
  margin-top: 26px;
  max-width: 48ch;
  font-size: 18px;
  line-height: 1.66;
  color: var(--gray)
}

.tp-hero .lede b {
  color: var(--ink);
  font-weight: 750
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap
}

.hero-fine {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 650;
  color: var(--gray-light)
}

.hero-fine svg{width:19px;height:19px;color:var(--deep);flex-shrink:0}

/* --- görsel: tek belge, okunacak boyutta --- */
.hero-visual {
  position: relative;
  min-width: 0
}

/* =========================================================
   BELGE DESTESİ — üç gerçek örnek
   Arkada sola ve sağa eğik ikisi, önde dik olan. Kağıtlar CSS ile
   çizilmiyor: buraya firmalar için yaptığımız gerçek belgelerin
   görselleri geliyor. Eğim küçük tutuldu (±8°) — fazlası "yelpaze"
   klişesine kaçıp belgeleri okunmaz hale getiriyor.
   ========================================================= */
.doc-fan {
  position: relative;
  width: min(520px, 100%);
  margin-left: auto
}

.dfx {
  border-radius: 10px;
  background: #fff;
  overflow: hidden
}

.dfx img {
  display: block;
  width: 100%;
  height: auto
}

/* önde duran, sahnenin kahramanı */
.dfx-c {
  position: relative;
  z-index: 3;
  width: 65%;
  margin: 0 auto;
  box-shadow: 0 4px 10px rgba(20, 24, 31, .07), 0 44px 84px -30px rgba(20, 24, 31, .32)
}

/* arkadakiler: yalnızca kenarları görünür, öndekinin ardına girerler */
.dfx-l,
.dfx-r {
  position: absolute;
  bottom: 24px;
  width: 56%;
  box-shadow: 0 3px 8px rgba(20, 24, 31, .06), 0 30px 60px -26px rgba(20, 24, 31, .26)
}

.dfx-l {
  left: 0;
  z-index: 1;
  transform: rotate(-8deg);
  transform-origin: bottom right
}

.dfx-r {
  right: 0;
  z-index: 2;
  transform: rotate(8deg);
  transform-origin: bottom left
}

/* =========================================================
   BELGE ÖNİZLEMESİ (.wcard) — galeri kartlarında kullanılıyor
   Gerçek belge görselleri gelene kadar ızgara bunlarla dolu duruyor.
   ========================================================= */
.wcard {
  aspect-ratio: 1 / 1.36;
  background: #fff;
  border-radius: 8px;
  padding: 15px 15px 13px;
  display: flex;
  flex-direction: column;
  gap: 11px
}

.wc-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 9px;
  border-bottom: 1.5px solid var(--wc)
}

.wc-mark {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: var(--wc);
  flex-shrink: 0
}

.wc-head em {
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .1em;
  color: var(--wc);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.wc-lines {
  display: grid;
  gap: 5px
}

.wc-lines span {
  height: 4px;
  border-radius: 2px;
  background: #E9E7E3
}

.wc-lines span:nth-child(2) {
  width: 72%
}

.wc-lines span:nth-child(3) {
  width: 54%
}

.wc-tbl {
  display: grid;
  gap: 7px;
  padding-top: 4px;
  border-top: 1px solid #14181F
}

.wc-tbl i {
  height: 4px;
  border-radius: 2px;
  background: #DEDBD6
}

.wc-tbl i:nth-child(2n) {
  width: 84%
}

.wc-tbl i:nth-child(3n) {
  width: 92%
}

.wc-total {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid #14181F
}

.wc-total span {
  width: 30%;
  height: 4px;
  border-radius: 2px;
  background: #DEDBD6
}

.wc-total b {
  width: 26%;
  height: 7px;
  border-radius: 2px;
  background: var(--wc)
}

.wc-block {
  height: 26px;
  border-radius: 5px;
  background: #F5F4F2
}

.wc-block.is-short {
  height: 20px
}

.wc-sign {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px
}

.wc-sign span {
  height: 24px;
  border-radius: 5px;
  border: 1px solid #E9E7E3
}

/* çıkış etiketleri: üç ayrı köşeye dağıtılınca sahne dağınık duruyordu.
   Tek hatta, eşit aralıkla, destenin sol kenarına binerek. */
.do-set {
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  display: grid;
  justify-items: start;
  gap: 13px
}

.do {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  padding: 9px 14px;
  box-shadow: var(--sh-lg);
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap
}

.do svg {
  width: 18px;
  height: 18px;
  color: var(--orange);
  flex-shrink: 0
}

/* =========================================================
   BÖLÜM KABUĞU
   sec-num'da çizgi yok — başlıkların yanında çizgi istenmiyor.
   ========================================================= */
.sec-head {
  max-width: 770px
}

.sec-num {
  display: flex;
  align-items: center;
  margin-bottom: 16px
}

.sec-num span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange)
}

.sec-center {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  text-align: center
}

.sec-center .sec-num {
  justify-content: center
}

/* =========================================================
   BELGE SİSTEMİ (.sheet) — bölüm 03 ve 04 ortak kullanır
   Açılıştaki mini belgeler yalnızca sahne kurar; buradakiler
   OKUNMAK için var, o yüzden gövde 12–13px.
   Tek bir belge iskeleti kurup her türü ondan üretmek sayfanın
   iddiasını da destekliyor: bu bir sistem, tek tek çizilmiş
   sayfalar değil.
   ========================================================= */
.sheet {
  /* A4 (1:1.414). Belge genişlikleri bu orana içerik sığacak şekilde
     seçildi — dar tutulursa içerik taşar, belge uzun ve ince kalır.
     Yeni belge eklerken satır sayısına dikkat. */
  aspect-ratio: 1 / 1.414;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--sh-lg);
  padding: 0 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 17px;
  overflow: hidden;
  color: var(--ink)
}

/* --- antet: marka renginde dolu bant --- */
.sh-top {
  position: relative;
  margin: 0 -28px 3px;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--white);
  color: #fff
}

/* bandın altında ince koyu şerit: kağıda basılmış gibi dursun */
.sh-top::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(0, 0, 0, .05)
}

.sh-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0
}

/* logo alanı: bantta beyaz kutu, içinde marka renginde işaret */
.sh-mark {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  flex-shrink: 0;
  background: var(--orange);
}

.sh-mark::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 9px;
  width: 16px;
  height: 16px;
  border-radius: 4px 9px 4px 9px;
  background: #fff;
}

.sh-brand b {
  display: block;
  font-size: 16px;
  font-weight: 900;
  color: var(--ink)
}

.sh-brand em {
  display: block;
  margin-top: 2px;
  font-size: 9.5px;
  font-weight: 750;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink);
}

.sh-kind {
  text-align: right;
  flex-shrink: 0
}

.sh-kind b {
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: .1em;
  color: var(--ink);
}

.sh-kind em {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 750;
  color: var(--gray-light);
  font-variant-numeric: tabular-nums
}

/* --- künye alanları: tek blok, belgeden ayrı bir yüzey --- */
.sh-fields {
  display: grid;
  grid-template-columns: repeat(var(--c, 4), minmax(0, 1fr));
  gap: 16px;
  border-radius: 10px;
  background: var(--bg-soft);
  padding: 13px 15px
}

.sh-fields span {
  display: block;
  margin-bottom: 4px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--gray-light)
}

.sh-fields b {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

/* --- tablo --- */
.sh-tr {
  display: grid;
  grid-template-columns: var(--g);
  gap: 10px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--border)
}

.sh-tr span:first-child {
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.sh-tr span+span {
  text-align: right;
  font-size: 12px;
  font-weight: 800;
  font-variant-numeric: tabular-nums
}

.sh-tr.is-th {
  padding-top: 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink)
}

.sh-tr.is-th span {
  font-size: 9.5px;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gray-light)
}

.sh-tr.is-tf {
  padding-bottom: 0;
  border-bottom: 0;
  border-top: 1px solid var(--ink)
}

.sh-tr.is-tf span {
  font-size: 12.5px;
  font-weight: 900
}

/* --- serbest metin --- */
.sh-sec {
  border-radius: 9px;
  background: var(--bg-soft);
  padding: 13px 15px
}

.sh-sec h5 {
  margin-bottom: 5px;
  font-size: 9.5px;
  font-weight: 850;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--orange)
}

.sh-sec p {
  font-size: 12.5px;
  line-height: 1.55;
  font-weight: 650;
  color: var(--gray)
}

/* --- toplam --- */
.sh-sum {
  margin-left: auto;
  width: 62%;
  display: grid;
  gap: 8px;
  border-radius: 10px;
  background: var(--bg-soft);
  padding: 14px 16px
}

.sh-sum div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px
}

.sh-sum span {
  font-size: 12px;
  font-weight: 750;
  color: var(--gray)
}

.sh-sum b {
  font-size: 12.5px;
  font-weight: 850;
  font-variant-numeric: tabular-nums
}

.sh-sum .is-total {
  margin-top: 2px;
  padding-top: 10px;
  border-top: 1px solid var(--ink)
}

.sh-sum .is-total span {
  font-size: 12.5px;
  font-weight: 850;
  color: var(--ink)
}

.sh-sum .is-total b {
  font-size: 17px;
  font-weight: 900;
  color: var(--orange)
}

/* --- imza --- */
.sh-sign {
  display: grid;
  grid-template-columns: repeat(var(--c, 2), minmax(0, 1fr));
  gap: 16px
}

.sh-sign-box {
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 11px 13px;
  display: grid;
  gap: 6px;
  align-content: start
}

.sh-sign-box span {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--gray-light)
}

.sh-sign-box i {
  display: block;
  height: 28px
}

.sh-sign-box em {
  font-size: 10.5px;
  font-weight: 750;
  color: var(--gray-light)
}

.sh-scribble {
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 124 28'><path d='M4 21c9-15 15 6 23-2s9-17 17-9 7 15 15 9 11-17 21-9 8 13 13 9' fill='none' stroke='%230B0F1E' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/></svg>") left center/auto 100% no-repeat;
  opacity: .5
}

/* --- altbilgi --- */
.sh-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border)
}

.sh-foot span {
  font-size: 10px;
  font-weight: 750;
  color: var(--gray-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

/* =========================================================
   02 · NEDEN ÖNEMLİ — açılış yoğun geçtiği için burası ferah
   ========================================================= */
.tp-why {
  background: #fff;
  padding-top: 132px;
  padding-bottom: 126px
}

.tp-why .sec-head {
  max-width: 680px
}

.why-cols {
  margin: 72px auto 0;
  max-width: 1000px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 56px
}

.why-col i {
  display: block;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .1em;
  color: var(--orange)
}

.why-col b {
  display: block;
  margin-bottom: 10px;
  font-size: 19px;
  font-weight: 850;
  letter-spacing: -.008em;
  color: var(--ink)
}

.why-col p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--gray)
}

/* =========================================================
   03 · ÖNCESİ / SONRASI
   İki belge eşit genişlikte duruyor — karşılaştırma ancak ikisi
   de aynı boyutta ve aynı bilgiyi taşıyorsa dürüst olur.
   ========================================================= */
.tp-ba {
  background: var(--bg-soft)
}

.ba-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr);
  align-items: stretch
}

.ba-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  width: 100%;
  max-width: 452px
}

/* iki belge ortadaki oka doğru yaslanır: aradaki mesafe sabit kalır */
.ba-grid>.ba-side:first-child {
  justify-self: end
}

.ba-grid>.ba-side.is-after {
  justify-self: start
}

.ba-label {
  display: flex;
  align-items: baseline;
  gap: 10px
}

.ba-label b {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-light)
}

.ba-label span {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-light)
}

.ba-side.is-after .ba-label b {
  color: var(--orange)
}

.ba-side.is-after .ba-label span {
  color: var(--gray)
}

.ba-arrow {
  align-self: center;
  justify-self: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 22px -10px rgba(244, 71, 11, .7)
}

.ba-arrow svg {
  width: 19px;
  height: 19px
}

/* --- "önce": Word'den çıkmış hali --- */
.docw {
  aspect-ratio: 1 / 1.414;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 28px 22px;
  font-family: "Times New Roman", Times, Georgia, serif;
  color: #222;
  display: flex;
  flex-direction: column;
  gap: 9px
}

.docw h4 {
  margin-bottom: 12px;
  text-align: center;
  font-family: "Times New Roman", Times, Georgia, serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: underline
}

.dw-line {
  font-size: 13px;
  line-height: 1.55
}

.dw-line span {
  font-weight: 700
}

.dw-tbl {
  width: 100%;
  border-collapse: collapse;
  margin: 6px 0
}

.dw-tbl td {
  border: 1px solid #000;
  padding: 5px 7px;
  font-size: 12.5px
}

.dw-tbl tr:first-child td {
  font-weight: 700
}

.dw-sign {
  margin-top: auto;
  padding-top: 22px
}

/* --- altındaki üç not --- */
.ba-notes {
  margin-top: 52px;
  padding-top: 34px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px
}

.ba-notes b {
  display: block;
  margin-bottom: 7px;
  font-size: 15.5px;
  font-weight: 850;
  color: var(--ink)
}

.ba-notes span {
  display: block;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--gray)
}

@media (max-width:1080px) {
  .why-cols {
    gap: 38px
  }

  .ba-grid {
    grid-template-columns: 1fr;
    gap: 34px
  }

  .ba-arrow {
    transform: rotate(90deg)
  }
}

@media (max-width:760px) {

  .why-cols,
  .ba-notes {
    grid-template-columns: 1fr;
    gap: 32px
  }

  .sheet {
    padding: 0 18px 16px;
    gap: 13px
  }

  .sheet .sh-top {
    margin: 0 -18px 3px;
    padding: 15px 18px
  }

  .docw {
    padding: 20px 18px 16px
  }

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

/* =========================================================
   04 · ÖRNEKLER — belge vitrini
   Sekmeler yatay: beş belge türü tek bakışta görünsün, sayfa
   dikey sekme kolonuyla üç kolona bölünmesin.
   Belge solda okunacak boyutta; sağdaki metin belgeyi
   açıklıyor, tekrar etmiyor.
   ========================================================= */
.tp-show {
  background: #fff
}

.show-wrap {
  margin-top: 56px
}

.show-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-bottom: 1px solid var(--border)
}

.show-tab {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px 14px;
  margin-bottom: -1px;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  min-width: 0;
  transition: border-color .18s
}

.show-tab i {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: var(--bg-gray);
  color: var(--gray-light);
  transition: background .18s, color .18s
}

.show-tab i svg {
  width: 19px;
  height: 19px
}

.show-tab span {
  min-width: 0
}

.show-tab b {
  display: block;
  font-size: 14.5px;
  font-weight: 830;
  color: var(--gray);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .18s
}

.show-tab em {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.show-tab:hover i {
  background-color: var(--orange-soft);
  color: var(--orange)
}

.show-tab:hover b {
  color: var(--ink)
}

.show-tab.is-on {
  border-bottom-color: var(--orange)
}

.show-tab.is-on i {
  background: var(--orange-soft);
  color: var(--orange)
}

.show-tab.is-on b {
  color: var(--ink)
}

.show-tab:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: -3px
}

/* --- sahne --- */
.show-stage {
  padding-top: 52px
}

.show-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: 72px;
  align-items: start
}

.show-panel[hidden] {
  display: none
}

.show-doc {
  min-width: 0;
  max-width: 460px
}

.show-copy {
  min-width: 0;
  padding-top: 8px
}

.show-copy h3 {
  font-size: 27px;
  font-weight: 830;
  line-height: 1.18;
  color: var(--ink)
}

.show-copy p {
  margin-top: 16px;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--gray)
}

.show-list {
  margin-top: 26px;
  list-style: none;
  display: grid;
  gap: 13px
}

.show-list li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  font-size: 15.5px;
  line-height: 1.55;
  font-weight: 650;
  color: var(--ink)
}

.show-list svg {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: var(--orange)
}

.show-code {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  gap: 12px
}

.show-code span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray-light)
}

.show-code b {
  font-size: 15px;
  font-weight: 850;
  color: var(--orange);
  font-variant-numeric: tabular-nums
}

/* sekme değişince belge yumuşak gelsin; azaltılmış hareket tercihinde kapalı */
@media (prefers-reduced-motion:no-preference) {
  .show-panel {
    animation: showIn .34s cubic-bezier(.2, .7, .2, 1) both
  }

  @keyframes showIn {
    from {
      opacity: 0;
      transform: translateY(10px)
    }
  }
}

@media (max-width:1080px) {
  .show-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr))
  }

  .show-tab em {
    display: none
  }

  .show-panel {
    grid-template-columns: 1fr;
    gap: 44px
  }

  .show-doc {
    max-width: 560px
  }
}

@media (max-width:760px) {
  .show-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .show-tab {
    padding: 14px 10px;
    gap: 10px
  }

  .show-tab i {
    width: 32px;
    height: 32px;
    border-radius: 9px
  }

  .show-tab b {
    font-size: 13.5px
  }

  .show-copy h3 {
    font-size: 23px
  }
}

/* =========================================================
   05 · KURUMSAL KİMLİK
   Önizleme belgesi kendi --orange değerini taşıyor: renk seçilince
   tek değişken değişiyor, belgedeki bütün vurgu alanları (antet
   çizgisi, belge türü, toplam, logo kutusu) birlikte dönüyor.
   Anlatılan şey zaten bu — kimlik tek yerden tanımlanır.
   ========================================================= */
.tp-id {
  position: relative;
  background: var(--deep);
  color: #fff;
  overflow: hidden
}

.id-glow {
  position: absolute;
  right: -180px;
  top: -140px;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle closest-side at 50% 50%, rgba(244, 71, 11, .18), rgba(244, 71, 11, .05) 54%, transparent 100%);
  filter: blur(56px);
  pointer-events: none;
  z-index: 0
}

.id-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 448px);
  gap: 80px;
  align-items: center
}

.tp-id .sec-h {
  color: #fff
}

.tp-id .sec-p {
  color: var(--navy-text)
}

.tp-id .sec-num span {
  color: #FF9A6B
}

.tp-id .sec-head {
  max-width: 520px
}

/* --- renk seçici --- */
.id-pick {
  margin-top: 40px
}

.id-pick-t {
  display: block;
  margin-bottom: 14px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5)
}

.id-sws {
  display: flex;
  flex-wrap: wrap;
  gap: 10px
}

.id-sw {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--navy-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  padding: 9px 15px 9px 11px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 750;
  color: rgba(255, 255, 255, .72);
  cursor: pointer;
  transition: border-color .18s, background .18s, color .18s
}

.id-sw span {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--sw);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18)
}

.id-sw:hover {
  border-color: rgba(255, 255, 255, .3);
  color: #fff
}

.id-sw.is-on {
  border-color: rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .1);
  color: #fff
}

.id-sw:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px
}

/* --- alt liste --- */
.id-list {
  margin-top: 40px;
  list-style: none;
  display: grid;
  gap: 20px;
  max-width: 520px
}

.id-list b {
  display: block;
  margin-bottom: 5px;
  font-size: 15.5px;
  font-weight: 830;
  color: #fff
}

.id-list span {
  display: block;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--navy-text)
}

/* --- önizleme --- */
.id-preview {
  min-width: 0
}

.id-preview .sheet {
  box-shadow: 0 4px 10px rgba(0, 0, 0, .3), 0 54px 90px -34px rgba(0, 0, 0, .8)
}

/* önizleme koyu zeminde duruyor: kenarlık yerine derin gölge */
.id-preview .sheet {
  border: 0;
  border-color: transparent
}

@media (max-width:1080px) {
  .id-grid {
    grid-template-columns: 1fr;
    gap: 52px
  }

  .tp-id .sec-head,
  .id-list {
    max-width: none
  }

  .id-preview {
    max-width: 448px
  }
}

/* =========================================================
   06 · MÜŞTERİ ÖRNEKLERİ — filtreli arşiv
   Elde 50-60 gerçek örnek var; tek tek gezdirmek yerine iki eksende
   süzme: tür ve sektör. Ziyaretçi kendi sektörünü seçip kendi işine
   benzeyeni buluyor.
   Kartlar boş alan tutucu değil: gerçek görseller gelene kadar
   açılıştaki belge önizlemesi duruyor, ızgara ilk günden dolu görünüyor.
   ========================================================= */
.tp-gal {

}

.gal-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
  gap: 72px;
  align-items: end
}

.gal-intro {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--gray);
  padding-bottom: 4px
}

/* --- filtre çubuğu --- */
.gal-bar {
  margin-top: 52px
}

.gal-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px
}

.gal-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  padding: 11px 17px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 780;
  color: var(--gray);
  cursor: pointer;
  transition: border-color .18s, color .18s, background .18s
}

.gal-pill:hover {
  border-color: var(--gray-light);
  color: var(--ink)
}

.gal-pill.is-on {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff
}

.gal-pill:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px
}

/* sektör satırı daha hafif: ikincil eksen olduğu belli olsun */
/* sektör satırı: ikincil eksen, daha dar aralık */
.gal-pills.is-sec {
  gap: 8px
}

.gal-pill.is-sm {
  border-radius: 999px;
  padding: 8px 15px;
  font-size: 13px;
  font-weight: 750
}

.gal-pill.is-sm.is-on {
  border-color: var(--orange);
  background: var(--orange-soft);
  color: var(--orange)
}

/* çoklu seçim: seçili özelliklerde tik, aynı anda birkaçı açık olabilir */
.gal-pill.is-sm.is-on:not([data-val="all"])::before {
  content: "";
  width: 13px;
  height: 13px;
  margin-right: 8px;
  flex-shrink: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6L9 17l-5-5'/></svg>") center/contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6L9 17l-5-5'/></svg>") center/contain no-repeat
}

.gal-sub {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap
}

.gal-meta {
  display: flex;
  align-items: baseline;
  gap: 18px;
  white-space: nowrap
}

.gal-meta b {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink)
}

.gal-reset {
  border: 0;
  background: none;
  padding: 0;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 780;
  color: var(--orange);
  cursor: pointer
}

/* --- ızgara --- */
.gal-grid {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px
}

.gal-card {
  min-width: 0
}

.gal-card[hidden] {
  display: none
}

.gal-thumb {
  border-radius: 12px;
  background: #fff;
  padding: 14px;
  border: 1px solid var(--border);
  transition: transform .22s cubic-bezier(.2, .7, .2, 1), box-shadow .22s
}

.gal-card:hover .gal-thumb {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg)
}

/* galerideki önizleme açılıştakinden büyük: burada bakılıyor, orada akıyor */
.gal-thumb .wcard {
  aspect-ratio: 1 / 1.34;
  border-radius: 6px;
  padding: 17px 16px 15px;
  gap: 12px;
  box-shadow: none
}

.gal-thumb .wc-head em {
  font-size: 7.5px
}

.gal-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.34;
  object-fit: cover;
  border-radius: 6px
}

.gal-card figcaption {
  margin-top: 15px;
  display: flex;
  align-items: baseline;
  gap: 9px
}

.gal-card figcaption b {
  font-size: 14.5px;
  font-weight: 830;
  color: var(--ink)
}

.gal-card figcaption span {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray)
}

.gal-card figcaption em {
  margin-left: auto;
  font-size: 12px;
  font-weight: 750;
  color: var(--gray-light);
  font-variant-numeric: tabular-nums
}

.gal-empty {
  margin-top: 48px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--gray)
}

/* --- arşivin tamamı --- */
.gal-more {
  margin-top: 52px;
  padding-top: 34px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap
}

.gal-more span {
  font-size: 16px;
  font-weight: 650;
  color: var(--gray)
}

.gal-more b {
  font-weight: 850;
  color: var(--ink)
}

@media (max-width:1080px) {
  .gal-head {
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: start
  }

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

@media (max-width:760px) {
  .gal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px
  }

  .gal-pill {
    padding: 9px 14px;
    font-size: 13px
  }

  .gal-thumb {
    padding: 10px
  }

  .gal-card figcaption {
    flex-wrap: wrap;
    gap: 6px
  }

  .gal-card figcaption em {
    margin-left: 0
  }

  .gal-more .btn {
    width: 100%;
    justify-content: center
  }
}

/* =========================================================
   07 · NASIL ÇALIŞIYOR
   Adımlar arasında bağlayıcı çizgi yok: numara zaten sırayı
   söylüyor, çizgi eklemek sayfayı kalabalıklaştırıyordu.
   ========================================================= */
.tp-how {
  position: relative;
  background: var(--bg-soft);
  overflow: hidden;
  padding-bottom: 0
}

.how-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 80px;
  align-items: start
}

.how-copy {
  min-width: 0;
  padding-bottom: 120px
}

.how-side {
  min-width: 0;
  padding-bottom: 120px
}

.how-steps {
  margin-top: 52px;
  list-style: none;
  display: grid;
  gap: 34px;
  max-width: 560px
}

.how-steps li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 20px;
  align-items: start
}

.how-steps i {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -.014em;
  color: var(--orange-border);
  line-height: 1.1
}

.how-steps b {
  display: block;
  margin-bottom: 7px;
  font-size: 18px;
  font-weight: 850;
  letter-spacing: -.008em;
  color: var(--ink)
}

.how-steps span {
  display: block;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--gray)
}

.how-facts {
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden
}

.how-facts div {
  background: var(--bg-soft);
  padding: 26px 28px
}

.how-facts b {
  display: block;
  margin-bottom: 6px;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -.014em;
  color: var(--orange);
  line-height: 1
}

.how-facts span {
  display: block;
  font-size: 14.5px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--gray)
}

/* --- kişi görseli: section footer'ına yapışık (K11) --- */
.sec-person-layer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  pointer-events: none
}

.sec-person-layer>.wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 80px;
  align-items: end
}

.sec-person {
  grid-column: 2;
  justify-self: center;
  width: min(300px, 100%)
}

.sec-person>img {
  display: block;
  width: 100%;
  height: auto
}

/* =========================================================
   08 · KAPANIŞ
   Logolar burada kaymıyor: servis sayfasında zaten akan bir şerit
   var, aynı hareketi ikinci kez kullanmak sayfayı tekrara sokardı.
   ========================================================= */
.tp-end {
  background: #fff
}

.cl-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden
}

.cl-logo {
  background: #fff;
  min-height: 104px;
  display: grid;
  place-items: center;
  padding: 20px
}

/* ızgara dönüyor: aynı anda tek hücre soluyor, yerine havuzdaki
   logo geliyor. Hareket tek hücreyle sınırlı — sayfanın sonunda
   sürekli kıpırdayan bir alan istemiyoruz. */
.cl-logo.is-swap img {
  opacity: 0
}

.cl-logo img {
  display: block;
  max-height: 42px;
  max-width: 124px;
  transition: opacity .42s ease, filter .2s
}

.cl-logo:hover img {
  opacity: 1;
  filter: none
}

/* =================== KIRILIMLAR =================== */
@media (max-width:1080px) {
  .how-grid {
    grid-template-columns: 1fr;
    gap: 52px
  }

  .how-copy {
    padding-bottom: 0
  }

  .how-steps {
    max-width: none
  }

  .sec-person-layer {
    display: none
  }

  .tp-how {
    padding-bottom: 110px
  }

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

@media (max-width:760px) {
  .cl-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr))
  }

  .how-steps li {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 14px
  }

}

/* taşma güvenceleri ve taşıyıcı sınıflar */
.id-copy {
  min-width: 0
}

/* --g (kolon şablonu) satırlara buradan iner */
.sh-tbl {
  min-width: 0
}

/* K11: kişi görseli barındıran section — figür alt kenara sabitlenir */
.has-person {
  position: relative;
  overflow: hidden
}
