:root {
  --bg:#ffffff;
  --text:#0f1115;
  --muted:#6b7280;
  --border:#e5e7eb;
  --shadow:0 20px 40px rgba(0,0,0,.08);
  --brand:#111827;
  --radius:16px;
}

* { box-sizing: border-box; }
html,body { height: 100%; }
body {
  margin: 0;
  font-family: Inter,system-ui,Segoe UI,Roboto,Arial;
  color: var(--text);
  background: var(--bg);
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
a { text-decoration: none; color: inherit; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.75);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: none !important;
}
.nav {
  display: flex; align-items: center; justify-content: space-between; height: 72px;
}
.brand { display: flex; align-items: center; gap: 0; }
.logo { display: block; }
.desktop-nav { display: flex; gap: 24px; }
.menu-item { display: flex; align-items: center; gap: 6px; font-weight: 500; position: relative; }
.caret { font-size: 12px; opacity: .7; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.pill { padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(17,24,39,.12); }
.icon-btn { width: 36px; height: 36px; border-radius: 999px; display: grid; place-items: center; border: 1px solid rgba(17,24,39,.12); background: #fff; }
.hamburger { display: none; }

/* Dropdown */
.has-dd:focus-within .dropdown,
.has-dd:hover .dropdown {
  opacity: 1; pointer-events: auto; transform: translateY(0);
}
.dropdown {
  position: absolute; left: -12px; top: 100%; padding-top: 14px;
  opacity: 0; pointer-events: none; transform: translateY(-4px);
  transition: .18s ease;
  min-width: 320px; background: #fff; border: 1px solid var(--border);
  border-radius: 14px; box-shadow: var(--shadow); padding: 14px;
}
.dd-link { display: block; padding: 12px; border-radius: 10px; font-weight: 600; }
.dd-link small { display: block; color: var(--muted); font-weight: 500; }
.dd-link:hover { background: #f3f4f6; }

/* Mobile drawer */
.mobile-drawer {
  position: fixed; inset: 72px 0 0 auto; max-width: 360px; width: 100%;
  background: #fff; border-left: 1px solid var(--border);
  transform: translateX(100%); transition: .25s ease; z-index: 60;
}
.mobile-drawer.open { transform: none; }
.drawer-inner { padding: 18px; }
.drawer-inner a { display: block; padding: 12px 4px; border-bottom: 1px solid #f3f4f6; }
.close-drawer {
  position: absolute; top: 8px; right: 8px;
  border: 1px solid var(--border); border-radius: 10px; background: #fff;
  padding: 6px 10px;
}

/* Hero */
.hero{
  position: relative;
  margin: clamp(12px, 2.2vw, 28px);
  border-radius: clamp(16px, 2.2vw, 28px);
  overflow: hidden;
  min-height: 76vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* ikiye bölünmüş video arkaplan */
.hero .split-bg{
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.hero .split-bg video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* metin okunurluğu için */
.hero .vignette{
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.10),
    rgba(0,0,0,0.55) 60%,
    rgba(0,0,0,0.65)
  );
}

/* içerik ortalama */
.hero-inner{
  position: relative;
  z-index: 1;
  width: min(920px, 92vw);
  margin: 0 auto;
  transform: translateY(0); /* stabil kalsın */
}

/* başlık */
.headline{
  font-size: clamp(28px, 4.6vw, 48px);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 24px;
  color: #fff;
}

/* butonlar ehr cihazda yan yana */
.cta-row{
  display: flex;
  gap: clamp(10px, 1.6vw, 16px);
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;         
  white-space: nowrap;      
}

/* hero içi buton micro */
.hero .btn{
  padding: clamp(10px, 1.4vw, 14px) clamp(16px, 2vw, 22px);
  font-size: clamp(14px, 1.7vw, 16px);
}

/* küçük ekran */
@media (max-width: 520px){
  .hero{ min-height: 68vh; }
  .headline{ font-size: clamp(22px, 9vw, 30px); }
  .hero .btn{ font-size: 14px; padding: 9px 14px; }
}

/* geniş ekran */
@media (min-width: 1280px){
  .hero{ min-height: 82vh; }
}


.btn {
  padding: 18px 24px !important; /* yükseklik genişlik ayarı */
  border-radius: 999px;
  font-weight: 600; 
  font-size: 18px;  
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.btn:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
.btn.solid { background: #000; color: #fff; }
.btn.solid:hover { background: #111; }
.btn.ghost { background: #fff; color: #000; }
.btn.ghost:hover { background: #f5f5f5; }


/* Section */
.section { padding: 64px 0; }
.section h2 { text-align: center; font-size: clamp(24px,3.5vw,40px); margin: 0 0 10px; }
.muted { text-align: center; color: var(--muted); margin: 0 0 30px; }
.cards { display: grid; gap: 16px; grid-template-columns: repeat(3,1fr); }
.card { border: 1px solid var(--border); border-radius: 16px; padding: 20px; box-shadow: 0 8px 24px rgba(0,0,0,.04); }
.card h3 { margin: 0 0 8px; }
.text-link { color: #111827; font-weight: 600; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 40px 0 60px; }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot small { color: var(--muted); }

/* Responsive */
@media (max-width: 960px) {
  .desktop-nav { display: none; }
  .hamburger { display: grid; }
  .cards { grid-template-columns: 1fr; }
}

/* Minimal Header + Fullscreen Overlay Menu */
.site-header--minimal {
  border-bottom: 1px solid rgba(17,24,39,.06);
  background: #fff;
  backdrop-filter: none;
}
.nav--minimal {
  height: 72px; display: flex; align-items: center; justify-content: space-between;
}

/* Hamburger */
.hamburger-animated {
  --w:28px; --h:20px;
  width: 44px; height: 44px; border: none; background: transparent;
  border-radius: 12px; display: grid; place-items: center; cursor: pointer;
  position: relative; z-index: 110;
}
.hamburger-animated span {
  position: absolute; display: block;
  width: var(--w); height: 3px; background: #0b0f14;
  transform-origin: center; border-radius: 2px;
  transition: transform 0.4s cubic-bezier(0.68,-0.55,0.27,1.55),
              opacity 0.25s ease, top 0.4s ease;
}
.hamburger-animated span:nth-child(1) { top: 14px; }
.hamburger-animated span:nth-child(2) { top: 21px; }
.hamburger-animated span:nth-child(3) { top: 28px; }
.hamburger-animated.active span:nth-child(1) {
  top: 21px; transform: rotate(45deg) scale(1.1);
}
.hamburger-animated.active span:nth-child(2) {
  opacity: 0; transform: translateX(10px);
}
.hamburger-animated.active span:nth-child(3) {
  top: 21px; transform: rotate(-45deg) scale(1.1);
}

/* Overlay Menu */

.overlay-menu {
  position: fixed; inset: 0; background: #fff;
  opacity: 0; pointer-events: none;
  transform: translateY(-100%);
  transition: transform .6s cubic-bezier(.4,0,.2,1), opacity .6s cubic-bezier(.4,0,.2,1);
  z-index: 100;
}
.overlay-menu.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.overlay-close {
  position: absolute; top: 20px; right: 24px; width: 44px; height: 44px;
  border: none; background: transparent; cursor: pointer;
}
.overlay-close::before, .overlay-close::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 26px; height: 2px;
  background: #0b0f14; border-radius: 2px; transform-origin: center;
}
.overlay-close::before { transform: translate(-50%,-50%) rotate(45deg); }
.overlay-close::after { transform: translate(-50%,-50%) rotate(-45deg); }
.overlay-nav {
  height: 100%; display: flex; flex-direction: column; gap: 28px; justify-content: flex-start;
  padding: 100px 24px 40px; max-width: 720px; margin: 0 auto;
}
.overlay-link {
  font-size: clamp(26px,4.2vw,44px); font-weight: 700;
  opacity: 0; transform: translateY(40px);
  transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.34,1.56,.64,1);
}
.overlay-aux { margin-top: 24px; display: grid; gap: 20px; }
.aux-link {
  display: flex; align-items: center; gap: 10px;
  font-size: 20px; font-weight: 600;
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.aux-link .i { flex: 0 0 auto; }

/* Delays */
.overlay-menu.open .overlay-link:nth-of-type(1) { transition-delay: .10s; opacity: 1; transform: translateY(0); }
.overlay-menu.open .overlay-link:nth-of-type(2) { transition-delay: .20s; opacity: 1; transform: translateY(0); }
.overlay-menu.open .overlay-link:nth-of-type(3) { transition-delay: .30s; opacity: 1; transform: translateY(0); }
.overlay-menu.open .overlay-link:nth-of-type(4) { transition-delay: .40s; opacity: 1; transform: translateY(0); }
.overlay-menu.open .overlay-link:nth-of-type(5) { transition-delay: .50s; opacity: 1; transform: translateY(0); }
.overlay-menu.open .overlay-aux .aux-link:nth-of-type(1) { transition-delay: .60s; opacity: 1; transform: translateY(0); }
.overlay-menu.open .overlay-aux .aux-link:nth-of-type(2) { transition-delay: .70s; opacity: 1; transform: translateY(0); }
.overlay-menu.open .overlay-aux .aux-link:nth-of-type(3) { transition-delay: .80s; opacity: 1; transform: translateY(0); }
.overlay-menu.open .overlay-aux .aux-link:nth-of-type(4) { transition-delay: .90s; opacity: 1; transform: translateY(0); }

.overlay-menu,
.overlay-link,
.aux-link {
  will-change: transform, opacity;
  backface-visibility: hidden;
}


.logo {
  height: 40px;  /* dikey uzunluk */
  width: auto;   /* en boy oranını korur */
}

/* === Sabit header === */
:root{
  --header-h: 72px;   
  --header-gap: 0px;  /* header ile içerik arasındaki küçük boşluk */
}

.site-header{
  position: fixed !important;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: none !important;       /* gri çizgi yok */
  backdrop-filter: none !important;     /* istersen efekt kapalı */
}

.nav{
  height: var(--header-h) !important;   /* bar yüksekliği sabit */
  align-items: center;
}

body{
  margin: 0 !important;
  padding-top: calc(var(--header-h) + var(--header-gap)) !important; /* içerik aşağıdan başlasın */
}

/* İlk bölümde ekstra itme olmasın */
.hero{ margin-top: 0 !important; }

/* Mobilde header biraz daha kısa + daha az boşluk */
@media (max-width: 520px){
  :root{
    --header-h: 64px;
    --header-gap: 2px;
  }
}

/* ===== LOGO WALL ===== */
.brand-wall{
  padding-top: clamp(72px, 8vw, 120px);
  padding-bottom: clamp(64px, 7vw, 100px);
  background:#fff; color:#111;
}
.brand-wall__title{
  text-align:center; line-height:1.15;
  font-size:clamp(26px,3.4vw,40px);
  font-weight:700; margin:0 0 clamp(36px, 4vw, 56px);
}

/* Izgara: mobil 2, tablet 3, desktop 5 sütun */
.brand-wall__grid{
  list-style:none; padding:0; margin:0 auto;
  display:grid; place-items:center;
  grid-template-columns: repeat(2, minmax(140px, 1fr));
  gap: 36px 44px;
  grid-auto-flow: dense;
  max-width:1100px;
}
@media (min-width:768px){ .brand-wall__grid{ grid-template-columns:repeat(3, minmax(160px,1fr)); } }
@media (min-width:1024px){ .brand-wall__grid{ grid-template-columns:repeat(5, minmax(160px,1fr)); } }

/* Hücre */
.brand-wall__grid li{
  display:flex; align-items:center; justify-content:center;
  min-height: var(--cell-h, 100px);
}

/* Animasyon (griden renge yumuşak geçiş) */
@keyframes logoPulse{
  0%,100%{ filter:grayscale(1) contrast(.9) brightness(.95); opacity:.72; }
  40%    { filter:grayscale(.3) contrast(1) brightness(1);  opacity:.95; }
  50%    { filter:grayscale(0)  contrast(1) brightness(1);  opacity:1;   }
  60%    { filter:grayscale(.3) contrast(1) brightness(1);  opacity:.95; }
}

/* Logo – boyut ve tempo değişkenle yönetilir */
.brand-wall__grid img{
  height: var(--logo-h, clamp(56px, 6.5vw, 90px));
  max-width: var(--logo-maxw, 100%);
  width:auto; object-fit:contain; display:block;
  animation: logoPulse var(--dur, 5.6s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}
@media (min-width:1024px){
  .brand-wall__grid img{ height: var(--logo-h-lg, var(--logo-h, 90px)); }
}

/* Karışık tempo için küçük varyasyonlar */
.brand-wall__grid li:nth-child(3n)  img{ --delay:.6s;  --dur:5.0s; }
.brand-wall__grid li:nth-child(4n)  img{ --delay:1.2s; --dur:6.2s; }
.brand-wall__grid li:nth-child(5n)  img{ --delay:1.8s; --dur:5.4s; }
.brand-wall__grid li:nth-child(7n)  img{ --delay:.9s;  --dur:6.8s; }

/* Yardımcılar */
.brand--wide{ --logo-h: clamp(46px, 5.2vw, 74px); }  /* çok yatay logo */
.brand--tall{ --logo-h: clamp(64px, 7vw, 100px); }   /* dikey logo   */

.span-2{ grid-column: span 2; }                      /* iki kolon kapla */
@media (min-width:768px){ .md-span-2{ grid-column: span 2; } }

/* Hover davranışını sabit bırak (animasyonu bozmasın) */
.brand-wall__grid img:hover{ filter:inherit; opacity:inherit; transform:none; }

/* === Logo hizalama yardımcıları (li içinde) === */
.brand-wall__grid li.align-left   { justify-content: flex-start !important; }
.brand-wall__grid li.align-center { justify-content: center !important; }
.brand-wall__grid li.align-right  { justify-content: flex-end !important; }

.brand-wall__grid li.align-top    { align-items: flex-start !important; }
.brand-wall__grid li.align-middle { align-items: center !important; }
.brand-wall__grid li.align-bottom { align-items: flex-end !important; }

.brand-wall__grid li.align-tl { justify-content:flex-start !important; align-items:flex-start !important; }
.brand-wall__grid li.align-tr { justify-content:flex-end   !important; align-items:flex-start !important; }
.brand-wall__grid li.align-bl { justify-content:flex-start !important; align-items:flex-end   !important; }
.brand-wall__grid li.align-br { justify-content:flex-end   !important; align-items:flex-end   !important; }

.brand-wall__grid li { padding: 6px; }

.brand-wall__grid img{ will-change: filter, opacity, transform; }

@media (prefers-reduced-motion: reduce){
  .brand-wall__grid img{ animation: none !important; }
}

.brand-wall__grid{ align-content: start; }

/* === ekstra yardımcılar (ekle-yapıştır) === */
.brand-wall__grid li.self-center { justify-self: center; }

@media (min-width:1024px){
  .col-1{grid-column:1} .col-2{grid-column:2} .col-3{grid-column:3}
  .col-4{grid-column:4} .col-5{grid-column:5}
}
@media (min-width:768px){
  .md-col-1{grid-column:1} .md-col-2{grid-column:2} .md-col-3{grid-column:3}
}

.brand-wall__grid li.nudge-left img{ transform: translateX(-12px); }
.brand-wall__grid li.nudge-left img:hover{ transform: translateX(-12px); }

@media (max-width: 767.98px){
  .sm-span-2{ grid-column: 1 / -1 !important; }
}

.brand-wall__grid li.nudge-up img{
  transform: translateY(-60px) !important;
}
.brand-wall__grid li.nudge-left.nudge-up img{
  transform: translate(-14px, -60px) !important;
}
.brand-wall__grid li.nudge-up img:hover,
.brand-wall__grid li.nudge-left.nudge-up img:hover{
  transform: translate(-14px, -60px) !important;
}

.brand-wall__grid li.pull-up-1{ margin-top:-20px; }
.brand-wall__grid li.pull-up-2{ margin-top:-40px; }
.brand-wall__grid li.pull-up-3{ margin-top:-60px; }
@media (min-width:768px){
  .brand-wall__grid li.pull-up-1{ margin-top:-14px; }
  .brand-wall__grid li.pull-up-2{ margin-top:-28px; }
  .brand-wall__grid li.pull-up-3{ margin-top:-42px; }

  
}

/* yuvarlak hatlı buton varyantları (mevcut .btn üstüne) */
.btn--pill{ border-radius:999px; padding:14px 22px; font-weight:600; }
.btn--outline{ background:transparent; border:2px solid rgba(255,255,255,.9); color:#fff; }
.btn--outline:hover{ background:rgba(255,255,255,.08); }
.btn--solid{ background:#fff; color:#111; border:2px solid #fff; }
.btn--solid:hover{ filter:brightness(0.95); }

/* ===================================================================== */
/* =====================  ADD-ONS (OPT-IN BLOKLAR)  ==================== */
/* ===================================================================== */

/* 1) DENGELİ LOGO DUVARI – opt-in: UL'e 'brand-grid-balanced' sınıfı ekle */
.brand-wall__grid.brand-grid-balanced{
  grid-auto-flow: initial;
  gap: clamp(16px, 4vw, 28px);
  align-items:center; justify-items:center;
}
.brand-wall__grid.brand-grid-balanced > .item-bombtea { grid-area:bombtea; }
.brand-wall__grid.brand-grid-balanced > .item-kaleici { grid-area:kaleici; }
.brand-wall__grid.brand-grid-balanced > .item-milklac { grid-area:milklac; }
.brand-wall__grid.brand-grid-balanced > .item-stock   { grid-area:stock; }
.brand-wall__grid.brand-grid-balanced > .item-xpresso { grid-area:xpresso; }
.brand-wall__grid.brand-grid-balanced > .item-u1      { grid-area:u1; }

@media (max-width: 767.98px){
  .brand-wall__grid.brand-grid-balanced{
    grid-template-columns: repeat(2, minmax(120px,1fr));
    grid-template-areas:
      "bombtea  kaleici"
      "milklac  milklac"
      "stock    xpresso"
      "u1       u1";
  }
}
@media (min-width:768px) and (max-width:1023.98px){
  .brand-wall__grid.brand-grid-balanced{
    grid-template-columns: repeat(3, minmax(150px,1fr));
    grid-template-areas:
      "bombtea kaleici ."
      ".       milklac ."
      "stock   u1      xpresso";
  }
}
@media (min-width:1024px){
  .brand-wall__grid.brand-grid-balanced{
    grid-template-columns: repeat(5, minmax(160px,1fr));
    grid-template-areas:
      "bombtea . kaleici . ."
      ".       . milklac . ."
      "stock   . u1      . xpresso";
  }
}
/* Boy kontrolü (HTML'den): */
.brand-wall__grid.brand-grid-balanced img{
  display:block;
  height: clamp(var(--h-min, 76px), var(--h-fluid, 8vw), var(--h-max, 116px));
  width:auto; object-fit:contain;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,.06));
  transform:none !important;
}
/* Varsayılan ince ayarlar */
.brand-wall__grid.brand-grid-balanced .item-milklac img{ --h-min:110px; --h-fluid:12vw; --h-max:160px; }
.brand-wall__grid.brand-grid-balanced .brand--wide{       --h-min:66px;  --h-fluid:7vw;  --h-max:100px; }
.brand-wall__grid.brand-grid-balanced .item-u1 img{       --h-min:86px;  --h-fluid:9vw;  --h-max:130px; }


/* === Logo wall yerleşim + esnek yükseklik === */
.brand-wall__grid.brand-grid-balanced{
  grid-auto-flow: initial;
  align-items:center; justify-items:center;
}

/* konumlar */
.brand-wall__grid.brand-grid-balanced > .item-bombtea { grid-area:bombtea; }
.brand-wall__grid.brand-grid-balanced > .item-kaleici { grid-area:kaleici; }
.brand-wall__grid.brand-grid-balanced > .item-milklac { grid-area:milklac; }
.brand-wall__grid.brand-grid-balanced > .item-stock   { grid-area:stock; }
.brand-wall__grid.brand-grid-balanced > .item-xpresso { grid-area:xpresso; }
.brand-wall__grid.brand-grid-balanced > .item-u1      { grid-area:u1; }

/* kırılımlar */
@media (max-width: 767.98px){
  .brand-wall__grid.brand-grid-balanced{
    grid-template-columns: repeat(2, minmax(120px,1fr));
    grid-template-areas:
      "bombtea  kaleici"
      "milklac  milklac"
      "stock    xpresso"
      "u1       u1";
    gap: 22px 28px;
  }
}
@media (min-width:768px) and (max-width:1023.98px){
  .brand-wall__grid.brand-grid-balanced{
    grid-template-columns: repeat(3, minmax(150px,1fr));
    grid-template-areas:
      "bombtea kaleici ."
      ".       milklac ."
      "stock   u1      xpresso";
    gap: 28px 36px;
  }
}
@media (min-width:1024px){
  .brand-wall__grid.brand-grid-balanced{
    grid-template-columns: repeat(5, minmax(160px,1fr));
    grid-template-areas:
      "bombtea . kaleici . ."
      ".       . milklac . ."
      "stock   . u1      . xpresso";
    gap: 28px 44px;
  }
}

/* tüm logolara ortak: boyutları 3 değişkenle yönetiyoruz */
.brand-wall__grid.brand-grid-balanced img{
  display:block;
  height: clamp(var(--h-min,76px), var(--h-fluid,8vw), var(--h-max,116px));
  width:auto; object-fit:contain;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,.06));
}

/* === TEK TEK BOYUTLAR (sadece sayıları değiştirerek ayarlarsın) === */
.item-milklac img{ --h-min:120px; --h-fluid:14vw; --h-max:180px; } /* merkez, büyük */
.item-bombtea img{ --h-min:120px;  --h-fluid:8vw;  --h-max:112px; }
.item-kaleici img{ --h-min:120px;  --h-fluid:8vw;  --h-max:118px; }
.item-stock   img{ --h-min:120px;  --h-fluid:7.4vw;--h-max:102px; } /* yatay logo */
.item-xpresso img{ --h-min:120px;  --h-fluid:8vw;  --h-max:114px; }
.item-u1      img{ --h-min:px;  --h-fluid:9vw;  --h-max:130px; }

/* === LOGO WALL ZORLAYICI OVERRIDE (important) === */

/* Tüm logolar için ortak: yükseklik artık hep bu olur */
.brand-wall__grid.brand-grid-balanced img{
  height: clamp(var(--h-min,120px), var(--h-fluid,14vw), var(--h-max,200px)) !important;
  width: auto !important;
  max-width: 100% !important;
  transform: none !important;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,.06)) !important;
}

/* Tek tek logolar (buradaki sayıları oynatarak büyüt/küçült) */
.item-milklac img{ height: clamp(140px,16vw,240px) !important; }  /* merkez biraz daha büyük */
.item-bombtea img{ height: clamp(120px,14vw,200px) !important; }
.item-kaleici img{ height: clamp(120px,14vw,200px) !important; }
.item-stock   img{ height: clamp(130px,15vw,220px) !important; }  /* stock büyümezse bunu arttır */
.item-xpresso img{ height: clamp(120px,14vw,200px) !important; }
.item-u1      img{ height: clamp(120px,14vw,200px) !important; }

/* === LOGO WALL CUSTOM CONTROL === */

/* Hücreler sabit ızgara */
.brand-wall__grid.brand-grid-balanced {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 1fr));
  gap: 32px;
  justify-items: center;
  align-items: center;
}
@media (min-width:768px){
  .brand-wall__grid.brand-grid-balanced {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width:1024px){
  .brand-wall__grid.brand-grid-balanced {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* Tüm logolar için ortak ayar */
.brand-wall__grid.brand-grid-balanced img {
  width: auto;
  height: var(--logo-h, 120px);  /* default */
  object-fit: contain;
  display: block;

  /* yanıp sönme efekti */
  animation: blinkColor var(--blink-dur, 5s) ease-in-out infinite;
  animation-delay: var(--blink-delay, 0s);
}

/* Tek tek kontrol: sadece height değerini değiştirerek ayarlarsın */
.item-bombtea img { --logo-h: 140px; --blink-delay: .2s; }
.item-kaleici img { --logo-h: 130px; --blink-delay: .4s; }
.item-milklac img { --logo-h: 160px; --blink-delay: .6s; }
.item-stock   img { --logo-h: 120px; --blink-delay: .8s; }
.item-xpresso img { --logo-h: 150px; --blink-delay: 1.0s; }
.item-u1      img { --logo-h: 120px; --blink-delay: 1.2s; }

/* Animasyon tanımı */
@keyframes blinkColor {
  0%, 100% { filter: grayscale(1) brightness(.9); opacity:.7; }
  40%, 60% { filter: grayscale(0) brightness(1.05); opacity:1; }
}













/* ===== FINAL: eşit boyut + kompakt + sıra sıra renklenme ===== */

/* boyutları buradan büyüt/küçült */
:root{
  --logo-h-sm: 110px;
  --logo-h-md: 130px;
  --logo-h-lg: 150px;
  --cell-h-sm: 135px;
  --cell-h-md: 160px;
  --cell-h-lg: 185px;
}

/* bölüm padding daha kompakt */
.brand-wall{ padding-top: 40px !important; padding-bottom: 40px !important; }

/* grid: tek ekrana sığsın diye gap düşük */
.brand-wall__grid.brand-grid-balanced{
  display:grid; justify-items:center; align-items:center;
  grid-template-columns: repeat(2, minmax(120px,1fr));
  gap: 18px 20px;
}
@media (min-width:768px){
  .brand-wall__grid.brand-grid-balanced{ grid-template-columns: repeat(3, minmax(150px,1fr)); gap: 22px 26px; }
}
@media (min-width:1024px){
  .brand-wall__grid.brand-grid-balanced{ grid-template-columns: repeat(6, minmax(160px,1fr)); gap: 24px 28px; }
}

/* hücre yüksekliği */
.brand-wall__grid.brand-grid-balanced li{
  inline-size:100%; min-height: var(--cell-h-sm);
  display:grid; place-items:center;
}
@media (min-width:768px){  .brand-wall__grid.brand-grid-balanced li{ min-height: var(--cell-h-md); } }
@media (min-width:1024px){ .brand-wall__grid.brand-grid-balanced li{ min-height: var(--cell-h-lg); } }

/* LOGOLAR: eşit boy + animasyon */
.brand-wall__grid.brand-grid-balanced img{
  height: var(--logo-h-sm) !important; width:auto !important; max-width:100% !important; object-fit:contain;
  /* drop-shadow istiyorsan animasyona göm: */
  filter: grayscale(1) contrast(.96) brightness(.98) drop-shadow(0 6px 16px rgba(0,0,0,.06));
  animation: logoBlink 4.8s ease-in-out infinite both;
  animation-delay: var(--blink-delay, 0s);
  transform:none !important;
}
@media (min-width:768px){  .brand-wall__grid.brand-grid-balanced img{ height: var(--logo-h-md) !important; } }
@media (min-width:1024px){ .brand-wall__grid.brand-grid-balanced img{ height: var(--logo-h-lg) !important; } }

/* sıra sıra gecikme (6 logo) */
.brand-wall__grid.brand-grid-balanced li:nth-child(1) img{ --blink-delay: .00s; }
.brand-wall__grid.brand-grid-balanced li:nth-child(2) img{ --blink-delay: .25s; }
.brand-wall__grid.brand-grid-balanced li:nth-child(3) img{ --blink-delay: .50s; }
.brand-wall__grid.brand-grid-balanced li:nth-child(4) img{ --blink-delay: .75s; }
.brand-wall__grid.brand-grid-balanced li:nth-child(5) img{ --blink-delay: 1.00s; }
.brand-wall__grid.brand-grid-balanced li:nth-child(6) img{ --blink-delay: 1.25s; }

/* siyah→renk→siyah döngüsü (drop-shadow korunuyor) */
@keyframes logoBlink{
  0%,18%,100% { filter: grayscale(1) contrast(.96) brightness(.98) drop-shadow(0 6px 16px rgba(0,0,0,.06)); opacity:.78; }
  42%,58%    { filter: grayscale(0) contrast(1)   brightness(1.02) drop-shadow(0 6px 16px rgba(0,0,0,.06)); opacity:1;   }
}

/* reduce-motion açıksa animasyonu kapat ama RENKLİ bırak */
@media (prefers-reduced-motion: reduce){
  .brand-wall__grid.brand-grid-balanced img{
    animation:none !important;
    filter: none !important;     /* ← renkli */
    opacity: 1 !important;
  }
}















/* === TSC Pills — Ferris Wheel (sırayla soldan belir, yüksel) === */
/* HTML iskeleti (örnek):
<div class="tsc-pills">
  <div class="orbit-item inovasyon p1">İnovasyon</div>
  <div class="orbit-item gelisim  p2">Gelişim</div>
  <div class="orbit-item strateji p3">Strateji</div>
  <div class="orbit-item uygulama p4">Uygulama</div>
  <div class="orbit-item arge     p5">Ar-Ge</div>
</div>
*/

@supports (animation-timeline: auto) {
  @property --rot { syntax:"<angle>"; inherits:false; initial-value:0deg; }
  @property --rise { syntax:"<length>"; inherits:false; initial-value:0px; }
}

.tsc-pills{
  position:relative;
  width:100%;
  height:300px;
  display:flex; justify-content:center; align-items:center;
  overflow:hidden; isolation:isolate;

  /* teker parametreleri */
  --duration: 12s;                 /* 360° tur: 12s  → chip başı ~2.4s */
  --r: clamp(110px, 18vw, 160px);  /* yarıçap */
  animation: wheel var(--duration) linear infinite;
}
@keyframes wheel { to { --rot: 360deg; } }

.tsc-pills .orbit-item{
  position:absolute; left:50%; top:50%;         /* MERKEZ NOKTA */
  padding:10px 18px; border-radius:999px;
  font:600 15px/1.1 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:#fff; white-space:nowrap;
  box-shadow:0 10px 26px rgba(0,0,0,.28);
  will-change: transform, opacity, filter;
  /* DÖNME: merkezden, yarıçap kadar dışa; metni düz tutmak için karşı döndürme */
  transform:
    translate(-50%,-50%)
    rotate(calc(var(--rot) + var(--ang)))
    translateX(var(--r))
    rotate(calc(-1 * (var(--rot) + var(--ang))))
    translateY(var(--rise));
}

/* renklendirme */
.tsc-pills .inovasyon{ background:linear-gradient(90deg,#ff4eb8,#a24dff); }
.tsc-pills .gelisim  { background:linear-gradient(90deg,#8e2de2,#4a00e0); }
.tsc-pills .strateji { background:linear-gradient(90deg,#00c6ff,#0072ff); }
.tsc-pills .uygulama { background:#475569; }
.tsc-pills .arge     { background:#111; }

/* 5 chip için açısal ofsetler (72° aralık) */
.tsc-pills .p1{ --ang:   0deg; }
.tsc-pills .p2{ --ang:  72deg; }
.tsc-pills .p3{ --ang: 144deg; }
.tsc-pills .p4{ --ang: 216deg; }
.tsc-pills .p5{ --ang: 288deg; }

/* SOLDAYKEN SIRAYLA BELİR + HAFİF YÜKSEL (rise) */
@keyframes reveal {           /* görünürlük penceresi */
  0%   { opacity:0; filter:blur(4px); }
  12%  { opacity:1; filter:blur(0); }
  60%  { opacity:1; }
  100% { opacity:0; filter:blur(4px); }
}
@keyframes riseKF {           /* sol tarafa gelirken yükselme */
  0%   { --rise: 12px; }
  30%  { --rise: 0px; }
  100% { --rise: 0px; }
}

/* 12s turda solda olma zamanları:
   180° sol ekseni ∴ delay = (180°-ofset)/30°/s  (negatifse +12s)
   p1=6.0s, p2=3.6s, p3=1.2s, p4=10.8s, p5=8.4s
*/
.tsc-pills .p1{ animation: reveal var(--duration) linear infinite 6.0s,
                          riseKF var(--duration) ease  infinite 6.0s; }
.tsc-pills .p2{ animation: reveal var(--duration) linear infinite 3.6s,
                          riseKF var(--duration) ease  infinite 3.6s; }
.tsc-pills .p3{ animation: reveal var(--duration) linear infinite 1.2s,
                          riseKF var(--duration) ease  infinite 1.2s; }
.tsc-pills .p4{ animation: reveal var(--duration) linear infinite 10.8s,
                          riseKF var(--duration) ease  infinite 10.8s; }
.tsc-pills .p5{ animation: reveal var(--duration) linear infinite 8.4s,
                          riseKF var(--duration) ease  infinite 8.4s; }

@media (max-width:767px){
  .tsc-pills{ height:260px; --r: clamp(90px, 30vw, 120px); }
  .tsc-pills .orbit-item{ font-size:13px; padding:8px 14px; }
}

@media (prefers-reduced-motion: reduce){
  .tsc-pills{ animation:none !important; }
  .tsc-pills .orbit-item{ animation:none !important; }
}














/* =========================================================
   TERMINAL — fresh baseline (4 section için tek stil)
   İstediklerin:
   • Mobilde 3 görsel tamamen görünür ve sıra: SAĞ – SOL – SAĞ
   • Figcaption (The Stock …) görselin ÜSTÜNDE ve ORTALI
   • Görseller mobilde daha BÜYÜK
   • 4 bölüm de birebir aynı davranış
   • Masaüstü düzeni bozulmaz (responsive)
   ========================================================= */

/* Bölüm ve temel grid */
.terminal{ padding: clamp(40px,6vw,72px) 0; background: var(--bg); }
.terminal .terminal__wrap{
  display: grid;
  grid-template-columns: repeat(12, minmax(0,1fr));
  gap: clamp(12px,2vw,20px);
  align-items: start;
}

/* Metin bloğu */
.terminal .terminal__copy{
  grid-column: 1 / 7;
  grid-row: 1;
}
.terminal .terminal__title{ margin: 0 0 10px; font-weight: 800; }
.terminal .terminal__sub{ margin: 0 0 16px; color: var(--muted); font-weight: 600; }
.terminal .terminal__learn{ display:inline-flex; align-items:center; gap:10px; font-weight:700; }

/* Tüm foto kartları ve başlıkları */
.terminal .terminal__photo{
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.terminal .terminal__photo figcaption{
  order: -1;                    /* başlık üstte */
  margin: 0;
  text-align: center;
  width: max-content;
  line-height: 1.25;
  font-weight: 700;
  color: var(--muted);
}
.terminal .terminal__photo img{
  display: block;
  width: clamp(280px, 28vw, 420px);   /* masaüstü boyutu */
  height: auto;
  object-fit: contain;
  border-radius: 12px;
}

/* Üstteki tek görsel (wrap'in doğrudan çocuğu olan .__photo--right) */
.terminal .terminal__wrap > .terminal__photo--right{
  grid-column: 8 / -1;
  grid-row: 1;
  justify-self: end;
}

/* Alttaki çiftli alan: solda ve sağda birer görsel */
.terminal .terminal__cluster{
  grid-column: 7 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(12px,1.6vw,18px);
  align-items: start;
}
.terminal .terminal__cluster > .terminal__photo--left{  grid-column: 1; justify-self: start; }
.terminal .terminal__cluster > .terminal__photo--right{ grid-column: 2; justify-self: end; }

/* Eski margin/pozisyon kalıntılarını sıfırla (güvenlik) */
.terminal .terminal__photo--left,
.terminal .terminal__photo--right{ margin: 0 !important; }

/* -------------------- Mobil düzen -------------------- */
@media (max-width: 768px){

  .terminal{ padding: 36px 0 80px; }

  .terminal .terminal__wrap{
    grid-template-columns: repeat(12, minmax(0,1fr));
    gap: 16px;
  }

  /* Metin üstte tam genişlik */
  .terminal .terminal__copy{ grid-column: 1 / -1; grid-row: 1; }

  /* (1) ÜSTTE SAĞ görsel */
  .terminal .terminal__wrap > .terminal__photo--right{
    grid-column: 8 / -1;       /* sağ blok */
    grid-row: 2;
    justify-self: end;
  }

  /* (2) ALTTA SOL + SAĞ */
  .terminal .terminal__cluster{
    grid-column: 1 / -1;
    grid-row: 3;
    grid-template-columns: 1fr 1fr; /* SOL – SAĞ */
    gap: 16px;
  }
  .terminal .terminal__cluster > .terminal__photo--left{  grid-column: 1; justify-self: start; }
  .terminal .terminal__cluster > .terminal__photo--right{ grid-column: 2; justify-self: end; }

  /* Figcaption üstte ve ortalı (zaten yukarıda ayarlı) */

  /* Görseller mobilde daha büyük ama taşmadan */
  .terminal .terminal__photo img{
    width: clamp(240px, 54vw, 360px);
    border-radius: 12px;
  }

  /* Başlık boyutları (opsiyonel, okunurluk) */
  .terminal .terminal__title{ font-size: clamp(28px, 8vw, 40px); }
  .terminal .terminal__sub{   font-size: clamp(18px, 6vw, 28px); }
}

/* Çok dar ekran güvenliği (isteğe bağlı) */
@media (max-width: 380px){
  .terminal .terminal__wrap > .terminal__photo--right{ grid-column: 7 / -1; }
  .terminal .terminal__photo img{ width: clamp(220px, 80vw, 340px); }
}

/* === TERMINAL — MOBILE RIGHT-LOCK PATCH === */
@media (max-width: 768px){

  /* grid item'ların geniş alanı kullanabilmesi için */
  .terminal .terminal__wrap{ justify-items: stretch !important; }

  /* ÜSTTEKİ TEK GÖRSEL: her zaman tam satır ve SAĞ kenara kilit */
  .terminal .terminal__wrap > .terminal__photo--right{
    grid-column: 1 / -1 !important;   /* tüm satırı kapla */
    grid-row: 2 !important;
    justify-self: end !important;     /* sağ kenara hizala */
    margin: 0 !important;
  }

  /* Uzun başlıklar layout'u itmesin */
  .terminal .terminal__photo figcaption{
    max-width: 92vw !important;
    white-space: normal !important;   /* normalce sarılsın */
  }

  /* Görsel genişliği her ekranda kontrollü kalsın */
  .terminal .terminal__photo img{
    width: clamp(240px, 54vw, 360px) !important;  /* zaten büyütülmüş */
    max-width: 92vw !important;                   /* kenardan taşmayı önle */
  }
}

/* Çok dar ekran güvenlik ağı */
@media (max-width: 380px){
  .terminal .terminal__photo img{
    width: min(88vw, 340px) !important;
  }
}

/* === TERMINAL — MAX SIZE BOOST (mobile + desktop) =================== */
/* Amaç: Görselleri olabildiğince büyüt, hizayı sabitle, taşma olmasın. */

@media (max-width: 768px){
  /* grid hücreleri esnesin */
  .terminal .terminal__wrap{ justify-items: stretch !important; }

  /* ÜSTTEKİ TEK GÖRSEL: her zaman tam satır + SAĞ kenar */
  .terminal .terminal__wrap > .terminal__photo--right{
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    justify-self: end !important;
    margin: 0 !important;
  }

  /* ÜSTTEKİ TEK GÖRSELİN BOYUTU — büyük, ama ekranı taşma! */
  .terminal .terminal__wrap > .terminal__photo--right img{
    /* 320–620px arası hedef; ekranda max %92 */
    width: min( clamp(320px, 78vw, 620px), 92vw ) !important;
    height: auto !important;
    display: block !important;
    border-radius: 14px !important;
  }

  /* ALTTaki ÇİFT GÖRSEL — her biri yarım satırı taşmasın, olabildiğince büyük */
  .terminal .terminal__cluster .terminal__photo img{
    /* min 180px; hedef ~%46vw; max 440px; asla yarım satırı (50vw - gap) geçme */
    width: min( clamp(180px, 46vw, 440px), calc(50vw - 16px) ) !important;
    height: auto !important;
    display: block !important;
    border-radius: 14px !important;
  }

  /* Uzun başlıklar düzeni itmesin */
  .terminal .terminal__photo figcaption{
    max-width: 92vw !important;
    white-space: normal !important;
    text-align: center !important;
  }
}

/* Masaüstü — metinle dengeli ama maksimum büyük görüntü */
@media (min-width: 769px){
  /* Genel büyütme */
  .terminal .terminal__photo img{
    /* 360–640px arası ya da hücre genişliği kadar */
    width: min( clamp(360px, 32vw, 640px), 100% ) !important;
    height: auto !important;
    display: block !important;
  }

  /* ÜSTTEKİ TEK GÖRSEL masaüstünde en büyük olsun */
  .terminal .terminal__wrap > .terminal__photo--right img{
    /* 420–720px arası */
    width: min( clamp(420px, 36vw, 720px), 100% ) !important;
  }

  /* ALTTAKİ ikililer — büyük ama dengeli */
  .terminal .terminal__cluster .terminal__photo img{
    /* 320–560px arası */
    width: min( clamp(320px, 28vw, 560px), 100% ) !important;
  }
}

/* Geniş ekranlara ekstra nefes (4K vb.) */
@media (min-width: 1440px){
  .terminal .terminal__wrap > .terminal__photo--right img{
    width: min( clamp(520px, 32vw, 860px), 100% ) !important;
  }
  .terminal .terminal__cluster .terminal__photo img{
    width: min( clamp(420px, 24vw, 680px), 100% ) !important;
  }
}

/* === TERMINAL — EQUALIZE & MAXIMIZE (no HTML change) ================= */

/* 1) Ortak: figure'lar taşan boşlukları kessin, img'ler ölçeklenebilsin */
.terminal .terminal__photo{ overflow:hidden; }
.terminal .terminal__photo img{
  transform: scale(var(--imgScale,1)) translateZ(0);
  transform-origin: 50% 50%;
  display:block;
}

/* 2) MOBIL: üst tek görsel çok büyük; alttaki iki görseli de büyüt ve eşitle */
@media (max-width: 768px){
  /* ÜSTTEKİ tek görsel */
  .terminal .terminal__wrap > .terminal__photo--right img{
    /* daha da büyük: 340–700 aralığı, ekranda max %94 */
    width: min( clamp(340px, 82vw, 700px), 94vw ) !important;
    --imgScale: 1; /* üst görseli scale ile şişirmiyoruz */
    border-radius: 14px !important;
  }

  /* ALT İKİLİ: her biri yarım satırın sınırında olabildiğince büyük */
  .terminal .terminal__cluster .terminal__photo img{
    /* 220–520 aralığı, sütun sınırı: (50vw - gap) */
    width: min( clamp(220px, 48vw, 520px), calc(50vw - 14px) ) !important;
    border-radius: 14px !important;

    /* PNG çevre boşluklarını telafi etmek için akıllı büyütme */
    --imgScale: 1.18;   /* ~%18 daha iri göster */
  }
}

/* 3) MASAÜSTÜ: tüm görselleri belirgin büyüt, dengeyi koru */
@media (min-width: 769px){
  /* ÜSTTEKİ tek görsel */
  .terminal .terminal__wrap > .terminal__photo--right img{
    /* 480–820 aralığı (geniş ekranlarda daha büyük) */
    width: min( clamp(480px, 36vw, 820px), 100% ) !important;
    --imgScale: 1;
  }
  /* ALTTAKİ ikililer */
  .terminal .terminal__cluster .terminal__photo img{
    /* 360–640 aralığı */
    width: min( clamp(360px, 30vw, 640px), 100% ) !important;
    --imgScale: 1.10;   /* masaüstünde de hafif büyütüp eşitle */
  }
}

/* 4) 4K ve ultra geniş ekran nefes payı */
@media (min-width: 1440px){
  .terminal .terminal__wrap > .terminal__photo--right img{
    width: min( clamp(560px, 32vw, 900px), 100% ) !important;
  }
  .terminal .terminal__cluster .terminal__photo img{
    width: min( clamp(460px, 26vw, 720px), 100% ) !important;
  }
}

/* 5) Uzun figcaption metinleri layout'u itmesin; sar ve ortala */
.terminal .terminal__photo figcaption{
  max-width: 94vw !important;
  white-space: normal !important;
  text-align: center !important;
  margin: 0 !important;
}

/* === TERMINAL — CAPTION SAFE GAP + SIZE BOOST v2 ===================== */
/* Amaç: (1) Figcaption çarpışma yok (güvenli boşluk + sarma)
         (2) Alttaki iki görsel üstteki kadar iri görünür
         (3) Çok dar ekranda otomatik tek sütun (tam genişlik)        */

/* Ortak: figure taşmaları kessin; akıllı scale kullanabilelim */
.terminal .terminal__photo{ overflow: hidden; }
.terminal .terminal__photo img{
  transform: scale(var(--imgScale,1)) translateZ(0);
  transform-origin: 50% 50%;
  display: block;
}

/* -------------------- Mobil / Tablet (<=768) -------------------- */
@media (max-width: 768px){

  /* Üstteki tek görsel: SAĞ, maksimum büyük (ama ekrana taşma yok) */
  .terminal .terminal__wrap > .terminal__photo--right{
    grid-column: 1 / -1 !important;     /* tüm satır */
    grid-row: 2 !important;
    justify-self: end !important;       /* sağ kenara kilit */
    margin: 0 !important;
  }
  .terminal .terminal__wrap > .terminal__photo--right img{
    width: min( clamp(360px, 84vw, 740px), 94vw ) !important;
    --imgScale: 1;
    border-radius: 14px !important;
  }

  /* Alttaki çift: iki sütun, daha geniş boşluk; caption güvenli */
  .terminal .terminal__cluster{
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    column-gap: 28px !important;     /* <- çarpışma çözümü */
    row-gap: 26px !important;
    align-items: start !important;
    justify-items: center !important;
  }

  /* Caption: üstte, orta, genişlik kısıtlı; metin sarılsın */
  .terminal .terminal__cluster .terminal__photo figcaption{
    order: -1 !important;
    max-width: calc(50vw - 28px) !important;  /* her sütunun güvenli genişliği */
    white-space: normal !important;
    word-break: break-word !important;
    text-align: center !important;
    margin: 0 0 8px !important;
    padding: 0 6px !important;
  }

  /* Alt iki görsel: yarım sütunda maksimum büyük + akıllı büyütme */
  .terminal .terminal__cluster .terminal__photo img{
    /* sütun sınırı (50vw - gap), min 260, hedef ~48vw, üst 600 */
    width: min( clamp(260px, 48vw, 600px), calc(50vw - 28px) ) !important;
    --imgScale: 1.34;       /* PNG çevre boşluklarını kompanse et */
    border-radius: 14px !important;
  }
}

/* -------------------- Çok dar ekran (<=520) -------------------- */
/* Alt iki görseli tam genişlik, sırayla göster – üst görsel kadar büyük. */
@media (max-width: 520px){
  .terminal .terminal__cluster{
    grid-template-columns: 1fr !important;   /* tek sütun */
    column-gap: 0 !important;
  }
  .terminal .terminal__cluster .terminal__photo figcaption{
    max-width: 94vw !important;
  }
  .terminal .terminal__cluster .terminal__photo img{
    width: min( clamp(340px, 84vw, 740px), 94vw ) !important;
    --imgScale: 1; /* tek sütunda scale gerekmez, tam genişlik */
  }
}

/* -------------------- Masaüstü (>=769) -------------------- */
@media (min-width: 769px){
  /* Üst tek görsel: iri */
  .terminal .terminal__wrap > .terminal__photo--right img{
    width: min( clamp(520px, 38vw, 860px), 100% ) !important;
    --imgScale: 1;
  }
  /* Alt ikililer: iri + hafif akıllı büyütme */
  .terminal .terminal__cluster .terminal__photo img{
    width: min( clamp(420px, 32vw, 760px), 100% ) !important;
    --imgScale: 1.18;
  }

  /* Caption’lar rahat nefes alsın */
  .terminal .terminal__cluster{ column-gap: 32px !important; row-gap: 28px !important; }
  .terminal .terminal__cluster .terminal__photo figcaption{ margin-bottom: 10px !important; }
}

/* -------------------- 4K nefes payı -------------------- */
@media (min-width: 1440px){
  .terminal .terminal__wrap > .terminal__photo--right img{
    width: min( clamp(580px, 34vw, 920px), 100% ) !important;
  }
  .terminal .terminal__cluster .terminal__photo img{
    width: min( clamp(520px, 28vw, 840px), 100% ) !important;
  }
}

/* === TERMINAL — 3-UP MOBILE (equal size, top+2 bottom) ================= */
@media (max-width: 768px){
  /* Ortak ayar: tek değişkenle tüm görsel genişliği eşit */
  .terminal{ --term-gap: 16px; /* cluster sütun aralığı */
             --term-unit: min(clamp(260px, 44vw, 360px), calc(50vw - var(--term-gap))); }

  /* Başlık blok üstte, görseller sıkı layout */
  .terminal{ padding: 32px 0 64px !important; }
  .terminal .terminal__wrap{ gap: 16px !important; align-items: start !important; }
  .terminal .terminal__copy{ grid-column: 1 / -1 !important; grid-row: 1 !important; }

  /* ÜSTTEKİ TEK GÖRSEL: tüm satır, ortalı */
  .terminal .terminal__wrap > .terminal__photo--right{
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    justify-self: center !important;
    margin: 0 !important;
  }

  /* ALTTAKİ ÇİFT: sol + sağ sütun, ortalı */
  .terminal .terminal__cluster{
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    column-gap: var(--term-gap) !important;
    row-gap: 20px !important;
    justify-items: center !important;
    align-items: start !important;
    margin: 0 !important;
  }
  .terminal .terminal__cluster > .terminal__photo{ margin: 0 !important; }

  /* TÜM GÖRSELLER: AYNI BOYUT */
  .terminal .terminal__photo img{
    width: var(--term-unit) !important;
    height: auto !important;
    display: block !important;
    object-fit: contain !important;
    border-radius: 12px !important;
    transform: scale(var(--imgScale,1)) translateZ(0) !important;
    transform-origin: 50% 50% !important;
  }

  /* Figcaption: her zaman üstte ve ortalı */
  .terminal .terminal__photo{ display: flex !important; flex-direction: column !important; align-items: center !important; gap: 8px !important; overflow: hidden !important; }
  .terminal .terminal__photo figcaption{
    order: -1 !important;
    text-align: center !important;
    margin: 0 0 6px !important;
    max-width: calc(var(--term-unit) + 2px) !important;
    white-space: normal !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    color: var(--muted) !important;
  }

  /* Çok dar ekranlarda da 2 sütun kalsın (3 görsel aynı ekranda hedefi için) */
  @media (max-width: 380px){
    .terminal{ --term-gap: 12px; --term-unit: min(clamp(200px, 46vw, 300px), calc(50vw - var(--term-gap))); }
  }

  /* PNG etrafı boş olan görsellere opsiyonel "boost" (aşağıdaki html eklemesiyle) */
  .terminal .terminal__photo.photo-boost img{ --imgScale: 1.12; }
}

/* === TERMINAL — 3 görsel aynı boyut, crop yok (MOBILE) =============== */
@media (max-width: 768px){
  /* Tek ölçüden yönet: tüm görseller aynı genişlik */
  .terminal{
    --term-gap: 16px;
    /* hedef tek görsel genişliği (3 bölümde de aynı) */
    --term-unit: clamp(260px, 44vw, 360px);
  }

  /* Başlık üstte, layout basit */
  .terminal{ padding: 32px 0 64px !important; }
  .terminal .terminal__wrap{ gap: 16px !important; align-items: start !important; }
  .terminal .terminal__copy{ grid-column: 1 / -1 !important; grid-row: 1 !important; }

  /* ÜSTTE TEK GÖRSEL: tam satır, ortaya hizalı, GENİŞLİK = term-unit */
  .terminal .terminal__wrap > .terminal__photo--right{
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    justify-self: center !important;
    margin: 0 !important;
  }

  /* ALTTA ÇİFT BLOK: sol + sağ sütun */
  .terminal .terminal__cluster{
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    column-gap: var(--term-gap) !important;
    row-gap: 22px !important;
    justify-items: center !important;
    align-items: start !important;
    margin: 0 !important;
  }

  /* Figure’larda taşma kapalı—artık crop istemiyoruz */
  .terminal .terminal__photo{ 
    overflow: visible !important;
    display: flex !important; 
    flex-direction: column !important; 
    align-items: center !important; 
    gap: 8px !important;
  }

  /* TÜM GÖRSELLER: AYNI GENİŞLİK, transform sıfır, taşma yok */
  .terminal .terminal__wrap > .terminal__photo--right img,
  .terminal .terminal__cluster .terminal__photo img{
    width: var(--term-unit) !important;   /* üst ve alttakiler birebir aynı */
    max-width: 100% !important;           /* hücre genişliğini aşma */
    height: auto !important;
    object-fit: contain !important;
    transform: none !important;           /* önceki scale’leri iptal */
    border-radius: 12px !important;
    display: block !important;
  }

  /* Başlıklar üstte ve ortalı */
  .terminal .terminal__photo figcaption{
    order: -1 !important;
    margin: 0 0 6px !important;
    text-align: center !important;
    max-width: var(--term-unit) !important;
    white-space: normal !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    color: var(--muted) !important;
  }

  /* Çok dar ekran güvenliği */
  @media (max-width: 380px){
    .terminal{ --term-gap: 12px; --term-unit: clamp(200px, 46vw, 300px); }
  }

  /* İsteğe bağlı: Sadece küçük duran PNG'lerde hafif büyütme */
  .terminal .terminal__photo.photo-boost img{
    transform: scale(1.08) translateZ(0) !important; /* crop yok çünkü overflow:visible */
  }
}




.sq-actions {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 16px !important;   /* butonlar arası boşluk */
}

.sq-actions .sq-btn {
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  white-space: nowrap !important; /* yazı taşmasın */
  min-width: 160px !important;    /* buton genişliği sabit */
}




/* Orijinal görünüme dokunmadan sadece konumu sabitle */
.floating-cta.floating-cta--fixed{
  position: fixed !important;
  right: clamp(14px, 2vw, 24px);
  bottom: clamp(14px, 2vw, 24px);
  z-index: 9999;
  padding-bottom: env(safe-area-inset-bottom); /* iPhone çentik payı */
}

/* === Global Floating WhatsApp CTA (aynı görünüm) === */
.floating-cta--fixed{
  position: fixed !important;
  right: clamp(14px, 2vw, 24px);
  bottom: clamp(14px, 2vw, 24px);
  z-index: 9999;
  padding-bottom: env(safe-area-inset-bottom);
}

/* “Pill” buton */
.floating-cta .button-border-default{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: #fff;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,.12);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.6),
    0 10px 25px rgba(16,24,40,.10);
  color: #0b0f19;
  font-weight: 600;
  font-size: clamp(16px, 2.2vw, 22px);
  text-decoration: none;
  white-space: nowrap;
}

/* Orb (renkli yuvarlak) */
.floating-cta .button-border-default .orb{
  width: 28px; height: 28px; border-radius: 50%;
  position: relative;
  background:
    conic-gradient(from 0deg,
      #d626f3 0%, #cc2df2 12%, #6b28fa 24%, #d825f3 36%,
      #0ea5e9 48%, #1c92ec 60%, #11a1ea 72%, #0fa4e9 84%, #d626f3 100%),
    radial-gradient(circle at 30% 35%,
      #d626f3 0%, #cc2df2 18%, #0ea5e9 42%, #1c92ec 60%, #6b28fa 78%, #1c2963 120%);
  background-blend-mode: screen, normal;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.7), 0 6px 18px rgba(2,8,23,.15);
  animation: orb-spin 10s linear infinite, orb-hue 20s linear infinite;
}
.floating-cta .button-border-default .orb::before{
  content:""; position:absolute; inset:-2px; border-radius:inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%,
                               rgba(255,255,255,.7) 50%,
                               rgba(255,255,255,0) 100%);
}

@keyframes orb-spin { to { transform: rotate(1turn); } }
@keyframes orb-hue  {
  0% { filter: hue-rotate(0deg) }
  50%{ filter: hue-rotate(180deg) }
  100%{ filter: hue-rotate(360deg) }
}


/* === Global WhatsApp CTA — tam ortaya hizala (tüm sayfalar) === */
.floating-cta.floating-cta--fixed{
  position: fixed !important;
  left: 50% !important;       /* ortanın tam üzerine koy */
  right: auto !important;
  transform: translateX(-50%);/* soldan %50’yi geri çek */
  bottom: clamp(14px, 2vw, 24px);
  z-index: 9999;
  width: max-content;         /* kapsayıcı genişlemesin */
  margin: 0 !important;       /* w-container otomatik marjinleri iptal */
  padding-bottom: env(safe-area-inset-bottom);
  pointer-events: none;       /* kapsayıcı tıklamayı engellemesin */
}
/* Buton tıklanabilir kalsın */
.floating-cta.floating-cta--fixed a.button-border-default{
  pointer-events: auto;
}

/* Dar ekran güvenliği: taşmayı önle */
@media (max-width: 480px){
  .floating-cta.floating-cta--fixed{
    max-width: calc(100vw - 24px);
  }
}













/* === Brand grid — DESKTOP ONLY: sırayla, büyük ve taşmadan === */
@media (min-width:1024px){
  .brand-wall__grid.brand-grid-balanced{
    display: grid !important;
    grid-template-areas: none !important;     /* eski area haritasını kapat */
    grid-auto-flow: row !important;           /* sırayla diz */
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important; /* esnek */
    gap: clamp(20px, 3vw, 36px) !important;
    justify-items: center !important;
    align-items: center !important;
    margin-inline: auto !important;           /* ortala */
    padding-inline: clamp(8px, 2vw, 24px) !important; /* kenar koruma */
  }
  .brand-wall__grid.brand-grid-balanced > li{
    grid-area: auto !important;
    min-height: clamp(140px, 14vw, 180px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .brand-wall__grid.brand-grid-balanced img{
    height: clamp(100px, 8vw, 150px) !important;  /* büyük ama güvenli */
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    transform: none !important;
    animation: none !important;
    filter: none !important;
    opacity: 1 !important;
  }
}

/* 1280+ → 5 kolon, 1440+ → 6 kolon (taşmadan büyüsün) */
@media (min-width:1280px){
  .brand-wall__grid.brand-grid-balanced{
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
}
@media (min-width:1440px){
  .brand-wall__grid.brand-grid-balanced{
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  }
}

/* Son emniyet: beklenmedik negatif margin/transform varsa yatay kaydırmayı kes */
html, body { overflow-x: clip; }














.sq-newsletter {
  display: none !important;
}
