/* ==========================================================================
   TEFAŞ — Bileşenler: tipografi, butonlar, kartlar, form
   ========================================================================== */

/* --- Tipografi ---------------------------------------------------------- */
.tf-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tf-red);
  margin-bottom: 16px;
}
.tf-eyebrow--on-dark { color: var(--tf-red); }
.tf-eyebrow--blue { color: var(--tf-blue); letter-spacing: 0.1em; font-size: 13px; }
.tf-eyebrow--sm   { font-size: 12px; }
.tf-eyebrow--mb-22 { margin-bottom: 22px; }
.tf-eyebrow--mb-18 { margin-bottom: 18px; }
.tf-eyebrow--mb-28 { margin-bottom: 28px; }
.tf-eyebrow--mb-0  { margin-bottom: 0; }

.tf-h1 {
  /* Başlık masaüstünde iki satıra sığacak şekilde ölçeklenir */
  font-size: clamp(32px, 4.4vw, 54px);
  line-height: 1.16;
  letter-spacing: -0.025em;
  font-weight: 800;
  color: var(--tf-navy);
  text-wrap: balance;
}

.tf-h2 {
  font-size: clamp(30px, 3.8vw, 50px);
  line-height: 1.16;
  letter-spacing: -0.025em;
  font-weight: 800;
  color: var(--tf-navy);
}
.tf-h2--sm { font-size: clamp(28px, 3.4vw, 46px); }
.tf-h2--md { font-size: clamp(28px, 3.6vw, 48px); }
.tf-h2--on-dark { color: #fff; }

.tf-lead {
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.6;
  color: var(--tf-muted);
  text-wrap: pretty;
}
.tf-text {
  font-size: 17px;
  line-height: 1.65;
  color: var(--tf-muted);
  text-wrap: pretty;
}
.tf-text--sm {
  font-size: 16px;
  line-height: 1.6;
}
.tf-text--muted { color: var(--tf-muted); }
.tf-note {
  font-size: 11px;
  color: var(--tf-grey);
  letter-spacing: 0.04em;
}

/* Satır uzunluğu sınırlayıcıları */
.tf-mw-16ch { max-width: 16ch; }
.tf-mw-26ch { max-width: 26ch; }
.tf-mw-18ch { max-width: 18ch; }
.tf-mw-22ch { max-width: 22ch; }
.tf-mw-24ch { max-width: 24ch; }
.tf-mw-40ch { max-width: 40ch; }
.tf-mw-46ch { max-width: 46ch; }
.tf-mw-52ch { max-width: 52ch; }
.tf-mw-56ch { max-width: 56ch; }

/* --- Butonlar ----------------------------------------------------------- */
.tf-btn {
  display: inline-block;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.tf-btn--primary {
  background: var(--tf-red);
  color: #fff;
  padding: 17px 34px;
  font-size: 15px;
}
.tf-btn--primary:hover { background: var(--tf-red-dark); color: #fff; }

.tf-btn--outline {
  background: transparent;
  border-color: var(--tf-blue);
  color: var(--tf-blue);
  padding: 16px 28px;
  font-size: 15px;
  font-weight: 600;
}
.tf-btn--outline:hover { background: var(--tf-blue); color: #fff; }

.tf-btn--sm {
  padding: 12px 22px;
  font-size: 14px;
}
.tf-btn--compact {
  padding: 13px 20px;
  font-size: 13px;
}
.tf-btn--outline.tf-btn--sm { padding: 13px 22px; }

.tf-btn--submit {
  width: 100%;
  padding: 18px 24px;
  font-size: 15px;
  background: var(--tf-red);
  color: #fff;
  border: none;
}
.tf-btn--submit:hover { background: var(--tf-red-dark); }
.tf-btn[disabled] { opacity: 0.6; cursor: progress; }

.tf-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* --- Logo --------------------------------------------------------------- */
.tf-logo {
  display: block;
  width: auto;
  height: 42px;
}

/* --- Rozetler / etiketler ---------------------------------------------- */
.tf-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tf-badge {
  background: var(--tf-blue);
  color: #fff;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.tf-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tf-tag {
  border: 1px solid var(--tf-line-strong);
  background: var(--tf-bg-soft);
  padding: 8px 13px;
  font-size: 14px;
  color: var(--tf-ink);
}

/* --- Görsel yer tutucu (hatch desen) ------------------------------------ */
.tf-media {
  background-color: var(--tf-bg-hatch);
  background-image: var(--tf-hatch);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.tf-media--framed {
  background-color: var(--tf-bg-alt);
  border: 1px solid var(--tf-line);
}
.tf-media--on-dark {
  background: rgba(255, 255, 255, 0.06);
  background-image: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.tf-media--1x1  { aspect-ratio: 1 / 1; }
.tf-media--4x3  { aspect-ratio: 4 / 3; }
.tf-media--16x9 { aspect-ratio: 16 / 9; }
.tf-media--16x10 { aspect-ratio: 16 / 10; }
.tf-media--21x9 { aspect-ratio: 21 / 9; }
/* Gerçek görsel geldiğinde tarama deseni kalksın (ürün render'ı beyaz zeminli) */
.tf-media--plain {
  background-image: none;
  background-color: #fff;
}

.tf-media picture { display: contents; }
.tf-media img,
.tf-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Kart videoları: poster ile aynı çerçeveyi doldurur, sessiz döngüde oynar */
.tf-media__video {
  background: var(--tf-bg-hatch);
}
.tf-media__hint {
  font-size: 12px;
  color: var(--tf-grey);
  padding: 16px;
  line-height: 1.5;
}
.tf-media__hint--xs { font-size: 11px; padding: 10px; }
.tf-media--on-dark .tf-media__hint { color: rgba(255, 255, 255, 0.7); padding: 14px; }

/* --- İstatistik bandı --------------------------------------------------- */
/* Ayırıcı çizgiler 1px boşluktan sızan arka planla çiziliyor; böylece
   satır sayısı değişse de (mobilde 2x2) çizgiler hep doğru yerde. */
.tf-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
}
.tf-stat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 36px 18px;
  background: var(--tf-blue);
}
.tf-stat:first-child { padding-left: 0; }
.tf-stat:last-child { padding-right: 0; }

.tf-stat__body { min-width: 0; }

/* Sol taraftaki SVG sembol — rengini currentColor ile buradan alır */
.tf-stat__icon {
  flex: 0 0 auto;
  display: block;
  width: 48px;
  height: 48px;
  color: rgba(255, 255, 255, 0.72);
}
.tf-stat__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}
.tf-stat__value {
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
  /* Sayaç dönerken rakam genişlikleri sabit kalsın, metin zıplamasın */
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1;
}

/* Birim (m² gibi) — sayıdan küçük, üst hizada */
.tf-stat__unit {
  font-size: 0.5em;
  font-weight: 700;
  margin-left: 0.14em;
  vertical-align: 0.55em;
  opacity: 0.85;
}
.tf-stat__label {
  margin-top: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

/* --- Kartlar ------------------------------------------------------------ */
.tf-card {
  background: #fff;
  border: 1px solid var(--tf-line);
  display: flex;
  flex-direction: column;
}
/* Ürün kartı: hover'da kırmızı çizgi kutunun çevresini çiziyor.
   ::before üstten sağa, ::after alttan sola ilerler; ikisi ortada buluşur. */
.tf-card--product {
  position: relative;
  transition: box-shadow 0.28s ease;
}
.tf-card--product::before,
.tf-card--product::after {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
}
.tf-card--product::before {
  top: -1px;
  left: -1px;
  border-top: 1px solid var(--tf-red);
  border-right: 1px solid var(--tf-red);
  /* çıkışta: önce yükseklik geri çekilir, sonra genişlik */
  transition: width 0.22s ease 0.22s, height 0.22s ease;
}
.tf-card--product::after {
  right: -1px;
  bottom: -1px;
  border-bottom: 1px solid var(--tf-red);
  border-left: 1px solid var(--tf-red);
  transition: width 0.22s ease 0.22s, height 0.22s ease;
}
.tf-card--product:hover::before,
.tf-card--product:hover::after {
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  /* girişte: önce genişlik uzar, sonra yükseklik iner */
  transition: width 0.22s ease, height 0.22s ease 0.22s;
}
.tf-card--product:hover {
  box-shadow: 0 10px 26px rgba(22, 33, 58, 0.07);
}

/* Dokunmatik cihazda hover yok — çizgi yarıda takılı kalmasın */
@media (hover: none) {
  .tf-card--product:hover { box-shadow: none; }
  .tf-card--product:hover::before,
  .tf-card--product:hover::after { width: 0; height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .tf-card--product::before,
  .tf-card--product::after,
  .tf-card--product:hover::before,
  .tf-card--product:hover::after { transition: none; }
}

.tf-card__label {
  background: var(--tf-red);
  color: #fff;
  padding: 13px 20px;
  font-size: 18px;
  font-weight: 700;
}
.tf-card__body {
  padding: 20px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--tf-muted);
}
.tf-card__body--lg { padding: 22px; }
.tf-card__pad { padding: 22px; }
.tf-card__title {
  font-size: 19px;
  font-weight: 700;
  color: var(--tf-navy);
}
.tf-card__text {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--tf-muted);
}

/* --- Akordiyon ---------------------------------------------------------- */
.tf-acc { display: block; }

/* Kutular üst üste binerek tek çizgi paylaşır; aktif olanın kırmızı
   çerçevesi üste geldiği için hiçbir şey kaymadan renk değişir. */
.tf-acc__item {
  position: relative;
  background: #fff;
  border: 1px solid var(--tf-line);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.tf-acc__item + .tf-acc__item { margin-top: -1px; }

.tf-acc__item.is-open {
  z-index: 1;
  border-color: var(--tf-red);
  background: var(--tf-bg-soft);
}

.tf-acc__heading { margin: 0; font-size: inherit; font-weight: inherit; }

.tf-acc__button {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 16px 20px;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  color: var(--tf-navy);
}
.tf-acc__title {
  flex: 1;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}
.tf-acc__item.is-open .tf-acc__title { color: var(--tf-navy); }
.tf-acc__button:hover .tf-acc__title { color: var(--tf-red); }

/* Ok işareti — açıkken yukarı döner */
.tf-acc__chevron {
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--tf-grey);
  border-bottom: 2px solid var(--tf-grey);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.25s ease, border-color 0.2s ease;
}
.tf-acc__item.is-open .tf-acc__chevron {
  transform: rotate(-135deg) translate(-2px, -2px);
  border-color: var(--tf-red);
}

/* Panel: 0fr → 1fr geçişiyle yüksekliği ölçmeden yumuşak açılır */
.tf-acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.tf-acc__item.is-open .tf-acc__panel { grid-template-rows: 1fr; }

/* Izgara satırı kapanırken kırpan kutu. Dolgusu YOK: dolgu burada olsaydı
   satır 0fr'ye insin diye kapalı panel yine dolgu kadar yer kaplardı. */
.tf-acc__clip {
  overflow: hidden;
  min-height: 0;
}

.tf-acc__text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--tf-muted);
  padding: 0 20px 18px;
}

/* En uzun madde ölçülürken geçişler kapalı olmalı */
.tf-acc.is-measuring .tf-acc__panel { transition: none; }

@media (prefers-reduced-motion: reduce) {
  .tf-acc__panel { transition: none; }
}

/* --- Süreç akışı (mühendislik ortaklığı) -------------------------------- */
.tf-flow {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--tf-line);
  border-bottom: 1px solid var(--tf-line);
}

.tf-flow__step {
  display: flex;
  flex-direction: column;
  min-width: 0;
  row-gap: 12px;
  padding: 18px 20px 20px;
  border-left: 1px solid var(--tf-line);
}
.tf-flow__step:last-child { border-right: 1px solid var(--tf-line); }

.tf-flow__num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--tf-line-strong);
  transition: color 0.3s ease;
}
.tf-flow__step.is-active .tf-flow__num,
.tf-flow__step.is-done .tf-flow__num { color: var(--tf-red); }

.tf-flow__desc {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--tf-muted);
}

/* Çubuk: bekleyen adımda noktalı, geçilen adımda dolu kırmızı */
.tf-flow__bar {
  position: relative;
  height: 4px;
  /* margin-top:auto → çubuk ve ad alta yaslanır; açıklama ister 2 ister 3
     satır olsun bütün çubuklar aynı hizada durur. Asgari boşlukları
     kutunun row-gap'i ve komşuların marjı verir. */
  margin: auto 0 0;
  background-image: radial-gradient(circle, var(--tf-line-strong) 1.1px, transparent 1.2px);
  background-size: 5px 4px;
  background-repeat: repeat-x;
  background-position: 0 center;
}
/* Adım sırası gelince soldan sağa dolar */
.tf-flow__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: var(--tf-red);
}
.tf-flow__step.is-active .tf-flow__fill,
.tf-flow__step.is-done .tf-flow__fill { width: 100%; }

.tf-flow__name {
  margin-top: 4px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--tf-line-strong);
  transition: color 0.3s ease;
}
.tf-flow__step.is-done .tf-flow__name { color: var(--tf-navy); }
.tf-flow__step.is-active .tf-flow__name { color: var(--tf-red); }

/* Animasyon açıkken çubuk dolarken görünür; JS yoksa hepsi dolu gelir */
.tf-flow.is-animated .tf-flow__fill {
  transition: width var(--tf-flow-step, 700ms) linear;
}
.tf-flow.is-animated .tf-flow__step:not(.is-active):not(.is-done) .tf-flow__fill {
  width: 0;
}

@media (max-width: 1000px) {
  .tf-flow { grid-template-columns: repeat(3, 1fr); }
  .tf-flow__step:nth-child(-n+3) { border-bottom: 1px solid var(--tf-line); }
  .tf-flow__step:last-child { border-right: 0; }
  .tf-flow__step:nth-child(3n) { border-right: 1px solid var(--tf-line); }
}

@media (max-width: 620px) {
  .tf-flow { grid-template-columns: repeat(2, 1fr); }
  .tf-flow__step { padding: 14px 16px 16px; }
  .tf-flow__step:nth-child(-n+4) { border-bottom: 1px solid var(--tf-line); }
  .tf-flow__step:nth-child(3n) { border-right: 0; }
  .tf-flow__step:nth-child(2n) { border-right: 1px solid var(--tf-line); }
  .tf-flow__bar { margin: 16px 0 12px; }
  .tf-flow__name { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .tf-flow.is-animated .tf-flow__fill { transition: none; }
}

/* --- Kilometre taşları (akan zaman çizelgesi) --------------------------- */
.tf-timeline { position: relative; }

.tf-timeline__track {
  display: flex;
  border: 1px solid var(--tf-line);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
/* İnce kaydırma çubuğu — dar ekranlarda görünür */
.tf-timeline__track::-webkit-scrollbar { height: 4px; }
.tf-timeline__track::-webkit-scrollbar-thumb { background: var(--tf-line-strong); }

.tf-milestone {
  position: relative;
  flex: 1 1 0;
  min-width: 138px;
  scroll-snap-align: start;
  background: #fff;
  padding: 26px 34px 26px 18px;
  border-left: 1px solid var(--tf-line);
}
.tf-milestone:first-child { border-left: 0; }
.tf-milestone--last { padding-right: 18px; }
.tf-milestone--upcoming { background: var(--tf-bg-alt); }

/* Kutunun üstünde soldan sağa dolan kırmızı ilerleme çubuğu */
.tf-milestone::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: var(--tf-red);
}

.tf-milestone__year {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--tf-blue);
}
.tf-milestone--upcoming .tf-milestone__year { color: var(--tf-red); }
.tf-milestone__text {
  margin-top: 8px;
  font-size: 14px;
  color: var(--tf-muted);
  line-height: 1.5;
}

/* Sonraki kutuya ilerleme noktaları */
.tf-milestone__dots {
  position: absolute;
  right: 9px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 3px;
}
.tf-milestone__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--tf-line-strong);
}

/* --- Animasyonlu durum (JS açıksa) ------------------------------------- */
.tf-timeline.is-animated .tf-milestone {
  opacity: 0.4;
  transition: opacity 0.5s ease;
}
.tf-timeline.is-animated .tf-milestone::before {
  width: 0;
  transition: width 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}
.tf-timeline.is-animated .tf-milestone.is-lit { opacity: 1; }
.tf-timeline.is-animated .tf-milestone.is-lit::before { width: 100%; }

.tf-timeline.is-animated .tf-milestone__dot {
  transition: background-color 0.18s ease, transform 0.18s ease;
}
/* Yanan nokta — kırmızı ve bir tık büyük */
.tf-timeline.is-animated .tf-milestone__dot.is-on {
  background: var(--tf-red);
  transform: scale(1.5);
}
/* Geçilmiş noktalar — kırmızı kalır ama geri çekilir */
.tf-timeline.is-animated .tf-milestone__dot.is-past {
  background: var(--tf-red);
  opacity: 0.45;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .tf-timeline__track { scroll-behavior: auto; }
}

/* --- Madde listesi (tire işaretli) ------------------------------------- */
.tf-bullets {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tf-bullets li span { flex: 1; }
.tf-bullets li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  color: var(--tf-ink);
}
.tf-bullets li::before {
  content: '—';
  color: var(--tf-red);
  font-weight: 700;
}

/* --- Form --------------------------------------------------------------- */
.tf-form {
  display: grid;
  gap: 16px;
}
.tf-form__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}
.tf-field {
  display: grid;
  gap: 7px;
  /* Satır arkadaşında uyarı çıkınca alan uzayıp kontrolü aşağı itmesin */
  align-content: start;
}
.tf-field__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--tf-ink);
}
.tf-input,
.tf-select,
.tf-textarea {
  background: #fff;
  border: 1px solid var(--tf-line-strong);
  color: var(--tf-ink);
  padding: 13px 14px;
  font-size: 15px;
  width: 100%;
  border-radius: 0;
}
.tf-textarea { resize: vertical; }
.tf-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%2355606D' d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
  padding-right: 38px;
}
.tf-file {
  background: var(--tf-bg-soft);
  border: 1px dashed var(--tf-line-dashed);
  color: var(--tf-muted);
  padding: 12px 14px;
  font-size: 13px;
  width: 100%;
}
.tf-input[aria-invalid="true"],
.tf-textarea[aria-invalid="true"],
.tf-select[aria-invalid="true"] {
  border-color: var(--tf-red) !important;
  background-color: #FEF6F7;
}

/* Alan altındaki anlık uyarı */
.tf-field__error {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: #B3162B;
}
.tf-field__error[hidden] { display: none; }

.tf-form__note {
  font-size: 13px;
  line-height: 1.55;
  color: var(--tf-grey);
}
.tf-form__error {
  background: #FDECEF;
  border-left: 3px solid var(--tf-red);
  color: #8E1225;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.5;
}
.tf-form__error[hidden] { display: none; }

/* Bot tuzağı — insanlar görmez */
.tf-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Form kutusu ve teşekkür ekranı */
.tf-form-box {
  background: #fff;
  border: 1px solid var(--tf-line);
  padding: 32px;
}

/* Hero'daki dar sürüm — daha sıkı boşluk, hafif gölge */
.tf-form-box--compact {
  padding: 24px;
  box-shadow: 0 12px 32px rgba(22, 33, 58, 0.08);
}

/* "Teklif Alın" ile çağrıldığında gözü forma çeken kısa halka.
   outline kullanılıyor ki yerleşimi hiç etkilemesin. */
@keyframes tf-form-call {
  from { outline-color: rgba(216, 32, 58, 0.55); }
  to   { outline-color: rgba(216, 32, 58, 0); }
}
.tf-form-box.is-called {
  outline: 3px solid transparent;
  outline-offset: 3px;
  animation: tf-form-call 0.85s ease-out;
}

.tf-form__title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--tf-navy);
}

.tf-form--compact { gap: 13px; }
.tf-form--compact .tf-form__row { gap: 13px; }
.tf-form--compact .tf-input,
.tf-form--compact .tf-select { padding: 11px 13px; font-size: 14px; }
.tf-form--compact .tf-select { background-position: right 12px center; }
.tf-form--compact .tf-field__label { font-size: 12px; }
.tf-form--compact .tf-btn--submit { padding: 15px 20px; font-size: 14px; }
.tf-form--compact .tf-form__note { font-size: 12px; }
.tf-thanks { padding: 20px 0; }
.tf-thanks__title {
  margin-top: 14px;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--tf-navy);
}
.tf-thanks__text {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--tf-muted);
}

@media (max-width: 720px) {
  .tf-form-box { padding: 22px; }
}

/* --- Liste sıfırlama ---------------------------------------------------- */
.tf-list-reset {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ==========================================================================
   Aralık yardımcıları — bileşen kurallarını geçersiz kılabilmesi için en sonda
   ========================================================================== */
.tf-mt-10 { margin-top: 10px; }
.tf-mt-16 { margin-top: 16px; }
.tf-mt-20 { margin-top: 20px; }
.tf-mt-24 { margin-top: 24px; }
.tf-mt-26 { margin-top: 26px; }
.tf-mt-28 { margin-top: 28px; }
.tf-mt-30 { margin-top: 30px; }
.tf-mt-32 { margin-top: 32px; }
.tf-mt-38 { margin-top: 38px; }
.tf-mt-40 { margin-top: 40px; }
.tf-mt-44 { margin-top: 44px; }

/* ==========================================================================
   Scroll ile açılma (reveal) — bileşenler görünür alana girince alttan
   yumuşakça belirir. Gizleme yalnızca .tf-js sınıfı varken uygulanır, yani
   JavaScript kapalıysa veya yüklenemezse içerik olduğu gibi görünür kalır.
   ========================================================================== */
.tf-js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity 0.6s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}

/* Sadece solup belirir — büyük görseller ve zemin blokları için */
.tf-js [data-reveal="fade"] { transform: none; }

/* Daha kısa mesafe — küçük parçalar (rozet, etiket, logo) için */
.tf-js [data-reveal="short"] { transform: translate3d(0, 10px, 0); }

/* Hero — sayfanın ilk izlenimi, biraz daha uzun ve yumuşak */
.tf-js [data-reveal="hero"] {
  transform: translate3d(0, 28px, 0);
  transition-duration: 0.85s;
}

.tf-js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* Rakam bandı istisnası: kutunun kendisi saydamlaşırsa, ayırıcı çizgileri
   çizen açık zemin kutunun altından görünüyor ve sıra gelmemiş sütunlar
   açık mavi blok gibi duruyordu. Kutu opak kalsın, sadece içeriği açılsın. */
.tf-js .tf-stat[data-reveal] {
  opacity: 1;
  transform: none;
}
.tf-js .tf-stat[data-reveal] > * {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition:
    opacity 0.5s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.tf-js .tf-stat[data-reveal].is-visible > * {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .tf-js .tf-stat[data-reveal] > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tf-js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --- Bento: asimetrik kutu dizilimi (test ve validasyon) ---------------- */
.tf-bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 74px;
  gap: 12px;
}

.tf-bento__item {
  /* Genişlik veriden gelir: style="--w: 4" */
  grid-column: span var(--w, 3);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--tf-bg-soft);
  border: 1px solid var(--tf-line);
  transition: border-color 0.18s ease, background-color 0.18s ease;
}
.tf-bento__item:hover {
  border-color: var(--tf-red);
  background: #fff;
}

/* Çizgi tipi ikon — rengi kutudan alır, hover'da kırmızıya döner */
.tf-bento__icon {
  flex: 0 0 auto;
  display: block;
  width: 26px;
  height: 26px;
  color: var(--tf-blue);
  transition: color 0.18s ease;
}
.tf-bento__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}
.tf-bento__item:hover .tf-bento__icon { color: var(--tf-red); }

.tf-bento__label {
  font-size: 15px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--tf-ink);
}

@media (max-width: 620px) {
  .tf-bento {
    grid-auto-rows: 68px;
    gap: 10px;
  }
  .tf-bento__item { gap: 10px; padding: 12px 13px; }
  .tf-bento__icon { width: 22px; height: 22px; }
  .tf-bento__label { font-size: 14px; }
}

@media (hover: none) {
  .tf-bento__item:hover {
    border-color: var(--tf-line);
    background: var(--tf-bg-soft);
  }
}
