/* ============================================================
   Nonslip Digital — enhance.css
   1) Dil seçici + çok dilli düzen (RTL Arapça)
   2) Mobil oran / renk düzeltmeleri
   3) Mobil "liquid glass" (çok şeffaf cam baloncuk) yüzeyler
   4) Hafif mod (telefon) 3D poster katmanı
   style.css, hizmet-detay.css ve motion.css'ten SONRA yüklenir.
   ============================================================ */

/* ---------- 0) Çeviri yüklenirken Türkçe metin bir an görünmesin ---------- */
html.i18n-pending body { visibility: hidden; }
html.i18n-pending * { animation-play-state: paused !important; }

/* ---------- 1) Dil seçici ---------- */
.lang-switch { position: relative; margin-inline-start: 0.9rem; z-index: 1002; flex-shrink: 0; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  height: 40px; padding: 0 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
  -webkit-backdrop-filter: blur(12px) saturate(170%);
  backdrop-filter: blur(12px) saturate(170%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 6px 18px rgba(0, 0, 0, 0.18);
  color: #fff; font: 800 0.82rem/1 'Plus Jakarta Sans', Inter, system-ui, sans-serif; letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}
.lang-btn:hover, .lang-switch.open .lang-btn { border-color: rgba(255, 106, 0, 0.7); background: linear-gradient(135deg, rgba(255, 106, 0, 0.32), rgba(255, 255, 255, 0.05)); }
.lang-btn:active { transform: scale(0.95); }
.lang-btn:focus-visible { outline: 3px solid #FF6A00; outline-offset: 3px; }
.lang-btn svg { opacity: 0.85; }
.lang-menu {
  position: absolute; top: calc(100% + 10px); inset-inline-end: 0;
  min-width: 190px; margin: 0; padding: 0.45rem; list-style: none;
  border-radius: 18px;
  /* Açılır menü opak: arkadaki sayfa yazıları menünün içinden görünmesin */
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 24px 50px rgba(0, 0, 0, 0.35);
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(0.97); transform-origin: top right;
  transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.3s;
}
[dir="rtl"] .lang-menu { transform-origin: top left; }
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.lang-menu a {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.7rem 0.8rem; border-radius: 12px;
  color: #E2E8F0; font-size: 0.95rem; font-weight: 600; text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.lang-menu a b { display: inline-grid; place-items: center; width: 34px; height: 26px; border-radius: 8px; background: rgba(255, 255, 255, 0.08); color: #FF8C33; font-size: 0.72rem; letter-spacing: 0.05em; }
.lang-menu a:hover, .lang-menu a:focus-visible { background: rgba(255, 106, 0, 0.16); color: #fff; outline: none; }
.lang-menu a[aria-current="true"] { background: rgba(255, 106, 0, 0.22); color: #fff; }
.lang-menu a[aria-current="true"]::after { content: "✓"; margin-inline-start: auto; color: #FF8C33; font-weight: 800; }
.lang-menu a[lang="ar"] span { font-family: 'Cairo', 'Noto Kufi Arabic', Tahoma, sans-serif; }
@media (max-width: 1024px) {
  .lang-switch { margin-inline-start: auto; margin-inline-end: 0.6rem; }
  .lang-btn { height: 38px; padding: 0 0.7rem; }
}

/* Mobil menü açıkken kapatma (hamburger) ve dil düğmesi menünün üstünde kalsın */
.hamburger { position: relative; z-index: 1003 !important; }
.nav-logo { position: relative; z-index: 1003; }

/* ---------- 1b) Dil bazlı tipografi ---------- */
html[lang="ar"] body,
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4,
html[lang="ar"] button, html[lang="ar"] input, html[lang="ar"] textarea, html[lang="ar"] select {
  font-family: 'Cairo', 'Noto Kufi Arabic', 'Plus Jakarta Sans', Tahoma, sans-serif;
}
/* Arapça harfler birbirine bağlanır: harf aralığı bitişikliği bozar */
html[lang="ar"] * { letter-spacing: 0 !important; }
html[lang="ar"] .hero-title, html[lang="ar"] .section-title, html[lang="ar"] .sd-hero h1 { line-height: 1.35 !important; }
html[lang="ru"] .section-title, html[lang="ru"] .hero-title, html[lang="ru"] .sd-hero h1, html[lang="ru"] .cta-title { hyphens: auto; -webkit-hyphens: auto; }
html[lang="ru"] .section-label, html[lang="ru"] .sd-label { letter-spacing: 1.5px; }

/* ---------- 1c) RTL (Arapça) ---------- */
[dir="rtl"] body { text-align: right; }
[dir="rtl"] .btn-primary svg, [dir="rtl"] .btn-cta-giant svg, [dir="rtl"] .sd-btn svg:last-child,
[dir="rtl"] .sd-other svg, [dir="rtl"] .service-arrow, [dir="rtl"] .partners-nav-btn svg { transform: scaleX(-1); }
[dir="rtl"] .sd-btn:hover svg:last-child, [dir="rtl"] .btn-primary:hover svg { transform: scaleX(-1) translateX(4px); }
[dir="rtl"] .about-quote { border-left: 0; border-right: 4px solid var(--accent); padding-left: 0; padding-right: 1.5rem; }
[dir="rtl"] .sd-head.left, [dir="rtl"] .sd-split, [dir="rtl"] .contact-info, [dir="rtl"] .about-content { text-align: right; }
[dir="rtl"] .footer-links, [dir="rtl"] .footer-brand { text-align: right; }
[dir="rtl"] .mo-timeline span { transform-origin: 100% 50%; }
[dir="rtl"] .marquee-wrapper { direction: ltr; }
[dir="rtl"] .partners-strict-viewport { direction: ltr; }
[dir="rtl"] .cine-stage .cine-panel { direction: rtl; }
[dir="rtl"] input[type="email"], [dir="rtl"] input[type="tel"], [dir="rtl"] a[href^="tel:"], [dir="rtl"] a[href^="mailto:"] { direction: ltr; unicode-bidi: embed; }
@media (max-width: 1024px) {
  [dir="rtl"] .mo-timeline { left: auto; right: 0.4rem; }
  [dir="rtl"] .mo-timeline span { transform-origin: 50% 0; }
  [dir="rtl"] .mo-process { padding-left: 0; padding-right: 1.6rem; }
}

/* ---------- 2) Mobil oran ve renk düzeltmeleri ---------- */
/* Genel kontrast: açık griler (#94A3B8) beyaz zeminde WCAG AA'nın altındaydı (2.6:1) → #64748B (4.8:1) */
.clients-heading, .stat-label, .contact-item-label, .sd-browser-url, .sd-site-soon, .typed-prefix { color: #64748B !important; }
.mo-on .clients-heading { color: #64748B; }

@media (max-width: 768px) {
  /* Menü çubuğu: 98px → 72px, içerik için daha fazla alan */
  .navbar { padding-top: 0.35rem !important; padding-bottom: 0.35rem !important; }
  .navbar-inner { height: 60px !important; }
  .nav-logo img { height: 40px !important; }

  /* --- İlk ekran (hero) --- */
  .hero { padding-top: 92px !important; padding-bottom: 2.5rem !important; }
  .hero-wrapper { gap: 2rem !important; }
  .hero-content { padding: 0.75rem 0 0 !important; }
  .hero-badge-pill { font-size: 0.68rem !important; padding: 0.45rem 0.9rem !important; margin-bottom: 1.1rem !important; }
  .hero-title { font-size: clamp(2rem, 9vw, 2.55rem) !important; line-height: 1.12 !important; max-width: 16ch !important; margin-bottom: 1rem !important; letter-spacing: -0.02em; }
  .hero-description { font-size: 1rem !important; line-height: 1.6 !important; color: #475569; margin-bottom: 1rem !important; }
  .hero-typed { font-size: 0.92rem !important; margin-bottom: 1.4rem !important; }
  .hero-typed .typed-prefix { color: #64748B; }
  .hero-buttons { max-width: 21rem !important; gap: 0.75rem !important; }
  .hero-buttons .btn-primary, .hero-buttons .btn-secondary { min-height: 52px; font-size: 0.95rem !important; border-radius: 16px !important; }
  .hero-main-card { padding: 1.25rem 1.1rem !important; border-radius: 22px !important; }
  .hero-card-metrics { grid-template-columns: 1fr 1fr !important; gap: 0.6rem !important; }
  .hero-card-metrics .metric-box-wide { grid-column: 1 / -1 !important; }
  .metric-box { padding: 0.8rem 0.5rem !important; }

  /* --- İstatistik bandı: 4 satır yerine 2×2 --- */
  .stats-banner { padding: 1.6rem 1rem !important; border-radius: 22px !important; }
  .stats-banner-grid { grid-template-columns: 1fr 1fr !important; gap: 1.6rem 0.75rem !important; }
  .banner-stat-num { font-size: 2.1rem !important; }
  .banner-stat-lbl { font-size: 0.68rem !important; letter-spacing: 1px !important; }

  /* --- Hizmet kartları: gereksiz boşluk azaltıldı --- */
  .services-grid { gap: 1rem !important; }
  .service-card { padding: 1.4rem 1.25rem 3.4rem !important; border-radius: 20px !important; }
  .service-card .service-icon { width: 52px !important; height: 52px !important; margin-bottom: 1rem !important; }
  .service-card .service-title { font-size: 1.15rem !important; margin-bottom: 0.5rem !important; }
  .service-card .service-desc { font-size: 0.93rem !important; line-height: 1.6 !important; }
  .service-card .service-arrow { bottom: 1.1rem !important; }

  /* --- Hakkımızda istatistikleri --- */
  .stat-item { padding: 1.4rem 0.75rem !important; }

  /* --- Footer: sayfalar ve iletişim yan yana --- */
  .footer { padding: 3.5rem 0 1.5rem !important; }
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 2rem 1.25rem !important; }
  .footer-grid > .footer-brand { grid-column: 1 / -1; }
  .footer-links li { margin-bottom: 0.55rem; }
  .footer-links a, .footer-links span { font-size: 0.9rem; overflow-wrap: anywhere; }
  .footer-bottom { flex-direction: column; gap: 0.9rem; text-align: center; }

  /* Okunabilirlik: çok açık gri gövde metinleri bir ton koyulaştı */
  .section-subtitle, .service-desc, .why-text, .about-text, .sd-sub { color: #475569; }
  .stats-banner .banner-stat-lbl { color: #CBD5E1 !important; }
}

/* ---------- 3) Mobil liquid glass ---------- */
@media (max-width: 768px) {
  /* Menü çubuğu: koyu, çok şeffaf cam */
  .navbar {
    background: linear-gradient(180deg, rgba(10, 14, 24, 0.8), rgba(10, 14, 24, 0.66)) !important;
    -webkit-backdrop-filter: blur(20px) saturate(185%) !important;
    backdrop-filter: blur(20px) saturate(185%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10) !important;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.04), 0 10px 30px rgba(2, 6, 23, 0.18) !important;
  }
  .hamburger {
    width: 44px; height: 44px; border-radius: 14px;
    display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
  }
  .hamburger span { margin: 0 !important; }

  /* Açık zeminde cam baloncuklar (rozet, ikincil buton, metrik kutuları, çipler) */
  .hero-badge-pill,
  .hero-buttons .btn-secondary,
  .metric-box {
    /* Açık zeminde bulanıklık görünmez ama her karede maliyetlidir: cam görünümü degrade + ışık kenarıyla verilir */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.34)) !important;
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1), inset 0 -1px 0 rgba(255, 106, 0, 0.08), 0 10px 26px -12px rgba(15, 23, 42, 0.25) !important;
  }
  .metric-box { border-color: rgba(255, 106, 0, 0.22) !important; }
  .hero-main-card {
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.86), rgba(255, 250, 245, 0.66)) !important;
  }

  /* Koyu zeminde cam (hizmet sayfası hero'su, sinematik bölüm kartı) */
  .sd-chip, .sd-eyebrow, .sd-btn-ghost {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03)) !important;
    -webkit-backdrop-filter: blur(12px) saturate(170%);
    backdrop-filter: blur(12px) saturate(170%);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
  }
  .sd-hero-panel {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03)) !important;
    -webkit-backdrop-filter: blur(22px) saturate(170%) !important;
    backdrop-filter: blur(22px) saturate(170%) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 30px 60px -30px rgba(0, 0, 0, 0.6) !important;
  }
  .mo-has-scene .sd-hero-panel { background: linear-gradient(160deg, rgba(15, 23, 42, 0.55), rgba(11, 17, 32, 0.4)) !important; }
  .cine-story .cine-step {
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.02)) !important;
    -webkit-backdrop-filter: blur(18px) saturate(170%);
    backdrop-filter: blur(18px) saturate(170%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 20px 40px -20px rgba(0, 0, 0, 0.6);
  }

  /* WhatsApp butonu: cam halka */
  .whatsapp-float { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.22), 0 0 0 7px rgba(37, 211, 102, 0.25), 0 10px 26px rgba(37, 211, 102, 0.35) !important; }

  /* Hero arka planında süzülen saydam cam baloncuklar (backdrop-filter yok → hafif) */
  .hero::after, .page-header::after {
    content: ""; position: absolute; pointer-events: none; z-index: 1;
    width: 120px; height: 120px; border-radius: 50%;
    right: -26px; top: 118px;
    background:
      radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.95) 0 6%, rgba(255, 255, 255, 0) 16%),
      radial-gradient(circle at 70% 78%, rgba(255, 140, 51, 0.30), rgba(255, 140, 51, 0) 55%),
      radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 58%, rgba(255, 255, 255, 0.55) 70%, rgba(255, 106, 0, 0.18) 72%, rgba(255, 255, 255, 0) 74%);
    box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.5);
    animation: lg-float 9s ease-in-out infinite;
  }
  .hero::before {
    content: ""; position: absolute; pointer-events: none; z-index: 1;
    width: 64px; height: 64px; border-radius: 50%;
    left: -14px; top: 46%;
    background:
      radial-gradient(circle at 32% 30%, rgba(255, 255, 255, 0.95) 0 7%, rgba(255, 255, 255, 0) 18%),
      radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.04) 56%, rgba(255, 255, 255, 0.6) 70%, rgba(255, 106, 0, 0.2) 72%, rgba(255, 255, 255, 0) 74%);
    animation: lg-float 11s ease-in-out -4s infinite reverse;
  }
  .page-header::after { top: auto; bottom: 30px; right: auto; left: -30px; width: 96px; height: 96px; }
}
@keyframes lg-float { 50% { transform: translate3d(-10px, -16px, 0) scale(1.04); } }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .navbar, .mobile-menu { background: rgba(15, 20, 28, 0.96) !important; }
}
@media (prefers-reduced-motion: reduce) {
  .hero::after, .hero::before, .page-header::after { animation: none !important; }
}

/* ---------- 4) Hafif mod 3D posterleri ---------- */
.mo-scene--poster { overflow: hidden; opacity: 1 !important; }
.mo-scene--poster img {
  position: absolute; display: block; max-width: none; object-fit: contain;
  will-change: transform;
  filter: drop-shadow(0 18px 30px rgba(15, 23, 42, 0.16));
  animation: mo-poster-in 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}
.sd-hero .mo-scene--poster img { filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.45)); }
.mo-scene--poster img { translate: 0 0; }
@keyframes mo-poster-in { from { opacity: 0; scale: 0.82; } to { opacity: 1; scale: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .mo-scene--poster { animation: mo-poster-float 7s ease-in-out infinite; }
}
@keyframes mo-poster-float { 50% { transform: translate3d(0, -10px, 0); } }

/* ---------- 5) Mobil menü: derli toplu, okunur, hiçbir şey üst üste binmez ---------- */
@media (max-width: 1024px) {
  .mobile-menu {
    background: linear-gradient(180deg, #0B0F19 0%, #111827 100%) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    display: flex !important;
    flex-direction: column;
    justify-content: flex-start !important;
    align-items: stretch !important;
    padding: 96px 20px 28px !important;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .mobile-menu-links {
    width: 100%; max-width: 440px; margin: 0 auto !important; padding: 0;
    display: flex; flex-direction: column; gap: 10px; text-align: start;
  }
  .mobile-menu-links li { margin: 0 !important; }
  .mobile-menu-links li a.mobile-link {
    display: flex !important; align-items: center; justify-content: space-between;
    min-height: 56px; padding: 0 18px !important; margin: 0 !important;
    font-size: 1.12rem !important; font-weight: 700; line-height: 1.2; color: #F8FAFC !important;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: none;
  }
  .mobile-menu-links li a.mobile-link::after { content: "›"; font-size: 1.5rem; line-height: 1; color: #FF8C33; opacity: 0.9; }
  [dir="rtl"] .mobile-menu-links li a.mobile-link::after { content: "‹"; }
  .mobile-menu-links li a.mobile-link[active], .mobile-menu-links li a.mobile-link.active {
    background: rgba(255, 106, 0, 0.14); border-color: rgba(255, 106, 0, 0.55); color: #fff !important;
  }
  .mobile-menu-links li a.btn-primary {
    display: flex !important; width: 100%; justify-content: center; min-height: 54px;
    margin-top: 10px !important; border-radius: 16px; font-size: 1rem;
  }
  /* Menü açıkken WhatsApp butonu menünün üstüne binmesin */
  body:has(.mobile-menu.active) .whatsapp-float { opacity: 0; pointer-events: none; }
}

/* ---------- 6) İş ortakları ok tuşları: her zeminde görünür ---------- */
.partners-nav-btn {
  background: #FFFFFF !important;
  border: 1.5px solid rgba(15, 23, 42, 0.18) !important;
  color: #0F172A !important;
  box-shadow: 0 6px 18px -8px rgba(15, 23, 42, 0.35);
}
.partners-nav-btn svg { stroke: currentColor; width: 20px; height: 20px; display: block; flex-shrink: 0; }
.partners-nav-btn:hover, .partners-nav-btn:focus-visible { background: #FF6A00 !important; border-color: #FF6A00 !important; color: #fff !important; }
@media (max-width: 768px) {
  .partners-nav-controls { gap: 0.75rem; }
  .partners-nav-btn { width: 46px !important; height: 46px !important; }
}

/* ---------- 7) Referans kartları: ana sayfadaki logo stiliyle aynı ---------- */
.portfolio-img-wrapper.ref-logo-tile {
  position: relative;
  height: 200px;
  display: flex; align-items: center; justify-content: center;
  background: #0B0F19 !important;
  padding: 1.5rem 2rem;
}
.ref-logo-tile::after {
  content: ""; position: absolute; inset: 12px; border-radius: 16px;
  border: 1px solid rgba(255, 106, 0, 0.55);
  pointer-events: none;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}
.portfolio-card:hover .ref-logo-tile::after { border-color: #FF6A00; box-shadow: 0 0 24px rgba(255, 106, 0, 0.18); }
.ref-logo-img {
  width: 72%; max-width: 300px; height: auto; max-height: 100%;
  object-fit: contain; opacity: 0.92;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}
.portfolio-card:hover .ref-logo-img { opacity: 1; transform: scale(1.04); }
.ref-logo-word {
  color: #F8FAFC; text-align: center;
  font: 800 clamp(1.15rem, 2vw, 1.5rem)/1.25 'Plus Jakarta Sans', Inter, system-ui, sans-serif;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0 1rem; opacity: 0.92;
}
html[lang="ar"] .ref-logo-word { letter-spacing: 0.14em !important; font-family: 'Plus Jakarta Sans', Inter, sans-serif; }
@media (max-width: 768px) {
  .portfolio-img-wrapper.ref-logo-tile { height: 170px; }
  .ref-logo-img { width: 70%; }
}

/* ---------- 8) Mobil filtre butonları: tek satır, yana kaydırılır (alt alta yığılmaz) ---------- */
@media (max-width: 768px) {
  .portfolio-filters {
    flex-wrap: nowrap !important; justify-content: flex-start !important;
    overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none;
    margin-left: -1.1rem; margin-right: -1.1rem; padding: 2px 1.1rem 8px !important;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
  }
  .portfolio-filters::-webkit-scrollbar { display: none; }
  .portfolio-filters .filter-btn { flex: 0 0 auto; white-space: nowrap; }
}

/* ---------- 9) İş ortakları okları: SVG yoksa (panelden kaydedilen içerik ikonu sildiyse) CSS ile çizilir ---------- */
.partners-nav-btn { position: relative; }
.partners-nav-btn:not(:has(svg))::before {
  content: ""; width: 11px; height: 11px;
  border-left: 2.6px solid currentColor; border-bottom: 2.6px solid currentColor;
  border-radius: 1px;
  transform: translateX(2px) rotate(45deg);
}
#partnersNextBtn:not(:has(svg))::before, .partners-nav-controls .partners-nav-btn:last-child:not(:has(svg))::before {
  transform: translateX(-2px) rotate(-135deg);
}
[dir="rtl"] #partnersPrevBtn:not(:has(svg))::before { transform: translateX(-2px) rotate(-135deg); }
[dir="rtl"] #partnersNextBtn:not(:has(svg))::before { transform: translateX(2px) rotate(45deg); }

/* ===== SEO: footer "Hizmetlerimiz" sütunu + ana sayfa SSS ===== */
@media (min-width: 1025px) {
  .footer-grid:has(.footer-services) { grid-template-columns: 1.6fr 1fr 1.2fr 1.1fr; gap: 3rem; }
}
.home-faq-card { text-align: left; }
[dir="rtl"] .home-faq-card { text-align: right; }

/* ===== UX paketi (20 Ekim): okunabilirlik, dokunma alanları, SSS akordiyon, alt bar, çerez bandı, rehber ===== */

/* Okunabilirlik: hero rozetleri mobilde en az 12px */
@media (max-width: 768px) {
  .metric-lbl { font-size: 12px !important; letter-spacing: 0.02em; line-height: 1.3; }
  .hero-card-tag, .hero-badge-pill, .hero-badge-pill span { font-size: 12px !important; }
}

/* Dokunma alanları (parmakla rahat basılsın) */
@media (pointer: coarse), (max-width: 768px) {
  .sd-breadcrumb { flex-wrap: wrap; row-gap: 0; }
  .sd-breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.15rem; }
  .portfolio-link, .sd-site-link { display: inline-flex !important; align-items: center; min-height: 44px; }
  .contact-item-value { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-links a { display: inline-flex; align-items: center; min-height: 40px; }
  .footer-links { gap: 0.25rem !important; }
  .footer-links li { margin-bottom: 0 !important; }
}

/* Ana sayfa SSS: akordiyon */
.home-faq .ns-faq { max-width: 860px; margin: 2.5rem auto 0; display: grid; gap: 0.85rem; }
.home-faq .ns-faq details { border-radius: 16px; background: #fff; border: 1px solid rgba(15, 23, 42, 0.08); box-shadow: 0 6px 24px rgba(15, 23, 42, 0.05); overflow: hidden; }
.home-faq .ns-faq summary { cursor: pointer; list-style: none; padding: 1.15rem 1.35rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 56px; }
.home-faq .ns-faq summary::-webkit-details-marker { display: none; }
.home-faq .ns-faq summary h3 { margin: 0; font-size: 1.02rem; font-weight: 700; color: #0F172A; line-height: 1.45; }
.home-faq .ns-faq summary::after { content: "+"; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 106, 0, 0.1); color: #FF6A00; font-size: 1.3rem; font-weight: 600; transition: transform 0.25s ease; }
.home-faq .ns-faq details[open] summary::after { transform: rotate(45deg); }
.home-faq .ns-faq details p { margin: 0; padding: 0 1.35rem 1.25rem; color: #475569; line-height: 1.75; }
[dir="rtl"] .home-faq .ns-faq summary, [dir="rtl"] .home-faq .ns-faq details p { text-align: right; }

/* Mobil sabit alt bar */
.ns-mbar { display: none; }
@media (max-width: 768px) {
  .ns-mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1001; display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem;
    padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom, 0px)); background: rgba(11, 15, 25, 0.96);
    border-top: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.18); }
  .ns-mbar a { display: flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 48px; border-radius: 12px;
    font-weight: 800; font-size: 0.98rem; text-decoration: none; -webkit-tap-highlight-color: transparent; }
  .ns-mbar-call { background: #FF6A00; color: #fff !important; }
  .ns-mbar-wa { background: #25D366; color: #0B2E17 !important; }
  html.has-mbar body { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
  html.has-mbar .whatsapp-float { display: none !important; }
  html.has-mbar .ns-consent { bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
}

/* Çerez bandı */
.ns-consent { position: fixed; z-index: 1002; left: 1rem; right: 1rem; bottom: 1rem; max-width: 520px; margin: 0 auto; background: #111827; color: #E5E7EB;
  border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 16px; padding: 1rem 1.1rem; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35); }
.ns-consent p { margin: 0 0 0.8rem; font-size: 0.92rem; line-height: 1.55; color: #E5E7EB; }
.ns-consent-actions { display: flex; gap: 0.6rem; justify-content: flex-end; }
.ns-consent button { min-height: 44px; padding: 0 1.2rem; border-radius: 10px; font-weight: 700; cursor: pointer; border: 1px solid rgba(255, 255, 255, 0.2); background: transparent; color: #fff; font-family: inherit; }
.ns-consent .ns-consent-yes { background: #FF6A00; border-color: #FF6A00; }

/* İletişim formu: hizmet seçimi */
.form-group select { width: 100%; background: var(--bg-secondary); border: 1px solid var(--glass-border); border-radius: 12px; padding: 1rem 1.25rem;
  color: var(--text-primary); font-size: 1rem; font-family: inherit; appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1.1rem center; padding-right: 2.8rem; }
[dir="rtl"] .form-group select { background-position: left 1.1rem center; padding-right: 1.25rem; padding-left: 2.8rem; }
.form-group select:focus { background-color: #fff; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.12); outline: none; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { .form-row-2 { grid-template-columns: 1fr; gap: 0; } }

/* Rehber + proje sayfaları */
.sd-hero-single { max-width: 860px; }
.ns-article { max-width: 760px; margin: 0 auto; color: #334155; font-size: 1.05rem; line-height: 1.85; }
.ns-article h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); color: #0F172A; margin: 2.4rem 0 0.8rem; line-height: 1.3; }
.ns-article p { margin: 0 0 1.1rem; }
.ns-article ul { margin: 0 0 1.2rem; padding-left: 1.3rem; }
[dir="rtl"] .ns-article ul { padding-left: 0; padding-right: 1.3rem; }
.ns-article li { margin-bottom: 0.45rem; }
.ns-article a { color: #E05D00; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ns-callout { margin: 2rem 0; padding: 1.2rem 1.4rem; border-radius: 16px; background: rgba(255, 106, 0, 0.07); border: 1px solid rgba(255, 106, 0, 0.2); }
.ns-related { max-width: 760px; margin: 2.5rem auto 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.3rem 1.5rem; border-radius: 18px; background: #0F172A; color: #fff; }
.ns-related p { margin: 0; color: #CBD5E1; }
.ns-related strong { color: #fff; }
.ns-related a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.2rem; border-radius: 12px; background: #FF6A00; color: #fff !important; font-weight: 700; text-decoration: none; }
.ns-guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.ns-guide-card { display: flex; flex-direction: column; gap: 0.7rem; padding: 1.6rem; border-radius: 18px; background: #fff; border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.05); text-decoration: none; color: inherit; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.ns-guide-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(15, 23, 42, 0.1); }
.ns-guide-card .ns-guide-tag { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #E05D00; }
.ns-guide-card h3 { margin: 0; font-size: 1.15rem; line-height: 1.4; color: #0F172A; }
.ns-guide-card p { margin: 0; color: #64748B; line-height: 1.65; font-size: 0.97rem; }
.ns-guide-card .ns-guide-more { margin-top: auto; font-weight: 700; color: #FF6A00; }
.ns-case-shot { max-width: 1040px; margin: 0 auto; border-radius: 20px; overflow: hidden; box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18); background: #0F172A; }
.ns-case-shot img { display: block; width: 100%; height: auto; }
.ns-case-meta { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.4rem; }
.ns-case-meta span { padding: 0.45rem 0.9rem; border-radius: 999px; background: rgba(255, 255, 255, 0.08); color: #E2E8F0; font-size: 0.88rem; font-weight: 600; }
.ns-cases { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; margin-top: 2.5rem; }
.ns-case-card { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.05); text-decoration: none; color: inherit; transition: transform 0.25s ease; }
.ns-case-card:hover { transform: translateY(-4px); }
.ns-case-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; display: block; }
.ns-case-card div { padding: 1.2rem 1.35rem 1.4rem; }
.ns-case-card h3 { margin: 0 0 0.4rem; font-size: 1.15rem; color: #0F172A; }
.ns-case-card p { margin: 0 0 0.8rem; color: #64748B; font-size: 0.95rem; line-height: 1.6; }
.ns-case-card .ns-guide-more { font-weight: 700; color: #FF6A00; }

/* Mobil hız: açılış ekranı yok, hero metni anında görünür (LCP) */
html.ns-lite .loader { display: none !important; }
html.ns-lite #hero .reveal, html.ns-lite .sd-hero .reveal { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
