/* ==========================================================================
   Star Mobil — Ana stil dosyası
   Renk, tipografi ve boşluk değerleri :root altındaki değişkenlerden gelir.
   ========================================================================== */

:root {
  /* Marka renkleri (logodan) */
  --brand: #ea540a;
  --brand-600: #d24907;
  --brand-700: #b03d06;
  --brand-300: #f88349;
  --brand-050: #fff2ea;
  --accent: #e01a3c; /* logodaki "mobil" rozeti */

  /* Nötrler */
  --ink: #0d0e12;
  --ink-2: #1b1d24;
  --ink-3: #383c47;
  --muted: #6a7180;
  --line: #e6e8ee;
  --bg: #ffffff;
  --bg-soft: #f6f7fa;

  /* Tipografi */
  --font: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --h1: clamp(2.1rem, 1.35rem + 3.2vw, 4rem);
  --h2: clamp(1.65rem, 1.2rem + 1.9vw, 2.6rem);
  --h3: clamp(1.15rem, 1rem + 0.6vw, 1.45rem);

  /* Ölçü */
  --wrap: 1200px;
  --grid-gap: clamp(1.25rem, 2.5vw, 2rem);
  --gutter: clamp(1rem, 4vw, 2rem);
  --section-y: clamp(3.5rem, 7vw, 6.5rem);
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(13, 14, 18, 0.06), 0 2px 8px rgba(13, 14, 18, 0.04);
  --shadow: 0 4px 12px rgba(13, 14, 18, 0.07), 0 16px 40px rgba(13, 14, 18, 0.07);
  --shadow-brand: 0 10px 30px rgba(234, 84, 10, 0.28);

  --header-h: 78px;
}

/* --------------------------------------------------------- Reset / temeller */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

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

img,
video { max-width: 100%; display: block; }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-700); }

h1, h2, h3, h4 {
  margin: 0 0 0.6em;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); line-height: 1.3; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

ul { margin: 0; padding: 0; list-style: none; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--ink);
  color: #fff;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ------------------------------------------------------------ Layout parçaları */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--ink); color: #b9bfcc; }
.section--dark h2, .section--dark h3 { color: #fff; }

.section-head {
  max-width: 720px;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}
.section-head--center { margin-inline: auto; text-align: center; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}
.kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}
.section-head--center .kicker::before { display: none; }

.lead { font-size: clamp(1.05rem, 1rem + 0.4vw, 1.2rem); color: var(--ink-3); }

.grid { display: grid; gap: var(--grid-gap); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

/* Öğe sayısı sütun sayısına bölünmediğinde son satırı ortalar. */
.grid--fluid { display: flex; flex-wrap: wrap; justify-content: center; }
.grid--fluid > * { flex: 1 1 290px; }
@media (min-width: 992px) {
  .grid--fluid > * { flex: 0 1 calc((100% - 2 * var(--grid-gap)) / 3); }
}

/* ------------------------------------------------------------------- Butonlar */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.9rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: 0.94rem;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease,
    color 0.18s ease, border-color 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn--primary:hover { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }

.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
.btn--ghost:hover { background: #fff; border-color: #fff; color: var(--ink); }

.btn--outline { background: transparent; border-color: var(--brand); color: var(--brand); }
.btn--outline:hover { background: var(--brand); color: #fff; }

.btn--sm { padding: 0.68rem 1.35rem; font-size: 0.85rem; }
.btn--block { width: 100%; }

/* --------------------------------------------------------------------- Topbar */

.topbar {
  background: var(--ink);
  color: #9aa1b0;
  font-size: 0.82rem;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 44px;
  flex-wrap: wrap;
}
.topbar__list { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 0.5rem; }
.topbar a { color: #cfd4de; }
.topbar a:hover { color: var(--brand-300); }
.topbar svg { width: 15px; height: 15px; color: var(--brand); flex: none; }

.social { display: flex; align-items: center; gap: 0.45rem; }
.social a {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #cfd4de;
  transition: background 0.18s ease, color 0.18s ease;
}
.social a:hover { background: var(--brand); color: #fff; }
.social svg { width: 15px; height: 15px; }

/* --------------------------------------------------------------------- Header */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.header.is-stuck { box-shadow: var(--shadow-sm); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: var(--header-h);
}

.logo { display: inline-flex; align-items: center; flex: none; }
.logo img { height: 42px; width: auto; }

/* Ana menü */
.nav { margin-inline: auto; }
.nav__list { display: flex; align-items: center; gap: 0.35rem; }
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 0.9rem;
  border-radius: var(--r-sm);
  color: var(--ink-2);
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.18s ease, background 0.18s ease;
}
.nav__link:hover,
.nav__item.is-open > .nav__link { color: var(--brand); background: var(--brand-050); }
.nav__link[aria-current="page"] { color: var(--brand); }
.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.9rem; right: 0.9rem; bottom: 0.32rem;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}
.nav__caret { width: 12px; height: 12px; transition: transform 0.2s ease; }
.nav__item.is-open .nav__caret { transform: rotate(180deg); }

.nav__item { position: relative; }
.nav__sub {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 288px;
  padding: 0.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.nav__item:hover > .nav__sub,
.nav__item.is-open > .nav__sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__sub a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 0.8rem;
  border-radius: var(--r-sm);
  color: var(--ink-2);
  font-size: 0.89rem;
  font-weight: 600;
}
.nav__sub a:hover { background: var(--brand-050); color: var(--brand); }
.nav__sub svg { width: 18px; height: 18px; color: var(--brand); flex: none; }

.header__actions { display: flex; align-items: center; gap: 0.6rem; flex: none; }

/* Mobil menü tetikleyicisi */
.burger {
  display: none;
  width: 46px; height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 20px; height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ------------------------------------------------------------------ Hero (ana) */

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(560px, 82vh, 800px);
  padding-block: clamp(4rem, 9vw, 7rem);
  color: #fff;
  background: var(--ink);
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  /* Video yüklenene kadar (ve mobilde hiç yüklenmediğinde) görünen görsel */
  background: url("../img/arac-takip-sistemi.jpg") center / cover no-repeat;
}
.hero__media video,
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(9, 10, 13, 0.94) 0%, rgba(9, 10, 13, 0.82) 42%, rgba(9, 10, 13, 0.45) 100%),
    linear-gradient(0deg, rgba(234, 84, 10, 0.16), rgba(234, 84, 10, 0.16));
}
.hero .wrap { position: relative; z-index: 1; }
.hero__inner { max-width: 720px; }
.hero h1 { color: #fff; margin-bottom: 0.35em; }
.hero__kicker {
  display: inline-block;
  margin-bottom: 1.1rem;
  padding: 0.5rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  backdrop-filter: blur(6px);
}
.hero__text {
  max-width: 560px;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.14rem);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 2.5rem; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  font-weight: 600;
}
.hero__badge svg { width: 18px; height: 18px; color: var(--brand-300); flex: none; }

/* İç sayfa hero'su */
.page-hero {
  position: relative;
  padding-block: clamp(3rem, 7vw, 5.5rem);
  color: #fff;
  background: var(--ink);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 380px at 82% -10%, rgba(234, 84, 10, 0.42), transparent 62%),
    radial-gradient(600px 320px at 8% 110%, rgba(224, 26, 60, 0.22), transparent 60%);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: 0.5rem; }
.page-hero .kicker { color: var(--brand-300); }
.page-hero .kicker::before { background: var(--brand-300); }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}
.breadcrumb a { color: rgba(255, 255, 255, 0.85); }
.breadcrumb a:hover { color: var(--brand-300); }
.breadcrumb li { display: inline-flex; align-items: center; gap: 0.5rem; }
.breadcrumb li + li::before { content: "›"; color: rgba(255, 255, 255, 0.4); }

/* --------------------------------------------------------------- Çözüm kartları */

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon {
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  margin-bottom: 1.25rem;
  border-radius: 16px;
  background: var(--brand-050);
  color: var(--brand);
  transition: background 0.22s ease, color 0.22s ease;
}
.card:hover .card__icon { background: var(--brand); color: #fff; }
.card__icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: 0.55rem; font-size: 1.12rem; }
.card p { font-size: 0.93rem; color: var(--muted); }
.card__more {
  margin-top: auto;
  padding-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.87rem;
  font-weight: 700;
  color: var(--brand);
}
.card__more svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.card:hover .card__more svg { transform: translateX(4px); }
.card__link { position: absolute; inset: 0; border-radius: inherit; }

/* --------------------------------------------------------- Numaralı özellikler */

.step {
  position: relative;
  padding: clamp(1.75rem, 3vw, 2.25rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.step:hover::before { transform: scaleX(1); }
.step__no {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--brand-050);
  -webkit-text-stroke: 1.5px var(--brand);
}
.step h3 { margin-bottom: 0.5rem; font-size: 1.08rem; }
.step p { font-size: 0.92rem; color: var(--muted); }

/* --------------------------------------------------------------- Split bölümler */

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split--reverse > *:first-child { order: 2; }

.media-frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-soft);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.media-frame--tall img { aspect-ratio: 3 / 4; }
.media-frame--contain { padding: clamp(1rem, 3vw, 2rem); background: var(--brand-050); }
.media-frame--contain img { object-fit: contain; aspect-ratio: 1 / 1; }

.media-badge {
  position: absolute;
  left: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1.25rem;
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}
.media-badge svg { width: 30px; height: 30px; color: var(--brand); flex: none; }
.media-badge strong { display: block; color: var(--ink); font-size: 0.95rem; line-height: 1.25; }
.media-badge span { font-size: 0.78rem; color: var(--muted); }

/* ---------------------------------------------------------------- Metin blokları */

.prose h3 { margin-top: 2rem; }
.prose h3:first-child { margin-top: 0; }
.prose p { color: var(--ink-3); }
.prose strong { color: var(--ink); font-weight: 700; }

.check-list { display: grid; gap: 1rem; }
.check-list li {
  display: flex;
  gap: 0.9rem;
  padding: 1.1rem 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.check-list li:hover { border-color: var(--brand-300); box-shadow: var(--shadow-sm); }
.check-list svg { width: 22px; height: 22px; color: var(--brand); flex: none; margin-top: 2px; }
.check-list strong { display: block; margin-bottom: 0.2rem; color: var(--ink); }
.check-list p { font-size: 0.92rem; color: var(--muted); margin: 0; }

/* ------------------------------------------------------------------- İstatistik */

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.section--dark .stats { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.12); }
.stat { padding: clamp(1.5rem, 3vw, 2.25rem) 1.25rem; text-align: center; background: #fff; }
.section--dark .stat { background: var(--ink); }
.stat__value {
  display: block;
  font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--brand);
}
.stat__label { display: block; margin-top: 0.6rem; font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.section--dark .stat__label { color: #9aa1b0; }

/* ------------------------------------------------------------------------ SSS */

.accordion { display: grid; gap: 0.75rem; }
.acc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.acc.is-open { border-color: var(--brand-300); box-shadow: var(--shadow-sm); }
.acc__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.15rem 1.35rem;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.acc__btn:hover { color: var(--brand); }
.acc__sign {
  position: relative;
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--brand-050);
  transition: background 0.22s ease, transform 0.22s ease;
}
.acc__sign::before,
.acc__sign::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 11px; height: 2px;
  border-radius: 2px;
  background: var(--brand);
  transform: translate(-50%, -50%);
  transition: transform 0.22s ease, background 0.22s ease;
}
.acc__sign::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc.is-open .acc__sign { background: var(--brand); }
.acc.is-open .acc__sign::before,
.acc.is-open .acc__sign::after { background: #fff; }
.acc.is-open .acc__sign::after { transform: translate(-50%, -50%) rotate(0deg); }

.acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease;
}
.acc.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__panel p {
  padding: 0 1.35rem 1.3rem;
  margin: 0;
  font-size: 0.94rem;
  color: var(--muted);
}

/* ----------------------------------------------------------------------- Form */

.form-card {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.83rem; font-weight: 700; color: var(--ink-2); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--bg-soft);
  font: inherit;
  font-size: 0.94rem;
  color: var(--ink);
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(234, 84, 10, 0.12);
}
.field input::placeholder,
.field textarea::placeholder { color: #a3aab8; }

.form-consent {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.82rem;
  color: var(--muted);
}
.form-consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--brand); }

.form-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--muted);
}
.form-status {
  display: none;
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--r-sm);
  font-size: 0.88rem;
  font-weight: 600;
}
.form-status.is-visible { display: block; }
.form-status--ok { background: #e9f7ef; color: #17663a; }
.form-status--err { background: #fdecee; color: #96122a; }

/* --------------------------------------------------------------- Başvuru şeridi */

.apply {
  position: relative;
  color: #fff;
  background: var(--ink);
  overflow: hidden;
}
.apply::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(760px 340px at 12% 0%, rgba(234, 84, 10, 0.38), transparent 60%),
    radial-gradient(620px 320px at 95% 100%, rgba(224, 26, 60, 0.24), transparent 60%);
}
.apply .wrap { position: relative; z-index: 1; }
.apply__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.apply h2 { color: #fff; }
.apply p { color: rgba(255, 255, 255, 0.78); }
.apply .form-card { color: var(--ink-3); }

/* ------------------------------------------------------------------------ CTA */

.cta {
  position: relative;
  padding-block: clamp(3rem, 6vw, 4.5rem);
  color: #fff;
  background: linear-gradient(115deg, var(--brand-700) 0%, var(--brand) 55%, var(--brand-300) 100%);
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  top: -40%; right: -6%;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
}
.cta .wrap { position: relative; z-index: 1; }
.cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
}
.cta h2 { color: #fff; margin-bottom: 0.35rem; max-width: 42ch; font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.1rem); }
.cta p { color: rgba(255, 255, 255, 0.9); max-width: 52ch; }
.cta .btn--primary { background: #fff; border-color: #fff; color: var(--brand-700); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18); }
.cta .btn--primary:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ------------------------------------------------------------------ Referanslar */

.ref-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; }
.ref {
  display: grid;
  place-items: center;
  padding: 1.5rem 1.25rem;
  min-height: 130px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.ref:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--brand-300); }
.ref img {
  max-height: 80px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.7;
  transition: filter 0.25s ease, opacity 0.25s ease;
}
.ref:hover img { filter: grayscale(0); opacity: 1; }

/* Sonsuz kayan logo şeridi */
.marquee { position: relative; overflow: hidden; padding-block: 0.5rem; }
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: clamp(40px, 8vw, 120px);
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg-soft), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--bg-soft), transparent); }
.marquee__track { display: flex; width: max-content; gap: 3rem; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track img {
  height: 58px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.62;
  transition: filter 0.25s ease, opacity 0.25s ease;
}
.marquee__track img:hover { filter: grayscale(0); opacity: 1; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ----------------------------------------------------------------- Blog kartları */

.post {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.post:hover .post__img img { transform: scale(1.06); }
.post__body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem; }
.post__meta { margin-bottom: 0.6rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); }
.post h3 { font-size: 1.08rem; margin-bottom: 0.55rem; }
.post h3 a { color: inherit; }
.post h3 a:hover { color: var(--brand); }
.post p { font-size: 0.92rem; color: var(--muted); }
.post__more { margin-top: auto; padding-top: 1.25rem; display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.87rem; font-weight: 700; }
.post__more svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.post__more:hover svg { transform: translateX(4px); }

.article { max-width: 820px; }
.article h2 { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.8rem); margin-top: 2.25rem; }
.article h2:first-child { margin-top: 0; }
.article__hero { margin-bottom: 2.25rem; border-radius: var(--r-lg); overflow: hidden; }
.article__hero img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }

/* --------------------------------------------------------------- İletişim kutusu */

.info-card {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.info-card__icon {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  flex: none;
  border-radius: 14px;
  background: var(--brand-050);
  color: var(--brand);
}
.info-card__icon svg { width: 22px; height: 22px; }
.info-card h3 { font-size: 0.83rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.35rem; font-weight: 700; }
.info-card p, .info-card a { font-size: 0.98rem; font-weight: 600; color: var(--ink); margin: 0; line-height: 1.5; }
.info-card a:hover { color: var(--brand); }

.map-frame {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  line-height: 0;
}
.map-frame iframe { width: 100%; height: 420px; border: 0; }

/* --------------------------------------------------------------------- Footer */

.footer { background: var(--ink); color: #99a0af; padding-block: clamp(3rem, 6vw, 4.5rem) 0; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 3rem;
}
.footer__logo img { height: 40px; width: auto; margin-bottom: 1.25rem; }
.footer p { font-size: 0.9rem; line-height: 1.75; }
.footer h4 {
  margin-bottom: 1.25rem;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer__links { display: grid; gap: 0.7rem; }
.footer__links a { color: #99a0af; font-size: 0.9rem; }
.footer__links a:hover { color: var(--brand-300); padding-left: 4px; transition: padding 0.18s ease; }
.footer__contact { display: grid; gap: 1rem; }
.footer__contact li { display: flex; gap: 0.75rem; font-size: 0.9rem; }
.footer__contact svg { width: 18px; height: 18px; color: var(--brand); flex: none; margin-top: 3px; }
.footer__contact a { color: #cfd4de; }
.footer__contact a:hover { color: var(--brand-300); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
}

/* ------------------------------------------------------- Yüzen aksiyon butonları */

.fabs {
  position: fixed;
  right: clamp(0.9rem, 2vw, 1.5rem);
  bottom: clamp(0.9rem, 2vw, 1.5rem);
  z-index: 90;
  display: grid;
  gap: 0.65rem;
}
.fab {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease, visibility 0.2s;
}
.fab:hover { transform: translateY(-3px) scale(1.05); color: #fff; }
.fab svg { width: 24px; height: 24px; }
.fab--whatsapp { background: #25d366; }
.fab--phone { background: var(--brand); }
.fab--top { background: var(--ink-2); opacity: 0; visibility: hidden; }
.fab--top.is-visible { opacity: 1; visibility: visible; }

/* --------------------------------------------------------------- Animasyonlar */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ----------------------------------------------------------------- Duyarlılık */

@media (max-width: 1080px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__col--about { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }

  /* backdrop-filter, position:fixed alt öğeler için kapsayıcı blok oluşturur;
     bu da mobil menü çekmecesini header'ın içine hapsederdi. */
  .header { backdrop-filter: none; background: #fff; }

  .burger { display: block; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 auto;
    width: min(360px, 88vw);
    margin: 0;
    padding: 1.25rem var(--gutter) 3rem;
    background: #fff;
    border-left: 1px solid var(--line);
    overflow-y: auto;
    transform: translateX(105%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -20px 0 50px rgba(13, 14, 18, 0.12);
  }
  .nav.is-open { transform: translateX(0); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0.15rem; }
  .nav__link { justify-content: space-between; padding: 0.95rem 0.75rem; font-size: 1rem; }
  .nav__link[aria-current="page"]::after { display: none; }

  .nav__sub {
    position: static;
    min-width: 0;
    margin: 0.15rem 0 0.5rem;
    padding: 0.35rem 0 0.35rem 0.75rem;
    border: 0;
    border-left: 2px solid var(--brand-050);
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }
  .nav__item.is-open > .nav__sub { display: block; }
  .nav__item:hover > .nav__sub { display: none; }
  .nav__item.is-open:hover > .nav__sub { display: block; }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgba(13, 14, 18, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
  }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }

  body.nav-open { overflow: hidden; }

  .header__actions .btn { display: none; }
  .nav__cta { display: block; margin-top: 1.25rem; }

  .topbar__list .topbar__item--address { display: none; }
  .split--reverse > *:first-child { order: 0; }
}

@media (min-width: 961px) {
  .nav__cta { display: none; }
}

@media (max-width: 640px) {
  .topbar__inner { justify-content: center; }
  .topbar__list { gap: 1rem; justify-content: center; }
  .footer__grid { grid-template-columns: 1fr; }
  .cta__inner { flex-direction: column; align-items: flex-start; }
  .hero__actions .btn { flex: 1 1 100%; }
  .map-frame iframe { height: 320px; }
}
