@import url("../fonts/poppins.css");

/* ===========================================================================
   ModuYapı Kurumsal — Site stilleri
   Tasarım belirteçleri orijinal Elementor düzeninden birebir alınmıştır.
   =========================================================================== */

:root {
  --ink:        #222222;   /* başlıklar */
  --body:       #444444;   /* gövde metni */
  --muted:      #6b6b6b;
  --accent:     #fcbf02;   /* sarı vurgu */
  --accent-ink: #222222;
  --dark:       #4a4a4a;   /* buton / üst şerit */
  --soft:       #f2f2f2;   /* açık bölüm zemini */
  --line:       #dddddd;
  --blue:       #358fe5;
  --white:      #ffffff;
  --footer:     #333333;
  --footer-bar: #222222;

  --radius:     15px 5px;  /* imza asimetrik köşe */
  --radius-sm:  10px 3px;
  --container:  1350px;  /* içerik sütunu 1300px + 2×25px kenar */
  --gutter:     25px;
  --gap:        30px;
  --section-y:  70px;

  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --shadow: 0 10px 30px rgba(0, 0, 0, .08);
  --transition: .28s cubic-bezier(.4, 0, .2, 1);
}

/* --------------------------------------------------------------------------
   Sıfırlama
   -------------------------------------------------------------------------- */

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
button { font: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; color: var(--ink); font-weight: 700; letter-spacing: -1px; line-height: 1.2; }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }
/* İkonlar için taban boyut: özel kuralı olmayan hiçbir ikon dev görünmez.
   Daha sonra gelen .btn svg gibi kurallar bunu geçersiz kılar. */
svg { flex: none; }
svg.icon { width: 16px; height: 16px; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: 12px 20px;
}
.skip-link:focus { left: 0; }

.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;
}

/* --------------------------------------------------------------------------
   Yerleşim
   -------------------------------------------------------------------------- */

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

.section { padding-block: var(--section-y); }
.section--soft { background: var(--soft); }
.section--dark { background: var(--ink); color: rgba(255, 255, 255, .85); }
.section--tight { padding-block: 56px; }

.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* --------------------------------------------------------------------------
   Bölüm başlıkları
   -------------------------------------------------------------------------- */

/* Orijinal ritim: etiket → 10px → çizgi → 20px → başlık → 21px → açıklama → 35px → içerik */
.section-head { margin-bottom: 35px; }
.section-head--center { text-align: center; }

.eyebrow {
  display: block;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: .5px;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 10px;
}

.rule {
  width: 200px; height: 5px;
  background: var(--ink);
  border-radius: 20px;
  margin-bottom: 20px;
}
.section-head--center .rule { margin-inline: auto; }
.section-head--light .rule { background: #fff; }

.section-title {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -2px;
  color: var(--ink);
}
.section-title--light { color: #fff; }

.section-lead { margin-top: 21px; font-size: 16px; line-height: 1.5; color: var(--body); }

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 35px;
  background: var(--dark);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  border: 1px solid var(--dark);
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); transform: translateY(-2px); }
.btn svg { width: 16px; height: 16px; }

.btn--accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: var(--dark); border-color: var(--dark); color: #fff; }

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

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

.btn--sm { padding: 11px 22px; font-size: 13px; }
.btn--block { width: 100%; justify-content: center; }

/* --------------------------------------------------------------------------
   Üst şerit
   -------------------------------------------------------------------------- */

.topbar {
  background: var(--dark);
  color: #fff;
  font-size: 14px;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 41px;
}
.topbar__list { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.topbar__list a { display: inline-flex; align-items: center; gap: 8px; color: #fff; }
.topbar__list a:hover { color: var(--accent); }
.topbar__list svg { width: 14px; height: 14px; }

/* Orijinal: 16px ikon, kutu yok, 28px adım (12px aralık) */
.topbar__social { display: flex; align-items: center; gap: 12px; }
.topbar__social a {
  display: grid; place-items: center;
  color: #fff;
  transition: color var(--transition), transform var(--transition);
}
.topbar__social a:hover { color: var(--accent); transform: scale(1.15); }
.topbar__social svg { width: 16px; height: 16px; }

/* --------------------------------------------------------------------------
   Başlık / gezinme
   -------------------------------------------------------------------------- */

.header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .07);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 93px;
}
.header__logo { flex: none; margin-right: auto; }
.header__logo img { width: 233px; max-width: 100%; height: auto; }

.nav { display: flex; align-items: center; gap: 20px; }
.nav__item { position: relative; }

.nav__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.5px;
  color: var(--body);
  white-space: nowrap;
}
.nav__link:hover,
.nav__item:hover > .nav__link,
.nav__link.is-active { color: var(--accent); }
.nav__link svg { width: 15px; height: 15px; }

.nav__sub {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  padding: 8px 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 20;
}
.nav__item:hover > .nav__sub,
.nav__item:focus-within > .nav__sub { opacity: 1; visibility: visible; transform: translateY(0); }

.nav__sub .nav__sub { top: 0; left: 100%; }

.nav__sub a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.5px;
  color: var(--body);
  line-height: 1.35;
}
.nav__sub a:hover { color: var(--accent); background: var(--soft); }
.nav__sub svg { width: 12px; height: 12px; }

/* Başlıktaki telefon bloğu (ACF: Header Telefon No AÇ-KAPAT)
   Orijinal: 250×65 çerçeveli kutu, 15px 5px köşe, içinde 49px ÇERÇEVELİ
   (dolu değil) daire ikon + 20px/700 numara + 16px/400 alt yazı. */
.header__call {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--body);
  transition: border-color var(--transition), background var(--transition);
}
/* Orijinal hover: yalnızca zemin rengi değişir (#ECECEC) */
.header__call:hover { background: #ececec; }

.header__call-icon {
  display: grid; place-items: center;
  width: 49px; height: 49px; flex: none;
  padding: 10px;
  border: 2.4px solid var(--dark);
  border-radius: 50%;
  background: transparent;
  color: var(--dark);
  transition: border-color var(--transition), color var(--transition);
}
.header__call-icon svg { width: 24px; height: 24px; }

.header__call-num {
  display: block;
  font-size: 20px; font-weight: 700; line-height: 1.4;
  letter-spacing: -.5px; color: var(--body);
}
.header__call-text {
  display: block;
  font-size: 16px; font-weight: 400; line-height: 1.3; color: var(--body);
}
/* Menü ikonu: masaüstünde nav ile telefon bloğu arasında sade ikon,
   mobilde etiketli düğme. Her ikisi de yan paneli açar. */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--body);
  font-size: 14px;
  font-weight: 600;
  flex: none;
  transition: color var(--transition);
}
.nav-toggle:hover { color: var(--accent); }
.nav-toggle svg { width: 22px; height: 24px; }
.nav-toggle__text { display: none; }

/* Off-canvas paneli — masaüstü ölçüleri (orijinal: 400px, padding 10px 20px) */
.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(400px, 100vw);
  background: #fff;
  z-index: 120;
  padding: 10px 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--transition);
  box-shadow: 2px 8px 23px 3px rgba(0, 0, 0, .2);
}
.drawer[data-open="true"] { transform: translateX(0); }

.drawer__bar { display: flex; justify-content: flex-end; }
.drawer__close { background: none; border: 0; padding: 0; color: var(--body); line-height: 0; }
.drawer__close svg { width: 22px; height: 22px; }

.drawer__logo { margin: 20px 0; }
.drawer__logo img { width: 220px; height: auto; margin-inline: auto; }

/* Menü: mobilde açılan akordiyon (masaüstü panelinde yer almaz) */
.drawer__nav { margin-top: 10px; }
.drawer__list { list-style: none; margin: 0; padding: 0; }
.drawer__li:not(:last-child) { border-bottom: 1px solid var(--line); }
.drawer__link {
  display: flex;
  align-items: center;
  padding: 10px 5px;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: var(--body);
  border-inline-start: 0 solid transparent;
  transition: background var(--transition);
}
.drawer__list--2 > .drawer__li > .drawer__link { border-inline-start-width: 8px; }
.drawer__list--3 > .drawer__li > .drawer__link { border-inline-start-width: 16px; }
.drawer__link.is-active,
.drawer__link.is-open,
.drawer__link:hover,
.drawer__link:focus-visible { background: #f2f5f9; color: var(--body); }
/* Negatif dikey boşluk: geniş tıklama alanı satırı 40px'in üstüne çıkarmaz. */
.drawer__arrow { display: flex; align-items: center; margin: -10px 0; padding: 10px 0 10px 10px; line-height: 14px; }
.drawer__arrow svg { width: 14px; height: 14px; }
/* Alt menü kapalı başlar; açılınca akışa girip listeyi aşağı iter. */
.drawer__li > .drawer__list { display: none; }
.drawer__li.is-open > .drawer__list { display: block; }

/* İletişim listesi: yalnızca masaüstü panelinde (orijinalde ayrı bir panel) */
.drawer__contact { list-style: none; margin: 0; padding: 0; }
.drawer__contact li:not(:last-child) { padding-bottom: 10px; }
.drawer__contact li + li { margin-top: 10px; }
.drawer__contact a, .drawer__contact-row {
  display: flex;
  align-items: flex-start;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--body);
  transition: color var(--transition);
}
.drawer__contact a:hover { color: var(--accent); }
.drawer__contact-icon { display: flex; justify-content: center; width: 25px; flex: none; padding-top: 2px; }
.drawer__contact-icon svg { width: 20px; height: 20px; }
.drawer__contact-text { padding-left: 5px; }

/* Sosyal ikonlar: çerçevesiz, ortalanmış (orijinal: 20px masaüstü / 25px mobil) */
.drawer__social { display: flex; justify-content: center; align-items: center; gap: 12px; padding: 10px; }
.drawer__social a { display: block; width: 20px; height: 20px; color: var(--body); transition: color var(--transition); }
.drawer__social a:hover { color: var(--accent); }
.drawer__social svg { width: 20px; height: 20px; }

/* Masaüstü panelinde menü yok; mobil panelde iletişim listesi yok. */
@media (min-width: 992px) { .drawer__nav { display: none; } }
.backdrop {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, .8);
  z-index: 110;
  opacity: 0; visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}
.backdrop[data-open="true"] { opacity: 1; visibility: visible; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero { position: relative; background: #000; overflow: hidden; }
.hero__track { position: relative; height: 550px; }

.hero__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity .9s ease;
  pointer-events: none;
}
.hero__slide[data-active="true"] { opacity: 1; pointer-events: auto; }

.hero__slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, var(--overlay, .55)) 0%, rgba(0, 0, 0, calc(var(--overlay, .55) * .45)) 70%, rgba(0, 0, 0, .2) 100%);
}

.hero__content { position: relative; max-width: 640px; }
.hero__title {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -2px;
  color: #fff;
}
.hero__text { margin: 20px 0 30px; color: rgba(255, 255, 255, .9); font-size: 16px; }

.hero__dots {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.hero__dot {
  width: 34px; height: 4px;
  border: 0; padding: 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, .45);
  transition: background var(--transition);
}
.hero__dot[aria-current="true"] { background: var(--accent); }

.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, .25);
  color: #fff;
}
.hero__arrow:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.hero__arrow--prev { left: 22px; }
.hero__arrow--next { right: 22px; }
.hero__arrow svg { width: 20px; height: 20px; }
.hero__arrow--prev svg { transform: rotate(180deg); }

/* --------------------------------------------------------------------------
   Sayfa başlığı bandı (iç sayfalar)
   Orijinal: düz #f1f1f1 şerit, 136px, ortalanmış, başlık 36px/700 #444
   -------------------------------------------------------------------------- */

.pagehead {
  background: #f1f1f1;
  padding-block: 30px;
  min-height: 136px;
  display: flex;
  align-items: center;
}
.pagehead__inner { text-align: center; }
.pagehead h1 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1px;
  color: var(--body);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 20px;
  font-size: 13px;
  color: #54595f;
}
.crumbs a { color: #54595f; }
.crumbs a:hover { color: var(--accent); }
.crumbs__sep { color: #9aa0a6; }

@media (max-width: 767px) {
  .pagehead { padding-block: 24px; min-height: 0; }
  .pagehead h1 { font-size: 26px; }
}
/* --------------------------------------------------------------------------
   Hakkımızda bölümü — orijinalde görsel SOLDA, metin sağda
   -------------------------------------------------------------------------- */

.about {
  display: grid;
  grid-template-columns: 532px minmax(0, 1fr);
  gap: 50px;
  align-items: center;
}

.about__figure {
  margin: 0;
  padding: 10px;
  border: 5px solid var(--line);
  border-radius: var(--radius);
}
.about__figure img {
  width: 100%;
  aspect-ratio: 502 / 330;
  object-fit: cover;
  border-radius: var(--radius);
}

.about__body .btn { margin-top: 16px; }
/* --------------------------------------------------------------------------
   Kart temeli
   Orijinal yapı:  dış çerçeve → iç sarmalayıcı → görsel bloğu → metin bloğu
   -------------------------------------------------------------------------- */

.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-4px); }

.card__inner { display: flex; flex-direction: column; flex: 1; }

/* Görsel bloğu: arka plan görseli + 10px iç boşluk, köşe yarıçapı kartla aynı */
.card__media {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 10px;
  border-radius: var(--radius);
  background: var(--soft) center/cover no-repeat;
  overflow: hidden;
}
.card__media::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background var(--transition);
}
.card:hover .card__media::after { background: rgba(0, 0, 0, .18); }

/* Görselin sağ alt köşesindeki koyu eylem etiketi (ürün / blog) */
.card__cta {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  background: var(--dark);
  color: #fff;
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  transition: background var(--transition), color var(--transition);
}
.card:hover .card__cta { background: var(--accent); color: var(--accent-ink); }

.card__text { padding: 10px; }
.card__text--center { text-align: center; }

.card__title {
  display: block;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.5px;
  color: var(--body);
  margin-bottom: 10px;
}
.card__desc {
  display: block;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--body);
}

/* --- Hizmet kartı: 240px görsel + sağ altta 60×60 beyaz ikon rozeti --- */
.card--service { padding: 0 1px; }
.card--service .card__inner { padding: 1px 0; }
.card--service .card__media { height: 240px; }
.card--service .card__text { padding: 10px; min-height: 128px; }

.card__badge {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 60px; height: 60px;
  padding: 10px;
  background: #fff;
  border-radius: var(--radius);
  transition: background var(--transition);
}
.card__badge img { width: 40px; height: 40px; object-fit: contain; }
.card:hover .card__badge { background: var(--accent); }

/* --- Ürün kartı: 240px görsel + sağ altta buton, başlık ortalı --- */
.card--product { padding: 0 10px; background: transparent; }
.card--product .card__inner { padding: 10px 0; }
.card--product .card__media { height: 240px; }
.card--product .card__text { text-align: center; }
.card--product .card__title { margin-bottom: 0; color: inherit; }

/* --- Blog kartı: 210px görsel + sağ altta buton, 15px başlık --- */
.card--post { padding: 0 10px; background: transparent; }
.card--post .card__inner { padding: 10px 0; }
.card--post .card__media { height: 210px; }
.card--post .card__title { font-size: 15px; margin-bottom: 0; color: inherit; }

/* --- Neden biz kartı --- */
/* Son satırda kalan kartlar ortalanır; 5 kartta 3 + 2 dizilişi oluşur. */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.feature-card {
  flex: 0 1 calc((100% - 60px) / 3);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  padding: 25px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

/* Kart genişliğine göre ölçeklenir: 1320px kapsayıcıda ~94px, 1235px'te ~87px. */
.feature-card__icon {
  display: grid;
  place-items: center;
  width: 25.4%;
  aspect-ratio: 1;
  flex: none;
  padding: 25px;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 50%;
}
.feature-card__icon img { width: 100%; height: 100%; object-fit: contain; }
.feature-card__icon svg { width: 100%; height: 100%; }

.feature-card h3 {
  font-size: 18px; font-weight: 700; letter-spacing: normal;
  line-height: 27px; color: var(--body); margin: 0;
}
.feature-card p { font-size: 15px; font-weight: 400; line-height: 22.5px; color: var(--body); margin: 0; }
/* --------------------------------------------------------------------------
   Çağrı bandı — orijinalde ortalanmış dikey yığın, 35px aralık, 130px dolgu
   -------------------------------------------------------------------------- */

.cta {
  position: relative;
  padding-block: 130px;
  background: #000 center/cover no-repeat;
  color: #fff;
}
.cta::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .62); }

.cta__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 35px;
  text-align: center;
}
.cta__title { font-size: 42px; font-weight: 700; line-height: 1.2; letter-spacing: -2px; color: #fff; margin: 0; }
.cta__sub { font-size: 28px; font-weight: 400; line-height: 1.2; letter-spacing: -.5px; color: #fff; margin: 0; }

.cta__phone {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 24px;
  font-size: 18px; font-weight: 500; letter-spacing: -.5px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 5px;
}
.cta__phone:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.cta__phone svg { width: 20px; height: 20px; }
/* --------------------------------------------------------------------------
   Müşteri yorumları — yıldızlar sağda, altta kaynak logosu + onay rozeti
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   Yorum kaydırıcısı — orijinalde masaüstü 4, tablet 2, mobil 1 kart
   -------------------------------------------------------------------------- */

.testi-slider { position: relative; }

/* Oklar başlığın sağında, rayın hemen üstünde. */
.testi-nav {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 10px;
}
.testi-arrow {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  transition: color var(--transition), opacity var(--transition);
}
.testi-arrow svg { width: 24px; height: 24px; }
.testi-arrow:hover { color: var(--accent); }
.testi-arrow[disabled] { opacity: .35; cursor: default; }
.testi-arrow[data-testi-prev] svg { transform: rotate(180deg); }

.testi-track {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.testi-track::-webkit-scrollbar { display: none; }
/* Kart oranı orijinaldeki 345/1320 ölçüsünden gelir: dördüncü kart yarım
   görünür ve devamı olduğunu belli eder. */
.testi-track > * { flex: 0 0 26.1%; scroll-snap-align: start; }

@media (prefers-reduced-motion: reduce) {
  .testi-track { scroll-behavior: auto; }
}
.testi {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.testi:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-4px); }

.testi__inner { display: flex; flex-direction: column; flex: 1; padding: 10px 0; }

.testi__stars {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 5px;
  padding: 10px;
  color: var(--accent);
}
.testi__stars svg { width: 18px; height: 18px; }
.testi__stars [data-off] { color: var(--line); }

.testi__text {
  flex: 1;
  margin: 0;
  padding: 10px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--body);
}

/*
 * Uzun yorumlar: varsayılan olarak tam metin görünür; betik hazır olduğunda
 * kısa sürüme geçilir. Böylece JavaScript çalışmazsa yorum yarım kalmaz.
 */
.testi__short,
.testi__toggle { display: none; }
.testi__text[data-ready] .testi__short { display: inline; }
.testi__text[data-ready] .testi__full { display: none; }
.testi__text[data-ready] .testi__toggle { display: block; }
.testi__text[data-ready][data-open] .testi__short { display: none; }
.testi__text[data-ready][data-open] .testi__full { display: inline; }

.testi__toggle {
  margin-top: 5px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--blue);
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  cursor: pointer;
}
.testi__toggle:hover { color: var(--ink); }

.testi__foot {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px;
}
.testi__logo {
  width: 37px; height: 37px; flex: none;
  border-radius: 5px;
  background: #f2f5f9;
  object-fit: contain;
  padding: 6px;
}
.testi__initials {
  display: grid; place-items: center;
  width: 37px; height: 37px; flex: none;
  border-radius: 5px;
  background: #f2f5f9;
  color: var(--ink);
  font-size: 13px; font-weight: 700;
}
.testi__name { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.testi__role { display: block; font-size: 13px; font-weight: 400; color: var(--muted); }
.testi__badge { width: 14px; height: 24px; object-fit: contain; flex: none; }
/* --------------------------------------------------------------------------
   SSS
   -------------------------------------------------------------------------- */

.faq-layout { display: grid; grid-template-columns: minmax(0, 851fr) 365fr; gap: 20px; align-items: start; }
.faq-figure { margin: 0; }
.faq-figure img { width: 100%; height: auto; border-radius: 10px; }

/* Orijinal: kutu yok — şeffaf zemin, 2px alt çizgi, 64px kapalı yükseklik, 15px aralık */
.accordion { display: flex; flex-direction: column; gap: 15px; }
.accordion__item {
  background: transparent;
  border: 0;
  border-bottom: 2px solid var(--line);
  border-radius: 0;
  overflow: hidden;
  transition: border-color var(--transition);
}
.accordion__item[data-open="true"] { border-bottom-color: var(--accent); }

.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: 0;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.4px;
  color: var(--ink);
  line-height: 1.4;
}
.accordion__trigger:hover { color: var(--accent); }
.accordion__sign {
  display: grid; place-items: center;
  width: 22px; height: 22px; flex: none;
  border-radius: var(--radius-sm);
  background: var(--soft);
  color: var(--ink);
  transition: transform var(--transition), background var(--transition);
}
.accordion__item[data-open="true"] .accordion__sign { background: var(--accent); transform: rotate(45deg); }
.accordion__sign svg { width: 13px; height: 13px; }

.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--transition);
}
.accordion__item[data-open="true"] .accordion__panel { grid-template-rows: 1fr; }
.accordion__panel > div { overflow: hidden; }
.accordion__panel p { padding: 0 0 20px; font-size: 15px; color: var(--muted); margin: 0; }

/* --------------------------------------------------------------------------
   Galeri
   -------------------------------------------------------------------------- */

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.gallery__item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--soft);
}
.gallery__item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s ease; }
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, .45);
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery__item:hover::after { opacity: 1; }
.gallery__cap {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 16px 18px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  transform: translateY(12px);
  opacity: 0;
  transition: opacity var(--transition), transform var(--transition);
}
.gallery__item:hover .gallery__cap { opacity: 1; transform: translateY(0); }

/* Işık kutusu */
.lightbox {
  position: fixed; inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: 40px;
  background: rgba(0, 0, 0, .9);
}
.lightbox[data-open="true"] { display: grid; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 84vh; border-radius: var(--radius); object-fit: contain; }
.lightbox__close, .lightbox__nav {
  position: absolute;
  display: grid; place-items: center;
  width: 46px; height: 46px;
  background: rgba(255, 255, 255, .12);
  border: 0; border-radius: var(--radius-sm);
  color: #fff;
}
.lightbox__close:hover, .lightbox__nav:hover { background: var(--accent); color: var(--ink); }
.lightbox__close { top: 24px; right: 24px; }
.lightbox__nav--prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__nav svg, .lightbox__close svg { width: 22px; height: 22px; }
.lightbox__nav--prev svg { transform: rotate(180deg); }

/* --------------------------------------------------------------------------
   Blog
   -------------------------------------------------------------------------- */


.post-body { font-size: 16px; color: var(--body); }
.post-body h2 { font-size: 28px; margin: 32px 0 14px; letter-spacing: -1px; }
.post-body h3 { font-size: 22px; margin: 26px 0 12px; letter-spacing: -.5px; }
.post-body img { border-radius: var(--radius); margin: 24px 0; }
.post-body ul, .post-body ol { margin: 0 0 18px; padding-left: 22px; }
.post-body ul li { list-style: disc; margin-bottom: 8px; }
.post-body ol li { list-style: decimal; margin-bottom: 8px; }
.post-body a { color: var(--blue); text-decoration: underline; }
.post-body blockquote {
  margin: 24px 0;
  padding: 20px 24px;
  border-left: 4px solid var(--accent);
  background: var(--soft);
  border-radius: var(--radius-sm);
  font-style: italic;
}
.post-body table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.post-body th, .post-body td { padding: 10px 14px; border: 1px solid var(--line); text-align: left; }
.post-body th { background: var(--soft); }

.post-hero img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--radius); }

/* --------------------------------------------------------------------------
   Referans logoları
   -------------------------------------------------------------------------- */

.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 60px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: grid; place-items: center; width: 160px; height: 100px; flex: none; }
.marquee__item img {
  max-height: 62px; width: auto; object-fit: contain;
  filter: grayscale(1); opacity: .6;
  transition: filter var(--transition), opacity var(--transition);
}
.marquee__item:hover img { filter: grayscale(0); opacity: 1; }

@keyframes marquee { to { transform: translateX(-50%); } }

.logo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.logo-grid__item {
  display: grid; place-items: center;
  padding: 30px;
  min-height: 140px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.logo-grid__item:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.logo-grid__item img { max-height: 70px; width: auto; object-fit: contain; }

/* --------------------------------------------------------------------------
   İletişim sayfası
   Orijinal: beş özdeş kart. 30px dolgu, 1.6px #ddd çerçeve, 15px 5px köşe,
   üst kenara taşan 73px yuvarlak ikon.
     Satır 1 → 398 · 398 · 398   (aralık 20)
     Satır 2 → 789 · 426         (aralık 20)
   -------------------------------------------------------------------------- */

.contact-row--info { padding: 70px 0 20px; }
.contact-row--main { padding: 50px 0 70px; }

.contact-grid { display: grid; gap: 20px; align-items: stretch; }
.contact-grid--three { grid-template-columns: repeat(3, 1fr); }
.contact-grid--two   { grid-template-columns: minmax(0, 789fr) 426fr; }

/* --- Ortak kart --- */

.ccard {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.ccard:hover { border-color: var(--accent); box-shadow: var(--shadow); }

/* İkon kartın üst kenarına taşar */
.ccard__icon {
  display: grid;
  place-items: center;
  width: 73px; height: 73px;
  flex: none;
  margin: -63px 0 11px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--line);
  transition: background var(--transition), color var(--transition);
}
.ccard:hover .ccard__icon { background: var(--accent); color: var(--ink); }
.ccard__icon svg { width: 38px; height: 38px; }

.ccard__label {
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .2px;
  color: var(--dark);
  margin-bottom: 10px;
}

.ccard__value {
  display: block;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--body);
  word-break: break-word;
}
.ccard__value + .ccard__value { margin-top: 10px; }
a.ccard__value:hover { color: var(--accent); }

/* Harita ve form kartlarında içerik tam genişlikte ve sola dayalı */
.ccard--wide, .ccard--form { align-items: stretch; }
.ccard--wide .ccard__icon,
.ccard--form .ccard__icon { margin-inline: auto; }
.ccard--wide .ccard__label,
.ccard--form .ccard__label { text-align: center; }

.ccard__map { width: 100%; }
.ccard__map iframe { display: block; width: 100%; height: 500px; border: 0; }

.ccard__empty {
  margin: 0;
  padding: 60px 20px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
}

/* Bal küpü alanı — insanlar görmez, düzende yer kaplamaz, botlar doldurur */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* --- Form --- */

.cform { display: flex; flex-direction: column; gap: 20px; text-align: left; }

.cform__field { display: flex; flex-direction: column; }
.cform__field > label {
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  color: var(--body);
  padding-bottom: 5px;
}

.cform__field input[type="text"],
.cform__field input[type="email"],
.cform__field input[type="tel"],
.cform__field textarea {
  width: 100%;
  padding: 8px 16px;
  font: inherit;
  font-size: 15px;
  line-height: 1.5;
  color: var(--body);
  background: #fff;
  border: 1px solid #69727d;
  border-radius: 3px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.cform__field input { height: 40px; }
.cform__field textarea { height: 75px; min-height: 75px; padding: 5px 14px; resize: vertical; }

.cform__field input:focus,
.cform__field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(252, 191, 2, .2);
}
.cform__field.is-invalid input,
.cform__field.is-invalid textarea { border-color: #d64545; }
.cform__error { margin-top: 5px; font-size: 13px; color: #d64545; }

.cform__check .check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--muted);
  cursor: pointer;
  padding-bottom: 0;
}
.cform__check input {
  width: 17px; height: 17px; flex: none;
  margin-top: 2px;
  accent-color: var(--accent);
}

.cform__submit {
  height: 40px;
  padding: 0 24px;
  border: 0;
  border-radius: 5px;
  background: var(--dark);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
}
.cform__submit:hover { background: var(--accent); color: var(--ink); }
.cform__submit[disabled] { opacity: .6; cursor: not-allowed; }

@media (max-width: 991px) {
  .contact-grid--three,
  .contact-grid--two { grid-template-columns: 1fr; gap: 83px; }
  .contact-row--info { padding: 50px 0 20px; }
  .contact-row--main { padding: 50px 0 50px; }
  .ccard__map iframe { height: 360px; }
}
/* --------------------------------------------------------------------------
   Bildirimler
   -------------------------------------------------------------------------- */

.alert {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid;
  font-size: 15px;
}
.alert svg { width: 18px; height: 18px; margin-top: 3px; }
.alert--success { background: #ecf9f0; border-color: #b7e4c7; color: #1b6b3a; }
.alert--error   { background: #fdeded; border-color: #f5c2c2; color: #a02525; }
.alert--warning { background: #fff8e6; border-color: #ffe1a3; color: #8a6100; }
.alert--info    { background: #eef4fd; border-color: #c3d9f7; color: #1c4f96; }
.alert ul { margin: 6px 0 0; padding-left: 18px; }
.alert ul li { list-style: disc; }

/* --------------------------------------------------------------------------
   Sayfalama
   -------------------------------------------------------------------------- */

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 50px; }
.pagination a, .pagination span {
  display: grid; place-items: center;
  min-width: 44px; height: 44px;
  padding-inline: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600;
  color: var(--body);
  background: #fff;
}
.pagination a:hover { border-color: var(--accent); color: var(--accent); }
.pagination [aria-current="page"] { background: var(--dark); border-color: var(--dark); color: #fff; }
.pagination .is-disabled { opacity: .45; pointer-events: none; }

/* --------------------------------------------------------------------------
   Alt bilgi
   -------------------------------------------------------------------------- */

.footer { background: var(--footer); color: rgba(255, 255, 255, .75); }
.footer__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-block: 50px; }
.footer__inner > div { padding: 10px; }
.footer__logo img { width: 100%; max-width: 295px; margin-bottom: 20px; }
.footer p { font-size: 15px; color: rgba(255, 255, 255, .7); }

.footer__title { font-size: 18px; font-weight: 600; line-height: 18px; color: #fff; margin-bottom: 10px; letter-spacing: -.5px; }
/* Başlık altındaki ince ayraç: genişliğin dörtte üçü. */
.footer__rule { display: block; width: 75%; height: 1.6px; background: var(--line); margin-bottom: 20px; }
.footer__list { display: flex; flex-direction: column; }
.footer__list a { display: block; padding: 5px 0; font-size: 15px; line-height: 20px; color: #fff; }
.footer__list a:hover { color: var(--accent); }

.footer__contact { display: flex; flex-direction: column; gap: 20px; }
/* Orijinalde iletişim satırları çerçeveli kutu içinde. */
.footer__contact a, .footer__contact > span {
  display: flex; align-items: center; gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  min-height: 50px;
  font-size: 16px; font-weight: 700; line-height: 18px;
  color: #fff;
}
.footer__contact a:hover { color: var(--accent); }
.footer__contact svg { width: 16px; height: 16px; flex: none; }

/* Orijinal: 16px ikon, çerçeve/kutu yok, 28px adım */
.footer__social { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.footer__social a {
  display: grid; place-items: center;
  color: #fff;
  transition: color var(--transition), transform var(--transition);
}
.footer__social a:hover { color: var(--accent); transform: scale(1.15); }
.footer__social svg { width: 16px; height: 16px; }

.footer__bar { background: var(--footer-bar); }
.footer__bar-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  min-height: 54px;
  font-size: 14px;
  color: rgba(255, 255, 255, .6);
}
.footer__bar-inner a:hover { color: var(--accent); }

/* --------------------------------------------------------------------------
   Yüzen eylemler
   -------------------------------------------------------------------------- */

.floaters {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 80;
  display: flex; flex-direction: column; gap: 10px;
}
.floater {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .22);
  transition: transform var(--transition);
}
.floater:hover { transform: scale(1.1); }
.floater svg { width: 22px; height: 22px; }
.floater--wa { background: #25d366; }
.floater--tel { background: var(--dark); }
.floater--top { background: var(--accent); color: var(--ink); opacity: 0; visibility: hidden; }
.floater--top[data-visible="true"] { opacity: 1; visibility: visible; }
.floater--top svg { transform: rotate(-90deg); }

/* Mobil alt çubuk */
.mobile-bar { display: none; }

/* --------------------------------------------------------------------------
   Yardımcılar
   -------------------------------------------------------------------------- */

.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: 28px; margin: 30px 0 14px; letter-spacing: -1px; }
.prose h3 { font-size: 21px; margin: 24px 0 10px; letter-spacing: -.5px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; }
.prose ul li { list-style: disc; margin-bottom: 7px; }
.prose ol li { list-style: decimal; margin-bottom: 7px; }
.prose a { color: var(--blue); text-decoration: underline; }
.prose img { border-radius: var(--radius); margin: 20px 0; }

.empty-state {
  padding: 60px 20px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

.specs { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.specs__row { display: grid; grid-template-columns: 220px 1fr; gap: 0; border-bottom: 1px solid var(--line); }
.specs__row:last-child { border-bottom: 0; }
.specs__key { padding: 13px 18px; background: var(--soft); font-weight: 600; color: var(--ink); font-size: 15px; }
.specs__val { padding: 13px 18px; font-size: 15px; }

/* --------------------------------------------------------------------------
   Duyarlı davranış
   -------------------------------------------------------------------------- */

@media (max-width: 1220px) {
  .nav { display: none; }
}

@media (max-width: 1100px) {
  :root { --section-y: 64px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .gallery, .logo-grid { grid-template-columns: repeat(3, 1fr); }
  .section-title, .hero__title, .cta__title, .pagehead h1 { font-size: 34px; letter-spacing: -1.2px; }
  .cta__sub { font-size: 22px; }
}

@media (max-width: 1024px) {
  :root { --gutter: 20px; }
  .topbar { display: none; }
  .nav { display: none; }
  /* Orijinal mobil başlık: 59px, logo 167×38, sağda MENÜ yazısı + 22px ikon */
  .header__inner { min-height: 59px; gap: 12px; }
  .header__logo img { width: 167px; }
  .header__call { display: none; }
  .nav-toggle { gap: 5px; margin-left: auto; }
  .nav-toggle__text { display: inline; font-size: 13px; font-weight: 700; color: var(--body); }
  .nav-toggle svg { width: 22px; height: 22px; order: 2; }

  /* Orijinal mobil off-canvas: 85vw genişlik, 15px iç boşluk, 175px logo,
     iletişim listesi yok, sosyal ikonlar 25px. */
  .drawer { width: 85vw; padding: 15px; }
  .drawer__logo { margin: 0; }
  .drawer__logo img { width: 175px; }
  .drawer__contact { display: none; }
  .drawer__social a, .drawer__social svg { width: 25px; height: 25px; }

  .about, .faq-layout, .contact-layout { grid-template-columns: 1fr; gap: 36px; }
  .about__body { order: -1; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .feature-card { flex-basis: calc((100% - 30px) / 2); }
  .testi-track > * { flex-basis: calc((100% - 30px) / 2); }
  .hero__track { height: 460px; }
  .footer__inner { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .specs__row { grid-template-columns: 1fr; }
  .specs__key { border-bottom: 1px solid var(--line); }
}

@media (max-width: 767px) {
  :root { --section-y: 52px; --gap: 20px; --gutter: 10px; }
  body { font-size: 15px; }

  .section-title, .hero__title, .cta__title, .pagehead h1 { font-size: 28px; letter-spacing: -.8px; }
  .eyebrow { font-size: 17px; }
  .cta__sub { font-size: 19px; }

  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  /* Neden Biz: ikon üste geçer, metin altına iner, hepsi ortalanır. */
  .feature-card {
    flex-basis: 100%;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
  }
  .feature-card__icon { width: 29%; }
  .testi-track > * { flex-basis: 100%; }
  .gallery, .logo-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .form__row { grid-template-columns: 1fr; }

  .hero__track { height: 420px; }
  .hero__arrow { display: none; }
  .cta { padding-block: 56px; }
  .cta__inner { flex-direction: column; align-items: flex-start; gap: 24px; }

  .footer__inner { grid-template-columns: 1fr; gap: 30px; padding-block: 44px; }
  .footer__bar-inner { flex-direction: column; text-align: center; padding-block: 14px; }

  .floaters { bottom: 74px; right: 14px; }

  .mobile-bar {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 85;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--dark);
    border-top: 1px solid rgba(255, 255, 255, .12);
  }
  .mobile-bar a {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    padding: 9px 4px;
    color: #fff;
    font-size: 11px;
  }
  .mobile-bar svg { width: 18px; height: 18px; }
  .mobile-bar a:hover { color: var(--accent); }
  body { padding-bottom: 60px; }
}

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

@media print {
  .topbar, .header, .footer, .floaters, .mobile-bar, .hero__dots, .hero__arrow { display: none !important; }
  body { color: #000; }
}

/* Bildirim şeridi aralığı (satır içi stil kullanılmaz) */
.flash-strip { padding-top: 22px; }
.flash-strip .alert + .alert { margin-top: 10px; }

/* Bölüm altı eylem bağlantısı */
.section-cta { margin: 35px 0 0; text-align: center; }
.section-cta .btn { margin: 0 auto; }

/* --------------------------------------------------------------------------
   Detay sayfası düzeni
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   Üst hizmet sayfası
   -------------------------------------------------------------------------- */

/* Alt hizmet kartları: 4 sütun, 200px görsel + beyaz başlık şeridi. */
/* Kart bölümü: üstte 70px, altta boşluk yok — detay bölümü kendi 70px'ini getirir. */
.subcards-section { padding-block: 70px 0; }
.subcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }

.subcard {
  display: flex;
  flex-direction: column;
  padding: 0 10px;
  background: transparent;
  border: 1px solid var(--line);
  transition: border-color var(--transition);
}
.subcard:hover { border-color: var(--accent); }
.subcard__inner { display: flex; flex-direction: column; flex: 1; padding: 10px 0; }

.subcard__media { display: block; height: 200px; background: var(--soft); overflow: hidden; }
.subcard__media img { width: 100%; height: 100%; object-fit: cover; }

.subcard__title {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 47px;
  padding: 15px 10px;
  background: #fff;
  font-size: 17px;
  font-weight: 600;
  line-height: 17px;
  letter-spacing: -.3px;
  color: var(--body);
}

/* Ürün kartı: daha uzun görsel, yuvarlatılmış köşe ve çerçevesiz başlık. */
.subcard--product { border-radius: var(--radius); }
.subcard--product .subcard__media { position: relative; height: 240px; }
.subcard--product .subcard__title {
  min-height: 41.6px;
  padding: 10px 0;
  background: transparent;
  justify-content: center;
  font-size: 18px;
  line-height: 21.6px;
  letter-spacing: -.5px;
}

/* Görselin sağ alt köşesine oturan etiket. */
.subcard__badge {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 5px 10px;
  background: var(--dark);
  color: #fff;
  font-size: 13px;
  font-weight: 400;
  line-height: 13px;
}
/* Detay bölümü: solda içerik, sağda iletişim formu (orijinalde 880 / 440). */
.catalog-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 0; align-items: start; }
.catalog-main { display: flex; flex-direction: column; gap: 20px; min-width: 0; padding: 30px; border: 1px solid var(--line); }
/* Sağ sütun orijinalde açık gri zeminli ve altta 70px boşluk bırakır. */
.catalog-side { min-width: 0; padding: 30px; background: #f1f1f1; border: 1px solid var(--line); }
.catalog-side__inner { display: flex; flex-direction: column; gap: 20px; padding-bottom: 70px; }
.catalog-side__title { font-size: 24px; font-weight: 700; line-height: 24px; letter-spacing: -.6px; color: var(--body); margin: 0; }

.catalog-hero { margin: 0; }
.catalog-hero img { width: 100%; height: auto; }

/* Metin gövdesi orijinalde 16px / 24px satır yüksekliği. */
.catalog-main .prose { font-size: 16px; line-height: 24px; color: var(--body); }
.catalog-main .prose h2 { font-size: 32px; line-height: 38.4px; letter-spacing: normal; color: var(--ink); margin: 8px 0 16px; }
.catalog-main .prose p { margin: 0 0 12.8px; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 50px; align-items: start; }

.sidebar { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 120px; }
.sidebar__box { padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.sidebar__box--accent { background: var(--soft); }
.sidebar__title { font-size: 18px; font-weight: 600; letter-spacing: -.5px; margin-bottom: 16px; color: var(--ink); }
.sidebar__list { display: flex; flex-direction: column; gap: 4px; }
.sidebar__list a { display: flex; align-items: center; gap: 9px; padding: 9px 0; font-size: 15px; color: var(--body); border-bottom: 1px solid var(--soft); }
.sidebar__list a:hover { color: var(--accent); }
.sidebar__list svg { width: 12px; height: 12px; color: var(--accent); }
.sidebar__box p { font-size: 15px; color: var(--muted); margin-bottom: 16px; }
.sidebar__btn { margin-top: 10px; }

.service-block--spaced { margin-top: 70px; padding-top: 70px; border-top: 1px solid var(--line); }
.grid--spaced { margin-top: 40px; }

@media (max-width: 991px) {
  .detail-layout { grid-template-columns: 1fr; gap: 34px; }
  .catalog-layout { grid-template-columns: 1fr; gap: 34px; }
  .catalog-main { padding: 0; }
  /* Sağ sütun tek sütuna düşse de gri kutu görünümünü korur. */
  .catalog-side { padding: 24px; }
  .catalog-side__inner { padding-bottom: 0; }
  .subcards { grid-template-columns: repeat(2, 1fr); }
  .subcards-section { padding-block: 48px 0; }
  .sidebar { position: static; }
}

@media (max-width: 767px) {
  .subcards { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Ek bileşenler
   -------------------------------------------------------------------------- */

.post-meta { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 24px; font-size: 14px; color: var(--muted); }
.post-meta span { display: inline-flex; align-items: center; gap: 7px; }
.post-meta svg { width: 15px; height: 15px; color: var(--accent); }

.specs-title { font-size: 24px; letter-spacing: -1px; margin: 36px 0 16px; }

.gallery--thumbs { grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0 30px; }
.gallery--thumbs .gallery__item img { aspect-ratio: 1 / 1; }

.field--check .check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; font-weight: 400; color: var(--body); cursor: pointer; }
.field--check input { width: 18px; height: 18px; flex: none; margin-top: 3px; accent-color: var(--accent); }

.topbar__plain { display: inline-flex; align-items: center; gap: 8px; }

/* Görsel bloğunun içindeki gerçek <img> (arka plan yerine; lazy-load edilebilir) */
.card__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.card:hover .card__img { transform: scale(1.05); }

/* Çekmece/ışık kutusu açıkken sayfa kaydırmasını kilitler
   (satır içi style yerine sınıf — CSP 'unsafe-inline' gerektirmez) */
.is-locked { overflow: hidden; }

/* --------------------------------------------------------------------------
   Sliderler (ACF: post_type "slider") — masaüstü/mobil görsel şeridi
   -------------------------------------------------------------------------- */

.imgslider { position: relative; background: var(--soft); overflow: hidden; }
.imgslider__track { height: auto; aspect-ratio: 1920 / 550; }
.imgslider__slide { display: block; }
.imgslider__slide::before { content: none; }
.imgslider__slide picture,
.imgslider__slide a { display: block; width: 100%; height: 100%; }
.imgslider__slide img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 767px) {
  .imgslider__track { aspect-ratio: 4 / 3; }
}

/* Yan paneldeki iletişim listesi ve sosyal ikonlar (orijinal off-canvas içeriği) */

/* Sürüklenebilir slider: imleç ve seçim davranışı */
.hero, .imgslider { cursor: grab; touch-action: pan-y; }
.hero.is-dragging, .imgslider.is-dragging { cursor: grabbing; user-select: none; }
.hero.is-dragging *, .imgslider.is-dragging * { user-select: none; }
.hero__arrow, .hero__dot, .hero__content a { cursor: pointer; }
