/*
 * Sayfa oluşturucu bölümleri: müşteri yorumları, paketler, ekip, süreç adımları, boşluk.
 * Tüm temalarda yüklenir; temanın renk / yazı değişkenlerini (varsa) kullanır, yoksa güvenli varsayılanlara düşer.
 */
.xb-center { text-align: center; margin-inline: auto; }
.xb-center .section-lead { margin-inline: auto; }

/* Müşteri yorumları */
.xb-quotes__grid { display: grid; gap: clamp(16px, 2.4vw, 28px); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.xb-quotes--2 .xb-quotes__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.xb-quotes--1 .xb-quotes__grid { grid-template-columns: minmax(0, 820px); justify-content: center; }
.xb-quote { margin: 0; display: flex; flex-direction: column; gap: 18px; padding: clamp(22px, 2.6vw, 32px); border: 1px solid var(--line, #e5e8ee); border-radius: var(--radius, 12px); background: var(--bg, #fff); box-shadow: var(--shadow-sm, 0 1px 3px rgb(16 24 40 / .08)); }
.xb-quote__stars { color: var(--accent, #f59e0b); font-size: 13px; letter-spacing: 2px; }
.xb-quote__text { margin: 0; font-size: 1.02rem; line-height: 1.7; color: var(--text, #1d2433); flex: 1; }
.xb-quote__text::before { content: "“"; display: block; font: 700 2.6rem/1 Georgia, serif; color: var(--primary, #1f4fd6); opacity: .35; margin-bottom: 4px; }
.xb-quotes--1 .xb-quote { text-align: center; align-items: center; }
.xb-quotes--1 .xb-quote__text { font-size: clamp(1.1rem, 2vw, 1.35rem); }
.xb-quote__who { display: flex; align-items: center; gap: 12px; }
.xb-quote__who strong { display: block; color: var(--dark, #0b1730); font-size: .95rem; }
.xb-quote__who small { display: block; color: var(--muted, #5f6b7d); font-size: .82rem; }
.xb-quote__avatar { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; flex: none; background: var(--bg-muted, #f5f7fa); }
.xb-quote__avatar img { width: 100%; height: 100%; object-fit: cover; }

/* Paketler */
.xb-pricing__grid { display: grid; gap: clamp(16px, 2vw, 24px); grid-template-columns: repeat(var(--xb-n, 3), minmax(0, 1fr)); align-items: stretch; }
.xb-plan { position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 2.8vw, 34px); border: 1px solid var(--line, #e5e8ee); border-radius: calc(var(--radius, 12px) + 4px); background: var(--bg, #fff); }
.xb-plan.is-featured { border-color: var(--primary, #1f4fd6); box-shadow: var(--shadow, 0 10px 30px -12px rgb(16 24 40 / .22)); transform: translateY(-6px); }
.xb-plan__badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); padding: 4px 12px; border-radius: 999px; background: var(--primary, #1f4fd6); color: #fff; font-size: .75rem; font-weight: 700; white-space: nowrap; }
.xb-plan__name { margin: 0; font-size: 1.15rem; }
.xb-plan__price { font: 800 clamp(1.6rem, 3vw, 2.1rem)/1.1 var(--font-heading, inherit); color: var(--dark, #0b1730); letter-spacing: -.02em; }
.xb-plan__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; flex: 1; color: var(--text, #1d2433); font-size: .95rem; }
.xb-plan__list i { color: var(--primary, #1f4fd6); margin-right: 6px; font-size: .8em; }
.xb-plan__btn { justify-content: center; }

/* Ekip */
.xb-team__grid { display: grid; gap: clamp(18px, 2.4vw, 30px); grid-template-columns: repeat(var(--xb-n, 4), minmax(0, 1fr)); }
.xb-person { position: relative; text-align: center; }
.xb-person__photo { display: grid; place-items: center; aspect-ratio: 1; border-radius: var(--radius, 12px); overflow: hidden; background: var(--bg-muted, #f5f7fa); color: var(--muted, #5f6b7d); font-size: 2.4rem; margin-bottom: 14px; }
.xb-person__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease, ease); }
.xb-person:hover .xb-person__photo img { transform: scale(1.04); }
.xb-person__name { display: block; color: var(--dark, #0b1730); font-size: 1.02rem; }
.xb-person__role { display: block; color: var(--primary, #1f4fd6); font-size: .85rem; font-weight: 600; margin-top: 2px; }
.xb-person__bio { margin: 8px 0 0; color: var(--muted, #5f6b7d); font-size: .9rem; }
.xb-person__link { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #0a66c2; box-shadow: var(--shadow-sm, 0 1px 3px rgb(16 24 40 / .12)); }

/* Süreç adımları */
.xb-steps__list { list-style: none; margin: 0; padding: 0; counter-reset: xb; }
.xb-steps--row .xb-steps__list { display: grid; gap: clamp(16px, 2.4vw, 28px); grid-template-columns: repeat(var(--xb-n, 4), minmax(0, 1fr)); }
.xb-steps--list .xb-steps__list { display: grid; gap: 22px; max-width: 760px; }
.xb-step { display: flex; gap: 16px; align-items: flex-start; position: relative; }
.xb-steps--row .xb-step { flex-direction: column; padding-top: 6px; }
.xb-steps--row .xb-step:not(:last-child)::after { content: ""; position: absolute; top: 28px; left: 64px; right: -14px; height: 1px; background: var(--line, #e5e8ee); }
.xb-step__no { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 14px; background: var(--primary-soft, #eef3ff); color: var(--primary, #1f4fd6); font: 800 1rem/1 var(--font-heading, inherit); }
.xb-step__title { display: block; color: var(--dark, #0b1730); font-size: 1.05rem; margin-bottom: 4px; }
.xb-step__text { margin: 0; color: var(--muted, #5f6b7d); font-size: .93rem; }

/* Boşluk / ayraç */
.xb-spacer--sm { height: clamp(16px, 2vw, 24px); }
.xb-spacer--md { height: clamp(32px, 4vw, 56px); }
.xb-spacer--lg { height: clamp(56px, 8vw, 110px); }
.xb-spacer { display: flex; align-items: center; }
.xb-spacer > .container { width: 100%; }
.xb-spacer__line { border: 0; border-top: 1px solid var(--line, #e5e8ee); margin: 0; }

@media (max-width: 960px) {
  .xb-quotes__grid, .xb-pricing__grid { grid-template-columns: minmax(0, 1fr); }
  .xb-team__grid, .xb-steps--row .xb-steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xb-steps--row .xb-step::after { display: none; }
  .xb-plan.is-featured { transform: none; }
}
@media (max-width: 560px) {
  .xb-team__grid, .xb-steps--row .xb-steps__list { grid-template-columns: minmax(0, 1fr); }
}

/* Veri listesi (Uygulamalar › Veri tipleri) */
.xb-data__search { display: flex; gap: 8px; max-width: 520px; margin: 0 auto clamp(18px, 3vw, 28px); }
.xb-data__search input { flex: 1; min-width: 0; padding: 11px 14px; border: 1px solid var(--line, #e5e8ee); border-radius: var(--radius, 10px); font: inherit; background: var(--bg, #fff); color: var(--text, #1d2433); }
.xb-data__empty { text-align: center; color: var(--muted, #5f6b7d); padding: 28px 0; }
.xb-data__grid { display: grid; gap: clamp(14px, 2vw, 22px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.xb-data__list { display: grid; gap: 12px; }
.xb-data__item { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line, #e5e8ee); border-radius: var(--radius, 12px); background: var(--bg, #fff); box-shadow: var(--shadow-sm, 0 1px 3px rgb(16 24 40 / .06)); }
.xb-data--list .xb-data__item { flex-direction: row; align-items: stretch; }
.xb-data__media { aspect-ratio: 16 / 10; background: var(--bg-muted, #f5f7fa); }
.xb-data--list .xb-data__media { aspect-ratio: auto; width: clamp(110px, 22%, 200px); flex: none; }
.xb-data__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.xb-data__body { padding: clamp(16px, 2vw, 22px); display: grid; gap: 10px; flex: 1; min-width: 0; }
.xb-data__title { margin: 0; font-size: 1.08rem; line-height: 1.35; color: var(--dark, #0b1730); }
.xb-data__fields { margin: 0; display: grid; gap: 8px 16px; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.xb-data__field { min-width: 0; }
.xb-data__field.is-wide { grid-column: 1 / -1; }
.xb-data__field dt { font-size: .74rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--muted, #5f6b7d); }
.xb-data__field dd { margin: 2px 0 0; color: var(--text, #1d2433); overflow-wrap: anywhere; }
.xb-data__field a, .xb-data__table a { color: var(--primary, #1f4fd6); }
.xb-data__tag { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600; background: var(--bg-muted, #f1f4f8); color: var(--text, #1d2433); }
.xb-data__tag.is-green { background: #e7f6ee; color: #11734b; } .xb-data__tag.is-red { background: #fdecec; color: #b42318; }
.xb-data__tag.is-amber { background: #fff4e0; color: #9a5b00; } .xb-data__tag.is-blue { background: #e8effd; color: #1f4fd6; } .xb-data__tag.is-purple { background: #f1ebfd; color: #6d3fd1; }
.xb-data__scroll { overflow-x: auto; border: 1px solid var(--line, #e5e8ee); border-radius: var(--radius, 12px); background: var(--bg, #fff); }
.xb-data__table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.xb-data__table th { text-align: left; padding: 12px 16px; font-size: .76rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted, #5f6b7d); background: var(--bg-muted, #f5f7fa); border-bottom: 1px solid var(--line, #e5e8ee); }
.xb-data__table td { padding: 12px 16px; border-bottom: 1px solid var(--line, #e5e8ee); vertical-align: top; color: var(--text, #1d2433); }
.xb-data__table tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) {
  .xb-data__table thead { display: none; }
  .xb-data__table tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--line, #e5e8ee); }
  .xb-data__table td { display: flex; gap: 12px; justify-content: space-between; border: 0; padding: 6px 16px; }
  .xb-data__table td::before { content: attr(data-label); font-weight: 600; color: var(--muted, #5f6b7d); }
  .xb-data--list .xb-data__item { flex-direction: column; } .xb-data--list .xb-data__media { width: 100%; aspect-ratio: 16 / 10; }
}
