/*
Theme Name: LUXIS Medya
Theme URI: https://luxismedya.com
Author: LUXIS Medya Dijital Ekibi
Author URI: https://luxismedya.com
Description: LUXIS Medya için üretilmiş, yüksek teknolojili karanlık siber-punk estetiğine sahip, tek sayfa (one-page) performans ajansı WordPress teması. Görünüm > Özelleştir panelinden marka kimliği, iletişim bilgileri, randevu ayarları ve tema renkleri yönetilebilir.
Version: 1.0.47
Text Domain: luxis-medya
*/

/* ==========================================================================
   LUXIS MEDYA — Design System
   High-Tech Dark Cyberpunk / Futuristic Glassmorphism
   ========================================================================== */

:root {
  --vh: 1vh;
  --bg-dark: #030814;
  --bg-card: #0B1528;
  --bg-card-solid: #0d1a30;
  --primary-neon: #00E5FF;
  --secondary-blue: #0088FF;
  --accent-purple: #7000FF;
  --text-white: #FFFFFF;
  --text-muted: #94A3B8;
  --border-glow: rgba(0, 229, 255, 0.25);

  --gradient-primary: linear-gradient(135deg, var(--primary-neon), var(--secondary-blue));
  --gradient-purple: linear-gradient(135deg, var(--secondary-blue), var(--accent-purple));
  --gradient-radial: radial-gradient(circle, rgba(0, 229, 255, 0.15), transparent 70%);

  --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  --container-width: 1240px;
  --transition-fast: 0.2s ease;
  --transition-med: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;
}

/* ============ RESET ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-padding-top: 90px; overflow-x: hidden; width: 100%; scroll-behavior: smooth; }

/* Lenis drives smooth scrolling in JS; native scroll-behavior would fight
   its inertia, so it's only left as a graceful no-JS/no-Lenis fallback. */
html.lenis { scroll-behavior: auto !important; }
html.lenis, html.lenis body { height: auto; }
html.lenis.lenis-smooth { scroll-behavior: auto !important; }
html.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
html.lenis.lenis-stopped { overflow: hidden; }
html:not(.lenis) { scroll-behavior: smooth; }

body {
  background: var(--bg-dark);
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
  position: relative;
}

/* Body scroll lock — shared by the mobile drawer and the video modal
   via LuxisTheme.setState() so the two overlays never fight over it. */
html.luxis-scroll-locked,
body.luxis-scroll-locked {
  overflow: hidden;
  height: 100%;
  touch-action: none;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(0, 136, 255, 0.10), transparent 40%),
    radial-gradient(circle at 85% 25%, rgba(112, 0, 255, 0.08), transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(0, 229, 255, 0.08), transparent 45%);
  pointer-events: none;
  z-index: 0;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
input, textarea, select { font-family: inherit; }

::selection { background: var(--primary-neon); color: var(--bg-dark); }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--secondary-blue); border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: var(--primary-neon); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; }

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.text-gradient-purple {
  background: var(--gradient-purple);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

.section-head { text-align: center; max-width: 680px; margin: 0 auto 60px; }
.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-neon);
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid var(--border-glow);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
}
.section-title { font-size: clamp(1.8rem, 3.6vw, 2.75rem); margin-bottom: 16px; letter-spacing: -0.01em; }
.section-sub { color: var(--text-muted); font-size: clamp(0.92rem, 1.4vw, 1.05rem); }

section { position: relative; z-index: 1; padding: 120px 0; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  min-height: 44px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-med);
  white-space: nowrap;
  position: relative;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #001018;
  box-shadow: 0 0 0 rgba(0, 229, 255, 0);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 229, 255, 0.45);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.03);
}
.btn-outline:hover {
  border-color: var(--primary-neon);
  background: rgba(0, 229, 255, 0.08);
  transform: translateY(-2px);
}

.btn-glow {
  background: var(--gradient-primary);
  color: #001018;
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.55);
  animation: btn-pulse 2.6s ease-in-out infinite;
  padding: 11px 24px;
  font-size: 0.88rem;
}
@keyframes btn-pulse {
  0%, 100% { box-shadow: 0 0 14px rgba(0, 229, 255, 0.45); }
  50% { box-shadow: 0 0 26px rgba(0, 229, 255, 0.8); }
}

.btn-block { width: 100%; justify-content: center; }

/* ============ CURSOR GLOW ============ */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.1), transparent 70%);
  pointer-events: none;
  z-index: 5;
  transform: translate(-50%, -50%);
  will-change: transform;
}

/* ============ PAGE VEIL — soft navy fade between WP page loads ============ */
.page-veil {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.38s ease, visibility 0.38s ease;
}
html.luxis-skip-preloader .page-veil {
  opacity: 1;
  visibility: visible;
}
html.luxis-skip-preloader.luxis-veil-ready .page-veil:not(.is-leaving) {
  opacity: 0;
  visibility: hidden;
}
.page-veil.is-leaving {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  overflow: hidden;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.55s ease, visibility 0.55s ease;
  will-change: opacity;
}
.preloader::before {
  content: '';
  position: absolute;
  inset: -45%;
  background:
    radial-gradient(ellipse at 22% 28%, rgba(0, 229, 255, 0.16), transparent 52%),
    radial-gradient(ellipse at 78% 72%, rgba(0, 136, 255, 0.14), transparent 48%),
    radial-gradient(ellipse at 50% 110%, rgba(11, 21, 40, 0.95), transparent 42%),
    var(--bg-dark);
  animation: preloader-wave 16s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}
@keyframes preloader-wave {
  0% { transform: translate(-5%, -4%) scale(1); }
  100% { transform: translate(6%, 5%) scale(1.1); }
}
html.luxis-skip-preloader .preloader {
  display: none !important;
}
.preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader-brand {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.preloader-mark {
  display: block;
  height: auto;
  width: min(220px, 52vw);
  background: transparent;
}
.preloader-pct {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  color: var(--primary-neon);
  font-variant-numeric: tabular-nums;
}

/* ============ NAVBAR — hidden over hero, reveals on scroll ============ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition-med), opacity 0.4s ease, transform 0.4s ease;
  background: rgba(3, 8, 20, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  pointer-events: none;
}
.navbar.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.navbar.scrolled {
  padding: 12px 0;
  background: rgba(3, 8, 20, var(--strip-bg-opacity, 0.85));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 229, 255, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.nav-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo-img { height: 64px; width: auto; mix-blend-mode: screen; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
  transition: var(--transition-fast);
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition-med);
  border-radius: 2px;
}
.nav-link:hover, .nav-link.active { color: var(--text-white); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 18px; min-width: 0; flex-shrink: 0; }

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FF3B5C;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(255, 59, 92, 0.8);
}
.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #FF3B5C;
  animation: pulse-ring 1.6s ease-out infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}
.pulse-dot--live {
  background: #22F0C8;
  box-shadow: 0 0 10px rgba(34, 240, 200, 0.85), 0 0 18px rgba(0, 229, 255, 0.4);
}
.pulse-dot--live::after {
  border-color: #22F0C8;
}
@media (prefers-reduced-motion: reduce) {
  .pulse-dot::after { animation: none; opacity: 0; }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  z-index: 1100;
}
.nav-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: var(--transition-med);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ HERO — Floating Center Frame over Fullscreen Reel ============ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: calc(var(--vh, 1vh) * 100);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 100px;
  overflow: hidden;
  max-width: 100vw;
}

/* ---- Layer 2: Fullscreen background carousel (scoped to hero viewport) ---- */
.hero-bg-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--bg-dark);
}
.hero-bg-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 1.4s ease;
  animation: bg-slide-zoom 12s ease-in-out infinite alternate;
}
.hero-bg-slide.active { opacity: 1; z-index: 1; }
.hero-bg-slide { will-change: transform, opacity; }
/* Video already has its own motion — Ken Burns scale reversing at 12s
   would cut through a looping clip (e.g. 24s) and look like a jump. */
.hero-bg-slide.has-video {
  animation: none;
  transform: none;
  will-change: opacity;
}
@keyframes bg-slide-zoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.12); }
}
.hero-bg-icon {
  font-size: 14rem;
  opacity: 0.16;
  filter: blur(1px);
}
.hero-bg-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-bg-embed {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw; /* 16:9 */
  min-height: 100%;
  min-width: 177.78vh; /* 16:9 */
  transform: translate(-50%, -50%);
  pointer-events: none;
  border: 0;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 8, 20, var(--overlay-opacity, 0.4));
  z-index: 2;
  pointer-events: none;
}

/* ---- Layer 3: Centered floating dark card ---- */
.hero-floating-card {
  position: relative;
  z-index: 3;
  width: 90vw;
  max-width: 1200px;
  min-height: 85vh;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(14, 26, 48, 0.92), #060d1d 40%);
  border: 1px solid rgba(0, 229, 255, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Embedded top navigation */
.hero-card-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  flex-wrap: wrap;
}
.hero-card-logo-img { height: 64px; width: auto; mix-blend-mode: screen; }
.hero-card-links { display: flex; align-items: center; gap: 28px; }
.hero-card-links a {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: var(--transition-fast);
}
.hero-card-links a:hover { color: var(--primary-neon); }

/* ============ NAV "HİZMETLERİMİZ" HOVER DROPDOWN — dynamic list of
   published Hizmet CPT entries, shared by the hero-card nav and the
   sticky/mobile navbar (see luxis_render_services_nav_dropdown()). ========= */
.nav-item-dropdown { position: relative; display: inline-flex; }
/*
 * The hoverable box starts flush at top:100% with NO margin, then reserves
 * its visual "floating" gap with padding-top instead — padding is still
 * part of the element's own hit-testing box, so the mouse never crosses a
 * dead zone between the trigger link and the panel (the classic dropdown
 * "hover gap" bug: with margin, that space belongs to neither element, the
 * pointer briefly hovers nothing, pointer-events snaps to none, and the
 * menu can never be re-entered).
 */
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  min-width: 260px;
  padding: 14px 10px 10px;
  background: rgba(10, 25, 47, 0.95);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 999;
}
.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown-menu:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu .nav-dropdown-link {
  display: block;
  position: relative;
  z-index: 999;
  cursor: pointer;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--text-muted);
  white-space: nowrap;
  transition: all 0.3s ease;
}
.nav-dropdown-menu .nav-dropdown-link:hover { background: rgba(0, 229, 255, 0.08); color: var(--text-white); }

/* Main typography row */
.hero-card-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 40px 44px;
  flex-wrap: wrap;
}

.hero-card-left {
  flex: 1 1 55%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  min-width: 0;
  overflow: visible;
}

/* "AI-Powered Growth Agency" hero pill — subtle glassmorphism at rest,
   a glowing neon/purple accent on hover so it feels alive without
   competing with the massive headline underneath it. */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  position: relative;
  cursor: default;
  transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.hero-eyebrow:hover {
  color: var(--primary-neon);
  background: rgba(0, 229, 255, 0.08);
  border-color: var(--border-glow);
  box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.15), 0 8px 28px rgba(0, 229, 255, 0.22), 0 0 20px rgba(112, 0, 255, 0.12);
  transform: translateY(-2px);
}

.hero-massive-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 7.5vw, 6.5rem);
  line-height: 1.08;
  padding-bottom: 0.15em;
  letter-spacing: -0.02em;
  color: var(--text-white);
  perspective: 700px;
  overflow: visible;
}
.hero-massive-title em { font-weight: 400; font-style: normal; }

/* Per-letter spans injected by initHeroTitleAnimation() (GSAP). Kept
   inline-block so transform/opacity tweens apply per character while
   the line still wraps and flows like normal text. */
.title-letter {
  display: inline-block;
  transform-style: preserve-3d;
  will-change: transform, opacity;
}
.title-letter.title-accent-word { display: inline-block; }

.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.1vw, 1.5rem);
  font-weight: 600;
  line-height: 1.35;
  color: #E8EEF7;
  max-width: 540px;
}
.hero-subtitle strong { font-weight: 800; }
.hero-subtitle em { font-weight: 400; font-style: normal; }

.hero-card-actions { display: flex; gap: 16px; flex-wrap: wrap; }


.hero-card-right {
  flex: 1 1 38%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 18px;
  min-width: 0;
}

.hero-tagline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-white);
  line-height: 1.25;
  max-width: 340px;
}

.hero-arc-stage {
  position: relative;
  width: min(460px, 100%);
}
.hero-panther {
  position: relative;
  width: 100%;
  opacity: 0;
  transform: scale(1.36) translate(6%, 10%);
  transform-origin: 22% 30%;
  transition: opacity 1.2s ease;
}
.hero-panther.is-in {
  opacity: 1;
}
html.luxis-skip-preloader .hero-panther {
  opacity: 1;
  transition: none;
}
.hero-panther-img {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 22px rgba(0, 229, 255, 0.28));
  pointer-events: none;
  user-select: none;
}
.hero-arc {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-arc li {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.72rem, 1.2vw, 0.88rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #E8EEF7;
  white-space: nowrap;
  padding: 4px 9px 4px 8px;
  border-radius: var(--radius-full);
  background: rgba(3, 8, 20, 0.78);
  border: 1px solid rgba(0, 229, 255, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(8px);
  filter: blur(5px);
  transition: opacity 0.6s ease, transform 0.6s ease, filter 0.6s ease;
  z-index: 2;
}
.hero-arc li::before {
  content: '';
  width: 5px;
  height: 5px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--primary-neon);
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.8);
}
.hero-arc li.is-analiz { left: 48%; top: 70%; }
.hero-arc li.is-strateji { left: 24%; top: 48%; }
.hero-arc li.is-buyume { left: 4%; top: 26%; }
.hero-arc li.is-lit,
.hero-arc.is-complete li {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Partner / certification badge strip — "Hero Rozetleri" CPT, admin-managed */
.hero-badges-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding: 20px 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: transparent;
}
.hero-badge-logo {
  max-height: var(--hero-badge-logo-size, 35px);
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
  filter: grayscale(100%);
  transition: all 0.3s ease;
}
.hero-badge-logo:hover {
  filter: grayscale(0%);
  transform: scale(1.15);
}

/* Bottom integrated running marquee */
.hero-card-marquee {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 229, 255, 0.04);
  padding: 18px 0;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.hero-pill {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--text-white);
  white-space: nowrap;
  padding: 0 6px;
}

.scroll-indicator {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 3;
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.scroll-line { width: 1px; height: 34px; background: rgba(255, 255, 255, 0.15); position: relative; overflow: hidden; }
.scroll-dot { width: 100%; height: 10px; background: var(--primary-neon); position: absolute; top: 0; animation: scroll-down 1.8s ease-in-out infinite; }
@keyframes scroll-down { 0% { top: -10px; } 100% { top: 34px; } }

/* ============ MARQUEE (hero pills ticker) ============ */
.marquee-track {
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content;
  animation: marquee-scroll 32s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
.marquee-item {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  white-space: nowrap;
  padding: 0 6px;
  transition: color 0.3s ease;
}
.marquee-item:hover { color: var(--primary-neon); }

.marquee-dot { color: var(--secondary-blue); opacity: 0.6; }

/* ============ REFERANSLARIMIZ — static logo marquee (CSS-only infinite scroll) ============ */
.references-section {
  padding: 60px 0;
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.references-title {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 28px;
}

/* Outer viewport: clips the track so only one "page" of logos is ever visible. */
.references-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

/* Inner track: logos laid out side by side with Flexbox. Its content is the
   logo list duplicated once in the markup, so translating exactly -50% loops
   seamlessly back to the start with no visible jump or gap. */
.references-track {
  display: flex;
  align-items: center;
  gap: 72px;
  width: max-content;
  animation: scroll 20s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
}
.references-slider:hover .references-track { animation-play-state: paused; }

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.reference-logo {
  max-height: var(--partner-logo-height, 42px);
  height: auto;
  width: auto;
  max-width: 160px;
  flex-shrink: 0;
  object-fit: contain;
  opacity: 0.5;
  filter: grayscale(1) brightness(1.7);
  transition: opacity 0.3s ease, filter 0.3s ease, transform 0.3s ease;
}
.reference-logo:hover {
  opacity: 1;
  filter: grayscale(0) brightness(1);
  transform: translateY(-2px);
}

@media (max-width: 760px) {
  .references-track { gap: 40px; animation-duration: 14s; }
  .reference-logo { max-height: 32px; }
}

/* ============ ABOUT ============ */
.about {
  padding: 0;
  overflow: hidden;
}
.about-banner {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
}
.about-banner-img {
  position: absolute;
  right: -10%;
  top: 50%;
  transform: translateY(-50%);
  height: 125%;
  width: auto;
  max-width: 72%;
  object-fit: contain;
  object-position: right center;
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  transition: opacity 1.2s ease;
}
.about-banner-img.is-in { opacity: 0.58; }
.about-banner-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 8, 20, 0.97) 0%, rgba(3, 8, 20, 0.93) 36%, rgba(3, 8, 20, 0.82) 48%, rgba(3, 8, 20, 0.38) 70%, rgba(3, 8, 20, 0.1) 100%);
  pointer-events: none;
  z-index: 1;
}
.about-banner-inner {
  position: relative;
  z-index: 2;
  padding-top: 100px;
  padding-bottom: 100px;
}
.about-content {
  max-width: 520px;
  font-family: var(--font-display);
}
.about-text {
  color: #E8EEF7;
  margin-bottom: 18px;
  font-weight: 500;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.7;
}
.about-text strong { color: var(--text-white); }

.about-points { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }
.about-point { display: flex; gap: 16px; align-items: flex-start; }
.point-icon {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #001018;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
}
.about-point h4 { font-size: 1.05rem; margin-bottom: 4px; font-weight: 700; }
.about-point p {
  color: #E8EEF7;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.65;
}

/* ============ SERVICES — "Hizmetler" CPT Bento Grid ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 28px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(165deg, rgba(14, 26, 48, 0.94), var(--bg-card-solid) 70%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 24px;
  padding: 32px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
  box-shadow: 0 20px 45px rgba(0, 229, 255, 0.12);
}
.service-glow {
  position: absolute;
  width: 180px; height: 180px;
  background: var(--gradient-radial);
  top: -60px; left: -60px;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.service-card:hover .service-glow { opacity: 1; }

/* Card Image: uploaded Featured Image, proportional & balanced within the grid */
.service-card-image {
  position: relative;
  z-index: 1;
  margin-bottom: 1.5rem;
  border-radius: 16px;
  overflow: hidden;
}
.service-card-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  transition: transform 0.5s ease;
}
.service-card:hover .service-card-img { transform: scale(1.04); }

/* Card Header: title left, optional partner/certification badge top-right */
.service-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  z-index: 1;
  margin-bottom: 14px;
}
.service-card-header :is(h3, h4) { font-size: 1.2rem; line-height: 1.35; }
.service-badge-icon { max-height: 32px; width: auto; object-fit: contain; flex-shrink: 0; filter: brightness(0.95); }

/* Card Body: excerpt + CTA */
.service-card-body { position: relative; z-index: 1; }
.service-card-body p { color: var(--text-muted); font-size: 0.94rem; line-height: 1.7; margin-bottom: 18px; }
.service-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--primary-neon);
  transition: all 0.3s ease;
}
.service-card-cta svg { transition: transform 0.3s ease; }
.service-card-cta:hover { gap: 12px; }
.service-card-cta:hover svg { transform: translateX(3px); }

/* ============ SINGLE SERVICE DETAIL PAGE (single-hizmet.php) ============ */
.service-hero {
  position: relative;
  padding: 160px 0 80px;
  background: linear-gradient(180deg, rgba(14, 26, 48, 0.95), var(--bg-dark) 70%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.service-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 48px;
}
.service-hero-title { font-size: clamp(2.1rem, 4vw, 3.2rem); margin: 16px 0 18px; letter-spacing: -0.01em; }
.service-hero-tagline { color: var(--text-muted); font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.7; max-width: 560px; }
.service-hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 32px; flex-wrap: wrap; }
.service-hero-badge { max-height: 40px; width: auto; object-fit: contain; }
.service-hero-media { border-radius: 24px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5); }
.service-hero-img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 4 / 3; }

.service-article { max-width: 760px; margin: 0 auto; padding: 80px 0; }

.service-related { padding-bottom: 100px; }
.service-related .related-posts-title { text-align: center; font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 40px; }

.service-sticky-cta {
  position: sticky;
  bottom: 0;
  z-index: 20;
  background: rgba(10, 20, 40, 0.96);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-glow);
  padding: 20px 0;
}
.service-sticky-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.service-sticky-cta-text { display: flex; flex-direction: column; gap: 4px; }
.service-sticky-cta-text strong { color: var(--text-white); font-size: 1rem; }
.service-sticky-cta-text span { color: var(--text-muted); font-size: 0.86rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }
.form-group input, .form-group select, .form-group textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  min-height: 44px;
  color: var(--text-white);
  font-size: 0.95rem;
  transition: var(--transition-fast);
  width: 100%;
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary-neon);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.12);
  background: rgba(0, 229, 255, 0.03);
}
.form-group select option { background: var(--bg-card-solid); color: var(--text-white); }
.form-note { text-align: center; margin-top: 14px; font-size: 0.88rem; min-height: 1.2em; }
.form-note.success { color: var(--primary-neon); }
.form-note.error { color: #FF6B6B; }

/* ============ PORTFOLIO ============ */
.portfolio-filters { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 50px; }
.filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition-med);
}
.filter-btn:hover { border-color: var(--border-glow); color: var(--text-white); }
.filter-btn.active { background: var(--gradient-primary); color: #001018; border-color: transparent; font-weight: 700; }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.portfolio-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(11, 21, 40, var(--card-bg-opacity, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
  display: block;
  color: inherit;
}
.portfolio-item:hover { transform: translateY(-6px) scale(1.02); border-color: var(--border-glow); box-shadow: 0 20px 45px rgba(0, 229, 255, 0.12); }
.portfolio-item.hidden { display: none; }

.portfolio-media {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.portfolio-item:hover .portfolio-media img,
.portfolio-item:hover .portfolio-media {
  transform: scale(1.08);
  transition: transform 0.5s ease;
}
.portfolio-icon { font-size: 2.6rem; filter: drop-shadow(0 0 12px rgba(0,0,0,0.4)); position: relative; z-index: 1; }
.portfolio-cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.portfolio-media:has(.portfolio-cover-img)::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 8, 20, 0.1), rgba(3, 8, 20, 0.55));
}
.play-icon {
  width: 60px; height: 60px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: var(--transition-med);
}
.portfolio-item.is-video:hover .play-icon { transform: scale(1.15); background: var(--primary-neon); color: #001018; }

.grad-1 { background: linear-gradient(135deg, #0088FF, #030814); }
.grad-2 { background: linear-gradient(135deg, #7000FF, #030814); }
.grad-3 { background: linear-gradient(135deg, #00E5FF, #0B1528); }
.grad-4 { background: linear-gradient(135deg, #FF3B94, #030814); }
.grad-5 { background: linear-gradient(135deg, #00C2A8, #030814); }
.grad-6 { background: linear-gradient(135deg, #FFA500, #030814); }

.portfolio-info { padding: 24px; }
.portfolio-tag { font-size: 0.72rem; color: var(--primary-neon); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.portfolio-info h3 { font-size: 1.1rem; margin: 10px 0 8px; }
.portfolio-info p { color: var(--text-muted); font-size: 0.88rem; }

/* ============ VIDEO MODAL ============ */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-med);
  padding: 20px;
}
.video-modal.active { opacity: 1; visibility: visible; }
.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 8, 20, 0.9);
  backdrop-filter: blur(8px);
}
.video-modal-content {
  position: relative;
  width: 100%;
  max-width: 860px;
  z-index: 1;
  transform: scale(0.92);
  transition: var(--transition-med);
}
.video-modal.active .video-modal-content { transform: scale(1); }
.video-modal-close {
  position: absolute;
  top: -50px; right: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-white);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}
.video-modal-close:hover { background: var(--primary-neon); color: #001018; }
.video-player {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(11, 21, 40, var(--card-bg-opacity, 0.92));
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-player-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0, 229, 255, 0.12), transparent 70%);
}
.video-embed {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: none;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.video-embed.active { display: block; }
.video-embed iframe, .video-embed video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.video-placeholder { text-align: center; position: relative; z-index: 1; }
.play-icon-lg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px; height: 88px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #001018;
  font-size: 1.8rem;
  margin: 0 auto 20px;
  box-shadow: 0 0 40px rgba(0, 229, 255, 0.5);
  cursor: pointer;
}
.video-placeholder p { font-family: var(--font-display); font-size: clamp(1.05rem, 2vw, 1.2rem); margin-bottom: 6px; }
.video-hint { color: var(--text-muted); font-size: 0.85rem; }

/* ============ BLOG ============ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.blog-card {
  background: rgba(11, 21, 40, var(--card-bg-opacity, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-med);
}
.blog-card:hover { transform: translateY(-6px); border-color: var(--border-glow); box-shadow: 0 20px 45px rgba(0, 229, 255, 0.1); }
.blog-media { height: 170px; position: relative; display: flex; align-items: flex-end; padding: 16px; overflow: hidden; }
.blog-cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.blog-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(3, 8, 20, 0.75)); }
.blog-cat {
  position: relative;
  z-index: 1;
  background: rgba(3, 8, 20, 0.6);
  backdrop-filter: blur(6px);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.blog-empty, .portfolio-empty { color: var(--text-muted); font-size: 0.95rem; grid-column: 1 / -1; text-align: center; padding: 40px 0; }
.blog-body { padding: 24px; }
.blog-date { font-size: 0.78rem; color: var(--text-muted); }
.blog-body h3 { font-size: 1.08rem; margin: 10px 0; }
.blog-body p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 16px; }
.blog-link { color: var(--primary-neon); font-weight: 600; font-size: 0.9rem; transition: var(--transition-fast); }
.blog-link:hover { letter-spacing: 0.02em; }

/* ============ FAQ ============ */
.faq-container { max-width: 820px; }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: rgba(11, 21, 40, var(--card-bg-opacity, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.faq-item.active { border-color: var(--border-glow); }
.faq-question {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(0.92rem, 1.6vw, 1rem);
  font-weight: 600;
}
.faq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-med);
  margin-left: 16px;
}
.faq-item.active .faq-icon { transform: rotate(45deg); background: var(--gradient-primary); color: #001018; border-color: transparent; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-answer p { padding: 0 26px 24px; color: var(--text-muted); font-size: 0.94rem; }

/* ============ CONTACT ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: flex-start; }
.contact-items { display: flex; flex-direction: column; gap: 16px; margin: 28px 0; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: rgba(11, 21, 40, var(--card-bg-opacity, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  transition: var(--transition-med);
}
a.contact-item:hover { border-color: var(--border-glow); transform: translateX(4px); }
.contact-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-label { display: block; font-size: 0.76rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.contact-value { display: block; font-weight: 600; margin-top: 2px; }

.contact-map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.08); margin-bottom: 24px; filter: grayscale(0.4) invert(0.92) contrast(0.9); }
.contact-map iframe { width: 100%; height: 220px; border: 0; display: block; }

.social-links { display: flex; gap: 12px; }
.social-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  transition: var(--transition-med);
}
.social-icon:hover { background: var(--gradient-primary); color: #001018; border-color: transparent; transform: translateY(-3px); }

.contact-form {
  background: rgba(11, 21, 40, var(--card-bg-opacity, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  padding: 40px;
}

/* ============ FOOTER — single horizontal row: logo, nav links, social icons & extra
   columns all side by side (flex-direction: row), wrapping to a stacked column
   layout on mobile via the .footer-row rule in the RESPONSIVE section below. ============ */
.footer { padding: 80px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.06); position: relative; z-index: 1; }
.footer-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding-bottom: 60px;
}
.footer-brand { flex: 1 1 280px; max-width: 320px; }
.footer-col { flex: 1 1 160px; }
.footer-logo { height: 64px; width: auto; margin-bottom: 18px; mix-blend-mode: screen; }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 22px; max-width: 280px; }
.footer-col h4 { font-size: 0.95rem; margin-bottom: 20px; }
.footer-col a { display: block; color: var(--text-muted); font-size: 0.9rem; margin-bottom: 12px; transition: var(--transition-fast); }
.footer-col a:hover { color: var(--primary-neon); }

/* Site map / footer nav menu — horizontal inline layout instead of a stacked list */
.footer-col .footer-links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
.footer-col .footer-links a { display: inline-flex; margin-bottom: 0; }

.newsletter-form { display: flex; gap: 8px; margin-bottom: 22px; position: relative; flex-wrap: wrap; }
.newsletter-form input {
  flex: 1;
  min-width: 140px;
  max-width: 300px;
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  color: var(--text-white);
  font-size: 0.88rem;
  min-height: 44px;
}
.newsletter-form input:focus { outline: none; border-color: var(--primary-neon); }
.newsletter-form button {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  border: none;
  background: var(--gradient-primary);
  color: #001018;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}
.newsletter-form button:hover { transform: scale(1.06); }
.newsletter-form .form-note { flex-basis: 100%; text-align: left; margin-top: 4px; }

.footer-widgets .widget { margin-bottom: 20px; }
.widget-title { font-size: 0.95rem; margin-bottom: 14px; color: var(--text-white); }
.widget { color: var(--text-muted); font-size: 0.9rem; }
.widget ul { list-style: none; }
.widget ul li { margin-bottom: 10px; }
.widget a { color: var(--text-muted); transition: var(--transition-fast); }
.widget a:hover { color: var(--primary-neon); }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
  border: 0; padding: 0; margin: -1px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px 32px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  max-width: var(--container-width);
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* ============ SCROLL TOP ============ */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(11, 21, 40, var(--card-bg-opacity, 0.92));
  border: 1px solid var(--border-glow);
  color: var(--primary-neon);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-med);
}
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: var(--gradient-primary); color: #001018; box-shadow: 0 8px 24px rgba(0, 229, 255, 0.4); }

/* ============ AOS (scroll reveal) ============ */
[data-aos] { opacity: 0; transform: translateY(28px); transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
[data-aos].aos-visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   MICRO-INTERACTIONS — Vanilla-Tilt 3D cards & GSAP grid reveals.
   Grid children get their data-aos attribute stripped by JS before
   GSAP takes over their entrance animation (see initGsapAnimations
   in script.js) so the two reveal systems never fight.
   ============================================================ */
.service-card,
.portfolio-item,
.hero-floating-card {
  will-change: transform;
}
.js-tilt-glare { border-radius: inherit; overflow: hidden; }
.js-tilt-glare-inner { border-radius: inherit; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1100px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-row { gap: 28px; }
}

@media (max-width: 980px) {
  /* Nav bar stays reachable on touch devices regardless of hero scroll state */
  .navbar { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }

  #navbar .nav-links { position: fixed; top: 0; right: -100%; height: 100vh; width: min(320px, 80vw); background: rgba(3, 8, 20, 0.97); backdrop-filter: blur(20px); flex-direction: column; justify-content: center; align-items: flex-start; padding: 40px; gap: 26px; transition: right 0.45s cubic-bezier(0.16, 1, 0.3, 1); border-left: 1px solid var(--border-glow); }
  #navbar .nav-links.active { right: 0; }
  .nav-link { font-size: 1.1rem; }
  .nav-toggle { display: flex; }

  /* In the off-canvas drawer, hover doesn't apply — the dropdown becomes a
     always-visible, indented static sub-list right under "Hizmetlerimiz". */
  .nav-item-dropdown { flex-direction: column; align-items: flex-start; }
  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    margin: 10px 0 0;
    padding: 0 0 0 16px;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
  }
  .nav-dropdown-menu .nav-dropdown-link { font-size: 0.95rem; padding: 8px 0; }
  .nav-cta { padding: 9px 18px; font-size: 0.8rem; }

  .hero { padding: 90px 14px 80px; }
  .hero-floating-card { width: 100%; max-width: 100%; min-height: auto; border-radius: 20px; }
  .hero-card-nav { padding: 20px 26px; }
  .hero-card-links { display: none; }
  .hero-card-body { padding: 36px 26px; }
  .hero-card-left, .hero-card-right { flex: 1 1 100%; align-items: flex-start; text-align: left; }
  .hero-card-right { align-items: flex-start; }
  .hero-panther { transform: scale(1.16) translate(4%, 6%); }
  .hero-bg-icon { font-size: 9rem; }

  .about-banner { min-height: 0; }
  .about-banner-img {
    right: 50%;
    transform: translate(50%, -42%);
    max-width: 120%;
    height: 70%;
    opacity: 0;
  }
  .about-banner-img.is-in { opacity: 0.32; }
  .about-banner-veil {
    background: linear-gradient(180deg, rgba(3, 8, 20, 0.55) 0%, rgba(3, 8, 20, 0.88) 42%, rgba(3, 8, 20, 0.96) 100%);
  }
  .about-banner-inner { padding-top: 80px; padding-bottom: 80px; }
  .about-content { max-width: none; }

  .contact-grid { grid-template-columns: 1fr; }

  .service-hero { padding: 120px 0 60px; }
  .service-hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .service-hero-media { order: -1; }
  .service-sticky-cta-inner { justify-content: center; text-align: center; }
  .service-card-img { height: 200px; }
}

@media (max-width: 760px) {
  section { padding: 80px 0; }
  .section-container { padding: 0 22px; }
  .nav-container { padding: 0 20px; }

  .hero { padding: 84px 10px 74px; }
  .hero-floating-card { width: 100%; border-radius: 16px; }

  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .footer-row { flex-direction: column; align-items: flex-start; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; padding: 20px; }

  .hero-card-nav { padding: 18px 20px; }
  .hero-card-body { padding: 30px 20px; gap: 26px; }
  .hero-massive-title { font-size: clamp(2.4rem, 12vw, 3.6rem); }
  .hero-tagline { max-width: none; }
  .hero-card-marquee { padding: 14px 0; }
  .hero-pill { font-size: 0.74rem; }

  .hero-badges-strip { gap: 1.5rem; padding: 16px 20px; }
  .hero-badge-logo { max-height: calc(var(--hero-badge-logo-size, 35px) * 0.75); }
}

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

  .hero-card-actions { flex-direction: column; width: 100%; }
  .hero-card-actions .btn { width: 100%; justify-content: center; }
  .contact-form { padding: 24px; }

  .hero-badges-strip {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    gap: 1.75rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
  }
  .hero-badges-strip::-webkit-scrollbar { display: none; }
}

/* ============================================================
   CONTENT TEMPLATES — page.php, single.php, archive.php,
   search.php, 404.php, comments.php & sidebar.php
   ============================================================ */

.site-main { padding: 140px 0 100px; position: relative; z-index: 1; }
.page-container { max-width: 860px; }

.archive-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 50px;
  align-items: start;
}
.archive-header { text-align: left; margin-bottom: 40px; }
.archive-description { margin-top: 8px; }
.archive-post-grid { margin-bottom: 40px; }

/* ---- Entry header / meta shared by page.php & single.php ---- */
.entry-header { margin-bottom: 30px; }
.entry-title { margin-bottom: 14px; }
.entry-meta { display: flex; align-items: center; gap: 10px; color: var(--text-muted); font-size: 0.88rem; }
.entry-thumbnail { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 36px; border: 1px solid rgba(255, 255, 255, 0.07); }
.entry-thumbnail img { width: 100%; height: auto; display: block; }

/* ---- Rich text content styling for the_content() ---- */
.entry-content { color: var(--text-muted); font-size: 1rem; line-height: 1.8; }
.entry-content > * + * { margin-top: 20px; }
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6 {
  color: var(--text-white);
  line-height: 1.3;
  margin-top: 36px;
  margin-bottom: 4px;
}
.entry-content h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
.entry-content h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
.entry-content a { color: var(--primary-neon); text-decoration: underline; text-underline-offset: 3px; }
.entry-content strong, .entry-content b { color: var(--text-white); }
.entry-content ul, .entry-content ol { padding-left: 22px; }
.entry-content li { margin-bottom: 8px; }
.entry-content blockquote {
  border-left: 3px solid var(--primary-neon);
  background: rgba(255, 255, 255, 0.03);
  padding: 18px 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--text-white);
}
.entry-content img { max-width: 100%; height: auto; border-radius: var(--radius-md); }
.entry-content pre, .entry-content code {
  background: var(--bg-card-solid);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.entry-content code { padding: 2px 6px; font-size: 0.88em; color: var(--primary-neon); }
.entry-content pre { padding: 18px; overflow-x: auto; }
.entry-content pre code { border: none; padding: 0; color: var(--text-muted); }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { border: 1px solid rgba(255, 255, 255, 0.08); padding: 10px 14px; text-align: left; }
.entry-content th { color: var(--text-white); background: rgba(255, 255, 255, 0.03); }
.entry-content hr { border: none; border-top: 1px solid rgba(255, 255, 255, 0.08); }

.page-links { margin-top: 30px; font-size: 0.9rem; color: var(--text-muted); }
.page-links a { color: var(--primary-neon); margin-left: 8px; }

.entry-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.tag-pill {
  padding: 6px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
}
.tag-pill:hover { border-color: var(--border-glow); color: var(--primary-neon); }

/* ---- Author bio ---- */
.author-bio {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 40px;
  padding: 24px;
  background: rgba(11, 21, 40, var(--card-bg-opacity, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
}
.author-avatar img { border-radius: 50%; display: block; }
.author-bio h4 { font-size: 1rem; margin-bottom: 4px; }
.author-bio p { color: var(--text-muted); font-size: 0.88rem; }

/* ---- Prev/next post navigation ---- */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}
.post-nav a {
  display: block;
  padding: 18px 22px;
  background: rgba(11, 21, 40, var(--card-bg-opacity, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition-med);
}
.post-nav a:hover { border-color: var(--border-glow); color: var(--text-white); }
.post-nav-next { text-align: right; }

/* ---- Related posts ---- */
.related-posts { margin-top: 60px; }
.related-posts-title { font-size: 1.3rem; margin-bottom: 24px; }

/* ---- Sidebar ---- */
.site-sidebar { display: flex; flex-direction: column; gap: 24px; }
.site-sidebar .widget {
  background: rgba(11, 21, 40, var(--card-bg-opacity, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  padding: 24px;
}

/* ---- Pagination (the_posts_pagination / the_comments_pagination) ---- */
.pagination-wrap { display: flex; justify-content: center; margin-top: 20px; }
.pagination-wrap .nav-links,
.pagination-wrap .page-numbers { display: flex; align-items: center; gap: 10px; list-style: none; }
.pagination-wrap .page-numbers,
.pagination-wrap a.page-numbers,
.pagination-wrap span.page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: var(--transition-fast);
}
.pagination-wrap a.page-numbers:hover { border-color: var(--border-glow); color: var(--text-white); }
.pagination-wrap .page-numbers.current { background: var(--gradient-primary); color: #001018; border-color: transparent; font-weight: 700; }

/* ---- Search form & search.php ---- */
.luxis-search-form { display: flex; gap: 10px; max-width: 480px; }
.luxis-search-form .search-field {
  flex: 1;
  padding: 0 20px;
  min-height: 48px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  color: var(--text-white);
  font-size: 0.92rem;
}
.luxis-search-form .search-field:focus { outline: none; border-color: var(--primary-neon); }
.luxis-search-form .search-submit {
  width: 48px; height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  border: none;
  background: var(--gradient-primary);
  color: #001018;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  min-height: 44px;
}
.luxis-search-form .search-submit:hover { transform: scale(1.06); }

/* ---- 404 page ---- */
.error-404-main { min-height: 70vh; display: flex; align-items: center; }
.error-404-content { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; max-width: 560px; margin: 0 auto; }
.error-code { font-size: clamp(4rem, 14vw, 7rem); font-weight: 800; font-family: var(--font-display); line-height: 1; }
.error-404-content .luxis-search-form { margin: 24px 0; }
.error-404-cta { margin-top: 10px; }

/* ---- Comments (comments.php) ---- */
.comments-area { margin-top: 60px; }
.comments-title { font-size: 1.3rem; margin-bottom: 26px; }
.comment-list { list-style: none; }
.comment-list .children { list-style: none; margin-left: 40px; }
.comment-list > li + li,
.comment-list li .children > li { margin-top: 20px; }
.comment-body {
  background: rgba(11, 21, 40, var(--card-bg-opacity, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  padding: 22px;
}
.comment-author { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.comment-author .avatar { border-radius: 50%; }
.comment-author .fn { font-style: normal; font-weight: 600; color: var(--text-white); font-size: 0.92rem; }
.comment-metadata { font-size: 0.78rem; color: var(--text-muted); }
.comment-metadata a { color: var(--text-muted); }
.comment-content p { color: var(--text-muted); font-size: 0.92rem; margin-top: 6px; }
.reply a {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--primary-neon);
  padding: 6px 14px;
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-full);
}
.no-comments { color: var(--text-muted); margin-bottom: 20px; }

.comment-respond {
  background: rgba(11, 21, 40, var(--card-bg-opacity, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  padding: 30px;
  margin-top: 30px;
}
.comment-reply-title { font-size: 1.15rem; margin-bottom: 20px; }
.luxis-comment-form .comment-form-author,
.luxis-comment-form .comment-form-email,
.luxis-comment-form .comment-form-url,
.luxis-comment-form .comment-notes,
.luxis-comment-form .form-group { margin-bottom: 18px; }
.luxis-comment-form label { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 8px; font-weight: 500; }
.luxis-comment-form input[type="text"],
.luxis-comment-form input[type="email"],
.luxis-comment-form input[type="url"],
.luxis-comment-form textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--text-white);
  font-family: inherit;
  min-height: 44px;
}
.luxis-comment-form textarea { min-height: 110px; resize: vertical; }
.luxis-comment-form input:focus, .luxis-comment-form textarea:focus { outline: none; border-color: var(--primary-neon); }
.luxis-comment-form .comment-notes, .luxis-comment-form .logged-in-as { color: var(--text-muted); font-size: 0.85rem; }
.luxis-comment-form .form-submit { margin-top: 10px; }

@media (max-width: 980px) {
  .archive-grid { grid-template-columns: 1fr; }
  .site-sidebar { order: 2; }
}

@media (max-width: 760px) {
  .site-main { padding: 120px 0 70px; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav-next { text-align: left; }
  .author-bio { flex-direction: column; text-align: center; }
}

/* Release 42: progressive enhancement and keyboard access. */
.page-veil { display: none !important; }
.hero-pill { text-transform: uppercase; }
button.portfolio-item { font: inherit; color: inherit; text-align: left; width: 100%; cursor: pointer; }
.luxis-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 10001; padding: 12px 18px; background: var(--bg-dark); color: var(--text-white); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
:focus-visible { outline: 2px solid var(--primary-neon); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  html, html:not(.lenis) { scroll-behavior: auto !important; }
  [data-aos], .hero-panther, .about-banner-img { opacity: 1 !important; transform: none !important; }
}

/* Release 43: restored brand intro, with independent failure recovery. */
.preloader { animation: luxis-intro-deadline 0s 5s forwards; }
@keyframes luxis-intro-deadline {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}
html.luxis-scroll-locked, body.luxis-scroll-locked { touch-action: auto; }
.video-modal-content { max-height: calc(100dvh - 40px); padding-top: 54px; overflow-y: auto; overscroll-behavior: contain; }
.video-modal-close { top: 0; }
@media (max-width: 980px) {
  #navbar .nav-links {
    height: 100vh; height: 100dvh;
    overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y;
    justify-content: flex-start;
    padding: max(90px, env(safe-area-inset-top)) 24px max(32px, env(safe-area-inset-bottom));
    gap: 20px;
  }
  #navbar .nav-actions { position: relative; z-index: 2; }
  #navbar .nav-link, #navbar .nav-dropdown-link { min-height: 44px; display: flex; align-items: center; }
}
@media (prefers-reduced-motion: reduce) { .preloader { display: none !important; } }

/* Editorial structure: existing visual language, clearer service hierarchy. */
.service-editorial-group + .service-editorial-group { margin-top: 44px; }
.service-group-title { font-size: 1.25rem; margin: 0 0 20px; color: var(--text-white); }
.editorial-process { padding-top: 72px; padding-bottom: 72px; }
.editorial-process-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 44px; padding-left: 24px; margin-top: 28px; }
.editorial-process-list li { padding-left: 8px; }
.editorial-process-list h3 { margin-bottom: 8px; font-size: 1.1rem; }
.editorial-process-list p { color: var(--text-muted); }
@media (max-width: 640px) { .editorial-process-list { grid-template-columns: 1fr; } }

/* Release 46: one mobile header and explicit service disclosure. */
.nav-submenu-toggle { display: none; }
.nav-services-overview { display: none !important; }
@media (max-width: 980px) {
  .hero-card-nav { display: none; }
  .navbar, .navbar.scrolled {
    padding: env(safe-area-inset-top) 0 0;
    background: #030814;
    backdrop-filter: none; -webkit-backdrop-filter: none;
    transform: none;
  }
  #navbar .nav-container { height: 72px; gap: 12px; padding: 0 16px; }
  #navbar .nav-logo { min-width: 0; display: flex; align-items: center; }
  #navbar .nav-logo-img { width: auto; height: auto; max-height: 48px; max-width: min(160px, 44vw); object-fit: contain; }
  #navbar .nav-actions { gap: 10px; }
  #navbar .nav-toggle { flex: 0 0 48px; width: 48px; height: 48px; }
  #navbar .nav-links {
    top: calc(72px + env(safe-area-inset-top));
    width: 100%; border-left: 0; border-top: 1px solid var(--border-glow);
    height: calc(100vh - 72px - env(safe-area-inset-top));
    height: calc(100dvh - 72px - env(safe-area-inset-top));
    padding: 20px max(24px, env(safe-area-inset-right)) max(32px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
    gap: 4px; background: #030814;
    visibility: hidden;
  }
  #navbar .nav-links.active { visibility: visible; }
  #navbar .nav-links > .nav-link, #navbar .nav-item-dropdown { width: 100%; flex-shrink: 0; }
  #navbar .nav-link, #navbar .nav-submenu-toggle { min-height: 48px; }
  #navbar .has-mobile-disclosure > a { display: none; }
  #navbar .nav-submenu-toggle {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; width: 100%; text-align: left; padding: 12px 0;
    background: transparent; border: 0; color: var(--text-muted); font: inherit; font-size: 1.1rem;
  }
  .nav-submenu-toggle::after { content: '+'; font-size: 1.5rem; color: var(--primary-neon); }
  .submenu-open > .nav-submenu-toggle::after { content: '−'; }
  #navbar .nav-dropdown-menu { transform: none; left: auto; min-width: 0; width: 100%; margin: 0 0 12px; padding-left: 16px; border-left: 1px solid var(--border-glow); }
  #navbar .nav-dropdown-menu[hidden] { display: none !important; }
  #navbar .nav-dropdown-link { white-space: normal; overflow-wrap: anywhere; padding: 10px 8px; min-height: 48px; }
  #navbar .nav-services-overview { display: flex !important; color: var(--primary-neon); }
  #navbar :is(a, button):focus-visible { outline: 2px solid var(--primary-neon); outline-offset: 3px; border-radius: 4px; }
  .hero { padding-top: calc(92px + env(safe-area-inset-top)); }
  .contact-info, .contact-item > div, .contact-form, .service-card { min-width: 0; }
  .contact-value { overflow-wrap: anywhere; }
  .contact-info a, .contact-info p, .footer-row a { overflow-wrap: anywhere; }
  input, select, textarea { font-size: 16px !important; }
  .scroll-top { right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); }
}
@media (max-width: 480px) {
  .contact-form { padding: 20px 16px; }
  .hero-card-body { padding: 28px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  #navbar .nav-links, .nav-toggle span { transition: none; }
}
