/* ============================================================
   Teklif İste — Figma 2163:9810 (1440x2926)

     0     kahraman bandı   1440x522 (#041E42 %78)
     324   başlık + alt metin
     582   kart yığını      960 genişlik @ x=240, kartlar arası 16
     2506  footer

   Altı beyaz kart (r16): İrtibat · Talep Oluşturma · Proje Detayları ·
   Döküman Yükleme · Ek Açıklamalar · KVKK Onayı.
   ============================================================ */
.tekpage { position: relative; background: var(--color-navy); overflow: hidden; }
.tekhero { position: relative; height: 522px; overflow: hidden; }
.tekhero .bg-media { position: absolute; inset: 0; }
.tekhero .bg-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tekhero .bg-media::after { content: ""; position: absolute; inset: 0; background: rgba(4, 30, 66, .78); }
.tekhero__inner { position: relative; padding-top: 324px; }
.tekhero__title { margin: 0 0 23px; font-weight: 600; font-size: 36px; line-height: 43.88px; color: #fff; }
.tekhero__sub { margin: 0 0 0 6px; font-weight: 500; font-size: 20px; line-height: 24.38px; color: #fff; }

/* Arka plandaki elmas — Figma: Vector 338, 690x700 @ (-148,946) */
.tekdeco { position: absolute; left: -148px; top: 946px; width: 690px; height: 700px; pointer-events: none; }

/* Kart yığını — Figma: 960 genişlik @ x=240 */
.tekstack {
  position: relative; width: 960px; margin: 60px auto 0;       /* 522 -> 582 */
  display: flex; flex-direction: column; gap: 16px;
  padding-bottom: 162px;                                       /* 2344 -> 2506 */
}
.tekcard { padding: 32px 23px; background: #fff; border-radius: 16px; }
.tekcard__title {
  margin: 0 0 37px; font-weight: 500; font-size: 24px; line-height: 29.26px; color: var(--color-navy);
}
/* Kart içi boşluklar Figma'da her kartta farklı; hepsi ölçülerek yazıldı. */
.tekcard--talep .tekcard__title { margin-bottom: 18px; }
.tekcard--detay .tekcard__title { margin-bottom: 24px; }
.tekcard--dokuman { padding: 27px 23px; }
.tekcard--dokuman .tekcard__title { margin-bottom: 16px; }
.tekcard--aciklama .tekcard__title { margin-bottom: 23px; }
.tekcard--kvkk { padding: 40px 23px 58px; }
.tekcard--kvkk .tekcard__title { margin-bottom: 22px; }

/* Alanlar — Figma: iki sütun 437px, yatay aralık 39, dikey 15 */
.tekgrid { display: grid; grid-template-columns: 437px 437px; gap: 15px 39px; }
.tekfield { display: flex; flex-direction: column; gap: 8px; }
.tekfield--half { grid-column: 1; }
.tekfield label { font-weight: 500; font-size: 16px; line-height: 19.5px; color: var(--color-navy); }
.tekfield input, .tekfield textarea {
  width: 100%; height: 46px; padding: 0 16px; background: #fff;
  border: 1px solid #9BCBEB; border-radius: 0;
  font: inherit; font-size: 14px; line-height: 17.07px; color: var(--color-navy);
}
.tekfield input::placeholder { color: #000; opacity: 1; }
.tekfield input:focus-visible, .tekfield textarea:focus-visible {
  outline: none; box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--color-blue);
}

/* Talep türü sekmeleri — Figma: 240x48 ve 475x48, aralık 20 */
.tektabs { display: flex; gap: 20px; margin: 0 0 42px; padding: 0; list-style: none; }
.tektab {
  display: grid; place-items: center; min-height: 48px; padding: 0 14px;
  border: 1px solid var(--color-blue); border-radius: 8px;
  background: #fff; color: var(--color-navy); cursor: pointer;
  font: inherit; font-weight: 500; font-size: 16px; line-height: 19.5px;
  transition: background-color .18s ease, color .18s ease;
}
.tektab[aria-pressed="true"] { background: var(--color-navy); color: #fff; }
.tektab:hover { background: #E0E7F1; }
.tektab[aria-pressed="true"]:hover { background: #0A2F63; }

/* Kapsam onay kutuları — Figma: iki sütun 272px, satır yüksekliği 28 */
.tekchecks__title { margin: 28px 0 18px; font-weight: 500; font-size: 16px; line-height: 19.5px; color: var(--color-navy); }
.tekchecks { display: grid; grid-template-columns: 272px 272px; margin: 0; padding: 0; list-style: none; }
.tekchecks label {
  display: flex; align-items: center; gap: 8px;
  font-weight: 400; font-size: 14px; line-height: 28px; color: var(--color-navy);
}
.tekchecks input { width: 14px; height: 14px; accent-color: var(--color-blue); }

/* Tarih alanı */
.tekfield--date .tekfield__wrap { position: relative; }
.tekfield--date svg {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px; color: var(--color-navy); pointer-events: none;
}

/* Döküman yükleme */
.tekfile {
  align-self: flex-start; display: inline-grid; place-items: center;
  min-width: 109px; min-height: 42px; padding: 0 12px;
  background: #CFCFCF; color: var(--color-navy); cursor: pointer;
  font-weight: 600; font-size: 16px; line-height: 19.5px;
}
.tekfile:hover { background: #C0C0C0; }
.tekfile input { position: absolute; width: 1px; height: 1px; opacity: 0; }

/* Ek açıklamalar */
/* Figma'da "Notlar / İlave Bilgiler" alanın ÜSTÜNDE bir etiket değil,
   textarea'nın içindeki yer tutucu metin. */
.teknote textarea {
  display: block;   /* satır içi öğe olarak taban çizgisi boşluğu ekliyordu */
  width: 100%; height: 156px; padding: 14px 16px; background: #fff;
  border: 1px solid #9BCBEB; font: inherit; font-size: 14px; line-height: 20px;
  color: var(--color-navy); resize: vertical;
}
.teknote textarea::placeholder { color: var(--color-navy); opacity: 1; }
.teksubmit {
  display: block; min-width: 240px; min-height: 48px; margin-top: 24px; padding: 0 16px;
  border: 1px solid var(--color-blue); border-radius: 4px;
  background: var(--color-blue); color: #fff; cursor: pointer;
  font: inherit; font-weight: 500; font-size: 18px; line-height: 21.94px;
  transition: background-color .18s ease;
}
.teksubmit:hover { background: #00256F; }

/* KVKK */
.tekconsent { display: flex; align-items: flex-start; gap: 14px; }
.tekconsent input { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--color-blue); }
.tekconsent span { font-weight: 400; font-size: 15px; line-height: 18.28px; color: var(--color-navy); }

/* ============================================================
   Mobil — Figma 2163:9897 (390x3916)

     0     kahraman 390x438
     250   başlık + alt metin
     482   kart yığını 358 genişlik @ x=17, kartlar arası 16
     2935  footer

   Kartların iç genişliği 312 (23px yatay dolgu); alanlar tek sütun.
   ============================================================ */
@media (max-width: 767px) {
  .tekhero { height: 438px; }
  .tekhero__inner { padding-top: 250px; }
  .tekhero__title { margin-bottom: 20px; font-size: 18px; line-height: 21.94px; }
  .tekhero__sub { margin-left: 0; font-weight: 400; font-size: 16px; line-height: 19.5px; }
  .tekdeco { display: none; }                      /* mobil çerçevede yok */

  .tekstack {
    width: auto; margin: 44px 16px 0;              /* 438 -> 482 */
    gap: 16px; padding-bottom: 351px;              /* 2584 -> 2935 */
  }
  .tekcard { padding: 32px 23px; }
  .tekcard__title { margin-bottom: 37px; font-size: 24px; line-height: 29.26px; }
  .tekcard--talep .tekcard__title { margin-bottom: 18px; }
  .tekcard--detay .tekcard__title { margin-bottom: 24px; }
  .tekcard--dokuman { padding: 27px 23px; }
  .tekcard--aciklama .tekcard__title { margin-bottom: 23px; }
  .tekcard--kvkk { padding: 32px 23px 40px; }

  /* Alanlar tek sütun, aralık 10 */
  .tekgrid { grid-template-columns: 1fr; gap: 10px; }
  .tekfield--half { grid-column: auto; }
  .tekfield label { line-height: 20px; }

  /* Talep türü sekmeleri alt alta */
  /* Figma: sekmeler alt alta, aralık 20; ilki 240 geniş, ikincisi tam genişlik. */
  .tektabs { flex-direction: column; align-items: stretch; gap: 20px; margin-bottom: 42px; }
  .tektabs li:first-child { width: 240px; }
  .tektab { width: 100%; min-height: 48px; text-align: center; }

  .tekchecks { grid-template-columns: 1fr; }
  .tekchecks__title { margin: 28px 0 18px; }

  .teksubmit { width: 100%; min-width: 0; }
}

/* Tablet / ara genişlikler (768-1439) — Figma'da tasarlanmadı.
   Kart yığını 960px sabit; akışkana çevrildi. */
@media (min-width: 768px) and (max-width: 1439px) {
  .tekstack { width: auto; margin-inline: var(--page-pad); }
  .tekgrid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .tekfield--half { grid-column: auto; }
  .tekchecks { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .tektabs { flex-wrap: wrap; }
  .tekdeco { display: none; }
}
