/* Denizli Adliye Taksi
   Renkler aracın kendisinden: taksi sarısı, asfalt, beton. */

:root {
  --yellow: #FFC21A;
  --yellow-deep: #E0A400;
  --asphalt: #1B1D20;
  --asphalt-2: #26292D;
  --ink: #15171A;
  --concrete: #EDEDEA;
  --white: #FFFFFF;
  --grey: #5E626A;
  --grey-light: #A9ADB3;
  --line: #D6D6D1;
  --line-dark: #3A3D42;
  --plate-blue: #1F4FA8;
  --wa-green: #25D366;
  --error: #B42318;

  --f-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: 20px;
  --max: 1160px;
  --radius: 6px;
  --bar-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  /* Klavye/odakla kaydırılan öğe mobildeki sabit çağrı barının altında kalmasın */
  scroll-padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom));
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--concrete);
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom));
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; padding: 0; }
ul { list-style: none; }
svg { width: 1em; height: 1em; flex: none; }

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 2px;
}
.sec--yellow :focus-visible { outline-color: var(--asphalt); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--yellow); color: var(--ink);
  padding: 10px 14px; font-weight: 600; border-radius: var(--radius);
}
.skip:focus { top: 12px; }

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

/* Doldurulacak alan işareti */
.todo {
  display: inline-block;
  padding: 0 .45em;
  border: 2px dashed var(--yellow-deep);
  background: rgba(255, 194, 26, .18);
  color: inherit;
  font-family: var(--f-body);
  font-size: .82em;
  font-weight: 600;
  letter-spacing: .02em;
  border-radius: 3px;
  white-space: nowrap;
}
.sec--yellow .todo { border-color: var(--asphalt); background: rgba(27, 29, 32, .08); }

/* ---------- Düğmeler ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 52px;
  padding: 0 22px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--f-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.btn svg { font-size: 1.05em; }

.btn--call { background: var(--yellow); color: var(--ink); }

/* Numaralı arama düğmesi: üstte numara, altında küçük çağrı */
.btn--num { min-height: 64px; }
.btn__stack { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.05; }
.btn__main { font-size: 1.5rem; letter-spacing: .02em; white-space: nowrap; }
.btn__sub {
  margin-top: 3px;
  font-family: var(--f-body);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: 0;
}

.btn--wa { background: var(--wa-green); color: var(--ink); }
.btn--wa[aria-busy="true"] { cursor: progress; }

.btn--dark { background: var(--asphalt); color: var(--white); }
.btn--dark:disabled { opacity: .55; cursor: progress; }

.btn--line { border-color: var(--asphalt); color: var(--ink); background: transparent; }

.btn--wide { width: 100%; }

/* ---------- Üst bar ---------- */
.top {
  position: sticky; top: 0; z-index: 40;
  background: var(--asphalt);
  color: var(--white);
  border-bottom: 1px solid var(--line-dark);
}
.top__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 60px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: .01em;
}
.nav { display: none; }
.top__call {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 4px;
  color: var(--yellow);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  white-space: nowrap;
}
.top__call span { display: none; }
.top__call svg { font-size: 1.35rem; }
.top__call {
  margin-left: auto;
  transition: background-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}

/* "Yükle": yükleme mümkünse görünür (main.js .can-install ekler).
   Mobilde telefon ikonunun solunda, masaüstünde numara düğmesinin solunda. */
.top__install {
  -webkit-appearance: none;
  appearance: none;
  display: none;
  align-items: center; justify-content: center; gap: 6px;
  min-height: 44px;
  margin: 0 0 0 auto;
  padding: 0 12px;
  border: 1.5px solid var(--yellow);
  border-radius: var(--radius);
  background: transparent;
  color: var(--yellow);
  font: inherit;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.top__install svg { font-size: 1.15rem; }
.can-install .top__install { display: inline-flex; }
/* "Yükle" görünürken telefon ikonu ona yaslanır (ikisi birden sağa itilmesin) */
.can-install .top__call { margin-left: -8px; }
/* Dar ekranda (390px altı) yazı logoyu sıkıştırır: sadece ikon (adı aria-label'dan gelir) */
@media (max-width: 389px) {
  .top__install { width: 44px; padding: 0; }
  .top__install span { display: none; }
}

/* iPhone talimatı: header'ın altında küçük kutu */
.install-tip {
  position: absolute; top: calc(100% + 8px); right: var(--gutter);
  display: flex; align-items: center; gap: 4px;
  max-width: min(300px, calc(100vw - 2 * var(--gutter)));
  padding: 6px 4px 6px 14px;
  background: var(--asphalt-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px -12px rgba(0, 0, 0, .6);
  font-size: .92rem;
  line-height: 1.4;
}
.install-tip[hidden] { display: none; }

/* Hamburger: açıkken X'e döner */
.burger {
  position: relative;
  width: 48px; height: 48px;
  margin: 0 -12px 0 -10px;
  padding: 0;
  background: none; border: 0;
  color: var(--white);
  cursor: pointer;
  touch-action: manipulation;
}
.burger__bars,
.burger__bars::before,
.burger__bars::after {
  position: absolute; left: 13px;
  width: 22px; height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.burger__bars { top: 23px; }
.burger__bars::before,
.burger__bars::after { content: ""; left: 0; }
.burger__bars::before { transform: translateY(-7px); }
.burger__bars::after { transform: translateY(7px); }
.burger[aria-expanded="true"] .burger__bars { background: transparent; }
.burger[aria-expanded="true"] .burger__bars::before { transform: rotate(45deg); background: currentColor; }
.burger[aria-expanded="true"] .burger__bars::after { transform: rotate(-45deg); background: currentColor; }

/* Mobil menü paneli: header'ın altından açılır, arkası karartılır */
.menu {
  position: fixed; left: 0; right: 0; bottom: 0;
  top: var(--menu-top, 61px);
  z-index: 45;
  background: rgba(10, 11, 12, .6);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s var(--ease), visibility 0s linear .25s;
}
.menu.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity .25s var(--ease);
}
.menu__panel {
  max-height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 4px var(--gutter);
  background: var(--asphalt);
  color: var(--white);
  border-bottom: 1px solid var(--line-dark);
  transform: translateY(-12px);
  transition: transform .25s var(--ease);
}
.menu.is-open .menu__panel { transform: none; }
.menu__links a {
  display: flex; align-items: center;
  min-height: 56px;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.6rem;
  text-decoration: none;
}
/* Numara: header'daki sade telefon linkiyle aynı görünüm */
.menu__call {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 56px;
  color: var(--yellow);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  white-space: nowrap;
}
.menu__call svg { font-size: 1.35rem; }

/* Menü açıkken sayfa kaymaz, alttaki sabit bar gizlenir.
   Sadece html'e verilir: body'ye de verilirse sticky header kayar. */
html.menu-open,
html.lb-open { overflow: hidden; }
.menu-open .callbar.is-on,
.lb-open .callbar.is-on {
  transform: translateY(100%);
  visibility: hidden;
  transition: transform .3s ease, visibility 0s linear .3s;
}

/* ---------- Açılış ---------- */
/* Mobilde fotoğraf sadece üst kısımda, içerik ilk ekrana sığar */
.hero {
  position: relative;
  background: var(--asphalt);
  color: var(--white);
  display: flex;
  overflow: hidden;
}
.hero__img { position: absolute; inset: 0 0 auto; height: 60%; }
.hero__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  /* %22-32 arası koyu: "Merkezefendi, Denizli" sarı aracın üstüne düşüyor */
  background: linear-gradient(180deg, rgba(27, 29, 32, .05) 0%, rgba(27, 29, 32, .8) 22%, rgba(27, 29, 32, .95) 40%, var(--asphalt) 60%);
}
.hero__in {
  position: relative; z-index: 1;
  padding-top: clamp(120px, 20svh, 200px);
  padding-bottom: 40px;
}
.hero__where {
  color: var(--yellow);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 10px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .55);
}
.hero__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(3.4rem, 15vw, 7.5rem);
  line-height: .88;
  letter-spacing: -.01em;
  max-width: 9ch;
  text-wrap: balance;
}
.hero__text {
  margin-top: 18px;
  max-width: 34ch;
  font-size: 1.12rem;
  color: #E4E5E7;
  text-wrap: pretty;
}
.hero__actions {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 24px;
}
.hero__actions .btn { flex: 1 1 200px; }
.hero__alt { margin-top: 14px; font-size: .98rem; }
.hero__alt a { color: #E4E5E7; text-underline-offset: 3px; }

/* ---------- Bölümler ---------- */
.sec { padding: 64px 0; }
.sec--tight { padding: 52px 0; }
.sec--dark { background: var(--asphalt); color: var(--white); }
.sec--yellow { background: var(--yellow); color: var(--ink); }

.sec__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 9vw, 4.2rem);
  line-height: .95;
  letter-spacing: -.005em;
  text-wrap: balance;
}
.sec__lead {
  margin-top: 12px;
  max-width: 46ch;
  color: var(--grey);
  font-size: 1.08rem;
  text-wrap: pretty;
}
.sec--dark .sec__lead { color: var(--grey-light); }
.sec--yellow .sec__lead { color: #3D3420; }

/* Hizmetler */
.services {
  margin-top: 36px;
  border-top: 2px solid var(--ink);
}
.service {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.service__icon {
  display: grid; place-items: center; flex: none;
  width: 48px; height: 48px;
  background: var(--yellow);
  color: var(--ink);
  border-radius: var(--radius);
  font-size: 24px;
  transition: transform .2s var(--ease);
}
.service__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.65rem;
  line-height: 1.1;
}
.service__text { margin-top: 4px; color: var(--grey); text-wrap: pretty; }

/* Güven */
.guven { display: grid; gap: 44px; }
.trust { margin-top: 30px; display: grid; gap: 20px; }
.trust__item { display: flex; gap: 14px; }
.trust__check {
  display: grid; place-items: center; flex: none;
  width: 30px; height: 30px; margin-top: 2px;
  border-radius: 50%;
  background: var(--yellow); color: var(--ink);
  font-size: 16px;
}
.trust__item h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.45rem;
  line-height: 1.15;
}
.trust__item p { color: var(--grey-light); margin-top: 2px; text-wrap: pretty; }

.plates__title {
  margin-top: 38px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.3rem;
}
.plates { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.plate {
  display: inline-flex; align-items: stretch;
  height: 44px;
  background: var(--white);
  color: #000;
  border: 2px solid #000;
  border-radius: 4px;
  overflow: hidden;
}
.plate__tr {
  display: grid; place-items: end center;
  width: 22px; padding-bottom: 4px;
  background: var(--plate-blue); color: var(--white);
  font-size: .62rem; font-weight: 600;
}
.plate__no {
  display: grid; place-items: center;
  padding: 0 14px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: .06em;
}
.plate--todo { outline: 2px dashed var(--yellow); outline-offset: 3px; }
.plate--todo .plate__no { color: #8A8E94; }
.license { margin-top: 18px; color: var(--grey-light); font-size: .95rem; }

/* Mobil: ilk fotoğraf tam genişlik yatay, diğerleri altında ikişer.
   Sayı değişip sona tek fotoğraf kalırsa o da tam genişlik olur. */
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.gallery__item { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--asphalt-2); }
.gallery__item img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  transition: transform .25s var(--ease);
}
.gallery__item:first-child,
.gallery__item:last-child:nth-child(even) { grid-column: 1 / -1; }
.gallery__item:first-child img,
.gallery__item:last-child:nth-child(even) img { aspect-ratio: 4 / 3; object-position: 50% 62%; }
.gallery__btn {
  display: block; width: 100%; height: 100%;
  padding: 0; border: 0; background: none;
  cursor: zoom-in;
}
.gallery__btn:focus-visible { outline: 3px solid var(--yellow); outline-offset: -3px; }
/* Büyüteç: fotoğrafın büyütülebildiğini gösterir */
.gallery__zoom {
  position: absolute; right: 8px; bottom: 8px;
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(27, 29, 32, .6);
  color: var(--white);
  font-size: 1.15rem;
  pointer-events: none;
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}

/* Lightbox */
.lb {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  max-width: 100%; max-height: 100%;
  margin: 0; padding: 0; border: 0;
  overflow: hidden;
  background: transparent;
  color: var(--white);
}
.lb[open] { animation: lb-in .2s var(--ease); }
.lb::backdrop { background: rgba(10, 11, 12, .94); }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
/* Mobilde slayt ekrandan 72px dar: yanlardaki fotoğrafların 28px kenarı görünür */
.lb__track {
  display: flex;
  gap: 8px;
  padding-inline: 36px;
  height: 100%;
  overflow-x: auto;
  overscroll-behavior: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.lb__track::-webkit-scrollbar { display: none; }
.lb__slide {
  flex: 0 0 calc(100vw - 72px);
  display: flex; align-items: center; justify-content: center;
  min-width: 0;
  padding: 68px 0 calc(112px + env(safe-area-inset-bottom));
  scroll-snap-align: center;
  scroll-snap-stop: always;
}
.lb__slide img {
  width: auto; height: auto;
  max-width: 100%; max-height: 100%;
  min-height: 0;
  object-fit: contain;
  border-radius: var(--radius);
}
.lb__close,
.lb__nav {
  position: absolute; z-index: 1;
  display: grid; place-items: center;
  width: 52px; height: 52px;
  padding: 0; border: 0; border-radius: 50%;
  background: rgba(27, 29, 32, .75);
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}
.lb__close { top: 10px; right: 10px; }
.lb__close:focus-visible,
.lb__nav:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
/* Oklar sadece fare olan cihazlarda; dokunmatikte parmakla kaydırılır */
.lb__nav { display: none; top: 50%; margin-top: -26px; }
.lb__nav--prev { left: 16px; }
.lb__nav--prev svg { transform: scaleX(-1); }
.lb__nav--next { right: 16px; }
.lb__foot {
  position: absolute; left: 0; right: 0;
  bottom: calc(14px + env(safe-area-inset-bottom));
  padding: 0 var(--gutter);
  text-align: center;
  pointer-events: none;
}
/* Nokta göstergesi: aktif nokta sarı, dokununca o fotoğrafa geçer */
.lb__dots { display: flex; justify-content: center; gap: 2px; margin-bottom: 4px; }
.lb__dot {
  display: grid; place-items: center;
  width: 28px; height: 28px;
  padding: 0; border: 0; border-radius: 50%;
  background: none;
  cursor: pointer;
  pointer-events: auto;
}
.lb__dot::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .35);
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.lb__dot[aria-current="true"]::before { background: var(--yellow); transform: scale(1.25); }
.lb__dot:focus-visible { outline: 2px solid var(--yellow); outline-offset: -2px; }
.lb--single .lb__dots { display: none; }
.lb__count {
  display: block;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: .04em;
}
.lb__alt { display: block; margin-top: 2px; font-size: .92rem; color: var(--grey-light); }
@media (hover: hover) and (pointer: fine) {
  .lb__nav { display: grid; }
  .lb--single .lb__nav { display: none; }
  .lb__track { gap: 0; padding-inline: 0; }
  .lb__slide { flex-basis: 100%; padding-left: 88px; padding-right: 88px; }
}

/* Konum */
.konum { display: grid; gap: 28px; }
.addr {
  margin-top: 18px;
  font-style: normal;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.45;
}
.addr__note { margin-top: 8px; color: var(--grey); }
.konum__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.konum__actions .btn { flex: 1 1 160px; }
.map {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}
.map iframe { display: block; width: 100%; height: 340px; border: 0; }
@media (min-width: 900px) { .map iframe { height: 440px; } }

/* Saatler */
/* Konumla aynı zeminde: aradaki boşluk tek bölüm boşluğu kadar */
#konum + #saatler { padding-top: 0; }
.saatler { display: grid; gap: 22px; }
.hours { border-top: 2px solid var(--ink); }
.hours__row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.08rem;
}
.hours__row dt { font-weight: 500; }
.hours__row dd {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.3rem;
  text-align: right;
}

/* Geri arama formu */
.formwrap { display: grid; gap: 30px; }
.form {
  display: grid; gap: 16px;
  position: relative;
}
.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}
.field input {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 2px solid var(--asphalt);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 1.05rem;
}
.field input::placeholder { color: #8A8E94; }
.field input:focus { outline: 3px solid var(--asphalt); outline-offset: 1px; }
.field input[aria-invalid="true"] { border-color: var(--error); }
.field__err {
  margin-top: 6px;
  color: var(--error);
  font-weight: 600;
  font-size: .95rem;
}
.field__err:empty { display: none; }
.field__hint { margin-top: 4px; font-size: .9rem; color: #5A4C24; }

.form.is-sent .field,
.form.is-sent > .btn { display: none; }
.form__ok {
  display: flex; gap: 14px;
  padding: 22px;
  background: var(--asphalt);
  color: var(--white);
  border-radius: var(--radius);
  animation: pop .32s var(--ease);
}
.form__ok[hidden] { display: none; }
.form__ok > svg {
  font-size: 30px;
  color: var(--yellow);
  margin-top: 2px;
}
.form__ok-title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.9rem;
  line-height: 1;
  margin-bottom: 8px;
}
.form__ok a { color: var(--yellow); }
.linkbtn {
  margin-top: 14px;
  min-height: 44px;
  padding: 0;
  background: none; border: 0;
  color: var(--white);
  font: inherit; font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
@keyframes pop {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* SSS: sütun dar ama diğer bölümlerle aynı sol çizgide */
.narrow > * { max-width: 740px; }
.faq { margin-top: 30px; border-top: 2px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 64px;
  padding: 14px 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1.15;
  cursor: pointer;
  list-style: none;
  transition: background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus {
  position: relative;
  width: 28px; height: 28px; flex: none;
  border-radius: 50%;
  background: var(--yellow);
  transition: background-color .2s var(--ease), transform .25s var(--ease);
}
.faq__plus::before,
.faq__plus::after {
  content: "";
  position: absolute; left: 50%; top: 50%;
  width: 12px; height: 2px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform .2s var(--ease);
}
.faq__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__a { padding: 0 0 20px; color: #3C3F44; max-width: 62ch; }
.faq__a a { white-space: nowrap; text-underline-offset: 3px; }

/* İletişim */
.iletisim { display: grid; gap: 14px; }
.bignum {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 12vw, 6rem);
  line-height: 1;
  letter-spacing: .01em;
  color: var(--yellow);
  text-decoration: none;
  width: fit-content;
}
.iletisim__addr { color: var(--grey-light); }
.social { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.social a {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 14px;
  border: 1px solid var(--line-dark); border-radius: var(--radius);
  text-decoration: none;
}

/* Uygulama olarak ekle (main.js gösterir) */
.install { margin-top: 18px; }
/* Düğme de not da gizliyken kutu boşluk bırakmasın */
.install:not(:has(> :not([hidden]))) { display: none; }
.install__btn[hidden],
.install__ios[hidden] { display: none; }
.btn--outline { border-color: rgba(255, 255, 255, .35); color: var(--white); background: transparent; }
.install__btn { min-height: 48px; font-size: 1.15rem; }
.install__ios {
  display: flex; align-items: center; gap: 6px;
  max-width: 46ch;
  padding: 6px 4px 6px 14px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  color: var(--grey-light);
  font-size: .92rem;
  line-height: 1.4;
}
.install__close {
  display: grid; place-items: center; flex: none;
  width: 44px; height: 44px;
  padding: 0; border: 0; border-radius: 50%;
  background: none;
  color: var(--grey-light);
  font-size: 1.2rem;
  cursor: pointer;
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}

/* Alt bilgi */
/* İletişimle aynı zemin, araya ince çizgi */
.foot {
  background: var(--asphalt);
  border-top: 1px solid var(--line-dark);
  color: var(--grey-light);
  font-size: .9rem;
  padding: 22px 0;
}
.foot__in { display: grid; gap: 4px; }
.foot__credit { font-size: .8rem; color: #8E9298; }
.foot__credit a { text-underline-offset: 2px; }

/* Mobil sabit çağrı barı */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 8px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: var(--asphalt);
  border-top: 1px solid var(--line-dark);
  /* Hero görünürken gizli, main.js .is-on ekleyince aşağıdan kayarak gelir */
  transform: translateY(100%);
  visibility: hidden;
  transition: transform .3s ease, visibility 0s linear .3s;
}
.callbar.is-on {
  transform: none;
  visibility: visible;
  transition: transform .3s ease;
}
.callbar .btn { min-height: 54px; padding: 0 12px; }

/* ---------- Scroll animasyonları ----------
   .js-anim sınıfını <head>'deki satır ekler (JS yoksa ya da hareket azaltma
   açıksa hiçbir şey gizlenmez), .anim-ready'yi main.js içerik hazır olunca
   ekler. Sadece transform ve opacity kullanılır. */
.js-anim .hero__in > * { opacity: 0; }
.anim-ready .hero__img img { animation: hero-settle 1.6s var(--ease) both; }
.anim-ready .hero__in > * { animation: rise .6s ease-out both; }
.anim-ready .hero__in > :nth-child(1) { animation-delay: .1s; }
.anim-ready .hero__in > :nth-child(2) { animation-delay: .2s; }
.anim-ready .hero__in > :nth-child(3) { animation-delay: .3s; }
.anim-ready .hero__in > :nth-child(4) { animation-delay: .4s; }
.anim-ready .hero__in > :nth-child(5) { animation-delay: .5s; }
@keyframes hero-settle { from { transform: scale(1.05); } to { transform: none; } }
@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

/* Ekrana girerken belirenler; main.js .is-in ekler. Harita ve form sadece solar. */
.js-anim :is(.sec__title, .sec__lead, .service, .trust__item, .gallery__item, .faq__item, .map, .form) {
  opacity: 0;
  transition: opacity .5s ease-out, transform .5s ease-out;
  transition-delay: var(--rv-delay, 0ms);
}
.js-anim :is(.sec__title, .sec__lead, .service, .trust__item, .gallery__item, .faq__item) { transform: translateY(20px); }
.js-anim :is(.map, .form) { transition-duration: .7s; }
.js-anim .is-in { opacity: 1; transform: none; }

/* ---------- Geniş ekranlar ---------- */
@media (min-width: 560px) {
  :root { --gutter: 28px; }
  .top__call span { display: inline; }
}

@media (min-width: 760px) {
  .services { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
  /* Tek sıra, eşit boy */
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery__item:first-child,
  .gallery__item:last-child:nth-child(even) { grid-column: auto; }
  .gallery__item:first-child img,
  .gallery__item:last-child:nth-child(even) img { aspect-ratio: 3 / 4; }
}

@media (min-width: 900px) {
  :root { --gutter: 40px; --bar-h: 0px; }
  body { padding-bottom: 0; }
  .callbar { display: none; }
  .burger, .menu { display: none; }
  /* Masaüstü: [menü] [Yükle] [numara]; Yükle numara düğmesiyle aynı boyda */
  .top__install { margin: 0; padding: 0 16px; }
  .can-install .top__call { margin-left: 0; }

  .nav { display: flex; gap: 28px; margin-left: auto; margin-right: 12px; }
  .nav a {
    text-decoration: none; font-weight: 500; color: #D3D5D8;
    padding: 10px 0;
  }
  .top__call {
    margin-left: 0;
    background: var(--yellow); color: var(--ink);
    padding: 0 16px; border-radius: var(--radius);
  }

  .hero { min-height: 640px; }
  .hero__img { inset: 0 0 0 52%; height: auto; }
  .hero__img img { object-position: 50% 60%; }
  .hero::after {
    background: linear-gradient(90deg, var(--asphalt) 52%, rgba(27, 29, 32, .6) 60%, rgba(27, 29, 32, 0) 72%);
  }
  .hero__in {
    display: flex; flex-direction: column; justify-content: center;
    padding-top: 80px; padding-bottom: 80px;
  }
  .hero__in > * { max-width: 560px; }
  .hero__actions .btn { flex: 0 0 auto; }

  .sec { padding: 104px 0; }
  .sec--tight { padding: 80px 0; }
  .sec__lead { margin-top: 18px; }

  .guven { grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
  /* Solda uzun fotoğraf, sağdaki iki fotoğrafın toplam boyunu tam doldurur */
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery__item:first-child { grid-row: span 2; }
  .gallery__item:first-child .gallery__btn { position: absolute; inset: 0; }
  .gallery__item:first-child img { height: 100%; aspect-ratio: auto; }

  .konum { grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
  .saatler { grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
  .formwrap { grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
  .form { grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .form > .btn, .form__ok { grid-column: 1 / -1; }
  .foot__in { display: flex; justify-content: space-between; gap: 20px; }
}

@media (min-width: 1100px) {
  .services { grid-template-columns: 1fr 1fr 1fr; }
}

/* ---------- Etkileşimler ----------
   Geçişler 150-250ms; sadece transform, opacity, box-shadow, background-color. */
html { -webkit-tap-highlight-color: transparent; }

/* Klavye odağı: sarı halka + koyu iç halka (açık ve koyu zeminde görünür) */
:is(a, button, summary):focus-visible { box-shadow: 0 0 0 3px var(--ink); }
.sec--yellow :is(a, button, summary):focus-visible { box-shadow: 0 0 0 3px var(--yellow); }
/* Menü paneli kaydırılabilir, halka kesilmesin diye içeride */
.menu__links a:focus-visible { outline-offset: -3px; box-shadow: none; }

@keyframes ring {
  0%, 100% { transform: rotate(0); }
  20% { transform: rotate(-14deg); }
  40% { transform: rotate(11deg); }
  60% { transform: rotate(-7deg); }
  80% { transform: rotate(3deg); }
}
@keyframes wa-pop {
  0%, 100% { transform: none; }
  40% { transform: scale(1.18) rotate(-8deg); }
  70% { transform: scale(.96); }
}

/* Dokunmatik: dokunulabilir her öğe en az 48x48px. Metin içi linklerde alan
   dolgu + negatif boşlukla büyür, düzen kaymaz. Sadece parmakla kullanılan
   cihazlarda, masaüstü görünümü ve hover çizgileri etkilenmez. */
@media (pointer: coarse) {
  .skip { min-height: 48px; display: inline-flex; align-items: center; }
  .brand,
  .top__install,
  .linkbtn,
  .social a { min-height: 48px; }
  .top__call { min-height: 48px; min-width: 48px; justify-content: center; }
  .install__close { width: 48px; height: 48px; }
  .bignum { display: flex; align-items: center; min-height: 48px; }
  .hero__alt a,
  .form__ok a,
  .foot__credit a {
    display: inline-block;
    padding-block: 16px;
    margin-block: -16px;
  }
  /* Satırı daha yüksek: 12px yeterli, fazlası üstteki WhatsApp düğmesine taşar */
  .hero__alt a { padding-block: 12px; margin-block: -12px; }
  .lb__dot { width: 48px; height: 48px; }
  .lb__dots { gap: 0; }
}
@media (pointer: coarse) and (max-width: 389px) {
  .top__install { width: 48px; }
}
/* Telefon ikonu 48px olunca "Yükle" yazısıyla header sığsın diye aralık daralır.
   İkonlar kutunun ortasında olduğu için gözle görülen boşluk aynı kalır. */
@media (pointer: coarse) and (max-width: 559px) {
  .top__in { gap: 10px; }
  .burger { flex: none; }
}

/* Masaüstü hover: dokunmatikte takılı kalmasın diye sadece fareli cihazlarda */
@media (hover: hover) and (pointer: fine) {
  /* Ana düğmeler: 2px kalkar, yumuşak gölge, renk hafif canlanır */
  .btn--call:hover,
  .btn--wa:hover,
  .btn--dark:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .55);
  }
  .btn--call:hover { background: #FFD04D; }
  .btn--wa:hover { background: #4BE07F; }
  .btn--dark:not(:disabled):hover { background: #2E3238; }
  .btn--call:hover > svg,
  .top__call:hover > svg { animation: ring .5s var(--ease); }
  .btn--wa:hover > svg { animation: wa-pop .45s var(--ease); }

  /* Çerçeveli düğme: zemin hafifçe dolar */
  .btn--line:hover { background: rgba(27, 29, 32, .08); }
  .btn--outline:hover,
  .install__close:hover { background: rgba(255, 255, 255, .08); }
  .top__install:hover { background: rgba(255, 194, 26, .12); }

  /* Metin linkleri: alt çizgi soldan sağa gelir */
  .nav a,
  .hero__alt a,
  .foot__credit a,
  .form__ok a,
  .bignum,
  .menu__links a > span,
  .menu__call > span { position: relative; }
  .hero__alt a,
  .foot__credit a,
  .form__ok a { text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); }
  .bignum { text-decoration: none; }
  .nav a::after,
  .hero__alt a::after,
  .foot__credit a::after,
  .form__ok a::after,
  .bignum::after,
  .menu__links a > span::after,
  .menu__call > span::after {
    content: "";
    position: absolute; left: 0; right: 0; bottom: 0;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s var(--ease);
  }
  .nav a::after { bottom: 6px; }
  .bignum::after { height: 3px; }
  .menu__links a > span::after { height: 2px; }
  .nav a:hover::after,
  .hero__alt a:hover::after,
  .foot__credit a:hover::after,
  .form__ok a:hover::after,
  .bignum:hover::after,
  .menu__links a:hover > span::after,
  .menu__call:hover > span::after { transform: scaleX(1); }
  .nav a:hover { color: var(--white); }
  .menu__links a:hover { color: var(--yellow); }
  .hero__alt a:hover { color: var(--white); }
  .foot__credit a:hover { color: var(--grey-light); }

  /* Galeri: fotoğraf içinde hafif zoom, büyüteç belirginleşir */
  .gallery__btn:hover img { transform: scale(1.04); }
  .gallery__btn:hover .gallery__zoom { background: rgba(27, 29, 32, .85); transform: scale(1.1); }

  /* SSS: satır zemini değişir (yanlara taşan gölgeyle, düzen kaymaz), + döner */
  .faq__item summary:hover {
    background: rgba(27, 29, 32, .04);
    box-shadow: -14px 0 0 rgba(27, 29, 32, .04), 14px 0 0 rgba(27, 29, 32, .04);
  }
  .faq__item summary:hover .faq__plus { background: #FFD04D; }
  .faq__item:not([open]) summary:hover .faq__plus { transform: rotate(90deg); }

  /* Hizmet kartı: ikon kutusu hafif büyür */
  .service:hover .service__icon { transform: scale(1.08); }

  .lb__close:hover,
  .lb__nav:hover { background: var(--asphalt-2); }
}

/* Header'daki sarı numara düğmesi sadece geniş ekranda düğme görünümünde */
@media (hover: hover) and (pointer: fine) and (min-width: 900px) {
  .top__call:hover {
    background: #FFD04D;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .55);
  }
}

/* Basma hissi. Hover kurallarından sonra ve en az onlar kadar özgül
   (:not(:disabled)) olmalı ki basınca kalkma yerine içeri çöksün. */
:is(.btn, .top__call, .top__install, .burger, .lb__close, .lb__nav, .gallery__btn, .install__close):not(:disabled):active {
  transform: scale(.97);
  transition-duration: .15s;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js-anim :is(.sec__title, .sec__lead, .service, .trust__item, .gallery__item, .faq__item, .map, .form),
  .js-anim .hero__in > * { opacity: 1; transform: none; }
  /* Hareketli hover/basma efektleri kapalı, sadece renk değişimi kalır */
  :is(.btn, .top__call):not(:disabled):hover,
  :is(.btn, .top__call, .top__install, .burger, .lb__close, .lb__nav, .gallery__btn, .install__close):not(:disabled):active,
  .gallery__btn:hover img,
  .gallery__btn:hover .gallery__zoom,
  .service:hover .service__icon,
  .faq__item:not([open]) summary:hover .faq__plus { transform: none; }
}
