/* ============================================================
   PLATFORM - B2B module components (SarrafTech tanıtım)
   Built on the shared design tokens. Inline-SVG icons (.ico) are
   used here instead of the subset Phosphor font so every module
   can carry its own bespoke glyph. Dark feature sections flip the
   token set locally via .dark-panel.
   ============================================================ */

/* ---------------- Dark feature section ---------------- */
/* .dark-panel (tokens.css) flips every color token to the dark set.
   Pairing it with a section gives a self-contained dark band that
   looks identical in both light and dark page themes. */
.section--ink { background: var(--bg); }
.section--ink::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background: radial-gradient(900px 520px at 82% -8%, rgba(232,199,122,0.10), transparent 60%);
}
/* Restore the gold gradient on text inside dark bands (the light-theme
   solid-gold fallback would otherwise dull it on a dark surface). */
.dark-panel .text-gold {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* ---------------- Inline SVG icon base ---------------- */
.ico { stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-tile {
  flex: none;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  background: var(--gold-grad-soft);
  border: 1px solid var(--hairline);
  color: var(--gold-300);
  margin-bottom: 1.1rem;
}
.icon-tile .ico { width: 25px; height: 25px; }

/* ---------------- Eyebrow / section sub on a line ---------------- */
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .section__lead { margin-inline: auto; }

/* ---------------- Module / feature cards ---------------- */
.mod-grid { display: grid; gap: var(--gap); }
.mod-grid--2 { grid-template-columns: repeat(2, 1fr); }
.mod-grid--3 { grid-template-columns: repeat(3, 1fr); }
.mod-grid--4 { grid-template-columns: repeat(4, 1fr); }

.mod-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: clamp(1.3rem, 2vw, 1.7rem);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--hairline);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.mod-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--gold-grad); transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-slow) var(--ease);
}
.mod-card:hover { transform: translateY(-4px); border-color: var(--hairline-strong); box-shadow: var(--shadow-md); }
.mod-card:hover::before { transform: scaleX(1); }
.mod-card h3 { font-size: 1.12rem; line-height: 1.25; }
.mod-card h4 { font-size: 1.05rem; line-height: 1.25; }
.mod-card p { margin-top: 0.5rem; font-size: 0.92rem; color: var(--text-2); line-height: 1.5; }
.mod-card .icon-tile { width: 44px; height: 44px; margin-bottom: 0.9rem; }
.mod-card .icon-tile .ico { width: 22px; height: 22px; }

/* small "what it adds" tag */
.mod-tag {
  margin-top: auto; padding-top: 1rem;
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.02em;
  color: var(--gold-300);
}
.mod-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-300); flex: none; }

/* checked feature list (inline SVG ticks) */
.tick-list { display: flex; flex-direction: column; gap: 0.7rem; margin-top: 0.9rem; }
.tick-list li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.92rem; color: var(--text-2); line-height: 1.45; }
.tick-list .ico { width: 18px; height: 18px; flex: none; margin-top: 0.15rem; color: var(--gold-300); }
.tick-list b { color: var(--text); font-weight: 600; }

/* ---------------- Value strip (İşletmeye katkısı) ---------------- */
.value-strip {
  display: flex; align-items: center; gap: 1.1rem;
  padding: 1.1rem 1.4rem;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-left: 4px solid var(--gold-300);
  margin-top: var(--gap);
}
.value-strip .ico { width: 30px; height: 30px; flex: none; color: var(--gold-300); }
.value-strip .k { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-300); }
.value-strip p { font-size: 0.95rem; color: var(--text); margin-top: 0.25rem; line-height: 1.45; }

/* ---------------- Before / after comparison ---------------- */
.compare-title { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin-bottom: 1rem; }
.compare {
  display: grid;
  grid-template-columns: 1fr 52px 1fr;
  align-items: stretch;
  gap: 0;
}
.cmp-col {
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: clamp(1.2rem, 2vw, 1.6rem);
  background: var(--surface);
}
.cmp-col--old { background: var(--surface-2); }
.cmp-col--new { border-color: var(--gold-400); box-shadow: var(--ring-gold); }
.cmp-h { display: flex; align-items: center; gap: 0.55rem; font-family: var(--font-display); font-weight: 700; font-size: 1rem; margin-bottom: 1rem; }
.cmp-col--old .cmp-h { color: var(--text-3); }
.cmp-col--new .cmp-h { color: var(--gold-300); }
.cmp-col ul { display: flex; flex-direction: column; gap: 0.8rem; }
.cmp-col li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.92rem; line-height: 1.3; color: var(--text-2); }
.cmp-col li .ico { width: 17px; height: 17px; flex: none; }
.cmp-col--old li .ico { color: var(--down); }
.cmp-col--new li { color: var(--text); }
.cmp-col--new li .ico { color: var(--up); }
.cmp-arrow { display: grid; place-items: center; color: var(--gold-300); }
.cmp-arrow .ico { width: 26px; height: 26px; }

/* ---------------- Numbered steps ---------------- */
.steps { position: relative; display: grid; gap: 0; grid-template-columns: repeat(4, 1fr); }
.steps::before {
  content: ""; position: absolute; top: 26px; left: 12%; right: 12%;
  height: 2px; background: var(--hairline-strong);
}
.steps--3 { grid-template-columns: repeat(3, 1fr); }
.step { position: relative; text-align: center; padding: 0 0.6rem; }
.step__num {
  width: 52px; height: 52px; margin: 0 auto 0.9rem;
  display: grid; place-items: center;
  border-radius: var(--r-pill);
  background: var(--gold-grad);
  color: var(--on-gold);
  font-family: var(--font-display); font-weight: 800; font-size: 1.25rem;
  box-shadow: var(--shadow-gold);
}
.step h5 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; }
.step p { font-size: 0.84rem; color: var(--text-2); margin-top: 0.3rem; line-height: 1.4; }

/* ---------------- Product pills ---------------- */
.pill-wrap { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill {
  display: inline-flex; align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: var(--r-pill);
  background: var(--surface-3);
  border: 1px solid var(--hairline);
  font-size: 0.8rem; font-weight: 600; color: var(--text-2);
}
.pill--gold { background: var(--gold-grad-soft); border-color: var(--gold-400); color: var(--gold-300); }

/* ---------------- Hub / orbit diagram ---------------- */
.hub {
  display: grid;
  grid-template-columns: 1fr minmax(160px, 200px) 1fr;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
}
.hub__col { display: flex; flex-direction: column; gap: var(--gap); }
.node {
  padding: 1rem 1.15rem;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--hairline);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.node:hover { transform: translateY(-3px); border-color: var(--gold-400); }
.node h4 { display: flex; align-items: center; gap: 0.65rem; font-family: var(--font-display); font-size: 1rem; }
.node p { font-size: 0.82rem; color: var(--text-3); margin-top: 0.45rem; line-height: 1.4; }
.node__ic {
  flex: none; width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  background: var(--gold-grad-soft); border: 1px solid var(--hairline);
  color: var(--gold-300);
}
.node__ic .ico { width: 19px; height: 19px; }
.hub__core {
  aspect-ratio: 1; border-radius: 50%;
  background: var(--gold-grad);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  box-shadow: 0 0 0 12px rgba(200,150,47,0.10), 0 0 0 26px rgba(200,150,47,0.05), var(--shadow-gold);
}
.hub__core img { width: 52px; margin-bottom: 0.5rem; }
.hub__core .t { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: var(--on-gold); line-height: 1.05; }
.hub__core .s { font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-600); margin-top: 0.25rem; }

/* ---------------- Price flow ---------------- */
.flow { display: flex; align-items: stretch; gap: 0.7rem; }
.flow__stack { display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.flow__node {
  flex: 1; text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.35rem;
  padding: 0.9rem 0.7rem;
  border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--hairline);
}
.flow__node .node__ic { margin-bottom: 0.1rem; }
.flow__node .nm { font-family: var(--font-display); font-weight: 700; font-size: 0.92rem; line-height: 1.15; }
.flow__node .fr { font-size: 0.68rem; font-weight: 700; color: var(--gold-300); }
.flow__engine {
  flex: 1.2;
  background: linear-gradient(150deg, var(--surface-3), var(--surface-2));
  border: 1px solid var(--gold-400);
  box-shadow: var(--ring-gold);
}
.flow__engine .nm { color: var(--gold-200); font-weight: 800; }
.flow__engine .d { font-size: 0.68rem; color: var(--text-3); line-height: 1.35; margin-top: 0.2rem; }
.flow__arrow { display: grid; place-items: center; width: 24px; color: var(--gold-300); flex: none; }
.flow__arrow .ico { width: 20px; height: 20px; }

/* ---------------- Permission matrix ---------------- */
.matrix-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--hairline); }
table.matrix { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 540px; }
table.matrix th {
  background: var(--surface-3);
  font-family: var(--font-display); font-weight: 700; font-size: 0.9rem;
  text-align: left; padding: 0.9rem 1rem; color: var(--text);
  border-bottom: 1px solid var(--hairline-strong);
}
table.matrix td { padding: 0.85rem 1rem; border-bottom: 1px solid var(--hairline); color: var(--text-2); }
table.matrix tr:last-child td { border-bottom: none; }
table.matrix td b { color: var(--text); font-weight: 600; }
table.matrix tbody tr:nth-child(even) td { background: var(--surface-2); }
.cell-yes { color: var(--up); font-weight: 700; display: inline-flex; align-items: center; gap: 0.35rem; }
.cell-yes .ico { width: 15px; height: 15px; }
.cell-appr { color: var(--gold-300); font-weight: 600; }

/* ---------------- Stat grid (rakamlar) ---------------- */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.stat-cell {
  text-align: center;
  padding: clamp(1.4rem, 2.5vw, 2rem) 1rem;
  border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--hairline);
}
.stat-cell .n {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem); line-height: 1;
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.stat-cell .l { font-size: 0.84rem; color: var(--text-2); margin-top: 0.6rem; line-height: 1.3; }

/* ---------------- Screenshot frames ---------------- */
/* Browser-chrome frame for web / dashboard captures. Drop a real
   <img> inside .shot__view to replace the placeholder. */
.shot {
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.shot__bar {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.7rem 1rem;
  background: var(--surface-2);
  border-bottom: 1px solid var(--hairline);
}
.shot__dots { display: inline-flex; gap: 6px; flex: none; }
.shot__dots span { width: 11px; height: 11px; border-radius: 50%; background: var(--hairline-strong); }
.shot__url {
  flex: 1; min-width: 0;
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.35rem 0.8rem;
  border-radius: var(--r-pill);
  background: var(--bg);
  border: 1px solid var(--hairline);
  font-family: var(--font-mono); font-size: 0.74rem; color: var(--text-3);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.shot__url .ico { width: 13px; height: 13px; color: var(--gold-300); flex: none; }
.shot__view { position: relative; aspect-ratio: 16 / 10; background: var(--bg-2); }
.shot__view > img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
/* placeholder empty-state — looks intentional until a real shot lands */
.shot__ph {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.7rem;
  background:
    radial-gradient(700px 300px at 50% -20%, var(--gold-glow), transparent 60%),
    repeating-linear-gradient(135deg, transparent 0 22px, var(--tint-soft) 22px 23px);
  color: var(--text-3); text-align: center; padding: 1rem;
}
.shot__ph .ico { width: 40px; height: 40px; color: var(--gold-300); opacity: 0.8; }
.shot__ph b { font-family: var(--font-display); font-size: 0.98rem; color: var(--text-2); }
.shot__ph span { font-size: 0.78rem; max-width: 30ch; }

/* gallery of mobile shots framed as phones — horizontal scroller */
.gallery {
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  padding-block: 0.4rem 0.6rem;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.gallery:focus-visible { outline: 2px solid var(--gold-300); outline-offset: 3px; border-radius: var(--r-sm); }

/* Carousel wrapper + prev/next arrows */
.gallery-wrap { position: relative; }
.gallery-nav {
  position: absolute; top: 46%; transform: translateY(-50%);
  z-index: 3;
  width: 46px; height: 46px; border-radius: var(--r-pill);
  display: grid; place-items: center;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--hairline-strong);
  box-shadow: var(--shadow-md);
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease),
              transform var(--dur-fast) var(--ease), opacity var(--dur) var(--ease);
}
.gallery-nav:hover { color: var(--gold-300); border-color: var(--gold-400); transform: translateY(-50%) scale(1.06); }
.gallery-nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.gallery-nav--prev { left: -10px; }
.gallery-nav--next { right: -10px; }
.gallery-nav[disabled] { opacity: 0; pointer-events: none; }

.phone-shot {
  scroll-snap-align: start;
  flex: 0 0 calc((100% - 3 * var(--gap)) / 4);   /* 4 per view on desktop */
  border-radius: 30px;
  padding: 10px;
  background: linear-gradient(160deg, #2a2a31, #121216 60%);
  border: 1px solid var(--hairline-strong);
  box-shadow: var(--shadow-lg);
}
.phone-shot__view {
  position: relative;
  aspect-ratio: 540 / 1200;  /* match the 540x1200 screenshots exactly — no crop */
  border-radius: 22px;
  overflow: hidden;
  background: radial-gradient(120% 80% at 50% 0%, #15151b, #0c0c10);
}
.phone-shot__view > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.phone-shot__ph {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem;
  color: #80808A; text-align: center; padding: 1rem;
  background: repeating-linear-gradient(135deg, transparent 0 18px, rgba(255,255,255,0.03) 18px 19px);
}
.phone-shot__ph .ico { width: 30px; height: 30px; color: var(--gold-300); }
.phone-shot__ph span { font-size: 0.72rem; }
.phone-shot__cap { text-align: center; font-size: 0.82rem; color: var(--text-3); margin-top: 0.8rem; }

/* ---------------- Hero dashboard mockup (built, not an image) ---------------- */
.dash { padding: clamp(0.9rem, 1.8vw, 1.3rem); display: flex; flex-direction: column; gap: 0.8rem; }
.dash__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.kpi {
  padding: 0.75rem 0.8rem;
  border-radius: var(--r-md);
  background: var(--surface-2); border: 1px solid var(--hairline);
}
.kpi .kl { font-size: 0.66rem; color: var(--text-3); display: flex; align-items: center; gap: 0.3rem; }
.kpi .kl .ico { width: 13px; height: 13px; color: var(--gold-300); }
.kpi .kv { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; margin-top: 0.25rem; }
.kpi .kc { font-family: var(--font-mono); font-size: 0.64rem; margin-top: 0.1rem; }
.dash__row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 0.8rem; }
.dash__chart {
  padding: 0.8rem;
  border-radius: var(--r-md);
  background: var(--surface-2); border: 1px solid var(--hairline);
}
.dash__chart .ct { font-size: 0.7rem; color: var(--text-3); margin-bottom: 0.6rem; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 76px; }
.bars span {
  flex: 1; border-radius: 4px 4px 0 0;
  background: var(--gold-grad);
  opacity: 0.55;
}
.bars span:last-child { opacity: 1; }
.dash__mini { display: flex; flex-direction: column; gap: 0.4rem; }
.dash__mini .mrow {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.72rem;
  padding: 0.5rem 0.6rem; border-radius: var(--r-sm);
  background: var(--surface-2); border: 1px solid var(--hairline);
}
.dash__mini .mrow b { font-family: var(--font-mono); font-weight: 600; }

/* ---------------- LED vitrin mockup ---------------- */
.led {
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, #16161b, #0c0c10);
  border: 1px solid var(--hairline-strong);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.1rem, 2.2vw, 1.6rem);
}
.led__head {
  text-align: center;
  font-family: var(--font-display); font-weight: 800; letter-spacing: 0.12em;
  color: var(--gold-300); font-size: 0.95rem;
  padding-bottom: 0.8rem; margin-bottom: 0.4rem;
  border-bottom: 1px solid var(--hairline);
}
.led__row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.7rem 0.3rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: #e9e7e0; font-size: 0.92rem;
}
.led__row:last-of-type { border-bottom: none; }
.led__row .v { font-family: var(--font-mono); }
.led__row .v.up { color: var(--up); }
.led__row .v.down { color: var(--down); }
.led__note { text-align: center; font-size: 0.7rem; color: var(--text-3); margin-top: 0.7rem; }

/* ---------------- CTA band ---------------- */
.cta-band {
  position: relative;
  border-radius: var(--r-xl);
  background: var(--gold-grad);
  color: var(--on-gold);
  padding: clamp(2.2rem, 5vw, 3.6rem);
  overflow: hidden;
}
.cta-band .kk { font-family: var(--font-mono); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-600); }
.cta-band h2 { color: var(--on-gold); font-size: clamp(1.8rem, 3.5vw, 2.8rem); line-height: 1.1; margin-top: 0.9rem; }
.cta-band p { color: #3a2e10; font-size: 1.02rem; line-height: 1.55; margin-top: 1rem; max-width: 60ch; }
.cta-checks { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.5rem; }
.cta-checks span {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(26,20,8,0.10); border: 1px solid rgba(26,20,8,0.18);
  border-radius: var(--r-pill); padding: 0.5rem 1rem;
  font-size: 0.88rem; font-weight: 600; color: var(--on-gold);
}
.cta-checks .ico { width: 16px; height: 16px; }
.cta-band__box {
  margin-top: 2rem;
  background: #1A1408;
  border-radius: var(--r-lg);
  padding: clamp(1.2rem, 2.5vw, 1.8rem);
}
.cta-band__box .bt { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: var(--gold-100); }
.cta-channels { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem 1.6rem; margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid rgba(232,199,122,0.22); }
.cta-channels a, .cta-channels span { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--gold-100); font-size: 0.95rem; }
.cta-channels .ico { width: 18px; height: 18px; color: var(--gold-300); flex: none; }
.cta-channels a:hover { color: #fff; }

/* ---------------- Floating social dock (fixed, all pages) ---------------- */
.social-dock {
  position: fixed;
  right: clamp(0.8rem, 2vw, 1.4rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: var(--z-sticky);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.social-dock a {
  position: relative;
  display: grid; place-items: center;
  width: 52px; height: 52px;
  border-radius: var(--r-pill);
  color: #fff;
  box-shadow: var(--shadow-md);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.social-dock a::before {
  content: attr(data-label);
  position: absolute; right: calc(100% + 0.6rem); top: 50%;
  transform: translateY(-50%) translateX(6px);
  padding: 0.4rem 0.75rem;
  border-radius: var(--r-pill);
  background: var(--surface); color: var(--text);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-sm);
  font-size: 0.8rem; font-weight: 600; white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.social-dock a:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.social-dock a:hover::before { opacity: 1; transform: translateY(-50%) translateX(0); }
.social-dock a svg { width: 26px; height: 26px; }
.social-dock .sd-wa { background: #25D366; }
.social-dock .sd-ig { background: linear-gradient(45deg, #feda75, #fa7e1e 28%, #d62976 58%, #962fbf 78%, #4f5bd5); }
@media (max-width: 560px) {
  .social-dock { right: 0.7rem; bottom: 1rem; top: auto; transform: none; }
  .social-dock a { width: 48px; height: 48px; }
  .social-dock a::before { display: none; }
}
@media (hover: none) { .social-dock a:hover { transform: none; } }

/* ---------------- Responsive ---------------- */
@media (max-width: 1024px) {
  .mod-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .mod-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hub { grid-template-columns: 1fr; }
  .hub__core { width: min(220px, 60vw); margin: 0.5rem auto; }
  .flow { flex-direction: column; }
  .flow__arrow { width: auto; height: 26px; transform: rotate(90deg); }
  .phone-shot { flex-basis: calc((100% - var(--gap)) / 2); }   /* 2 per view on tablet */
  .cta-channels { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .mod-grid--2, .mod-grid--3, .mod-grid--4 { grid-template-columns: 1fr; }
  .phone-shot { flex-basis: 100%; }                            /* 1 per view on mobile */
  .gallery-nav { width: 40px; height: 40px; }
  .gallery-nav--prev { left: -4px; }
  .gallery-nav--next { right: -4px; }
  .compare { grid-template-columns: 1fr; gap: 0.9rem; }
  .cmp-arrow { transform: rotate(90deg); padding: 0.2rem 0; }
  .steps, .steps--3 { grid-template-columns: 1fr; gap: 1.4rem; }
  .steps::before { display: none; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .dash__kpis { grid-template-columns: 1fr; }
  .dash__row { grid-template-columns: 1fr; }
}

/* Touch: no stuck hover-lift */
@media (hover: none) {
  .mod-card:hover, .node:hover { transform: none; }
}

/* ---------------- Referanslar (horizontal 4:3 scroller) ---------------- */
/* Full-bleed track; --edge aligns the first/last card with the container. */
.refs {
  display: flex;
  gap: var(--gap);
  list-style: none;
  margin: clamp(1.5rem, 3vw, 2.25rem) 0 0;
  padding: 0.4rem 0 0.6rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
}
.refs::-webkit-scrollbar { display: none; }
.refs.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.refs:focus-visible { outline: 2px solid var(--gold-300); outline-offset: 3px; border-radius: var(--r-sm); }

.ref-card {
  scroll-snap-align: start;
  flex: 0 0 calc((100% - 2 * var(--gap)) / 3);   /* 3 per view on desktop */
  aspect-ratio: 4 / 3;
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--hairline);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.ref-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; z-index: 2;
  background: var(--gold-grad); transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-slow) var(--ease);
}
.ref-card:hover { transform: translateY(-4px); border-color: var(--hairline-strong); box-shadow: var(--shadow-md); }
.ref-card:hover::before { transform: scaleX(1); }
.ref-card__img {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  user-select: none; -webkit-user-drag: none;
  transition: transform var(--dur-slow) var(--ease);
}
.ref-card:hover .ref-card__img { transform: scale(1.05); }
/* Always-dark scrim over the photo so the label reads in both themes. */
.ref-card__cap {
  position: absolute; inset: auto 0 0 0; z-index: 1;
  padding: clamp(0.95rem, 2vw, 1.3rem);
  display: flex; flex-direction: column; gap: 0.15rem;
  background: linear-gradient(to top, rgba(12,10,6,0.9) 0%, rgba(12,10,6,0.5) 52%, rgba(12,10,6,0) 100%);
}
.ref-card__name {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.12;
  color: #fff;
}
.ref-card__loc {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.85rem; color: rgba(255, 255, 255, 0.86);
}
.ref-card__loc .ico { width: 15px; height: 15px; color: #E8C77A; flex: none; }

@media (max-width: 900px) { .ref-card { flex-basis: calc((100% - var(--gap)) / 2); } }   /* 2 per view on tablet */
@media (max-width: 560px) { .ref-card { flex-basis: 100%; } }                            /* 1 per view on mobile */
