/* ==========================================================================
   Balıkesir Oto Kiralama — style.css
   Tek dosya, token tabanlı. Mobil öncelikli (390px).
   ========================================================================== */

/* Fontlar — Archivo variable (OFL), self-host */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Tokenlar */
:root {
  --red: #D3182B;
  --red-dark: #A90F1F;
  --asphalt: #24272C;
  --asphalt-2: #33373E;
  --paper: #F4F5F3;
  --white: #FFFFFF;
  --blue: #1D4BA0;
  --line: #E0E2DE;
  --muted: #5D626A;
  --wa: #1FA855;
  --wa-dark: #178A45;
  --car-bg: #E8EAE6;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wide: "wdth" 120;

  --r-sm: 6px;
  --r-md: 14px;
  --r-pill: 999px;

  --container: 1180px;
  --gutter: 20px;
  --section-y: 68px;
  --header-h: 72px;
  --bar-h: 64px;

  --shadow: 0 1px 2px rgba(36, 39, 44, .06), 0 12px 32px rgba(36, 39, 44, .14);
}

@media (min-width: 861px) {
  :root { --section-y: 96px; }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--asphalt);
  background: var(--paper);
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
[hidden],
.car[hidden] { display: none; }

h1, h2, h3 {
  margin: 0;
  font-weight: 800;
  font-variation-settings: var(--wide);
  line-height: 1.08;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.2rem; line-height: 1.25; }
p { margin: 0; }

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

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: var(--section-y) 0; }
.section--dark { background: var(--asphalt); color: var(--white); }

.section__head { max-width: 640px; margin-bottom: 36px; }
.section__lead { margin-top: 14px; color: var(--muted); max-width: 60ch; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--asphalt);
  color: var(--white);
  border-radius: var(--r-sm);
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

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

/* Butonlar */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: var(--r-sm);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn svg { width: 22px; height: 22px; flex: none; }

/* WhatsApp yeşili üzerinde beyaz metin: 19px kalın = WCAG "büyük metin" (3:1) */
.btn-wa {
  background: var(--wa);
  color: var(--white);
  font-size: 1.1875rem;
}
.btn-wa:hover { background: var(--wa-dark); }

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

.btn-light {
  background: var(--white);
  color: var(--red-dark);
}
.btn-light:hover { background: var(--paper); }

.btn-outline-light {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn-outline-light:hover { background: var(--white); color: var(--red-dark); }

.btn-block { width: 100%; }

/* Plaka etiketi */
.plate {
  display: inline-flex;
  align-items: stretch;
  height: 30px;
  border: 2px solid var(--asphalt);
  border-radius: 5px;
  background: var(--white);
  overflow: hidden;
  font-weight: 700;
  font-variation-settings: "wdth" 100;
  line-height: 1;
  white-space: nowrap;
}
.plate__tr {
  display: flex;
  align-items: flex-end;
  padding: 0 5px 4px;
  background: var(--blue);
  color: var(--white);
  font-size: .62rem;
}
.plate__no {
  display: flex;
  align-items: center;
  padding: 0 9px;
  font-size: .95rem;
  letter-spacing: .06em;
  color: var(--asphalt);
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  margin-right: auto;
  border-radius: var(--r-sm);
}
.logo img { width: auto; height: 54px; }

.nav__list {
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__link {
  display: block;
  padding: 8px 0;
  color: var(--asphalt);
  font-weight: 600;
  text-decoration: none;
}
.nav__link:hover { color: var(--red-dark); }

.header__cta { min-height: 46px; padding: 10px 16px; }

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-right: -8px;
  padding: 0;
  background: none;
  border: 0;
  border-radius: var(--r-sm);
  cursor: pointer;
}
.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--asphalt);
  border-radius: 2px;
  transition: transform .2s;
}
.menu-toggle__bars { position: relative; }
.menu-toggle__bars::before,
.menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -7px; }
.menu-toggle__bars::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--red);
  color: var(--white);
  padding: 56px 0 88px;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 56px;
  align-items: center;
}
.hero__loc {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-weight: 600;
}
.hero__loc svg { width: 18px; height: 18px; flex: none; }
.hero__title { max-width: 14ch; }
.hero__text {
  margin-top: 20px;
  max-width: 46ch;
  font-size: 1.125rem;
}
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 8px 16px 8px 12px;
  background: rgba(0, 0, 0, .18);
  border-radius: var(--r-pill);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}
.rating-badge:hover { background: rgba(0, 0, 0, .28); }
.rating-badge__stars { color: #FFD45C; letter-spacing: .08em; }

/* Akan yol şeridi */
.road {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 30px;
  width: 100%;
  height: 8px;
  pointer-events: none;
}
.road line {
  stroke: rgba(255, 255, 255, .55);
  stroke-width: 6;
  stroke-dasharray: 44 34;
  animation: road 1.6s linear infinite;
}
@keyframes road {
  to { stroke-dashoffset: -78; }
}

/* Form kartı */
.quote {
  background: var(--white);
  color: var(--asphalt);
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
  padding: 28px 24px 24px;
}
.quote__title { font-size: 1.6rem; margin-bottom: 20px; }
.quote__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .9rem; font-weight: 600; }
.field input,
.field select {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  background: var(--white);
  border: 1.5px solid #9AA0A6;
  border-radius: var(--r-sm);
  font-size: 1rem;
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2324272C' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.field input:focus-visible,
.field select:focus-visible { border-color: var(--blue); outline-offset: 0; }
.field input[aria-invalid="true"] { border-color: var(--red-dark); }

.quote__error {
  min-height: 0;
  margin-top: 14px;
  color: var(--red-dark);
  font-weight: 600;
  font-size: .95rem;
}
.quote__error:empty { margin-top: 0; }
.quote .btn-wa { margin-top: 18px; }
.quote__note {
  margin-top: 14px;
  text-align: center;
  color: var(--muted);
  font-size: .95rem;
}
.quote__note a { color: var(--asphalt); font-weight: 700; }

/* ==========================================================================
   Güvence şeridi
   ========================================================================== */
.assure {
  background: var(--asphalt);
  color: var(--white);
  padding: 36px 0;
}
.assure__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.assure__item {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 2px 12px;
}
.assure__item svg { grid-row: span 2; width: 26px; height: 26px; margin-top: 2px; color: #FF6B78; }
.assure__item strong { font-weight: 700; }
.assure__item span { color: #C8CBD0; font-size: .95rem; line-height: 1.45; }

/* ==========================================================================
   Filo
   ========================================================================== */
.fleet__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  min-height: 42px;
  padding: 8px 18px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  font-weight: 600;
  cursor: pointer;
}
.chip:hover { border-color: var(--asphalt); }
.chip[aria-selected="true"] {
  background: var(--asphalt);
  border-color: var(--asphalt);
  color: var(--white);
}

.fleet__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.car {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.car__visual {
  position: relative;
  display: block;
  aspect-ratio: 2 / 1;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.car__visual img,
.car__visual svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.car__visual img { object-fit: contain; padding: 4% 6% 20px; }
.car__visual svg { padding: 8% 10% 20px; }
.car__visual img, .car__visual svg { transition: transform .25s; }
.car__visual:hover img, .car__visual:hover svg { transform: scale(1.03); }
.car__name a { color: inherit; text-decoration: none; }
.car__name a:hover { color: var(--red-dark); text-decoration: underline; text-underline-offset: 3px; }
.car__visual::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 16px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .8) 0 22px, transparent 22px 40px) center / 100% 3px no-repeat,
    var(--asphalt-2);
}
.car__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px;
}
.car__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.car__cat { margin-top: 2px; color: var(--muted); font-size: .9rem; }
.car__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.car__specs li {
  padding: 3px 10px;
  background: var(--paper);
  border-radius: var(--r-sm);
  font-size: .88rem;
  font-weight: 500;
}
.car__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
}
.car__price { font-size: 1.3rem; font-weight: 800; font-variation-settings: "wdth" 110; }
.car__price small { font-size: .9rem; font-weight: 500; color: var(--muted); font-variation-settings: normal; }
.car__ask { min-height: 46px; padding: 10px 18px; }

.fleet__note { margin-top: 28px; color: var(--muted); max-width: 70ch; }

/* ==========================================================================
   Nasıl kiralanır
   ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.step { position: relative; }
.step__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  background: var(--red);
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 800;
  font-variation-settings: var(--wide);
}
/* Adımlar arası kesik yol çizgisi */
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 27px;
  left: 76px;
  right: -28px;
  height: 0;
  border-top: 3px dashed rgba(255, 255, 255, .45);
}
.step h3 { margin-bottom: 10px; }
.step p { color: #C8CBD0; max-width: 34ch; }

/* ==========================================================================
   Şartlar
   ========================================================================== */
.terms {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 56px;
  align-items: start;
}
.terms__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
  margin: 0;
}
.terms__item {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.terms__item dt { font-weight: 700; margin-bottom: 4px; }
.terms__item dd { margin: 0; color: var(--muted); }

/* ==========================================================================
   Yorum bandı
   ========================================================================== */
.reviews {
  background: var(--red);
  color: var(--white);
  padding: 64px 0;
}
.reviews__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
}
.reviews__score { display: flex; align-items: center; gap: 16px; }
.reviews__num {
  font-size: clamp(3.6rem, 8vw, 5.4rem);
  font-weight: 800;
  font-variation-settings: "wdth" 125;
  line-height: 1;
}
.reviews__meta { font-weight: 600; max-width: 16ch; line-height: 1.35; }
.reviews__stars { display: block; color: #FFD45C; letter-spacing: .08em; margin-bottom: 4px; }
.reviews__text { font-size: 1.2rem; max-width: 40ch; }
.reviews__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ==========================================================================
   İletişim
   ========================================================================== */
.contact {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: stretch;
}
.contact__addr { margin-top: 20px; font-style: normal; font-size: 1.1rem; font-weight: 600; }
.contact__list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.contact__list li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.contact__list li:last-child { border-bottom: 1px solid var(--line); }
.contact__list span { color: var(--muted); }
.contact__list a { font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.map {
  min-height: 360px;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--car-bg);
  border: 1px solid var(--line);
}
.map iframe { display: block; width: 100%; height: 100%; min-height: 360px; border: 0; }

/* ==========================================================================
   Mobil alt bar
   ========================================================================== */
.mbar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  gap: 10px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(36, 39, 44, .08);
}
.mbar .btn { min-height: 48px; }
.mbar .btn-ghost { flex: 1; }
.mbar .btn-wa { flex: 1.8; }

/* ==========================================================================
   KVKK / metin sayfası
   ========================================================================== */
.doc { max-width: 760px; }
.doc h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 24px; }
.doc h2 { font-size: 1.35rem; margin: 36px 0 10px; }
.doc p, .doc li { color: var(--asphalt-2); }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 1.2em; }
.doc__note {
  margin-bottom: 28px;
  padding: 14px 18px;
  background: var(--white);
  border-left: 4px solid var(--blue);
  border-radius: var(--r-sm);
}

/* ==========================================================================
   Çok sayfalı yapı bileşenleri
   ========================================================================== */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.section--white { background: var(--white); border-block: 1px solid var(--line); }

.section__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 32px;
}
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  color: var(--red-dark);
  font-weight: 700;
  text-underline-offset: 4px;
}
.link-more::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}
.terms .link-more { margin-top: 20px; }

/* Sayfa başlığı */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--red);
  color: var(--white);
  padding: 40px 0 76px;
}
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 18ch; }
.page-hero__lead { margin-top: 16px; max-width: 56ch; font-size: 1.125rem; }

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  font-size: .95rem;
}
.crumbs li + li::before { content: "/"; margin: 0 10px; opacity: .7; }
.crumbs a { color: inherit; text-underline-offset: 3px; }
.crumbs [aria-current] { font-weight: 600; }
.crumbs--dark { color: var(--muted); }
.crumbs--dark [aria-current] { color: var(--asphalt); }

/* Filtre + tablo */
.chips { margin-bottom: 28px; }
.table-title { margin: 56px 0 20px; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.table-wrap {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.compare { width: 100%; min-width: 620px; border-collapse: collapse; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { font-size: .9rem; color: var(--muted); font-weight: 600; background: var(--paper); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare tbody th a { color: var(--asphalt); font-weight: 700; text-underline-offset: 3px; }
.compare .num { text-align: right; white-space: nowrap; font-weight: 700; }
.compare .num small { font-weight: 500; color: var(--muted); }

/* Hizmet kartları */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.service {
  padding: 28px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.service__icon {
  width: 48px;
  height: 48px;
  padding: 11px;
  margin-bottom: 18px;
  background: #FBE7E9;
  color: var(--red-dark);
  border-radius: 12px;
}
.service h2, .service h3 { font-size: 1.2rem; margin-bottom: 8px; }
.service p { color: var(--muted); }

/* CTA bandı */
.cta { background: var(--asphalt); color: var(--white); padding: 56px 0; }
.cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
}
.cta h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); max-width: 22ch; }
.cta p { margin-top: 10px; color: #C8CBD0; }
.cta .cta__text { color: var(--white); font-size: 1.1rem; max-width: 52ch; }
.cta p a { color: var(--white); font-weight: 700; }

/* Araç detay */
.car-detail { padding: 32px 0 var(--section-y); }
.car-detail__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.car-detail__visual {
  position: relative;
  aspect-ratio: 2 / 1;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.car-detail__visual img,
.car-detail__visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.car-detail__visual img { object-fit: contain; padding: 4% 6% 24px; }
.car-detail__visual svg { padding: 8% 10% 28px; }
.car-detail__visual::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 20px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .8) 0 28px, transparent 28px 50px) center / 100% 3px no-repeat,
    var(--asphalt-2);
}
.car-detail__info h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin-top: 4px; }
.car-detail__plate { margin-top: 16px; }
.specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.specs li {
  display: grid;
  gap: 2px;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
}
.specs svg { width: 22px; height: 22px; color: var(--red-dark); margin-bottom: 4px; }
.specs span { font-size: .85rem; color: var(--muted); }
.car-detail__price {
  margin-top: 24px;
  font-size: 2rem;
  font-weight: 800;
  font-variation-settings: "wdth" 110;
}
.car-detail__price small { font-size: 1rem; font-weight: 500; color: var(--muted); font-variation-settings: normal; }
.car-detail__note { margin-top: 4px; color: var(--muted); font-size: .95rem; }
.car-detail__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.terms .quote { margin-top: 32px; border: 1px solid var(--line); }

.field__label { font-size: .9rem; font-weight: 600; }
.field__static {
  min-height: 48px;
  padding: 11px 12px;
  background: var(--paper);
  border-radius: var(--r-sm);
  font-weight: 700;
}

/* Belgeler, SSS */
.doc-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.doc-card {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 4px 14px;
  padding: 22px;
  background: var(--paper);
  border-radius: var(--r-md);
}
.doc-card svg { grid-row: span 2; width: 28px; height: 28px; color: var(--red-dark); }
.doc-card span { color: var(--muted); }

.faq {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 56px;
  align-items: start;
}
.faq__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.faq__item + .faq__item { margin-top: 10px; }
.faq__item summary {
  position: relative;
  padding: 18px 56px 18px 20px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  border-radius: var(--r-md);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -7px;
  border-right: 2px solid var(--asphalt);
  border-bottom: 2px solid var(--asphalt);
  transform: rotate(45deg);
  transition: transform .2s;
}
.faq__item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq__item p { padding: 0 20px 20px; color: var(--muted); }

/* Hakkımızda */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.about__text h2 { margin-bottom: 20px; }
.about__text p { max-width: 62ch; }
.about__text p + p { margin-top: 14px; }
.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.facts li {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  border-radius: var(--r-md);
}
.facts strong {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  font-variation-settings: var(--wide);
  line-height: 1.1;
}
.facts span { color: var(--muted); font-size: .95rem; }

/* İletişim kartları */
.info-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.info-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.info-card > svg { width: 28px; height: 28px; color: var(--red-dark); margin-bottom: 14px; }
.info-card h2 { font-size: 1.1rem; margin-bottom: 6px; }
.info-card p { overflow-wrap: anywhere; }
.info-card a { font-weight: 700; text-underline-offset: 3px; }
.info-card > a { display: inline-block; margin-top: 10px; color: var(--red-dark); }
.info-card__sub { margin-top: 8px; color: var(--muted); font-size: .95rem; }
.contact > .quote { border: 1px solid var(--line); }

/* Footer */
.footer { background: var(--asphalt); color: #C8CBD0; padding: 64px 0 28px; font-size: .95rem; }
.footer a { color: var(--white); text-underline-offset: 3px; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 40px;
}
.footer__logo { display: inline-block; padding: 8px 12px; background: var(--white); border-radius: var(--r-sm); }
.footer__logo img { height: 48px; width: auto; }
.footer__about p { margin-top: 16px; max-width: 32ch; }
.footer__social { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 600; }
.footer__social svg { width: 20px; height: 20px; }
.footer__title { font-size: 1rem; font-variation-settings: normal; color: var(--white); margin-bottom: 14px; }
.footer__list { margin: 0; padding: 0; list-style: none; }
.footer__list li + li { margin-top: 8px; }
.footer__list a { color: #E3E5E8; text-decoration: none; }
.footer__list a:hover { color: var(--white); text-decoration: underline; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

/* 404 */
.notfound { text-align: left; }
.notfound__code {
  font-size: clamp(5rem, 16vw, 9rem);
  font-weight: 800;
  font-variation-settings: "wdth" 125;
  color: var(--red);
  line-height: 1;
}
.notfound h1 { margin-top: 8px; }

@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .info-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq, .about { grid-template-columns: 1fr; gap: 32px; }
  .car-detail__grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 860px) {
  .page-hero { padding: 28px 0 68px; }
  .doc-cards { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .info-cards, .facts { grid-template-columns: 1fr; }
  .specs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .specs li { padding: 12px 10px; }
  .car-detail__actions .btn, .cta .btn { flex: 1 1 100%; }
}

/* ==========================================================================
   Kırılımlar
   ========================================================================== */
@media (max-width: 1024px) {
  .fleet__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .terms { grid-template-columns: 1fr; gap: 32px; }
  .reviews__inner { grid-template-columns: 1fr; gap: 24px; }
  .assure__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .header__inner { gap: 20px; }
  .nav__list { gap: 20px; }
}

@media (max-width: 860px) {
  body { padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); }

  .menu-toggle { display: inline-flex; }
  .header__cta { display: none; }
  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(36, 39, 44, .1);
  }
  .nav:not(.is-open) { display: none; }
  .nav__list { flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px; }
  .nav__link { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav__list li:last-child .nav__link { border-bottom: 0; }

  .hero { padding: 40px 0 80px; }
  .hero__inner { grid-template-columns: 1fr; gap: 36px; }

  .steps { grid-template-columns: 1fr; gap: 32px; }
  .step { padding-left: 76px; min-height: 56px; }
  .step__num { position: absolute; left: 0; top: 0; margin: 0; }
  .step:not(:last-child)::after {
    top: 68px;
    bottom: -24px;
    left: 26px;
    right: auto;
    height: auto;
    border-top: 0;
    border-left: 3px dashed rgba(255, 255, 255, .45);
  }

  .contact { grid-template-columns: 1fr; gap: 32px; }

  .mbar { display: flex; }
}

@media (max-width: 600px) {
  .fleet__grid { grid-template-columns: 1fr; }
  .quote__grid { grid-template-columns: 1fr; }
  .quote { padding: 24px 18px 20px; }
  .assure__list { grid-template-columns: 1fr; gap: 18px; }
  .terms__list { grid-template-columns: 1fr; }
  .logo img { height: 46px; }
  .reviews__actions .btn,
  .contact__actions .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .road line { animation: none; }
  *, *::before, *::after { transition: none; }
}

/* Yönetim panelinden yüklenen ortam fotoğrafları (kırpılmış, tam kadraj) */
.car__visual img.is-cover,
.car-detail__visual img.is-cover { object-fit: cover; padding: 0 0 16px; }
.section__lead--top { margin: -16px 0 28px; }
.car-detail__desc { margin-top: 18px; max-width: 52ch; font-size: 1.05rem; }
.car-detail__figure { margin: 0; }
.car-detail__credit { margin-top: 8px; font-size: .8rem; color: var(--muted); }
.car-detail__credit a { color: inherit; text-underline-offset: 2px; }
.car__name { font-size: 1.2rem; line-height: 1.25; }
