/* ============================================================
   Servixo marketing sitesi — global stiller
   Mobil öncelikli. Tasarım belirteçleri :root içinde.
   ============================================================ */

:root {
  /* Renkler */
  --navy: #10263f;
  --navy-800: #16324f;
  --blue: #1b54b8;
  --blue-dark: #143f8c;
  --blue-tint: #e8effb;
  --amber: #b56a00;
  --amber-bg: #fdf3e2;
  --green: #17804c;
  --green-bg: #e6f4ec;
  --red: #b23a3a;
  --red-bg: #fbeaea;
  --wa: #1fa855;
  --wa-dark: #178a45;
  --bg: #f6f8fb;
  --surface: #ffffff;
  --border: #d9e0e8;
  --ink: #17222e;
  --ink-2: #46586b;

  /* Tipografi */
  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  /* Biçim */
  --r-btn: 6px;
  --r-card: 8px;
  --shadow: 0 1px 2px rgba(16, 38, 63, 0.08);
  --container: 1120px;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
  display: inline-block;
  vertical-align: middle;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 0.5em;
  overflow-wrap: break-word;
}

h1 { font-size: clamp(1.9rem, 5.5vw, 3rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); letter-spacing: -0.01em; }
h3 { font-size: 1.1rem; }

p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }

a { color: var(--blue); }
a:hover { color: var(--blue-dark); }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 2px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.mono { font-family: var(--font-mono); font-size: 0.92em; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--navy);
  color: #fff;
  padding: 8px 14px;
  border-radius: var(--r-btn);
  z-index: 100;
}
.skip-link:focus { left: 8px; color: #fff; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 12px 22px;
  border-radius: var(--r-btn);
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  min-height: 46px;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-dark); color: #fff; }

.btn--secondary {
  background: var(--surface);
  color: var(--blue);
  border-color: var(--blue);
}
.btn--secondary:hover { background: var(--blue-tint); color: var(--blue-dark); }

.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); }

.btn--whatsapp { background: var(--wa); color: #fff; }
.btn--whatsapp:hover { background: var(--wa-dark); color: #fff; }

.btn--wide { width: 100%; }
.btn--on-dark { background: #fff; color: var(--navy); }
.btn--on-dark:hover { background: var(--blue-tint); color: var(--navy); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Üst menü ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.site-header__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand__mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--r-btn);
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.brand--light .brand__name { color: #fff; }
.brand--light .brand__mark { background: #fff; color: var(--navy); }

.site-nav {
  display: none;
}

.site-nav a:not(.btn) {
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 4px;
}
.site-nav a:not(.btn):hover,
.site-nav a[aria-current="page"]:not(.btn) {
  color: var(--navy);
}
.site-nav a[aria-current="page"]:not(.btn) {
  font-weight: 600;
  box-shadow: inset 0 -2px 0 var(--blue);
}

.site-nav__actions {
  display: flex;
  gap: 10px;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--r-btn);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 1px;
}

/* Mobil menü açık */
.site-nav.is-open {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 16px 20px 20px;
  box-shadow: 0 8px 16px rgba(16, 38, 63, 0.08);
}
.site-nav.is-open a:not(.btn) { padding: 10px 4px; }
.site-nav.is-open .site-nav__actions {
  flex-direction: column;
  margin-top: 8px;
}
.site-nav.is-open .site-nav__actions .btn {
  width: 100%;
  justify-content: center;
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: flex;
    align-items: center;
    gap: 26px;
  }
  .site-nav__actions { margin-left: 8px; }
}

/* Ürün önizleme kartları */
.mockup-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue);
  border-radius: var(--r-card);
  padding: 14px 16px;
  box-shadow: var(--shadow);
}

.mockup-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.mockup-card__label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-2);
}

.mockup-card__title {
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--navy);
}

.mockup-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--ink-2);
  margin: 0;
}

/* ---------- Plaka çipi ---------- */
.plate {
  display: inline-flex;
  align-items: stretch;
  border: 1.5px solid var(--navy);
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  line-height: 1;
}
.plate__band {
  background: #1a3fa3;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.55rem;
  display: grid;
  place-items: end center;
  padding: 3px 3px 2px;
}
.plate__no {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.88rem;
  padding: 4px 8px;
  color: var(--navy);
  letter-spacing: 0.04em;
}

/* ---------- Durum çipleri ---------- */
.chip {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.76rem;
  padding: 3px 10px;
  border-radius: 4px;
  white-space: nowrap;
}
.chip--amber { background: var(--amber-bg); color: var(--amber); }
.chip--green { background: var(--green-bg); color: var(--green); }
.chip--red { background: var(--red-bg); color: var(--red); }
.chip--blue { background: var(--blue-tint); color: var(--blue); }

/* ---------- Form ---------- */
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 24px 20px;
  box-shadow: var(--shadow);
}

.form-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .form-grid { grid-template-columns: repeat(2, 1fr); }
  .form-field--full { grid-column: 1 / -1; }
}

.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.94rem;
  margin-bottom: 6px;
  color: var(--navy);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-btn);
  padding: 11px 12px;
}
.form-field input[type="checkbox"] {
  width: auto;
  min-width: 1.1rem;
  height: 1.1rem;
  margin: 0.15em 0 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  accent-color: var(--blue);
  flex: 0 0 auto;
  cursor: pointer;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-tint);
}
.form-field input[type="checkbox"]:focus {
  box-shadow: 0 0 0 3px var(--blue-tint);
  border-color: transparent;
}
.form-field input.is-invalid,
.form-field select.is-invalid {
  border-color: var(--red);
}

.contact-form .btn { margin-top: 20px; }
.form-note {
  margin: 12px 0 0;
  font-size: 0.88rem;
  color: var(--ink-2);
  text-align: center;
}
.form-error {
  color: var(--red);
  font-weight: 500;
  margin: 14px 0 0;
}

.form-success {
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--green-bg);
  border: 1px solid var(--green);
  border-radius: var(--r-card);
  padding: 20px;
  color: var(--green);
}
/* display:flex above must not override the hidden attribute */
.form-success[hidden] {
  display: none !important;
}
.form-success p { margin: 0; color: var(--ink); }
.lead-panel[data-form-state="success"] .lead-form {
  display: none;
}
.lead-panel[data-form-state="success"] .form-success {
  display: flex;
}
.lead-panel[data-form-state="success"] .form-success[hidden] {
  display: none !important;
}

/* ---------- İçerik sayfaları (KVKK, şartlar vs.) ---------- */
.prose {
  max-width: 760px;
}
.prose h2 { font-size: 1.35rem; margin-top: 1.8em; }
.prose h2:first-of-type { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); }
.prose strong { color: var(--ink); }

.notice {
  background: var(--amber-bg);
  border: 1px solid var(--amber);
  border-radius: var(--r-card);
  padding: 14px 16px;
  color: var(--amber);
  font-weight: 500;
  margin-bottom: 28px;
}


/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: #c7d3e0;
  margin-top: 0;
}
.site-footer__grid {
  display: grid;
  gap: 32px;
  padding-block: 48px 32px;
  grid-template-columns: 1fr;
}
.footer-brand p { font-size: 0.94rem; max-width: 30rem; margin-block: 14px 18px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col h3 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.footer-col a {
  color: #c7d3e0;
  text-decoration: none;
  font-size: 0.96rem;
}
.footer-col a:hover { color: #fff; text-decoration: underline; }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid var(--navy-800);
  padding-block: 18px;
  font-size: 0.88rem;
}
.site-footer__bottom p { margin: 0; }
.site-footer__bottom a { color: #c7d3e0; }
.site-footer__bottom a:hover { color: #fff; }
.footer-whatsapp-link { color: #c7d3e0; text-decoration: none; }
.footer-whatsapp-link:hover { color: #fff; text-decoration: underline; }

.contact-channels {
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.contact-channels__label {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

@media (min-width: 720px) {
  .site-footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 24px;
  }
}

/* ---------- Hareket azaltma ---------- */
@media (prefers-reduced-motion: reduce) {
  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ============================================================
   ANA SAYFA SAHNELERİ — kaos → düzen (yaratıcı yeniden tasarım)
   ============================================================ */

:root {
  --orange: #c2650a;
  --orange-bg: #fdeedd;
  --chaos-ink: #6b7480;
  --chaos-paper: #f1efe9;
  --font-hand: "Caveat", cursive;
}

.chip--orange { background: var(--orange-bg); color: var(--orange); }

/* ---------- SAHNE 1 — HERO ---------- */

.hero-x {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding-block: 52px 40px;
}

.hero-x__grid {
  display: grid;
  gap: 44px;
}

.hero-x__title {
  font-weight: 800;
  font-size: clamp(2.1rem, 7vw, 3.6rem);
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-bottom: 0.4em;
  display: flex;
  flex-direction: column;
  gap: 0.18em;
}

.hero-x__plateline {
  display: flex;
  align-items: center;
  gap: 0.28em;
  flex-wrap: wrap;
}

/* Başlığın içindeki plaka — merkez metafor */
.hero-x__plateline .plate {
  border-width: 2.5px;
  border-radius: 8px;
  box-shadow: 0 3px 0 rgba(16, 38, 63, 0.18);
  transform: rotate(-1.5deg);
}
.hero-x__plateline .plate__no {
  font-size: clamp(1.45rem, 4.8vw, 2.5rem);
  padding: 0.22em 0.42em;
  letter-spacing: 0.05em;
}
.hero-x__plateline .plate__band {
  font-size: clamp(0.6rem, 1.6vw, 0.95rem);
  padding: 5px 5px 4px;
}

.hero-x__accent { color: var(--blue); }

.hero-x__sub {
  color: var(--ink-2);
  font-size: 1.05rem;
  max-width: 30rem;
  margin-bottom: 1.6em;
}

/* Sahne alanı: solda soluk kaos, önde net telefon */
.hero-x__stage {
  position: relative;
  min-height: 460px;
  display: grid;
  place-items: center;
}

.hero-x__glow {
  position: absolute;
  inset: 10% 5%;
  background: radial-gradient(closest-side, rgba(27, 84, 184, 0.14), transparent 70%);
  filter: blur(6px);
}

.hero-x__chaos {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-x__chaos .scrap {
  position: absolute;
  opacity: 0.55;
  filter: grayscale(0.7);
}
.hero-x__chaos .scrap--bubble { top: 4%; left: 0; transform: rotate(-7deg); max-width: 175px; }
.hero-x__chaos .scrap--agenda { bottom: 6%; right: 0; transform: rotate(5deg); }

/* ---------- Telefon çerçevesi ---------- */

.phone {
  position: relative;
  width: min(320px, 88vw);
  background: var(--navy);
  border-radius: 30px;
  padding: 12px;
  box-shadow:
    0 24px 48px -16px rgba(16, 38, 63, 0.35),
    0 4px 12px rgba(16, 38, 63, 0.15);
  transform: rotate(1.2deg);
}
.phone::before {
  /* hoparlör çentiği */
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 18px;
  background: var(--navy);
  border-radius: 0 0 10px 10px;
  z-index: 2;
}
.phone__screen {
  background: var(--bg);
  border-radius: 20px;
  padding: 34px 0 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.phone__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 12px 12px;
}
.phone__search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1.5px solid var(--blue);
  border-radius: 8px;
  padding: 9px 12px;
  color: var(--blue);
  font-weight: 600;
  box-shadow: 0 0 0 3px var(--blue-tint);
}
.phone__found {
  margin: -2px 2px 0;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.phone__cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.phone__cards .mockup-card {
  padding: 11px 12px;
  /* Neutral all-side border: override shared .mockup-card blue left accent. */
  border: 1px solid var(--border);
}
.phone__cards .mockup-card__title { font-size: 0.92rem; }
.phone__cards .mockup-card--pop {
  box-shadow: 0 6px 16px -6px rgba(16, 38, 63, 0.18);
}
.phone__service .mockup-card__label {
  letter-spacing: 0.08em;
}
.phone__photos {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}
.phone__photos-label {
  color: var(--ink-2);
  font-size: 0.76rem;
  font-weight: 600;
}
.phone__photos-status {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 600;
}

/* Hero-only decorative replica of app BottomNavigation (OWNER). */
.phone__bnav {
  margin-top: 4px;
  pointer-events: none;
  user-select: none;
}
.phone__bnav-shell {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: flex-end;
  gap: 0;
  min-height: 54px;
  padding: 4px 2px 7px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  box-shadow: 0 -4px 14px -10px rgba(16, 38, 63, 0.28);
}
.phone__bnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  min-width: 0;
  padding: 2px 1px;
  color: #7a8798;
}
.phone__bnav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  min-height: 22px;
}
.phone__bnav-label {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.58rem;
  font-weight: 600;
  line-height: 1.15;
}
.phone__bnav-item--center {
  gap: 4px;
  justify-content: flex-start;
  margin-top: -14px;
  color: var(--blue);
}
.phone__bnav-item--center .phone__bnav-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  border-radius: 999px;
  background: var(--blue);
  border: 2.5px solid var(--surface);
  color: #fff;
  box-shadow:
    0 6px 14px rgba(27, 84, 184, 0.28),
    0 1px 4px rgba(16, 38, 63, 0.12);
}
.phone__bnav-item--center .phone__bnav-label {
  color: var(--blue);
  font-weight: 700;
}
.phone__bnav-item--center.is-active .phone__bnav-icon {
  background: var(--blue-dark);
}
.phone__bnav-item--center.is-active .phone__bnav-label {
  color: var(--blue-dark);
}
.phone__bnav-item.is-active:not(.phone__bnav-item--center) {
  color: var(--blue);
}
.phone__bnav-item.is-active:not(.phone__bnav-item--center) .phone__bnav-label {
  font-weight: 700;
}

@media (min-width: 900px) {
  .hero-x { padding-block: 84px 64px; }
  .hero-x__grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 24px;
  }
  .hero-x__stage { min-height: 540px; }
  .hero-x__chaos .scrap--bubble { top: 10%; left: -4%; }
  .hero-x__chaos .scrap--agenda { bottom: 10%; right: -2%; }
}

/* ---------- Kaos parçaları (scrap) ---------- */

.scrap {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  max-width: 230px;
  font-family: var(--font-hand);
  font-size: 1.15rem;
  line-height: 1.25;
  color: var(--chaos-ink);
}

.scrap--note {
  background:
    repeating-linear-gradient(transparent 0 22px, rgba(107, 116, 128, 0.16) 22px 23px),
    var(--chaos-paper);
  border: 1px solid #ddd9cd;
  border-radius: 2px;
  box-shadow: 2px 3px 8px rgba(16, 38, 63, 0.1);
  clip-path: polygon(0 2%, 97% 0, 100% 96%, 3% 100%);
}

.scrap--agenda {
  background: #fbfaf6;
  border: 1px solid #ddd9cd;
  border-top: 6px solid #cf5757;
  border-radius: 3px;
  box-shadow: 2px 3px 8px rgba(16, 38, 63, 0.1);
}
.scrap__date {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: #cf5757;
}

.scrap--bubble {
  background: #e9efe7;
  border: 1px solid #d3ddd0;
  border-radius: 12px 12px 12px 3px;
  box-shadow: 1px 2px 6px rgba(16, 38, 63, 0.08);
}
.scrap--bubble .scrap__meta {
  font-family: var(--font-body);
  font-size: 0.68rem;
  color: #97a29b;
  align-self: flex-end;
}

.scrap__line { display: block; }
.scrap__line--struck { text-decoration: line-through; text-decoration-thickness: 2px; }

/* ---------- Sahne iskeleti ---------- */

.scene { padding-block: 64px; }

.scene-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 7vw, 3.2rem);
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 28px;
}
.scene-word--muted { color: #9aa6b3; }

/* ---------- SAHNE 2 — KAYIP AN ---------- */

.scene--lost {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(107, 116, 128, 0.07), transparent 60%),
    var(--bg);
}

.chaos-board {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  align-items: flex-start;
  max-width: 900px;
}
.chaos-board .scrap { filter: grayscale(0.45); }
.chaos-board .scrap:nth-child(1) { transform: rotate(-4deg); }
.chaos-board .scrap:nth-child(2) { transform: rotate(3deg) translateY(18px); z-index: 1; }
.chaos-board .scrap:nth-child(3) { transform: rotate(-2deg) translateY(-6px); margin-left: -18px; }
.chaos-board .scrap:nth-child(4) { transform: rotate(6deg) translateY(24px); margin-left: -14px; }
.chaos-board .scrap:nth-child(5) { transform: rotate(-5deg) translateY(6px); }

@media (min-width: 900px) {
  .chaos-board {
    max-width: none;
    justify-content: space-between;
  }
  .chaos-board .scrap:nth-child(2) { transform: rotate(3deg) translateY(34px); }
  .chaos-board .scrap:nth-child(3) { transform: rotate(-2deg) translateY(-10px); margin-left: 0; }
  .chaos-board .scrap:nth-child(4) { transform: rotate(6deg) translateY(40px); margin-left: 0; }
}

/* ---------- SAHNE 3 — HAZIR AN (iş akışı rayı + askılı fişler) ---------- */

.scene--ready {
  background: var(--surface);
  border-block: 1px solid var(--border);
  overflow: hidden;
}

.jobline {
  position: relative;
  display: grid;
  gap: 22px;
  padding-left: 30px;
}

/* İş akışı rayı: metal profil hissi */
.jobline__rail {
  position: absolute;
  left: 6px;
  top: 6px;
  bottom: 18px;
  width: 6px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--navy) 0%, var(--blue) 70%, var(--green) 100%);
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.35), 1px 0 2px rgba(16, 38, 63, 0.25);
}
.jobline__rail::before,
.jobline__rail::after {
  content: "";
  position: absolute;
  left: -3px;
  width: 12px;
  height: 6px;
  background: var(--navy);
  border-radius: 1px;
}
.jobline__rail::before { top: -6px; }
.jobline__rail::after { bottom: -6px; background: var(--green); }

/* Askılı iş fişi kartı */
.jobcard {
  position: relative;
  background: var(--surface);
  border: 1.5px solid #c8d2dd;
  border-radius: 5px;
  padding: 15px 16px 13px;
  max-width: 470px;
  box-shadow:
    0 1px 0 rgba(16, 38, 63, 0.06),
    0 10px 18px -12px rgba(16, 38, 63, 0.35);
}
/* Delgeç deliği (fiş askısı) */
.jobcard::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -8px;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-radius: 50%;
  background: var(--bg);
  border: 2.5px solid #aeb9c6;
  box-shadow: inset 0 1px 1px rgba(16, 38, 63, 0.2);
  z-index: 1;
}
/* Askı kolu: delikten raya */
.jobcard::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -24px;
  width: 18px;
  height: 2px;
  margin-top: -1px;
  background: #aeb9c6;
}

.jobcard--1 { transform: rotate(-0.7deg); }
.jobcard--2 { transform: rotate(0.5deg) translateX(10px); }
.jobcard--3 { transform: rotate(-0.4deg) translateX(4px); }
.jobcard--4 { transform: rotate(0.8deg) translateX(14px); }
.jobcard--done { border-color: var(--green); }
.jobcard--done::before { border-color: var(--green); }

.jobcard__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.jobcard__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-2);
}
.jobcard__title {
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--navy);
}
.jobcard__meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--ink-2);
  margin: 0;
}

@media (min-width: 960px) {
  .jobline {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding-left: 0;
    padding-top: 42px;
  }
  .jobline__rail {
    left: 10px;
    right: 10px;
    top: 8px;
    bottom: auto;
    width: auto;
    height: 6px;
    background: linear-gradient(90deg, var(--navy) 0%, var(--blue) 70%, var(--green) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 1px 2px rgba(16, 38, 63, 0.25);
  }
  .jobline__rail::before,
  .jobline__rail::after {
    width: 6px;
    height: 12px;
    top: -3px;
  }
  .jobline__rail::before { left: -6px; }
  .jobline__rail::after { left: auto; right: -6px; }

  .jobcard { max-width: none; }
  /* Delik üstte, askı kolu raya uzanır */
  .jobcard::before {
    top: -8px;
    left: 22px;
    margin-top: 0;
  }
  .jobcard::after {
    top: auto;
    left: 26px;
    margin-top: 0;
    width: 2px;
  }
  .jobcard--1 { transform: rotate(-1deg); }
  .jobcard--1::after { top: -32px; height: 26px; }
  .jobcard--2 { transform: rotate(0.6deg) translateY(26px); }
  .jobcard--2::after { top: -58px; height: 52px; }
  .jobcard--3 { transform: rotate(-0.5deg) translateY(8px); }
  .jobcard--3::after { top: -40px; height: 34px; }
  .jobcard--4 { transform: rotate(1deg) translateY(34px); }
  .jobcard--4::after { top: -66px; height: 60px; }
}

/* ---------- SAHNE 4 — DÜKKAN DİLİ (iş emri fişi) ---------- */

.scene--lang { background: var(--bg); overflow: hidden; }

.workslip {
  position: relative;
  max-width: 640px;
  background: var(--surface);
  border: 1.5px solid #c8d2dd;
  border-bottom: none;
  border-radius: 5px 5px 0 0;
  box-shadow: 0 14px 24px -14px rgba(16, 38, 63, 0.35);
  transform: rotate(-0.6deg);
}
/* Yırtık fiş alt kenarı */
.workslip::after {
  content: "";
  display: block;
  height: 10px;
  background:
    linear-gradient(-45deg, transparent 7px, var(--surface) 0) 0 0 / 14px 100%,
    linear-gradient(45deg, transparent 7px, #c8d2dd 0) 0 0 / 14px 100%;
  filter: drop-shadow(0 2px 1px rgba(16, 38, 63, 0.08));
}

.workslip__head {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--navy);
  color: #fff;
  padding: 12px 18px;
  border-radius: 3px 3px 0 0;
}
.workslip__tag {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.workslip__head .plate { border-color: #fff; }
.workslip__no { margin-left: auto; color: #8fa3ba; font-size: 0.9rem; }

.workslip__body { padding: 20px 18px 16px; }

.workslip__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding-block: 6px;
}
.workslip__key {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-2);
  flex-shrink: 0;
}
.workslip__val {
  font-size: clamp(1.6rem, 5.5vw, 2.4rem);
  color: var(--navy);
  line-height: 1;
}
.workslip__val em { font-style: normal; font-size: 0.5em; color: var(--ink-2); }
.workslip__val--amount { color: var(--green); }

.workslip__cut {
  border-top: 2px dashed #c8d2dd;
  margin-block: 12px;
  position: relative;
}
/* Kesim yanlarındaki yarım delikler */
.workslip__cut::before,
.workslip__cut::after {
  content: "";
  position: absolute;
  top: -7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid #c8d2dd;
}
.workslip__cut::before { left: -25px; }
.workslip__cut::after { right: -25px; }

.workslip__state {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-block: 7px;
}

/* Durum rayı: soluk → aktif akış */
.statetrack {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}
.statetrack i {
  width: 12px;
  height: 2px;
  background: #c8d2dd;
  flex-shrink: 0;
}
.statetrack .chip { border: 1px solid transparent; }
/* Akışta geride/ileride kalan durumlar soluk, güncel durum net */
.statetrack .chip:not(.statetrack__active) { opacity: 0.38; filter: saturate(0.6); }
.statetrack .chip--blue,
.statetrack--pay .chip--green {
  opacity: 1 !important;
  filter: none !important;
  box-shadow: 0 0 0 3px var(--blue-tint);
}
.statetrack--pay .chip--green { box-shadow: 0 0 0 3px var(--green-bg); }
.statetrack--pay .chip--blue { opacity: 0.38 !important; }

@media (min-width: 720px) {
  .workslip__state { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* Raf etiketleri */
.shelf-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 10px;
  padding: 0;
  margin: 34px 0 0 8px;
}
.shelf-tag {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: var(--surface);
  border: 1.5px solid #c8d2dd;
  border-radius: 3px;
  padding: 8px 14px 8px 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy);
  box-shadow: 0 4px 8px -5px rgba(16, 38, 63, 0.3);
}
/* Etiket deliği */
.shelf-tag::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid #aeb9c6;
}
.shelf-tag:nth-child(1) { transform: rotate(-1.6deg); }
.shelf-tag:nth-child(2) { transform: rotate(1deg) translateY(3px); }
.shelf-tag:nth-child(3) { transform: rotate(-0.6deg); }
.shelf-tag:nth-child(4) { transform: rotate(1.4deg) translateY(2px); }

/* ---------- SAHNE 5 — GÜVEN (sessiz kasa paneli) ---------- */

.scene--trust {
  background: var(--surface);
  border-block: 1px solid var(--border);
  padding-block: 48px;
}

.vault {
  position: relative;
  display: grid;
  gap: 26px;
  border: 1.5px solid var(--navy);
  border-radius: 5px;
  padding: 26px 22px 30px;
  background:
    linear-gradient(180deg, rgba(16, 38, 63, 0.03), transparent 40%),
    var(--surface);
}
/* Panel köşe vidaları */
.vault::before,
.vault::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c8d2dd;
  box-shadow: inset 0 1px 1px rgba(16, 38, 63, 0.4);
}
.vault::before { top: 8px; left: 8px; }
.vault::after { top: 8px; right: 8px; }

.vault__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.vault__item p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
}
.vault__pict {
  width: 76px;
  height: 44px;
  color: var(--navy);
}

.urlchip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  background: var(--bg);
  border: 1.5px solid #c8d2dd;
  border-radius: 99px;
  padding: 8px 14px;
  color: var(--ink-2);
  font-size: 0.82rem;
  margin-block: 5px 4px;
}
.urlchip svg { color: var(--green); flex-shrink: 0; }

.vault__more {
  position: absolute;
  right: 18px;
  bottom: 12px;
  font-size: 0.88rem;
  text-decoration: none;
}
.vault__more:hover { text-decoration: underline; }

@media (min-width: 900px) {
  .vault {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 30px 26px 40px;
  }
  .vault__item { padding-right: 18px; }
  .vault__item + .vault__item {
    border-left: 1px solid var(--border);
    padding-left: 20px;
  }
}
@media (max-width: 899px) {
  .vault { grid-template-columns: repeat(2, 1fr); padding-bottom: 44px; }
  .urlchip { font-size: 0.72rem; padding: 7px 10px; }
}

/* ---------- SAHNE 6 — KARAR (kapanış sahnesi) ---------- */

.decide {
  position: relative;
  background:
    radial-gradient(ellipse at 75% -30%, rgba(27, 84, 184, 0.5), transparent 62%),
    var(--navy);
  padding-block: 76px;
  overflow: hidden;
}

/* Marka imzası filigranı */
.decide__watermark {
  position: absolute;
  right: -30px;
  bottom: -26px;
  font-size: clamp(5rem, 16vw, 11rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.07);
  white-space: nowrap;
  pointer-events: none;
  line-height: 1;
}

.decide__grid {
  position: relative;
  display: grid;
  gap: 40px;
  align-items: center;
}

.decide__word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 12vw, 5.5rem);
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 26px;
  line-height: 1;
}
.decide__micro {
  margin: 24px 0 0;
  color: #8fa3ba;
  font-size: 0.88rem;
}

/* Kapanış fişi: hero'daki araç ödendi, hikâye kapandı */
.decide__slip {
  justify-self: start;
  background: var(--surface);
  border-radius: 5px 5px 0 0;
  padding: 14px 16px 10px;
  min-width: 240px;
  transform: rotate(2deg);
  box-shadow: 0 18px 32px -14px rgba(0, 0, 0, 0.55);
  position: relative;
}
.decide__slip::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 10px;
  background: linear-gradient(-45deg, transparent 7px, var(--surface) 0) 0 0 / 14px 100%;
}
.decide__slip-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.decide__slip-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink-2);
  font-size: 0.9rem;
  border-top: 2px dashed var(--border);
  padding-top: 8px;
}

@media (min-width: 860px) {
  .decide__grid { grid-template-columns: 1.2fr 0.8fr; }
  .decide__slip { justify-self: center; transform: rotate(2.5deg) translateY(-8px); }
}

/* ============================================================
   İKİNCİL SAYFALAR — sanat yönetimi (ana sayfa bu blokları KULLANMAZ)
   ============================================================ */

/* ---------- Sayfa iskeleti ---------- */
.section { padding-block: 56px; }
.lead { color: var(--ink-2); font-size: 1.02rem; }

/* ---------- Navbar varyantı (yalnız iç sayfalar: .site-header--x) ---------- */
.site-header--x {
  border-bottom: none;
  box-shadow: 0 1px 0 var(--border), 0 6px 14px -12px rgba(16, 38, 63, 0.25);
}
.site-header--x .site-nav a:not(.btn) {
  font-size: 0.95rem;
  padding: 7px 12px;
  border: 1.5px solid transparent;
  border-radius: 4px;
}
.site-header--x .site-nav a[aria-current="page"]:not(.btn) {
  color: var(--navy);
  border-color: var(--navy);
  background: var(--surface);
  box-shadow: 0 2px 0 var(--blue);
}
@media (min-width: 900px) {
  .site-header--x .site-nav { gap: 10px; }
  .site-header--x .site-nav__actions { margin-left: 18px; }
}

/* ---------- PageHero ---------- */
.page-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding-block: 46px 42px;
  overflow: hidden;
}
.page-hero--quiet { padding-block: 36px 32px; }

.page-hero__grid {
  display: grid;
  gap: 26px;
  align-items: center;
}
.page-hero__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue);
  margin: 0 0 10px;
}
.page-hero__label::before {
  content: "";
  width: 20px;
  height: 3px;
  background: var(--navy);
}
.page-hero h1 {
  font-weight: 800;
  font-size: clamp(1.9rem, 6vw, 3rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.25em;
}
.page-hero__line {
  color: var(--ink-2);
  font-size: 1.05rem;
  margin: 0;
}
.page-hero__visual { justify-self: start; }
@media (min-width: 820px) {
  .page-hero__grid { grid-template-columns: 1fr auto; }
  .page-hero__visual { justify-self: end; }
}

/* Marka imza grubu (hero visual) */
.ph-sig {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.ph-sig > * { flex-shrink: 0; }
.ph-sig > :nth-child(1) { transform: rotate(-2deg); }
.ph-sig > :nth-child(2) { transform: rotate(1.5deg) translateY(3px); }
.ph-sig > :nth-child(3) { transform: rotate(-1deg); }
.ph-sig .plate { transform: rotate(-2deg) scale(1.15); transform-origin: center; }

/* ---------- İç sayfa CTA bandı ---------- */
.cta-band {
  background:
    radial-gradient(ellipse at 80% -30%, rgba(27, 84, 184, 0.4), transparent 60%),
    var(--navy);
  padding-block: 58px;
}
.cta-band__in { text-align: center; }
.cta-band__sig {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.cta-band__sig .plate { transform: rotate(-2deg); }
.cta-band__sig .chip { transform: rotate(1.5deg); }
.cta-band h2 {
  color: #fff;
  font-weight: 800;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.cta-band .btn-row { justify-content: center; }

/* ---------- ÖZELLİKLER: operasyon panosu ---------- */
.fx-board {
  display: grid;
  gap: 18px;
}

.fx-scene {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1.5px solid #c8d2dd;
  border-radius: 5px;
  padding: 18px;
  box-shadow: 0 1px 0 rgba(16, 38, 63, 0.06), 0 10px 18px -14px rgba(16, 38, 63, 0.35);
}
.fx-scene__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-2);
  margin: 0 0 14px;
}
.fx-scene__label::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 2px;
}
.fx-scene__line {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
}
.fx-scene > div { flex: 1; }

/* Araç kimliği dosyası */
.fx-dossier__plate .plate {
  transform: scale(1.25) rotate(-1deg);
  transform-origin: left center;
  margin: 4px 0 14px;
}
.fx-dossier__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--navy);
  margin: 10px 0 12px;
}
.fx-dossier__rows { margin: 0; display: grid; gap: 7px; }
.fx-dossier__rows > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px dashed var(--border);
  padding-bottom: 6px;
}
.fx-dossier__rows dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  font-weight: 600;
}
.fx-dossier__rows dd { margin: 0; color: var(--navy); font-weight: 500; }

/* Mini iş emri fişi */
.fx-slip {
  border: 1.5px solid #c8d2dd;
  border-radius: 4px;
  overflow: hidden;
  transform: rotate(-0.6deg);
  box-shadow: 0 8px 14px -10px rgba(16, 38, 63, 0.35);
}
.fx-slip__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: #fff;
  padding: 9px 13px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.fx-slip__head .mono { color: #8fa3ba; text-transform: none; letter-spacing: 0; font-weight: 500; }
.fx-slip__body { padding: 13px; }
.fx-slip__op { font-weight: 600; color: var(--navy); margin: 0 0 10px; }
.fx-slip__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 2px dashed var(--border);
  padding-top: 10px;
}
.fx-slip__amount { margin-left: auto; color: var(--green); font-size: 1.05rem; }

/* Ek (ataş) çipi */
.fx-attach {
  display: inline-flex;
  align-items: center;
  border: 1.5px dashed #aeb9c6;
  border-radius: 3px;
  padding: 3px 9px;
  font-size: 0.78rem;
  color: var(--ink-2);
  background: var(--bg);
}

/* Mini kart gövdesi (hatırlatma/ödeme) */
.fx-mini { display: flex; flex-direction: column; gap: 10px; }
.fx-mini__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  border-bottom: 1px dashed var(--border);
  padding-bottom: 8px;
}
.fx-mini__k {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  font-weight: 600;
}
.fx-mini__row .mono { color: var(--navy); }
.fx-mini__amount { font-size: 1.7rem; color: var(--green); line-height: 1; }

/* Dosyalar */
.fx-files {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.fx-file--img {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1.5px solid #c8d2dd;
  border-radius: 4px;
  background: #eef1f5;
  color: var(--ink-2);
}
.fx-file--img:nth-child(2) { transform: rotate(2deg); }
.fx-file--doc {
  border: 1.5px solid #c8d2dd;
  border-radius: 3px;
  background: var(--surface);
  padding: 5px 10px;
  font-size: 0.8rem;
  color: var(--navy);
  transform: rotate(-1deg);
}
.fx-file--lock {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--green-bg);
  color: var(--green);
  margin-left: 2px;
}

/* Roller */
.fx-roles {
  display: grid;
  gap: 14px;
  max-width: 760px;
}
.fx-role {
  border: 1.5px solid #c8d2dd;
  border-radius: 4px;
  padding: 14px;
  background: var(--bg);
}
.fx-role__badge {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  background: var(--navy);
  border-radius: 3px;
  padding: 4px 10px;
  margin-bottom: 12px;
}
.fx-role__badge--usta { background: var(--blue); }
.fx-role__rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.fx-role__rows li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--ink);
  border-bottom: 1px dashed var(--border);
  padding-bottom: 6px;
}
.fx-role__lookup {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1.5px solid var(--blue);
  border-radius: 6px;
  padding: 8px 12px;
  color: var(--blue);
  font-weight: 600;
  box-shadow: 0 0 0 3px var(--blue-tint);
}
.fx-role__note { margin: 10px 0 0; font-size: 0.88rem; color: var(--ink-2); }
.fx-role__note s { color: #aeb9c6; }

@media (min-width: 680px) {
  .fx-roles { grid-template-columns: 1fr 1fr; }
}

/* Yakında etiketleri */
.fx-soon { margin-top: 38px; }
.fx-soon__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber);
  margin: 0 0 4px;
}
.shelf-tags--soon .shelf-tag { border-style: dashed; color: var(--ink-2); }

/* Pano yerleşimi */
@media (min-width: 680px) {
  .fx-board { grid-template-columns: 1fr 1fr; }
  .fx-scene--roles { grid-column: 1 / -1; }
}
@media (min-width: 1020px) {
  .fx-board { grid-template-columns: repeat(6, 1fr); gap: 20px; }
  .fx-scene--dossier { grid-column: span 3; }
  .fx-scene--slip { grid-column: span 3; transform: rotate(0.4deg) translateY(10px); }
  .fx-scene:nth-child(3) { grid-column: span 2; }
  .fx-scene:nth-child(4) { grid-column: span 2; transform: translateY(14px); }
  .fx-scene:nth-child(5) { grid-column: span 2; transform: translateY(4px); }
  .fx-scene--roles { grid-column: span 6; transform: rotate(-0.2deg); }
}

/* ---------- NASIL ÇALIŞIR: fiş zinciri ---------- */
.hw-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1.5px solid var(--blue);
  border-radius: 6px;
  padding: 8px 12px;
  color: var(--blue);
  font-weight: 600;
  box-shadow: 0 0 0 3px var(--blue-tint);
}

.hw-slipmini {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: #fff;
  border-radius: 3px;
  padding: 5px 10px;
}
.hw-slipmini b {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.hw-slipmini .mono { color: #8fa3ba; font-size: 0.82rem; }

#servis-sureci {
  scroll-margin-top: 88px;
}

.hw-chain {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 8px 0 8px 30px;
  display: grid;
  gap: 18px;
  max-width: 980px;
  margin-inline: auto;
}
.hw-chain::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 12px;
  bottom: 12px;
  border-left: 2px dashed #aeb9c6;
}

.hw-link { position: relative; }
.hw-link__card {
  position: relative;
  background: var(--surface);
  border: 1.5px solid #c8d2dd;
  border-radius: 5px;
  padding: 16px 16px 14px;
  box-shadow: 0 1px 0 rgba(16, 38, 63, 0.06), 0 8px 14px -12px rgba(16, 38, 63, 0.35);
  max-width: 460px;
}
/* Akış düğümü: delik + bağlantı */
.hw-link__card::before {
  content: "";
  position: absolute;
  top: 28px;
  left: -8px;
  width: 10px;
  height: 10px;
  margin-top: 0;
  border-radius: 50%;
  background: var(--bg);
  border: 2.5px solid #aeb9c6;
}
.hw-link__card::after {
  content: "";
  position: absolute;
  top: 32px;
  left: -22px;
  width: 16px;
  height: 2px;
  margin-top: 0;
  background: #aeb9c6;
}
.hw-link:nth-child(odd) .hw-link__card { transform: rotate(-0.35deg); }
.hw-link:nth-child(even) .hw-link__card { transform: rotate(0.35deg) translateX(8px); }
.hw-link--done .hw-link__card { border-color: var(--green); }
.hw-link--done .hw-link__card::before { border-color: var(--green); }

.hw-link__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.6rem;
  height: 1.6rem;
  margin: 0 0 8px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--blue-tint);
  color: var(--blue-dark);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1;
}
.hw-link__t {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--navy);
  margin: 0 0 8px;
  line-height: 1.25;
}
.hw-link__d {
  color: var(--ink-2);
  font-size: 0.94rem;
  line-height: 1.45;
  margin: 0 0 12px;
}
.hw-link__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}
.hw-link__v {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.hw-link__v svg {
  flex: 0 0 auto;
  color: var(--navy);
  opacity: 0.78;
}
.hw-link__txt { color: var(--ink-2); font-size: 0.92rem; }

@media (min-width: 860px) {
  .hw-chain { padding-left: 0; }
  .hw-chain::before { left: 50%; margin-left: -1px; }
  .hw-link { width: calc(50% - 34px); }
  .hw-link:nth-child(odd) { justify-self: start; }
  .hw-link:nth-child(even) { justify-self: end; }
  .hw-link .hw-link__card { max-width: none; }
  .hw-link:nth-child(odd) .hw-link__card::before { left: auto; right: -8px; }
  .hw-link:nth-child(odd) .hw-link__card::after { left: auto; right: -36px; width: 30px; }
  .hw-link:nth-child(even) .hw-link__card::after { left: -36px; width: 30px; }
  .hw-link:nth-child(even) .hw-link__card { transform: rotate(0.35deg) translateY(18px); }
  .hw-link:nth-child(odd) .hw-link__card { transform: rotate(-0.35deg); }
}

@media (max-width: 430px) {
  .hw-link__card { padding: 14px 14px 12px; }
  .hw-link__t { font-size: 0.98rem; }
  .hw-link__d { font-size: 0.9rem; }
  .hw-link:nth-child(even) .hw-link__card { transform: none; }
  .hw-link:nth-child(odd) .hw-link__card { transform: none; }
}

/* ---------- GÜVENLİK: kasa sayfası ---------- */
.sec-vault {
  position: relative;
  display: grid;
  gap: 24px;
  border: 1.5px solid var(--navy);
  border-radius: 5px;
  padding: 28px 22px;
  background:
    linear-gradient(180deg, rgba(16, 38, 63, 0.03), transparent 40%),
    var(--surface);
}
.sec-vault::before,
.sec-vault::after {
  content: "";
  position: absolute;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c8d2dd;
  box-shadow: inset 0 1px 1px rgba(16, 38, 63, 0.4);
}
.sec-vault::before { left: 8px; }
.sec-vault::after { right: 8px; }

.sec-item { display: flex; flex-direction: column; gap: 10px; }
.sec-item p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--ink);
}
.sec-item p::first-line { font-weight: 600; color: var(--navy); }
.sec-pill { align-self: flex-start; }
.sec-token { border-style: dashed; }
.sec-none { display: flex; flex-wrap: wrap; gap: 6px; }

.sec-more { margin: 20px 4px 0; font-size: 0.92rem; color: var(--ink-2); }

@media (min-width: 680px) {
  .sec-vault { grid-template-columns: 1fr 1fr; gap: 26px 24px; }
}
@media (min-width: 1020px) {
  .sec-vault { grid-template-columns: repeat(4, 1fr); padding: 32px 26px; }
  .sec-item { padding-right: 16px; }
  .sec-item:not(:nth-child(4n + 1)) {
    border-left: 1px solid var(--border);
    padding-left: 20px;
  }
}

/* ---------- FİYATLANDIRMA: erken erişim ---------- */
.pr-tag {
  font-size: 0.95rem;
  padding: 10px 18px 10px 28px;
  transform: rotate(-2deg);
}
.pr-scene {
  display: grid;
  gap: 34px;
  align-items: center;
  max-width: 920px;
}
.pr-slip {
  border: 1.5px solid #c8d2dd;
  border-radius: 4px;
  overflow: hidden;
  background: var(--surface);
  transform: rotate(-0.8deg);
  box-shadow: 0 14px 22px -14px rgba(16, 38, 63, 0.35);
}
.pr-slip__rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pr-slip__rows li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-bottom: 2px dashed var(--border);
  padding-bottom: 9px;
  color: var(--ink);
  font-weight: 500;
}
.pr-slip__rows li:last-child { border-bottom: none; padding-bottom: 0; }
.pr-slip__talk { color: var(--navy); font-weight: 600; }
.pr-side__line { color: var(--ink-2); margin-bottom: 20px; max-width: 26rem; }
@media (min-width: 820px) {
  .pr-scene { grid-template-columns: 0.9fr 1.1fr; }
}

/* ---------- HAKKIMIZDA: kaos → düzen jukstapozisyonu ---------- */
.ab-juxta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 34px;
}
.ab-juxta__old { transform: rotate(-3deg); filter: grayscale(0.45); }
.ab-juxta__arrow {
  font-size: 1.6rem;
  color: var(--blue);
  font-weight: 700;
}
.ab-juxta__new {
  max-width: 330px;
  border-left: 3px solid var(--green);
  transform: rotate(0.8deg);
  box-shadow: 0 10px 18px -12px rgba(16, 38, 63, 0.35);
}
.ab-prose p { max-width: 44rem; }

/* ---------- Lead forms / modals ---------- */
.req { color: var(--red); font-weight: 700; }

.form-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--ink-2);
  line-height: 1.45;
  cursor: pointer;
}
/* Beat .form-field label { display: block } so tick + text stay side by side */
.form-field label.form-check {
  display: flex;
  font-weight: 500;
  margin-bottom: 0;
  color: var(--ink-2);
}
.form-check input {
  margin-top: 3px;
  flex: 0 0 auto;
}
.form-check > span {
  flex: 1 1 auto;
  min-width: 0;
}

.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.lead-panel__head {
  margin-bottom: 18px;
}
.lead-panel__head h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--navy);
}
.lead-panel .lead { margin: 0; color: var(--ink-2); }

.lead-form { position: relative; }

html.modal-open,
body.modal-open {
  overflow: hidden;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}
.modal[hidden] { display: none !important; }

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 40, 0.55);
}

.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  max-height: min(92dvh, 920px);
  overflow: auto;
  background: var(--surface);
  border-radius: 16px 16px 0 0;
  padding: 22px 18px 28px;
  box-shadow: 0 -12px 40px rgba(10, 22, 40, 0.28);
  -webkit-overflow-scrolling: touch;
}

.modal__head h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--navy);
}
.modal__head .lead {
  margin: 0 0 16px;
  color: var(--ink-2);
  font-size: 0.98rem;
}

.modal__body--actions {
  display: grid;
  gap: 10px;
}

.decide .btn--secondary.btn--on-dark,
.cta-band .btn--secondary.btn--on-dark {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.decide .btn--secondary.btn--on-dark:hover,
.cta-band .btn--secondary.btn--on-dark:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

@media (min-width: 640px) {
  .modal {
    align-items: center;
    padding: 24px;
  }
  .modal__dialog {
    border-radius: 16px;
    padding: 28px 24px;
  }
}

@media (max-width: 430px) {
  .modal__dialog {
    max-height: 94dvh;
    padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  }
}

/* ---------- Brand assets (logo-long / logo-mark) ---------- */
.brand-long {
  display: block;
  width: auto;
  height: 36px;
  max-width: min(160px, 42vw);
  object-fit: contain;
}
.brand-long--compact {
  height: 28px;
  max-width: 120px;
}
.brand-long--light {
  filter: brightness(0) invert(1);
}
.brand-mark {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.brand:has(.brand-long),
.brand:has(.brand-mark) {
  gap: 0;
}

/* ---------- Modal chrome polish ---------- */
.modal__handle {
  display: none;
  width: 40px;
  height: 4px;
  margin: 2px auto 14px;
  border-radius: 999px;
  background: rgba(16, 38, 63, 0.22);
}
.modal__close {
  position: absolute;
  top: calc(10px + env(safe-area-inset-top, 0px));
  right: calc(10px + env(safe-area-inset-right, 0px));
  z-index: 2;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
}
.modal__close:hover {
  background: var(--blue-tint);
}
.modal__close:disabled,
.modal__close[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
}
.modal__brand {
  margin: 0 44px 10px 0;
}
.modal__dialog {
  padding-top: 18px;
}
.modal__dialog.is-dragging {
  cursor: grabbing;
  user-select: none;
  touch-action: none;
}
.modal__legal-hint {
  margin: 0;
  text-align: center;
  font-size: 0.9rem;
}
.modal--legal {
  z-index: 90;
}
.modal--legal .modal__dialog {
  max-width: 560px;
}

.legal-block {
  display: grid;
  gap: 12px;
}
.legal-block__meta {
  margin: 0;
  font-size: 0.78rem;
  color: var(--ink-3, #6b7a8d);
}
.form-check a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form-check a:hover {
  color: var(--blue-dark);
}

.toast-draft {
  position: fixed;
  left: 50%;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 100;
  max-width: min(92vw, 360px);
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  font-size: 0.88rem;
  line-height: 1.35;
  box-shadow: 0 10px 28px rgba(10, 22, 40, 0.28);
  transform: translate(-50%, 12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.toast-draft.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 639px) {
  .modal[data-sheet] .modal__handle,
  .modal--legal .modal__handle {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .modal__dialog,
  .toast-draft {
    transition: none !important;
  }
  .modal__dialog.is-dragging {
    transform: none !important;
  }
  .hw-link .hw-link__card {
    transform: none !important;
  }
}
