/* =====================================================
   Yerşenoğlu İnşaat — Premium Stil
   ===================================================== */

:root {
  --bg: #060d18;
  --bg-2: #0a1424;
  --bg-3: #0f1d2e;
  --panel: #0e1a2c;
  --panel-2: #142339;
  --line: rgba(255,255,255,0.08);
  --line-2: rgba(255,255,255,0.14);
  --text: #e9eef6;
  --text-dim: #9aa6b8;
  --text-mute: #5d6b80;
  --accent: #ff7a1a;
  --accent-2: #ff5b1a;
  --accent-soft: rgba(255,122,26,0.16);
  --water: #4dd2ff;
  --water-2: #29a6ff;
  --line-color: #263449;
  --line-strong-color: #3a4960;
  --button-text: #0c1a2b;
  --theme-header-bg: #060d18;
  --theme-hero-bg: #071322;
  --theme-featured-bg: #091525;
  --theme-featured-map-bg: #14202d;
  --theme-story-bg: #060d18;
  --theme-advantages-bg: #08111f;
  --theme-projects-bg: #07101d;
  --theme-services-bg: #060d18;
  --theme-partners-bg: #08111f;
  --theme-testimonials-bg: #060d18;
  --theme-sustain-bg: #07121f;
  --theme-footer-bg: #050a13;
  --theme-card-bg: #0e1a2c;
  --theme-card-hover: #17263a;
  --concrete: #6c7280;
  --concrete-2: #4a5060;
  --shadow: 0 18px 60px rgba(0,0,0,0.55);
  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1320px;
}

* { box-sizing: border-box; }
html, body { margin:0; padding:0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.55;
  min-height: 100vh;
}

/* Arka plan gradyanı (canvas altında da hissedilir) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1200px 700px at 80% -10%, rgba(80,140,200,0.10), transparent 65%),
    radial-gradient(900px 600px at 0% 110%, rgba(77,210,255,0.08), transparent 60%),
    linear-gradient(180deg, #0a1424 0%, #060c18 100%);
  z-index: -2;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  z-index: -1;
  pointer-events: none;
  opacity: 0.4;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
button { background: transparent; border: 0; padding: 0; color: inherit; -webkit-appearance: none; appearance: none; }
img, svg { display: block; max-width: 100%; }

/* =====================================================
   Loader
   ===================================================== */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s ease, visibility .6s ease;
}
.loader.hide { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; }
.loader-logo {
  display: flex; align-items: center; gap: 14px; justify-content: center;
  font-weight: 800; letter-spacing: 0.12em;
}
.logo-mark {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0c1a2b; font-size: 30px; font-weight: 900;
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(255,122,26,0.35);
}
.logo-text { text-align: left; line-height: 1.05; font-size: 14px; }
.loader-bar {
  margin: 28px auto 12px; width: 220px; height: 3px;
  background: rgba(255,255,255,0.08); border-radius: 4px; overflow: hidden;
}
.loader-bar-fill {
  width: 0%; height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--water));
  transition: width .3s ease;
}
.loader-status { color: var(--text-dim); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; }

/* =====================================================
   Topbar
   ===================================================== */
.topbar {
  position: fixed; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 36px;
  z-index: 80;
  background: linear-gradient(180deg, rgba(6,13,24,0.85), rgba(6,13,24,0));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.topbar.scrolled {
  background: rgba(6,13,24,0.85);
  border-bottom-color: var(--line);
}
.brand {
  display: flex; align-items: center; gap: 12px;
}
.brand-mark svg { display: block; }
.brand-text {
  display: flex; flex-direction: column; line-height: 1.02;
  font-weight: 800; letter-spacing: 0.14em;
}
.brand-line-1 { font-size: 15px; }
.brand-line-2 { font-size: 11px; color: var(--accent); letter-spacing: 0.34em; }
.brand-tag {
  margin-left: 18px; padding-left: 18px;
  border-left: 1px solid var(--line);
  font-size: 10px; color: var(--text-dim); letter-spacing: 0.18em;
}

.nav { display: flex; gap: 28px; }
.nav-link {
  font-size: 13px; color: var(--text-dim); letter-spacing: 0.05em;
  position: relative; padding: 4px 0;
  transition: color .2s ease;
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 2px; background: var(--accent); border-radius: 2px;
}

.topbar-actions { display: flex; align-items: center; gap: 14px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 20px; border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0c1a2b; font-weight: 700; font-size: 13px;
  box-shadow: 0 12px 28px rgba(255,122,26,0.35);
  transition: transform .15s ease, box-shadow .2s ease;
  border: 0; cursor: pointer;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 16px 36px rgba(255,122,26,0.45); }
.btn-primary.lg { padding: 14px 26px; font-size: 14px; }
.btn-primary .arrow { transition: transform .2s ease; }
.btn-primary:hover .arrow { transform: translateX(3px); }

.btn-ghost {
  display: inline-flex; align-items: center;
  padding: 13px 24px; border-radius: 999px;
  background: rgba(255,255,255,0.04);
  color: var(--text); font-weight: 600; font-size: 13px;
  border: 1px solid var(--line-2);
  transition: background .2s ease, border-color .2s ease;
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: var(--text-mute); }
.btn-ghost.lg { padding: 13px 26px; font-size: 14px; }

.btn-text {
  font-size: 13px; color: var(--accent); font-weight: 600;
  letter-spacing: 0.04em;
  padding: 8px 0;
}

.menu-toggle {
  display: none;
  background: transparent; border: 1px solid var(--line-2);
  width: 42px; height: 42px; border-radius: 12px;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 4px;
}
.menu-toggle span {
  width: 18px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; top: 74px; left: 0; right: 0;
  background: rgba(6,13,24,0.96);
  backdrop-filter: blur(14px);
  display: flex; flex-direction: column;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  z-index: 79;
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s;
}
.mobile-menu.open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu a {
  padding: 14px 4px; font-size: 15px; color: var(--text);
  border-bottom: 1px solid var(--line);
}

/* =====================================================
   Hero / 3D
   ===================================================== */
.hero {
  position: relative;
  width: 100vw; height: 100vh; min-height: 720px;
  overflow: hidden;
  isolation: isolate;
}
#scene {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
}

.hero-left {
  position: absolute; top: 104px; left: 48px;
  transform: none;
  max-width: 480px;
  z-index: 5;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px; border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 11px; letter-spacing: 0.22em; color: var(--text-dim);
  margin-bottom: 22px;
  background: rgba(10,20,36,0.5);
  backdrop-filter: blur(6px);
}
.hero-eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}
.hero-title {
  font-family: 'Manrope', 'Inter', sans-serif;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.02;
  font-weight: 800;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}
.hero-title .accent {
  background: linear-gradient(135deg, var(--accent), #ffaa55);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero-sub { font-size: 15px; color: var(--text); margin: 0 0 10px; }
.hero-sub-2 { font-size: 13px; color: var(--text-dim); margin: 0 0 24px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; margin: 28px 0 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat strong { font-family: 'Manrope'; font-size: 28px; font-weight: 800; line-height: 1; }
.stat strong + span { font-size: 11px; color: var(--accent); letter-spacing: 0.18em; font-weight: 600; }
.stat em { font-size: 11px; color: var(--text-dim); font-style: normal; margin-top: 4px; }

.hero-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.hero-quote {
  position: absolute; top: 100px; right: 48px;
  max-width: 220px;
  text-align: right;
  z-index: 5;
}
.hero-quote .quote-mark {
  font-family: 'Manrope'; font-size: 60px; color: var(--accent); line-height: 0.6;
  display: block; margin-bottom: -10px;
}
.hero-quote p {
  font-size: 14px; color: var(--text); font-style: italic;
  line-height: 1.5;
}

/* Canvas Kontrolleri */
.canvas-controls {
  position: absolute; right: 24px; bottom: 36px;
  display: flex; flex-direction: column; gap: 8px;
  z-index: 6;
}
.cc-btn {
  width: 40px; height: 40px;
  background: rgba(10,20,36,0.65);
  border: 1px solid var(--line-2);
  color: var(--text-dim);
  border-radius: 12px;
  display: grid; place-items: center;
  transition: color .2s, background .2s, border-color .2s;
}
.cc-btn:hover { color: var(--accent); border-color: var(--accent); }
.cc-btn.active { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
.cc-3d { font: 800 13px/1 'Manrope', Inter, sans-serif; letter-spacing: .04em; }

/* Bilgi Paneli */
.info-panel {
  position: absolute; right: 24px; top: 50%;
  transform: translateY(-50%) translateX(20px);
  width: 340px; max-width: calc(100vw - 48px);
  background: rgba(14,26,44,0.92);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: 22px;
  z-index: 7;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease, transform .35s cubic-bezier(.2,.8,.2,1);
  box-shadow: var(--shadow);
}
.info-panel.open {
  opacity: 1; pointer-events: auto; transform: translateY(-50%) translateX(0);
}
.ip-close {
  position: absolute; top: 12px; right: 12px;
  width: 30px; height: 30px;
  background: transparent; border: 1px solid var(--line-2);
  color: var(--text-dim);
  border-radius: 50%;
  font-size: 18px; line-height: 1;
}
.ip-close:hover { color: var(--text); border-color: var(--text-mute); }
.ip-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.ip-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  font-size: 22px;
  flex-shrink: 0;
}
.ip-eyebrow {
  font-size: 11px; color: var(--accent);
  letter-spacing: 0.18em; font-weight: 600;
  text-transform: uppercase;
}
.ip-title {
  margin: 4px 0 0;
  font-size: 20px; font-weight: 700; line-height: 1.2;
  font-family: 'Manrope', sans-serif;
}
.ip-body { color: var(--text-dim); font-size: 14px; line-height: 1.6; }
.ip-body p { margin: 0 0 12px; }
.ip-body ul { padding-left: 16px; margin: 0 0 12px; }
.ip-body li { margin-bottom: 6px; }
.ip-body strong { color: var(--text); }
.ip-meta {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid var(--line);
}
.ip-meta div { font-size: 11px; color: var(--text-dim); }
.ip-meta strong { display: block; color: var(--text); font-size: 13px; font-weight: 600; margin-top: 2px; }

/* Hotspots */
.hotspots { position: absolute; inset: 0; pointer-events: none; z-index: 5; max-width: 70%; max-height: 100%; margin-left: 30%; }
.hotspot {
  position: absolute;
  pointer-events: auto;
  display: flex; align-items: center; gap: 10px;
  cursor: pointer;
  transform: translate(-50%, -50%) scale(var(--hotspot-scale, 1));
  transform-origin: center;
  opacity: 0.45;
  transition: opacity .35s ease;
}
.hero:hover .hotspot, .hotspots.active .hotspot { opacity: 1; }
.hotspot .dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(255,122,26,0.15), 0 0 22px rgba(255,122,26,0.5);
  position: relative;
}
.hotspot .dot::after {
  content: ""; position: absolute; inset: -10px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  animation: hs-pulse 2.4s ease-out infinite;
  opacity: 0;
}
@keyframes hs-pulse {
  0% { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}
.hotspot .label {
  background: rgba(6,13,24,0.9);
  border: 1px solid var(--line-2);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 11px; color: var(--text);
  letter-spacing: 0.1em; text-transform: uppercase;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  opacity: 0.7; transform: translateX(0);
  opacity: 0; transform: translateX(0);
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
}
.hotspot:hover .label, .hotspots.active .label { opacity: 1; transform: translateX(2px); border-color: var(--accent); }
.hotspot.label-always .label { opacity: 1; transform: translateX(2px); }
.hotspot.label-hidden .label { display: none; }
.hotspot.fixed-facing .label { transform: translateX(2px) perspective(260px) rotateY(var(--world-label-yaw, 0deg)); transform-origin: left center; }
.hotspot.fixed-facing:hover .label,
.hotspots.active .hotspot.fixed-facing .label { transform: translateX(2px) perspective(260px) rotateY(var(--world-label-yaw, 0deg)); }
.hotspot.water .dot { background: var(--water); box-shadow: 0 0 0 6px rgba(77,210,255,0.15), 0 0 22px rgba(77,210,255,0.5); }
.hotspot.water .dot::after { border-color: var(--water); }

/* Scroll hint */
.scroll-hint {
  position: absolute; left: 50%; bottom: 28px;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  z-index: 5;
  font-size: 11px; letter-spacing: 0.22em; color: var(--text-mute);
  text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 36px; background: var(--line-2);
  position: relative; overflow: hidden;
}
.scroll-line::after {
  content: ""; position: absolute; left: 0; top: -50%;
  width: 100%; height: 50%; background: var(--accent);
  animation: scrollLine 2.4s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { top: -50%; }
  100% { top: 100%; }
}

/* =====================================================
   Sections
   ===================================================== */
.section {
  position: relative;
  padding: 120px 36px;
  border-top: 1px solid var(--line);
}
.section.dark {
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.4), transparent);
}
.container { max-width: var(--maxw); margin: 0 auto; }

.section-head { max-width: 720px; margin-bottom: 60px; }
.eyebrow {
  display: inline-block;
  font-size: 11px; letter-spacing: 0.32em;
  color: var(--accent); font-weight: 700;
  margin-bottom: 14px;
}
.section-head h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.08; font-weight: 800;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}
.section-head h2 .accent { color: var(--accent); }
.section-head p { color: var(--text-dim); font-size: 15px; margin: 0; }

/* Timeline */
.timeline {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 80px;
}
.timeline::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
}
.tl-item {
  position: relative; padding: 30px 14px;
  text-align: center;
}
.tl-item::before {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 4px rgba(255,122,26,0.18), 0 0 16px rgba(255,122,26,0.5);
}
.tl-year {
  display: block; font-family: 'Manrope'; font-size: 22px; font-weight: 800;
  color: var(--accent); margin-bottom: 8px;
}
.tl-item h4 { margin: 0 0 6px; font-size: 14px; }
.tl-item p { margin: 0; font-size: 12px; color: var(--text-dim); }

/* Value grid */
.value-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.value-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  transition: transform .25s ease, border-color .2s, background .2s;
}
.value-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  background: rgba(255,122,26,0.06);
}
.vc-icon { font-size: 24px; }
.value-card h4 { margin: 14px 0 6px; font-size: 16px; font-weight: 700; }
.value-card p { margin: 0; font-size: 13px; color: var(--text-dim); line-height: 1.55; }

/* Projects */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}
.project-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--panel);
  aspect-ratio: 4 / 5;
  cursor: pointer;
  transition: transform .3s ease, border-color .2s;
}
.project-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.project-card .pc-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  background-color: #1a2a44;
  transition: transform .6s ease, filter .4s ease;
  filter: brightness(0.92);
}
.project-card:hover .pc-img { filter: brightness(1.05); }
.project-card:hover .pc-img { transform: scale(1.05); }
.project-card .pc-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(6,13,24,0.95));
}
.project-card .pc-meta {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 20px;
}
.pc-meta .pc-eyebrow {
  font-size: 10px; color: var(--accent); letter-spacing: 0.22em;
  text-transform: uppercase; font-weight: 700;
}
.pc-meta h4 {
  margin: 8px 0 4px;
  font-size: 17px; font-weight: 700;
  font-family: 'Manrope', sans-serif;
}
.pc-meta p { margin: 0; font-size: 12px; color: var(--text-dim); }

/* Services */
.service-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  position: relative; overflow: hidden;
  transition: border-color .2s, transform .25s;
}
.service-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.service-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0; transition: opacity .2s;
}
.service-card:hover::before { opacity: 1; }
.sc-num {
  font-family: 'Manrope'; font-size: 36px; font-weight: 800;
  color: rgba(255,122,26,0.18); position: absolute; top: 12px; right: 18px;
}
.service-card h4 { margin: 0 0 10px; font-size: 17px; font-weight: 700; }
.service-card p { margin: 0 0 16px; font-size: 13px; color: var(--text-dim); }
.sc-tag {
  display: inline-block; padding: 4px 10px;
  border: 1px solid var(--line-2); border-radius: 999px;
  font-size: 10px; color: var(--text-dim); letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Partners */
.partner-row {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.partner-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 16px;
  text-align: center;
  transition: border-color .2s, background .2s;
}
.partner-card:hover { border-color: var(--accent); background: rgba(255,122,26,0.05); }
.partner-card .pc-logo {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, var(--panel-2), var(--panel));
  margin: 0 auto 12px;
  display: grid; place-items: center;
  font-family: 'Manrope'; font-weight: 800; color: var(--accent);
  font-size: 20px;
}
.partner-card h5 { margin: 0 0 4px; font-size: 13px; font-weight: 600; }
.partner-card span { font-size: 11px; color: var(--text-dim); }
.partner-card .pc-logo img { width: 100%; height: 100%; object-fit: contain; border-radius: inherit; }
.partner-card p { margin: 8px 0 0; color: var(--text-dim); font-size: 10.5px; line-height: 1.45; }

/* Sustain */
.sustain-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.sus-card {
  padding: 28px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(77,210,255,0.03);
  position: relative; overflow: hidden;
}
.sus-card::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--water), transparent);
}
.sus-card h4 { margin: 0 0 8px; font-size: 16px; font-weight: 700; }
.sus-card p { margin: 0; font-size: 13px; color: var(--text-dim); }

/* Footer */
.footer {
  padding: 80px 36px 30px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.4));
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  max-width: var(--maxw); margin: 0 auto 40px;
}
.f-col h4 { margin: 12px 0 8px; font-size: 18px; font-family: 'Manrope'; }
.f-col h5 { font-size: 12px; letter-spacing: 0.2em; color: var(--accent); margin: 0 0 14px; text-transform: uppercase; }
.f-col p { font-size: 13px; color: var(--text-dim); margin: 6px 0; }
.f-col a {
  display: block; padding: 6px 0; font-size: 13px; color: var(--text-dim);
  transition: color .15s;
}
.f-col a:hover { color: var(--accent); }
.newsletter { display: flex; gap: 8px; margin-top: 8px; }
.newsletter input {
  flex: 1; padding: 10px 14px; border-radius: 10px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--line-2);
  color: var(--text); font-size: 13px; font-family: inherit;
}
.newsletter input:focus { outline: none; border-color: var(--accent); }
.newsletter button {
  padding: 10px 16px; border-radius: 10px;
  background: var(--accent); color: #0c1a2b; font-weight: 700; font-size: 12px;
  border: 0;
}
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--line);
  max-width: var(--maxw); margin: 0 auto;
  font-size: 12px; color: var(--text-mute);
}
.footer-bottom { flex-wrap: wrap; gap: 16px; }
.developer-credit a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.developer-credit a:hover { color: var(--accent); }
.developer-credit a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.socials { display: flex; gap: 14px; }
.socials a {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border: 1px solid var(--line-2); border-radius: 50%;
  font-size: 11px; color: var(--text-dim);
  transition: border-color .2s, color .2s;
}
.socials a:hover { color: var(--accent); border-color: var(--accent); }



/* ============================================================
   UI POLISH v3
   ============================================================ */

.section-head h2 {
  font-family: "Manrope", "Inter", sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.section-head h2 .accent {
  background: linear-gradient(135deg, #ff8a3a, #ff5b1a 50%, #ffa040);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.hero-title {
  font-family: "Manrope", "Inter", sans-serif;
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.035em;
  margin: 0 0 22px;
  color: var(--text);
  text-shadow: 0 4px 24px rgba(0,0,0,0.4);
}
.hero-title .accent {
  display: inline-block;
  background: linear-gradient(120deg, #ff8a3a 0%, #ff5b1a 50%, #ffb050 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}
.hero-title .accent::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 2px;
}

.hero-sub { font-size: 16px; line-height: 1.55; color: var(--text); margin: 0 0 8px; max-width: 460px; }
.hero-sub-2 { font-size: 14px; line-height: 1.6; color: var(--text-dim); margin: 0 0 28px; max-width: 480px; }

.eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 14px;
  position: relative;
  padding-left: 22px;
}
.eyebrow::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 14px; height: 2px;
  background: var(--accent);
  transform: translateY(-50%);
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(255,122,26,0.35);
  border-radius: 999px;
  background: rgba(255,122,26,0.06);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  margin: 0 0 24px;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255,122,26,0.18);
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255,122,26,0.18); }
  50%      { box-shadow: 0 0 0 8px rgba(255,122,26,0.06); }
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 0 0 28px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat { display: flex; flex-direction: column; gap: 4px; position: relative; }
.stat strong {
  font-family: "Manrope", sans-serif;
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  color: var(--text);
  letter-spacing: -0.02em;
}
.stat strong + span {
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.2em;
  font-weight: 700;
  text-transform: uppercase;
}
.stat em {
  font-size: 11px;
  color: var(--text-dim);
  font-style: normal;
  margin-top: 2px;
}
.stat + .stat::before {
  content: "";
  position: absolute;
  left: -9px; top: 4px; bottom: 4px;
  width: 1px;
  background: var(--line);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0c1a2b;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s;
  box-shadow: 0 8px 24px rgba(255,122,26,0.32);
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #ffa040, #ff7a1a);
  opacity: 0;
  transition: opacity .25s;
  z-index: 0;
}
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(255,122,26,0.45);
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary .arrow { transition: transform .2s ease; display: inline-block; }
.btn-primary:hover .arrow { transform: translateX(4px); }
.btn-primary.lg { padding: 15px 28px; font-size: 14px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--text);
  font-weight: 600;
  font-size: 13px;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(8px);
  transition: background .2s, border-color .2s, transform .2s;
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,122,26,0.4);
  transform: translateY(-1px);
}
.btn-ghost.lg { padding: 14px 26px; font-size: 14px; }

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 14px;
  color: var(--accent);
  font-weight: 600;
  font-size: 13px;
  position: relative;
}
.btn-text::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 10px;
  height: 1px;
  background: var(--accent);
  opacity: 0.4;
  transition: opacity .2s;
}
.btn-text:hover::after { opacity: 1; }




/* ---- Navigation ---- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0;
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 18px 36px;
  z-index: 50;
  transition: background .25s, border-color .25s, padding .25s;
  border-bottom: 1px solid transparent;
}
.topbar.scrolled {
  background: rgba(6,13,24,0.85);
  backdrop-filter: blur(20px);
  border-bottom-color: var(--line);
  padding: 14px 36px;
}
.brand { display: flex; align-items: center; gap: 12px; transition: opacity .2s; }
.brand:hover { opacity: 0.85; }
.brand-mark {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(255,122,26,0.32);
}
.brand-text { display: flex; flex-direction: column; gap: 0; }
.brand-line-1 {
  font-family: "Manrope";
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text);
}
.brand-line-2 {
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.34em;
  font-weight: 600;
}
.brand-tag {
  display: inline-block;
  margin-left: 8px;
  padding-left: 14px;
  border-left: 1px solid var(--line-2);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  text-transform: uppercase;
}
.nav { display: flex; gap: 6px; }
.nav-link {
  position: relative;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav-link:hover {
  color: var(--text);
  background: rgba(255,255,255,0.04);
}
.nav-link.active { color: var(--text); font-weight: 600; }
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

/* ---- Reveal animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease-out, transform .7s cubic-bezier(.2,.8,.2,1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease-out, transform .6s cubic-bezier(.2,.8,.2,1);
}
.reveal-stagger.visible > * { opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.07s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.14s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.21s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.28s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.35s; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 0.42s; }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: 0.49s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---- Sections ---- */
.section {
  position: relative;
  padding: 110px 36px;
  max-width: 1320px;
  margin: 0 auto;
}
.section.dark {
  background: linear-gradient(180deg, transparent, rgba(255,122,26,0.02) 50%, transparent);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  max-width: none;
  margin: 0;
  padding: 110px 36px;
}
.section.dark > .container { max-width: 1320px; margin: 0 auto; }
.section-head {
  max-width: 720px;
  margin-bottom: 60px;
  text-align: left;
}
.section-head h2 { margin-top: 0; }




/* ---- Project cards ---- */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.project-card {
  position: relative;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform .35s cubic-bezier(.2,.8,.2,1),
              border-color .25s,
              box-shadow .35s;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}
.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,122,26,0.4);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,122,26,0.15);
}
.project-card .pc-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-2);
}
.project-card .pc-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.8,.2,1), filter .25s;
}
.project-card:hover .pc-img img {
  transform: scale(1.06);
  filter: brightness(1.06);
}
.project-card .pc-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(6,13,24,0.85));
  display: flex; align-items: flex-end;
  padding: 18px;
  pointer-events: none;
}
.project-card .pc-overlay span {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(255,122,26,0.16);
  border: 1px solid rgba(255,122,26,0.4);
  padding: 5px 10px;
  border-radius: 999px;
}
.project-card .pc-meta { padding: 20px 22px 22px; }
.pc-meta .pc-eyebrow {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.pc-meta h4 {
  font-family: "Manrope", sans-serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 6px;
  color: var(--text);
  transition: color .2s;
}
.project-card:hover .pc-meta h4 { color: var(--accent); }
.pc-meta p {
  margin: 0;
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.5;
}

/* ---- Advantage cards ---- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.value-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  transition: transform .3s, border-color .25s, box-shadow .25s;
  overflow: hidden;
}
.value-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(255,122,26,0.12), transparent 60%);
  opacity: 0;
  transition: opacity .3s;
}
.value-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,122,26,0.4);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.value-card:hover::before { opacity: 1; }
.vc-icon {
  font-size: 28px;
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 52px; height: 52px;
  background: rgba(255,122,26,0.1);
  border: 1px solid rgba(255,122,26,0.25);
  border-radius: 14px;
  margin-bottom: 16px;
  position: relative;
}
.value-card h4 {
  margin: 14px 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}
.value-card p {
  margin: 0;
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ---- Timeline ---- */
.timeline {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 18px;
  position: relative;
  padding: 20px 0 30px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 56px;
  height: 2px;
  background: linear-gradient(90deg,
    var(--accent), rgba(255,122,26,0.4) 50%, var(--line) 100%);
}
.tl-item {
  position: relative;
  padding-top: 80px;
  text-align: left;
}
.tl-item::before {
  content: "";
  position: absolute;
  left: 0; top: 50px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px rgba(255,122,26,0.25);
}
.tl-year {
  font-family: "Manrope";
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.tl-item h4 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.tl-item p {
  margin: 0;
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.5;
}

/* ---- Partner cards ---- */
.partner-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.partner-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 16px;
  text-align: center;
  transition: border-color .25s, background .25s, transform .25s;
}
.partner-card:hover {
  border-color: rgba(255,122,26,0.4);
  background: rgba(255,122,26,0.05);
  transform: translateY(-3px);
}
.partner-card .pc-logo {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,122,26,0.15), rgba(255,122,26,0.04));
  border: 1px solid rgba(255,122,26,0.2);
  margin: 0 auto 12px;
  display: grid; place-items: center;
  font-family: "Manrope"; font-weight: 800;
  color: var(--accent);
  font-size: 18px;
  letter-spacing: 0.04em;
}
.partner-card h5 {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.partner-card span { font-size: 11px; color: var(--text-dim); }




/* ---- Testimonial cards ---- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  position: relative;
  transition: transform .3s, border-color .25s;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,122,26,0.3);
}
.testimonial-card::before {
  content: "“";
  position: absolute;
  top: 8px; right: 20px;
  font-family: "Manrope";
  font-size: 64px;
  line-height: 1;
  color: rgba(255,122,26,0.16);
  font-weight: 800;
}
.testimonial-card .tc-quote {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-dim);
  margin: 0 0 20px;
  position: relative;
  z-index: 1;
}
.testimonial-card .tc-author { display: flex; align-items: center; gap: 12px; }
.testimonial-card .tc-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid; place-items: center;
  font-weight: 800;
  color: #0c1a2b;
  font-size: 14px;
  font-family: "Manrope";
  flex-shrink: 0;
}
.testimonial-card .tc-name { font-size: 13px; font-weight: 700; color: var(--text); margin: 0; }
.testimonial-card .tc-role { font-size: 11px; color: var(--text-dim); margin: 2px 0 0; }

/* ---- Sustain cards ---- */
.sustain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.sus-card {
  padding: 28px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(77,210,255,0.05), rgba(77,210,255,0.02));
  position: relative; overflow: hidden;
  transition: transform .3s, border-color .25s;
}
.sus-card:hover {
  transform: translateY(-3px);
  border-color: rgba(77,210,255,0.4);
}
.sus-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--water), transparent);
}
.sus-card h4 { margin: 0 0 8px; font-size: 16px; font-weight: 700; color: var(--text); }
.sus-card p { margin: 0; font-size: 13px; color: var(--text-dim); line-height: 1.55; }

/* ---- Service cards ---- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  position: relative; overflow: hidden;
  transition: border-color .2s, transform .25s, box-shadow .25s;
}
.service-card:hover {
  border-color: rgba(255,122,26,0.4);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity .25s;
}
.service-card:hover::before { opacity: 1; }
.sc-num {
  font-family: "Manrope";
  font-size: 36px;
  font-weight: 800;
  color: rgba(255,122,26,0.18);
  position: absolute;
  top: 16px; right: 20px;
}
.service-card h4 { margin: 0 0 10px; font-size: 17px; font-weight: 700; color: var(--text); }
.service-card p { margin: 0 0 16px; font-size: 13px; color: var(--text-dim); line-height: 1.6; }
.sc-tag {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}




/* ---- Footer ---- */
.footer {
  position: relative;
  padding: 80px 36px 30px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.5));
  max-width: none;
  margin: 0;
}
.footer::before {
  content: "";
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  width: 200px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  max-width: 1320px; margin: 0 auto 40px;
}
.f-col h4 {
  margin: 12px 0 8px;
  font-size: 18px;
  font-family: "Manrope";
  font-weight: 800;
  color: var(--text);
}
.f-col h5 {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin: 0 0 14px;
  text-transform: uppercase;
  font-weight: 700;
}
.f-col p {
  font-size: 13px;
  color: var(--text-dim);
  margin: 6px 0;
  line-height: 1.6;
}
.f-col a {
  display: block;
  padding: 6px 0;
  font-size: 13px;
  color: var(--text-dim);
  transition: color .15s, padding-left .2s;
}
.f-col a:hover {
  color: var(--accent);
  padding-left: 4px;
}
.newsletter { display: flex; gap: 8px; margin-top: 12px; }
.newsletter input {
  flex: 1;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-2);
  color: var(--text);
  font-size: 13px;
  font-family: inherit;
  transition: border-color .2s;
}
.newsletter input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255,122,26,0.04);
}
.newsletter button {
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--accent);
  color: #0c1a2b;
  font-weight: 700;
  font-size: 12px;
  border: 0;
  cursor: pointer;
  transition: background .2s;
}
.newsletter button:hover { background: var(--accent-2); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  max-width: 1320px; margin: 0 auto;
  font-size: 12px;
  color: var(--text-mute);
}
.socials { display: flex; gap: 12px; }
.socials a {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  font-size: 11px;
  color: var(--text-dim);
  transition: border-color .2s, color .2s, transform .2s;
}
.socials a:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* ---- Hero quote ---- */
.hero-quote {
  position: absolute;
  right: 28px; top: 110px;
  max-width: 280px;
  padding: 16px 20px;
  border-left: 3px solid var(--accent);
  background: rgba(6,13,24,0.4);
  backdrop-filter: blur(8px);
  border-radius: 0 8px 8px 0;
  transition: opacity .3s, transform .3s;
}
.hero-quote .quote-mark { display: none; }
.hero-quote p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text);
  font-style: italic;
  margin: 0;
}
.hero-quote p::before {
  content: "\201C";
  color: var(--accent);
  font-size: 18px;
  font-weight: 800;
  margin-right: 4px;
}
.hero-quote p::after {
  content: "\201D";
  color: var(--accent);
  font-size: 18px;
  font-weight: 800;
  margin-left: 4px;
}

/* ---- Chip / filter ---- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
}
.chip:hover {
  border-color: var(--line-2);
  color: var(--text);
  background: rgba(255,255,255,0.05);
}
.chip.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: var(--accent);
  color: #0c1a2b;
  font-weight: 700;
}
.chip-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  font-size: 10px;
  font-weight: 700;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
}
.chip.active .chip-count {
  background: rgba(12,26,43,0.3);
  color: #0c1a2b;
}

/* ---- Scroll hint ---- */
.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column;
  align-items: center; gap: 10px;
  z-index: 4;
  color: var(--text-dim);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  transition: opacity .3s;
}
.scroll-hint.hidden { opacity: 0; pointer-events: none; }
.scroll-line {
  position: relative;
  width: 1px;
  height: 38px;
  background: rgba(255,255,255,0.16);
  overflow: hidden;
}
.scroll-line::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  height: 16px;
  background: var(--accent);
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0%   { transform: translateY(-16px); opacity: 0; }
  50%  { opacity: 1; }
  100% { transform: translateY(38px); opacity: 0; }
}

/* ---- Loader ---- */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  background:
    radial-gradient(900px 600px at 50% 0%, rgba(80,140,200,0.10), transparent 60%),
    radial-gradient(700px 500px at 50% 100%, rgba(255,122,26,0.06), transparent 70%),
    #060d18;
  display: grid; place-items: center;
  transition: opacity .6s ease, visibility .6s ease;
}
.loader.hide { opacity: 0; visibility: hidden; }
.loader-inner {
  text-align: center;
  display: flex; flex-direction: column;
  align-items: center;
  max-width: 460px;
}
.loader-ring {
  position: relative;
  width: 84px; height: 84px;
  display: grid; place-items: center;
  margin-bottom: 28px;
}
.loader-ring svg { display: block; }
.loader-ring::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,122,26,0.18), transparent 70%);
  z-index: -1;
  animation: ringGlow 2.4s ease-in-out infinite;
}
@keyframes ringGlow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.1); }
}
.loader-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.logo-mark {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 12px;
  display: grid; place-items: center;
  font-family: "Manrope";
  font-size: 28px;
  font-weight: 800;
  color: #0c1a2b;
  box-shadow: 0 8px 24px rgba(255,122,26,0.4);
}
.logo-text {
  text-align: left;
  line-height: 1.1;
  font-size: 14px;
  font-family: "Manrope";
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
}
.loader-bar {
  width: 100%;
  max-width: 320px;
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 14px;
}
.loader-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 999px;
  transition: width .25s ease-out;
  box-shadow: 0 0 12px rgba(255,122,26,0.5);
}
.loader-status {
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 22px;
  min-height: 16px;
}
.loader-steps { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.ls-step {
  padding: 7px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dim);
  background: rgba(255,255,255,0.02);
  transition: all .3s;
}
.ls-step.done {
  border-color: rgba(255,122,26,0.5);
  color: var(--accent);
  background: rgba(255,122,26,0.1);
}
.ls-step.done::before {
  content: "\2713  ";
  font-weight: 800;
}

/* ---- Info panel ---- */
.info-panel {
  position: absolute;
  right: 24px; top: 50%;
  transform: translateY(-50%) translateX(20px);
  width: 340px; max-width: calc(100vw - 48px);
  background: rgba(14,26,44,0.94);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: 22px;
  z-index: 7;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease, transform .35s cubic-bezier(.2,.8,.2,1);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.info-panel.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}
.ip-close {
  position: absolute; top: 12px; right: 12px;
  width: 30px; height: 30px;
  background: transparent;
  border: 1px solid var(--line-2);
  color: var(--text-dim);
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.ip-close:hover {
  color: var(--text);
  border-color: var(--text-mute);
  background: rgba(255,255,255,0.04);
}
.ip-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.ip-icon {
  width: 38px; height: 38px;
  background: rgba(255,122,26,0.1);
  border: 1px solid rgba(255,122,26,0.3);
  border-radius: 10px;
  display: grid; place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}
.ip-eyebrow {
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 4px;
}
.ip-title {
  font-family: "Manrope";
  font-size: 18px;
  font-weight: 800;
  margin: 0;
  color: var(--text);
}
.ip-body {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.6;
}
.ip-body p { margin: 0 0 12px; }
.ip-body ul { padding-left: 16px; margin: 0 0 12px; }
.ip-body li { margin-bottom: 6px; }
.ip-body strong { color: var(--text); }
.ip-meta {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 14px 0;
}
.ip-meta div { font-size: 11px; color: var(--text-dim); }
.ip-meta strong {
  display: block;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  margin-top: 2px;
}




/* ---- Responsive v3 ---- */
@media (max-width: 1100px) {
  .timeline { grid-template-columns: repeat(4, 1fr); }
  .tl-item p { display: none; }
  .partner-row { grid-template-columns: repeat(3, 1fr); }
  .sustain-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; }
  .menu-toggle { display: flex; }
  .brand-tag { display: none; }
  .hero-quote { right: 24px; top: 90px; max-width: 240px; }
}
@media (max-width: 720px) {
  .topbar { padding: 14px 18px; }
  .topbar.scrolled { padding: 12px 18px; }
  .hero-quote { display: none; }
  .info-panel { right: 12px; left: 12px; width: auto; }
  .timeline { grid-template-columns: 1fr; padding: 20px 0; }
  .timeline::before { display: none; }
  .tl-item { padding-top: 0; padding-left: 30px; }
  .tl-item::before { top: 6px; left: 0; }
  .value-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .partner-row { grid-template-columns: repeat(2, 1fr); }
  .sustain-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .section { padding: 80px 18px; }
  .section.dark { padding: 80px 18px; }
  .footer { padding: 60px 18px 24px; }
  .section-head h2 { font-size: 28px; }
  .brand-line-2 { display: none; }
}

/* =====================================================
   Proje Modalı (pencere tıklama)
   ===================================================== */
.project-modal {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(6,13,24,0.96);
  backdrop-filter: blur(20px);
  display: grid; grid-template-columns: 1.1fr 1fr;
  align-items: stretch;
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.project-modal.open {
  opacity: 1; pointer-events: auto;
}
.pm-close {
  position: absolute; top: 18px; right: 22px;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line-2);
  color: var(--text); font-size: 24px;
  border-radius: 50%; z-index: 5;
  transition: background .2s, border-color .2s;
}
.pm-close:hover { background: var(--accent); border-color: var(--accent); color: #0c1a2b; }

.pm-image {
  position: relative; overflow: hidden;
  background: #000;
}
.pm-image img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
}
.pm-image::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 70%, rgba(6,13,24,0.95));
  pointer-events: none;
}

.pm-body {
  padding: 60px 56px;
  overflow-y: auto;
  display: flex; flex-direction: column; justify-content: center;
}
.pm-eyebrow {
  display: inline-block;
  font-size: 11px; letter-spacing: 0.32em;
  color: var(--accent); font-weight: 700;
  margin-bottom: 12px;
}
.pm-body h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 38px; font-weight: 800;
  margin: 0 0 14px; letter-spacing: -0.01em; line-height: 1.1;
}
.pm-desc {
  color: var(--text-dim);
  font-size: 16px; line-height: 1.7;
  margin: 0 0 24px;
}
.pm-meta {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.pm-meta div { font-size: 11px; color: var(--text-mute); text-transform: uppercase; letter-spacing: 0.16em; }
.pm-meta strong { display: block; font-size: 14px; color: var(--text); margin-top: 4px; font-weight: 600; text-transform: none; letter-spacing: 0; }
.pm-features {
  list-style: none; padding: 0; margin: 0 0 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.pm-features li {
  padding: 8px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 13px; color: var(--text);
}
.pm-blocks {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  margin-top: 16px;
}
.pm-block {
  background: linear-gradient(135deg, rgba(255,122,26,0.10), rgba(255,122,26,0.02));
  border: 1px solid rgba(255,122,26,0.3);
  border-radius: 14px;
  padding: 18px;
}
.pm-block h4 { margin: 0 0 6px; font-size: 16px; font-weight: 700; color: var(--accent); }
.pm-block span { display: block; font-size: 12px; color: var(--text-dim); margin-bottom: 2px; }

@media (max-width: 1000px) {
  .project-modal { grid-template-columns: 1fr; grid-template-rows: 45% 55%; }
  .pm-body { padding: 30px 24px; }
  .pm-image::after { background: linear-gradient(180deg, transparent 60%, rgba(6,13,24,0.95)); }
  .pm-body h3 { font-size: 26px; }
  .pm-meta { grid-template-columns: 1fr 1fr; }
  .pm-features, .pm-blocks { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .pm-body { padding: 24px 18px; }
  .pm-body h3 { font-size: 22px; }
  .pm-meta { grid-template-columns: 1fr; }
}

/* =====================================================
   Featured Section (Yerşen Blokları)
   ===================================================== */
.featured-section {
  background: linear-gradient(180deg, transparent, rgba(255,122,26,0.03), transparent);
}
.featured-wrap {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.featured-img {
  position: relative; border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--line);
  aspect-ratio: 4/3;
  box-shadow: var(--shadow);
}
.featured-img img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.featured-img:hover img { transform: scale(1.03); }
.featured-badge {
  position: absolute; top: 16px; left: 16px;
  padding: 6px 14px;
  background: var(--accent); color: #0c1a2b;
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  border-radius: 999px;
}
.featured-body h2 {
  font-family: 'Manrope'; font-size: clamp(32px, 4vw, 50px);
  margin: 0 0 18px; font-weight: 800; line-height: 1.08;
  letter-spacing: -0.02em;
}
.featured-desc {
  color: var(--text-dim); font-size: 15px;
  line-height: 1.7; margin: 0 0 24px;
}
.featured-meta {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.featured-meta div { font-size: 11px; color: var(--text-mute); text-transform: uppercase; letter-spacing: 0.16em; }
.featured-meta strong { display: block; font-size: 14px; color: var(--text); margin-top: 4px; font-weight: 600; text-transform: none; letter-spacing: 0; }
.featured-blocks {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  margin-bottom: 20px;
}
.fb-card {
  background: rgba(255,122,26,0.06);
  border: 1px solid rgba(255,122,26,0.3);
  border-radius: 14px;
  padding: 18px;
}
.fb-card h4 { margin: 0 0 6px; font-size: 16px; font-weight: 700; color: var(--accent); }
.fb-card span { display: block; font-size: 12px; color: var(--text-dim); }
.featured-features {
  list-style: none; padding: 0; margin: 0 0 28px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.featured-features li {
  padding: 6px 0;
  font-size: 13px; color: var(--text);
}
.featured-features li::first-letter { color: var(--accent); font-weight: 700; }
.featured-cta { display: flex; gap: 14px; }

@media (max-width: 1000px) {
  .featured-wrap { grid-template-columns: 1fr; gap: 30px; }
  .featured-meta { grid-template-columns: 1fr 1fr; }
  .featured-blocks { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .featured-meta, .featured-features { grid-template-columns: 1fr; }
}


/* Featured (Yerşen Blokları) hotspot — özel turuncu */
.hotspot.accent .dot {
  background: #ff7a1a;
  box-shadow: 0 0 0 6px rgba(255,122,26,0.25), 0 0 24px rgba(255,122,26,0.7);
  width: 18px; height: 18px;
}
.hotspot.accent .dot::after {
  border-color: #ff7a1a;
}
.hotspot.accent .label {
  background: linear-gradient(135deg, #ff7a1a, #ff5b1a);
  color: #0c1a2b;
  border: 0;
  font-weight: 700;
}

/* =====================================================
   Site Haritası (Yerşen Blokları — top-down plan)
   ===================================================== */
.featured-map {
  position: relative;
  margin-bottom: 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #14202d;
  box-shadow: var(--shadow);
}
.featured-map svg { display: block; width: 100%; height: auto; }
.featured-map .map-block {
  cursor: pointer;
  transition: transform .25s ease, filter .25s ease;
  transform-box: fill-box;
  transform-origin: center;
}
.featured-map .map-block:hover {
  transform: scale(1.04);
  filter: brightness(1.25) drop-shadow(0 0 12px rgba(255,122,26,0.5));
}
.featured-map .map-block text { pointer-events: none; user-select: none; }
.featured-map .map-gate {
  animation: gate-pulse 2.4s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
@keyframes gate-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.06); }
}
@media (max-width: 1000px) {
  .featured-map { margin-bottom: 0; }
}
.featured-wrap > .featured-img  { order: 1; }
.featured-wrap > .featured-map { order: 2; }
.featured-wrap > .featured-body { order: 3; }


/* =====================================================
   Avantajlarımız
   ===================================================== */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 32px;
}
.advantage-card {
  position: relative;
  padding: 28px 22px 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  --accent-c: var(--accent);
}
.advantage-card::before {
  content: "";
  position: absolute; inset: -2px;
  background: radial-gradient(120% 80% at 0% 0%, var(--accent-c), transparent 50%);
  opacity: .10;
  pointer-events: none;
}
.advantage-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-c);
  box-shadow: 0 18px 50px rgba(0,0,0,.45), 0 0 0 1px var(--accent-c);
}
.advantage-card .ac-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent-c), color-mix(in srgb, var(--accent-c) 60%, #000));
  color: #0c1a2b;
  font-size: 24px;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0,0,0,.4);
  margin-bottom: 16px;
}
.advantage-card .ac-num {
  position: absolute;
  top: 18px; right: 22px;
  font-size: 12px; font-weight: 800; letter-spacing: .12em;
  color: var(--accent-c);
}
.advantage-card h4 {
  margin: 6px 0 10px;
  font-size: 18px; font-weight: 700;
  letter-spacing: -.01em;
}
.advantage-card p {
  margin: 0;
  color: var(--text-dim);
  font-size: 14px; line-height: 1.65;
}
.advantage-card .ac-bar {
  position: absolute;
  left: 22px; bottom: 0;
  height: 3px; width: 36px;
  background: var(--accent-c);
  border-radius: 3px 3px 0 0;
  transition: width .3s ease;
}
.advantage-card:hover .ac-bar { width: 80px; }

/* =====================================================
   Müşteri Yorumları
   ===================================================== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 32px;
}
.testimonial-card {
  position: relative;
  padding: 28px 24px 24px;
  background: linear-gradient(180deg, var(--panel), color-mix(in srgb, var(--panel) 80%, #000));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .25s ease, border-color .25s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,122,26,.4);
}
.testimonial-card .tc-quote {
  position: absolute;
  top: 14px; right: 22px;
  font-size: 80px; line-height: 1;
  color: var(--accent);
  opacity: .15;
  font-family: "Manrope", Georgia, serif;
  font-weight: 800;
}
.testimonial-card .tc-quote-text {
  margin: 0 0 22px;
  color: var(--text);
  font-size: 15px; line-height: 1.7;
  font-style: italic;
}
.testimonial-card .tc-author {
  display: flex; align-items: center; gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.testimonial-card .tc-avatar {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0c1a2b;
  font-size: 18px; font-weight: 800;
  border-radius: 50%;
  flex-shrink: 0;
}
.testimonial-card .tc-author strong {
  display: block;
  color: var(--text);
  font-size: 15px;
}
.testimonial-card .tc-author span {
  display: block;
  color: var(--text-dim);
  font-size: 12px;
}
.testimonial-card .tc-stars {
  margin-top: 10px;
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 2px;
}

/* =====================================================
   Footer — gerçek iletişim linkleri
   ===================================================== */
.f-col p.muted { color: var(--text-mute); font-size: 13px; }
.f-col a { color: var(--text-dim); transition: color .2s ease; }
.f-col a:hover { color: var(--accent); }


/* =====================================================
   Proje Modal — Galeri (dış görünümler / manzaralar)
   ===================================================== */
.pm-gallery {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.pm-gallery-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.pm-gallery-label {
  font-size: 11px; font-weight: 700; letter-spacing: .14em;
  color: var(--accent);
  text-transform: uppercase;
}
.pm-gallery-count {
  font-size: 12px; color: var(--text-dim);
  background: rgba(255,255,255,.04);
  padding: 3px 10px;
  border-radius: 999px;
}
.pm-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}
.pm-gallery-item {
  position: relative;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: var(--panel);
  border: 1px solid var(--line);
  transition: border-color .2s ease, transform .2s ease;
  aspect-ratio: 4 / 3;
}
.pm-gallery-item:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.pm-gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.pm-gallery-item:hover img { transform: scale(1.05); }
.pm-gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 8px 10px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.85));
  display: flex; flex-direction: column; gap: 2px;
  color: #fff;
}
.pm-gallery-item .pg-kind {
  font-size: 9px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--accent);
}
.pm-gallery-item .pg-label {
  font-size: 12px; line-height: 1.25;
}

/* =====================================================
   3D Tur — Dış Görünümler Paneli
   ===================================================== */
.tour-exterior-btn {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 12px;
  width: 100%;
  padding: 10px 14px;
  background: rgba(77,210,255,.10);
  color: var(--water);
  border: 1px solid rgba(77,210,255,.25);
  border-radius: 10px;
  font-size: 13px; font-weight: 600;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.tour-exterior-btn:hover { background: rgba(77,210,255,.18); border-color: rgba(77,210,255,.5); }
.tour-exterior-btn.active {
  background: rgba(77,210,255,.22);
  border-color: var(--water);
}
.tour-exterior-btn .te-count {
  display: inline-grid; place-items: center;
  min-width: 22px; height: 22px;
  background: var(--water);
  color: #0c1a2b;
  border-radius: 50%;
  font-size: 11px; font-weight: 800;
  padding: 0 6px;
}
.tour-exterior-panel {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: max-content;
  gap: 8px;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 4px;
}
.tour-exterior-panel[hidden] { display: none; }
.te-item {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  cursor: zoom-in;
  transition: border-color .2s ease;
}
.te-item:hover { border-color: var(--water); }
.te-item:focus-visible { outline: 3px solid var(--water); outline-offset: -3px; }
.exterior-viewer { width: min(960px, 94vw); max-height: 94dvh; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); color: var(--text); }
.exterior-viewer::backdrop { background: rgba(0,0,0,.85); }
.exterior-viewer form { text-align: right; margin-bottom: 12px; }
.exterior-viewer button { padding: 12px 18px; cursor: pointer; }
.exterior-viewer img { display: block; width: 100%; height: min(70dvh, 800px); object-fit: contain; }
.te-item img {
  width: 100%; height: 120px;
  object-fit: cover;
  display: block;
}
.te-item figcaption {
  padding: 6px 10px;
  font-size: 11px;
  color: var(--text-dim);
  background: rgba(0,0,0,.25);
}



/* =====================================================
   Proje Kategori Filtresi
   ===================================================== */
.project-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -4px 0 28px;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: rgba(255,255,255,.04);
  color: var(--text-dim);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
  -webkit-appearance: none;
  appearance: none;
}
.filter-chip:hover {
  color: var(--text);
  border-color: var(--accent);
  background: rgba(255,122,26,.08);
}
.filter-chip.active {
  color: #0c1a2b;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: var(--accent);
  box-shadow: 0 8px 22px rgba(255,122,26,.35);
}
.filter-chip .chip-count {
  display: inline-grid;
  place-items: center;
  min-width: 22px; height: 22px;
  background: rgba(255,255,255,.10);
  color: inherit;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  padding: 0 6px;
}
.filter-chip.active .chip-count {
  background: rgba(0,0,0,.20);
  color: #0c1a2b;
}
.pc-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-mute);
  font-size: 14px;
  border: 1px dashed var(--line);
  border-radius: 14px;
}

/* =====================================================
   3D TUR MODAL — proje detaylarını 3D olarak gez
   ===================================================== */
   ===================================================== */
.pm-tour-btn {
  display: inline-flex; align-items: center; gap: 8px;
  align-self: flex-start;
  width: auto; max-width: 280px;
  margin-top: 18px;
  padding: 12px 22px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0c1a2b; font-weight: 700; font-size: 14px;
  border-radius: 999px; border: 0;
  box-shadow: 0 10px 24px rgba(255,122,26,0.35);
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
  font-family: inherit;
}
.pm-tour-btn:hover { transform: translateY(-2px); }

.tour-modal {
  position: fixed; inset: 0; z-index: 110;
  background: rgba(6,13,24,0.98);
  backdrop-filter: blur(20px);
  display: grid;
  grid-template-columns: 1fr 380px;
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.tour-modal.open { opacity: 1; pointer-events: auto; }
.tour-close {
  position: absolute; top: 18px; right: 22px;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line-2);
  color: var(--text); font-size: 24px;
  border-radius: 50%; z-index: 5;
}
.tour-close:hover { background: var(--accent); border-color: var(--accent); color: #0c1a2b; }

.tour-canvas-wrap {
  position: relative;
  background: linear-gradient(180deg, #0a1424 0%, #060c18 100%);
}
.tour-canvas-wrap canvas {
  display: block; width: 100%; height: 100%;
}
.tour-model-status {
  position: absolute; top: 18px; left: 18px; z-index: 3;
  padding: 7px 11px; border: 1px solid var(--line-2); border-radius: 999px;
  color: var(--text-dim); background: rgba(6,13,24,.78); backdrop-filter: blur(8px);
  font-size: 10px; letter-spacing: .08em; pointer-events: none;
}
.tour-hotspot-info { position: absolute; left: 18px; bottom: 52px; z-index: 5; width: min(330px, calc(100% - 36px)); padding: 14px 44px 14px 16px; border: 1px solid rgba(255,122,26,.5); border-radius: 13px; background: rgba(5,14,26,.92); box-shadow: 0 18px 45px rgba(0,0,0,.4); backdrop-filter: blur(12px); }
.tour-hotspot-info[hidden] { display: none; }
.tour-hotspot-info strong { display: block; color: var(--accent-2); font-size: 14px; }
.tour-hotspot-info p { margin: 7px 0 0; color: var(--text-dim); font-size: 12px; line-height: 1.5; }
.tour-hotspot-info button { position: absolute; right: 8px; top: 8px; width: 28px; height: 28px; min-height: 0; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #0b1727; color: #fff; cursor: pointer; }
.tour-hint {
  position: absolute; bottom: 18px; left: 50%;
  transform: translateX(-50%);
  background: rgba(6,13,24,0.7);
  backdrop-filter: blur(6px);
  padding: 8px 16px; border-radius: 999px;
  font-size: 11px; color: var(--text-dim);
  letter-spacing: 0.08em;
}

.tour-sidebar {
  background: var(--panel);
  border-left: 1px solid var(--line);
  padding: 30px 24px;
  overflow-y: auto;
  display: flex; flex-direction: column;
}
.tour-sidebar > * { flex-shrink: 0; }
.tour-back {
  align-self: flex-start;
  background: transparent; border: 1px solid var(--line-2);
  color: var(--text-dim);
  padding: 6px 12px; border-radius: 999px;
  font-size: 11px; margin-bottom: 18px;
  cursor: pointer;
}
.tour-back:hover { color: var(--text); border-color: var(--accent); }
.tour-eyebrow {
  display: inline-block;
  font-size: 11px; letter-spacing: 0.32em;
  color: var(--accent); font-weight: 700;
  margin-bottom: 8px;
}
.tour-title {
  font-family: 'Manrope'; font-size: 24px; font-weight: 800;
  margin: 0 0 4px; line-height: 1.1;
}
.tour-loc { color: var(--text-dim); font-size: 13px; margin: 0 0 20px; }

.tour-floors {
  display: grid; grid-template-columns: 1fr; gap: 6px;
  margin-bottom: 18px;
}
.tour-floors button {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text); font-size: 13px; font-weight: 500;
  cursor: pointer; text-align: left;
  transition: background .15s, border-color .15s;
}
.tour-floors button:hover { background: rgba(255,122,26,0.08); }
.tour-floors button.active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 700;
}
.tour-floors .tf-num {
  background: rgba(255,255,255,0.06);
  padding: 2px 8px; border-radius: 999px;
  font-size: 11px;
}
.tour-floors button.active .tf-num {
  background: var(--accent); color: #0c1a2b;
}

.tour-current {
  padding: 16px;
  background: linear-gradient(135deg, rgba(255,122,26,0.06), rgba(255,122,26,0.02));
  border: 1px solid rgba(255,122,26,0.3);
  border-radius: 12px;
  margin-bottom: 18px;
}
.tc-label {
  font-size: 10px; letter-spacing: 0.18em;
  color: var(--accent); font-weight: 700; text-transform: uppercase;
}
.tour-current strong {
  display: block; font-size: 16px; margin-top: 4px;
  font-family: 'Manrope'; font-weight: 700;
}
.tour-current p {
  margin: 8px 0 0; font-size: 13px; color: var(--text-dim);
  line-height: 1.5;
}

.tour-controls {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: auto;
}
.tc-btn {
  padding: 8px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  color: var(--text-dim); font-size: 11px;
  cursor: pointer;
}
.tc-btn:hover { color: var(--accent); border-color: var(--accent); }
.tc-btn.active { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }

@media (max-width: 900px) {
  .tour-modal { grid-template-columns: 1fr; grid-template-rows: 60% 40%; }
  .tour-sidebar { border-left: 0; border-top: 1px solid var(--line); padding: 20px 18px; }
  .tour-title { font-size: 20px; }
}


/* =====================================================
   Yerşen Sitesi — 3D Site Haritası
   ===================================================== */
.site-canvas-wrap {
  position: relative;
  width: 100%;
  height: 560px;
  background: linear-gradient(180deg, #0a1424 0%, #050a14 100%);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}
#siteCanvas {
  width: 100%; height: 100%; display: block;
  cursor: grab;
}
#siteCanvas:active { cursor: grabbing; }
.site-hint {
  position: absolute;
  bottom: 16px; left: 50%; transform: translateX(-50%);
  background: rgba(6,13,24,0.85);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--text-dim);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-2);
  pointer-events: none;
}
.site-legend {
  display: flex; gap: 18px; flex-wrap: wrap; justify-content: center;
  margin-top: 20px;
  font-size: 12px; color: var(--text-dim);
}
.site-legend span {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  cursor: pointer;
  transition: all .25s ease;
  user-select: none;
}
.site-legend span:hover {
  background: rgba(255,122,26,0.08);
  border-color: var(--accent);
  color: var(--text);
}
.site-legend span.active {
  background: rgba(255,122,26,0.18);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 0 16px rgba(255,122,26,0.3);
}
.site-legend i {
  width: 12px; height: 12px;
  border-radius: 50%;
  display: inline-block;
}


.tour-floor-plan {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: rgba(6,13,24,0.6);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  margin-top: 12px;
  overflow: hidden;
  position: relative;
}
.tour-floor-plan::before {
  content: attr(data-plan-label);
  position: absolute;
  top: 8px; left: 10px;
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--accent);
  z-index: 2;
  pointer-events: none;
}
.tour-floor-plan canvas { width: 100%; height: 100%; display: block; }
.tour-floor-plan img { width: 100%; height: 100%; display: block; object-fit: contain; background: #07111e; }
.tour-floor-plan img[hidden], .tour-floor-plan canvas[hidden] { display: none; }

.site-tooltip {
  position: absolute;
  z-index: 100;
  background: rgba(6,13,24,0.96);
  border: 1px solid var(--accent);
  padding: 14px 18px;
  border-radius: 12px;
  color: #fff;
  font-size: 12px;
  pointer-events: auto;
  max-width: 260px;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.5);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease;
}
.site-tooltip.visible { opacity: 1; transform: translateY(0); }
.site-tooltip .st-title { color: var(--accent); font-size: 13px; letter-spacing: 0.06em; margin-bottom: 4px; font-weight: 700; }
.site-tooltip .st-meta { color: var(--text-dim); font-size: 11px; margin-bottom: 8px; }
.site-tooltip .st-floors { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 8px; }
.site-tooltip .st-floor { padding: 2px 8px; background: rgba(255,122,26,0.15); border: 1px solid rgba(255,122,26,0.4); border-radius: 4px; font-size: 10px; }
.site-tooltip .st-cta { color: var(--accent); font-size: 11px; margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line-2); cursor: pointer; }

.featured-img-hint {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(6,13,24,0.85);
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--accent);
  pointer-events: none;
  text-transform: uppercase;
}

.te-item { cursor: pointer; transition: transform .25s ease, border-color .25s ease; }
.te-item:hover { transform: translateY(-3px) scale(1.03); border-color: var(--accent); }

.tour-floors button { cursor: pointer; transition: all .2s ease; }
.tour-floors button:hover { border-color: var(--accent); }
.tour-floors button.active { background: rgba(255,122,26,0.15); border-color: var(--accent); }

.site-legend span i { transition: transform .2s ease; }
.site-legend span:hover i { transform: scale(1.2); }

.featured-img { cursor: pointer; position: relative; }

/* Site building hover label */
.site-label {
  position: absolute;
  background: rgba(6,13,24,0.92);
  border: 1px solid var(--accent);
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 12px;
  color: #fff;
  pointer-events: none;
  backdrop-filter: blur(8px);
  z-index: 6;
  opacity: 0;
  transition: opacity .2s ease;
  max-width: 220px;
}
.site-label.visible { opacity: 1; }
.site-label strong { display: block; color: var(--accent); font-size: 11px; letter-spacing: 0.08em; margin-bottom: 2px; }
.site-label .lloc { font-size: 10px; color: var(--text-dim); margin-top: 2px; }

/* =====================================================
   Mobil Uyumluluk
   ===================================================== */
@media (max-width: 980px) {
  .topbar { padding: 14px 18px; }
  .topbar .nav { display: none; }
  .topbar .topbar-actions .btn-primary { display: none; }
  .menu-toggle { display: flex !important; }
  .brand-tag { display: none; }

  .section { padding: 60px 0; }
  .section-head h2 { font-size: 28px; }

  .featured-wrap {
    grid-template-columns: 1fr !important;
  }

  .advantage-grid,
  .project-grid,
  .service-grid,
  .partner-row,
  .testimonial-grid {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }

  .project-filter { gap: 8px; }
  .filter-chip { padding: 7px 12px; font-size: 12px; }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }

  .pm-image { width: 100%; max-height: 240px; }
  .pm-body { padding: 18px; }

  .tour-canvas-wrap { width: 100% !important; height: 50vh !important; }
  .site-canvas-wrap { height: 400px; }
  .site-legend { gap: 10px; font-size: 11px; }
  .tour-sidebar { width: 100% !important; max-width: none !important; max-height: 50vh; }
  .tour-modal .tour-flex { flex-direction: column !important; }

  .hotspots { display: block; max-width: 100%; margin-left: 0; }
  .hotspot { opacity: .9; }
  .hotspot .dot { width: 11px; height: 11px; }
  .hotspot .label { font-size: 9px; padding: 5px 8px; max-width: 132px; overflow: hidden; text-overflow: ellipsis; }

  .container { padding: 0 16px; }
}

@media (max-width: 600px) {
  .eyebrow { font-size: 10px; }
  .section-head h2 { font-size: 22px; }
  .btn-primary, .btn-secondary { padding: 11px 18px; font-size: 13px; }
  .pm-body h3 { font-size: 18px; }
  .pm-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-quote { display: none; }
  .scroll-hint { display: none; }
}


/* =====================================================
   WhatsApp Floating Button
   ===================================================== */
.wa-fab {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4), 0 2px 8px rgba(0,0,0,0.3);
  z-index: 9999;
  transition: transform .3s cubic-bezier(.4,1.4,.6,1), width .25s ease, border-radius .25s ease;
  text-decoration: none;
  color: #fff;
}
.wa-fab:hover {
  transform: scale(1.08);
  width: 168px;
  border-radius: 28px;
  justify-content: flex-start;
  padding: 0 18px;
}
.wa-fab:hover .wa-label { opacity: 1; max-width: 100px; }
.wa-fab .wa-label {
  margin-left: 10px;
  font-size: 13px; font-weight: 600; color: #fff;
  white-space: nowrap;
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  transition: opacity .2s ease .1s, max-width .25s ease;
}
.wa-fab .wa-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  opacity: 0.6;
  animation: wa-pulse 2.4s ease-out infinite;
  z-index: -1;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* =====================================================
   Scroll-to-Top
   ===================================================== */
.scroll-top {
  position: fixed;
  bottom: 90px; right: 24px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(6,13,24,0.85);
  border: 1px solid var(--line-2);
  color: var(--accent);
  font-size: 18px; font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
  backdrop-filter: blur(8px);
}
.scroll-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* =====================================================
   Loader — Branded spinner + steps
   ===================================================== */
.loader-ring {
  margin: 0 auto 20px;
  position: relative;
  width: 64px; height: 64px;
}
.loader-ring svg { animation: lr-spin 1.2s linear infinite; }
@keyframes lr-spin { to { transform: rotate(360deg); } }
.loader-steps {
  display: flex; gap: 6px; flex-wrap: wrap; justify-content: center;
  margin-top: 16px;
}
.ls-step {
  font-size: 10px; padding: 4px 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  color: var(--text-dim);
  letter-spacing: 0.5px;
  transition: all .25s ease;
  opacity: 0.5;
}
.ls-step.done {
  background: rgba(255,122,26,0.15);
  border-color: var(--accent);
  color: var(--accent);
  opacity: 1;
  transform: scale(1.05);
}

/* =====================================================
   Hotspot — water variant + extra
   ===================================================== */
.hotspot.water .dot {
  background: var(--water);
  box-shadow: 0 0 0 6px rgba(77,210,255,0.15), 0 0 22px rgba(77,210,255,0.5);
}
.hotspot.water .dot::after { border-color: var(--water); }
.hotspot.accent .dot {
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(255,122,26,0.25), 0 0 28px rgba(255,122,26,0.7);
}
.hotspot.accent .label {
  background: linear-gradient(135deg, rgba(255,122,26,0.2), rgba(6,13,24,0.9));
  border-color: var(--accent);
  color: #fff;
  font-weight: 700;
}
.hotspot:hover { transform: translate(-50%, -50%) scale(var(--hotspot-scale, 1)); filter: brightness(1.12); }

/* =====================================================
   Stats — animated counter
   ===================================================== */
.hero-stats .stat strong {
  background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: transform .2s ease;
}
.hero-stats .stat strong { font-variant-numeric: tabular-nums; }

@media (hover: none) and (pointer: coarse) {
  /* Dokunmatik cihazlarda hover efektlerini azalt */
  .filter-chip:hover { transform: none; }
  .advantage-card:hover { transform: none; }
  .testimonial-card:hover { transform: none; }
  .pm-gallery-item:hover { transform: none; }
}

/* ========== META Badge ========== */
.project-card .pc-badge-meta {
  position: absolute;
  top: 14px;
  left: 14px;
  background: linear-gradient(135deg, #ff7a1a, #ffb04a);
  color: #060d18;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 6px 12px;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(255, 122, 26, 0.4);
  z-index: 3;
}
.project-card.meta-card {
  border-color: rgba(255, 122, 26, 0.5);
  box-shadow: 0 8px 28px rgba(255, 122, 26, 0.15);
}
.project-card.meta-card .pc-overlay.meta-overlay {
  background: linear-gradient(180deg, rgba(26, 42, 68, 0.5) 0%, rgba(6,13,24,0.95) 70%);
}

/* ========== Hero overlay — sol tarafı koyulaştır (yazı okunabilirliği için) ========== */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6,13,24,0.75) 0%, rgba(6,13,24,0.35) 35%, rgba(0,0,0,0) 60%),
    linear-gradient(180deg, rgba(6,13,24,0.35) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 70%, rgba(6,13,24,0.55) 100%);
  z-index: 2;
  pointer-events: none;
}
/* Hero sol taraftaki turuncu/kırmızı baskıyı azalt */
.hero::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 60%; height: 100%;
  background: radial-gradient(ellipse at left center, rgba(6,13,24,0.45) 0%, rgba(6,13,24,0) 70%);
  z-index: 1;
  pointer-events: none;
}

/* =====================================================
   v9 — Hero Text Collapse
   ===================================================== */
.hero-left {
  position: relative;
  transition:
    transform .55s cubic-bezier(.4,1.2,.5,1),
    opacity .45s ease;
}
.hero-left.user-collapsed {
  opacity: 0.18;
  pointer-events: none;
  transform: translateX(-30px) scale(.985);
  filter: blur(0.5px);
}
.hero-left.hidden {
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
}
.hero-text-toggle {
  position: absolute;
  top: 4px;
  right: 8px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(6, 13, 24, 0.6);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--accent, #ff8a1a);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  opacity: 0.55;
  transition: opacity .25s ease, background .25s ease, transform .25s ease;
  backdrop-filter: blur(6px);
}
.hero-text-toggle:hover {
  opacity: 1;
  background: rgba(255, 138, 26, 0.18);
  border-color: var(--accent, #ff8a1a);
  transform: scale(1.06);
}
.hero-text-toggle svg {
  width: 14px;
  height: 14px;
  transition: transform .35s ease;
}
.hero-left.user-collapsed .hero-text-toggle svg {
  transform: rotate(180deg);
}
.hero-left-show {
  position: fixed;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(6, 13, 24, 0.7);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--accent, #ff8a1a);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
  transition: transform .25s ease, background .25s ease;
}
.hero-left-show:hover { background: rgba(255,138,26,0.18); transform: translateY(-50%) scale(1.06); }
.hero-left-show svg { width: 16px; height: 16px; }
.hero-collapsed-mode .hero-left-show { display: flex; }

/* =====================================================
   v9 — Topbar hide-on-scroll
   ===================================================== */
.topbar {
  transition: transform .35s cubic-bezier(.4,0,.4,1), background .3s ease, border-color .3s ease;
}
.topbar.auto-hidden {
  transform: translateY(-100%);
}
.topbar.scrolled {
  background: rgba(6,13,24,0.95);
  border-bottom-color: var(--line, rgba(255,255,255,0.08));
  box-shadow: 0 4px 18px rgba(0,0,0,0.4);
}

/* =====================================================
   v9 — Service & Partner quote form modal
   ===================================================== */
.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(6,13,24,0.96);
  backdrop-filter: blur(20px);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.quote-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.quote-modal .qm-image {
  position: relative;
  background: linear-gradient(135deg, rgba(255,138,26,0.18), rgba(6,13,24,0.95));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px;
  overflow: hidden;
}
.quote-modal .qm-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(255,138,26,0.18), transparent 60%),
    repeating-linear-gradient(45deg, rgba(255,138,26,0.03), rgba(255,138,26,0.03) 1px, transparent 1px, transparent 18px);
}
.quote-modal .qm-image > * { position: relative; z-index: 1; }
.quote-modal .qm-eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: var(--accent, #ff8a1a);
  text-transform: uppercase;
}
.quote-modal .qm-title {
  font-size: 34px;
  line-height: 1.18;
  font-weight: 800;
  margin: 14px 0 18px;
  color: #fff;
  letter-spacing: -0.01em;
}
.quote-modal .qm-desc {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255,255,255,0.72);
  margin-bottom: 28px;
}
.quote-modal .qm-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}
.quote-modal .qm-tag {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.78);
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 500;
}
.quote-modal .qm-body {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(6,13,24,0.6);
}
.quote-modal .qm-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.quote-modal .qm-form .full { grid-column: 1 / -1; }
.quote-modal .qm-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.quote-modal .qm-field label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.quote-modal .qm-field input,
.quote-modal .qm-field select,
.quote-modal .qm-field textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 12px 14px;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color .2s ease, background .2s ease;
}
.quote-modal .qm-field input:focus,
.quote-modal .qm-field select:focus,
.quote-modal .qm-field textarea:focus {
  border-color: var(--accent, #ff8a1a);
  background: rgba(255,138,26,0.06);
}
.quote-modal .qm-field textarea {
  min-height: 100px;
  resize: vertical;
  font-family: inherit;
}
.quote-modal .qm-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.quote-modal .qm-submit {
  flex: 1;
  background: linear-gradient(135deg, #ff8a1a, #ff5b1a);
  color: #fff;
  border: none;
  padding: 14px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 6px 18px rgba(255,138,26,0.3);
}
.quote-modal .qm-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(255,138,26,0.4);
}
.quote-modal .qm-wa {
  background: #25D366;
  color: #fff;
  border: none;
  padding: 14px 18px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: transform .2s ease;
}
.quote-modal .qm-wa:hover { transform: translateY(-1px); }
.quote-modal .qm-wa svg { width: 16px; height: 16px; }
.quote-modal .qm-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(6,13,24,0.7);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, transform .2s ease;
}
.quote-modal .qm-close:hover {
  background: rgba(255,138,26,0.18);
  transform: rotate(90deg);
}
.quote-modal .qm-success {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 20px;
  border-radius: 14px;
  background: rgba(77, 210, 142, 0.1);
  border: 1px solid rgba(77, 210, 142, 0.4);
  color: #b8f5d4;
}
.quote-modal .qm-success h3 {
  font-size: 22px;
  margin: 12px 0 8px;
  color: #fff;
}
.quote-modal .qm-success p { font-size: 14px; opacity: 0.85; }
.quote-modal .qm-success .qm-success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(77, 210, 142, 0.18);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

/* Service card hover lift + cursor */
.service-card {
  cursor: pointer;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 138, 26, 0.35);
  background: rgba(255, 138, 26, 0.06);
}
.service-card .sc-cta {
  margin-top: 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent, #ff8a1a);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: 0.7;
  transition: opacity .25s ease, transform .25s ease;
}
.service-card:hover .sc-cta {
  opacity: 1;
  transform: translateX(2px);
}

/* Partner CTA button */
.partner-apply-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  background: linear-gradient(135deg, #ff8a1a, #ff5b1a);
  color: #fff;
  border: none;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 6px 18px rgba(255,138,26,0.3);
  text-decoration: none;
}
.partner-apply-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(255,138,26,0.4);
}
.partner-apply-btn svg { width: 16px; height: 16px; }
.partner-cta-wrap {
  text-align: center;
  margin-top: 32px;
}
.partner-cta-wrap p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-top: 12px;
}

@media (max-width: 980px) {
  .quote-modal {
    grid-template-columns: 1fr;
  }
  .quote-modal .qm-image { padding: 32px 24px; min-height: auto; }
  .quote-modal .qm-body { padding: 32px 24px; }
  .quote-modal .qm-form { grid-template-columns: 1fr; }
  .quote-modal .qm-title { font-size: 26px; }
}

.service-card[data-service] { outline: none; }

.back-to-top {
  position: fixed;
  bottom: 88px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff8a1a, #ff5b1a);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(255,138,26,0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
  z-index: 9998;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255,138,26,0.55);
}
.back-to-top svg { width: 18px; height: 18px; }

.partner-row .partner-card,
.partner-row .partner-tile {
  transition: transform .25s ease, border-color .25s ease;
}
.partner-row .partner-card:hover,
.partner-row .partner-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 138, 26, 0.32);
}


/* =====================================================
   HERO TOGGLE v2 — turuncu, sağ kenarda, yumuşak gecis
   (kullanici istegi: turuncu buton, scroll-based gizle/goster)
   ===================================================== */

/* --- 1) HERO TOGGLE BUTONU --- */
.hero-text-toggle {
  position: fixed !important;
  top: 50% !important;
  right: 0 !important;
  transform: translate(100%, -50%) !important;
  width: 40px !important;
  height: 68px !important;
  border-radius: 16px 0 0 16px !important;
  background: linear-gradient(135deg, #ff7a1a 0%, #ffb04a 100%) !important;
  border: none !important;
  border-right: none !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  z-index: 90 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  box-shadow: -4px 0 18px rgba(255, 122, 26, 0.45), inset 1px 0 0 rgba(255, 255, 255, 0.25) !important;
  transition:
    transform .45s cubic-bezier(0.4, 0, 0.2, 1),
    opacity .4s ease,
    background .25s ease,
    box-shadow .3s ease !important;
}
.hero-text-toggle.is-visible {
  transform: translate(0, -50%) !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}
.hero-text-toggle:hover {
  background: linear-gradient(135deg, #ff8a2a 0%, #ffc05a 100%) !important;
  box-shadow: -6px 0 24px rgba(255, 122, 26, 0.65) !important;
  transform: translate(0, -50%) translateX(-2px) !important;
}
.hero-text-toggle:active {
  transform: translate(0, -50%) translateX(1px) scale(0.97) !important;
}
.hero-text-toggle svg {
  width: 18px !important;
  height: 18px !important;
  transition: transform .5s cubic-bezier(0.4, 0, 0.2, 1) !important;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
}
.hero-left:not(.user-collapsed):not(.hidden) ~ .hero-text-toggle svg,
.hero-text-toggle.is-visible svg {
  transform: rotate(180deg) !important;
}

/* --- 2) HERO TEXT yumusak gecis --- */
.hero-left {
  transition:
    transform .6s cubic-bezier(0.4, 0, 0.2, 1),
    opacity .55s cubic-bezier(0.4, 0, 0.2, 1),
    filter .4s ease !important;
  will-change: transform, opacity;
}
.hero-left.user-collapsed,
.hero-left.hidden {
  opacity: 0 !important;
  transform: translateX(-110%) !important;
  pointer-events: none !important;
  filter: blur(2px);
}

/* --- 3) TOPBAR scroll-based gizleme --- */
.topbar {
  transition:
    transform .45s cubic-bezier(0.4, 0, 0.2, 1),
    background .3s ease,
    border-color .3s ease,
    padding .25s ease,
    opacity .35s ease !important;
}
.topbar.auto-hidden {
  transform: translateY(-110%) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}


/* =====================================================
   PROJE KARTI — sığdırma düzeltmesi (kullanıcı isteği)
   ===================================================== */
.project-card {
  aspect-ratio: 4 / 5 !important;
}
.project-card .pc-img {
  background-color: #1a2a44 !important;
  background-size: contain !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  overflow: hidden !important;
}
.project-card .pc-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  padding: 6px !important;
}

/* Proje listesinde kart yüksekliği içeriğe göre oluşur; son satırda boş dev kart kalmaz. */
#projectGrid {
  align-items: start;
  grid-auto-rows: auto;
}
#projectGrid .project-card {
  aspect-ratio: auto !important;
  min-height: 0 !important;
  height: auto !important;
  align-self: start;
  display: flex;
  flex-direction: column;
}
#projectGrid .project-card .pc-img {
  position: relative !important;
  inset: auto !important;
  width: 100%;
  aspect-ratio: 16 / 10 !important;
  flex: 0 0 auto;
}
#projectGrid .project-card .pc-overlay {
  pointer-events: none;
}
#projectGrid .project-card .pc-meta {
  position: relative !important;
  inset: auto !important;
  min-height: 0;
  background: linear-gradient(180deg, rgba(13,27,47,.96), rgba(7,16,30,.99));
}

/* === BRAND — yeni logo SVG (kanatlı h + ŞEN) icin === */
.brand-mark {
  width: 144px !important;
  height: 40px !important;
  display: block !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.brand-mark svg {
  display: block !important;
  width: 140px !important;
  height: 36px !important;
}
/* Yeni logo şirket adını içeriyor; yalnızca eski tekrar metni gizle. */
.brand-text {
  display: none !important;
}
.brand-tag {
  display: inline-block !important;
  max-width: 190px;
  margin-left: 4px !important;
  padding-left: 14px !important;
  border-left: 1px solid rgba(255,255,255,.16) !important;
  color: rgba(233,238,246,.72) !important;
  font-size: 8.5px !important;
  line-height: 1.45;
  letter-spacing: .14em !important;
}
/* === BRAND LOGO BUYUTME === */
.brand-mark {
  width: 180px !important;
  height: 56px !important;
  display: block !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.brand-mark img {
  display: block !important;
  width: auto !important;
  height: 56px !important;
  max-width: 220px !important;
}
.topbar {
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

@media (max-width: 1180px) {
  .brand-tag { display: none !important; }
}

/* Hero metni ve duvara yaslanan aç/kapa düğmesi */
#hero .hero-left {
  transition:
    transform .85s cubic-bezier(.4, 0, .2, 1),
    opacity .72s ease,
    filter .65s ease !important;
}

body > .hero-text-toggle {
  position: fixed !important;
  top: 50% !important;
  left: var(--hero-toggle-open-left, 568px) !important;
  right: auto !important;
  transform: translate(-1px, -50%) !important;
  opacity: 0 !important;
  pointer-events: none !important;
  border-radius: 0 12px 12px 0 !important;
  transition:
    left .85s cubic-bezier(.4, 0, .2, 1),
    opacity .3s ease,
    background .25s ease,
    box-shadow .3s ease !important;
}

body > .hero-text-toggle.is-visible {
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translate(-1px, -50%) !important;
}

body > .hero-text-toggle.is-collapsed {
  left: 0 !important;
  border-radius: 0 12px 12px 0 !important;
}

body > .hero-text-toggle svg,
body > .hero-text-toggle.is-visible svg {
  transform: rotate(180deg) !important;
}

body > .hero-text-toggle.is-collapsed svg {
  transform: rotate(0deg) !important;
}

@media (max-width: 720px) {
  body > .hero-text-toggle {
    top: 48% !important;
  }
}

/* =====================================================
   Üst navigasyon — kademeli daralma, aktif sayfa ve kalıcı marka/CTA
   ===================================================== */
.topbar .brand {
  flex: 0 1 auto;
  min-width: 0;
  gap: 10px;
}

.topbar .brand-mark,
.footer .brand-mark {
  width: 196px !important;
  height: 62px !important;
  flex: 0 0 auto;
}

.topbar .brand-mark img,
.footer .brand-mark img {
  height: 62px !important;
  max-width: 240px !important;
}

.topbar .brand-tag {
  display: inline-block !important;
  flex: 0 1 165px;
  max-width: 165px;
  min-width: 0;
  margin-left: 0 !important;
  padding-left: 12px !important;
  font-size: 8.5px !important;
  line-height: 1.42;
  letter-spacing: .12em !important;
  white-space: normal;
}

.topbar .nav {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 5px !important;
  min-width: 0;
}

.topbar .nav-link {
  padding: 10px 11px !important;
  border-radius: 10px;
  font-size: 14px !important;
  font-weight: 600;
  letter-spacing: .025em;
  white-space: nowrap;
  transition: color .22s ease, background .22s ease, transform .22s ease;
}

.topbar .nav-link:hover {
  color: #fff;
  background: rgba(255,255,255,.055);
  transform: translateY(-1px);
}

.topbar .nav-link.active {
  color: #fff;
  background: rgba(255,122,26,.1);
}

.topbar .nav-link.active::after {
  left: 11px;
  right: 11px;
  bottom: 3px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), #ffb067);
  box-shadow: 0 0 10px rgba(255,122,26,.42);
}

.topbar .topbar-actions {
  flex: 0 0 auto;
  gap: 10px;
}

.topbar .topbar-actions .btn-primary {
  display: inline-flex !important;
  white-space: nowrap;
}

.menu-toggle {
  display: none !important;
  flex: 0 0 auto;
  background: rgba(255,255,255,.035);
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.menu-toggle:hover,
.menu-toggle.open {
  border-color: rgba(255,122,26,.6);
  background: rgba(255,122,26,.1);
}

.mobile-menu a {
  display: none;
  align-items: center;
  border-left: 3px solid transparent;
  padding-left: 14px;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.mobile-menu a.active {
  color: #fff;
  border-left-color: var(--accent);
  background: linear-gradient(90deg, rgba(255,122,26,.14), transparent 72%);
}

/* Bağlantılar sağdan sola doğru menüye taşınır; Ana Sayfa en son kalır. */
@media (max-width: 1500px) {
  .menu-toggle { display: flex !important; }
  .topbar .nav-link:nth-child(7) { display: none !important; }
  .mobile-menu a:nth-child(7) { display: flex !important; }
}

@media (max-width: 1400px) {
  .topbar .nav-link:nth-child(6) { display: none !important; }
  .mobile-menu a:nth-child(6) { display: flex !important; }
}

@media (max-width: 1300px) {
  .topbar .nav-link:nth-child(5) { display: none !important; }
  .mobile-menu a:nth-child(5) { display: flex !important; }
}

@media (max-width: 1200px) {
  .topbar .nav-link:nth-child(4) { display: none !important; }
  .mobile-menu a:nth-child(4) { display: flex !important; }
}

@media (max-width: 1100px) {
  .topbar .nav-link:nth-child(3) { display: none !important; }
  .mobile-menu a:nth-child(3) { display: flex !important; }
}

@media (max-width: 1000px) {
  .topbar { padding: 10px 14px !important; }
  .topbar .brand-mark { width: 160px !important; height: 50px !important; }
  .topbar .brand-mark img { height: 50px !important; max-width: 190px !important; }
  .topbar .brand-tag {
    display: inline-block !important;
    flex-basis: 120px;
    max-width: 120px;
    padding-left: 9px !important;
    font-size: 7.3px !important;
  }
  .topbar .nav-link:nth-child(2) { display: none !important; }
  .mobile-menu a:nth-child(2) { display: flex !important; }
  .topbar .topbar-actions .btn-primary { padding: 10px 14px; font-size: 11px; }
}

@media (max-width: 820px) {
  .topbar .nav { flex: 0 1 0; margin: 0; }
  .topbar .nav-link:nth-child(1) { display: none !important; }
  .mobile-menu a:nth-child(1) { display: flex !important; }
}

@media (max-width: 600px) {
  .topbar { padding: 9px 8px !important; gap: 6px; }
  .topbar .brand { gap: 6px; }
  .topbar .brand-mark { width: 132px !important; height: 42px !important; }
  .topbar .brand-mark img { height: 42px !important; max-width: 150px !important; }
  .topbar .brand-tag {
    display: inline-block !important;
    flex-basis: 90px;
    max-width: 90px;
    padding-left: 6px !important;
    font-size: 6.3px !important;
    letter-spacing: .08em !important;
  }
  .topbar .topbar-actions { gap: 6px; }
  .topbar .topbar-actions .btn-primary { padding: 8px 10px; font-size: 10px; }
  .topbar .topbar-actions .btn-primary svg { display: none; }
  .menu-toggle { width: 38px; height: 38px; border-radius: 10px; }
  .mobile-menu { top: 60px; padding: 12px 12px; }
}

@media (max-width: 430px) {
  .topbar .brand-mark { width: 112px !important; height: 36px !important; }
  .topbar .brand-mark img { height: 36px !important; max-width: 124px !important; }
  .topbar .brand-tag {
    display: inline-block !important;
    flex-basis: 66px;
    max-width: 66px;
    font-size: 5.7px !important;
    line-height: 1.3;
  }
  .topbar .topbar-actions .btn-primary { padding: 7px 8px; font-size: 9px; }
  .menu-toggle { width: 34px; height: 34px; }
  .mobile-menu { top: 52px; }
}

/* Hero kontrolü: daha rafine, daha okunaklı ve duvara yaslı. */
body > .hero-text-toggle {
  width: 46px !important;
  height: 72px !important;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.22) !important;
  border-left: 0 !important;
  background: linear-gradient(145deg, #ff943f 0%, #ff7417 52%, #e95500 100%) !important;
  box-shadow:
    0 14px 34px rgba(0,0,0,.38),
    0 0 26px rgba(255,112,18,.24),
    inset 0 1px 0 rgba(255,255,255,.34) !important;
}

body > .hero-text-toggle::before {
  content: "";
  position: absolute;
  inset: 1px 5px auto 8px;
  height: 42%;
  border-radius: 0 10px 50% 50%;
  background: linear-gradient(180deg, rgba(255,255,255,.3), transparent);
  pointer-events: none;
}

body > .hero-text-toggle:hover {
  background: linear-gradient(145deg, #ffa45d 0%, #ff7a1a 50%, #ef6108 100%) !important;
  box-shadow:
    0 18px 40px rgba(0,0,0,.44),
    0 0 32px rgba(255,122,26,.38),
    inset 0 1px 0 rgba(255,255,255,.4) !important;
}

body > .hero-text-toggle svg {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.34));
}

body > .hero-text-toggle.is-collapsed {
  width: 42px !important;
}

/* =====================================================
   UI etkileşim düzeltmeleri — v10
   ===================================================== */
body.ui-scroll-locked {
  overflow: hidden !important;
  overscroll-behavior: none;
}

/* Ana navigasyon açıkken sayfanın sabit araçları menüyle yarışmaz. */
body.menu-open .wa-fab,
body.menu-open #slotToggle,
body.menu-open .back-to-top,
body.menu-open .scroll-top,
body.ui-scroll-locked .wa-fab,
body.ui-scroll-locked #slotToggle,
body.ui-scroll-locked .back-to-top,
body.ui-scroll-locked .scroll-top {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.mobile-menu {
  max-height: calc(100dvh - 74px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

/* Header logosunu biraz daha güçlü ve okunaklı göster. */
.topbar .brand-mark {
  width: 218px !important;
  height: 70px !important;
}

.topbar .brand-mark img {
  height: 70px !important;
  max-width: 266px !important;
}

/* Hero aç/kapa ikonuna cam katmanlı, çift şeritli yön işareti. */
body > .hero-text-toggle {
  display: grid !important;
  place-items: center !important;
}

body > .hero-text-toggle .hero-toggle-icon {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, rgba(255,255,255,.22), rgba(105,31,0,.16));
  box-shadow:
    0 5px 14px rgba(94,29,0,.3),
    inset 0 1px 0 rgba(255,255,255,.28);
  transition: transform .24s ease, background .24s ease, box-shadow .24s ease;
}

body > .hero-text-toggle:hover .hero-toggle-icon {
  transform: scale(1.07);
  background: linear-gradient(145deg, rgba(255,255,255,.3), rgba(105,31,0,.12));
  box-shadow:
    0 7px 18px rgba(94,29,0,.36),
    inset 0 1px 0 rgba(255,255,255,.4);
}

body > .hero-text-toggle svg {
  width: 19px !important;
  height: 19px !important;
  overflow: visible;
  filter: drop-shadow(0 1px 2px rgba(55,16,0,.45));
}

body > .hero-text-toggle .hero-toggle-chevron-secondary {
  opacity: .52;
}

/* Sağ alttaki araçları düzenli bir dikey raf ve ayrı 3D kontrol grubu yap. */
.wa-fab {
  right: 24px !important;
  bottom: 22px !important;
}

#slotToggle {
  right: 30px !important;
  bottom: 90px !important;
}

.back-to-top {
  right: 30px !important;
  bottom: 144px !important;
}

.canvas-controls {
  right: 96px !important;
  bottom: 26px !important;
}

@media (max-width: 1000px) {
  .topbar .brand-mark { width: 170px !important; height: 54px !important; }
  .topbar .brand-mark img { height: 54px !important; max-width: 205px !important; }
}

@media (max-width: 600px) {
  .mobile-menu { max-height: calc(100dvh - 60px); }
  .topbar .brand-mark { width: 140px !important; height: 45px !important; }
  .topbar .brand-mark img { height: 45px !important; max-width: 160px !important; }
  .wa-fab { right: 14px !important; bottom: 14px !important; }
  #slotToggle { right: 21px !important; bottom: 82px !important; }
  .back-to-top { right: 21px !important; bottom: 134px !important; }
  .canvas-controls { right: 78px !important; bottom: 18px !important; }
}

@media (max-width: 430px) {
  .mobile-menu { max-height: calc(100dvh - 52px); }
  .topbar .brand-mark { width: 118px !important; height: 38px !important; }
  .topbar .brand-mark img { height: 38px !important; max-width: 132px !important; }
}

/* =====================================================
   Telefon / tablet hareket sistemi ve modal oranı — v11
   ===================================================== */
.project-modal {
  grid-template-columns: minmax(0, .92fr) minmax(500px, 1.08fr);
}

.project-modal .pm-image {
  position: relative;
  overflow: hidden;
  padding: 0;
  height: 100%;
  max-height: none;
}

.project-modal .pm-image img {
  position: absolute !important;
  inset: 3% !important;
  width: 94% !important;
  height: 94% !important;
  object-fit: contain !important;
  border-radius: 16px;
  box-shadow: 0 20px 52px rgba(0,0,0,.34);
}

@media (max-width: 1024px) and (prefers-reduced-motion: no-preference) {
  .mobile-motion-block {
    opacity: .08 !important;
    transform: translate3d(0, 58px, 0) scale(.985) !important;
    filter: blur(3px);
    transition:
      opacity 1.05s cubic-bezier(.16, 1, .3, 1),
      transform 1.18s cubic-bezier(.16, 1, .3, 1),
      filter .9s ease !important;
    transition-delay: calc(var(--mobile-motion-order, 0) * 55ms) !important;
    will-change: transform, opacity, filter;
  }

  .mobile-motion-block.mobile-in-view {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) scale(1) !important;
    filter: blur(0);
  }
}

@media (max-width: 1000px) {
  .project-modal {
    grid-template-columns: 1fr;
    grid-template-rows: 42% 58%;
  }
  .project-modal .pm-image img {
    inset: 4% 3% !important;
    width: 94% !important;
    height: 92% !important;
  }
}

/* =====================================================
   Telefon / tablet yerleşim iyileştirmeleri — v13
   ===================================================== */
@media (max-width: 1024px) {
  /* Öne çıkan projenin iki görseli aynı bakışta görülebilsin. */
  .featured-wrap {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr) !important;
    gap: 12px !important;
    align-items: stretch;
  }
  .featured-wrap > .featured-img,
  .featured-wrap > .featured-map {
    aspect-ratio: 4 / 3;
    width: 100%;
    min-width: 0;
    min-height: 0;
    margin: 0;
  }
  .featured-wrap > .featured-map .site-map-svg {
    width: 100%;
    max-width: 100%;
  }
  .featured-wrap > .featured-map svg {
    width: 100%;
    height: 100%;
  }
  .featured-wrap > .featured-body {
    grid-column: 1 / -1;
  }
  .featured-badge {
    top: 10px;
    left: 10px;
    padding: 5px 9px;
    font-size: 8px;
  }
  .featured-body h2 { font-size: 28px; margin-bottom: 10px; }
  .featured-desc { font-size: 13px; line-height: 1.55; margin-bottom: 15px; }
  .featured-meta { margin-bottom: 15px; padding: 12px 0; }
  .featured-blocks { grid-template-columns: 1fr 1fr; gap: 9px; }
  .fb-card { padding: 12px; }
  .featured-features { grid-template-columns: 1fr 1fr; gap: 4px 12px; }

  /* Projeler: iki sütun, sabit dev kart yüksekliği yerine içerik kadar alan. */
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
  .project-card {
    aspect-ratio: auto !important;
    min-height: 0 !important;
    display: flex;
    flex-direction: column;
  }
  .project-card .pc-img {
    position: relative !important;
    inset: auto !important;
    width: 100%;
    aspect-ratio: 4 / 3 !important;
    flex: 0 0 auto;
  }
  .project-card .pc-overlay {
    display: none !important;
  }
  .project-card .pc-meta {
    position: relative !important;
    inset: auto !important;
    padding: 12px 13px 14px !important;
    min-height: 86px;
    background: linear-gradient(180deg, rgba(13,27,47,.96), rgba(7,16,30,.98));
  }
  .pc-meta .pc-eyebrow { font-size: 8px; letter-spacing: .13em; margin-bottom: 4px; }
  .pc-meta h4 { font-size: 15px; line-height: 1.22; margin: 0 0 4px; }
  .pc-meta p { font-size: 10.5px; line-height: 1.35; }
  .project-card .pc-badge-meta {
    top: 8px;
    left: 8px;
    max-width: calc(100% - 16px);
    padding: 4px 7px;
    font-size: 7px;
    letter-spacing: .07em;
  }

  /* İş ortakları telefonda da iki okunabilir sütunda kalır. */
  .partner-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  .partner-card {
    min-height: 124px;
    padding: 16px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .partner-card .pc-logo {
    width: 42px;
    height: 42px;
    margin-bottom: 9px;
    font-size: 15px;
  }
  .partner-card h5 { font-size: 13px; line-height: 1.25; }
  .partner-card span { font-size: 10.5px; line-height: 1.35; }

  /* Alt bilgi alanını tek uzun kolon yerine dengeli 2 x 2 düzene al. */
  .footer { padding: 48px 16px 22px !important; }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px 18px !important;
    margin-bottom: 26px;
  }
  .f-col { min-width: 0; }
  .f-col .brand-mark,
  .f-col .brand-logo-img { max-width: 150px !important; height: auto !important; }
  .f-col h4 { font-size: 16px; margin: 9px 0 5px; }
  .f-col h5 { font-size: 10px; margin-bottom: 9px; }
  .f-col p,
  .f-col a { font-size: 11.5px; line-height: 1.5; }
  .newsletter { align-items: stretch; gap: 6px; }
  .newsletter input { min-width: 0; padding: 9px 10px; font-size: 11px; }
  .newsletter button { flex: 0 0 auto; padding: 9px 12px; }
  .footer-bottom { gap: 16px; font-size: 10px; }
}

@media (max-width: 600px) {
  #siteCanvas { touch-action: pan-y !important; }
  .site-canvas-wrap { height: min(54svh, 390px) !important; }

  .section { padding: 44px 0; }
  .section-head { margin-bottom: 28px; }
  .featured-wrap { gap: 8px !important; }
  .featured-wrap > .featured-img,
  .featured-wrap > .featured-map { border-radius: 12px; }
  .featured-body h2 { font-size: 23px; }
  .featured-meta,
  .featured-blocks,
  .featured-features { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .featured-meta { gap: 8px; }
  .featured-meta strong { font-size: 12px; }
  .featured-features li { font-size: 11px; }

  .project-grid { gap: 8px !important; }
  .project-card .pc-meta { padding: 10px !important; min-height: 82px; }
  .pc-meta h4 { font-size: 13px; }
  .pc-meta p { font-size: 9px; }

  .partner-row { gap: 8px !important; }
  .partner-card { min-height: 112px; padding: 13px 8px; }

  .footer-grid { gap: 22px 14px !important; }
  .footer .newsletter { padding-right: 72px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 390px) {
  .project-card .pc-meta { min-height: 88px; }
  .footer-grid { grid-template-columns: 1fr !important; }
}

/* =====================================================
   Hero — tek ve akıcı responsive sistem
   ===================================================== */
#hero.hero {
  --hero-panel-width: clamp(190px, calc(38vw + 60px), 520px);
  --hero-panel-gutter: clamp(12px, 3vw, 48px);
  --hero-top-safe: clamp(72px, 11dvh, 118px);
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
}

#hero #scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  touch-action: pan-y;
}

#hero .hero-left {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--hero-panel-width);
  min-width: 0;
  max-width: none;
  min-height: 100%;
  max-height: 100%;
  padding: 0 var(--hero-panel-gutter);
  display: flex;
  flex-direction: column;
  overflow-x: visible;
  overflow-y: auto;
  overscroll-behavior-y: auto;
  scrollbar-width: none;
  border: 0;
  border-radius: 0;
  background: none;
  backdrop-filter: none;
  z-index: 5;
  transform: translate3d(0, 0, 0);
}

#hero .hero-left::-webkit-scrollbar {
  display: none;
}

#hero .hero-left::before {
  content: none;
}

#hero .hero-left > * {
  position: relative;
  z-index: 1;
}

#hero .hero-content {
  width: 100%;
  margin-block: auto;
  padding-top: var(--hero-top-safe);
  padding-bottom: clamp(24px, 5dvh, 48px);
}

#hero .hero-left.user-collapsed,
#hero .hero-left.hidden {
  opacity: 0;
  transform: translate3d(-110%, 0, 0);
  pointer-events: none;
  filter: blur(2px);
}

#hero .hero-eyebrow {
  max-width: 100%;
  margin-bottom: clamp(10px, 1.8dvh, 18px);
  padding: 6px clamp(9px, 1.2vw, 14px);
  gap: 8px;
  font-size: clamp(8px, calc(.32vw + 7px), 11px);
  letter-spacing: clamp(.12em, .16vw, .2em);
  white-space: nowrap;
}

#hero .hero-title {
  margin: 0 0 clamp(10px, 1.8dvh, 18px);
  font-size: clamp(36px, calc(4.25vw + 21px), 64px);
  line-height: .96;
  letter-spacing: -.04em;
  text-wrap: balance;
  text-shadow: 0 3px 18px rgba(2, 8, 18, .58);
}

#hero .hero-sub {
  margin: 0 0 8px;
  font-size: clamp(14px, calc(.35vw + 11px), 16px);
  line-height: 1.45;
}

#hero .hero-sub-2 {
  margin: 0 0 clamp(12px, 2dvh, 22px);
  font-size: clamp(12px, calc(.22vw + 10px), 13px);
  line-height: 1.52;
}

#hero .hero-stats {
  width: 100%;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(8px, 1.1vw, 16px);
  margin: clamp(14px, 2.2dvh, 24px) 0 clamp(16px, 2.4dvh, 26px);
  padding-top: clamp(12px, 1.8dvh, 20px);
}

#hero .hero-stats .stat {
  min-width: 0;
}

#hero .hero-stats .stat strong {
  font-size: clamp(22px, calc(1.15vw + 13px), 28px);
}

#hero .hero-stats .stat strong + span {
  font-size: clamp(9px, calc(.18vw + 7px), 11px);
  letter-spacing: .12em;
}

#hero .hero-stats .stat em {
  font-size: clamp(10px, calc(.15vw + 8px), 11px);
  line-height: 1.3;
}

#hero .hero-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, .92fr);
  gap: 8px;
  align-items: center;
}

#hero .hero-cta a {
  width: auto;
  min-width: 0;
  min-height: 44px;
  padding: 10px clamp(10px, 1.4vw, 20px);
  justify-content: center;
  text-align: center;
  font-size: clamp(11px, calc(.25vw + 9px), 14px);
  line-height: 1.2;
  white-space: nowrap;
}

#hero .hero-cta .btn-text {
  grid-column: 1 / -1;
  min-height: 32px;
  padding: 5px 10px;
  justify-self: center;
  color: #ff9a4f;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .8);
}

body > .hero-text-toggle {
  top: var(--hero-toggle-open-top, 50%) !important;
  left: var(--hero-toggle-open-left, var(--hero-panel-width)) !important;
  width: clamp(40px, 4vw, 46px) !important;
  height: clamp(52px, 6.2vw, 72px) !important;
}

body > .hero-text-toggle.is-collapsed {
  left: 0 !important;
  width: 42px !important;
}

body > .hero-text-toggle.is-repositioning {
  transition:
    opacity .2s ease,
    background .25s ease,
    box-shadow .3s ease !important;
}

@media (max-width: 760px) {
  #hero.hero {
    --hero-panel-gutter: clamp(12px, 3.4vw, 22px);
    --hero-top-safe: clamp(70px, 9dvh, 88px);
  }

  #hero .hero-left::before {
    right: -52px;
  }

  #hero .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
  }

  #hero .hero-stats .stat {
    padding-right: 6px;
  }

  #hero .hero-stats .stat strong {
    font-size: clamp(22px, 5.6vw, 28px);
  }

  #hero .hero-stats .stat em {
    font-size: 10px;
  }

  .canvas-controls {
    right: calc(14px + 58px + 12px) !important;
    bottom: calc(14px + env(safe-area-inset-bottom)) !important;
  }

  .wa-fab {
    right: calc(14px + env(safe-area-inset-right)) !important;
    bottom: calc(14px + env(safe-area-inset-bottom)) !important;
  }
}

@media (max-width: 430px) {
  #hero.hero {
    --hero-panel-gutter: 12px;
    --hero-top-safe: clamp(66px, 8dvh, 76px);
  }

  #hero .hero-title {
    font-size: clamp(34px, 10.5vw, 40px);
  }

  #hero .hero-sub {
    font-size: 14px;
  }

  #hero .hero-stats {
    margin-block: 14px 16px;
    padding-top: 12px;
  }

  #hero .hero-cta {
    grid-template-columns: 1fr;
  }

  #hero .hero-cta .btn-text {
    grid-column: 1;
  }

  body > .hero-text-toggle {
    width: 44px !important;
    height: 52px !important;
  }

  .topbar .brand-tag {
    display: none !important;
  }
}

@media (max-height: 700px) {
  #hero.hero {
    --hero-top-safe: 62px;
  }

  #hero .hero-content {
    margin-block: 0;
    padding-bottom: 18px;
  }

  #hero .hero-title {
    font-size: clamp(32px, calc(3vw + 18px), 48px);
  }

  #hero .hero-stats {
    margin-block: 10px 12px;
    padding-top: 10px;
  }
}

/* =====================================================
   Hero ve Kurumsal — mobil içerik yoğunluğu düzeltmeleri
   ===================================================== */
#hero .hero-sub-2 {
  display: block;
}

@media (max-width: 760px) {
  #hero .hero-content {
    padding-bottom: clamp(18px, 3dvh, 28px);
  }

  #hero .hero-sub-2 {
    margin-bottom: 12px;
    font-size: clamp(10.5px, 2.25vw, 12px);
    line-height: 1.42;
  }

  #story .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 0;
    margin-bottom: 30px;
    border: 0;
  }

  #story .timeline::before {
    display: none;
  }

  #story .tl-item {
    min-width: 0;
    padding: 14px 12px 13px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
  }

  #story .tl-item::before {
    position: static;
    display: block;
    width: 9px;
    height: 9px;
    margin-bottom: 9px;
    box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px rgba(255,122,26,.25);
  }

  #story .tl-year {
    display: block;
    font-size: clamp(18px, 4.5vw, 22px);
  }

  #story .tl-item h4 {
    margin-bottom: 6px;
    font-size: 13px;
  }

  #story .tl-item p {
    display: block;
    font-size: 10.5px;
    line-height: 1.45;
  }

  #story .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  #story .value-card {
    min-width: 0;
    padding: 16px 13px;
  }

  #story .vc-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 8px;
    font-size: 21px;
  }

  #story .value-card h4 {
    margin: 7px 0 5px;
    font-size: 14px;
  }

  #story .value-card p {
    display: block;
    font-size: 10.5px;
    line-height: 1.48;
  }

  #advantages .advantage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px;
  }

  #advantages .advantage-card {
    min-width: 0;
    padding: 18px 14px 20px;
  }

  #advantages .advantage-card .ac-icon {
    width: 44px;
    height: 44px;
  }

  #advantages .advantage-card h4 {
    font-size: 14px;
  }

  #advantages .advantage-card p {
    display: block;
    font-size: 11px;
    line-height: 1.52;
  }
}

@media (min-width: 761px) and (max-width: 1100px) {
  #story .timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  #story .tl-item p {
    display: block;
  }

  #advantages .advantage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* WhatsApp görünürken 3D araçları sola aç; menü/modal WhatsApp'ı
   gizlediğinde araçlar tekrar sağ kenara yaklaşsın. */
.canvas-controls {
  right: 24px !important;
  transition: right .25s ease, opacity .25s ease !important;
}

body:not(.menu-open):not(.ui-scroll-locked) .canvas-controls {
  right: 96px !important;
}

body.menu-open .canvas-controls,
body.ui-scroll-locked .canvas-controls {
  right: 24px !important;
}

@media (max-width: 600px) {
  .canvas-controls {
    right: calc(14px + env(safe-area-inset-right)) !important;
  }

  body:not(.menu-open):not(.ui-scroll-locked) .canvas-controls {
    right: calc(14px + 58px + 12px + env(safe-area-inset-right)) !important;
  }
}

/* CMS topbar ölçüleri son katmanda uygulanır; eski responsive kuralları güvenli
   değişkenleri ezemez. */
#topbar.topbar {
  min-height: var(--cms-topbar-desktop-height, 82px) !important;
  padding-left: var(--cms-topbar-padding, 22px) !important;
  padding-right: var(--cms-topbar-padding, 22px) !important;
}
#topbar .brand-mark { width: var(--cms-logo-desktop-width, 196px) !important; }
#topbar .brand-mark img { max-width: var(--cms-logo-desktop-width, 196px) !important; }
#topbar .nav { gap: var(--cms-nav-gap, 5px) !important; }
#topbar .nav-link { font-size: var(--cms-nav-size, 14px) !important; }
#topbar .topbar-actions .btn-primary { min-height: var(--cms-action-height, 44px); }

@media (max-width: 600px) {
  #topbar.topbar {
    min-height: var(--cms-topbar-mobile-height, 60px) !important;
    padding-left: var(--cms-topbar-mobile-padding, 8px) !important;
    padding-right: var(--cms-topbar-mobile-padding, 8px) !important;
  }
  #topbar .brand-mark { width: var(--cms-logo-mobile-width, 112px) !important; }
  #topbar .brand-mark img { max-width: var(--cms-logo-mobile-width, 112px) !important; }
  #mobileMenu.mobile-menu { top: var(--cms-topbar-mobile-height, 60px) !important; }
}
.hero-window-project-hint {
  position: fixed;
  z-index: 1200;
  pointer-events: none;
  max-width: 240px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 114, 25, .72);
  border-radius: 10px;
  background: rgba(4, 13, 25, .92);
  color: #f3f7fc;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .32);
  font: 700 12px/1.35 Inter, sans-serif;
  backdrop-filter: blur(10px);
}

.hero-window-project-hint[hidden] { display: none; }
.ip-project-image { width: 100%; max-height: 180px; object-fit: cover; border-radius: 12px; margin: 0 0 12px; border: 1px solid rgba(255,114,25,.3); }
/* CMS visual preview controls (activated only by ?admin-preview=1 JavaScript). */
.admin-editable-section { position: relative !important; outline: 1px dashed rgba(255,114,25,.32); outline-offset: -1px; }
.admin-section-edit-button { position: absolute; z-index: 10020; top: max(84px, 1rem); right: 1rem; min-height: 42px; padding: 8px 13px; border: 1px solid rgba(255,183,132,.8); border-radius: 999px; color: #130800; background: #ff7219; box-shadow: 0 10px 30px rgba(0,0,0,.42); display: flex; align-items: center; gap: 7px; cursor: pointer; font: 800 12px/1 Inter, system-ui, sans-serif; }
.admin-section-edit-button:hover, .admin-section-edit-button:focus-visible { transform: translateY(-2px); background: #ff8a3d; outline: 3px solid rgba(255,114,25,.25); }
.admin-section-edit-button span { font-size: 16px; }
.admin-preview-mode #scene.admin-window-pick-mode { cursor: crosshair !important; outline: 4px solid rgba(255,114,25,.72); outline-offset: -4px; }

/* =====================================================
   CMS semantic theme layer — every visible site surface
   ===================================================== */
body { background-color: var(--bg); }
body::before {
  background:
    radial-gradient(1200px 700px at 80% -10%, color-mix(in srgb, var(--water) 14%, transparent), transparent 65%),
    radial-gradient(900px 600px at 0% 110%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 60%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
}
.topbar {
  background: linear-gradient(180deg, color-mix(in srgb, var(--theme-header-bg) 94%, transparent), transparent) !important;
}
.topbar.scrolled {
  background: color-mix(in srgb, var(--theme-header-bg) 94%, transparent) !important;
}
#hero.hero { background-color: var(--theme-hero-bg); }
#hero.hero::after {
  content: none;
  background: none;
}
#featured, .featured-section { background-color: var(--theme-featured-bg) !important; }
#story { background-color: var(--theme-story-bg) !important; }
#advantages { background-color: var(--theme-advantages-bg) !important; }
#projects { background-color: var(--theme-projects-bg) !important; }
#services { background-color: var(--theme-services-bg) !important; }
#partners { background-color: var(--theme-partners-bg) !important; }
#testimonials { background-color: var(--theme-testimonials-bg) !important; }
#sustain { background-color: var(--theme-sustain-bg) !important; }
#contact.footer { background: var(--theme-footer-bg) !important; }
#story, #services, #testimonials, #sustain { max-width: none; margin: 0; }
#story > .container, #services > .container, #testimonials > .container, #sustain > .container {
  max-width: var(--maxw); margin-inline: auto;
}
.featured-map { background: var(--theme-featured-map-bg) !important; }
.value-card,
.advantage-card,
.project-card,
.service-card,
.partner-card,
.testimonial-card,
.sus-card,
.fb-card,
.project-filter button,
.tour-floor-plan,
.ip-panel {
  background-color: var(--theme-card-bg) !important;
  border-color: var(--line) !important;
}
.value-card:hover,
.advantage-card:hover,
.project-card:hover,
.service-card:hover,
.partner-card:hover,
.testimonial-card:hover,
.sus-card:hover,
.fb-card:hover,
.project-filter button:hover {
  background-color: var(--theme-card-hover) !important;
  border-color: var(--accent) !important;
}
.btn-primary,
.featured-badge,
.partner-apply-btn,
.project-filter button.active,
.testimonial-card .tc-avatar,
.scroll-top:hover,
.tour-floors button.active {
  color: var(--button-text) !important;
}
.timeline,
.featured-meta,
.footer,
.section,
.section.dark { border-color: var(--line) !important; }
#topbar > .admin-section-edit-button { position: fixed; top: 76px; right: 16px; }
@media (max-width: 700px) { .admin-section-edit-button { top: .7rem; right: .7rem; padding: 8px 10px; } .admin-section-edit-button strong { display: none; } #topbar > .admin-section-edit-button { top: 68px; } }
/* Compact, opt-in background music controls. */
.site-audio { position:fixed; z-index:1000; display:flex; align-items:center; border-radius:24px; background:var(--bg,#101827); color:var(--text,#fff); box-shadow:0 3px 18px #0005; border:1px solid #ffffff30; }
.site-audio button { color:inherit; background:transparent; border:0; cursor:pointer; min-height:44px; }
.site-audio-toggle { width:44px; font-size:22px; }
.site-audio-options { width:28px; font-size:20px; }
.site-audio button:focus-visible,.site-audio input:focus-visible { outline:2px solid var(--accent,#ff7b22); outline-offset:2px; }
.site-audio-panel { position:absolute; bottom:54px; right:0; width:180px; padding:14px; border-radius:12px; background:#101827; color:white; box-shadow:0 4px 20px #0008; font-size:13px; }
.site-audio[style*="left:"] .site-audio-panel { right:auto; left:0; }
.site-audio-panel input { width:100%; accent-color:var(--accent,#ff7b22); }
.site-audio-panel[hidden] { display:none; }
/* Native touch highlight must not tint the entire interactive 3D canvas. */
#hero, #hero canvas, #hero button, #hero .hotspot {
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
}
.pm-body { justify-content: flex-start; min-height: 0; }
.pm-body > * { flex-shrink: 0; }
@media (max-width: 1000px) {
  .project-modal { display: block; height: 100dvh; overflow-y: auto; overscroll-behavior: contain; transition: none; }
  .project-modal .pm-image { height: 42svh; min-height: 240px; }
  .project-modal .pm-body { overflow: visible; padding: 24px 18px max(32px, env(safe-area-inset-bottom)); }
  .project-modal .pm-close { position: fixed; top: max(12px, env(safe-area-inset-top)); right: 14px; background: #101827; }
}
.site-audio-message:not(:empty) { position:absolute; bottom:54px; right:0; width:180px; background:#101827; color:white; padding:10px; border-radius:8px; font-size:12px; }
