.page-referanslar {
  --ref-ink: #17212b;
  --ref-muted: #64748b;
  --ref-line: #e5e7eb;
  --ref-paper: #f7f8f6;
  --ref-green: #0f3d35;
  --ref-green-2: #184f45;
  --ref-gold: #c9a76a;
  --ref-cream: #f2eadc;
  --ref-white: #fff;
}

.ref-page {
  overflow: clip;
  background: var(--ref-paper);
  color: var(--ref-ink);
}

.ref-page *,
.ref-page *::before,
.ref-page *::after { box-sizing: border-box; }

.ref-shell {
  width: min(calc(100% - 32px), var(--enb-header-shell, 1552px));
  max-width: var(--enb-header-shell, 1552px);
  margin-inline: auto;
}

@media (min-width: 1280px) {
  .ref-shell {
    width: min(calc(100vw - 48px), var(--enb-header-shell, 1552px));
    max-width: var(--enb-header-shell, 1552px);
  }
}

.ref-hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - var(--enb-header-height, 0px));
  min-height: calc(100svh - var(--enb-header-height, 0px));
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 82% 22%, rgba(201, 167, 106, .22), transparent 28%),
    linear-gradient(135deg, #0a2824 0%, #0f3d35 56%, #17362f 100%);
}

.ref-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .1;
  background-image: linear-gradient(rgba(255,255,255,.2) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.2) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 92%);
}

.ref-hero__orb {
  position: absolute;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  pointer-events: none;
}
.ref-hero__orb--one { width: 520px; height: 520px; right: -170px; top: -190px; }
.ref-hero__orb--two { width: 330px; height: 330px; right: 8%; bottom: -190px; }

.ref-hero__inner {
  padding-top: clamp(44px, 5vw, 72px);
  padding-bottom: clamp(44px, 5vw, 72px);
}

.ref-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(330px, .64fr);
  gap: clamp(42px, 7vw, 92px);
  align-items: center;
}

/* Masaüstünde sol hero içeriğini merkeze biraz yaklaştırır; sağ özet kartının konumu korunur. */
.ref-hero__copy {
  padding-left: clamp(20px, 3.2vw, 56px);
}

.ref-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #e7d0a4;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .14em;
}
.ref-kicker::before { content: ""; width: 30px; height: 1px; background: currentColor; opacity: .8; }
.ref-kicker--dark { color: #9b6f2c; }

.ref-hero h1 {
  max-width: 780px;
  margin: 18px 0 0;
  color: #fff;
  font-size: clamp(43px, 6vw, 82px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 850;
}
.ref-hero h1 em { display: block; color: #ecd7ad; font-style: normal; font-weight: 500; }

.ref-hero__lead {
  max-width: 700px;
  margin: 28px 0 0;
  color: rgba(255,255,255,.74);
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.75;
}

.ref-hero__actions,
.ref-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.ref-btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 22px;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 780;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.ref-btn__emoji {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  margin-right: 8px;
  font-size: 16px;
  line-height: 1;
}
.ref-btn:hover { transform: translateY(-2px); }
.ref-btn:focus-visible,
.ref-filter:focus-visible,
.ref-search:focus-within,
.ref-card__link:focus-visible { outline: 3px solid rgba(201,167,106,.35); outline-offset: 3px; }
.ref-btn--primary { background: #f0dfbd; color: #15372f; box-shadow: 0 12px 30px rgba(0,0,0,.16); }
.ref-btn--ghost { border-color: rgba(255,255,255,.24); color: #fff; background: rgba(255,255,255,.05); }
.ref-btn--secondary { background: var(--ref-green); color: #fff; }
.ref-btn--light { background: #fff; color: #15372f; }
.ref-btn--outline-light { border-color: rgba(255,255,255,.34); color: #fff; }

.ref-hero__proof {
  position: relative;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 28px;
  padding: 26px;
  background: rgba(255,255,255,.08);
  box-shadow: 0 30px 70px rgba(0,0,0,.18);
  backdrop-filter: blur(18px);
}
.ref-proof__header { display: flex; flex-direction: column; gap: 5px; padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.13); }
.ref-proof__header span { color: #e7d0a4; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; }
.ref-proof__header strong { font-size: 19px; }
.ref-proof__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding-block: 24px; }
.ref-proof__stats div { min-width: 0; }
.ref-proof__stats strong { display: block; color: #fff; font-size: clamp(28px, 4vw, 40px); line-height: 1; letter-spacing: -.045em; }
.ref-proof__stats span { display: block; margin-top: 8px; color: rgba(255,255,255,.64); font-size: 11px; line-height: 1.35; }
.ref-hero__proof p { margin: 0; color: rgba(255,255,255,.68); font-size: 13px; line-height: 1.7; }

.ref-catalog,
.ref-standard { padding-block: clamp(70px, 8vw, 112px); }
.ref-catalog { background: #f6f4ef; }
.ref-standard { background: #fff; }

.ref-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .55fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: end;
  margin-bottom: 38px;
}
.ref-section-head h2,
.ref-standard h2,
.ref-cta h2 {
  margin: 13px 0 0;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.04;
  letter-spacing: -.045em;
  font-weight: 820;
}
.ref-section-head > p,
.ref-standard__intro > p { margin: 0; color: var(--ref-muted); font-size: 15px; line-height: 1.75; }

.ref-tools {
  position: relative;
  z-index: 2;
  margin-bottom: 28px;
}
.ref-search {
  width: min(520px, 100%);
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 17px;
  border: 1px solid #ddd8ce;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(37,42,44,.04);
}
.ref-search svg { width: 21px; height: 21px; flex: 0 0 auto; fill: none; stroke: #7c827f; stroke-width: 1.8; stroke-linecap: round; }
.ref-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ref-ink); font: inherit; font-size: 15px; }
.ref-search input::placeholder { color: #929a96; }

.ref-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.ref-filter {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid #ddd8ce;
  border-radius: 999px;
  background: transparent;
  color: #4e5754;
  font-size: 13px;
  font-weight: 720;
  cursor: pointer;
  transition: .2s ease;
}
.ref-filter span { min-width: 22px; height: 22px; display: inline-grid; place-items: center; border-radius: 999px; background: rgba(15,61,53,.08); font-size: 11px; }
.ref-filter:hover { border-color: #b5aa96; background: #fff; }
.ref-filter.is-active { border-color: var(--ref-green); background: var(--ref-green); color: #fff; }
.ref-filter.is-active span { background: rgba(255,255,255,.15); }
.ref-tools__status { margin-top: 14px; color: #737c78; font-size: 12px; font-weight: 650; }

.ref-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.ref-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e1ddd4;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 32px rgba(35,44,42,.04);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.ref-card:hover { transform: translateY(-4px); border-color: #ccc3b4; box-shadow: 0 18px 40px rgba(35,44,42,.09); }
.ref-card[hidden] { display: none !important; }
.ref-card__logo-wrap { height: 150px; display: grid; place-items: center; padding: 24px; background: linear-gradient(145deg,#fff,#faf9f6); border-bottom: 1px solid #efede7; }
.ref-card__logo { max-width: 100%; width: auto; height: 82px; object-fit: contain; }
.ref-card__body { display: flex; min-height: 220px; flex-direction: column; padding: 20px; }
.ref-card__category { align-self: flex-start; display: inline-flex; min-height: 26px; align-items: center; padding: 5px 9px; border-radius: 999px; background: #eef3f0; color: #31574d; font-size: 10px; line-height: 1; font-weight: 800; letter-spacing: .035em; }
.ref-card__name { margin: 14px 0 0; color: #18211f; font-size: 17px; line-height: 1.25; font-weight: 820; }
.ref-card__service { margin: 7px 0 18px; color: #707976; font-size: 13px; line-height: 1.55; }
.ref-card__link { min-height: 48px; margin-top: auto; display: inline-flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--ref-green); text-decoration: none; font-size: 13px; font-weight: 800; border-top: 1px solid #efede7; padding-top: 14px; }
.ref-card__link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.ref-card__link:hover svg { transform: translateX(3px); }

.ref-more-wrap { display: flex; justify-content: center; margin-top: 34px; }
.ref-more-wrap [hidden] { display: none !important; }
.ref-empty { margin-top: 30px; padding: 28px; border: 1px dashed #cfc8bb; border-radius: 18px; text-align: center; color: #6a736f; }
.ref-empty strong { display: block; color: #29322f; margin-bottom: 6px; }
.ref-empty span { font-size: 13px; }

.ref-ops {
  padding-block: clamp(78px, 9vw, 122px);
  color: #fff;
  background: #102e29;
}
.ref-section-head--light h2 { color: #fff; }
.ref-section-head--light > p { color: rgba(255,255,255,.63); }
.ref-spotlights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ref-spotlight { min-width: 0; padding: clamp(22px, 3vw, 32px); border: 1px solid rgba(255,255,255,.12); border-radius: 24px; background: rgba(255,255,255,.055); }
.ref-spotlight__top { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.ref-spotlight__logo { width: 126px; height: 64px; display: grid; place-items: center; padding: 10px; border-radius: 13px; background: #fff; }
.ref-spotlight__logo img { max-width: 100%; max-height: 44px; object-fit: contain; }
.ref-spotlight__top > span { color: #e6cf9e; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ref-spotlight h3 { margin: 22px 0 0; font-size: clamp(23px, 2.3vw, 31px); line-height: 1.12; }
.ref-spotlight p { color: rgba(255,255,255,.65); font-size: 14px; line-height: 1.7; }
.ref-spotlight__service { margin-bottom: 8px; color: rgba(255,255,255,.82) !important; }
.ref-spotlight a { min-height: 48px; display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; color: #ecd7ad; text-decoration: none; font-size: 13px; font-weight: 800; }

.ref-standard__grid { display: grid; grid-template-columns: minmax(280px,.7fr) minmax(0,1.2fr); gap: clamp(42px, 8vw, 100px); align-items: start; }
.ref-standard__intro { position: sticky; top: 96px; }
.ref-standard__items { border-top: 1px solid var(--ref-line); }
.ref-standard__items article { display: grid; grid-template-columns: 58px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--ref-line); }
.ref-standard__items article > span { color: #a47632; font-size: 12px; font-weight: 800; }
.ref-standard__items h3 { margin: 0; font-size: 19px; }
.ref-standard__items p { margin: 7px 0 0; color: var(--ref-muted); font-size: 14px; line-height: 1.7; }

.ref-cta { padding: 0 0 clamp(72px, 9vw, 120px); background: #fff; }
.ref-cta__box { display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 36px; align-items: center; padding: clamp(30px, 5vw, 58px); border-radius: 30px; color: #fff; background: linear-gradient(135deg,#9c6d2d 0%,#b58b4d 48%,#80571f 100%); box-shadow: 0 24px 58px rgba(105,76,35,.18); }
.ref-cta h2 { color: #fff; max-width: 760px; }
.ref-cta p { max-width: 780px; margin: 16px 0 0; color: rgba(255,255,255,.78); font-size: 15px; line-height: 1.7; }
.ref-cta .ref-kicker { color: #fff4df; }
.ref-cta__actions { margin-top: 0; justify-content: flex-end; }

@media (max-width: 1020px) {
  .ref-hero__grid { grid-template-columns: 1fr; }
  .ref-hero__copy { padding-left: 0; }
  .ref-hero__proof { max-width: 720px; }
  .ref-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .ref-standard__grid { grid-template-columns: 1fr; }
  .ref-standard__intro { position: static; }
  .ref-cta__box { grid-template-columns: 1fr; }
  .ref-cta__actions { justify-content: flex-start; }
}

@media (max-width: 760px) {
  .ref-shell { width: min(calc(100% - 24px), var(--enb-layout-shell, var(--enb-header-shell, 1552px))); }
  .ref-hero__inner { padding-top: 30px; padding-bottom: 48px; }
  .ref-hero h1 { font-size: clamp(42px, 13vw, 66px); }
  .ref-hero__lead { font-size: 16px; }
  .ref-hero__actions .ref-btn { flex: 1 1 160px; }
  .ref-hero__proof { padding: 22px; border-radius: 22px; }
  .ref-proof__stats { gap: 6px; }
  .ref-proof__stats strong { font-size: 29px; }
  .ref-section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 28px; }
  .ref-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .ref-card { border-radius: 18px; }
  .ref-card__logo-wrap { height: 122px; padding: 18px; }
  .ref-card__logo { height: 64px; }
  .ref-card__body { min-height: 218px; padding: 16px; }
  .ref-card__name { font-size: 15px; }
  .ref-card__service { font-size: 12px; }
  .ref-filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: -12px; padding: 0 12px 7px; scrollbar-width: none; scroll-snap-type: x proximity; }
  .ref-filters::-webkit-scrollbar { display: none; }
  .ref-filter { flex: 0 0 auto; scroll-snap-align: start; }
  .ref-spotlights { grid-template-columns: 1fr; }
  .ref-standard__items article { grid-template-columns: 42px 1fr; gap: 14px; }
  .ref-cta__box { border-radius: 24px; }
  .ref-cta__actions { width: 100%; }
  .ref-cta__actions .ref-btn { flex: 1 1 150px; }
}

@media (max-width: 430px) {
  .ref-proof__stats { grid-template-columns: 1fr; }
  .ref-proof__stats div { display: grid; grid-template-columns: 72px 1fr; align-items: center; gap: 12px; padding: 8px 0; }
  .ref-proof__stats span { margin: 0; font-size: 12px; }
  .ref-grid { grid-template-columns: 1fr; }
  .ref-card { display: grid; grid-template-columns: 124px 1fr; }
  .ref-card__logo-wrap { height: 100%; min-height: 190px; border-bottom: 0; border-right: 1px solid #efede7; padding: 14px; }
  .ref-card__logo { width: 100%; height: 72px; }
  .ref-card__body { min-height: 190px; padding: 15px; }
  .ref-card__category { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  .ref-page *, .ref-page *::before, .ref-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
