/* Müezzinoğlu 2.9.4 — cinematic immersive heroes.
   Replaces panel-like right modules with living brand scenes. */

:root {
  --mz294-lime:#d9dc72;
  --mz294-cream:#f5f1e4;
  --mz294-forest:#08130c;
  --mz294-forest-2:#102217;
}

/* Make the visual part feel embedded in the hero rather than a card. */
.fem-immersive-hero--corporate,
.fem-immersive-hero--logistics {
  overflow:hidden;
  background:
    radial-gradient(circle at 78% 26%,rgba(86,122,73,.18),transparent 29%),
    radial-gradient(circle at 18% 82%,rgba(217,220,114,.065),transparent 26%),
    linear-gradient(135deg,#071109 0%,#0b1810 52%,#102217 100%) !important;
}

.fem-immersive-hero--corporate .fem-immersive-hero__inner,
.fem-immersive-hero--logistics .fem-immersive-hero__inner {
  width:min(calc(100% - 52px),1500px);
  grid-template-columns:minmax(420px,.83fr) minmax(620px,1.17fr);
  gap:clamp(30px,4vw,74px);
  min-height:720px;
  align-items:center;
}

.fem-immersive-hero--corporate .fem-immersive-hero__copy,
.fem-immersive-hero--logistics .fem-immersive-hero__copy {
  position:relative;
  z-index:4;
}

.fem-immersive-hero--corporate .fem-immersive-hero__title,
.fem-immersive-hero--logistics .fem-immersive-hero__title {
  max-width:720px;
  font-size:clamp(62px,5.8vw,96px);
  line-height:.93;
  letter-spacing:-.058em;
}

.mz-immersive-visual--corporate,
.mz-immersive-visual--logistics {
  position:relative;
  z-index:2;
  min-height:600px;
  align-self:stretch;
  overflow:visible;
  pointer-events:none;
  transform:translate3d(calc(var(--mz-scene-x,0) * 1px),calc(var(--mz-scene-y,0) * 1px),0);
  transition:transform .35s cubic-bezier(.2,.8,.2,1);
}

/* --------------------------------------------------------------------------
   LOGISTICS / GLOBAL ROUTE SCENE
   -------------------------------------------------------------------------- */

.mz-world-scene {
  position:absolute;
  inset:18px -4vw 8px -12px;
  overflow:visible;
  isolation:isolate;
}

.mz-world-scene::before {
  position:absolute;
  inset:4% 2% 10% 5%;
  border-radius:50%;
  background:radial-gradient(ellipse at center,rgba(217,220,114,.075),rgba(35,72,45,.035) 42%,transparent 72%);
  filter:blur(7px);
  content:"";
}

.mz-world-scene::after {
  position:absolute;
  right:-9%;
  top:3%;
  width:62%;
  aspect-ratio:1;
  border:1px solid rgba(217,220,114,.07);
  border-radius:50%;
  box-shadow:
    inset 0 0 0 58px rgba(217,220,114,.014),
    inset 0 0 0 124px rgba(217,220,114,.01);
  content:"";
}

.mz-world-scene__meta {
  position:absolute;
  left:5%;
  right:7%;
  top:3%;
  z-index:4;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding-bottom:13px;
  border-bottom:1px solid rgba(255,255,255,.075);
  color:rgba(246,244,233,.38);
  font:750 8px/1 var(--fem-font,Manrope,sans-serif);
  letter-spacing:.16em;
}

.mz-world-scene__meta b {
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--mz294-lime);
  font:750 8px/1 var(--fem-font,Manrope,sans-serif);
}
.mz-world-scene__meta b::before {
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--mz294-lime);
  box-shadow:0 0 0 5px rgba(217,220,114,.08),0 0 16px rgba(217,220,114,.45);
  content:"";
  animation:mz294LivePulse 1.9s ease-in-out infinite;
}

.mz-world-scene__map {
  position:absolute;
  left:1%;
  top:5%;
  z-index:2;
  width:98%;
  height:77%;
  overflow:visible;
  color:rgba(214,219,178,.34);
  filter:drop-shadow(0 24px 46px rgba(0,0,0,.18));
}

.mz-world-dots path {
  fill:url(#mz294-dots);
  opacity:.9;
  transform-origin:center;
  transition:opacity .8s ease,transform 1.2s cubic-bezier(.2,.8,.2,1);
}
[data-mz-hero-scene="logistics"]:not(.is-scene-ready) .mz-world-dots path {
  opacity:.15;
  transform:scale(.985);
}

.mz-world-route path {
  fill:none;
  stroke:var(--mz294-lime);
  stroke-width:1.65;
  stroke-linecap:round;
  stroke-dasharray:100;
  stroke-dashoffset:100;
  opacity:.16;
  filter:url(#mz294-glow);
  transition:stroke-dashoffset 1.25s cubic-bezier(.2,.75,.2,1),opacity .35s ease;
}
.mz-world-route circle {
  fill:var(--mz294-lime);
  opacity:0;
  filter:url(#mz294-glow);
  transition:opacity .32s ease .9s,transform .35s ease .9s;
  transform-box:fill-box;
  transform-origin:center;
  transform:scale(.3);
}
.mz-world-route.is-active path { stroke-dashoffset:0; opacity:.76; }
.mz-world-route.is-active circle { opacity:1; transform:scale(1); }

.mz-world-hub > circle:first-child {
  fill:rgba(217,220,114,.075);
  stroke:rgba(217,220,114,.22);
  stroke-width:1;
  animation:mz294HubRing 2.5s ease-in-out infinite;
}
.mz-world-hub > circle:nth-child(2) {
  fill:var(--mz294-lime);
  filter:url(#mz294-glow);
}
.mz-world-hub path {
  fill:none;
  stroke:rgba(217,220,114,.24);
  stroke-width:.7;
}

.mz-world-scene__origin {
  position:absolute;
  left:51.5%;
  top:49%;
  z-index:5;
  width:195px;
  padding:13px 15px 14px;
  border:1px solid rgba(255,255,255,.095);
  border-radius:15px;
  background:rgba(7,18,10,.72);
  box-shadow:0 18px 46px rgba(0,0,0,.26);
  backdrop-filter:blur(16px) saturate(120%);
  transform:translate(24px,15px);
}
.mz-world-scene__origin i {
  position:absolute;
  left:-31px;
  top:17px;
  width:27px;
  height:1px;
  background:linear-gradient(90deg,transparent,var(--mz294-lime));
}
.mz-world-scene__origin small,
.mz-world-scene__origin span {
  display:block;
  color:rgba(246,244,233,.43);
  font:650 7px/1.45 var(--fem-font,Manrope,sans-serif);
  letter-spacing:.1em;
}
.mz-world-scene__origin small { color:var(--mz294-lime); font-weight:800; }
.mz-world-scene__origin strong {
  display:block;
  margin:5px 0 5px;
  color:#fff;
  font:600 22px/1 var(--fem-font-display,Fraunces,serif);
}

.mz-world-scene__rail {
  position:absolute;
  left:5%;
  right:6%;
  bottom:2%;
  z-index:6;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  border-top:1px solid rgba(255,255,255,.085);
}
.mz-world-scene__rail > div {
  position:relative;
  min-width:0;
  padding:17px 18px 8px 0;
}
.mz-world-scene__rail > div + div { padding-left:18px; border-left:1px solid rgba(255,255,255,.07); }
.mz-world-scene__rail em {
  display:block;
  margin-bottom:10px;
  color:rgba(217,220,114,.36);
  font:750 7px/1 var(--fem-font,Manrope,sans-serif);
  font-style:normal;
}
.mz-world-scene__rail span {
  display:block;
  color:rgba(246,244,233,.38);
  font:750 7px/1.15 var(--fem-font,Manrope,sans-serif);
  letter-spacing:.11em;
  text-transform:uppercase;
}
.mz-world-scene__rail strong {
  display:block;
  margin-top:5px;
  overflow:hidden;
  color:#f7f4e9;
  font:650 11px/1.3 var(--fem-font,Manrope,sans-serif);
  text-overflow:ellipsis;
  white-space:nowrap;
}

/* --------------------------------------------------------------------------
   CORPORATE / LIVING HERITAGE SCENE
   -------------------------------------------------------------------------- */

.mz-history-scene {
  position:absolute;
  inset:16px -2vw 0 -2%;
  overflow:visible;
  isolation:isolate;
}

.mz-history-scene::before {
  position:absolute;
  left:1%;
  right:0;
  bottom:103px;
  height:1px;
  background:linear-gradient(90deg,rgba(217,220,114,.04),rgba(217,220,114,.46) 44%,rgba(217,220,114,.08));
  content:"";
}

.mz-history-scene__sun {
  position:absolute;
  right:15%;
  top:12%;
  width:330px;
  aspect-ratio:1;
  border-radius:50%;
  background:radial-gradient(circle,rgba(217,220,114,.135),rgba(217,220,114,.028) 45%,transparent 72%);
  filter:blur(5px);
  opacity:.7;
}

.mz-history-scene__ghost {
  position:absolute;
  inset:5% 0 18% 8%;
  z-index:-1;
  background-image:var(--mz-history-image);
  background-position:center;
  background-repeat:no-repeat;
  background-size:contain;
  opacity:.035;
  filter:blur(.2px);
}

.mz-history-scene__tree {
  position:absolute;
  right:0;
  bottom:112px;
  z-index:1;
  width:min(42%,360px);
  opacity:0;
  transform:translate3d(20px,0,0) scale(.96);
  transition:opacity 1s ease .25s,transform 1.25s cubic-bezier(.2,.8,.2,1) .25s;
}
.mz-history-scene__tree img { display:block; width:100%; height:auto; }

.mz-history-scene__cart {
  position:absolute;
  left:3%;
  bottom:100px;
  z-index:3;
  width:min(69%,560px);
  opacity:0;
  transform:translate3d(170px,0,0);
  transition:opacity .45s ease .1s,transform 1.75s cubic-bezier(.18,.75,.16,1) .1s;
  filter:drop-shadow(0 18px 22px rgba(0,0,0,.15));
}
.mz-history-scene__cart img { display:block; width:100%; height:auto; }
[data-mz-hero-scene="corporate"].is-scene-ready .mz-history-scene__cart { opacity:.94; transform:translate3d(0,0,0); }
[data-mz-hero-scene="corporate"].is-scene-ready .mz-history-scene__tree { opacity:.72; transform:translate3d(0,0,0) scale(1); }

.mz-history-scene__road {
  position:absolute;
  left:3%;
  right:0;
  bottom:100px;
  z-index:2;
  height:30px;
  overflow:hidden;
}
.mz-history-scene__road::before {
  position:absolute;
  left:0;
  top:13px;
  width:0;
  height:1px;
  background:linear-gradient(90deg,var(--mz294-lime),rgba(217,220,114,.07));
  content:"";
  transition:width 1.6s cubic-bezier(.2,.8,.2,1) .25s;
}
[data-mz-hero-scene="corporate"].is-scene-ready .mz-history-scene__road::before { width:100%; }
.mz-history-scene__road span::before,
.mz-history-scene__road span::after {
  position:absolute;
  top:9px;
  width:9px;
  height:9px;
  border:2px solid #0c1b11;
  border-radius:50%;
  background:var(--mz294-lime);
  box-shadow:0 0 0 1px rgba(217,220,114,.35);
  content:"";
}
.mz-history-scene__road span::before { left:0; }
.mz-history-scene__road span::after { right:2%; }

.mz-history-scene__year {
  position:absolute;
  bottom:55px;
  z-index:5;
  opacity:0;
  transform:translateY(10px);
  transition:opacity .65s ease 1.1s,transform .65s ease 1.1s;
}
[data-mz-hero-scene="corporate"].is-scene-ready .mz-history-scene__year { opacity:1; transform:none; }
.mz-history-scene__year--start { left:2%; }
.mz-history-scene__year--now { right:2%; text-align:right; }
.mz-history-scene__year small {
  display:block;
  margin-bottom:4px;
  color:rgba(246,244,233,.34);
  font:750 7px/1 var(--fem-font,Manrope,sans-serif);
  letter-spacing:.15em;
}
.mz-history-scene__year strong {
  color:var(--mz294-lime);
  font:650 11px/1.2 var(--fem-font,Manrope,sans-serif);
}
.mz-history-scene__year--start strong { color:#f7f4e9; font:600 29px/1 var(--fem-font-display,Fraunces,serif); }

.mz-history-scene__caption {
  position:absolute;
  left:16%;
  right:8%;
  bottom:-38px;
  z-index:5;
  padding:21px 0 0;
  border-top:1px solid rgba(255,255,255,.075);
  opacity:0;
  transform:translateY(16px);
  transition:opacity .7s ease 1.3s,transform .7s ease 1.3s;
}
[data-mz-hero-scene="corporate"].is-scene-ready .mz-history-scene__caption { opacity:1; transform:none; }
.mz-history-scene__caption span {
  display:block;
  margin-bottom:8px;
  color:var(--mz294-lime);
  font:800 7px/1 var(--fem-font,Manrope,sans-serif);
  letter-spacing:.16em;
}
.mz-history-scene__caption strong {
  display:block;
  max-width:580px;
  color:#f6f3e9;
  font:580 clamp(28px,3vw,44px)/1.02 var(--fem-font-display,Fraunces,serif);
  letter-spacing:-.04em;
}

@keyframes mz294LivePulse { 0%,100%{opacity:.55;transform:scale(.82)}50%{opacity:1;transform:scale(1.16)} }
@keyframes mz294HubRing { 0%,100%{r:20;opacity:.55}50%{r:31;opacity:.13} }

@media (max-width:1180px) {
  .fem-immersive-hero--corporate .fem-immersive-hero__inner,
  .fem-immersive-hero--logistics .fem-immersive-hero__inner {
    grid-template-columns:minmax(390px,.9fr) minmax(500px,1.1fr);
    width:min(calc(100% - 38px),1240px);
    min-height:660px;
    gap:28px;
  }
  .fem-immersive-hero--corporate .fem-immersive-hero__title,
  .fem-immersive-hero--logistics .fem-immersive-hero__title { font-size:clamp(54px,6.2vw,78px); }
  .mz-world-scene__origin { width:174px; }
  .mz-history-scene__cart { width:68%; }
}

@media (max-width:820px) {
  .fem-immersive-hero--corporate .fem-immersive-hero__inner,
  .fem-immersive-hero--logistics .fem-immersive-hero__inner {
    grid-template-columns:1fr;
    width:min(calc(100% - 28px),720px);
    min-height:0;
    gap:10px;
  }
  .mz-immersive-visual--corporate,
  .mz-immersive-visual--logistics { min-height:500px; }
  .mz-world-scene,
  .mz-history-scene { inset:0; }
  .mz-world-scene__map { top:6%; height:74%; }
  .mz-world-scene__origin { left:51%; top:47%; transform:translate(12px,12px); }
  .mz-history-scene__caption { bottom:-5px; left:7%; }
  .mz-history-scene__cart { left:2%; bottom:126px; width:64%; }
  .mz-history-scene__tree { bottom:130px; width:39%; }
  .mz-history-scene__road { bottom:119px; }
  .mz-history-scene__year { bottom:79px; }
}

@media (max-width:520px) {
  .fem-immersive-hero--corporate .fem-immersive-hero__inner,
  .fem-immersive-hero--logistics .fem-immersive-hero__inner { width:calc(100% - 22px); }
  .mz-immersive-visual--corporate,
  .mz-immersive-visual--logistics { min-height:400px; }
  .mz-world-scene__meta { left:2%; right:2%; font-size:6px; }
  .mz-world-scene__map { left:-9%; width:118%; top:5%; }
  .mz-world-scene__origin { left:46%; top:43%; width:142px; padding:9px 10px; }
  .mz-world-scene__origin strong { font-size:18px; }
  .mz-world-scene__origin span { font-size:6px; }
  .mz-world-scene__rail { left:1%; right:1%; grid-template-columns:1fr 1fr; }
  .mz-world-scene__rail > div { padding:10px 8px 5px 0; }
  .mz-world-scene__rail > div + div { padding-left:8px; }
  .mz-world-scene__rail > div:nth-child(n+3) { display:none; }
  .mz-history-scene__sun { right:5%; width:220px; }
  .mz-history-scene__cart { left:-4%; bottom:120px; width:76%; }
  .mz-history-scene__tree { right:-6%; bottom:126px; width:48%; }
  .mz-history-scene__road { left:0; bottom:112px; }
  .mz-history-scene__year { bottom:70px; }
  .mz-history-scene__year--now { max-width:150px; }
  .mz-history-scene__caption { left:2%; right:2%; bottom:-4px; }
  .mz-history-scene__caption strong { font-size:29px; }
}

@media (prefers-reduced-motion:reduce) {
  .mz-world-scene__meta b::before,
  .mz-world-hub > circle:first-child { animation:none !important; }
  .mz-history-scene__cart,
  .mz-history-scene__tree,
  .mz-history-scene__year,
  .mz-history-scene__caption,
  .mz-history-scene__road::before { transition:none !important; }
  .mz-history-scene__cart,
  .mz-history-scene__tree,
  .mz-history-scene__year,
  .mz-history-scene__caption { opacity:1 !important; transform:none !important; }
  .mz-history-scene__road::before { width:100% !important; }
  .mz-world-route path { stroke-dashoffset:0 !important; opacity:.55 !important; }
  .mz-world-route circle { opacity:1 !important; transform:none !important; }
}
