/* ============================================================
   MDD İnşaat — Tasarım Sistemi v5 "Spaciaz dili / MDD renkleri"
   Referans DNA (demo2.wpopal.com/spaciaz kit'inden ölçüldü):
   - Switzer (gövde) + Involve (vurgu) — Fontshare
   - Display: 70px/700/-2px/1.06 (→64/56/42)
   - Etiket: 12px/600/uppercase · Konteyner: 1290px
   - Köşeler: kart 20-30px, buton pill · Aksiyon rengi: MDD mavisi
   ============================================================ */

:root {
  /* --- Renkler (Spaciaz rolleri → MDD paleti) --- */
  --c-bg:      #FFFFFF;   /* background */
  --c-soft:    #F4F5F8;   /* background_light (kremin MDD karşılığı) */
  --c-ink:     #0A1944;   /* accent: başlık & koyu bloklar (siyah→lacivert) */
  --c-text:    #4B5163;   /* text */
  --c-muted:   #8A91A3;   /* text_light */
  --c-line:    #E3E6ED;   /* border */
  --c-blue:    #0061E9;   /* primary (lime→MDD mavisi) */
  --c-blue-2:  #004FC0;   /* primary_hover */
  --grad-brand: linear-gradient(135deg, #0092FE 0%, #0061E9 100%); /* yalnız logo kilidi */

  /* --- Tipografi --- */
  --font-body:   'Switzer', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-accent: 'Involve', 'Switzer', sans-serif;

  /* --- Ölçüler --- */
  --r-sm: 10px;
  --r:    20px;
  --r-lg: 30px;
  --pill: 80px;
  --container: 1290px;
  --pad: 28px;
  --section: clamp(72px, 8.5vw, 120px);
  --shadow-soft: 0 20px 60px rgba(10, 25, 68, .08);
  --transition: .25s ease;

  /* --- İşlevsel/semantik tokenler (iç sayfalar: form durumu, WhatsApp, marka logo) --- */
  --c-success: #067647; --c-success-soft: #E7F6EC;
  --c-error:   #B42318; --c-error-soft:   #FEF3F2;
  --c-wa:      #25D366; --c-wa-hover:     #1FB855;
  --brand-logo-filter: grayscale(.85) opacity(.8); /* 'none' yaparak kapatılabilir */
}

/* --- Reset / Base --- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ol, ul { list-style: none; padding: 0; }
figure { margin: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-body);
  color: var(--c-ink);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.02em;
}
::selection { background: var(--c-blue); color: #fff; }
:focus-visible { outline: 2px solid var(--c-blue); outline-offset: 3px; box-shadow: 0 0 0 6px rgba(0, 97, 233, .15); }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--pad)); margin-inline: auto; padding-inline: var(--pad); }
.ic { width: 18px; height: 18px; flex: 0 0 auto; }
.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; }

/* --- Etiket (12/600/uppercase — Spaciaz ölçüsü) --- */
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em; line-height: 1.17;
  color: var(--c-ink);
}
.label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c-blue); }
.label--plain::before { content: none; }
.label--muted { color: var(--c-muted); }

/* --- Butonlar: pill --- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px; line-height: 1;
  padding: 18px 32px; border-radius: var(--pill);
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.btn .ic { width: 16px; height: 16px; transition: transform var(--transition); }
.btn:hover .ic { transform: translateX(4px); }
.btn--primary { background: var(--c-blue); color: #fff; }
.btn--primary:hover { background: var(--c-blue-2); }
.btn--outline { background: transparent; color: var(--c-ink); border-color: var(--c-line); }
.btn--outline:hover { border-color: var(--c-ink); }
.btn--light { background: #fff; color: var(--c-ink); }
.btn--light:hover { background: var(--c-soft); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px; color: var(--c-ink);
  transition: color var(--transition);
}
.link-arrow .ic { width: 16px; height: 16px; transition: transform var(--transition); }
.link-arrow:hover { color: var(--c-blue); }
.link-arrow:hover .ic { transform: translateX(4px); }

/* --- Header: yüzen beyaz pill "ada" --- */
:root { --header-h: 72px; --header-gap: 50px; }
.site-header {
  position: sticky; top: var(--header-gap); z-index: 60;
  background: transparent; pointer-events: none;
}
.header__inner {
  pointer-events: auto; position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--header-h);
  background: #fff; border-radius: var(--pill);
  padding: 0 10px 0 28px;
  box-shadow: 0 12px 40px rgba(10, 25, 68, .10);
}
.site-header.is-scrolled .header__inner { box-shadow: 0 16px 50px rgba(10, 25, 68, .16); }
.nav__cta { padding: 14px 26px; }
.brand { display: inline-flex; align-items: baseline; gap: 7px; font-family: var(--font-body); font-weight: 700; font-size: 23px; letter-spacing: -.02em; line-height: 1; }
.brand__mdd { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.brand__insaat { color: var(--c-ink); }
.brand--light .brand__insaat { color: #fff; }
/* Logo görseli (header + footer) — 2x. !important, Master'ın inline height:34px'ini geçer (bkz. DURUM: inline'ı CSS'e taşı). */
.brand__logo { width: 220px !important; height: auto !important; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { font-size: 15px; font-weight: 500; color: var(--c-ink); transition: color var(--transition); }
.nav__links a:hover { color: var(--c-blue); }
.nav__link.is-active { color: var(--c-blue); }
@media (min-width: 921px) {
  .nav__link { position: relative; }
  .nav__link.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; background: var(--c-blue); border-radius: 2px; }
}
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav__toggle span { width: 24px; height: 2px; background: var(--c-ink); border-radius: 2px; transition: transform var(--transition), opacity var(--transition); }

/* ============================================================
   HERO — tam ekran görsel zemin, metin/butonlar görsel üstünde,
   yüzen ada menü görselin içine oturur
   ============================================================ */
.hero {
  position: relative;
  margin-top: calc(-1 * var(--header-h)); /* görsel sayfanın en tepesinden başlar, ada üstüne biner */
  min-height: clamp(640px, 96vh, 920px);
  display: flex; flex-direction: column;
  overflow: hidden;
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  background: var(--c-ink);
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(92deg, rgba(10, 25, 68, .88) 8%, rgba(10, 25, 68, .55) 48%, rgba(10, 25, 68, .25) 100%);
}
.hero__content {
  position: relative;
  margin-block: auto; /* içerik, ada ile alt kenar arasında dikeyde ortalanır */
  padding-top: calc(var(--header-h) + var(--header-gap) + clamp(32px, 5vw, 64px));
  padding-bottom: clamp(40px, 6vw, 72px);
}
.hero .label { color: #fff; }
.hero__title {
  font-size: clamp(42px, 5.5vw, 70px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -2px;
  color: #fff;
  max-width: 60%;
  margin-top: 24px;
}
.hero__lead { font-size: 17px; color: rgba(255, 255, 255, .8); max-width: 60%; margin-top: 22px; }
.hero__actions { display: flex; align-items: center; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.btn--ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--ghost:hover { background: rgba(255, 255, 255, .18); border-color: #fff; }


/* ============================================================
   Bölüm iskeleti
   ============================================================ */
.section { padding-block: var(--section); }
.section--soft { background: var(--c-soft); }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(36px, 4.5vw, 56px); }
.section__head .label { margin-bottom: 16px; }
.section__title { font-size: clamp(30px, 3.6vw, 48px); font-weight: 600; letter-spacing: -1px; line-height: 1.1; max-width: 24ch; }
.section__link { flex: 0 0 auto; }

/* --- Statement (Hakkımızda kısa) + stat kartları --- */
.statement { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 5vw, 88px); align-items: center; }
.statement__text {
  font-size: clamp(23px, 2.5vw, 36px);
  font-weight: 600; letter-spacing: -1px; line-height: 1.24;
  color: var(--c-ink);
  margin-top: 18px;
}
.statement__text em { font-style: normal; color: var(--c-blue); }
.statement__sub { color: var(--c-muted); margin-top: 22px; max-width: 50ch; }
.statement__cta { margin-top: 28px; }

.stat-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stat-card {
  display: flex; flex-direction: column;
  background: var(--c-soft); border-radius: var(--r-lg);
  padding: 26px 28px;
  min-height: clamp(230px, 22vw, 300px);
}
.stat-card__label {
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--c-ink);
  padding-bottom: 14px; border-bottom: 1px solid var(--c-line);
}
.stat-card__bottom { margin-top: auto; }
.stat-card__num {
  display: block;
  font-family: var(--font-accent); font-weight: 600;
  font-size: clamp(44px, 4.2vw, 68px);
  letter-spacing: -.02em; line-height: 1;
  color: var(--c-ink);
}
.stat-card__num b { color: var(--c-blue); font-weight: 600; }
.stat-card__text { display: block; margin-top: 8px; font-size: 15px; color: var(--c-muted); }
.stat-card--photo { padding: 0; overflow: hidden; background: var(--c-ink); }
.stat-card--photo img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   Ürün grupları — görsel üstte, scoop oyuklu daire ok görselin
   alt kenarında; altta başlık + ayraç + açıklama
   (hover: yalnız görsel yumuşakça yukarı süzülür)
   ============================================================ */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 14px 14px 26px;
}

.cat-card__media { position: relative; transition: transform .35s ease; }
.cat-card__media img { width: 100%; height: 200px; object-fit: cover; border-radius: var(--r); }
.cat-card:hover .cat-card__media { transform: translateY(-6px); }

/* Scoop: beyaz TAM daire, görselin alt kenarını ortalar — üst yarısı
   U kuyusunu oluşturur. Dolgular dairenin kenar hizasındaki DİKEY teğet
   noktasına oturur; eğri duvara dolgu yaslamak (önceki yarım-daire
   denemesi) sivri görsel kamaları bırakıyordu. */
.cat-card__corner {
  position: absolute; right: 0; bottom: -39px;  /* görselin sağ alt köşesine dayalı "ısırık" */
  width: 78px; height: 78px;
  border-radius: 50%;
  background: #fff;
}
/* Yalnız SOL dolgu: sağda disk, görselin sağ kenarına dikey teğetle
   kavuştuğu için dolgu gerekmez — geçiş kendiliğinden pürüzsüz. */
.cat-card__corner::before {
  content: ""; position: absolute;
  top: calc(50% - 16px); left: -12px;      /* alt kenarı görsel kenarıyla hizalı */
  width: 16px; height: 16px;
  background: radial-gradient(circle 16px at top left, transparent 15.5px, #fff 16px);
}
.cat-card__circle {
  position: absolute; left: 12px; top: 12px;       /* 78px disk içinde ortalı → 12px eşit halka */
  display: grid; place-items: center;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--c-blue); color: #fff;
}
.cat-card__circle .ic { width: 18px; height: 18px; transform: rotate(-45deg); }

.cat-card__body { padding: 34px 12px 0; } /* dairenin alt yarısına nefes payı */
.cat-card__name {
  font-size: 21px; font-weight: 600; letter-spacing: -.01em; line-height: 1.2;
  color: var(--c-ink);
  padding-bottom: 16px; border-bottom: 1px solid var(--c-line);
}
.cat-card__desc { margin-top: 14px; font-size: 14.5px; color: var(--c-muted); line-height: 1.6; }

/* ============================================================
   Neden MDD — özellik listesi + koyu rakam kartı
   ============================================================ */
.why { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 5vw, 80px); align-items: center; }
.why__features { margin-top: 36px; display: grid; gap: 0; }
.why__feature { display: flex; gap: 18px; padding: 22px 0; border-top: 1px solid var(--c-line); }
.why__check {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%;
  background: var(--c-soft); color: var(--c-blue); display: grid; place-items: center;
}
.why__check .ic { width: 18px; height: 18px; }
.why__feature h4 { font-size: 17px; font-weight: 600; }
.why__feature p { margin-top: 4px; font-size: 14.5px; color: var(--c-muted); }
.why__card {
  background: var(--c-ink); border-radius: var(--r-lg);
  padding: clamp(36px, 4.5vw, 60px); color: #fff;
  display: flex; flex-direction: column; gap: 8px; min-height: 420px; justify-content: space-between;
}
.why__card-num { font-family: var(--font-accent); font-weight: 600; font-size: clamp(64px, 7vw, 110px); line-height: 1; color: #fff; }
.why__card-num b { color: #3D8BFF; font-weight: 600; }
.why__card-text { color: #AEB8D0; font-size: 16px; max-width: 30ch; }
.why__card .btn { align-self: flex-start; margin-top: 18px; }

/* ============================================================
   Markalar
   ============================================================ */
.brand-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.brand-cell {
  background: var(--c-soft); border-radius: var(--r-sm);
  aspect-ratio: 3 / 1.6; display: grid; place-items: center;
  font-weight: 600; font-size: 13px; letter-spacing: .08em; color: var(--c-muted);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.brand-cell:hover { background: #fff; color: var(--c-ink); box-shadow: var(--shadow-soft); }
.section--soft .brand-cell { background: #fff; }

/* ============================================================
   CTA — yuvarlak koyu blok
   ============================================================ */
.cta { padding-block: 0 var(--section); }
.cta__box {
  position: relative; overflow: hidden;
  background: var(--c-ink); border-radius: var(--r-lg);
  padding: clamp(48px, 6vw, 88px);
  display: flex; justify-content: space-between; align-items: center; gap: 40px;
}
/* Dekoratif watermark — sağda büyük, taşıp kesilen, %10 beyaz ikon */
.cta__box > * { position: relative; z-index: 1; }
.cta__box::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  top: 50%; right: -160px; transform: translateY(-50%);
  width: 780px; height: 780px;
  background: url("../img/icon-white.svg") no-repeat center / contain;
  opacity: .10;
}
@media (max-width: 600px) { .cta__box::after { width: 480px; height: 480px; right: -120px; } }
.cta__title { color: #fff; font-size: clamp(30px, 4vw, 52px); font-weight: 600; letter-spacing: -1px; line-height: 1.1; max-width: 18ch; }
.cta__text { margin-top: 14px; color: #AEB8D0; font-size: 16px; max-width: 44ch; }
.cta__actions { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; flex-wrap: wrap; }
.cta .link-arrow { color: #fff; }
.cta .link-arrow:hover { color: #7FB6FF; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--c-ink); color: #9AA6C4; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-block: clamp(56px, 7vw, 84px); }
.footer__about { margin-top: 16px; font-size: 14px; line-height: 1.7; max-width: 34ch; }
.footer__social { display: flex; gap: 10px; margin-top: 22px; }
.footer__social a { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; display: grid; place-items: center; color: #fff; transition: background var(--transition), border-color var(--transition); }
.footer__social a:hover { background: var(--c-blue); border-color: var(--c-blue); }
.footer__social .ic { width: 16px; height: 16px; }
.footer__col h4 { color: #fff; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 20px; }
.footer__col a { display: block; color: #9AA6C4; padding: 6px 0; font-size: 14.5px; transition: color var(--transition); }
.footer__col a:hover { color: #fff; }
.footer__ci { display: flex; align-items: flex-start; gap: 10px; padding: 6px 0; font-size: 14px; }
.footer__ci .ic { width: 16px; height: 16px; margin-top: 3px; opacity: .7; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }
.footer__bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 20px; }
.footer__legal { display: flex; gap: 18px; }
.footer__legal a:hover { color: #fff; }

/* --- Görünme animasyonu (tek seferlik, yumuşak) --- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .statement { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: 1fr; }
  .brand-grid { grid-template-columns: repeat(4, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 920px) {
  /* Mobil: yüzen "ada" yerine üste yapışık NORMAL header (tam genişlik, köşesiz, ince alt çizgi) */
  .site-header { top: 0; }
  .header__inner { border-radius: 0; padding-inline: var(--pad); box-shadow: 0 1px 0 var(--c-line); }
  .site-header.is-scrolled .header__inner { box-shadow: 0 1px 0 var(--c-line), 0 8px 22px rgba(10, 25, 68, .06); }
  .nav__toggle { display: flex; margin-right: -8px; } /* ikon kenara --pad hizalansın (8px iç padding telafi) */
  .nav { position: absolute; top: calc(100% + 10px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r); padding: 10px 22px 22px; transform: translateY(-10px); opacity: 0; visibility: hidden; transition: transform var(--transition), opacity var(--transition), visibility var(--transition); box-shadow: 0 24px 50px rgba(10,25,68,.14); }
  .nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav { max-height: calc(100vh - var(--header-h) - 24px); overflow-y: auto; } /* dropdown taşarsa kaydır */
  /* "Ürünler" submenu: mobilde KAPALI gelir (akordeon) — geçici inline nav-sub-temp'i override eder */
  .nav .nav__item--sub > .nav__link { display: flex; justify-content: space-between; align-items: center; }
  .nav .nav__caret { display: inline-block; transition: transform .2s; }
  .nav .nav__item--sub.is-open .nav__caret { transform: rotate(180deg); }
  .nav .nav__submenu { max-height: 0; overflow: hidden; padding-top: 0; padding-bottom: 0; transform: none !important; transition: max-height .28s ease; } /* transform:none → temp'in desktop :hover/:focus-within translateX(-50%)'i mobilde submenu'yu sola kaydırıyordu */
  .nav .nav__submenu .nav__sublink { white-space: normal; } /* uzun kategori adları sarsın, taşmasın (nowrap kaldırıldı) */
  .nav .nav__item--sub.is-open .nav__submenu { max-height: 800px; padding-bottom: 6px; }
  .nav__links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__links a { padding: 15px 2px; border-bottom: 1px solid var(--c-line); }
  .nav__cta { margin-top: 18px; justify-content: center; }
  .nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 760px) {
  .hero { min-height: auto; }
  .hero__title { letter-spacing: -1px; }
  .stat-cards { grid-template-columns: 1fr; }
  .stat-card { min-height: 200px; }
  .stat-card--photo { min-height: 260px; }
  .section__head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .cat-grid { grid-template-columns: 1fr; }
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
  .cta__box { flex-direction: column; align-items: flex-start; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 460px) {
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
}
/* ============================================================
   v5.6 — Responsive ince ayar (UI/UX, 2026-06-22)
   Mobil 380px → 1290px akıcı geçiş. Onaylı görseli bozmaz;
   yalnız küçük ekran davranışı + dokunma hedefleri + çapa hizası.
   ============================================================ */

/* Sticky ada altına çapa/scroll hizası */
[id] { scroll-margin-top: calc(var(--header-h) + var(--header-gap) + 16px); }

@media (max-width: 760px) {
  .hero { min-height: 600px; }
  .why__card { min-height: auto; padding: 40px 30px; }
}

@media (max-width: 600px) {
  :root { --pad: 20px; --header-gap: 22px; --header-h: 60px; --section: clamp(56px, 12vw, 80px); }
  .brand__logo { width: 170px !important; }
  .stat-card { min-height: 180px; padding: 22px 24px; }
  .cta__box { padding: 40px 26px; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { justify-content: center; }
  .cta__actions { flex-direction: column; align-items: stretch; }
  .cta__actions .btn { justify-content: center; }
}

@media (max-width: 400px) {
  :root { --pad: 16px; }
  .hero__title { font-size: 38px; }
  .brand { font-size: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .cat-card__media { transition: none; }
}

/* ============================================================
   v6 — İÇ SAYFA BİLEŞENLERİ (UI/UX, 2026-06-22)
   Master markup'ı (b4e57a5) ile birebir sınıflara bağlı.
   ============================================================ */

/* --- Ortak üst bant: page-head + breadcrumb --- */
.page-head { padding-top: calc(var(--header-h) + var(--header-gap) + clamp(20px, 3vw, 44px)); padding-bottom: clamp(28px, 3.5vw, 48px); background: var(--c-bg); }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--c-muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--c-muted); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--c-blue); }
.breadcrumb [aria-current] { color: var(--c-ink); font-weight: 600; }
.breadcrumb__sep { color: var(--c-line); }
.page-head__title { font-size: clamp(30px, 3.6vw, 48px); font-weight: 600; letter-spacing: -1px; line-height: 1.1; color: var(--c-ink); margin-top: 14px; }
.page-head__sub { margin-top: 16px; color: var(--c-muted); font-size: 17px; line-height: 1.6; max-width: 64ch; }

/* Subheader bg varyantı — ana sayfa hero tarzı, ~yarı yükseklik.
   Master inline işlevsel stiller veriyor (bg cover + scrim + beyaz metin);
   burada bandın düzenini/yüksekliğini rafine ediyoruz. */
.page-head--bg {
  margin-top: calc(-1 * var(--header-h)); /* görsel sayfanın en tepesine değsin (hero gibi); üstte beyaz şerit kalmasın */
  display: flex;
  align-items: center;
  min-height: clamp(340px, 48vh, 460px);          /* ana sayfa hero'nun ~yarısı */
  padding-bottom: clamp(40px, 5vw, 64px);
  border-radius: 0 0 var(--r-lg) var(--r-lg);     /* hero ile aynı: alt köşeler yuvarlak */
}
.page-head--bg .page-head__sub { max-width: 56ch; }
/* Koyu bandda breadcrumb iç öğeleri açık olmalı (base muted/ink koyu kalıyordu) */
.page-head--bg .breadcrumb a { color: rgba(255, 255, 255, .8); }
.page-head--bg .breadcrumb a:hover { color: #fff; }
.page-head--bg .breadcrumb [aria-current] { color: #fff; }
.page-head--bg .breadcrumb__sep { color: rgba(255, 255, 255, .45); }
@media (max-width: 600px) {
  .page-head--bg { min-height: clamp(260px, 52vw, 340px); }
}

/* --- Prose (paylaşılan uzun metin: kurumsal hikaye, ürün açıklama, statik sayfa) --- */
.prose { max-width: 72ch; color: var(--c-text); font-size: 16.5px; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(22px, 2.4vw, 30px); margin-top: 1.6em; }
.prose h3 { font-size: 20px; margin-top: 1.5em; }
.prose ul { list-style: disc; padding-left: 1.3em; }
.prose ol { list-style: decimal; padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose a { color: var(--c-blue); text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--c-ink); font-weight: 600; }
.prose img { border-radius: var(--r); margin-block: 1.4em; }
.prose a:hover { color: var(--c-blue-2); }
/* Yasal sayfa tabloları (md_to_html → bare <table>, sarmalayıcı yok) */
.prose table { width: 100%; border-collapse: separate; border-spacing: 0; margin-block: 1.6em; font-size: 14.5px; border: 1px solid var(--c-line); border-radius: var(--r-sm); overflow: hidden; }
.prose thead th { background: var(--c-soft); color: var(--c-ink); font-weight: 600; }
.prose th, .prose td { padding: 12px 14px; text-align: left; vertical-align: top; line-height: 1.55; }
.prose tbody td { border-top: 1px solid var(--c-line); color: var(--c-text); }
.prose tbody tr:nth-child(even) td { background: var(--c-soft); }
@media (max-width: 640px) {
  .prose table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .prose th, .prose td { min-width: 124px; }
}

/* --- Kurumsal --- */
.corp-statement { font-size: clamp(22px, 2.6vw, 34px); font-weight: 600; letter-spacing: -.5px; line-height: 1.3; color: var(--c-ink); max-width: 28ch; }
.corp-statement em { font-style: normal; color: var(--c-blue); }
.corp-story { display: grid; grid-template-columns: 300px 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.corp-story__aside { position: sticky; top: calc(var(--header-h) + var(--header-gap) + 16px); }
.corp-story__title { font-size: clamp(24px, 2.6vw, 32px); font-weight: 600; letter-spacing: -.5px; margin-top: 12px; }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value-card { background: var(--c-soft); border-radius: var(--r-lg); padding: 32px 28px; }
.value-card__icon { width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--c-blue); display: grid; place-items: center; margin-bottom: 20px; }
.value-card__icon .ic { width: 20px; height: 20px; }
.value-card__title { font-size: 18px; font-weight: 600; }
.value-card__text { margin-top: 8px; font-size: 14.5px; color: var(--c-muted); line-height: 1.6; }
.stat-cards--four { grid-template-columns: repeat(4, 1fr); }
.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.cert-card { display: flex; flex-direction: column; gap: 12px; }
.cert-card__link { position: relative; display: grid; place-items: center; aspect-ratio: 4/3; background: var(--c-soft); border: 1px solid var(--c-line); border-radius: var(--r); overflow: hidden; padding: 18px; }
.cert-card__img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cert-card__zoom { position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--c-ink); display: grid; place-items: center; box-shadow: var(--shadow-soft); opacity: 0; transition: opacity var(--transition); }
.cert-card__zoom .ic { width: 18px; height: 18px; }
.cert-card__link:hover .cert-card__zoom, .cert-card__link:focus-visible .cert-card__zoom { opacity: 1; }
.cert-card__title { font-size: 14px; color: var(--c-text); font-weight: 500; }
.cert-grid__empty { grid-column: 1 / -1; color: var(--c-muted); background: var(--c-soft); border-radius: var(--r); padding: 32px; text-align: center; }

/* --- Ürünler: shop + filter --- */
.filter-toggle { display: none; align-items: center; gap: 10px; margin-bottom: 20px; padding: 12px 20px; border: 1px solid var(--c-line); border-radius: var(--pill); background: #fff; font-family: var(--font-body); font-weight: 600; font-size: 15px; color: var(--c-ink); cursor: pointer; }
.filter-toggle .ic { width: 18px; height: 18px; }
.filter-toggle__count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--c-blue); color: #fff; font-size: 12px; }
.shop { display: grid; grid-template-columns: 280px 1fr; gap: clamp(24px, 3vw, 48px); align-items: start; }
.shop__aside { position: sticky; top: calc(var(--header-h) + var(--header-gap) + 16px); }
.filter__drawer-head { display: none; }
.filter__group + .filter__group { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--c-line); }
.filter__title { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--c-muted); margin-bottom: 14px; }
.filter__tree { display: flex; flex-direction: column; gap: 2px; }
.filter__link { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: var(--r-sm); color: var(--c-ink); font-weight: 500; font-size: 15px; transition: background var(--transition), color var(--transition); }
.filter__link:hover { background: var(--c-soft); }
.filter__link.is-active { background: var(--c-blue); color: #fff; }
.filter__link.is-active .filter__count { color: rgba(255, 255, 255, .8); }
.filter__count { font-size: 12.5px; color: var(--c-muted); }
.filter__sub { display: none; margin: 4px 0 6px; padding-left: 12px; border-left: 1px solid var(--c-line); }
.filter__node.is-open > .filter__sub { display: block; }
.filter__link--sub { font-size: 14px; font-weight: 400; padding: 8px 12px; color: var(--c-text); }
.filter__brands { display: flex; flex-direction: column; gap: 2px; }
.filter__check label { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: var(--r-sm); cursor: pointer; font-size: 14.5px; transition: background var(--transition); }
.filter__check label:hover { background: var(--c-soft); }
.filter__check input { accent-color: var(--c-blue); width: 16px; height: 16px; flex: 0 0 auto; }
.filter__check .filter__label { flex: 1; }
.filter__actions { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; align-items: stretch; }
.filter__actions .btn { width: 100%; justify-content: center; }
.filter__clear { justify-content: center; font-size: 14px; }
.filter-backdrop { position: fixed; inset: 0; background: rgba(10, 25, 68, .5); z-index: 70; }

/* --- Ürünler: sonuç barı --- */
.shop__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-bottom: 28px; }
.shop__count { font-size: 15px; color: var(--c-muted); }
.shop__count b { color: var(--c-ink); font-weight: 600; }
.shop__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.shop__chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 8px 6px 14px; background: var(--c-soft); border-radius: var(--pill); font-size: 13.5px; color: var(--c-ink); }
.shop__chip a { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #fff; color: var(--c-muted); transition: background var(--transition), color var(--transition); }
.shop__chip a:hover { background: var(--c-blue); color: #fff; }
.shop__chip a .ic { width: 13px; height: 13px; }
.shop__sort { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; }
.shop__sort-label { font-size: 13px; color: var(--c-muted); }
.shop__sort-select { appearance: none; -webkit-appearance: none; padding: 10px 40px 10px 16px; border: 1px solid var(--c-line); border-radius: var(--pill); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%238A91A3' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center; font: inherit; font-size: 14px; font-weight: 500; color: var(--c-ink); cursor: pointer; }
.shop__sort-select:focus-visible { outline: none; border-color: var(--c-blue); box-shadow: 0 0 0 3px rgba(0, 97, 233, .15); }

/* --- Ürün kartı (liste + benzer + marka detay; <article> veya <a>) --- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 14px 14px 24px; }
.product-card__media { display: block; position: relative; transition: transform .35s ease; }
.product-card__media img { width: 100%; height: 200px; object-fit: cover; border-radius: var(--r); background: var(--c-soft); }
.product-card:hover .product-card__media { transform: translateY(-6px); }
.product-card__corner { position: absolute; right: 0; bottom: -39px; width: 78px; height: 78px; border-radius: 50%; background: #fff; }
.product-card__corner::before { content: ""; position: absolute; top: calc(50% - 16px); left: -12px; width: 16px; height: 16px; background: radial-gradient(circle 16px at top left, transparent 15.5px, #fff 16px); }
.product-card__circle { position: absolute; left: 12px; top: 12px; width: 54px; height: 54px; border-radius: 50%; background: var(--c-blue); color: #fff; display: grid; place-items: center; }
.product-card__circle .ic { width: 18px; height: 18px; transform: rotate(-45deg); }
.product-card__body { padding: 34px 12px 0; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.product-card__cat { color: var(--c-muted); }
.product-card__brand { color: var(--c-blue); font-weight: 600; }
.product-card__name { font-size: 18px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; color: var(--c-ink); }
.product-card__name a { color: inherit; transition: color var(--transition); }
.product-card:hover .product-card__name a { color: var(--c-blue); }
.product-card__desc { font-size: 14px; color: var(--c-muted); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card__link { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; color: var(--c-ink); }
.product-card__link .ic { width: 16px; height: 16px; transition: transform var(--transition); }
.product-card:hover .product-card__link { color: var(--c-blue); }
.product-card:hover .product-card__link .ic { transform: translateX(4px); }

/* --- Sayfalama --- */
.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination__btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--c-line); display: grid; place-items: center; color: var(--c-ink); transition: background var(--transition), border-color var(--transition), color var(--transition); }
.pagination__btn .ic { width: 18px; height: 18px; }
.pagination__prev .ic { transform: rotate(180deg); }
.pagination__btn:hover { border-color: var(--c-blue); color: var(--c-blue); }
.pagination__btn.is-disabled { opacity: .4; pointer-events: none; }
.pagination__pages { display: flex; align-items: center; gap: 4px; }
.pagination__page { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 6px; border-radius: 50%; font-weight: 600; font-size: 15px; color: var(--c-ink); transition: background var(--transition), color var(--transition); }
.pagination__page:hover { background: var(--c-soft); }
.pagination__page.is-active { background: var(--c-blue); color: #fff; }
.pagination__gap { display: grid; place-items: center; width: 32px; height: 46px; color: var(--c-muted); }

/* --- Boş durum --- */
.shop__empty { text-align: center; padding: clamp(48px, 8vw, 96px) 24px; border: 1px solid var(--c-line); border-radius: var(--r-lg); background: var(--c-soft); }
.shop__empty-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #fff; color: var(--c-blue); margin-bottom: 20px; }
.shop__empty-icon .ic { width: 28px; height: 28px; }
.shop__empty-title { font-size: 20px; font-weight: 600; color: var(--c-ink); }
.shop__empty-text { margin-top: 8px; color: var(--c-muted); }
.shop__empty .btn { margin-top: 24px; }

/* --- Ürün detay --- */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4.5vw, 64px); align-items: start; }
.product__stage { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); aspect-ratio: 4/3; display: grid; place-items: center; overflow: hidden; padding: clamp(20px, 3vw, 40px); } /* beyaz + border (marka logo alanı gibi); 4:3 contain → 27 farklı orandaki görseli nötr oturtur */
.product__main-img { width: 100%; height: 100%; object-fit: contain; }
.product__thumbs { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.product__thumb { width: 72px; height: 72px; border: 1px solid var(--c-line); border-radius: var(--r-sm); overflow: hidden; padding: 0; background: #fff; cursor: pointer; transition: border-color var(--transition); }
.product__thumb img { width: 100%; height: 100%; object-fit: cover; }
.product__thumb.is-active, .product__thumb:hover { border-color: var(--c-blue); }
.product__brand { display: inline-flex; align-items: center; min-height: 40px; margin-bottom: 8px; }
.product__brand img { max-height: 40px; max-width: 160px; object-fit: contain; }
.product__brand-name { font-weight: 600; color: var(--c-ink); }
.product__lead { font-size: 18px; color: var(--c-muted); line-height: 1.6; margin-top: 8px; }
.product__meta { margin-top: 24px; border-top: 1px solid var(--c-line); }
.product__meta-row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--c-line); font-size: 15px; }
.product__meta-key { color: var(--c-muted); }
.product__meta-val { color: var(--c-ink); font-weight: 600; text-align: right; }
.product__stock { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: var(--pill); font-size: 13px; font-weight: 600; }
.product__stock--ask { background: var(--c-soft); color: var(--c-blue); }
.product__stock--in { background: var(--c-success-soft); color: var(--c-success); }
.product__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.product__wa { display: inline-flex; align-items: center; gap: 10px; padding: 18px 28px; border-radius: var(--pill); background: var(--c-wa); color: #fff; font-weight: 600; font-size: 15px; transition: background var(--transition); }
.product__wa:hover { background: var(--c-wa-hover); }
.product__wa .ic { width: 18px; height: 18px; }
.product__detail { margin-top: clamp(40px, 5vw, 72px); display: grid; gap: clamp(32px, 4vw, 56px); }
.product__section-title { font-size: clamp(20px, 2.2vw, 26px); font-weight: 600; letter-spacing: -.4px; padding-bottom: 14px; border-bottom: 1px solid var(--c-line); margin-bottom: 24px; }
.spec-table { width: 100%; border-collapse: collapse; border-radius: var(--r); overflow: hidden; }
.spec-table th, .spec-table td { text-align: left; padding: 14px 18px; font-size: 15px; vertical-align: top; }
.spec-table th { color: var(--c-muted); font-weight: 500; width: 40%; }
.spec-table td { color: var(--c-ink); font-weight: 500; }
.spec-table tbody tr:nth-child(odd) { background: var(--c-soft); }
.product__related-head { margin-top: clamp(56px, 7vw, 96px); }

/* ===== Ürün detay rafine (kullanıcı: orantısız boşluk yok, ince dokunuş) ===== */
/* 1. Subheader: orta-boy breadcrumb bandı (dev değil, çok ince de değil ~270px); breadcrumb dikeyde ortalı */
body:has(.product) .page-head--bg { min-height: clamp(250px, 30vw, 285px); padding-top: calc(var(--header-h) + var(--header-gap)); padding-bottom: clamp(22px, 3vw, 30px); }
body:has(.product) .page-head--bg .breadcrumb { margin-bottom: 0; }
/* Related ile CTA arası fazla boşluk = ürün section alt padding'ini footer-top'a eşitle (CTA↔footer ile denk) */
.section:has(.product) { padding-bottom: clamp(56px, 7vw, 84px); }
/* 6. product__title (urun.php temp inline'dan taşındı) */
.product__title { font-size: clamp(26px, 3vw, 38px); font-weight: 600; letter-spacing: -.8px; line-height: 1.14; color: var(--c-ink); margin: 0 0 2px; }
/* 2. Sağ kolon güven şeridi (boşluğu anlamlı doldurur) */
.product__assure { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 24px; padding: 20px 0 0; border-top: 1px solid var(--c-line); list-style: none; }
.product__assure li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--c-ink); font-weight: 500; }
.product__assure svg { width: 16px; height: 16px; color: var(--c-blue); flex: 0 0 auto; }
/* 3+4. Açıklama okunur genişlik + spec tablo gerilmesin; iki bölüm varsa yan yana (boşluğu kapatır) */
.product__desc { max-width: 72ch; }
.product__detail .spec-table { max-width: 640px; }
@media (min-width: 761px) {
  .product__detail:has(.product__section + .product__section) { grid-template-columns: 1.45fr 1fr; align-items: start; }
}
/* 5. WhatsApp ikon hizası → Teklif Al ile aynı yükseklik */
.product__wa .ic { width: 16px; height: 16px; }

/* ===== Ürün görseli: büyüteç + lightbox ===== */
.product__stage { position: relative; cursor: zoom-in; }
.product__stage:focus-visible { outline: 2px solid var(--c-blue); outline-offset: 2px; }
.product__zoom { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .92); border: 1px solid var(--c-line); display: grid; place-items: center; color: var(--c-ink); pointer-events: none; transition: background var(--transition), color var(--transition), border-color var(--transition); }
.product__zoom svg { width: 18px; height: 18px; }
.product__stage:hover .product__zoom, .product__stage:focus-visible .product__zoom { background: var(--c-blue); border-color: var(--c-blue); color: #fff; }
.lightbox { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: clamp(16px, 4vw, 56px); }
.lightbox.is-open { display: flex; animation: lb-in .18s ease both; }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(10, 25, 68, .9); }
.lightbox__img { position: relative; max-width: min(1100px, 100%); max-height: 86vh; object-fit: contain; border-radius: var(--r); background: #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox__btn { position: absolute; z-index: 1; display: grid; place-items: center; border: 0; cursor: pointer; background: rgba(255, 255, 255, .14); color: #fff; border-radius: 50%; line-height: 1; transition: background var(--transition); }
.lightbox__btn:hover { background: rgba(255, 255, 255, .28); }
.lightbox__close { top: clamp(14px, 2vw, 24px); right: clamp(14px, 2vw, 24px); width: 46px; height: 46px; font-size: 26px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 30px; }
.lightbox__nav--prev { left: clamp(10px, 2vw, 28px); }
.lightbox__nav--next { right: clamp(10px, 2vw, 28px); }
.lightbox__counter { position: absolute; bottom: clamp(14px, 2.5vw, 26px); left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, .85); font-size: 14px; font-weight: 500; letter-spacing: .03em; }
@media (prefers-reduced-motion: reduce) { .lightbox.is-open { animation: none; } }

/* --- Markalar grid (logolu) — KARE kutu, logo %100 doldurur (kenar boşlukları logoda hazır) --- */
.brand-cell--logo { background: #fff; border: 1px solid var(--c-line); aspect-ratio: 1 / 1; padding: 0; overflow: hidden; transition: box-shadow .5s ease, transform .5s cubic-bezier(.2, .7, .2, 1); }
.brand-cell--logo:hover { background: #fff; box-shadow: var(--shadow-soft); transform: translateY(-5px); }
.brand-cell--logo > span { padding: 14px; text-align: center; } /* logo yoksa metin fallback */
.brand-cell__img { width: 100%; height: 100%; object-fit: contain; filter: var(--brand-logo-filter); transition: filter var(--transition); }
.brand-cell--logo:hover .brand-cell__img, .brand-cell--logo:focus-visible .brand-cell__img { filter: none; }
.brand-grid__empty { color: var(--c-muted); }

/* --- Marka detay --- */
.brand-detail__head { display: grid; grid-template-columns: 280px 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; } /* üstten hizalı: logo metnin ilk satırıyla, yüzme yok */
.brand-detail__logo { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); aspect-ratio: 1/1; max-width: 320px; position: relative; overflow: hidden; } /* KARE kutu (logolar kare hazırlandı → bkz. hafıza); kare logo kutuyu neredeyse tam doldurur. max-width: geniş/mobil kolonda aşırı büyümesin */
.brand-detail__logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; } /* kare logo kart yüksekliğini doldurur (contain → kırpma yok, padding 0) */
.brand-detail__text { font-size: 17px; color: var(--c-text); line-height: 1.7; }
.brand-detail__site { margin-top: 20px; }
.brand-detail__products { margin-top: clamp(48px, 6vw, 80px); }
.brand-detail__empty { color: var(--c-muted); background: var(--c-soft); border-radius: var(--r); padding: 32px; text-align: center; }

/* --- İletişim --- */
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.contact__info-title { font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; letter-spacing: -.5px; margin-top: 12px; }
.contact__list { margin-top: 28px; display: flex; flex-direction: column; }
.contact__item { display: flex; gap: 16px; padding: 14px 0; }
.contact__icon { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; background: var(--c-soft); color: var(--c-blue); display: grid; place-items: center; }
.contact__icon .ic { width: 20px; height: 20px; }
.contact__item-label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--c-muted); margin-bottom: 4px; }
.contact__item-value { color: var(--c-ink); font-size: 15.5px; line-height: 1.5; }
.contact__item-value a:hover { color: var(--c-blue); }
.contact__item-value--empty { color: var(--c-muted); }
.contact__social { display: flex; gap: 10px; margin-top: 24px; }
.contact__social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--c-line); display: grid; place-items: center; color: var(--c-ink); transition: background var(--transition), border-color var(--transition), color var(--transition); }
.contact__social a:hover { background: var(--c-blue); border-color: var(--c-blue); color: #fff; }
.contact__social .ic { width: 18px; height: 18px; }
.contact__map { margin-top: 28px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--c-line); height: 300px; } /* yükseklik parent'ta: iframe inline height:100% buna oturur (önce 150px'e çöküyordu) + form'la dengeler */
.contact__map iframe { display: block; width: 100%; height: 100%; border: 0; } /* yükseklik .contact__map'ten gelir (helper iframe'i inline height:100% üretiyor) */
.contact__map-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; height: 100%; background: var(--c-soft); color: var(--c-muted); }
.contact__map-empty .ic { width: 28px; height: 28px; }

/* --- Form --- */
.contact__form { background: var(--c-soft); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 48px); }
.contact__form-title { font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; letter-spacing: -.5px; margin-top: 12px; }
.form { display: flex; flex-direction: column; gap: 18px; margin-top: 24px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label { font-size: 14px; font-weight: 600; color: var(--c-ink); }
.field__req { color: var(--c-blue); }
.field__input { width: 100%; padding: 14px 16px; border: 1px solid var(--c-line); border-radius: var(--r-sm); background: #fff; font: inherit; font-size: 15px; color: var(--c-ink); transition: border-color var(--transition), box-shadow var(--transition); }
.field__input::placeholder { color: var(--c-muted); }
.field__input:focus { outline: none; border-color: var(--c-blue); box-shadow: 0 0 0 3px rgba(0, 97, 233, .15); }
.field--textarea .field__input { resize: vertical; min-height: 140px; }
.field--invalid .field__input { border-color: var(--c-error); }
.field--invalid .field__input:focus { box-shadow: 0 0 0 3px rgba(180, 35, 24, .15); }
.field__error { font-size: 13px; color: var(--c-error); }
.form__consent { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.form__consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--c-blue); flex: 0 0 auto; }
.form__consent-text { font-size: 14px; color: var(--c-text); line-height: 1.5; }
.form__consent-text a { color: var(--c-blue); text-decoration: underline; }
.form__consent .field__error { grid-column: 1 / -1; }
.form__submit { align-self: flex-start; }
.form__spinner { display: none; width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: mdd-spin .7s linear infinite; }
.form__submit.is-loading { pointer-events: none; opacity: .85; }
.form__submit.is-loading .form__spinner { display: inline-block; }
.form__submit.is-loading > .ic { display: none; }
@keyframes mdd-spin { to { transform: rotate(360deg); } }
.form-alert { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-radius: var(--r); font-size: 15px; margin-bottom: 8px; }
.form-alert .ic { width: 20px; height: 20px; flex: 0 0 auto; }
.form-alert--success { background: var(--c-success-soft); color: var(--c-success); }
.form-alert--error { background: var(--c-error-soft); color: var(--c-error); }

/* --- Yardımcı --- */
body.no-scroll { overflow: hidden; }

/* ============================================================
   v6 — İç sayfa responsive
   ============================================================ */
@media (max-width: 1024px) {
  .product { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .corp-story { grid-template-columns: 1fr; }
  .corp-story__aside { position: static; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-cards--four { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-detail__head { grid-template-columns: 1fr; }
}
@media (max-width: 920px) {
  .filter-toggle { display: inline-flex; }
  .shop { grid-template-columns: 1fr; }
  .shop__aside { position: fixed; top: 0; left: 0; bottom: 0; width: min(360px, 86vw); background: #fff; z-index: 80; overflow-y: auto; padding: 20px 22px 32px; transform: translateX(-100%); transition: transform .3s ease; box-shadow: 0 0 60px rgba(10, 25, 68, .2); }
  .shop__aside.is-open { transform: none; }
  .filter__drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
  .filter__drawer-title { font-size: 18px; font-weight: 600; color: var(--c-ink); }
  .filter__close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--c-line); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--c-ink); }
  .filter__close .ic { width: 18px; height: 18px; }
}
@media (max-width: 760px) {
  .form__row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .value-grid { grid-template-columns: 1fr; }
  .stat-cards--four { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .product__thumb { width: 60px; height: 60px; }
  .product__actions .btn, .product__actions .product__wa { flex: 1 1 auto; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .product-card__media, .field__input, .brand-cell__img, .shop__aside, .brand-cell--logo { transition: none; }
  .brand-cell--logo:hover { transform: none; }
  .form__spinner { animation: none; }
}

/* Hero başlık genişliği — masaüstü %50, dar ekranlarda aç (kaynak sırası: 1024 → 760) */
@media (max-width: 1024px) { .hero__title, .hero__lead { max-width: 80%; } }
@media (max-width: 760px)  { .hero__title, .hero__lead { max-width: 100%; } }

/* ============================================================
   WOW — Faz 1 (pür-CSS, markup yok). Tüm hareketler prefers-reduced-motion'da kapalı.
   Paketler: scoop hover · buton parıltı · link alt-çizgi · marka logo dalgası · film grain · CTA nefesi
   ============================================================ */
:root { --grain-tex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.55'/%3E%3C/svg%3E"); }

/* 1) Scoop hover — yalnız ↗ ok döner (ekstra gölge/büyüme/dolum yok) */
.cat-card__circle .ic, .product-card__circle .ic { transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.cat-card:hover .cat-card__circle .ic, .product-card:hover .product-card__circle .ic { transform: rotate(0deg); }

/* 2) Buton parıltı süpürmesi — primary butonlarda hover'da bir kez ışık geçer */
.btn--primary { position: relative; overflow: hidden; }
.btn--primary::before { content: ""; position: absolute; top: 0; bottom: 0; left: -80%; width: 55%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.5), transparent); transform: skewX(-18deg); pointer-events: none; }
.btn--primary:hover::before { animation: btn-sweep .75s cubic-bezier(.4,0,.2,1); }
@keyframes btn-sweep { from { left: -80%; } to { left: 140%; } }

/* 3) Link alt-çizgi — inline'da soldan sağa çizilir; blok footer linkinde metin-genişliğinde belirir */
.breadcrumb a { background-image: linear-gradient(currentColor, currentColor); background-position: 0 100%; background-repeat: no-repeat; background-size: 0% 1.5px; transition: background-size .35s ease, color var(--transition); }
.breadcrumb a:hover { background-size: 100% 1.5px; }
.footer__col a { text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1.5px; text-underline-offset: 3px; transition: color var(--transition), text-decoration-color .3s ease; }
.footer__col a:hover { text-decoration-color: currentColor; }

/* 4) Marka logo dalgası — görünür olunca (.is-in) sütun gecikmeli renklenir */
.brand-cell--logo.is-in .brand-cell__img,
.brand-cell--logo:hover .brand-cell__img,
.brand-cell--logo:focus-visible .brand-cell__img { filter: none; }
.brand-cell--logo:hover .brand-cell__img { transition-delay: 0ms; }
.brand-grid--logos .brand-cell--logo:nth-child(6n+1) .brand-cell__img { transition-delay: 0ms; }
.brand-grid--logos .brand-cell--logo:nth-child(6n+2) .brand-cell__img { transition-delay: 70ms; }
.brand-grid--logos .brand-cell--logo:nth-child(6n+3) .brand-cell__img { transition-delay: 140ms; }
.brand-grid--logos .brand-cell--logo:nth-child(6n+4) .brand-cell__img { transition-delay: 210ms; }
.brand-grid--logos .brand-cell--logo:nth-child(6n+5) .brand-cell__img { transition-delay: 280ms; }
.brand-grid--logos .brand-cell--logo:nth-child(6n) .brand-cell__img { transition-delay: 350ms; }
@media (max-width: 760px) { .brand-grid--logos .brand-cell--logo .brand-cell__img { transition-delay: 0ms !important; } } /* dar ekranda sütun ritmi bozulmasın */

/* 5) Film grain — koyu DÜZ yüzeylere ince analog doku (statik, mix-blend overlay, ~1KB).
   Hero (LCP görseli) KASITEN hariç: fotoğrafın üstünde blend ilk-paint maliyeti + zaten doku var. */
.why__card::before, .cta__box::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--grain-tex); background-size: 140px 140px;
  mix-blend-mode: overlay; opacity: .07; z-index: 0;
}
.why__card { position: relative; }
.why__card > * { position: relative; z-index: 1; }

/* 6) CTA nefesi — hover'da watermark canlanır + başlık altı mavi vurgu büyür (idle hareket yok) */
.cta__box::after { transition: transform .8s cubic-bezier(.2,.7,.2,1), opacity .8s ease; }
.cta__box:hover::after { transform: translateY(-50%) scale(1.06); opacity: .16; }
.cta__title { position: relative; }
.cta__title::after { content: ""; position: absolute; left: 0; bottom: -16px; height: 3px; width: 0; background: var(--grad-brand); border-radius: 3px; transition: width .5s cubic-bezier(.2,.7,.2,1); }
.cta__box:hover .cta__title::after { width: 64px; }

/* reduced-motion: yeni hareketleri kapat, son durumları koru */
@media (prefers-reduced-motion: reduce) {
  .cat-card__circle .ic, .product-card__circle .ic, .btn--primary::before,
  .cta__box::after, .cta__title::after, .breadcrumb a, .footer__col a, .brand-cell__img { transition: none !important; }
  .btn--primary:hover::before { animation: none; }
  .brand-cell__img { filter: none; }
}

/* ============================================================
   WOW — Faz 2 (çoğu pür-CSS). Girişler tek seferlik; reduced-motion'da kapalı/son-durum.
   Hero açılış · ada iniş · scoop açılım+halka · cam ada
   ============================================================ */

/* a) Hero açılışı — YALNIZ transform:scale (compositor; LCP'yi etkilemez). clip-path KASITEN yok:
   görseli kırpmak en büyük boyalı alanı t=0'da küçültüp LCP'yi geciktiriyordu (CSS-incelemesi, high). */
@keyframes hero-reveal { from { transform: scale(1.05); } to { transform: scale(1); } }
.hero__bg img { animation: hero-reveal 1.1s cubic-bezier(.22,.61,.36,1) both; }

/* b) Ada iniş — header tek sefer yukarıdan iner + belirir */
@keyframes island-drop { from { transform: translateY(-16px); } to { transform: translateY(0); } }
.header__inner { animation: island-drop .7s cubic-bezier(.2,.7,.2,1) both; }

/* (Scoop açılım/halka "patlaması" kullanıcı isteğiyle geri alındı — kartlar yalnız mevcut reveal ile gelir) */

/* d) Cam ada — yalnız masaüstü + hover + backdrop-filter destekli; hero/subheader üstündeyken cam, scroll'da opak */
@media (min-width: 1024px) and (hover: hover) {
  @supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .site-header:not(.is-scrolled) .header__inner {
      background: rgba(255, 255, 255, .88);
      -webkit-backdrop-filter: blur(18px) saturate(1.4);
      backdrop-filter: blur(18px) saturate(1.4);
    }
  }
}
/* Yüksek kontrast / forced-colors: camı kapat, sistem zemini kullan */
@media (forced-colors: active) {
  .site-header .header__inner { background: Canvas !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  .scroll-progress { background: CanvasText; } /* gradient forced-colors'ta kaybolur → sistem rengi */
}

/* reduced-motion: Faz 2 girişlerini kapat */
@media (prefers-reduced-motion: reduce) {
  .hero__bg img, .header__inner { animation: none !important; }
}

/* ============================================================
   WOW — Faz 3 (JS destekli). Say-up & parallax JS'te reduced-motion'da atlanır; filigran/çizgi statik.
   ============================================================ */

/* Scroll ilerleme çizgisi — JS .scroll-progress ekler (en üstte ince mavi şerit) */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70; transform: scaleX(0); transform-origin: 0 50%; background: var(--grad-brand); pointer-events: none; }

/* Bölüm numara filigranı — yalnız ≥761px, çok soluk, başlık metninin arkasında */
body { counter-reset: mdd-sec; }
@media (min-width: 761px) {
  .section__head { position: relative; }
  .section__head > * { position: relative; z-index: 1; }
  .section__head::before {
    content: counter(mdd-sec, decimal-leading-zero) / ""; counter-increment: mdd-sec; /* / "" → ekran okuyucu seslendirmez */
    position: absolute; top: 50%; right: 6px; transform: translateY(-52%);
    font-family: var(--font-accent); font-weight: 600; font-size: clamp(56px, 7vw, 104px); line-height: 1; /* kısa head'lerde (1 satır) üstteki hairline'a değmesin */
    color: rgba(10, 25, 68, .045); z-index: 0; pointer-events: none; -webkit-user-select: none; user-select: none;
  }
}

/* Hero parallax headroom — JS body.parallax-on ekler; translateY taşması alt/üst boşluk açmasın (%12).
   @media ile masaüstüne sınırlı: küçültmede sınıf kalsa bile mobilde oversize bg uygulanmaz. */
@media (min-width: 1024px) { .parallax-on .hero__bg { top: -12%; bottom: auto; height: 124%; } }

/* ============================================================
   SEVİYE-ATLAMA — Faz A (saf-CSS, ölçülü; markup yok)
   Editoryal ritim + malzeme/ışık modeli. İmza (scoop, filigran, çizgi) korunur.
   ============================================================ */
:root {
  --elev-1: 0 1px 2px rgba(10,25,68,.05), 0 10px 28px rgba(10,25,68,.06);
  --elev-2: 0 2px 6px rgba(10,25,68,.10), 0 22px 50px rgba(10,25,68,.14);
  --grid-ink: repeating-linear-gradient(0deg, transparent 0 39px, rgba(255,255,255,.04) 39px 40px),
              repeating-linear-gradient(90deg, transparent 0 39px, rgba(255,255,255,.04) 39px 40px);
}

/* 1) Yükseklik sistemi — kartlarda STATİK elev-1 (oturmuş derinlik); zaten kalkanlar (cat/product/brand) hover'da elev-2 (gölge kalkışı izler, yeni hareket değil) */
.cat-card, .product-card, .value-card, .stat-card, .cert-card, .brand-cell--logo { box-shadow: var(--elev-1); }
.cat-card, .product-card { transition: box-shadow var(--transition); }
.cat-card:hover, .product-card:hover { box-shadow: var(--elev-2); }
.brand-cell--logo:hover { box-shadow: var(--elev-2); }

/* (2) Scoop ışık modeli — kullanıcı 3B düğme havasını beğenmedi → eski SADE düz mavi korunur (base kuralı) */

/* 3) Koyu yüzeylere blueprint teknik ızgara — ELEMENT background'una (pseudo'lar grain/watermark ile dolu, çakışmasın) */
/* Blueprint doku yalnız CTA'da (kullanıcı: footer + Neden-MDD band + why-kart'tan kaldırıldı) */
.cta__box   { background-color: var(--c-ink); background-image: var(--grid-ink); }

/* 4) Oversized editoryal statement başlığı + Involve aksanı */
.statement__text { font-size: clamp(28px, 3.6vw, 52px); letter-spacing: -1.5px; line-height: 1.1; }
.statement__text em { font-family: var(--font-accent); }

/* 5) Tutarlı section başlık mimarisi — üst hairline + nefes (filigran ::before korunur) */
.section__head { border-top: 1px solid var(--c-line); padding-top: clamp(22px, 2.5vw, 34px); }

/* 6) Foto kartlarda statik derinlik scrim (zoom YOK — zevk notu) */
.stat-card--photo { position: relative; }
.stat-card--photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(10,25,68,.45), transparent 55%); }

/* (7) Bento öne-çıkan kart — kullanıcı beğenmedi → GERİ ALINDI (ürün grupları yine 4 eşit kart) */

/* forced-colors: doku/scrim'i güvenli sistem değerlerine düşür */
@media (forced-colors: active) {
  .cta__box { background-image: none; }
  .stat-card--photo::after { display: none; }
}

/* reduced-motion: gölge geçişini de kapat (mevcut bloklar yalnız transform/animation kapatıyordu) */
@media (prefers-reduced-motion: reduce) {
  .cat-card, .product-card { transition: none !important; }
}

/* ============================================================
   SEVİYE-ATLAMA — İmza hamle: "Neden MDD" koyu lacivert kuşak (CSS-only, :has; markup yok)
   Sayfa ritmi beyaz→soft→KOYU→beyaz→CTA. İçerik renkleri koyu zemin için WCAG AA'ya çekilir.
   :has() desteklenmezse bölüm açık kalır (graceful degrade). Hareket YOK.
   ============================================================ */
.section:has(.why) { background-color: var(--c-ink); } /* blueprint pattern kullanıcı isteğiyle kaldırıldı (düz koyu band) */
.section:has(.why) .label { color: #fff; }
.section:has(.why) .section__title { color: #fff; }
.section:has(.why) .why__feature { border-color: rgba(255,255,255,.12); }
.section:has(.why) .why__feature h4 { color: #fff; }
.section:has(.why) .why__feature p { color: #AEB8D0; }
.section:has(.why) .why__check { background: rgba(255,255,255,.07); color: #fff; }
/* Koyu band üstünde koyu kart görünmez kalır → ince cam panel */
.section:has(.why) .why__card { background-color: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); }

/* ============================================================
   SEVİYE-ATLAMA — Faz B (kısmi): datasheet tipografisi (teknik veri disiplini)
   Sayı/tablo/meta verilerine tabular-nums → hizalı rakamlar; say-up'ta genişlik titremesi de biter.
   Saf CSS, a11y nötr/artı. (Register damgası · ölçü-çizgisi · köşe tick'leri → referans-görsel fazına bırakıldı.)
   ============================================================ */
.stat-card__num, .why__card-num, .shop__count b, .spec-table th, .spec-table td,
.product__meta-val, .filter__count, .filter-toggle__count, .pagination__btn, .pagination__page {
  font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1;
}

/* ============================================================
   Kart görseli tam-bleed — üst+sağ+sol padding sıfır (negatif margin ile kart kenarına taşar).
   Body inset korunur. Hover lift KALDIRILDI (flush görsel üstte taşmasın); hover artık kart gölgesi (elev-2).
   ============================================================ */
.cat-card__media, .product-card__media { margin: -14px -14px 0; }
.cat-card__media img, .product-card__media img { border-radius: var(--r-lg) var(--r-lg) 0 0; }
.cat-card:hover .cat-card__media, .product-card:hover .product-card__media { transform: none; }

/* ============================================================
   Adaptif menü adası — koyu üst bölge (hero/subheader) GEÇİLİNCE ters-renk:
   açık gövde üstünde koyu lacivert ada + açık içerik/logo. JS .is-inverted ekler.
   (Üst bölge koyu olduğu için orada açık ada korunur → koyu-üstüne-koyu olmaz.)
   ============================================================ */
.header__inner { transition: background var(--transition), box-shadow var(--transition); }
.brand__logo { transition: opacity var(--transition); }
/* Ters-renk ada YALNIZ masaüstü (≥921) — mobilde scroll'da header bg değişmez (kullanıcı isteği) */
@media (min-width: 921px) {
  .site-header.is-inverted .header__inner { background: var(--c-ink); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .site-header.is-inverted .nav__links a { color: #fff; }
  .site-header.is-inverted .nav__links a:hover,
  .site-header.is-inverted .nav__link.is-active { color: #6FB0FF; }
  .site-header.is-inverted .nav__link.is-active::after { background: #6FB0FF; }
  .site-header.is-inverted .brand__insaat { color: #fff; }
  .site-header.is-inverted .brand:has(.brand__logo) { background: url("../uploads/site/logo-white.svg") no-repeat left center / contain; } /* koyu-zemin logosu */
  .site-header.is-inverted .brand__logo { opacity: 0; } /* koyu logo saydam → beyaz logo görünür (cross-fade) */
  .site-header.is-inverted .nav__cta { background: #fff; color: var(--c-ink); border-color: #fff; }
  .site-header.is-inverted .nav__cta:hover { background: var(--c-soft); }
  /* Ürünler submenu BEYAZ kart → inverted'de linkler beyaz kalıp kayboluyordu; koyu yap */
  .site-header.is-inverted .nav__submenu .nav__sublink { color: var(--c-ink); }
  .site-header.is-inverted .nav__submenu .nav__sublink--all { color: var(--c-blue); }
}
@media (prefers-reduced-motion: reduce) { .header__inner, .brand__logo { transition: none; } }

/* ============================================================
   Marka detay — künye + kategori çipleri (marka.php geçici inline'dan style.css'e taşındı + optimize).
   .brand-detail-scoped → geçici inline <style id="brand-detail-temp">'i geçersiz kılar (Master o bloğu kaldırabilir).
   Künye: sola kümelenme yerine tam-genişlik EŞİT şerit (auto-fit, öğe sayısına dayanıklı).
   ============================================================ */
.brand-detail .brand-facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 22px 32px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--c-line);
}
.brand-detail .brand-fact { display: flex; flex-direction: column; gap: 5px; }
.brand-detail .brand-fact__k { font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .11em; color: var(--c-muted); }
.brand-detail .brand-fact__v { font-size: 16px; font-weight: 600; color: var(--c-ink); line-height: 1.35; font-variant-numeric: tabular-nums; }
.brand-detail .brand-fact__link { display: inline-flex; align-items: center; gap: 5px; color: var(--c-blue); }
.brand-detail .brand-fact__link:hover { color: var(--c-blue-2); }
.brand-detail .brand-cats { margin-top: 28px; }
.brand-detail .brand-cats__label { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .11em; color: var(--c-ink); margin-bottom: 16px; }
.brand-detail .brand-cats__label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c-blue); }
.brand-detail .brand-cats__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.brand-detail .brand-chip { display: inline-flex; align-items: center; padding: 9px 18px; border-radius: var(--pill); border: 1px solid var(--c-line); background: #fff; font-size: 14px; font-weight: 500; color: var(--c-ink); transition: background var(--transition), border-color var(--transition), color var(--transition); }
.brand-detail .brand-chip:hover { background: var(--c-blue); border-color: var(--c-blue); color: #fff; }
@media (max-width: 600px) { .brand-detail .brand-facts { gap: 18px 24px; } }

/* ============================================================
   Marka detay — TIER B: 2-kolon kimlik bloğu (SOL: logo+künye / SAĞ: açıklama+kategoriler).
   YALNIZ Master __aside/__body markup'ı geldiğinde aktif (:has güvenli) → markup gelene kadar Tier A bozulmaz.
   Spec: tasarim/specs/marka-detay-tierB.md
   ============================================================ */
.brand-detail:has(.brand-detail__aside) { display: grid; grid-template-columns: 300px 1fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
/* SOL sütun: logo + künye (dikey liste, sticky) */
.brand-detail__aside { display: flex; flex-direction: column; gap: 24px; position: sticky; top: calc(var(--header-h) + var(--header-gap) + 16px); }
.brand-detail__aside .brand-facts { display: flex; flex-direction: column; gap: 0; margin: 0; padding: 0; border: 0; }
.brand-detail__aside .brand-fact { padding: 13px 0; border-bottom: 1px solid var(--c-line); }
.brand-detail__aside .brand-fact:first-child { padding-top: 0; } /* logo çerçevesinden sonraki üst divider iptal (fazlalık); aradaki divider'lar kalır */
/* SAĞ sütun: açıklama + site + kategoriler */
.brand-detail__body .brand-detail__text { font-size: 17px; color: var(--c-text); line-height: 1.7; }
.brand-detail__body .brand-detail__site { margin-top: 20px; }
.brand-detail__body .brand-cats { margin-top: 32px; }
@media (max-width: 760px) {
  .brand-detail:has(.brand-detail__aside) { grid-template-columns: 1fr; }
  .brand-detail__aside { position: static; }
}

/* ============================================================
   Marka detay rötuşları (yalnız .brand-detail olan sayfa — :has ile)
   ============================================================ */
/* Subheader: eyebrow label kalk; marka adı UPPERCASE + slogan AYNI SATIRDA "/" ayracıyla (mavi nokta kaldırıldı, slogan boyutu korunur) */
body:has(.brand-detail) .page-head--bg .label { display: none; }
body:has(.brand-detail) .page-head--bg .container { display: flex; flex-wrap: wrap; align-items: baseline; row-gap: 14px; }
body:has(.brand-detail) .page-head--bg .breadcrumb { flex-basis: 100%; } /* breadcrumb kendi satırı */
body:has(.brand-detail) .page-head__title { text-transform: uppercase; margin: 0; }
body:has(.brand-detail) .page-head__sub { margin: 0; max-width: none; } /* başlıkla aynı satıra; boyut değişmez */
body:has(.brand-detail) .page-head__sub::before { content: "/"; margin: 0 .6em; color: rgba(255, 255, 255, .4); font-weight: 400; }
@media (max-width: 600px) {
  body:has(.brand-detail) .page-head__sub { flex-basis: 100%; }   /* dar ekranda slogan alt satıra */
  body:has(.brand-detail) .page-head__sub::before { content: none; }
}
/* Section boşluğu: iki .section arası 2×--section (240) idi → üst ritimle (120) eşitle */
body:has(.brand-detail) .section + .section { padding-top: 0; }

/* Ürün kartlarında özet açıklama kaldırıldı (kullanıcı: kalabalık görünüyor) — tüm product-card'larda */
.product-card__desc { display: none; }

/* ============================================================
   Hero ürün vitrini (sağ kolon) — 3'lü kademeli kart kümesi.
   YALNIZ Master .hero__copy + .hero__showcase markup'ı gelince aktif (:has ile dormant; markup yokken hero değişmez).
   Spec: tasarim/specs/hero-vitrin.md   ·   <921: gizli (mobil/küçük tablet temiz)
   ============================================================ */
/* Üçgen vitrin: radiuslu üçgenler (1 büyük sağa + 2 sola). Her tile bir SVG: <image> üçgene kırpılır (cover) + .hero__tri-line beyaz stroke (non-scaling) border. Sahne = göreli; kartlar absolute küme. Mobilde de görünür (metnin altında). */
.hero__showcase { display: block; position: relative; aspect-ratio: 400 / 360; }
.hero__clip { position: absolute; width: 0; height: 0; }
.hero__tile { position: absolute; aspect-ratio: 1 / 1;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .42));
  animation: hero-tile-in .9s cubic-bezier(.22, .61, .36, 1) both; }
.hero__tri { width: 100%; height: 100%; display: block; overflow: visible; animation: hero-drift var(--ddur, 7.5s) ease-in-out infinite; }
.hero__tri-line { fill: none; stroke: #fff; stroke-width: 1; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.hero__tile:nth-child(1) { width: 94.5%; left: -14%; top: -2%;  z-index: 1; animation-delay: .15s; } /* büyük, sağa */
.hero__tile:nth-child(2) { width: 77%;   left: 35%;  top: -13%; z-index: 3; animation-delay: .32s; } /* sağ-üst, sola */
.hero__tile:nth-child(3) { width: 50.4%; left: calc(46% - 100px); top: calc(45% + 50px); z-index: 2; animation-delay: .49s; } /* sağ-alt, sola */
/* Her üçgene ayrı yumuşak sağa-sola süzülme (farklı genlik/hız/faz → senkron değil) */
.hero__tile:nth-child(1) .hero__tri { --drift: 12px; --ddur: 9s;  animation-delay: 0s; }
.hero__tile:nth-child(2) .hero__tri { --drift: 9px;  --ddur: 7s;  animation-delay: -2.5s; }
.hero__tile:nth-child(3) .hero__tri { --drift: 14px; --ddur: 8s;  animation-delay: -5s; }
@media (min-width: 921px) {
  .hero__content:has(.hero__showcase) { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 0 clamp(28px, 3.5vw, 56px); align-items: center; }
  .hero__content:has(.hero__showcase) .hero__title,
  .hero__content:has(.hero__showcase) .hero__lead { max-width: none; } /* sol kolonu doldur → sağ boşluk kapanır */
  .hero__content:has(.hero__showcase) .hero__showcase { grid-column: 2; grid-row: 1 / 3; } /* sağ kolon, metin+butonlar boyunca */
  .hero__content:has(.hero__showcase) .hero__actions { grid-column: 1; }                  /* butonlar sol kolonda, metnin altında */
}
@media (max-width: 920px) {
  /* Mobil: vitrin metin ile butonlar ARASINDA, ortalı, ~%27 küçük (DOM: copy → showcase → actions); px-calc yerine pür % */
  .hero__showcase { width: 73%; max-width: 330px; margin: clamp(20px, 5vw, 36px) auto 0; }
  .hero__tile:nth-child(3) { left: 30%; top: 44%; }
}
@keyframes hero-tile-in { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
@keyframes hero-drift { 0%, 100% { transform: translateX(calc(-1 * var(--drift, 10px))); } 50% { transform: translateX(var(--drift, 10px)); } }
@media (prefers-reduced-motion: reduce) { .hero__tile, .hero__tri { animation: none; } }

/* Kart görseli — hover'da yumuşak zoom. Görsel __frame (overflow:hidden) içinde scale edilir; scoop köşesi çerçevenin DIŞINDA (media'da) kaldığı için kırpılmaz. */
.cat-card__frame, .product-card__frame { display: block; overflow: hidden; border-radius: var(--r-lg) var(--r-lg) 0 0; }
.cat-card__frame img, .product-card__frame img { display: block; transition: transform .55s cubic-bezier(.2, .7, .2, 1); }
.cat-card:hover .cat-card__frame img, .product-card:hover .product-card__frame img { transform: scale(1.06); }
@media (prefers-reduced-motion: reduce) {
  .cat-card__frame img, .product-card__frame img { transition: none; }
  .cat-card:hover .cat-card__frame img, .product-card:hover .product-card__frame img { transform: none; }
}
