/* NFS Rent a Car: demo site
   Logo sarısı + asfalt. Tek motif: logodaki çizgi (başlığın oturduğu çizgi, km cetveli). */

:root {
  --yellow: #FFE900;          /* logonun sarı karesi */
  --yellow-hi: #FFF06A;
  --yellow-soft: #FFF7B0;     /* takvim aralığı */
  --asphalt: #1E1E1C;         /* metin, koyu bantlar */
  --asphalt-2: #2B2B28;
  --footer: #161614;
  --grey: #545454;            /* logo grisi: ikincil metin */
  --on-yellow-sub: #45453A;
  --concrete: #F0F0EE;
  --line: #DEDEDA;
  --white: #FFFFFF;
  --on-dark: #EDEDE9;
  --on-dark-sub: #B9B9B2;

  --font-d: 'Saira', 'Barlow', system-ui, sans-serif;
  --font-b: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --copy-left: max(var(--gutter), calc((100% - var(--container)) / 2)); /* % = .hero genişliği */
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-b);
  font-size: 17px;
  line-height: 1.55;
  color: var(--asphalt);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
svg { display: block; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--asphalt); outline-offset: 3px; }
.terms :focus-visible, .site-footer :focus-visible, .sticky-book :focus-visible,
.lightbox :focus-visible, .btn--dark:focus-visible { outline-color: var(--yellow); }

.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;
}
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--yellow); color: var(--asphalt); padding: 10px 14px; font-weight: 600;
}
.skip:focus { top: 12px; }

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

/* Type */
.h2 {
  font-family: var(--font-d);
  font-weight: 660;
  font-stretch: 112%;
  font-size: clamp(32px, 3.5vw, 52px);
  line-height: 1.04;
  letter-spacing: -.012em;
}
.h3 { font-family: var(--font-d); font-weight: 620; font-stretch: 108%; font-size: 21px; line-height: 1.2; }
.lead { font-size: clamp(17px, 1.25vw, 19px); color: var(--grey); max-width: 38em; margin-top: 14px; }
.note { font-size: 14.5px; color: var(--grey); }
.link {
  font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px;
  text-underline-offset: 5px; text-decoration-color: var(--yellow);
}
.link:hover { text-decoration-color: var(--asphalt); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border: 0; border-radius: 2px;
  font-family: var(--font-b); font-weight: 600; font-size: 17px; line-height: 1.1;
  text-decoration: none; white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 15.5px; }
.btn--dark { background: var(--asphalt); color: var(--yellow); }
.btn--dark:hover { background: #000; }
.btn--yellow { background: var(--yellow); color: var(--asphalt); }
.btn--yellow:hover { background: var(--yellow-hi); }
.btn--ghost { background: transparent; color: var(--asphalt); box-shadow: inset 0 0 0 2px var(--asphalt); }
.btn--ghost:hover { background: var(--asphalt); color: var(--white); }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; flex: none; }
.link-btn { background: none; border: 0; padding: 8px 4px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  transition: background-color .25s, box-shadow .25s;
}
.site-header__inner {
  height: var(--header-h);
  display: flex; align-items: center; gap: 28px;
  max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter);
}
.brand { display: block; flex: none; }
.brand__logo { height: 42px; width: auto; }
.brand__logo--dark { display: none; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a {
  color: var(--white); text-decoration: none; font-weight: 500; font-size: 16px;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav a:hover { border-bottom-color: var(--yellow); }
.site-header__actions { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; }
.lang__btn {
  background: none; border: 0; padding: 6px 7px; font-weight: 600; font-size: 14.5px;
  color: rgba(255, 255, 255, .7); letter-spacing: .02em;
}
.lang__btn.is-active { color: var(--white); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.site-header__cta { min-height: 42px; padding: 0 16px; font-size: 15.5px; }
.menu-toggle { display: none; }

.site-header.is-scrolled { background: var(--white); box-shadow: 0 1px 0 var(--line); }
.site-header.is-scrolled .brand__logo--light { display: none; }
.site-header.is-scrolled .brand__logo--dark { display: block; }
.site-header.is-scrolled .nav a { color: var(--asphalt); }
.site-header.is-scrolled .lang__btn { color: var(--grey); }
.site-header.is-scrolled .lang__btn.is-active { color: var(--asphalt); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  --hero-pos: 78% 50%;
  --hero-pos-m: 50% 100%;
  --copy-top: 25%;
  --copy-w: 1040px;
  --veil: .34;
  position: relative;
  overflow-x: clip;
  height: calc(100vh - 72px); height: calc(100svh - 72px);
  min-height: 600px; max-height: 1100px;
  background: #56707f;
}
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: var(--hero-pos); }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(16, 22, 28, .38) 0, rgba(16, 22, 28, 0) 20%),
    linear-gradient(90deg, rgba(16, 22, 28, var(--veil)) 0, rgba(16, 22, 28, calc(var(--veil) * .55)) 38%, rgba(16, 22, 28, 0) 62%);
}
.hero__copy {
  position: absolute; z-index: 2;
  left: var(--copy-left); top: var(--copy-top);
  width: min(var(--copy-w), calc(100% - 2 * var(--gutter)));
  color: var(--white);
}
/* Başlık, logodaki NFS harfleri gibi bir çizginin üstüne oturur.
   Çizgi ekranın sol kenarından başlar, son satırın biraz ötesinde biter. */
.hero__title {
  position: relative; display: inline-block;
  font-family: var(--font-d);
  font-weight: 680; font-stretch: 116%;
  font-size: clamp(44px, 4.6vw, 90px);
  line-height: .98; letter-spacing: -.018em;
  padding-bottom: .1em;
  text-wrap: balance;
}
.hero__title .ln { display: block; }
.hero__title::after {
  content: ''; position: absolute;
  left: -100vw; right: -1.15em; bottom: .02em; /* sol uç ekran kenarına kadar; .hero taşanı kırpar */
  height: max(3px, .045em);
  background: var(--yellow);
}
.hero__lead {
  margin-top: 30px; max-width: 30em;
  font-size: clamp(18px, 1.35vw, 22px); font-weight: 500; line-height: 1.45;
  text-shadow: 0 1px 14px rgba(10, 16, 22, .35);
}

/* =========================================================
   Booking bar (sarı)
   ========================================================= */
.booking {
  position: absolute; z-index: 6;
  left: var(--copy-left); right: var(--copy-left);
  bottom: 0; transform: translateY(50%);
  background: var(--yellow); color: var(--asphalt);
  box-shadow: 0 22px 48px -22px rgba(0, 0, 0, .55);
  border-radius: 2px;
}
.booking__row {
  display: grid;
  grid-template-columns: minmax(230px, 1.4fr) minmax(130px, 1fr) auto minmax(130px, 1fr) minmax(180px, 1.2fr) auto;
  align-items: stretch;
}
.field {
  position: relative;
  display: flex; flex-direction: column; justify-content: center; gap: 1px;
  min-width: 0;
  padding: 16px 20px;
  background: transparent; border: 0; text-align: left;
  border-left: 1px solid rgba(30, 30, 28, .22);
}
.field:first-child { border-left: 0; }
button.field:hover, .field--car:hover { background: rgba(255, 255, 255, .28); }
.field__label { font-size: 13.5px; font-weight: 500; color: var(--on-yellow-sub); }
.field__value {
  font-family: var(--font-d); font-weight: 620; font-stretch: 106%;
  font-size: 20px; line-height: 1.25;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.field__value.is-empty { color: var(--on-yellow-sub); font-weight: 520; }
.field__sub { font-size: 14.5px; color: var(--on-yellow-sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.field__select {
  appearance: none; -webkit-appearance: none;
  width: 100%; border: 0; border-radius: 0; background: transparent;
  padding: 2px 26px 2px 0; margin: 0;
  font-family: var(--font-d); font-weight: 620; font-stretch: 106%; font-size: 20px; line-height: 1.25;
  text-overflow: ellipsis; white-space: nowrap; overflow: hidden;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%231E1E1C' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0 center; background-size: 18px;
  cursor: pointer;
}
.field__select:focus-visible { outline: none; }
.field--car:focus-within { outline: 2px solid var(--asphalt); outline-offset: -4px; }
.field--days {
  align-items: center; justify-content: center; padding: 10px 14px; gap: 0;
  border-left: 1px dashed rgba(30, 30, 28, .3);
}
.field--days + .field { border-left: 1px dashed rgba(30, 30, 28, .3); }
.days__n { font-family: var(--font-d); font-style: italic; font-weight: 720; font-stretch: 110%; font-size: 32px; line-height: 1; }
.days__u { font-size: 13.5px; color: var(--on-yellow-sub); }
.booking__submit { display: flex; padding: 10px; border-left: 1px solid rgba(30, 30, 28, .22); }
.btn--submit { background: var(--asphalt); color: var(--yellow); min-height: 100%; padding: 0 24px; font-size: 17px; }
.btn--submit:hover { background: #000; }
.btn--submit:focus-visible { outline-color: var(--asphalt); outline-offset: 2px; }
.booking__note {
  border-top: 1px solid rgba(30, 30, 28, .22);
  padding: 9px 20px 10px; font-size: 14.5px; color: var(--on-yellow-sub); min-height: 1.5em;
}
.booking__note b { color: var(--asphalt); font-weight: 600; }

/* Popovers */
.popover {
  position: absolute; z-index: 30;
  bottom: calc(100% + 10px);
  background: var(--white); color: var(--asphalt);
  border-radius: 3px;
  box-shadow: 0 28px 70px -24px rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 0, 0, .06);
  padding: 20px;
}
.popover.is-below { bottom: auto; top: calc(100% + 10px); }
.datepicker { width: 680px; max-width: calc(100vw - 2 * var(--gutter)); }
.datepicker__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.datepicker__hint { font-weight: 600; font-size: 15.5px; text-align: center; }
.dp-nav {
  width: 40px; height: 40px; display: grid; place-items: center;
  background: none; border: 1px solid var(--line); border-radius: 2px;
}
.dp-nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.dp-nav:disabled { opacity: .3; cursor: default; }
.datepicker__months { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.month__caption { font-family: var(--font-d); font-weight: 620; font-stretch: 106%; font-size: 17px; text-align: center; margin-bottom: 8px; text-transform: capitalize; }
.month__grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.month__dow { font-size: 12.5px; color: var(--grey); text-align: center; padding: 4px 0 6px; }
.day {
  position: relative; background: none; border: 0; padding: 2px 0;
  display: grid; place-items: center;
}
.day span {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 2px;
  font-variant-numeric: tabular-nums; font-size: 15.5px;
}
.day:not(:disabled):hover span { background: var(--concrete); }
.day:disabled { color: #B5B5B0; cursor: default; }
.day.is-today span { box-shadow: inset 0 -2px 0 var(--asphalt); }
.day.in-range, .day.in-preview { background: var(--yellow-soft); }
.day.is-start.has-range { background: linear-gradient(90deg, transparent 50%, var(--yellow-soft) 50%); }
.day.is-end { background: linear-gradient(90deg, var(--yellow-soft) 50%, transparent 50%); }
.day.is-start.is-end { background: none; }
.day.is-start span, .day.is-end span, .day.is-start:hover span, .day.is-end:hover span { background: var(--asphalt); color: var(--yellow); font-weight: 600; }
.datepicker__times {
  display: flex; flex-wrap: wrap; align-items: end; gap: 12px 18px;
  margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line);
}
.time-field { display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; color: var(--grey); }
.time-field select {
  min-width: 112px; height: 42px; padding: 0 34px 0 12px;
  border: 1px solid #BDBDB7; border-radius: 2px; background: var(--white);
  appearance: none; -webkit-appearance: none;
  font-family: var(--font-d); font-weight: 600; font-size: 17px; color: var(--asphalt);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%231E1E1C' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; background-size: 16px;
}
.datepicker__sum { margin-left: auto; font-size: 15px; color: var(--grey); align-self: center; }
.datepicker__sum b { color: var(--asphalt); font-weight: 600; }
.datepicker__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }

.place { width: 400px; max-width: calc(100vw - 2 * var(--gutter)); }
.text-field { display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; font-weight: 500; margin-bottom: 14px; }
.text-field input {
  height: 46px; padding: 0 12px; border: 1px solid #BDBDB7; border-radius: 2px; font-size: 17px; background: var(--white);
}
.text-field input:focus { outline: 2px solid var(--asphalt); outline-offset: 0; border-color: var(--asphalt); }
.place__note { font-size: 14px; color: var(--grey); }

/* =========================================================
   Fleet
   ========================================================= */
.fleet { padding: 152px 0 104px; }
.fleet__head { display: flex; align-items: end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.fleet__tools { display: flex; align-items: center; gap: 12px; }
.chip {
  height: 42px; padding: 0 16px; border-radius: 2px;
  background: var(--white); border: 1px solid #BDBDB7; font-weight: 500; font-size: 15.5px;
}
.chip[aria-pressed="true"] { background: var(--asphalt); border-color: var(--asphalt); color: var(--yellow); }
.sort select {
  height: 42px; padding: 0 36px 0 14px; border: 1px solid #BDBDB7; border-radius: 2px; background: var(--white);
  appearance: none; -webkit-appearance: none; font-size: 15.5px; font-weight: 500;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%231E1E1C' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px;
}
.tabs {
  display: flex; gap: 6px 34px; flex-wrap: wrap;
  margin: 40px 0 36px; border-bottom: 1px solid var(--line);
}
.tab {
  display: inline-flex; align-items: center; gap: 10px;
  background: none; border: 0; padding: 10px 0 12px; margin-bottom: -1px;
  border-bottom: 3px solid transparent;
  font-family: var(--font-d); font-weight: 620; font-stretch: 110%; font-size: 21px; color: var(--grey);
}
.tab:hover { color: var(--asphalt); }
.tab[aria-selected="true"] { color: var(--asphalt); border-bottom-color: var(--asphalt); }
.tab__n {
  font-family: var(--font-b); font-weight: 600; font-size: 13px; line-height: 1;
  padding: 4px 7px; border-radius: 2px; background: var(--concrete); color: var(--grey);
}
.tab[aria-selected="true"] .tab__n { background: var(--yellow); color: var(--asphalt); }

.fleet__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 52px 32px; }
.car { display: flex; flex-direction: column; }
.car__img { width: 100%; aspect-ratio: 800 / 413; object-fit: cover; border-radius: 2px; background: #2a1d12; }
.car__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 16px; }
.car__brand { font-size: 15px; font-weight: 500; color: var(--grey); }
.car__color { font-size: 13px; color: var(--grey); border: 1px solid var(--line); padding: 1px 7px; border-radius: 2px; white-space: nowrap; }
.car__name {
  font-family: var(--font-d); font-weight: 650; font-stretch: 110%;
  font-size: 25px; line-height: 1.1; margin-top: 2px;
}
.car__price { display: flex; align-items: baseline; gap: 6px; margin-top: 10px; }
.car__price b {
  font-family: var(--font-d); font-style: italic; font-weight: 740; font-stretch: 112%;
  font-size: 32px; line-height: 1; letter-spacing: -.01em;
}
.car__price .cur { font-family: var(--font-d); font-style: italic; font-weight: 700; font-size: 15px; }
.car__price .per { font-size: 15px; color: var(--grey); }
.car__spec {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.car__spec div { padding: 8px 0 9px 12px; border-left: 1px solid var(--line); }
.car__spec div:first-child { border-left: 0; padding-left: 0; }
.car__spec dt { font-size: 12.5px; color: var(--grey); }
.car__spec dd { font-family: var(--font-d); font-weight: 620; font-size: 17px; line-height: 1.2; }
.car__cta {
  align-self: flex-start; margin-top: 14px;
  background: none; border: 0; padding: 6px 2px;
  font-weight: 600; font-size: 16px;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--yellow);
}
.car__cta:hover { background: var(--yellow); text-decoration-color: var(--asphalt); }
.fleet__empty { color: var(--grey); padding: 24px 0; }

/* =========================================================
   250 km (imza öğe)
   ========================================================= */
.km { background: var(--yellow); padding: 104px 0 96px; }
.km .lead { color: var(--on-yellow-sub); }
.km__head { display: flex; align-items: end; justify-content: space-between; gap: 28px 48px; flex-wrap: wrap; }
.km__from { display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; font-weight: 500; color: var(--on-yellow-sub); }
.seg { display: flex; box-shadow: inset 0 0 0 2px var(--asphalt); border-radius: 2px; }
.seg button {
  background: none; border: 0; padding: 10px 18px; min-height: 44px;
  font-family: var(--font-d); font-weight: 620; font-stretch: 106%; font-size: 17px; color: var(--asphalt);
}
.seg button[aria-checked="true"] { background: var(--asphalt); color: var(--yellow); }

.ruler { position: relative; margin: 60px 0 10px; }
.ruler__label { position: relative; height: clamp(54px, 6vw, 96px); }
.ruler__label span {
  position: absolute; bottom: 10px; left: 0;
  font-family: var(--font-d); font-weight: 720; font-stretch: 118%;
  font-size: clamp(30px, 4.6vw, 76px); line-height: 1; letter-spacing: -.02em;
  white-space: nowrap;
  transition: left .9s var(--ease), transform .9s var(--ease);
}
.ruler__track { position: relative; height: 4px; background: var(--asphalt); }
.ruler__start {
  position: absolute; left: 0; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px;
  border-radius: 50%; background: var(--yellow); box-shadow: inset 0 0 0 3px var(--asphalt);
}
.ruler__fill, .ruler__over { position: absolute; top: -6px; height: 16px; left: 0; width: 0; }
.ruler__fill { background: var(--asphalt); transition: width 1.1s var(--ease); }
.ruler__over {
  left: 62.5%;
  background: repeating-linear-gradient(-45deg, var(--asphalt) 0 3px, transparent 3px 7px);
  box-shadow: inset 0 0 0 2px var(--asphalt);
  transition: width .6s var(--ease) .9s;
}
.ruler__limit { position: absolute; left: 62.5%; top: -9px; height: 38px; width: 3px; margin-left: -1.5px; background: var(--asphalt); }
.ruler__dot {
  position: absolute; top: 50%; left: 0; width: 22px; height: 22px; margin: -11px 0 0 -11px;
  border-radius: 50%; background: var(--yellow); box-shadow: inset 0 0 0 5px var(--asphalt);
  transition: left 1.1s var(--ease);
}
.ruler.has-over .ruler__dot { transition: left 1.7s var(--ease); }
.ruler__ticks i { position: absolute; top: 12px; width: 2px; height: 10px; margin-left: -1px; background: rgba(30, 30, 28, .45); }
.ruler__scale { position: relative; height: 30px; margin-top: 22px; font-size: 14px; color: var(--on-yellow-sub); }
.ruler__scale span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ruler__scale span:first-child { transform: none; }
.ruler__scale span:last-child { transform: translateX(-100%); }
.ruler__scale .is-limit { font-family: var(--font-d); font-weight: 700; font-size: 16px; color: var(--asphalt); }

.km__body { display: grid; grid-template-columns: minmax(260px, 4fr) 8fr; gap: 40px 64px; margin-top: 44px; }
.km__result dl { display: grid; gap: 14px; }
.km__result dt { font-size: 14px; color: var(--on-yellow-sub); }
.km__result dd { font-family: var(--font-d); font-weight: 620; font-stretch: 106%; font-size: 21px; line-height: 1.2; }
.km__result dd.km__big { font-style: italic; font-weight: 740; font-stretch: 112%; font-size: 56px; line-height: 1; letter-spacing: -.015em; }
.km__result .link { display: inline-block; margin-top: 22px; text-decoration-color: var(--asphalt); }
.km__note { margin-top: 14px; font-size: 14px; color: var(--on-yellow-sub); }
.km__lists { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; align-content: start; }
.km__group h3 { font-family: var(--font-d); font-weight: 650; font-stretch: 108%; font-size: 17px; margin-bottom: 8px; }
.dest {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px; width: 100%;
  background: none; border: 0; border-top: 1px solid rgba(30, 30, 28, .28);
  padding: 10px 8px 10px 0; text-align: left; font-size: 17px; font-weight: 500; color: var(--asphalt);
  transition: background-color .15s, padding .15s;
}
.km__group li:last-child .dest { border-bottom: 1px solid rgba(30, 30, 28, .28); }
.dest:hover { background: rgba(255, 255, 255, .35); }
.dest__km { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-d); font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dest__over { width: 14px; height: 10px; background: repeating-linear-gradient(-45deg, currentColor 0 2px, transparent 2px 4px); box-shadow: inset 0 0 0 1.5px currentColor; }
.dest[aria-pressed="true"] { background: var(--asphalt); color: var(--yellow); padding-left: 10px; padding-right: 10px; }

/* =========================================================
   Terms (asfalt)
   ========================================================= */
.terms { background: var(--asphalt); color: var(--on-dark); padding: 104px 0; }
.terms__head { display: grid; grid-template-columns: 4fr 8fr; gap: 28px 64px; align-items: start; }
.terms .h2 { color: var(--white); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding-top: 50px; font-size: 17px; color: var(--on-dark); max-width: 17em; }
.steps li::before {
  content: counter(s); position: absolute; top: 0; left: 0;
  font-family: var(--font-d); font-style: italic; font-weight: 740; font-stretch: 112%; font-size: 40px; line-height: 1; color: var(--yellow);
}
.terms__list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px;
  margin-top: 64px; border-top: 1px solid rgba(255, 255, 255, .16);
}
.terms__list div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.terms__list dt { font-family: var(--font-d); font-weight: 640; font-stretch: 108%; font-size: 18px; color: var(--yellow); line-height: 1.35; }
.terms__list dd { color: var(--on-dark-sub); }

/* =========================================================
   Gallery
   ========================================================= */
.gallery { padding: 104px 0; }
.gallery__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }
.gallery__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.g-item { display: block; width: 100%; padding: 0; border: 0; background: var(--concrete); aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2px; cursor: zoom-in; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.g-item:hover img { transform: scale(1.03); }

/* =========================================================
   Place / contact
   ========================================================= */
.place-sec { background: var(--concrete); padding: 104px 0; }
.place-sec__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px 64px; align-items: start; }
.addr { display: flex; flex-direction: column; margin-top: 28px; font-family: var(--font-d); font-weight: 600; font-stretch: 106%; font-size: 21px; line-height: 1.35; }
.contact-dl { display: grid; gap: 10px; margin: 24px 0 18px; }
.contact-dl div { display: grid; grid-template-columns: 170px 1fr; gap: 12px; }
.contact-dl dt { color: var(--grey); font-size: 15.5px; }
.contact-dl dd a { font-weight: 600; text-decoration: none; }
.contact-dl dd a:hover { text-decoration: underline; }
.place-sec .h3 { margin: 44px 0 12px; }
.dist li {
  display: grid; grid-template-columns: 1fr auto 74px; gap: 16px; align-items: baseline;
  padding: 10px 0; border-top: 1px solid #D3D3CE;
}
.dist li:last-child { border-bottom: 1px solid #D3D3CE; }
.dist b { font-family: var(--font-d); font-weight: 680; font-size: 21px; }
.dist li > span:last-child { color: var(--grey); text-align: right; font-size: 15.5px; font-variant-numeric: tabular-nums; }
.place-sec .note { margin-top: 12px; }
.place-sec__map { position: sticky; top: calc(var(--header-h) + 24px); }
.place-sec__map iframe { display: block; width: 100%; height: min(640px, 72vh); border: 0; border-radius: 2px; filter: grayscale(.25); }

/* =========================================================
   Closing + footer
   ========================================================= */
.closing { padding: 112px 0 120px; overflow: hidden; }
.closing__title {
  position: relative; display: inline-block;
  font-family: var(--font-d); font-weight: 680; font-stretch: 116%;
  font-size: clamp(38px, 5vw, 84px); line-height: 1; letter-spacing: -.018em; padding-bottom: .12em;
}
.closing__title::after {
  content: ''; position: absolute; left: -100vw; right: -1.15em; bottom: .02em;
  height: max(3px, .045em); background: var(--yellow);
}
.closing .lead { margin-top: 26px; }
.closing__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.closing__actions .btn { min-height: 54px; padding: 0 26px; }

.site-footer { background: var(--footer); color: var(--on-dark-sub); padding: 56px 0 48px; font-size: 15.5px; }
.site-footer__inner { display: grid; grid-template-columns: auto 1fr auto; gap: 24px 48px; align-items: start; }
.site-footer__logo { width: 104px; height: auto; }
.site-footer__cols { display: grid; gap: 10px; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer__copy { color: var(--on-dark-sub); }

/* Mobile sticky bar (mobilde) */
.sticky-book { display: none; }
.icon-btn { display: grid; place-items: center; border-radius: 2px; text-decoration: none; }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }

/* Lightbox */
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(14, 14, 13, .96); color: var(--white);
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(0, 0, 0, .6); }
.lightbox img { max-width: min(92vw, 1200px); max-height: 82vh; width: auto; height: auto; object-fit: contain; }
.lightbox__cap { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; font-size: 15.5px; color: var(--on-dark-sub); }
.lightbox__btn {
  position: absolute; width: 50px; height: 50px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); border: 0; border-radius: 2px; color: var(--white);
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .18); }
.lightbox__btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 18px; top: 50%; margin-top: -25px; }
.lightbox__next { right: 18px; top: 50%; margin-top: -25px; }

.scrim { position: fixed; inset: 0; z-index: 70; background: rgba(14, 14, 13, .5); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1279px) {
  .nav { gap: 20px; }
  .nav a { font-size: 15.5px; }
}

@media (max-width: 1179px) {
  .booking__row { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) auto minmax(0, 1fr); }
  .field--place { grid-column: 1 / 4; border-left: 0; border-top: 1px solid rgba(30, 30, 28, .22); }
  .booking__submit { grid-column: 4 / 5; border-top: 1px solid rgba(30, 30, 28, .22); }
  .btn--submit { width: 100%; }
  .fleet { padding-top: 196px; }
  .fleet__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav { display: none; }
  .site-header__actions { margin-left: auto; }
  .menu-toggle {
    display: grid; place-items: center; align-content: center; gap: 6px; width: 44px; height: 44px; padding: 0 11px;
    background: none; border: 0; color: var(--white);
  }
  .menu-toggle span { display: block; width: 22px; height: 2px; background: currentColor; transition: transform .2s; }
  .site-header.is-scrolled .menu-toggle { color: var(--asphalt); }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .mobile-menu {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 39;
    display: flex; flex-direction: column; gap: 4px;
    background: var(--white); padding: 24px var(--gutter) 40px; overflow-y: auto;
  }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu a:not(.btn) {
    font-family: var(--font-d); font-weight: 640; font-stretch: 110%; font-size: 26px;
    text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line);
  }
  .mobile-menu .btn { margin-top: 20px; align-self: flex-start; }
  .site-header.menu-open { background: var(--white); box-shadow: 0 1px 0 var(--line); }
  .site-header.menu-open .brand__logo--light { display: none; }
  .site-header.menu-open .brand__logo--dark { display: block; }
  .site-header.menu-open .menu-toggle, .site-header.menu-open .lang__btn.is-active { color: var(--asphalt); }
  .site-header.menu-open .lang__btn { color: var(--grey); }
  .km__body { grid-template-columns: 1fr; }
  .terms__head { grid-template-columns: 1fr; }
  .terms__list { grid-template-columns: 1fr; }
}

@media (max-width: 899px) {
  :root { --header-h: 64px; }
  body { font-size: 16.5px; }
  .brand__logo { height: 36px; }
  .site-header__cta { display: none; }

  .hero {
    height: auto; min-height: 0; max-height: none;
    background: var(--white);
  }
  .hero__media { position: relative; display: block; height: min(100vh, 177.7vw); height: min(88svh, 177.7vw); min-height: 560px; background: #4c6476; }
  .hero__media img { object-position: var(--hero-pos-m); }
  .hero::before {
    bottom: auto; height: min(88svh, 177.7vw);
    background: linear-gradient(180deg, rgba(16, 22, 28, .42) 0, rgba(16, 22, 28, .12) 30%, rgba(16, 22, 28, 0) 50%);
  }
  .hero__copy { top: calc(var(--header-h) + 22px); left: var(--gutter); width: calc(100% - 2 * var(--gutter)); }
  .hero__title { font-size: clamp(38px, 10.6vw, 64px); }
  .hero__title::after { right: calc(-1 * var(--gutter)); }
  .hero__lead { margin-top: 20px; font-size: 17.5px; max-width: 24em; }

  .booking {
    position: relative; left: auto; right: auto; bottom: auto; transform: none;
    margin: -64px var(--gutter) 0;
  }
  .booking__row { grid-template-columns: 1fr auto 1fr; }
  .field { padding: 13px 16px; }
  .field--car { grid-column: 1 / -1; border-left: 0; }
  .field--date, .field--days { border-top: 1px solid rgba(30, 30, 28, .22); }
  #startField { border-left: 0; }
  .field--place { grid-column: 1 / -1; }
  .booking__submit { grid-column: 1 / -1; border-left: 0; padding: 12px; }
  .btn--submit { min-height: 52px; }
  .booking__note { padding: 10px 16px 12px; }
  .field__value, .field__select { font-size: 18.5px; }
  .days__n { font-size: 28px; }

  /* Paneller alttan açılan sayfaya dönüşür */
  .popover {
    position: fixed; z-index: 80;
    left: 0 !important; right: 0 !important; top: auto !important; bottom: 0;
    width: 100% !important; max-width: none; max-height: 88vh; overflow-y: auto;
    border-radius: 10px 10px 0 0;
    padding: 18px 16px calc(18px + env(safe-area-inset-bottom));
    animation: sheet .3s var(--ease);
  }
  .datepicker { display: flex; flex-direction: column; overflow: hidden; }
  .datepicker__months { grid-template-columns: 1fr; gap: 18px; overflow-y: auto; min-height: 0; flex: 1 1 auto; overscroll-behavior: contain; }
  .day span { width: 44px; height: 44px; }
  .datepicker__times { flex: none; }
  .datepicker__foot { flex: none; }
  .datepicker__sum { margin-left: 0; width: 100%; }

  .fleet { padding: 72px 0 80px; }
  .tabs { gap: 4px 22px; margin: 28px 0 28px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { font-size: 19px; white-space: nowrap; }
  .fleet__grid { grid-template-columns: 1fr; gap: 36px; }
  .car { display: grid; grid-template-columns: minmax(0, 47%) minmax(0, 1fr); column-gap: 14px; align-content: start; }
  .car__img { grid-column: 1; grid-row: 1 / span 3; align-self: start; }
  .car__top, .car__name, .car__price { grid-column: 2; }
  .car__top { margin-top: 0; flex-wrap: wrap; gap: 4px 8px; }
  .car__name { font-size: 20px; }
  .car__price { margin-top: 6px; flex-wrap: wrap; gap: 0 5px; }
  .car__price b { font-size: 25px; }
  .car__spec, .car__cta { grid-column: 1 / -1; }
  .car__spec { margin-top: 12px; }
  .car__cta { margin-top: 8px; justify-self: start; }

  .km { padding: 80px 0 72px; }
  .ruler { margin-top: 44px; }
  .ruler__label { height: 58px; }
  .ruler__label span { bottom: 18px; font-size: 28px; }
  .ruler__scale span:not(.is-limit):not(:first-child):not(:last-child) { display: none; }
  .km__lists { grid-template-columns: 1fr; }
  .km__result dd.km__big { font-size: 46px; }

  .terms { padding: 80px 0; }
  .steps { grid-template-columns: 1fr; gap: 18px; }
  .steps li { padding: 0 0 0 46px; max-width: none; }
  .steps li::before { font-size: 30px; }
  .terms__list { margin-top: 44px; }
  .terms__list div { grid-template-columns: 1fr; gap: 4px; }

  .gallery { padding: 80px 0; }
  .gallery__grid { grid-template-columns: 1fr 1fr; gap: 8px; }

  .place-sec { padding: 80px 0; }
  .place-sec__grid { grid-template-columns: 1fr; }
  .place-sec__map { position: static; }
  .place-sec__map iframe { height: 360px; }
  .contact-dl div { grid-template-columns: 1fr; gap: 0; }
  .dist li { grid-template-columns: 1fr auto 66px; gap: 10px; }

  .closing { padding: 80px 0 88px; }
  .site-footer__inner { grid-template-columns: 1fr; }

  .sticky-book {
    display: flex; gap: 10px; align-items: center;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(30, 30, 28, .96);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    transform: translateY(110%);
    transition: transform .35s var(--ease);
  }
  .sticky-book .btn { flex: 1; min-height: 48px; }
  .sticky-book__icon { width: 48px; height: 48px; flex: none; color: var(--on-dark); box-shadow: inset 0 0 0 1px rgba(237, 237, 233, .35); }
  .sticky-book.is-visible { transform: none; }
  .site-footer { padding-bottom: 104px; }
}
@keyframes sheet { from { transform: translateY(100%); } to { transform: none; } }

@media (max-width: 420px) {
  .lang__btn { padding: 6px 5px; }
  .field__value, .field__select { font-size: 17.5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}
