/* =========================================================
   Tekiz Bilişim — Kurumsal Tanıtım Sitesi
   ========================================================= */

:root {
  /* Logo renkleri (Tekiz Bilişim logosundan ölçüldü) */
  --brand-navy: #002A6E;
  --brand-blue: #0A50A3;
  --brand-cyan: #01A2E0;
  --brand-teal: #19A5A6;
  --brand-gray: #424346;
  /* "TEKİZ" yazısındaki gibi maviden camgöbeğine geçiş */
  --brand-gradient: linear-gradient(90deg, #0A50A3 0%, #0A78C8 55%, #01A2E0 100%);

  /* Koyu zemin (logonun lacivertinden) */
  --ink: #051A3F;
  --ink-rgb: 5, 26, 63;
  --ink-2: #0A2654;
  --ink-3: #10305F;
  --ink-line: rgba(120, 165, 225, 0.16);
  --ink-text: rgba(216, 229, 247, 0.76);
  --ink-text-rgb: 216, 229, 247;

  /* Ana renkler */
  --primary: #0B5CC5;
  --primary-rgb: 11, 92, 197;
  --primary-600: #094CA6;
  --primary-700: #073D88;
  --primary-50: #EAF2FC;
  --accent: #19A5A6;
  --accent-rgb: 25, 165, 166;
  --accent-ink: #0E7F80;
  --cyan-rgb: 1, 162, 224;

  /* Metin, çizgi ve yüzeyler */
  --text: #0B1A33;
  --text-2: #2F3B50;
  --text-3: #475468;
  --muted: #566377;
  --placeholder: #95A1B3;
  --line: #E1E7F0;
  --border: #D8E2EF;
  --border-strong: #C5D2E5;
  --bg: #FFFFFF;
  --bg-soft: #F3F6FA;
  --tint-1: #F2F7FD;
  --tint-2: #E5EFFA;
  --tint-3: #D6E6F8;

  /* Durum renkleri */
  --danger: #D83A41;
  --danger-50: #FFF2F2;
  --danger-ink: #A8232A;

  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 10px 30px -14px rgba(var(--ink-rgb), 0.22);
  --shadow-lg: 0 28px 60px -24px rgba(var(--ink-rgb), 0.32);

  --header-h: 76px;
  --topbar-h: 40px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
strong { font-weight: 700; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.i {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}

:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
.section--dark :focus-visible, .footer :focus-visible { outline-color: var(--accent); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.container { width: min(100% - 32px, 1200px); margin-inline: auto; }
@media (min-width: 640px) { .container { width: min(100% - 48px, 1200px); } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: 10px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 0.98rem; line-height: 1.2; white-space: nowrap; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn .i { width: 18px; height: 18px; }
.btn .i-arrow { transition: transform .2s; }
.btn:hover .i-arrow { transform: translateX(3px); }
.btn--sm { padding: 9px 16px; font-size: 0.9rem; border-radius: 10px; }
.btn--lg { padding: 16px 26px; font-size: 1.02rem; }

.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 10px 24px -10px rgba(var(--primary-rgb), 0.7); }
.btn--primary:hover { background: var(--primary-600); transform: translateY(-1px); }

.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.24); background: rgba(255, 255, 255, 0.05); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.55); background: rgba(255, 255, 255, 0.1); }

.btn--outline { color: var(--text); border-color: var(--line); background: #fff; }
.btn--outline:hover { border-color: var(--primary); color: var(--primary); }

.btn--white { background: #fff; color: var(--primary-700); }
.btn--white:hover { background: var(--primary-50); transform: translateY(-1px); }

.btn--wa { background: #fff; color: var(--text); }
.btn--wa .i { color: #25D366; }
.btn--wa:hover { background: var(--primary-50); }

/* ---------- Typography helpers ---------- */
.text-gradient {
  background: var(--brand-gradient);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.section { padding: clamp(72px, 9vw, 120px) 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--ink); color: #fff; position: relative; overflow: hidden; overflow: clip; isolation: isolate; }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 60px); }
.section-head--center { text-align: center; margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--primary);
}
.eyebrow::before { content: ""; width: 20px; height: 2px; border-radius: 2px; background: currentColor; }
.section-head--center .eyebrow::after { content: ""; width: 20px; height: 2px; border-radius: 2px; background: currentColor; }
.section--dark .eyebrow { color: var(--accent); }

h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  line-height: 1.18; letter-spacing: -0.018em; font-weight: 700;
  margin: 14px 0 16px; text-wrap: balance;
}
.lead { font-size: 1.075rem; line-height: 1.7; color: var(--muted); text-wrap: pretty; }
.section--dark .lead { color: var(--ink-text); }

/* ---------- Reveal on scroll ----------
   `translate` + animation kullanılır; böylece kartların kendi hover `transform` geçişleriyle çakışmaz. */
.js .reveal { opacity: 0; }
.js .reveal.is-visible {
  animation: reveal .75s cubic-bezier(.2, .7, .2, 1) both;
  animation-delay: calc(var(--d, 0) * 90ms);
}
@keyframes reveal {
  from { opacity: 0; translate: 0 22px; }
  to { opacity: 1; translate: 0 0; }
}

/* =========================================================
   HEADER
   ========================================================= */
/* Beyaz üst menü: logo orijinal renkleriyle görünür */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  background: #fff; border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 12px 32px -20px rgba(var(--ink-rgb), 0.4); }
.header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 12px; color: #fff; flex: none; }
.logo__mark { width: 40px; height: 40px; }
.logo--image img { display: block; height: 58px; width: auto; max-width: 260px; object-fit: contain; }
.footer .logo--image img { height: 56px; max-width: 260px; }
/* Koyu zeminde logo, renkleri bozulmadan beyaz bir kutu içinde gösterilir */
.logo--plate { padding: 12px 18px; border-radius: 14px; background: #fff; box-shadow: 0 16px 36px -22px rgba(0, 0, 0, 0.7); }
.footer .logo--plate img { height: 50px; }
.header .logo { color: var(--text); }
.header .logo__text span { color: var(--muted); }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__text strong { font-size: 1.2rem; font-weight: 800; letter-spacing: 0.08em; }
.logo__text span { margin-top: 5px; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.34em; color: rgba(var(--ink-text-rgb), 0.68); }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a:not(.btn) {
  padding: 8px 14px; border-radius: 999px;
  font-size: 0.94rem; font-weight: 500; color: var(--text-2);
  transition: color .2s, background-color .2s;
}
.nav a:not(.btn):hover, .nav a.is-active { color: var(--primary); background: var(--primary-50); }
.nav__cta { display: none; }

.header__actions { display: flex; align-items: center; gap: 18px; }

/* Üst iletişim çubuğu (masaüstü); sayfa kaydırılınca gizlenir */
body:not(.has-topbar) { --topbar-h: 0px; }
.topbar {
  height: var(--topbar-h); overflow: hidden; background: var(--bg-soft); border-bottom: 1px solid var(--line);
  font-size: 0.84rem; color: var(--muted);
  transition: height .3s, opacity .3s, border-color .3s;
}
.topbar__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topbar__group { display: flex; align-items: center; gap: 28px; }
.topbar a, .topbar__hours { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.topbar a { transition: color .2s; }
.topbar a:hover { color: var(--text); }
.topbar .i { width: 15px; height: 15px; color: var(--primary); }
.header.is-scrolled .topbar { height: 0; opacity: 0; border-bottom-color: transparent; }

.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px; cursor: pointer;
  border: 1px solid var(--line); background: #fff;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.menu-toggle span { width: 20px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .3s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1000px) {
  body { --topbar-h: 0px; }
  .topbar { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 20px 16px 32px; overflow-y: auto;
    background: #fff;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav a:not(.btn) { font-size: 1.15rem; padding: 14px 16px; border-radius: 12px; }
  .nav__cta { display: inline-flex; margin-top: 16px; padding: 16px; }
  body.menu-open { overflow: hidden; }
  body.menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  body.menu-open .header { box-shadow: none; }
}
@media (max-width: 520px) {
  .header__cta { display: none; }
  .header .logo--image img { height: 50px; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  /* Beyaz üst menüden başlar, alttaki açık zemine yumuşakça erir */
  background: linear-gradient(180deg, #FFFFFF 0%, var(--tint-1) 38%, var(--tint-2) 72%, var(--bg-soft) 100%);
  color: var(--text);
  padding: calc(var(--header-h) + var(--topbar-h) + clamp(48px, 7vw, 88px)) 0 calc(clamp(72px, 8vw, 104px) + var(--overlap));
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(var(--primary-rgb), 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--primary-rgb), 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 25%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(640px circle at 76% 42%, rgba(var(--primary-rgb), 0.16), transparent 62%),
    radial-gradient(520px circle at 4% 92%, rgba(var(--cyan-rgb), 0.10), transparent 60%);
  /* Işıklar bölümün altına inmeden söner; alttaki bölümle arada çizgi oluşmaz */
  -webkit-mask-image: linear-gradient(180deg, #000 65%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 65%, transparent 100%);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 12px; margin-bottom: 26px; border-radius: 999px;
  border: 1px solid rgba(var(--primary-rgb), 0.18); background: #fff;
  box-shadow: 0 6px 18px -12px rgba(var(--primary-rgb), 0.45);
  font-size: 0.85rem; font-weight: 600; color: var(--primary-600);
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: ping 2s infinite; }
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.55); }
  80%, 100% { box-shadow: 0 0 0 9px rgba(var(--accent-rgb), 0); }
}

.hero__title {
  margin: 0;
  font-size: clamp(2.15rem, 4.3vw, 3.45rem);
  line-height: 1.1; letter-spacing: -0.02em; font-weight: 700;
  text-wrap: balance;
}
.hero__lead { margin-top: 24px; max-width: 560px; font-size: 1.1rem; line-height: 1.75; color: var(--text-3); }
.hero__lead strong { color: var(--text); font-weight: 600; }
.hero .btn--ghost { color: var(--text); border-color: var(--border-strong); background: #fff; }
.hero .btn--ghost:hover { color: var(--primary); border-color: var(--primary); background: #fff; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__checks { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 36px; font-size: 0.93rem; color: var(--text-2); }
.hero__checks li { display: flex; align-items: center; gap: 8px; }
.hero__checks .i { width: 18px; height: 18px; stroke-width: 2.6; color: var(--accent-ink); }

/* --- Slider --- */
.hero-slider { position: relative; }
.hero-slider__track { display: grid; }
/* Tüm slaytlar aynı hücrede üst üste durur; yükseklik en uzun slayta göre sabitlenir */
.hero-slide {
  grid-area: 1 / 1;
  visibility: hidden; opacity: 0;
  transition: opacity .45s ease, visibility 0s linear .45s;
}
.hero-slide.is-active { visibility: visible; opacity: 1; transition: opacity .45s ease, visibility 0s; }
.hero-slide > * { transition: opacity .6s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.hero-slide { --shift: calc(var(--dir, 1) * 28px); }
.hero-slide:not(.is-active) > * { opacity: 0; transform: translateX(var(--shift)); }
.hero-slide.is-leaving > * { transform: translateX(calc(var(--shift) * -1)); transition-duration: .35s, .45s; }
/* Etiket, başlık, açıklama ve butonlar sırayla gelir */
.hero-slide.is-active > :nth-child(2) { transition-delay: .08s; }
.hero-slide.is-active > :nth-child(3) { transition-delay: .16s; }
.hero-slide.is-active > :nth-child(4) { transition-delay: .24s; }

/* Konu sekmeleri: üstteki çizgi etkin slaytın süresini gösterir */
.hero-tabs {
  display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 14px;
  margin-top: 40px;
}
.hero-tab {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  padding: 0 0 4px; border: 0; background: none; cursor: pointer; text-align: left;
  font-family: inherit; color: var(--muted);
}
.hero-tab__bar { position: relative; display: block; width: 100%; height: 3px; border-radius: 3px; overflow: hidden; background: var(--border); }
.hero-tab__bar::after {
  content: ""; position: absolute; inset: 0; transform-origin: left;
  /* --p: etkin slaytın ilerlemesi (0–1), JavaScript sayacından gelir */
  transform: scaleX(var(--p, 0)); transition: transform .12s linear;
  background: var(--brand-gradient);
}
.hero-tab:not(.is-active) .hero-tab__bar::after { transition: none; }
.hero-slider.no-autoplay .hero-tab.is-active .hero-tab__bar::after { transform: scaleX(1); }
.hero-tab__label { font-size: 0.84rem; font-weight: 600; line-height: 1.35; letter-spacing: -0.005em; transition: color .3s; }
.hero-tab:hover .hero-tab__label { color: var(--text); }
.hero-tab.is-active .hero-tab__label { color: var(--primary); }
.hero-tab:focus-visible { outline: 2px solid var(--primary); outline-offset: 6px; border-radius: 4px; }

/* --- Hub görseli --- */
.hero__visual { position: relative; }
.hub { position: relative; width: min(100%, 520px); aspect-ratio: 1; margin-inline: auto; }
.hub__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hub__ring {
  fill: none; stroke: rgba(var(--primary-rgb), 0.22); stroke-width: 0.25; stroke-dasharray: 0.6 1.6;
  transform-box: fill-box; transform-origin: center; animation: spin 80s linear infinite;
}
.hub__ring--outer { stroke: rgba(var(--primary-rgb), 0.1); stroke-dasharray: none; animation: none; }
.hub__links line { stroke: rgba(var(--primary-rgb), 0.2); stroke-width: 0.3; }
.hub__flow line {
  stroke: var(--primary); stroke-width: 0.7; stroke-linecap: round;
  stroke-dasharray: 0.6 5; animation: flow 2.4s linear infinite;
}
.hub__flow line:nth-child(2) { animation-delay: -.4s; }
.hub__flow line:nth-child(3) { animation-delay: -.8s; }
.hub__flow line:nth-child(4) { animation-delay: -1.2s; }
.hub__flow line:nth-child(5) { animation-delay: -1.6s; }
.hub__flow line:nth-child(6) { animation-delay: -2s; }
@keyframes flow { to { stroke-dashoffset: -5.6; } }
@keyframes spin { to { transform: rotate(360deg); } }

.hub__core {
  position: absolute; left: 50%; top: 50%; width: 30%; aspect-ratio: 1;
  transform: translate(-50%, -50%); border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: radial-gradient(circle at 30% 25%, var(--ink-3), var(--ink-2) 70%);
  border: 1px solid rgba(var(--primary-rgb), 0.35);
  box-shadow: 0 0 0 10px rgba(var(--primary-rgb), 0.06), 0 0 70px rgba(var(--primary-rgb), 0.45), inset 0 0 30px rgba(var(--primary-rgb), 0.25);
}
.hub__core::before, .hub__core::after {
  content: ""; position: absolute; inset: -1px; border-radius: 50%;
  border: 1px solid rgba(var(--accent-rgb), 0.5); animation: pulse 3.2s ease-out infinite;
}
.hub__core::after { animation-delay: 1.6s; }
@keyframes pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }
.hub__core svg { width: 34%; height: auto; }
.hub__core--image {
  gap: 2px;
  background: radial-gradient(circle at 35% 28%, #FFFFFF 0%, var(--tint-1) 55%, var(--tint-3) 100%);
  border-color: var(--border);
  box-shadow: 0 0 0 10px rgba(var(--primary-rgb), 0.06), 0 26px 60px -22px rgba(var(--primary-rgb), 0.55), inset 0 -10px 24px rgba(var(--primary-rgb), 0.1);
}
.hub__core--image img { display: block; width: 64%; height: auto; margin-top: 4%; }
.hub__core--image span { color: var(--brand-blue); }
.hub__core--logo img { width: 62%; margin-top: 0; }
@media (max-width: 640px) {
  .hub__core--logo { width: 35%; }
  .hub__core--logo img { width: 66%; }
}
.hub__core span { font-weight: 800; letter-spacing: 0.18em; font-size: clamp(0.66rem, 1.5vw, 0.86rem); padding-left: .18em; }

.hub__node {
  position: absolute; left: var(--x); top: var(--y);
  transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  min-width: clamp(78px, 24%, 120px); padding: 12px 12px 11px;
  border-radius: 16px; border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 16px 34px -18px rgba(var(--ink-rgb), 0.35);
  font-size: clamp(0.66rem, 1.4vw, 0.8rem); font-weight: 600; color: var(--text); text-align: center; white-space: nowrap;
  animation: float 6s ease-in-out infinite; animation-delay: var(--delay, 0s);
}
.hub__icon {
  --s: clamp(30px, 8vw, 40px);
  display: grid; place-items: center; width: var(--s); height: var(--s); border-radius: 11px;
  background: var(--primary-50); color: var(--primary);
}
.hub__icon .i { width: calc(var(--s) * 0.56); height: calc(var(--s) * 0.56); }
button.hub__node { font-family: inherit; cursor: pointer; -webkit-appearance: none; appearance: none; }
button.hub__node:hover { border-color: rgba(var(--primary-rgb), 0.45); }
button.hub__node:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.hub-hint {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 14px; font-size: 0.84rem; color: var(--muted); text-align: center;
}
.hub-hint__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: ping 2s infinite; }
.hub-hint__touch { display: none; }
@media (hover: none) {
  .hub-hint__pointer { display: none; }
  .hub-hint__touch { display: inline; }
}
.hub__node, .hub__icon, .hub__links line, .hub__flow line { transition: opacity .5s ease, border-color .5s ease, box-shadow .5s ease, background-color .5s ease, color .5s ease; }
.hub.has-focus .hub__node:not(.is-focus) { opacity: 0.5; }
.hub.has-focus .hub__links line:not(.is-focus),
.hub.has-focus .hub__flow line:not(.is-focus) { opacity: 0.2; }
.hub__node.is-focus {
  border-color: rgba(var(--primary-rgb), 0.5);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1), 0 20px 40px -18px rgba(var(--primary-rgb), 0.6);
}
.hub__node.is-focus .hub__icon { background: var(--primary); color: #fff; }
.hub__flow line.is-focus { stroke-width: 0.95; }
@keyframes float {
  0%, 100% { transform: translate(-50%, -50%); }
  50% { transform: translate(-50%, calc(-50% - 7px)); }
}

/* =========================================================
   GÜVEN ŞERİDİ
   ========================================================= */
/* Kart, açılış bölümünün üzerine hafifçe biner */
.trust {
  position: relative; z-index: 2; margin-top: calc(-1 * var(--overlap));
  background: linear-gradient(180deg, transparent 0 var(--overlap), var(--bg-soft) var(--overlap));
}
.trust__card {
  display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 1px;
  background: var(--line); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 30px 60px -32px rgba(var(--ink-rgb), 0.35), 0 0 0 1px var(--line);
}
.trust__item { display: flex; align-items: flex-start; gap: 14px; padding: 28px 26px; background: #fff; }
.trust__icon {
  display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px;
  background: var(--primary-50); color: var(--primary);
}
.trust__icon .i { width: 22px; height: 22px; }
.trust__item h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.trust__item p { font-size: 0.9rem; line-height: 1.55; color: var(--muted); }

.section--after-trust { padding-top: clamp(64px, 7vw, 96px); }

/* =========================================================
   BÖLÜM GEÇİŞLERİ
   Açık bölümler birbirine yumuşak renk geçişiyle bağlanır;
   koyu bölümler hafif eğimli kenarlar ve ince bir marka çizgisiyle ayrılır.
   ========================================================= */
:root { --slant: clamp(28px, 4.5vw, 64px); --overlap: clamp(48px, 6vw, 80px); }

#surec { background: linear-gradient(180deg, var(--bg-soft) 0, #fff 240px); }
#sss { background: linear-gradient(180deg, #fff 0, var(--bg-soft) 240px); }
#iletisim { background: linear-gradient(180deg, var(--bg-soft) 0, #fff 240px); }

.section--slanted {
  clip-path: polygon(0 var(--slant), 100% 0, 100% calc(100% - var(--slant)), 0 100%);
  padding-top: calc(clamp(72px, 9vw, 120px) + var(--slant));
  padding-bottom: calc(clamp(72px, 9vw, 120px) + var(--slant));
}
.section--slanted::after,
.footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; z-index: 1; pointer-events: none;
  height: calc(var(--slant) + 3px);
  background: var(--brand-gradient);
  clip-path: polygon(0 var(--slant), 100% 0, 100% 3px, 0 calc(var(--slant) + 3px));
}

/* =========================================================
   HİZMETLER
   ========================================================= */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  padding: 32px 28px 28px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line);
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s, border-color .35s;
}
.service::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 3px;
  background: var(--brand-gradient);
  transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.2, .7, .2, 1);
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service:hover::before { transform: scaleX(1); }
.service__num { position: absolute; top: 28px; right: 28px; font-size: 0.85rem; font-weight: 800; letter-spacing: 0.05em; color: var(--border-strong); }
.service__icon {
  display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 22px; border-radius: 16px;
  background: var(--primary-50); color: var(--primary);
  transition: background-color .3s, color .3s;
}
.service__icon .i { width: 26px; height: 26px; }
.service:hover .service__icon { background: var(--primary); color: #fff; }
.service h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 10px; }
.service > p { font-size: 0.97rem; line-height: 1.65; color: var(--muted); }
.service ul { display: grid; gap: 10px; margin: 20px 0 24px; }
.service li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.93rem; line-height: 1.45; }
.service li .i { width: 18px; height: 18px; margin-top: 1px; stroke-width: 2.4; color: var(--accent-ink); }
.service__link {
  margin-top: auto; display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font-weight: 700; font-size: 0.95rem; color: var(--primary);
}
.service__link .i { width: 18px; height: 18px; transition: transform .2s; }
.service__link:hover .i { transform: translateX(4px); }

/* =========================================================
   SÜREÇ
   ========================================================= */
.process { position: relative; display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 28px; }
.process::before {
  content: ""; position: absolute; top: 31px; left: calc(50% / var(--n, 4)); right: calc(50% / var(--n, 4)); height: 2px;
  background: repeating-linear-gradient(90deg, var(--border-strong) 0 8px, transparent 8px 16px);
}
.step { position: relative; text-align: center; }
.step__num {
  position: relative; z-index: 1;
  display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 50%;
  background: #fff; border: 2px solid var(--primary); color: var(--primary);
  font-size: 1.1rem; font-weight: 800; box-shadow: 0 0 0 8px #fff;
  transition: background-color .3s, color .3s;
}
.step:hover .step__num { background: var(--primary); color: #fff; }
.step h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 0.95rem; line-height: 1.65; color: var(--muted); max-width: 260px; margin-inline: auto; }

/* =========================================================
   NEDEN BİZ
   ========================================================= */
#hakkimizda::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px circle at 0% 0%, rgba(var(--primary-rgb), 0.22), transparent 60%),
    radial-gradient(500px circle at 100% 100%, rgba(var(--cyan-rgb), 0.12), transparent 60%);
}
.why { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.why__intro .lead { margin-bottom: 28px; }
.mv { display: grid; gap: 12px; margin: 0 0 32px; }
.mv__item {
  padding: 18px 20px; border-radius: 14px;
  border: 1px solid var(--ink-line); border-left: 3px solid var(--accent); background: rgba(255, 255, 255, 0.03);
}
.mv dt { margin-bottom: 6px; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.mv dd { margin: 0; font-size: 0.97rem; line-height: 1.65; color: rgba(var(--ink-text-rgb), 0.88); }
.why__features-title { margin-bottom: 18px; font-size: 1.15rem; font-weight: 700; color: #fff; }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature {
  padding: 26px; border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--ink-line);
  transition: background-color .3s, border-color .3s, transform .35s;
}
.feature:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(var(--primary-rgb), 0.55); }
.feature__icon {
  display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 18px; border-radius: 13px;
  background: rgba(var(--accent-rgb), 0.12); color: var(--accent);
}
.feature__icon .i { width: 22px; height: 22px; }
.feature h3 { font-size: 1.06rem; font-weight: 700; margin-bottom: 8px; }
.feature p { font-size: 0.93rem; line-height: 1.65; color: var(--ink-text); }

/* =========================================================
   SEKTÖRLER + CTA
   ========================================================= */
.sectors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sector {
  display: flex; align-items: center; gap: 14px; padding: 20px;
  border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  transition: border-color .3s, box-shadow .3s, transform .35s;
}
.sector:hover { border-color: rgba(var(--primary-rgb), 0.4); box-shadow: var(--shadow); }
.sector__icon {
  display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px;
  background: var(--bg-soft); color: var(--primary);
}
.sector__icon .i { width: 23px; height: 23px; }
.sector strong { display: block; font-size: 0.98rem; line-height: 1.3; }
.sector div span { display: block; margin-top: 3px; font-size: 0.84rem; line-height: 1.4; color: var(--muted); }

.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  margin-top: clamp(56px, 7vw, 88px); padding: clamp(32px, 5vw, 56px);
  border-radius: 28px; color: #fff;
  background:
    radial-gradient(circle at 88% 10%, rgba(var(--cyan-rgb), 0.45), transparent 42%),
    linear-gradient(120deg, var(--brand-navy) 0%, var(--brand-blue) 40%, var(--primary) 72%, #1A8FD8 100%);
  box-shadow: 0 30px 60px -30px rgba(var(--primary-rgb), 0.7);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35;
  background-image: radial-gradient(rgba(255, 255, 255, 0.35) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000);
  mask-image: linear-gradient(90deg, transparent 30%, #000);
}
.cta-band__text { max-width: 600px; }
.cta-band:first-child { margin-top: 0; }
.cta-band h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 0 0 12px; }
.cta-band p { color: rgba(255, 255, 255, 0.85); line-height: 1.7; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }

/* =========================================================
   SSS
   ========================================================= */
.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.faq__intro { position: sticky; top: calc(var(--header-h) + 40px); }
.faq__intro .lead { margin-bottom: 28px; }
.faq__list { display: grid; gap: 12px; }
.faq__item {
  border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  transition: border-color .3s, box-shadow .3s;
}
.faq__item[open] { border-color: rgba(var(--primary-rgb), 0.35); box-shadow: var(--shadow); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 24px; cursor: pointer; list-style: none;
  font-weight: 700; font-size: 1.03rem; line-height: 1.45;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon {
  display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg-soft); color: var(--primary); transition: transform .3s, background-color .3s, color .3s;
}
.faq__icon .i { width: 18px; height: 18px; stroke-width: 2.2; }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--primary); color: #fff; }
.faq__item p { padding: 0 24px 22px; color: var(--muted); line-height: 1.7; }

/* =========================================================
   İLETİŞİM
   ========================================================= */
.contact { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 28px; align-items: stretch; }
.contact__info {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column;
  padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg);
  background: var(--ink); color: #fff;
}
.contact__info::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(420px circle at 100% 0%, rgba(var(--primary-rgb), 0.35), transparent 60%),
    radial-gradient(320px circle at 0% 100%, rgba(var(--cyan-rgb), 0.14), transparent 60%);
}
.contact__info h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: 8px; }
.contact__info > p { color: var(--ink-text); }
.info-list { margin: 24px 0 32px; }
.info-list li { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--ink-line); }
.info-list li:last-child { border-bottom: 0; }
.info-list__icon {
  display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 13px;
  background: rgba(255, 255, 255, 0.06); color: var(--accent);
}
.info-list small { display: block; font-size: 0.8rem; color: var(--ink-text); margin-bottom: 2px; }
.info-list a, .info-list span { font-weight: 600; overflow-wrap: anywhere; }
.info-list a:hover { color: var(--accent); }
.contact__urgent {
  display: flex; gap: 14px; align-items: flex-start; margin: auto 0 24px; padding: 18px 20px;
  border-radius: 14px; border: 1px solid rgba(var(--accent-rgb), 0.25); background: rgba(var(--accent-rgb), 0.07);
  font-size: 0.93rem; line-height: 1.6; color: var(--ink-text);
}
.contact__urgent .i { margin-top: 3px; color: var(--accent); }
.contact__urgent strong { color: #fff; }
.contact__info .btn { align-self: flex-start; }

.form {
  padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.9rem; font-weight: 600; }
.field label span { color: var(--primary); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--bg-soft);
  font-size: 0.97rem; transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23566377' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.field ::placeholder { color: var(--placeholder); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary); background-color: #fff;
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.12);
}
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--danger); background-color: var(--danger-50); }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.form__note { margin-top: 16px; font-size: 0.85rem; color: var(--muted); }
.form__status {
  display: none; margin-top: 16px; padding: 12px 16px; border-radius: 12px;
  background: rgba(var(--accent-rgb), 0.12); color: var(--accent-ink); font-size: 0.92rem; font-weight: 500;
}
.form__status.is-visible { display: block; }
.form__status.is-error { background: var(--danger-50); color: var(--danger-ink); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  position: relative; background: var(--ink); color: var(--ink-text);
  padding: calc(72px + var(--slant)) 0 28px;
  clip-path: polygon(0 var(--slant), 100% 0, 100% 100%, 0 100%);
}
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.25fr; gap: 40px; }
.footer__brand p { margin-top: 20px; max-width: 340px; font-size: 0.94rem; line-height: 1.7; }
.footer h4 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 18px; }
.footer ul { display: grid; gap: 11px; font-size: 0.94rem; }
.footer a { transition: color .2s; }
.footer a:hover { color: #fff; }
.footer__contact li { display: flex; align-items: flex-start; gap: 10px; }
.footer__contact .i { width: 18px; height: 18px; margin-top: 3px; color: var(--accent); }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--ink-line); font-size: 0.87rem;
}

/* Ekran okuyucular için görünmez metin; robot tuzağı alanı */
.sr-only, .form__trap {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.form button[type="submit"][disabled] { opacity: .7; cursor: progress; }

/* ---------- WhatsApp butonu ve sohbet kutusu ---------- */
.wa-widget { position: fixed; right: 20px; bottom: 20px; z-index: 45; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.wa-float {
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  box-shadow: 0 12px 28px -8px rgba(37, 211, 102, 0.65);
  transition: transform .25s;
}
.wa-float .i { width: 28px; height: 28px; stroke-width: 2; }
.wa-float:hover { transform: scale(1.07); }
.wa-float[aria-expanded="true"] { transform: rotate(-8deg) scale(.96); }

.wa-panel {
  width: min(340px, calc(100vw - 32px)); border-radius: 18px; overflow: hidden; background: #fff;
  box-shadow: 0 24px 60px -18px rgba(var(--ink-rgb), 0.45), 0 0 0 1px var(--line);
  transform-origin: bottom right; animation: wa-in .22s ease-out;
}
@keyframes wa-in { from { opacity: 0; transform: translateY(10px) scale(.97); } }
.wa-panel__head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: #075E54; color: #fff; }
.wa-panel__avatar { width: 40px; height: 40px; border-radius: 50%; background: #fff; object-fit: contain; padding: 3px; flex: none; }
.wa-panel__head div { flex: 1; min-width: 0; line-height: 1.3; }
.wa-panel__head strong { display: block; font-size: .98rem; }
.wa-panel__head span { display: block; font-size: .8rem; opacity: .85; }
.wa-panel__close { width: 32px; height: 32px; flex: none; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer; }
.wa-panel__close:hover { background: rgba(255, 255, 255, .22); }
.wa-panel__body { padding: 16px; background: #EFEAE2; max-height: 50vh; overflow-y: auto; }
.wa-panel__bubble {
  position: relative; max-width: 88%; padding: 10px 12px; border-radius: 0 12px 12px 12px;
  background: #fff; color: var(--text); font-size: .92rem; line-height: 1.5; box-shadow: 0 1px 1px rgba(0, 0, 0, .08);
}
.wa-panel__quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.wa-panel__quick button {
  padding: 7px 11px; border-radius: 999px; border: 1px solid #C9DCD6; background: #fff; color: #075E54;
  font-family: inherit; font-size: .82rem; font-weight: 600; cursor: pointer; transition: background-color .15s, border-color .15s;
}
.wa-panel__quick button:hover { background: #E7F7EF; border-color: #25D366; }
.wa-panel__form { display: flex; align-items: flex-end; gap: 8px; padding: 10px; background: #F0F2F5; }
.wa-panel__form textarea {
  flex: 1; min-height: 42px; max-height: 120px; padding: 10px 12px; border: 0; border-radius: 20px; resize: none;
  font-family: inherit; font-size: .92rem; line-height: 1.4; background: #fff; color: var(--text);
}
.wa-panel__form textarea:focus { outline: 2px solid #25D366; outline-offset: 0; }
.wa-panel__form button {
  display: grid; place-items: center; width: 42px; height: 42px; flex: none; border: 0; border-radius: 50%;
  background: #25D366; color: #fff; cursor: pointer;
}
.wa-panel__form button .i { width: 20px; height: 20px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .trust__card { grid-template-columns: repeat(2, 1fr); }
  .sectors { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 460px; width: 100%; margin-inline: auto; }
  .why, .faq, .contact { grid-template-columns: 1fr; }
  .faq__intro { position: static; }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .process::before { display: none; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .services, .trust__card, .features { grid-template-columns: 1fr; }
  .form__grid { grid-template-columns: 1fr; }
  .form__actions .btn { flex: 1 1 100%; }
  .cta-band__actions, .cta-band__actions .btn { width: 100%; }
  .service { padding: 28px 22px 24px; }
  .trust__item { padding: 22px; }
  .wa-widget { right: 16px; bottom: 16px; }
  .wa-float { width: 54px; height: 54px; }
}

@media (max-width: 520px) {
  .process { grid-template-columns: 1fr; row-gap: 0; }
  .process::before {
    display: block; top: 32px; bottom: 32px; left: 31px; right: auto; width: 2px; height: auto;
    background: repeating-linear-gradient(180deg, var(--border-strong) 0 8px, transparent 8px 16px);
  }
  .step { display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; text-align: left; padding-bottom: 32px; }
  .step:last-child { padding-bottom: 0; }
  .step__num { grid-row: span 2; margin: 0; }
  .step h3 { align-self: end; margin-top: 8px; }
  .step p { margin: 0; max-width: none; }
  .sectors { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}

/* =========================================================
   TELEFON (≤ 640 px)
   Üstte küçük şema, sabit açılış (kayan metin yok), Ara/WhatsApp,
   yana kaydırılan çözüm kartları ve aşağı inince beliren iletişim çubuğu.
   ========================================================= */
.hero-quick, .hero-areas, .m-bar { display: none; }

/* Yana kaydırılan şeritlerin konum noktaları (yalnızca telefonda görünür) */
.strip-dots { display: none; }
.strip-dots span { width: 6px; height: 6px; border-radius: 3px; background: var(--border-strong); transition: width .3s, background-color .3s; }
.strip-dots span.is-active { width: 20px; background: var(--primary); }

@media (max-width: 640px) {
  .hero { padding-top: calc(var(--header-h) + 10px); padding-bottom: calc(40px + var(--overlap)); }
  /* Sütun ekran genişliğini aşmasın (yana kaydırılan kart şeridi sütunu genişletmesin) */
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .hero__content, .hero__visual, .hero-slider { min-width: 0; }

  /* Şema: başlığın üstünde küçük marka görseli; kutuya dokununca ilgili çözüm kartı öne gelir */
  .hero__visual { order: -1; max-width: none; }
  .hub { width: min(100%, 268px); }
  .hub__node {
    min-width: 72px; padding: 7px 6px 6px; gap: 4px; border-radius: 12px;
    font-size: 0.64rem; box-shadow: 0 10px 22px -14px rgba(var(--ink-rgb), 0.4);
  }
  .hub__icon { --s: 26px; border-radius: 8px; }
  .hub-hint { display: none; }

  /* Sabit açılış: yalnızca ilk slayt; sekmeler ve slayt butonları gizlenir */
  .hero-tabs, .hero-slide:not(:first-child), .hero-slide .hero__actions { display: none; }
  .hero-slide:first-child { visibility: visible; opacity: 1; }
  .hero-slide:first-child > * { opacity: 1; transform: none; }
  .hero-slide .pill { margin-bottom: 14px; padding: 6px 13px 6px 10px; font-size: 0.78rem; }
  .hero__title { font-size: 1.9rem; line-height: 1.15; }
  .hero__lead { margin-top: 12px; font-size: 0.97rem; line-height: 1.65; }

  /* Doğrudan arama ve WhatsApp */
  .hero-quick { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; margin-top: 22px; }
  .hero-quick .btn { padding: 14px 10px; font-size: 0.97rem; }
  .hero-quick__wa { background: #fff; color: #0B6B37; border-color: #25D366; box-shadow: 0 10px 22px -16px rgba(37, 211, 102, 0.8); }
  .hero-quick__wa .i { color: #25D366; }

  /* Onay maddeleri: kısa liste */
  .hero__checks { display: grid; gap: 7px; margin-top: 18px; font-size: 0.86rem; }
  .hero__checks .i { width: 16px; height: 16px; }

  /* Çözüm kartları: öne gelen kart ve şemadaki kutuları birlikte vurgulanır */
  .hero-areas { display: block; margin-top: 30px; }
  .hero-areas__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
  .hero-areas__head h2 { font-size: 1.05rem; letter-spacing: -0.01em; }
  .hero-areas__head span { flex: none; font-size: 0.8rem; color: var(--muted); }
  .hero-areas__track {
    position: relative; display: flex; gap: 12px; margin: 0 -16px; padding: 4px 16px 14px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
    scroll-margin-bottom: 96px; /* alttaki çubuğun arkasında kalmasın */
  }
  .hero-areas__track::-webkit-scrollbar { display: none; }
  .hero-area {
    position: relative; overflow: hidden; flex: 0 0 76%; scroll-snap-align: start;
    display: flex; flex-direction: column; padding: 18px 16px 14px; border-radius: 18px;
    background: #fff; border: 1px solid var(--line);
    box-shadow: 0 12px 26px -20px rgba(var(--ink-rgb), 0.5);
    transition: border-color .3s, box-shadow .3s;
  }
  .hero-area::before {
    content: ""; position: absolute; inset: 0 0 auto; height: 3px;
    background: var(--brand-gradient); opacity: 0.3; transition: opacity .3s;
  }
  .hero-area.is-active { border-color: rgba(var(--primary-rgb), 0.3); box-shadow: 0 16px 30px -20px rgba(var(--primary-rgb), 0.55); }
  .hero-area.is-active::before { opacity: 1; }
  .hero-area__icons { display: flex; gap: 6px; margin-bottom: 12px; }
  .hero-area__icons span {
    display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px;
    background: var(--primary-50); color: var(--primary); transition: background-color .3s, color .3s;
  }
  .hero-area.is-active .hero-area__icons span { background: var(--primary); color: #fff; }
  .hero-area__icons .i { width: 20px; height: 20px; }
  .hero-area h3 { font-size: 1rem; margin-bottom: 4px; }
  .hero-area p { flex: 1; font-size: 0.86rem; line-height: 1.5; color: var(--muted); }
  .hero-area__link { margin-top: 12px; font-size: 0.86rem; font-weight: 700; color: var(--primary); }

  /* Hizmet kartları: alt alta 9 kart yerine yana kaydırılabilir şerit */
  .services {
    position: relative; display: flex; gap: 14px; margin: 0 -16px; padding: 6px 16px 18px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .services::-webkit-scrollbar { display: none; }
  .service { flex: 0 0 86%; scroll-snap-align: start; }
  .service:hover { transform: none; }
  .js .services .reveal { opacity: 1; animation: none; }
  .strip-dots { display: flex; justify-content: center; gap: 6px; margin-top: 2px; }

  /* Alttaki iletişim çubuğu */
  .m-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 44;
    display: flex; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: #fff; border-top: 1px solid var(--line);
    box-shadow: 0 -12px 30px -22px rgba(var(--ink-rgb), 0.6);
    transform: translateY(110%); visibility: hidden;
    transition: transform .3s ease, visibility 0s linear .3s;
  }
  .m-bar.is-shown { transform: none; visibility: visible; transition: transform .3s ease, visibility 0s; }
  .m-bar a {
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    min-height: 52px; padding: 6px 4px; border-radius: 12px;
    font-size: 0.74rem; font-weight: 700; color: var(--text-2);
  }
  .m-bar a:active { background: var(--bg-soft); }
  .m-bar .i { width: 21px; height: 21px; }
  .m-bar__wa .i { color: #25D366; }
  .m-bar .m-bar__cta {
    flex: 1.4; flex-direction: row; gap: 8px; background: var(--primary); color: #fff; font-size: 0.9rem;
    box-shadow: 0 10px 22px -12px rgba(var(--primary-rgb), 0.8);
  }
  .m-bar .m-bar__cta:active { background: var(--primary-600); }
  .m-bar__cta .i { width: 18px; height: 18px; }

  /* Çubuk varken yuvarlak WhatsApp butonu gizlenir; sohbet kutusu çubuktaki ve açılıştaki butondan açılır */
  .has-mbar .wa-float { display: none; }
  .has-mbar .wa-widget { left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); align-items: stretch; }
  .has-mbar.m-bar-on .wa-widget { bottom: calc(80px + env(safe-area-inset-bottom)); }
  .has-mbar .wa-panel { width: auto; transform-origin: bottom center; }
  .has-mbar .footer { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide:not(.is-active) > *, .hero-slide.is-leaving > * { transform: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}
